ArbitraryNounProdclass

parser.t[2539]

Superclass
Tree

Subclass
Tree

Global
Objects

Property
Summary

Method
Summary

Property
Details

Method
Details

Noun phrase explicitly asking us to choose an object arbitrarily (with a word like “any”). This is similar to the indefinite noun phrase, but differs in that this phrase is *explicitly* arbitrary, rather than merely indefinite.

class ArbitraryNounProd :   IndefiniteNounProd

Superclass Tree   (in declaration order)

ArbitraryNounProd
IndefiniteNounProd
NounPhraseProd
BasicProd
`                                 object`

Subclass Tree  

ArbitraryNounProd
qualifiedSingularNounPhrase(anyPlural)
qualifiedSingularNounPhrase(arbitrary)

Global Objects  

(none)

Summary of Properties  

Inherited from NounPhraseProd :
filterForCollectives

Inherited from BasicProd :
firstTokenIndex isSpecialResponseMatch lastTokenIndex

Summary of Methods  

selectFromList

Inherited from IndefiniteNounProd :
areAllEquiv resolveMainPhrase resolveNouns

Inherited from NounPhraseProd :
filterTruncations getVerifyKeepers

Inherited from BasicProd :
canResolveTo getOrigText getOrigTokenList setOrigTokenList

Properties  

(none)

Methods  

selectFromList (resolver, results, lst)OVERRIDDEN

parser.t[2546]

Select an object from a list of potential matches. Since the choice is explicitly arbitrary, we simply choose the first (they’re in order from most likely to least likely, so this will choose the most likely).

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