scope_lookup_symbol


Description:

public void* scope_lookup_symbol (uint scope_id, string symbol)

Looks up a symbol in a scope and return its value.

If the symbol is not bound in the scope, null is returned.

Parameters:

this

a Scanner

scope_id

the scope id

symbol

the symbol to look up

Returns:

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