EmptyLiteralPhraseProd class | parser.t[4190]

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` :
`firstTokenIndex isSpecialResponseMatch lastTokenIndex`

Summary of Methods

`getLiteralText getTentativeLiteralText isEmptyPhrase`

``

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

Properties

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

the response to a previous interactive query

Methods

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

no description available

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

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[4265]`

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

TADS 3 Library Manual
Generated on 5/16/2013 from TADS version 3.1.3