DefinitePluralProd class | parser.t[2207]

A plural phrase qualified by a definite article ("the books"). This type of phrasing doesn't specify anything about the specific number of items involved, except that they number more than one.

In most cases, we take this to imply that all of the matching objects are intended to be included, with one exception: when we have an object that can serve as a collective for some of the other objects, we match only the collective but not the other objects. For example, if we type "take marbles," and we have five marbles and a bag of marbles that serves as a collective object for three of the five marbles, we'll match the bag and two marbles not in the bag, but NOT the marbles that are in the bag. This is usually desirable when there's a collective object, since it applies the command to the object standing in for the group rather than applying the command one by one to each of the individuals in the group.

`class DefinitePluralProd : PluralProd`

Superclass Tree (in declaration order)

`DefinitePluralProd`
`PluralProd`
`NounPhraseProd`
`BasicProd`
`object`

Subclass Tree

`DefinitePluralProd`
`explicitDetPluralNounPhrase(definite)`
`implicitDetPluralOnlyNounPhrase(main)`

Global Objects

(none)

Summary of Properties

`filterForCollectives`

``

``

Inherited from `BasicProd` :
`firstTokenIndex isSpecialResponseMatch lastTokenIndex`

Summary of Methods

`resolveNouns`

Inherited from `PluralProd` :
`basicPluralResolveNouns getVerifyKeepers`

Inherited from `NounPhraseProd` :
`filterTruncations`

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

Properties

`filterForCollectives` OVERRIDDEN | `parser.t[2215]`

prefer to keep collectives instead of their individuals

Methods

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

no description available

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