lookupByValues

fun lookupByValues(    root: LookupTree<Element, Result>,     argValues: List<A_BasicObject>,     memento: Memento,     lookupStats: LookupStatistics): Result

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.

Return

The Result.

Parameters

root

The LookupTree to search.

argValues

The input List of A_BasicObjects.

memento

A value potentially used for constructing Results in parts of the tree that have not yet been constructed.

lookupStats

The LookupStatistics in which to record the lookup.