if symbol is not bound in the current scope
Scanner.lookupSymbol
void * lookupSymbol(string symbol)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.
Parameters
symbol | the symbol to look up |
Returns
the value of symbol in the current scope, or null