scopeLookupSymbol

fun scopeLookupSymbol(scopeId: <Error class: unknown class>, symbol: String): <Error class: unknown class>?

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

Return

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

Parameters

scopeId

the scope id

symbol

the symbol to look up