public abstract class AbstractDynamicSymbol extends Symbol implements IDynamicSymbol, IReducedSymbol
| Modifier and Type | Field and Description |
|---|---|
protected IScriptPartId |
_scriptPartId |
protected ISymbolTable |
_symTable |
_bGlobal, _iIndex, _stackProvider, _symbolTable, _value, MEMBER_STACK_PROVIDER| Constructor and Description |
|---|
AbstractDynamicSymbol(ISymbolTable symTable,
CharSequence strName,
IType type)
Constructs AbstractDynamicSymbol for use with an IGosuParser's ISymbolTable.
|
AbstractDynamicSymbol(ISymbolTable symTable,
CharSequence strName,
IType type,
Object value) |
| Modifier and Type | Method and Description |
|---|---|
protected int |
assignIndex(IScope scope) |
void |
clearDebugInfo() |
IGosuClassInternal |
getGosuClass() |
abstract ISymbol |
getLightWeightReference() |
abstract AbstractDynamicSymbol |
getParameterizedVersion(IGosuClass gsClass) |
IScriptPartId |
getScriptPart() |
ISymbolTable |
getSymbolTable() |
boolean |
hasDynamicSymbolTable() |
boolean |
hasTypeVariables() |
boolean |
isFromJava() |
boolean |
isLocal() |
void |
setDynamicSymbolTable(ISymbolTable symTable) |
void |
setScriptPart(IScriptPartId partId) |
assignIndexInStack, canBeCaptured, createReducedSymbol, equals, getAnnotations, getDefaultValueExpression, getDisplayName, getDynamicSymbolTable, getFullDescription, getIndex, getModifierInfo, getModifiers, getName, getSignatureDescription, getSymbolClass, getType, getValue, getValueDirectly, invoke, isAbstract, isClassMember, isFinal, isHide, isImplicitlyInitialized, isInternal, isOverride, isPrivate, isProtected, isPublic, isStackSymbol, isStatic, isValueBoxed, isWritable, makeCapturedSymbol, renameAsErrantDuplicate, replaceModifierInfo, setAbstract, setClassMember, setDefaultValueExpression, setFinal, setHide, setIndex, setInternal, setModifierInfo, setModifiers, setName, setOverride, setPrivate, setProtected, setPublic, setStatic, setType, setValue, setValueDirectly, setValueIsBoxed, toStringclone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetModifiers, getSignatureDescription, invoke, isStackSymbolcanBeCaptured, createReducedSymbol, getDefaultValueExpression, getDisplayName, getDynamicSymbolTable, getIndex, getModifierInfo, getName, getType, getValue, isValueBoxed, isWritable, makeCapturedSymbol, setDefaultValueExpression, setType, setValue, setValueIsBoxedgetAnnotations, getFullDescription, getSymbolClass, isAbstract, isFinal, isInternal, isPrivate, isProtected, isPublic, isStaticprotected ISymbolTable _symTable
protected IScriptPartId _scriptPartId
public AbstractDynamicSymbol(ISymbolTable symTable, CharSequence strName, IType type)
symTable - The symbol table.strName - The symbol name.type - The IGosuParser specific type.public AbstractDynamicSymbol(ISymbolTable symTable, CharSequence strName, IType type, Object value)
protected int assignIndex(IScope scope)
assignIndex in class Symbolpublic void setDynamicSymbolTable(ISymbolTable symTable)
setDynamicSymbolTable in interface ISymbolsetDynamicSymbolTable in class Symbolpublic boolean hasDynamicSymbolTable()
hasDynamicSymbolTable in interface ISymbolhasDynamicSymbolTable in class Symbolpublic IScriptPartId getScriptPart()
getScriptPart in interface IDynamicSymbolgetScriptPart in interface IReducedSymbolgetScriptPart in class Symbolpublic void setScriptPart(IScriptPartId partId)
public IGosuClassInternal getGosuClass()
getGosuClass in interface IDynamicSymbolgetGosuClass in interface IReducedSymbolgetGosuClass in class Symbolpublic void clearDebugInfo()
public ISymbolTable getSymbolTable()
public boolean isFromJava()
isFromJava in interface IFunctionSymbolisFromJava in class Symbolpublic abstract ISymbol getLightWeightReference()
getLightWeightReference in interface ISymbolgetLightWeightReference in class Symbolpublic abstract AbstractDynamicSymbol getParameterizedVersion(IGosuClass gsClass)
public boolean isLocal()
public boolean hasTypeVariables()
hasTypeVariables in interface IReducedSymbolhasTypeVariables in class SymbolCopyright © 2019. All rights reserved.