EmptyLiteralPhraseProdclass
Empty literal phrase - this serves a purpose similar to that of EmptyNounPhraseProd, but can be used where literal phrases are required.
class
EmptyLiteralPhraseProd
:
LiteralProd
Superclass Tree (in declaration order)
EmptyLiteralPhraseProd
LiteralProd
BasicProd
` object`
Subclass Tree
EmptyLiteralPhraseProd
literalPhrase(empty)
Global Objects
(none)
Summary of Properties
Inherited from BasicProd
:
firstTokenIndex
isSpecialResponseMatch
lastTokenIndex
Summary of Methods
getLiteralText
getTentativeLiteralText
isEmptyPhrase
Inherited from BasicProd
:
canResolveTo
getOrigText
getOrigTokenList
setOrigTokenList
Properties
newText
the response to a previous interactive query
Methods
getLiteralText (results, action, which)
no description available
getTentativeLiteralText ( )
Tentatively get my literal text. This is used for pre-resolution when we have another phrase we want to resolve first, but we want to provide a tentative form of the text in the meantime. We won’t attempt to ask for more information interactively, but we’ll return any information we do have.
isEmptyPhrase ( )
I’m an empty phrase, unless I already have a text response
TADS 3 Library Manual
Generated on 5/16/2013 from TADS version 3.1.3