CommandProdWithAmbiguousConj class | parser.t[1096]

Match class for two command phrases separated by an ambiguous conjunction (i.e., a conjunction that could also separate two noun phrases). Grammar rules based on this class must set the properties 'cmd1_' to the underlying 'predicate' production match of the first command, and 'cmd2_' to the underlying 'commandPhrase' production match of the second command.

`class CommandProdWithAmbiguousConj : CommandProd`

Superclass Tree (in declaration order)

`CommandProdWithAmbiguousConj`
`CommandProd`
`BasicProd`
`object`

Subclass Tree

`CommandProdWithAmbiguousConj`
`commandPhrase(ambiguousConj)`

Global Objects

(none)

Summary of Properties

`cmdCounted_`

Inherited from `CommandProd` :
`getActorPhrase`

Inherited from `BasicProd` :
`isSpecialResponseMatch`

Summary of Methods

`countCommands getCommandSepIndex getNextCommandIndex isEndOfSentence resolveFirstAction resolveNouns`

Inherited from `CommandProd` :
`execActorPhrase hasTargetActor`

Inherited from `BasicProd` :
`canResolveTo getOrigText getOrigTokenList setOrigTokenList`

Properties

`cmdCounted_` | `parser.t[1126]`

counter: have we counted our command in the results object yet?

Methods

`countCommands (results)` | `parser.t[1115]`

count our commands

`getCommandSepIndex ( )` | `parser.t[1148]`

Get the token index of the first command separator token. This is the first token that is not part of the underlying command.

`getNextCommandIndex ( )` | `parser.t[1158]`

get the token index of the next command - this is simply the starting index for our second subcommand tree

`isEndOfSentence ( )` | `parser.t[1135]`

does this command end a sentence

`resolveFirstAction (issuingActor, targetActor)` | `parser.t[1129]`

resolve my first action

`resolveNouns (issuingActor, targetActor, results)` | `parser.t[1097]`

no description available

TADS 3 Library Manual
Generated on 8/21/2012 from TADS version 3.1.2