literalPhrase(string)grammar
A “literal” is essentially any phrase. This can include a quoted string, a number, or any set of word tokens.
grammar
literalPhrase
(string)
:
LiteralProd
Superclass Tree (in declaration order)
literalPhrase(string)
LiteralProd
BasicProd
` object`
Summary of Properties
Inherited from BasicProd
:
firstTokenIndex
isSpecialResponseMatch
lastTokenIndex
Summary of Methods
getLiteralText
getTentativeLiteralText
resolveLiteral
Inherited from BasicProd
:
canResolveTo
getOrigText
getOrigTokenList
setOrigTokenList
Properties
(none)
Methods
getLiteralText (results, action, which)
no description available
getTentativeLiteralText ( )
get the text from our underlying quoted string
resolveLiteral (results)
our result will never change, so our tentative text is the same as our regular literal text
TADS 3 Library Manual
Generated on 5/16/2013 from TADS version 3.1.3