Package gw.lang.reflect.gs
Interface IGosuProgram
-
- All Superinterfaces:
Comparable
,ICanBeAnnotation
,ICompilableType
,IEnhanceableType
,IEnumData
,IEnumType
,IFileRepositoryBasedType
,IGosuClass
,IHasInnerClass
,IHasJavaClass
,IParameterizableType
,IType
,Serializable
- All Known Subinterfaces:
IGosuProgramInternal
,IGosuTemplateInternal
,ITemplateType
- All Known Implementing Classes:
GosuProgram
,GosuTemplateType
public interface IGosuProgram extends IGosuClass
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
IGosuProgram.Runner
-
Nested classes/interfaces inherited from interface gw.lang.reflect.gs.IGosuClass
IGosuClass.ProxyUtil
-
-
Field Summary
Fields Modifier and Type Field Description static String
NAME_PREFIX
static String
PACKAGE
static String
PACKAGE_PLUS_DOT
-
Fields inherited from interface gw.lang.reflect.gs.IGosuClass
ANONYMOUS_PREFIX, PROXY_PREFIX, SUPER_PROXY_CLASS_PREFIX
-
Fields inherited from interface gw.lang.reflect.IType
EMPTY_ARRAY, EMPTY_TYPE_ARRAY, EMPTY_TYPE_LIST
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
assign(Object value)
Object
evaluate(IExternalSymbolMap externalSymbolMap)
Object
evaluateRoot(IExternalSymbolMap externalSymbolMap)
IType
getContextType()
IParsedElement
getEnclosingEvalExpression()
IType
getExpectedReturnType()
IExpression
getExpression()
IProgramInstance
getProgramInstance()
IType
getReturnType()
IStatement
getStatement()
boolean
isExpression()
boolean
isLhsExpression()
void
setEnclosingEvalExpression(IParsedElement evalExprOrAnyExpr)
-
Methods inherited from interface java.lang.Comparable
compareTo
-
Methods inherited from interface gw.lang.reflect.ICanBeAnnotation
isAnnotation
-
Methods inherited from interface gw.lang.reflect.gs.ICompilableType
getBlock, getClassStatement, getEnclosingType, getExternalSymbol, getParser, getTypeLoader, getTypeUsesMap, isAnonymous, isStatic
-
Methods inherited from interface gw.lang.reflect.IEnumData
getEnumConstants, getEnumValue, getEnumValues
-
Methods inherited from interface gw.lang.parser.IFileRepositoryBasedType
getClassType, getJavaName, getSourceFileHandle
-
Methods inherited from interface gw.lang.reflect.gs.IGosuClass
findProxiedClassInHierarchy, getBlocks, getClassStatementWithoutCompile, getCompilationState, getConstructorStatement, getEnclosingTypeReference, getFunctionStatement, getInnerClass, getInnerClasses, getInnerClassesMap, getJavaType, getKnownInnerClassesWithoutCompiling, getMemberFields, getMemberFieldsMap, getMemberFunctions, getMemberProperty, getModifierInfo, getParseResultsException, getPropertyDeclaration, getSource, getSubtypes, getTypeInfo, hasBackingClass, hasError, hasWarnings, isCompiled, isCompilingDeclarations, isCompilingDefinitions, isCompilingHeader, isDeclarationsBypassed, isDeclarationsCompiled, isDefinitionsCompiled, isHeaderCompiled, isInnerDeclarationsCompiled, isStructure, isSubClass, isTestClass, setCreateEditorParser, setEnclosingType, setNamespace, shouldKeepDebugInfo, unloadBackingClass
-
Methods inherited from interface gw.lang.parser.IHasInnerClass
getLoadedInnerClasses, resolveRelativeInnerClass
-
Methods inherited from interface gw.lang.reflect.IHasJavaClass
getBackingClass
-
Methods inherited from interface gw.internal.gosu.parser.IParameterizableType
getLoaderParameterizedTypes, isStrictGenerics
-
Methods inherited from interface gw.lang.reflect.IType
compile, getAllTypesInHierarchy, getArrayComponent, getArrayLength, getArrayType, getComponentType, getCompoundTypeComponents, getDisplayName, getFunctionalInterface, getGenericType, getGenericTypeVariables, getInterfaces, getLiteralMetaType, getMetaType, getModifiers, getName, getNamespace, getParameterizedType, getRelativeName, getSourceFiles, getSupertype, getTypeParameters, isAbstract, isArray, isAssignableFrom, isCompilable, isCompoundType, isDiscarded, isDynamic, isEnum, isFinal, isGenericType, isInterface, isMutable, isParameterizedType, isPrimitive, isValid, makeArrayInstance, readResolve, setArrayComponent, setDiscarded, unloadTypeInfo
-
-
-
-
Field Detail
-
NAME_PREFIX
static final String NAME_PREFIX
- See Also:
- Constant Field Values
-
PACKAGE
static final String PACKAGE
- See Also:
- Constant Field Values
-
PACKAGE_PLUS_DOT
static final String PACKAGE_PLUS_DOT
- See Also:
- Constant Field Values
-
-
Method Detail
-
isExpression
boolean isExpression()
-
isLhsExpression
boolean isLhsExpression()
-
getExpression
IExpression getExpression()
-
getStatement
IStatement getStatement()
-
getEnclosingEvalExpression
IParsedElement getEnclosingEvalExpression()
-
setEnclosingEvalExpression
void setEnclosingEvalExpression(IParsedElement evalExprOrAnyExpr)
-
evaluate
Object evaluate(IExternalSymbolMap externalSymbolMap)
-
evaluateRoot
Object evaluateRoot(IExternalSymbolMap externalSymbolMap)
-
assign
void assign(Object value)
-
getReturnType
IType getReturnType()
-
getExpectedReturnType
IType getExpectedReturnType()
-
getProgramInstance
IProgramInstance getProgramInstance()
-
getContextType
IType getContextType()
-
-