ScannerG.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 ScannerG
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.

Meta