EmptyLiteralPhraseProd class | parser.t[4177]

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

`newText`

``

Inherited from `BasicProd` :
`isSpecialResponseMatch`

Summary of Methods

`getLiteralText getTentativeLiteralText isEmptyPhrase`

``

Inherited from `BasicProd` :
`canResolveTo getOrigText getOrigTokenList setOrigTokenList`

Properties

`newText` | `parser.t[4255]`

the response to a previous interactive query

Methods

`getLiteralText (results, action, which)` | `parser.t[4178]`

no description available

`getTentativeLiteralText ( )` | `parser.t[4242]`

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 ( )` | `parser.t[4252]`

I'm an empty phrase, unless I already have a text response

TADS 3 Library Manual
Generated on 8/21/2012 from TADS version 3.1.2