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, _symTable
Fields 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 Field
getValue()
Returns the value assigned to this Symbol.void
Assigns 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, setScriptPart
Methods 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, setValueIsBoxed
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface gw.lang.parser.IFunctionSymbol
getModifiers, getSignatureDescription, invoke, isStackSymbol
Methods inherited from interface gw.lang.parser.IReducedSymbol
getAnnotations, getFullDescription, getSymbolClass, getType, isAbstract, isFinal, isInternal, isPrivate, isProtected, isPublic, isReified, isStatic
Methods 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:ISymbol
Creates a copy of this symbol without the value so that the empty symbol can be stored.- Specified by:
getLightWeightReference
in interfaceISymbol
- Specified by:
getLightWeightReference
in classAbstractDynamicSymbol
-
getParameterizedVersion
- Specified by:
getParameterizedVersion
in classAbstractDynamicSymbol
-
getValue
Description copied from class:Symbol
Returns the value assigned to this Symbol. -
setValue
Description copied from class:Symbol
Assigns a value to this Symbol. -
getStaticFieldFromBytecode
-
toString
-