actorBadCommandPhrase(main)grammar | en_us.t[5147]

An actor-targeted command with a bad command phrase. This is used as a fallback if we fail to match anything on the first attempt at parsing the first command on a line. The point is to at least detect the target actor phrase, if that much is valid, so that we better customize error messages for the rest of the command.

`grammar actorBadCommandPhrase(main) : FirstCommandProdWithActor`

Superclass Tree (in declaration order)

`actorBadCommandPhrase(main)`
`FirstCommandProdWithActor`
`CommandProdWithActor`
`CommandProd`
`BasicProd`
`object`
`FirstCommandProd`
`CommandProd`
`BasicProd`
`object`

Summary of Properties

``

``

Inherited from `CommandProdWithActor` :
`resolvedActor_ resolver_`

Inherited from `CommandProd` :
`getActorPhrase`

Inherited from `BasicProd` :
`firstTokenIndex isSpecialResponseMatch lastTokenIndex`

``

``

``

Summary of Methods

`resolveNouns`

``

Inherited from `CommandProdWithActor` :
`execActorPhrase getActorPhrase getResolver getTargetActor hasTargetActor`

``

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

Inherited from `FirstCommandProd` :
`countCommands getCommandSepIndex getCommandTokens getNextCommandIndex isEndOfSentence resolveFirstAction`

``

``

Properties

(none)

Methods

`resolveNouns (issuingActor, targetActor, results)`OVERRIDDEN | `en_us.t[5153]`

to resolve nouns, we merely resolve the actor

TADS 3 Library Manual
Generated on 5/16/2013 from TADS version 3.1.3