java.lang.Object
de.grogra.xl.compiler.CompilationUnit
A
CompilationUnit is a simple collection of items which
constitute the complete input of a single source file for the XL compiler.- Author:
- Ole Kniemeyer
-
Method Summary
Modifier and TypeMethodDescriptionbooleanbooleanDeprecated.createCompilationUnitScope(Compiler compiler) static CompilationUnitforCompiledJar(String source, byte[] code) static CompilationUnitforParsedSource(ClassPath classPath, antlr.collections.AST tree, String source, RecognitionExceptionList problems, Scope defaultImports, CompilerOptions options, Collection<Annotation> annotations) static CompilationUnitforXL16UBackendMigrationHandoff(ClassPath classPath, Scope defaultImports, CompilerOptions options, Collection<Annotation> annotations, XL16UBackendMigrationHandoff handoff) static CompilationUnitforXL16UDirectBackendHandoff(ClassPath classPath, Scope defaultImports, CompilerOptions options, Collection<Annotation> annotations, XL16UBackendMigrationHandoff handoff) byte[]antlr.collections.ASTgetTree()intintintintDeprecated.Deprecated.Deprecated.getXL16USymbolMetadata(String symbolName) booleanbooleanhasTree()booleanbooleanbooleanbooleanbooleanbooleanbooleanDeprecated.booleanDeprecated.booleanDeprecated.booleanDeprecated.toString()booleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanDeprecated.booleanDeprecated.booleanDeprecated.booleanbooleanDeprecated.boolean
-
Method Details
-
forParsedSource
public static CompilationUnit forParsedSource(ClassPath classPath, antlr.collections.AST tree, String source, RecognitionExceptionList problems, Scope defaultImports, CompilerOptions options, Collection<Annotation> annotations) -
forXL16UBackendMigrationHandoff
public static CompilationUnit forXL16UBackendMigrationHandoff(ClassPath classPath, Scope defaultImports, CompilerOptions options, Collection<Annotation> annotations, XL16UBackendMigrationHandoff handoff) -
forXL16UDirectBackendHandoff
public static CompilationUnit forXL16UDirectBackendHandoff(ClassPath classPath, Scope defaultImports, CompilerOptions options, Collection<Annotation> annotations, XL16UBackendMigrationHandoff handoff) -
forCompiledJar
-
getTree
public antlr.collections.AST getTree() -
hasTree
public boolean hasTree() -
getClassPath
-
getSource
-
getProblems
-
getDefaultImports
-
getOptions
-
getAnnotations
-
createCompilationUnitScope
-
getCompatibilitySource
-
hasCompatibilitySource
public boolean hasCompatibilitySource() -
getXL16UCallableSignature
-
getXL16UCallableSignatures
-
getXL16USymbolMetadata
-
getXL16UFrontendRoute
-
getXL16UFrontendRouteId
-
usesXL16UHandBuiltFrontendRoute
public boolean usesXL16UHandBuiltFrontendRoute() -
usesXL16UExperimentalAntlrFrontendRoute
public boolean usesXL16UExperimentalAntlrFrontendRoute() -
getXL16UFrontendParseSummary
-
xl16uParsedBySelectedFrontend
public boolean xl16uParsedBySelectedFrontend() -
getXL16UFrontendParseTokenCount
public int getXL16UFrontendParseTokenCount() -
getXL16UFrontendParseDeclarationCount
public int getXL16UFrontendParseDeclarationCount() -
getXL16UFrontendParseCallableCount
public int getXL16UFrontendParseCallableCount() -
getXL16UFinalAstOwnedCodegenWriterTypedInputExecution
public XL16UFinalAstOwnedCodegenWriterTypedInputExecution getXL16UFinalAstOwnedCodegenWriterTypedInputExecution() -
hasXL16UFinalAstOwnedCodegenWriterTypedInputExecution
public boolean hasXL16UFinalAstOwnedCodegenWriterTypedInputExecution() -
xl16uFinalAstOwnedCodegenWriterTypedInputExecutionReady
public boolean xl16uFinalAstOwnedCodegenWriterTypedInputExecutionReady() -
getXL16UFinalAstOwnedCodegenWriterTypedInputExecutionCount
public int getXL16UFinalAstOwnedCodegenWriterTypedInputExecutionCount() -
getXL16USourceOwnedCodeGenerationBoundaryResult
public XL16USourceOwnedLegacyCodeGenerationBoundaryResult getXL16USourceOwnedCodeGenerationBoundaryResult() -
getXL16USourceOwnedLegacyCodeGenerationBoundaryResult
@Deprecated public XL16USourceOwnedLegacyCodeGenerationBoundaryResult getXL16USourceOwnedLegacyCodeGenerationBoundaryResult()Deprecated. -
hasXL16USourceOwnedCodeGenerationBoundaryResult
public boolean hasXL16USourceOwnedCodeGenerationBoundaryResult() -
hasXL16USourceOwnedLegacyCodeGenerationBoundaryResult
Deprecated. -
getXL16USourceOwnedBackendConsumptionResult
-
getXL16USourceOwnedLegacyBackendConsumptionResult
@Deprecated public XL16USourceOwnedLegacyBackendConsumptionResult getXL16USourceOwnedLegacyBackendConsumptionResult()Deprecated. -
hasXL16USourceOwnedBackendConsumptionResult
public boolean hasXL16USourceOwnedBackendConsumptionResult() -
hasXL16USourceOwnedLegacyBackendConsumptionResult
Deprecated. -
getXL16USourceOwnedBackendConsumptionPlan
-
getXL16USourceOwnedLegacyBackendConsumptionPlan
@Deprecated public XL16USourceOwnedLegacyBackendConsumptionPlan getXL16USourceOwnedLegacyBackendConsumptionPlan()Deprecated. -
hasXL16USourceOwnedBackendConsumptionPlan
public boolean hasXL16USourceOwnedBackendConsumptionPlan() -
hasXL16USourceOwnedLegacyBackendConsumptionPlan
Deprecated. -
xl16uUsesAstOwnedLegacyBackendConsumption
public boolean xl16uUsesAstOwnedLegacyBackendConsumption() -
xl16uUsesCompatibilitySourceFallbackForSourceOwnedBackend
public boolean xl16uUsesCompatibilitySourceFallbackForSourceOwnedBackend() -
xl16uUsesCompatibilitySourceFallbackForLegacyBackend
Deprecated. -
consumedAllXL16USourceOwnedBackendBoundaryNodes
public boolean consumedAllXL16USourceOwnedBackendBoundaryNodes() -
consumedAllXL16USourceOwnedLegacyBackendBoundaryNodes
Deprecated. -
xl16uSourceOwnedBackendConsumptionReady
public boolean xl16uSourceOwnedBackendConsumptionReady() -
xl16uSourceOwnedLegacyBackendConsumptionReady
Deprecated. -
hasXL16USourceOwnedCodeGenerationBoundaryWork
public boolean hasXL16USourceOwnedCodeGenerationBoundaryWork() -
hasXL16USourceOwnedLegacyCodeGenerationBoundaryWork
Deprecated. -
xl16uSourceOwnedCodeGenerationBoundaryReady
public boolean xl16uSourceOwnedCodeGenerationBoundaryReady() -
xl16uSourceOwnedLegacyCodeGenerationBoundaryReady
Deprecated. -
xl16uSourceOwnedCodeGenerationRequiresCompatibilitySourceFallback
public boolean xl16uSourceOwnedCodeGenerationRequiresCompatibilitySourceFallback() -
xl16uSourceOwnedLegacyCodeGenerationRequiresCompatibilitySourceFallback
@Deprecated public boolean xl16uSourceOwnedLegacyCodeGenerationRequiresCompatibilitySourceFallback()Deprecated. -
getXL16UBackendRuntimeAstOwnedBridgeCallSiteReplacementResult
public XL16UBackendRuntimeAstOwnedBridgeCallSiteReplacementResult getXL16UBackendRuntimeAstOwnedBridgeCallSiteReplacementResult() -
hasXL16UBackendRuntimeAstOwnedBridgeCallSiteReplacementResult
public boolean hasXL16UBackendRuntimeAstOwnedBridgeCallSiteReplacementResult() -
xl16uBackendRuntimeAstOwnedBridgeCallSiteReplacementReady
public boolean xl16uBackendRuntimeAstOwnedBridgeCallSiteReplacementReady() -
xl16uBackendRuntimeAstOwnedBridgeCallSiteReplacementRequiresCompatibilitySourceFallback
public boolean xl16uBackendRuntimeAstOwnedBridgeCallSiteReplacementRequiresCompatibilitySourceFallback() -
xl16uSemanticAstBytecodeCallSiteReplacementReady
public boolean xl16uSemanticAstBytecodeCallSiteReplacementReady() -
xl16uSemanticAstBytecodeCallSiteReplacementRequiresCompatibilitySourceFallback
public boolean xl16uSemanticAstBytecodeCallSiteReplacementRequiresCompatibilitySourceFallback() -
selectXL16USemanticAstBytecodeCallSitePath
-
getSelectedXL16USemanticAstBytecodeCallSiteReplacement
public XL16UBackendRuntimeAstOwnedBridgeCallSiteReplacementResult.AstOwnedBridgeCallSiteReplacement getSelectedXL16USemanticAstBytecodeCallSiteReplacement() -
xl16uSemanticEffectRuntimeCallSiteReplacementReady
public boolean xl16uSemanticEffectRuntimeCallSiteReplacementReady() -
xl16uSemanticEffectRuntimeCallSiteReplacementRequiresCompatibilitySourceFallback
public boolean xl16uSemanticEffectRuntimeCallSiteReplacementRequiresCompatibilitySourceFallback() -
selectXL16USemanticEffectRuntimeCallSitePath
-
getSelectedXL16USemanticEffectRuntimeCallSiteReplacement
public XL16UBackendRuntimeAstOwnedBridgeCallSiteReplacementResult.AstOwnedBridgeCallSiteReplacement getSelectedXL16USemanticEffectRuntimeCallSiteReplacement() -
xl16uCommitTailRuntimeCallSiteReplacementReady
public boolean xl16uCommitTailRuntimeCallSiteReplacementReady() -
xl16uCommitTailRuntimeCallSiteReplacementRequiresCompatibilitySourceFallback
public boolean xl16uCommitTailRuntimeCallSiteReplacementRequiresCompatibilitySourceFallback() -
selectXL16UCommitTailRuntimeCallSitePath
-
getSelectedXL16UCommitTailRuntimeCallSiteReplacement
public XL16UBackendRuntimeAstOwnedBridgeCallSiteReplacementResult.AstOwnedBridgeCallSiteReplacement getSelectedXL16UCommitTailRuntimeCallSiteReplacement() -
getJarBytes
public byte[] getJarBytes() -
toString
-