simpleNounPhrase(adj)grammar
A simple noun phrase can also end in an adjective, which allows players to refer to objects using only their unique adjectives rather than their full names, which is sometimes more convenient: just “take gold” rather than “take gold key.”
When a particular phrase can be interpreted as either ending in an adjective or ending in a noun, we will always take the noun-ending interpretation - in such cases, the adjective-ending interpretation is probably a weak binding. For example, “take pizza” almost certainly refers to the pizza itself when “pizza” and “pizza box” are both present, but it can also refer just to the box when no pizza is present.
Equivalent to a noun phrase ending in an adjective is a noun phrase ending with an adjective followed by “one,” as in “the red one.”
grammar
simpleNounPhrase
(adj)
:
NounPhraseWithVocab
Superclass Tree (in declaration order)
simpleNounPhrase(adj)
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
return the result
getVocabMatchList (resolver, results, extraFlags)
OVERRIDDEN
generate a list of my resolved objects
TADS 3 Library Manual
Generated on 5/16/2013 from TADS version 3.1.3