Package gw.internal.gosu.parser
Class TypedSymbol
- java.lang.Object
-
- gw.internal.gosu.parser.Symbol
-
- gw.internal.gosu.parser.TypedSymbol
-
- All Implemented Interfaces:
IFunctionSymbol,IHasType,IReducedSymbol,ISymbol,ITypedSymbol
- Direct Known Subclasses:
InitializerSymbol
public class TypedSymbol extends Symbol implements ITypedSymbol
-
-
Field Summary
-
Fields inherited from class gw.internal.gosu.parser.Symbol
_bGlobal, _iIndex, _stackProvider, _symbolTable, _value, MEMBER_STACK_PROVIDER
-
-
Constructor Summary
Constructors Constructor Description TypedSymbol(String strValue, SymbolType symbolType)TypedSymbol(String strIdentifier, IType type, ISymbolTable symTable, Object value, SymbolType symbolType)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ISymbolgetLightWeightReference()SymbolTypegetSymbolType()booleanisImplicitlyInitialized()booleanisLocal()-
Methods inherited from class gw.internal.gosu.parser.Symbol
assignIndex, assignIndexInStack, canBeCaptured, createReducedSymbol, equals, getAnnotations, getDefaultValueExpression, getDisplayName, getDynamicSymbolTable, getFullDescription, getGosuClass, getIndex, getModifierInfo, getModifiers, getName, getScriptPart, getSignatureDescription, getSymbolClass, getType, getValue, getValueDirectly, hasDynamicSymbolTable, hasTypeVariables, invoke, isAbstract, isClassMember, isFinal, isFromJava, isHide, isInternal, isOverride, isPrivate, isProtected, isPublic, isReified, isStackSymbol, isStatic, isValueBoxed, isWritable, makeCapturedSymbol, renameAsErrantDuplicate, replaceModifierInfo, setAbstract, setClassMember, setDefaultValueExpression, setDynamicSymbolTable, setFinal, setHide, setIndex, setInternal, setModifierInfo, setModifiers, setName, setOverride, setPrivate, setProtected, setPublic, setReified, setStatic, setType, setValue, setValueDirectly, setValueIsBoxed, toString
-
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, isFromJava, isStackSymbol
-
Methods inherited from interface gw.lang.parser.IReducedSymbol
getAnnotations, getFullDescription, getGosuClass, getScriptPart, getSymbolClass, hasTypeVariables, 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, getValue, hasDynamicSymbolTable, isValueBoxed, isWritable, makeCapturedSymbol, setDefaultValueExpression, setDynamicSymbolTable, setType, setValue, setValueIsBoxed
-
-
-
-
Constructor Detail
-
TypedSymbol
public TypedSymbol(String strValue, SymbolType symbolType)
-
TypedSymbol
public TypedSymbol(String strIdentifier, IType type, ISymbolTable symTable, Object value, SymbolType symbolType)
-
-
Method Detail
-
isImplicitlyInitialized
public boolean isImplicitlyInitialized()
- Overrides:
isImplicitlyInitializedin classSymbol
-
getLightWeightReference
public ISymbol getLightWeightReference()
- Specified by:
getLightWeightReferencein interfaceISymbol- Overrides:
getLightWeightReferencein classSymbol
-
isLocal
public boolean isLocal()
-
getSymbolType
public SymbolType getSymbolType()
- Specified by:
getSymbolTypein interfaceITypedSymbol
-
-