PrepSingleNounProdclass

en_us.t[5463]

Superclass
Tree

Subclass
Tree

Global
Objects

Property
Summary

Method
Summary

Property
Details

Method
Details

Prepositionally modified single noun phrases. These can be used in indirect object responses, so allow for interactions like this:

>unlock door
What do you want to unlock it with?

>with the key

The entire notion of prepositionally qualified noun phrases in interactive indirect object responses is specific to English, so this is implemented in the English module only. However, the general notion of specialized responses to interactive indirect object queries is handled in the language-independent library in some cases, in such a way that the language-specific library can customize the behavior - see TIAction.askIobjResponseProd.

class PrepSingleNounProd :   SingleNounProd

Superclass Tree   (in declaration order)

PrepSingleNounProd
SingleNounProd
NounPhraseProd
BasicProd
`                                 object`

Subclass Tree  

PrepSingleNounProd
atSingleNoun(main)
forSingleNoun(main)
fromSingleNoun(main)
inSingleNoun(main)
onSingleNoun(main)
outOfSingleNoun(main)
throughSingleNoun(main)
toSingleNoun(main)
withSingleNoun(main)

Global Objects  

(none)

Summary of Properties  

Inherited from NounPhraseProd :
filterForCollectives

Inherited from BasicProd :
firstTokenIndex isSpecialResponseMatch lastTokenIndex

Summary of Methods  

isSpecialResponseMatch resolveNouns

Inherited from NounPhraseProd :
filterTruncations getVerifyKeepers

Inherited from BasicProd :
canResolveTo getOrigText getOrigTokenList setOrigTokenList

Properties  

(none)

Methods  

isSpecialResponseMatch ( )

en_us.t[5473]

If the response starts with a preposition, it’s pretty clearly a response to the special query rather than a new command.

resolveNouns (resolver, results)OVERRIDDEN

en_us.t[5464]

no description available

TADS 3 Library Manual
Generated on 5/16/2013 from TADS version 3.1.3