Package gw.internal.gosu.parser
Class CompiledGosuClassSymbolTable
java.lang.Object
gw.lang.parser.ThreadSafeSymbolTable
gw.internal.gosu.parser.CompiledGosuClassSymbolTable
- All Implemented Interfaces:
IStackProvider,ISymbolTable
-
Field Summary
Fields inherited from interface gw.lang.parser.IStackProvider
START_POS, SUPER_POS, THIS_POS -
Method Summary
Modifier and TypeMethodDescriptionstatic Stackstatic ISymbolTableprotected ISymbolTableGet a thread-local symbol table.static CompiledGosuClassSymbolTableinstance()voidvoidpopCompileTimeSymbolTable(ICompilableType gsClass) static ISymbolTablevoidvoidpushCompileTimeSymbolTable(ISymbolTable symTable) voidvoidpushCompileTimeSymbolTable(ICompilableType gsClass, ISymbolTable symTable) static voidMethods inherited from class gw.lang.parser.ThreadSafeSymbolTable
clearDefaultSymbolTable, copy, defineCommonSymbols, getDefaultSymbolTable, getNextStackIndex, getNextStackIndexForScope, getPrivateGlobalScopeCount, getScopeCount, getSymbol, getSymbols, getSymbols, getTargetSymbolTable, getThisSymbolFromStackOrMap, getTotalSymbolCount, hasIsolatedScope, isSymbolWithinScope, peekIsolatedScope, peekScope, peekScope, popGlobalScope, popScope, popScope, pushIsolatedScope, pushPrivateGlobalScope, pushScope, pushScope, putSymbol, removeSymbol
-
Method Details
-
instance
-
getSymTableCtx
-
pushSymTableCtx
-
popSymTableCtx
-
getSymbolTableForCompilingClass
-
pushCompileTimeSymbolTable
-
pushCompileTimeSymbolTable
-
pushCompileTimeSymbolTable
public void pushCompileTimeSymbolTable() -
pushCompileTimeSymbolTable
-
popCompileTimeSymbolTable
-
popCompileTimeSymbolTable
public void popCompileTimeSymbolTable() -
getThreadLocalSymbolTable
Description copied from class:ThreadSafeSymbolTableGet a thread-local symbol table. This is typically an instance of StandardSymbol table you maintain in a simple ThreadLocal.- Specified by:
getThreadLocalSymbolTablein classThreadSafeSymbolTable
-
getSymbolTableTraceStack
-