PluralProdclass

parser.t[2092]

Superclass
Tree

Subclass
Tree

Global
Objects

Property
Summary

Method
Summary

Property
Details

Method
Details

Base class for a plural production

class PluralProd :   NounPhraseProd

Superclass Tree   (in declaration order)

PluralProd
NounPhraseProd
BasicProd
`                         object`

Subclass Tree  

PluralProd
AllPluralProd
explicitDetPluralOnlyNounPhrase(definite)
qualifiedPluralNounPhrase(all)
DefinitePluralProd
explicitDetPluralNounPhrase(definite)
implicitDetPluralOnlyNounPhrase(main)
QuantifiedPluralProd
ExactQuantifiedPluralProd
BothPluralProd
qualifiedPluralNounPhrase(both)
explicitDetPluralNounPhrase(definiteNumber)
explicitDetPluralOnlyNounPhrase(definiteNumber)
qualifiedPluralNounPhrase(allNum)
qualifiedPluralNounPhrase(anyNum)

Global Objects  

(none)

Summary of Properties  

Inherited from NounPhraseProd :
filterForCollectives

Inherited from BasicProd :
firstTokenIndex isSpecialResponseMatch lastTokenIndex

Summary of Methods  

basicPluralResolveNouns getVerifyKeepers

Inherited from NounPhraseProd :
filterTruncations

Inherited from BasicProd :
canResolveTo getOrigText getOrigTokenList setOrigTokenList

Properties  

(none)

Methods  

basicPluralResolveNouns (resolver, results)

parser.t[2097]

Basic plural noun resolution. We’ll retrieve the matching objects and filter them using filterPluralPhrase.

getVerifyKeepers (results)OVERRIDDEN

parser.t[2137]

Get the verify “keepers” for a plural phrase.

If the “filter plural matches” configuration flag is set to true, we’ll return the subset of items which are logical for this command. If the filter flag is nil, we’ll simply return the full set of vocabulary matches without any filtering.

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