firstCommandPhrase(commandOnly)grammar | parser.t[770]

Define the simplest grammar rule for a first-on-line command phrase, which is just an ordinary command phrase. The language-specific grammar must define any other alternatives; specifically, the language might provide an "actor, command" syntax to direct a command to a particular actor.

`grammar firstCommandPhrase(commandOnly) : FirstCommandProd`

Superclass Tree (in declaration order)

`firstCommandPhrase(commandOnly)`
`FirstCommandProd`
`CommandProd`
`BasicProd`
`object`

Summary of Properties

``

``

Inherited from `CommandProd` :
`getActorPhrase`

Inherited from `BasicProd` :
`isSpecialResponseMatch`

Summary of Methods

``

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

Inherited from `CommandProd` :
`execActorPhrase hasTargetActor`

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

Properties

(none)

Methods

(none)

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