completeNounPhraseWithAll(main)grammar
“All” and “all but”.
“All” is a “complete” noun phrase, because there’s nothing else needed to make it a noun phrase. We make this a special kind of complete noun phrase because ‘all’ is not acceptable as a complete noun phrase in some contexts where any of the other complete noun phrases are acceptable.
“All but” is a “terminal” noun phrase - this is a special kind of complete noun phrase that cannot be followed by another noun phrase with “and”. “All but” is terminal because we want any and’s that follow it to be part of the exception list, so that we interpret “take all but a and b” as excluding a and b, not as excluding a but then including b as a separate list.
grammar
completeNounPhraseWithAll
(main)
:
EverythingProd
Superclass Tree (in declaration order)
completeNounPhraseWithAll(main)
EverythingProd
BasicProd
` object`
Summary of Properties
Inherited from EverythingProd
:
filterForCollectives
Inherited from BasicProd
:
firstTokenIndex
isSpecialResponseMatch
lastTokenIndex
Summary of Methods
Inherited from EverythingProd
:
resolveNouns
Inherited from BasicProd
:
canResolveTo
getOrigText
getOrigTokenList
setOrigTokenList
Properties
(none)
Methods
(none)
TADS 3 Library Manual
Generated on 5/16/2013 from TADS version 3.1.3