actorBadCommandPhrase(main)grammar
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](../object/FirstCommandProd.html)
[
CommandProd](../object/CommandProd.html)
[
BasicProd](../object/BasicProd.html)
object`
Summary of Properties
Inherited from CommandProdWithActor
:
resolvedActor_
resolver_
Inherited from CommandProd
:
getActorPhrase
Inherited from BasicProd
:
firstTokenIndex
isSpecialResponseMatch
lastTokenIndex
Summary of Methods
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
to resolve nouns, we merely resolve the actor
TADS 3 Library Manual
Generated on 5/16/2013 from TADS version 3.1.3