lookup

Resolves name by searching this scope and then each ancestor.

Return

A pair of (javaName, VarType) if found, or null if the name is not in scope. A null result causes the compiler to emit the name verbatim, which handles built-in names like println.

Parameters

name

The MiniKotlin source name to look up.