mainDisambigPhrase(main)grammar | grammar.t[995]

The top-level disambiguation grammar. The parser uses this to parse input that might be an answer to a disambiguation prompt ("Which did you mean...?").

We accept whole noun phrases and various fragments of noun phrases in response to these questions. We accept fragments because (a) users are accustomed from lots of other IF games to being able to respond with a word or two, and (b) all we need is something that distinguishes one object from another.

This should use DisambigProduction as the base class for the match tree item.

[Required]

`grammar mainDisambigPhrase(main) : DisambigProduction`

Superclass Tree (in declaration order)

`mainDisambigPhrase(main)`
`DisambigProduction`
`Production`
`object`

Summary of Properties

``

``

Inherited from `Production` :
`determiner nounPhraseRole npClass parent`

Summary of Methods

``

Inherited from `DisambigProduction` :
`addNounListItem`

Inherited from `Production` :
`build findAction findChild findParent getNounPhraseRole getText getTokens grammarInfoForBuild isChildOf noteEndOfSentence visitLiteral visitProd`

Properties

(none)

Methods

(none)

Adv3Lite Library Reference Manual
Generated on 08/12/2025 from adv3Lite version 2.2.2