Documentation
Dlang.org
Scanner.scopeAddSymbol
glib
scanner
Scanner
Adds a symbol to the given scope.
class
Scanner
void
scopeAddSymbol
(
uint
scopeId
,
string
symbol
,
void
*
value
= null
)
Parameters
scopeId
uint
the scope id
symbol
string
the symbol to add
value
void
*
the value of the symbol
glib
scanner
Scanner
constructors
this
functions
cPtr
curLine
curPosition
curToken
destroy
eof
getNextToken
inputFile
inputText
lookupSymbol
peekNextToken
scopeAddSymbol
scopeForeachSymbol
scopeLookupSymbol
scopeRemoveSymbol
setScope
syncFileOffset
unexpToken
properties
config
inputName
line
maxParseErrors
msgHandler
nextLine
nextPosition
nextToken
nextValue
parseErrors
position
qdata
token
value
Adds a symbol to the given scope.