Lookup Tree Adaptor
LookupTreeAdaptor is instantiated to construct and interpret a family of type-dispatch trees.
Author
Mark van Gulik
Parameters
The kind of elements in the lookup tree, such as method definitions.
What we expect to produce from a lookup activity, such as the tuple of most-specific matching method definitions for some arguments.
A memento to supply arbitrary additional information.
Constructors
Types
Functions
Compare two types to produce a TypeComparison.
Create a LookupTree, using the provided collection of Elements, and the list of initial argument types.
Compute the bounding signature from the given List of TypeRestrictions.
Use the tuple of types to traverse the tree. Answer the solution, a Result. Uses iteration rather than recursion to limit stack depth.
Use the given singular value to traverse the tree. Answer the solution, a Result. Uses iteration rather than recursion to limit stack depth.
Given a List of A_BasicObjects, use their types to traverse the LookupTree. Answer the solution, a Result. Uses iteration rather than recursion to limit stack depth.
true if Elements with more specific signatures exclude those with strictly more general signatures, false otherwise.
true if the tree uses whole type testing, or false if the tree tests individual elements of a tuple type.