ScannerG.scopeLookupSymbol

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

class ScannerG
void*
scopeLookupSymbol
(
uint scopeId
,
string symbol
)

Parameters

scopeId uint

the scope id

symbol string

the symbol to look up

Return Value

Type: void*

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

Meta