Package gw.internal.gosu.parser
Class ParameterizedDynamicFunctionSymbol
- java.lang.Object
-
- gw.internal.gosu.parser.Symbol
-
- gw.internal.gosu.parser.AbstractDynamicSymbol
-
- gw.internal.gosu.parser.DynamicFunctionSymbol
-
- gw.internal.gosu.parser.ParameterizedDynamicFunctionSymbol
-
- All Implemented Interfaces:
IDynamicFunctionSymbol,IDynamicSymbol,IFunctionSymbol,IHasType,IReducedSymbol,ISymbol
public class ParameterizedDynamicFunctionSymbol extends DynamicFunctionSymbol
-
-
Field Summary
Fields Modifier and Type Field Description private DynamicFunctionSymbol_dfsDelegate-
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 ParameterizedDynamicFunctionSymbol(IDynamicFunctionSymbol dfsDelegate, IGosuClass owner)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description private voidassignSuperDfs(IDynamicFunctionSymbol dfsDelegate, IGosuClass owner)Assign the super dfs in terms of the deriving class's type parametersIReducedDynamicFunctionSymbolcreateReducedSymbol()DynamicFunctionSymbolgetBackingDfs()protected java.lang.StringgetCannonicalName()java.lang.StringgetFullDescription()MethodCallStatementgetInitializer()-
Methods inherited from class gw.internal.gosu.parser.DynamicFunctionSymbol
clearDebugInfo, clearDefn, equals, getAnnotationDefault, getArgs, getArgTypes, getDeclaringTypeInfo, getDeclFunctionStmt, getDisplayName, getFunctionSymbol, getLightWeightReference, 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
-
_dfsDelegate
private DynamicFunctionSymbol _dfsDelegate
-
-
Constructor Detail
-
ParameterizedDynamicFunctionSymbol
public ParameterizedDynamicFunctionSymbol(IDynamicFunctionSymbol dfsDelegate, IGosuClass owner)
-
-
Method Detail
-
assignSuperDfs
private void assignSuperDfs(IDynamicFunctionSymbol dfsDelegate, IGosuClass owner)
Assign the super dfs in terms of the deriving class's type parameters
-
getInitializer
public MethodCallStatement getInitializer()
- Specified by:
getInitializerin interfaceIDynamicFunctionSymbol- Overrides:
getInitializerin classDynamicFunctionSymbol
-
getBackingDfs
public DynamicFunctionSymbol getBackingDfs()
- Specified by:
getBackingDfsin interfaceIDynamicFunctionSymbol- Overrides:
getBackingDfsin classDynamicFunctionSymbol
-
getCannonicalName
protected java.lang.String getCannonicalName()
- Overrides:
getCannonicalNamein classDynamicFunctionSymbol- Returns:
- the canonical, generic name of this function
-
getFullDescription
public java.lang.String getFullDescription()
- Specified by:
getFullDescriptionin interfaceIReducedSymbol- Overrides:
getFullDescriptionin classDynamicFunctionSymbol
-
createReducedSymbol
public IReducedDynamicFunctionSymbol createReducedSymbol()
- Specified by:
createReducedSymbolin interfaceIDynamicFunctionSymbol- Specified by:
createReducedSymbolin interfaceISymbol- Overrides:
createReducedSymbolin classDynamicFunctionSymbol
-
-