Distinguisherclass | parser.t[1278] |
Superclass Tree | Subclass Tree | Global Objects | Property Summary | Method Summary | Property Details | Method Details |
Note that this class is designed primarily for the parser's internal use, to facilitate some bookkeeping that we have to do during disambiguation. It's not really designed as an extensibility mechanism, because it's not usually enough to just add a new instance: you usually also have to add grammar for whatever new phrasing the new distinguisher represents, plus object resolution code to handle the new form of qualification.
class
Distinguisher : object
Distinguisher
StateDistinguisher
contentsDistinguisher
disambigNameDistinguisher
locationDistinguisher
nameDistinguisher
ownerDistinguisher
appliesTo
apply
classInit
equal
getNames
all | parser.t[1354] |
classInitFirst | parser.t[1367] |
sortOrder | parser.t[1284] |
appliesTo (obj) | parser.t[1301] |
apply (lst) | parser.t[1307] |
classInit ( ) | parser.t[1357] |
equal (a, b) | parser.t[1290] |
getNames (objs, article) | parser.t[1384] |
If 'article' is true, we'll use a definite or indefinite article, as appropriate: definite if the name we settle upon uniquely identifies the object within the list, indefinite if not. If 'article' is nil, the names don't have articles at all.
Returns a list of [name, [objects]] sublists. The name is a string giving the distinguished name; the [objects] sub-sublist is a list of the objects known under that name.