Package gw.internal.gosu.parser
Class CompiledGosuClassSymbolTable
- java.lang.Object
-
- gw.lang.parser.ThreadSafeSymbolTable
-
- gw.internal.gosu.parser.CompiledGosuClassSymbolTable
-
- All Implemented Interfaces:
IStackProvider,ISymbolTable
public class CompiledGosuClassSymbolTable extends ThreadSafeSymbolTable
-
-
Field Summary
-
Fields inherited from interface gw.lang.parser.IStackProvider
START_POS, SUPER_POS, THIS_POS
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ISymbolTablegetSymbolTableForCompilingClass(ICompilableType gsClass)static StackgetSymbolTableTraceStack()static ISymbolTablegetSymTableCtx()protected ISymbolTablegetThreadLocalSymbolTable()static CompiledGosuClassSymbolTableinstance()voidpopCompileTimeSymbolTable()voidpopCompileTimeSymbolTable(ICompilableType gsClass)static ISymbolTablepopSymTableCtx()voidpushCompileTimeSymbolTable()voidpushCompileTimeSymbolTable(ISymbolTable symTable)voidpushCompileTimeSymbolTable(ICompilableType gsClass)voidpushCompileTimeSymbolTable(ICompilableType gsClass, ISymbolTable symTable)static voidpushSymTableCtx(ISymbolTable ctx)-
Methods 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 Detail
-
instance
public static CompiledGosuClassSymbolTable instance()
-
getSymTableCtx
public static ISymbolTable getSymTableCtx()
-
pushSymTableCtx
public static void pushSymTableCtx(ISymbolTable ctx)
-
popSymTableCtx
public static ISymbolTable popSymTableCtx()
-
getSymbolTableForCompilingClass
public ISymbolTable getSymbolTableForCompilingClass(ICompilableType gsClass)
-
pushCompileTimeSymbolTable
public void pushCompileTimeSymbolTable(ICompilableType gsClass)
-
pushCompileTimeSymbolTable
public void pushCompileTimeSymbolTable(ICompilableType gsClass, ISymbolTable symTable)
-
pushCompileTimeSymbolTable
public void pushCompileTimeSymbolTable()
-
pushCompileTimeSymbolTable
public void pushCompileTimeSymbolTable(ISymbolTable symTable)
-
popCompileTimeSymbolTable
public void popCompileTimeSymbolTable(ICompilableType gsClass)
-
popCompileTimeSymbolTable
public void popCompileTimeSymbolTable()
-
getThreadLocalSymbolTable
protected ISymbolTable getThreadLocalSymbolTable()
- Specified by:
getThreadLocalSymbolTablein classThreadSafeSymbolTable
-
getSymbolTableTraceStack
public static Stack getSymbolTableTraceStack()
-
-