ReflexivePronounProdclass

parser.t[1531]

Superclass
Tree

Subclass
Tree

Global
Objects

Property
Summary

Method
Summary

Property
Details

Method
Details

Third-person anaphoric reflexive pronouns. These refer to objects that appeared earlier in the sentence: “ask bob about himself.”

class ReflexivePronounProd :   PronounProd

Superclass Tree   (in declaration order)

ReflexivePronounProd
PronounProd
NounPhraseProd
BasicProd
`                                 object`

Subclass Tree  

ReflexivePronounProd
HerselfProd
completeNounPhraseWithoutAll(herself)
HimselfProd
completeNounPhraseWithoutAll(himself)
ItselfProd
completeNounPhraseWithoutAll(itself)
ThemselvesProd
completeNounPhraseWithoutAll(themselves)

Global Objects  

(none)

Summary of Properties  

Inherited from PronounProd :
isPlural isPossessive pronounType

Inherited from NounPhraseProd :
filterForCollectives

Inherited from BasicProd :
firstTokenIndex isSpecialResponseMatch lastTokenIndex

Summary of Methods  

checkAgreement resolveNouns

Inherited from PronounProd :
checkAnaphoricBinding

Inherited from NounPhraseProd :
filterTruncations getVerifyKeepers

Inherited from BasicProd :
canResolveTo getOrigText getOrigTokenList setOrigTokenList

Properties  

(none)

Methods  

checkAgreement (lst)

parser.t[1591]

Check that the binding we found for our reflexive pronoun agrees with the pronoun in gender, number, and anything else that it has to agree with. This must be defined by each concrete subclass. Note that language-specific subclasses can and *should* override this to test agreement for the local language’s rules.

This should return true if we agree, nil if not.

resolveNouns (resolver, results)OVERRIDDEN

parser.t[1532]

no description available

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