lookupSymbol

fun lookupSymbol(symbol: String): <Error class: unknown class>?

Looks up a symbol in the current scope and return its value. If the symbol is not bound in the current scope, null is returned.

Return

the value of @symbol in the current scope, or null if @symbol is not bound in the current scope

Parameters

symbol

the symbol to look up