AllPluralProdclassparser.t[2173]

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 

Inherited from BasicProd :
firstTokenIndex  isSpecialResponseMatch  lastTokenIndex 

Summary of Methods  

getVerifyKeepers  resolveNouns 

Inherited from PluralProd :
basicPluralResolveNouns 

Inherited from NounPhraseProd :
filterTruncations 

Inherited from BasicProd :
canResolveTo  getOrigText  getOrigTokenList  setOrigTokenList 

Properties  

filterForCollectivesOVERRIDDENparser.t[2187]

prefer to keep individuals over collectives

Methods  

getVerifyKeepers (results)OVERRIDDENparser.t[2184]

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[2174]
no description available

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