lookupBindingOrNull

fun lookupBindingOrNull(name: A_String): A_Phrase?

Look up the declaration with the given name in the current compiler scope. This information is associated with the current Interpreter, and therefore the fiber that it is executing. If no such binding exists, answer null. The module scope is not consulted by this mechanism.

Return

The declaration that was requested, or null if there is no binding in scope with that name.

Parameters

name

The name of the binding to look up in the current scope.