ResolveInfoclassparser.t[330]

The resolveNouns() method returns a list of ResolveInfo objects describing the objects matched to the noun phrase.

class ResolveInfo :   object

Superclass Tree   (in declaration order)

ResolveInfo
        object

Subclass Tree  

(none)

Global Objects  

dummyTentativeInfo 

Summary of Properties  

flags_  np_  obj_  possRank_  pronounType_  quant_ 

Summary of Methods  

construct  isDistEquivInList  isEquivalentInList 

Properties  

flags_parser.t[377]

flags describing how we matched the object

np_parser.t[404]
the noun phrase we parsed to come up with this object

obj_parser.t[374]
the object matched

possRank_parser.t[398]
The possessive ranking, if applicable. If this object is qualified by a possessive phrase ("my books"), we'll set this to a value indicating how strongly the possession applies to our object: 2 indicates that the object is explicitly owned by the object indicated in the possessive phrase, 1 indicates that it's directly held by the named possessor but not explicitly owned, and 0 indicates all else. In cases where there's no posessive qualifier, this will simply be zero.

pronounType_parser.t[401]
the pronoun type we matched, if any (as a PronounXxx enum)

quant_parser.t[386]
By default, each ResolveInfo counts as one object, for the purposes of a quantity specifier (as in "five coins" or "both hats"). However, in some cases, a single resolved object might represent a collection of discrete objects and thus count as more than one for the purposes of the quantifier.

Methods  

construct (obj, flags)parser.t[331]

no description available

isDistEquivInList (lst, dist)parser.t[362]
Look for a ResolveInfo item in a list of ResolveInfo items that is equivalent to us according to a particular Distinguisher.

isEquivalentInList (lst)parser.t[347]
Look for a ResolveInfo item in a list of ResolveInfo items that is equivalent to us. Returns true if we find such an item, nil if not.

Another ResolveInfo is equivalent to us if it refers to the same underlying game object that we do, or if it refers to a game object that is indistinguishable from our underlying game object.

TADS 3 Library Manual
Generated on 4/11/2008 from TADS version 3.0.16