compoundNounPhrase(simple)grammar

en_us.t[6084]

Superclass
Tree

Property
Summary

Method
Summary

Property
Details

Method
Details

Compound noun phrase. This is one or more noun phrases connected with ‘of’, as in “piece of paper”. The part after the ‘of’ is another compound noun phrase.

Note that this general rule does not allow the noun phrase after the ‘of’ to be qualified with an article or number, except that we make an exception to allow a definite article. Other cases (“a piece of four papers”) do not generally make sense, so we won’t attempt to support them; instead, games can add as special cases new nounPhrase rules for specific literal sequences where more complex grammar is necessary.

grammar compoundNounPhrase(simple) :   NounPhraseWithVocab

Superclass Tree   (in declaration order)

compoundNounPhrase(simple)
NounPhraseWithVocab
NounPhraseProd
BasicProd
`                                 object`

Summary of Properties  

Inherited from NounPhraseProd :
filterForCollectives

Inherited from BasicProd :
firstTokenIndex isSpecialResponseMatch lastTokenIndex

Summary of Methods  

getAdjustedTokens getVocabMatchList

Inherited from NounPhraseWithVocab :
combineWordMatches combineWordMatchItems dictMatchIsExact dictMatchIsStronger filterDictMatches getWordMatches inScopeMatches intersectWordMatches resolveNouns resolveNounsMatchName

Inherited from NounPhraseProd :
filterTruncations getVerifyKeepers

Inherited from BasicProd :
canResolveTo getOrigText getOrigTokenList setOrigTokenList

Properties  

(none)

Methods  

getAdjustedTokens ( )OVERRIDDEN

en_us.t[6090]

no description available

getVocabMatchList (resolver, results, extraFlags)OVERRIDDEN

en_us.t[6086]

no description available

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