Documentation
Dlang.org
Scanner.setScope
glib
scanner
Scanner
Sets the current scope.
class
Scanner
uint
setScope
(
uint
scopeId
)
Parameters
scopeId
uint
the new scope id
Return Value
Type:
uint
the old scope id
glib
scanner
Scanner
functions
curLine
curPosition
curToken
destroy
eof
getNextToken
inputFile
inputText
lookupSymbol
peekNextToken
scopeAddSymbol
scopeForeachSymbol
scopeLookupSymbol
scopeRemoveSymbol
setScope
syncFileOffset
unexpToken
Sets the current scope.