AllPluralProdclassparser.t[2050]

A plural phrase that explicitly selects all of matching objects. For English, this would be a phrase like "all of the marbles". This type of phrase matches all of the objects that match the name in the plural, except that if we have a collective object and we also have objects that are part of the collective (such as a bag of marbles and some individual marbles), we'll omit the collective, and match only the individual items.

Grammar rule instantiations in language modules should set property np_ to the plural phrase match tree.

class AllPluralProd :   PluralProd

Superclass Tree   (in declaration order)

AllPluralProd
        PluralProd
                NounPhraseProd
                        BasicProd
                                object

Subclass Tree  

AllPluralProd
        explicitDetPluralOnlyNounPhrase(definite)
        qualifiedPluralNounPhrase(all)

Global Objects  

(none)

Summary of Properties  

filterForCollectives 

Summary of Methods  

getVerifyKeepers  resolveNouns 

Inherited from PluralProd :
basicPluralResolveNouns 

Inherited from NounPhraseProd :
filterTruncations 

Inherited from BasicProd :
filterPossRank  getOrigText  getOrigTokenList 

Properties  

filterForCollectivesOVERRIDDENparser.t[2064]

prefer to keep individuals over collectives

Methods  

getVerifyKeepers (results)OVERRIDDENparser.t[2061]

since the player explicitly told us to use ALL of the matching objects, keep everything in the verify list, logical or not

resolveNouns (resolver, results)parser.t[2051]
no description available

TADS 3 Library Manual
Generated on 7/19/2007 from TADS version 3.0.15.1