go
ScannerG.scopeAddSymbol
glib
ScannerG
ScannerG
Adds a symbol to the given scope.
class
ScannerG
void
scopeAddSymbol
(
uint
scopeId
,
string
symbol
,
void
*
value
)
Parameters
scopeId
uint
the scope id
symbol
string
the symbol to add
value
void
*
the value of the symbol
glib
ScannerG
ScannerG
constructors
this
functions
curLine
curPosition
curToken
curValue
destroy
eof
getNextToken
getScannerGStruct
getStruct
inputFile
inputText
lookupSymbol
peekNextToken
scopeAddSymbol
scopeForeachSymbol
scopeLookupSymbol
scopeRemoveSymbol
setScope
syncFileOffset
unexpToken
variables
gScanner
Adds a symbol to the given scope.