Package gw.internal.gosu.parser
Class DynamicSymbol
java.lang.Object
gw.internal.gosu.parser.Symbol
gw.internal.gosu.parser.AbstractDynamicSymbol
gw.internal.gosu.parser.DynamicSymbol
- All Implemented Interfaces:
IDynamicSymbol,IFunctionSymbol,IHasType,IReducedSymbol,ISymbol
-
Field Summary
Fields inherited from class gw.internal.gosu.parser.AbstractDynamicSymbol
_scriptPartId, _symTableFields inherited from class gw.internal.gosu.parser.Symbol
_bGlobal, _iIndex, _stackProvider, _symbolTable, _value, MEMBER_STACK_PROVIDER -
Constructor Summary
ConstructorsConstructorDescriptionDynamicSymbol(ICompilableType gsClass, ISymbolTable symTable, CharSequence strName, IType type, Object value) -
Method Summary
Modifier and TypeMethodDescriptionCreates a copy of this symbol without the value so that the empty symbol can be stored.getParameterizedVersion(IGosuClass gsClass) private FieldgetValue()Returns the value assigned to this Symbol.voidAssigns a value to this Symbol.toString()Methods inherited from class gw.internal.gosu.parser.AbstractDynamicSymbol
assignIndex, clearDebugInfo, getCompiledStatementDirectly, getGosuClass, getScriptPart, getSymbolTable, hasDynamicSymbolTable, hasTypeVariables, isFromJava, isLocal, setDynamicSymbolTable, setScriptPartMethods inherited from class gw.internal.gosu.parser.Symbol
assignIndexInStack, canBeCaptured, createReducedSymbol, equals, getAnnotations, getDefaultValueExpression, getDisplayName, getDynamicSymbolTable, getFullDescription, getIndex, getModifierInfo, getModifiers, getName, getSignatureDescription, getSymbolClass, getType, getValueDirectly, invoke, isAbstract, isClassMember, isFinal, isHide, isImplicitlyInitialized, isInternal, isOverride, isPrivate, isProtected, isPublic, isReified, isStackSymbol, isStatic, isValueBoxed, isWritable, makeCapturedSymbol, renameAsErrantDuplicate, replaceModifierInfo, setAbstract, setClassMember, setDefaultValueExpression, setFinal, setHide, setIndex, setInternal, setModifierInfo, setModifiers, setName, setOverride, setPrivate, setProtected, setPublic, setReified, setStatic, setType, setValueDirectly, setValueIsBoxedMethods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface gw.lang.parser.IFunctionSymbol
getModifiers, getSignatureDescription, invoke, isStackSymbolMethods inherited from interface gw.lang.parser.IReducedSymbol
getAnnotations, getFullDescription, getSymbolClass, getType, isAbstract, isFinal, isInternal, isPrivate, isProtected, isPublic, isReified, isStaticMethods inherited from interface gw.lang.parser.ISymbol
canBeCaptured, createReducedSymbol, getDefaultValueExpression, getDisplayName, getDynamicSymbolTable, getIndex, getModifierInfo, getName, getType, isValueBoxed, isWritable, makeCapturedSymbol, setDefaultValueExpression, setType, setValueIsBoxed
-
Constructor Details
-
DynamicSymbol
public DynamicSymbol(ICompilableType gsClass, ISymbolTable symTable, CharSequence strName, IType type, Object value)
-
-
Method Details
-
getLightWeightReference
Description copied from interface:ISymbolCreates a copy of this symbol without the value so that the empty symbol can be stored.- Specified by:
getLightWeightReferencein interfaceISymbol- Specified by:
getLightWeightReferencein classAbstractDynamicSymbol
-
getParameterizedVersion
- Specified by:
getParameterizedVersionin classAbstractDynamicSymbol
-
getValue
Description copied from class:SymbolReturns the value assigned to this Symbol. -
setValue
Description copied from class:SymbolAssigns a value to this Symbol. -
getStaticFieldFromBytecode
-
toString
-