SingleNounWithListProd class | parser.t[1337]

A user could attempt to use a noun list where a single noun is required. This is not a grammatical error, so we accept it grammatically; however, for disambiguation purposes we score it lower than a singleNoun production with only one noun phrase, and if we try to resolve it, we'll fail with an error.

`class SingleNounWithListProd : NounPhraseProd`

Superclass Tree (in declaration order)

`SingleNounWithListProd`
`NounPhraseProd`
`BasicProd`
`object`

Subclass Tree

`SingleNounWithListProd`
`singleNoun(multiple)`

Global Objects

(none)

Summary of Properties

``

Inherited from `NounPhraseProd` :
`filterForCollectives`

Inherited from `BasicProd` :
`firstTokenIndex isSpecialResponseMatch lastTokenIndex`

Summary of Methods

`resolveNouns`

Inherited from `NounPhraseProd` :
`filterTruncations getVerifyKeepers`

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

Properties

(none)

Methods

`resolveNouns (resolver, results)` | `parser.t[1338]`

no description available

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