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
public class DynamicSymbol extends AbstractDynamicSymbol
-
-
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
Constructors Constructor Description DynamicSymbol(ICompilableType gsClass, ISymbolTable symTable, CharSequence strName, IType type, Object value)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ISymbol
getLightWeightReference()
DynamicSymbol
getParameterizedVersion(IGosuClass gsClass)
Object
getValue()
Returns the value assigned to this Symbol.void
setValue(Object value)
Assigns a value to this Symbol.String
toString()
-
Methods inherited from class gw.internal.gosu.parser.AbstractDynamicSymbol
assignIndex, clearDebugInfo, 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 Detail
-
DynamicSymbol
public DynamicSymbol(ICompilableType gsClass, ISymbolTable symTable, CharSequence strName, IType type, Object value)
-
-
Method Detail
-
getLightWeightReference
public ISymbol getLightWeightReference()
- Specified by:
getLightWeightReference
in interfaceISymbol
- Specified by:
getLightWeightReference
in classAbstractDynamicSymbol
-
getParameterizedVersion
public DynamicSymbol getParameterizedVersion(IGosuClass gsClass)
- Specified by:
getParameterizedVersion
in classAbstractDynamicSymbol
-
getValue
public Object getValue()
Description copied from class:Symbol
Returns the value assigned to this Symbol.
-
setValue
public void setValue(Object value)
Description copied from class:Symbol
Assigns a value to this Symbol.
-
-