AllPluralProdclass
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
Inherited from BasicProd
:
firstTokenIndex
isSpecialResponseMatch
lastTokenIndex
Summary of Methods
Inherited from PluralProd
:
basicPluralResolveNouns
Inherited from NounPhraseProd
:
filterTruncations
Inherited from BasicProd
:
canResolveTo
getOrigText
getOrigTokenList
setOrigTokenList
Properties
filterForCollectives
OVERRIDDEN
prefer to keep individuals over collectives
Methods
getVerifyKeepers (results)
OVERRIDDEN
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)
no description available
TADS 3 Library Manual
Generated on 5/16/2013 from TADS version 3.1.3