compoundNounPhrase(simple)grammar
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
no description available
getVocabMatchList (resolver, results, extraFlags)
OVERRIDDEN
no description available
TADS 3 Library Manual
Generated on 5/16/2013 from TADS version 3.1.3