literalPhrase(empty)grammar
In case we have a verb grammar rule that calls for a literal phrase, but the player enters a command with nothing in that slot, match an empty token list as a last resort. Since this phrasing has a badness, we won’t match it unless we don’t have any better structural match.
grammar
literalPhrase
(empty)
:
EmptyLiteralPhraseProd
Superclass Tree (in declaration order)
literalPhrase(empty)
EmptyLiteralPhraseProd
LiteralProd
BasicProd
` object`
Summary of Properties
Inherited from EmptyLiteralPhraseProd
:
newText
Inherited from BasicProd
:
firstTokenIndex
isSpecialResponseMatch
lastTokenIndex
Summary of Methods
Inherited from EmptyLiteralPhraseProd
:
getLiteralText
getTentativeLiteralText
isEmptyPhrase
Inherited from BasicProd
:
canResolveTo
getOrigText
getOrigTokenList
setOrigTokenList
Properties
(none)
Methods
resolveLiteral (results)
no description available
TADS 3 Library Manual
Generated on 5/16/2013 from TADS version 3.1.3