literalPhrase(string)grammar

en_us.t[7163]

Superclass
Tree

Property
Summary

Method
Summary

Property
Details

Method
Details

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)

en_us.t[7164]

no description available

getTentativeLiteralText ( )

en_us.t[7170]

get the text from our underlying quoted string

resolveLiteral (results)

en_us.t[7179]

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