Package gw.internal.gosu.parser
Class ThisConstructorFunctionSymbol
- java.lang.Object
-
- gw.internal.gosu.parser.Symbol
-
- gw.internal.gosu.parser.AbstractDynamicSymbol
-
- gw.internal.gosu.parser.DynamicFunctionSymbol
-
- gw.internal.gosu.parser.ThisConstructorFunctionSymbol
-
- All Implemented Interfaces:
IConstructorFunctionSymbol
,IDynamicFunctionSymbol
,IDynamicSymbol
,IFunctionSymbol
,IHasType
,IReducedSymbol
,ISymbol
public class ThisConstructorFunctionSymbol extends DynamicFunctionSymbol implements IConstructorFunctionSymbol
-
-
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 ThisConstructorFunctionSymbol(DynamicFunctionSymbol dfsDelegate)
ThisConstructorFunctionSymbol(DynamicFunctionSymbol dfs, boolean genericJavaInterop)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IReducedDynamicFunctionSymbol
createReducedSymbol()
IConstructorInfo
getConstructorInfo()
DynamicFunctionSymbol
getDelegate()
String
getDisplayName()
Returns the Symbol's optional display name.MethodCallStatement
getInitializer()
ISymbol
getLightWeightReference()
Creates a copy of this symbol without the value so that the empty symbol can be stored.boolean
isGenericJavaInterop()
-
Methods inherited from class gw.internal.gosu.parser.DynamicFunctionSymbol
clearDebugInfo, clearDefn, equals, getAnnotationDefault, getArgs, getArgTypes, getBackingDfs, getCannonicalName, getDeclaringTypeInfo, getDeclFunctionStmt, getFullDescription, getFunctionSymbol, getMethodOrConstructorInfo, getMethodOrConstructorInfo, getMethodSignature, getParameterDisplay, getParameterizedVersion, getReturnType, getSignatureDescription, getSignatureName, getSignatureName, getSuperDfs, hashCode, hasOptionalParameters, hasTypeVariables, invoke, isAbstract, isClassMember, isConstructor, isFinal, isLoopImplicitReturn, isReified, renameAsErrantDuplicate, setAbstract, setAnnotationDefault, setArgs, setDeclFunctionStmt, setDisplayName, setFinal, setInitializer, setLoopImplicitReturn, setSuperDfs, setValue
-
Methods inherited from class gw.internal.gosu.parser.AbstractDynamicSymbol
assignIndex, getGosuClass, getScriptPart, getSymbolTable, hasDynamicSymbolTable, isFromJava, isLocal, setDynamicSymbolTable, setScriptPart
-
Methods inherited from class gw.internal.gosu.parser.Symbol
assignIndexInStack, canBeCaptured, getAnnotations, getDefaultValueExpression, getDynamicSymbolTable, getIndex, getModifierInfo, getModifiers, getName, getSymbolClass, getType, getValue, getValueDirectly, isHide, isImplicitlyInitialized, isInternal, isOverride, isPrivate, isProtected, isPublic, isStackSymbol, isStatic, isValueBoxed, isWritable, makeCapturedSymbol, replaceModifierInfo, setClassMember, setDefaultValueExpression, setHide, setIndex, setInternal, setModifierInfo, setModifiers, setName, setOverride, setPrivate, setProtected, setPublic, setReified, setStatic, setType, setValueDirectly, setValueIsBoxed, toString
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface gw.lang.parser.IDynamicFunctionSymbol
getValueDirectly, isOverride, isStatic
-
Methods inherited from interface gw.lang.parser.IDynamicSymbol
getGosuClass, getScriptPart
-
Methods inherited from interface gw.lang.parser.IFunctionSymbol
getModifiers, isFromJava, isStackSymbol
-
Methods inherited from interface gw.lang.parser.IReducedSymbol
getAnnotations, getSymbolClass, getType, isInternal, isPrivate, isProtected, isPublic
-
Methods inherited from interface gw.lang.parser.ISymbol
canBeCaptured, getDefaultValueExpression, getDynamicSymbolTable, getIndex, getModifierInfo, getName, getType, getValue, hasDynamicSymbolTable, isLocal, isValueBoxed, isWritable, makeCapturedSymbol, setDefaultValueExpression, setDynamicSymbolTable, setType, setValueIsBoxed
-
-
-
-
Constructor Detail
-
ThisConstructorFunctionSymbol
public ThisConstructorFunctionSymbol(DynamicFunctionSymbol dfsDelegate)
-
ThisConstructorFunctionSymbol
public ThisConstructorFunctionSymbol(DynamicFunctionSymbol dfs, boolean genericJavaInterop)
-
-
Method Detail
-
isGenericJavaInterop
public boolean isGenericJavaInterop()
-
getLightWeightReference
public ISymbol 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
- Overrides:
getLightWeightReference
in classDynamicFunctionSymbol
-
getDisplayName
public String getDisplayName()
Description copied from class:Symbol
Returns the Symbol's optional display name. If a display name is not assigned, returns the symbol's name.- Specified by:
getDisplayName
in interfaceIReducedSymbol
- Specified by:
getDisplayName
in interfaceISymbol
- Overrides:
getDisplayName
in classDynamicFunctionSymbol
-
getInitializer
public MethodCallStatement getInitializer()
- Specified by:
getInitializer
in interfaceIDynamicFunctionSymbol
- Overrides:
getInitializer
in classDynamicFunctionSymbol
-
getConstructorInfo
public IConstructorInfo getConstructorInfo()
- Specified by:
getConstructorInfo
in interfaceIConstructorFunctionSymbol
-
createReducedSymbol
public IReducedDynamicFunctionSymbol createReducedSymbol()
- Specified by:
createReducedSymbol
in interfaceIDynamicFunctionSymbol
- Specified by:
createReducedSymbol
in interfaceISymbol
- Overrides:
createReducedSymbol
in classDynamicFunctionSymbol
-
getDelegate
public DynamicFunctionSymbol getDelegate()
-
-