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 Modifier and Type Field Description private DynamicFunctionSymbol_dfsDelegateprivate boolean_genericJavaInterop-
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 IReducedDynamicFunctionSymbolcreateReducedSymbol()IConstructorInfogetConstructorInfo()DynamicFunctionSymbolgetDelegate()java.lang.StringgetDisplayName()Returns the Symbol's optional display name.MethodCallStatementgetInitializer()ISymbolgetLightWeightReference()Creates a copy of this symbol without the value so that the empty symbol can be stored.booleanisGenericJavaInterop()-
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, getCompiledStatementDirectly, 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
-
-
-
-
Field Detail
-
_genericJavaInterop
private boolean _genericJavaInterop
-
_dfsDelegate
private DynamicFunctionSymbol _dfsDelegate
-
-
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:ISymbolCreates a copy of this symbol without the value so that the empty symbol can be stored.- Specified by:
getLightWeightReferencein interfaceISymbol- Overrides:
getLightWeightReferencein classDynamicFunctionSymbol
-
getDisplayName
public java.lang.String getDisplayName()
Description copied from class:SymbolReturns the Symbol's optional display name. If a display name is not assigned, returns the symbol's name.- Specified by:
getDisplayNamein interfaceIReducedSymbol- Specified by:
getDisplayNamein interfaceISymbol- Overrides:
getDisplayNamein classDynamicFunctionSymbol
-
getInitializer
public MethodCallStatement getInitializer()
- Specified by:
getInitializerin interfaceIDynamicFunctionSymbol- Overrides:
getInitializerin classDynamicFunctionSymbol
-
getConstructorInfo
public IConstructorInfo getConstructorInfo()
- Specified by:
getConstructorInfoin interfaceIConstructorFunctionSymbol
-
createReducedSymbol
public IReducedDynamicFunctionSymbol createReducedSymbol()
- Specified by:
createReducedSymbolin interfaceIDynamicFunctionSymbol- Specified by:
createReducedSymbolin interfaceISymbol- Overrides:
createReducedSymbolin classDynamicFunctionSymbol
-
getDelegate
public DynamicFunctionSymbol getDelegate()
-
-