CommandProdclassparser.t[563]

The base class for commands. A command is the root of the grammar match tree for a single action. A command line can consist of a number of commands joined with command separators; in English, command separators are things like periods, semicolons, commas, and the words "and" and "then".

class CommandProd :   BasicProd

Superclass Tree   (in declaration order)

CommandProd
       
BasicProd
                object

Subclass Tree  

CommandProd
       
CommandProdWithActor
                FirstCommandProdWithActor
                        actorBadCommandPhrase(main)
                        firstCommandPhrase(askTellActorTo)
                        firstCommandPhrase(withActor)
        CommandProdWithAmbiguousConj
                commandPhrase(ambiguousConj)
        CommandProdWithDefiniteConj
                commandPhrase(definiteConj)
        FirstCommandProd
                firstCommandPhrase(commandOnly)
                FirstCommandProdWithActor
                        actorBadCommandPhrase(main)
                        firstCommandPhrase(askTellActorTo)
                        firstCommandPhrase(withActor)

Global Objects  

(none)

Summary of Properties  

getActorPhrase 

Summary of Methods  

execActorPhrase  hasTargetActor 

Inherited from BasicProd :
filterPossRank  getOrigText  getOrigTokenList 

Properties  

getActorPhraseparser.t[579]

Get the match tree for the target actor phrase, if any. By default, we have no target actor phrase, so just return nil.

Methods  

execActorPhrase (issuingActor)parser.t[588]

"Execute" the actor phrase. This lets us know that the parser has decided to use our phrasing to specify the target actor. We're not required to do anything here; it's just a notification for subclass use. Since we don't have a target actor phrase at all, we obviously don't need to do anything here.

hasTargetActor ( )parser.t[564]
no description available

TADS 3 Library Manual
Generated on 9/8/2006 from TADS version 3.0.11