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

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` :
`firstTokenIndex isSpecialResponseMatch lastTokenIndex`

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 5/16/2013 from TADS version 3.1.3