Scanner.scopeAddSymbol

void scopeAddSymbol(uint scopeId, string symbol, void * value = null)

Adds a symbol to the given scope.

Parameters

scopeIdthe scope id
symbolthe symbol to add
valuethe value of the symbol