Class CompilerPhase

java.lang.Object
org.ek9lang.compiler.CompilerPhase
All Implemented Interfaces:
BiFunction<Workspace,CompilerFlags,CompilationPhaseResult>
Direct Known Subclasses:
CodeGenerationAggregates, CodeGenerationConstants, CodeGenerationFunctions, CodeGenerationPreparation, CodeOptimisation, IRAnalysis, IRGeneration, IROptimisation, ModuleDuplicateSymbolChecks, NonInferredTypeDefinition, Packaging, PackagingPostProcessing, PluginLinkage, PluginResolution, PostSymbolResolutionChecks, PreIntermediateRepresentationChecks, ProgramWithIR, ReferenceChecks, SymbolDefinition, SymbolResolution, TemplateGeneration, TypeHierarchyChecks

public abstract class CompilerPhase extends Object implements BiFunction<Workspace,CompilerFlags,CompilationPhaseResult>
Marks the specific activity of a compiler phase. Provides mechanism to pass both phase and the compiler flags into the compilable program. This then enables them to be accessed within other components during compilation.