literalPhrase(string)grammaren_us.t[7150]

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  

(none)

Summary of Methods  

getLiteralText  getTentativeLiteralText  resolveLiteral 

Inherited from BasicProd :
canResolveTo  getOrigText  getOrigTokenList  setOrigTokenList 

Properties  

(none)

Methods  

getLiteralText (results, action, which)en_us.t[7151]

no description available

getTentativeLiteralText ( )en_us.t[7157]
get the text from our underlying quoted string

resolveLiteral (results)en_us.t[7166]
our result will never change, so our tentative text is the same as our regular literal text

TADS 3 Library Manual
Generated on 12/22/2011 from TADS version 3.1.0