disambigPhrase(all)grammar
A “disambiguation phrase” is a phrase that answers a disambiguation question (“which book do you mean…”).
A disambiguation question can be answered with several types of syntax:
all/everything/all of them
both/both of them
any/any of them
<disambig list>
the <ordinal list> ones
the former/the latter
Note that we assign non-zero badness to all of the ordinal interpretations, so that we will take an actual vocabulary interpretation instead of an ordinal interpretation whenever possible. For example, if an object’s name is actually “the third button,” this will give us greater affinity for using “third” as an adjective than as an ordinal in our own list.
grammar
disambigPhrase
(all)
:
DisambigProd
Superclass Tree (in declaration order)
disambigPhrase(all)
DisambigProd
BasicProd
` object`
Summary of Properties
Inherited from BasicProd
:
firstTokenIndex
isSpecialResponseMatch
lastTokenIndex
Summary of Methods
Inherited from DisambigProd
:
removeAmbigFlags
Inherited from BasicProd
:
canResolveTo
getOrigText
getOrigTokenList
setOrigTokenList
Properties
(none)
Methods
getResponseList ( )
there’s only me in the response list
resolveNouns (resolver, results)
no description available
TADS 3 Library Manual
Generated on 5/16/2013 from TADS version 3.1.3