Package gw.internal.gosu.parser
Class DynamicPropertySymbol
- java.lang.Object
-
- gw.internal.gosu.parser.Symbol
-
- gw.internal.gosu.parser.AbstractDynamicSymbol
-
- gw.internal.gosu.parser.DynamicPropertySymbol
-
- All Implemented Interfaces:
IDynamicPropertySymbol,IDynamicSymbol,IFunctionSymbol,IHasType,IReducedSymbol,ISymbol
- Direct Known Subclasses:
EnumAllValuesPropertySymbol,EnumCodePropertySymbol,EnumDisplayNamePropertySymbol,EnumNamePropertySymbol,EnumOrdinalPropertySymbol,EnumValuePropertySymbol,IntrinsicTypePropertySymbol,ParameterizedDynamicPropertySymbol
public class DynamicPropertySymbol extends AbstractDynamicSymbol implements IDynamicPropertySymbol
-
-
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 DynamicPropertySymbol(DynamicFunctionSymbol dfsGetterOrSetter, boolean bGetter)DynamicPropertySymbol(DynamicPropertySymbol dps)
-
Method Summary
-
Methods inherited from class gw.internal.gosu.parser.AbstractDynamicSymbol
assignIndex, getGosuClass, getScriptPart, getSymbolTable, hasDynamicSymbolTable, hasTypeVariables, isFromJava, isLocal, setDynamicSymbolTable, setScriptPart
-
Methods inherited from class gw.internal.gosu.parser.Symbol
assignIndexInStack, canBeCaptured, equals, getAnnotations, getDefaultValueExpression, getDisplayName, getDynamicSymbolTable, getIndex, getModifierInfo, getModifiers, getName, getSignatureDescription, getSymbolClass, getType, invoke, isClassMember, isHide, isImplicitlyInitialized, isOverride, isReified, isStackSymbol, isValueBoxed, makeCapturedSymbol, renameAsErrantDuplicate, replaceModifierInfo, setAbstract, setClassMember, setDefaultValueExpression, setFinal, setHide, setIndex, setInternal, setModifierInfo, setModifiers, setName, setOverride, setPrivate, setProtected, setPublic, setReified, setStatic, setType, 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.IDynamicSymbol
getGosuClass, getScriptPart
-
Methods inherited from interface gw.lang.parser.IFunctionSymbol
getModifiers, getSignatureDescription, invoke, isFromJava, isStackSymbol
-
Methods inherited from interface gw.lang.parser.IReducedSymbol
getAnnotations, getSymbolClass, getType, hasTypeVariables, isReified
-
Methods inherited from interface gw.lang.parser.ISymbol
canBeCaptured, getDefaultValueExpression, getDisplayName, getDynamicSymbolTable, getIndex, getModifierInfo, getName, getType, hasDynamicSymbolTable, isLocal, isValueBoxed, makeCapturedSymbol, setDefaultValueExpression, setDynamicSymbolTable, setType, setValueIsBoxed
-
-
-
-
Constructor Detail
-
DynamicPropertySymbol
public DynamicPropertySymbol(DynamicFunctionSymbol dfsGetterOrSetter, boolean bGetter)
-
DynamicPropertySymbol
public DynamicPropertySymbol(DynamicPropertySymbol dps)
-
-
Method Detail
-
getLightWeightReference
public ISymbol getLightWeightReference()
- Specified by:
getLightWeightReferencein interfaceISymbol- Specified by:
getLightWeightReferencein classAbstractDynamicSymbol
-
getAssignableType
public IType getAssignableType()
-
getValue
public Object getValue()
Description copied from class:SymbolReturns the value assigned to this Symbol.
-
getValueDirectly
public Object getValueDirectly()
- Overrides:
getValueDirectlyin classSymbol
-
setValue
public void setValue(Object value)
Description copied from class:SymbolAssigns a value to this Symbol.
-
setValueDirectly
public void setValueDirectly(Object value)
- Overrides:
setValueDirectlyin classSymbol
-
isReadable
public boolean isReadable()
- Specified by:
isReadablein interfaceIDynamicPropertySymbol
-
isWritable
public boolean isWritable()
- Specified by:
isWritablein interfaceISymbol- Overrides:
isWritablein classSymbol
-
clearDebugInfo
public void clearDebugInfo()
- Overrides:
clearDebugInfoin classAbstractDynamicSymbol
-
isPublic
public boolean isPublic()
- Specified by:
isPublicin interfaceIReducedSymbol- Overrides:
isPublicin classSymbol
-
isPrivate
public boolean isPrivate()
- Specified by:
isPrivatein interfaceIReducedSymbol- Overrides:
isPrivatein classSymbol
-
isInternal
public boolean isInternal()
- Specified by:
isInternalin interfaceIReducedSymbol- Overrides:
isInternalin classSymbol
-
isProtected
public boolean isProtected()
- Specified by:
isProtectedin interfaceIReducedSymbol- Overrides:
isProtectedin classSymbol
-
isStatic
public boolean isStatic()
- Specified by:
isStaticin interfaceIDynamicPropertySymbol- Specified by:
isStaticin interfaceIReducedSymbol- Overrides:
isStaticin classSymbol
-
isAbstract
public boolean isAbstract()
- Specified by:
isAbstractin interfaceIReducedSymbol- Overrides:
isAbstractin classSymbol
-
isFinal
public boolean isFinal()
- Specified by:
isFinalin interfaceIReducedSymbol- Overrides:
isFinalin classSymbol
-
setGetterDfs
public void setGetterDfs(IDynamicFunctionSymbol dfsGetter)
- Specified by:
setGetterDfsin interfaceIDynamicPropertySymbol
-
getGetterDfs
public DynamicFunctionSymbol getGetterDfs()
- Specified by:
getGetterDfsin interfaceIDynamicPropertySymbol
-
getImmediateGetterDfs
protected DynamicFunctionSymbol getImmediateGetterDfs()
-
setSetterDfs
public void setSetterDfs(IDynamicFunctionSymbol dfsSetter)
- Specified by:
setSetterDfsin interfaceIDynamicPropertySymbol
-
getSetterDfs
public DynamicFunctionSymbol getSetterDfs()
- Specified by:
getSetterDfsin interfaceIDynamicPropertySymbol
-
getImmediateSetterDfs
protected DynamicFunctionSymbol getImmediateSetterDfs()
-
setParent
protected void setParent(DynamicPropertySymbol dpsParent)
-
getParent
public DynamicPropertySymbol getParent()
- Specified by:
getParentin interfaceIDynamicPropertySymbol
-
getFunction
public DynamicFunctionSymbol getFunction(String strFunctionName)
- Specified by:
getFunctionin interfaceIDynamicPropertySymbol
-
addMemberSymbols
public void addMemberSymbols(ICompilableTypeInternal gsClass)
-
setVarIdentifier
public void setVarIdentifier(String varIdentifier)
-
getVarIdentifier
public String getVarIdentifier()
- Specified by:
getVarIdentifierin interfaceIDynamicPropertySymbol
-
getFullDescription
public String getFullDescription()
- Specified by:
getFullDescriptionin interfaceIDynamicPropertySymbol- Specified by:
getFullDescriptionin interfaceIReducedSymbol- Overrides:
getFullDescriptionin classSymbol
-
getParameterizedVersion
public DynamicPropertySymbol getParameterizedVersion(IGosuClass gsClass)
- Specified by:
getParameterizedVersionin interfaceIDynamicPropertySymbol- Specified by:
getParameterizedVersionin classAbstractDynamicSymbol
-
createReducedSymbol
public IReducedDynamicPropertySymbol createReducedSymbol()
- Specified by:
createReducedSymbolin interfaceISymbol- Overrides:
createReducedSymbolin classSymbol
-
getPropertyInfo
public IPropertyInfo getPropertyInfo()
- Specified by:
getPropertyInfoin interfaceIDynamicPropertySymbol
-
-