singleNoun(multiple)grammar
A user could attempt to use a noun list with more than one entry (a “multi list”) where a single noun is required. This is not a grammatical error, so we accept it grammatically; however, for disambiguation purposes we score it lower than a singleNoun production with only one noun phrase, and if we try to resolve it, we’ll fail with an error.
grammar
singleNoun
(multiple)
:
SingleNounWithListProd
Superclass Tree (in declaration order)
singleNoun(multiple)
SingleNounWithListProd
NounPhraseProd
BasicProd
` object`
Summary of Properties
Inherited from NounPhraseProd
:
filterForCollectives
Inherited from BasicProd
:
firstTokenIndex
isSpecialResponseMatch
lastTokenIndex
Summary of Methods
Inherited from SingleNounWithListProd
:
resolveNouns
Inherited from NounPhraseProd
:
filterTruncations
getVerifyKeepers
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