ExactQuantifiedPluralProd class | parser.t[2382]

Exact quantified plural phrase. This is similar to the normal quantified plural, but has the additional requirement of matching an unambiguous set of the exact given number ("the five books" means that we expect to find exactly five books matching the phrase - no fewer, and no more).

`class ExactQuantifiedPluralProd : QuantifiedPluralProd AmbigResponseKeeper`

Superclass Tree (in declaration order)

`ExactQuantifiedPluralProd`
`QuantifiedPluralProd`
`PluralProd`
`NounPhraseProd`
`BasicProd`
`object`
`AmbigResponseKeeper`
`object`

Subclass Tree

`ExactQuantifiedPluralProd`
`BothPluralProd`
`qualifiedPluralNounPhrase(both)`
`explicitDetPluralNounPhrase(definiteNumber)`
`explicitDetPluralOnlyNounPhrase(definiteNumber)`
`qualifiedPluralNounPhrase(allNum)`

Global Objects

(none)

Summary of Properties

``

``

``

Inherited from `NounPhraseProd` :
`filterForCollectives`

Inherited from `BasicProd` :
`firstTokenIndex isSpecialResponseMatch lastTokenIndex`

Inherited from `AmbigResponseKeeper` :
`ambigResponses_`

Summary of Methods

`getVerifyKeepers selectExactCount`

Inherited from `QuantifiedPluralProd` :
`getQuantity resolveMainPhrase resolveNouns`

Inherited from `PluralProd` :
`basicPluralResolveNouns`

Inherited from `NounPhraseProd` :
`filterTruncations`

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

Inherited from `AmbigResponseKeeper` :
`addAmbigResponse getAmbigResponses`

Properties

(none)

Methods

`getVerifyKeepers (results)`OVERRIDDEN | `parser.t[2413]`

get the keepers in the verify stage

`selectExactCount (lst, num, scopeList, resolver, results)`OVERRIDDEN | `parser.t[2387]`

Select the desired number of matches. Since we want an exact set of matches, we'll run disambiguation on the set.

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