lookupByTypes

fun lookupByTypes(root: LookupTree<Element, Result>, argumentTypesTuple: A_Tuple, memento: Memento, lookupStats: LookupStatistics): Result

Use the tuple of types to traverse the tree. Answer the solution, a Result. Uses iteration rather than recursion to limit stack depth.

Return

The Result.

Parameters

root

The LookupTree to search.

argumentTypesTuple

The input tuple of types.

memento

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