public class GosuProgram extends GosuClass implements IGosuProgramInternal
IGosuProgram.RunnerIGosuClassInternal.UtilIGosuClass.ProxyUtil_parseInfoNAME_PREFIX, PACKAGE, PACKAGE_PLUS_DOTANONYMOUS_PREFIX, PROXY_PREFIX, SUPER_PROXY_CLASS_PREFIX| Constructor and Description |
|---|
GosuProgram(String strNamespace,
String strRelativeName,
GosuClassTypeLoader classTypeLoader,
ISourceFileHandle sourceFile,
ITypeUsesMap typeUsesMap,
ISymbolTable symTable) |
addBlock, addCapturedSymbol, addDelegateImpls, addInnerClass, addInterface, assignTypeUsesMap, assignTypeVarsFromTypeParams, compareTo, compile, compileDeclarationsIfNeeded, compileDefinitionsIfNeeded, compileDefinitionsIfNeeded, compileHeaderIfNeeded, copyGenericState, copyHierarchyInfo, dontEverCallThis, ensureDefaultConstructor, findProxiedClassInHierarchy, forceTypeInfoInitialization, getAllTypesInHierarchy, getAnonymousInnerClassCount, getArrayComponent, getArrayLength, getArrayType, getBackingClass, getBlock, getBlockCount, getBlocks, getCapturedSymbol, getCapturedSymbols, getClassStatement, getClassStatementWithoutCompile, getCompilationState, getComponentType, getCompoundTypeComponents, getConstructorFunction, getConstructorFunctions, getConstructorStatement, getDefaultConstructor, getDepth, getDisplayName, getEnclosingNonBlockType, getEnclosingType, getEnclosingTypeReference, getEnumConstants, getEnumValue, getEnumValues, getFullDescription, getFunctionalInterface, getFunctionStatement, getGenericType, getGenericTypeVariables, getGosuAnnotations, getId, getInnerClass, getInnerClasses, getInnerClassesMap, getInterfaces, getJavaType, getKnownInnerClassesWithoutCompiling, getLoadedInnerClasses, getLoaderParameterizedTypes, getMemberField, getMemberFieldIndexByName, getMemberFields, getMemberFieldsMap, getMemberFunction, getMemberFunction, getMemberFunctions, getMemberFunctions, getMemberProperties, getMemberProperty, getModifierInfo, getModifiers, getName, getNamespace, getOrCreateTypeReference, getOrCreateTypeReference, getParameterizedType, getParameterizedTypes, getParser, getParseResultsException, getPropertyDeclaration, getRelativeName, getSource, getSourceFileHandle, getSourceFiles, getStaticField, getStaticFields, getStaticFunctions, getStaticProperties, getStaticProperty, getStaticThisSymbol, getSubtypes, getSuperClass, getSupertype, getTypeInfo, getTypeInfoChecksum, getTypeLoader, getTypeParameters, getTypeUsesMap, getTypeVarDefs, getUnimplementedMethods, getUnimplementedMethods, getUnimplementedMethods, hasAncestorBeenUpdated, hasAssertions, hasBackingClass, hasError, hasWarnings, isAbstract, isAccessible, isAnnotation, isArray, isAssignableFrom, isCannotCaptureSymbols, isCompilable, isCompiled, isCompilingDeclarations, isCompilingDefinitions, isCompilingHeader, isCompoundType, isCreateEditorParser, isDeclarationsBypassed, isDeclarationsCompiled, isDefinitionsCompiled, isDiscarded, isEnum, isFinal, isGenericType, isHeaderCompiled, isInnerDeclarationsCompiled, isInterface, isMutable, isParameterizedType, isPrimitive, isProxy, isStale, isStatic, isStrictGenerics, isStructure, isSubClass, isTestClass, isValid, makeArrayInstance, makeCopy, markStatic, putClassMembers, putClassMembers, putClassMembers, readResolve, removeBlock, removeInnerClass, resolveRelativeInnerClass, setAnnotations, setArrayComponent, setCannotCaptureSymbols, setCompilingDeclarations, setCompilingDefinitions, setCompilingHeader, setCreateEditorParser, setDeclarationsBypassed, setDeclarationsCompiled, setDefinitionsCompiled, setDiscarded, setEditorParser, setEnclosingType, setEnum, setFullDescription, setGenericTypeVariables, setHasAssertions, setHeaderCompiled, setInnerDeclarationsCompiled, setInterface, setJavaType, setModifierInfo, setNamespace, setParseResultsException, setStructure, setSuperType, setTypeUsesMap, shouldFullyCompileAnnotations, shouldKeepDebugInfo, shouldResolve, syncGenericAndParameterizedClasses, toString, unloadTypeInfogetLiteralMetaType, getMetaType, getTheRefclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitaddBlock, addCapturedSymbol, addDelegateImpls, addInnerClass, addInterface, assignTypeUsesMap, compileDeclarationsIfNeeded, compileDefinitionsIfNeeded, compileDefinitionsIfNeeded, compileHeaderIfNeeded, copyGenericState, copyHierarchyInfo, dontEverCallThis, ensureDefaultConstructor, forceTypeInfoInitialization, getBlockCount, getBlocks, getCapturedSymbol, getCapturedSymbols, getConstructorFunction, getConstructorFunctions, getDefaultConstructor, getDepth, getEnclosingNonBlockType, getFullDescription, getGosuAnnotations, getMemberField, getMemberFieldIndexByName, getMemberFunction, getMemberFunction, getMemberFunctions, getMemberProperties, getMemberProperty, getParameterizedTypes, getStaticField, getStaticFields, getStaticFunctions, getStaticProperties, getStaticProperty, getStaticThisSymbol, getSuperClass, getTypeInfoChecksum, getTypeLoader, getUnimplementedMethods, getUnimplementedMethods, isAccessible, isCannotCaptureSymbols, isCreateEditorParser, isProxy, isStale, markStatic, putClassMembers, putClassMembers, putClassMembers, removeBlock, removeInnerClass, setAnnotations, setCannotCaptureSymbols, setCompilingDeclarations, setCompilingDefinitions, setCompilingHeader, setDeclarationsBypassed, setDeclarationsCompiled, setDefinitionsCompiled, setEditorParser, setEnum, setFullDescription, setGenericTypeVariables, setHasAssertions, setHeaderCompiled, setInnerDeclarationsCompiled, setInterface, setJavaType, setModifierInfo, setParseResultsException, setStructure, setSuperType, setTypeUsesMap, shouldResolve, syncGenericAndParameterizedClassesfindProxiedClassInHierarchy, getClassStatementWithoutCompile, getCompilationState, getConstructorStatement, getEnclosingTypeReference, getFunctionStatement, getInnerClass, getInnerClasses, getInnerClassesMap, getJavaType, getKnownInnerClassesWithoutCompiling, getMemberFields, getMemberFieldsMap, getMemberFunctions, getModifierInfo, getParseResultsException, getPropertyDeclaration, getSource, getSubtypes, getTypeInfo, hasBackingClass, hasError, hasWarnings, isCompiled, isCompilingDeclarations, isCompilingDefinitions, isCompilingHeader, isDeclarationsBypassed, isDeclarationsCompiled, isDefinitionsCompiled, isHeaderCompiled, isInnerDeclarationsCompiled, isStructure, isSubClass, isTestClass, setCreateEditorParser, setEnclosingType, setNamespace, shouldKeepDebugInfogetEnumConstants, getEnumValue, getEnumValuescompareTogetBackingClassgetLoaderParameterizedTypes, isStrictGenericsisAnnotationgetAnonymousInnerClassCount, getEnclosingType, getMemberFields, getSource, hasAssertions, shouldFullyCompileAnnotationsgetBlock, getClassStatement, getParser, getTypeUsesMap, isStaticgetJavaName, getSourceFileHandlepublic GosuProgram(String strNamespace, String strRelativeName, GosuClassTypeLoader classTypeLoader, ISourceFileHandle sourceFile, ITypeUsesMap typeUsesMap, ISymbolTable symTable)
protected void addProgramInterfaces()
public GosuClassParseInfo createNewParseInfo()
createNewParseInfo in interface IGosuClassInternalcreateNewParseInfo in class GosuClasspublic GosuProgramParseInfo getParseInfo()
getParseInfo in interface ICompilableTypeInternalgetParseInfo in interface IGosuClassInternalgetParseInfo in class GosuClasspublic ISymbolTable getSymbolTable()
getSymbolTable in interface IGosuProgramInternalpublic void addProgramEntryPoint(ISymbolTable symTable, GosuClassParser parser)
addProgramEntryPoint in interface IGosuProgramInternalpublic void addExecuteEntryPoint(ISymbolTable symTable, GosuClassParser parser)
addExecuteEntryPoint in interface IGosuProgramInternalpublic void addCapturedProgramSymbols(ISymbolTable classCompilationSymTable)
addCapturedProgramSymbols in interface IGosuProgramInternalpublic boolean isAnonymous()
isAnonymous in interface ICompilableTypeisAnonymous in class GosuClasspublic boolean isThrowaway()
isThrowaway in interface IGosuProgramInternalpublic void setThrowaway(boolean throwaway)
setThrowaway in interface IGosuProgramInternalpublic void setAllowUses(boolean b)
setAllowUses in interface IGosuProgramInternalpublic boolean allowsUses()
allowsUses in interface IGosuProgramInternalpublic void setCtxInferenceMgr(Object ctxInferenceMgr)
setCtxInferenceMgr in interface IGosuProgramInternalpublic ISymbol getExternalSymbol(String strName)
getExternalSymbol in interface ICompilableTypegetExternalSymbol in class GosuClasspublic void setExpression(Expression expr)
setExpression in interface IGosuProgramInternalpublic IExpression getExpression()
getExpression in interface IGosuProgrampublic void setStatement(Statement stmt)
setStatement in interface IGosuProgramInternalpublic IStatement getStatement()
getStatement in interface IGosuProgrampublic boolean isExpression()
isExpression in interface IGosuProgrampublic boolean isLhsExpression()
isLhsExpression in interface IGosuProgrampublic IParsedElement getEnclosingEvalExpression()
getEnclosingEvalExpression in interface IGosuProgrampublic void setEnclosingEvalExpression(IParsedElement evalExprOrAnyExpr)
setEnclosingEvalExpression in interface IGosuProgrampublic Object evaluate(IExternalSymbolMap externalSymbols)
evaluate in interface IGosuProgrampublic Object evaluateRoot(IExternalSymbolMap externalSymbols)
evaluateRoot in interface IGosuProgrampublic void assign(Object value)
assign in interface IGosuProgrampublic void setGenRootExprAccess(boolean bGenRootExprAccess)
setGenRootExprAccess in interface IGosuProgramInternalpublic boolean isGenRootExprAccess()
isGenRootExprAccess in interface IGosuProgramInternalpublic ITokenizerInstructor getTokenizerInstructor()
getTokenizerInstructor in interface IGosuProgramInternalpublic void setTokenizerInstructor(ITokenizerInstructor ti)
setTokenizerInstructor in interface IGosuProgramInternalpublic ISymbolTable getAdditionalDFSDecls()
getAdditionalDFSDecls in interface IGosuProgramInternalpublic void setAdditionalDFSDecls(ISymbolTable symbolTable)
setAdditionalDFSDecls in interface IGosuProgramInternalprotected GosuParser getOrCreateParser(CompiledGosuClassSymbolTable symbolTable)
getOrCreateParser in class GosuClasspublic IType getExpectedReturnType()
getExpectedReturnType in interface IGosuProgrampublic void setExpectedReturnType(IType expectedReturnType)
setExpectedReturnType in interface IGosuProgramInternalpublic IType getReturnType()
getReturnType in interface IGosuProgrampublic IProgramInstance getProgramInstance()
getProgramInstance in interface IGosuProgrampublic void unloadBackingClass()
unloadBackingClass in interface IGosuClassunloadBackingClass in class GosuClasspublic void setAnonymous(boolean b)
setAnonymous in interface IGosuProgramInternalpublic void setStatementsOnly(boolean bStatementsOnly)
setStatementsOnly in interface IGosuProgramInternalpublic boolean isStatementsOnly()
isStatementsOnly in interface IGosuProgramInternalpublic void setContextType(IType contextType)
setContextType in interface IGosuProgramInternalpublic IType getContextType()
getContextType in interface IGosuProgrampublic boolean isParsingExecutableProgramStatements()
isParsingExecutableProgramStatements in interface IGosuProgramInternalpublic void setParsingExecutableProgramStatements(boolean b)
setParsingExecutableProgramStatements in interface IGosuProgramInternalpublic ClassType getClassType()
getClassType in interface IFileRepositoryBasedTypegetClassType in class GosuClassCopyright © 2018. All rights reserved.