CommandProdWithDefiniteConj class | parser.t[1024]

Match class for a command phrase that is separated from anything that follows with an unambiguous conjunction.

Grammar rules based on this match class must set property cmd_ to the underlying 'predicate' production.

`class CommandProdWithDefiniteConj : CommandProd`

Superclass Tree (in declaration order)

`CommandProdWithDefiniteConj`
`CommandProd`
`BasicProd`
`object`

Subclass Tree

`CommandProdWithDefiniteConj`
`commandPhrase(definiteConj)`

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[1041]`

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

Methods

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

count commands

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

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[1082]`

get the token index of the next command - this is the index of the next token after our conjunction if we have one, or after our command if we don't have a conjunction

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

does this command end a sentence

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

resolve my first action

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

no description available

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