Class CompileTimeExpressionParser.CompileTimeFieldSymbol
- java.lang.Object
-
- gw.internal.gosu.parser.Symbol
-
- gw.internal.gosu.parser.java.classinfo.CompileTimeExpressionParser.CompileTimeFieldSymbol
-
- All Implemented Interfaces:
IFunctionSymbol,IHasType,IReducedSymbol,ISymbol,ICompileTimeConstantValue
- Enclosing class:
- CompileTimeExpressionParser
public static class CompileTimeExpressionParser.CompileTimeFieldSymbol extends Symbol implements ICompileTimeConstantValue
-
-
Field Summary
Fields Modifier and Type Field Description private IJavaClassField_field-
Fields inherited from class gw.internal.gosu.parser.Symbol
_bGlobal, _iIndex, _stackProvider, _symbolTable, _value, MEMBER_STACK_PROVIDER
-
-
Constructor Summary
Constructors Constructor Description CompileTimeFieldSymbol(IJavaClassField field)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.ObjectdoCompileTimeEvaluation()IJavaClassFieldgetField()ISymbolgetLightWeightReference()Creates a copy of this symbol without the value so that the empty symbol can be stored.booleanisCompileTimeConstantValue()-
Methods inherited from class gw.internal.gosu.parser.Symbol
assignIndex, assignIndexInStack, canBeCaptured, createReducedSymbol, equals, getAnnotations, getDefaultValueExpression, getDisplayName, getDynamicSymbolTable, getFullDescription, getGosuClass, getIndex, getModifierInfo, getModifiers, getName, getScriptPart, getSignatureDescription, getSymbolClass, getType, getValue, getValueDirectly, hasDynamicSymbolTable, hasTypeVariables, invoke, isAbstract, isClassMember, isFinal, isFromJava, isHide, isImplicitlyInitialized, isInternal, isLocal, isOverride, isPrivate, isProtected, isPublic, isReified, isStackSymbol, isStatic, isValueBoxed, isWritable, makeCapturedSymbol, renameAsErrantDuplicate, replaceModifierInfo, setAbstract, setClassMember, setDefaultValueExpression, setDynamicSymbolTable, setFinal, setHide, setIndex, setInternal, setModifierInfo, setModifiers, setName, setOverride, setPrivate, setProtected, setPublic, setReified, setStatic, setType, setValue, setValueDirectly, setValueIsBoxed, toString
-
-
-
-
Field Detail
-
_field
private IJavaClassField _field
-
-
Constructor Detail
-
CompileTimeFieldSymbol
public CompileTimeFieldSymbol(IJavaClassField field)
-
-
Method Detail
-
getField
public IJavaClassField getField()
-
isCompileTimeConstantValue
public boolean isCompileTimeConstantValue()
- Specified by:
isCompileTimeConstantValuein interfaceICompileTimeConstantValue
-
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 classSymbol
-
doCompileTimeEvaluation
public java.lang.Object doCompileTimeEvaluation()
- Specified by:
doCompileTimeEvaluationin interfaceICompileTimeConstantValue
-
-