Scanner.lookupSymbol

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.

class Scanner
void*
lookupSymbol
(
string symbol
)

Parameters

symbol string

the symbol to look up

Return Value

Type: void*

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