literalPhrase(string)grammaren_us.t[6973]

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 :
filterPossRank  getOrigText  getOrigTokenList 

Properties  

(none)

Methods  

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

no description available

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

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

TADS 3 Library Manual
Generated on 4/11/2008 from TADS version 3.0.16