Package org.ek9lang.compiler.config
Class PhaseSupplier
java.lang.Object
org.ek9lang.compiler.config.PhaseSupplier
- All Implemented Interfaces:
Supplier<List<BiFunction<Workspace,
CompilerFlags, CompilationPhaseResult>>>
- Direct Known Subclasses:
BackEndSupplier
,FrontEndSupplier
,FullPhaseSupplier
,MiddleEndSupplier
public abstract class PhaseSupplier
extends Object
implements Supplier<List<BiFunction<Workspace,CompilerFlags,CompilationPhaseResult>>>
Abstract concept of a supplier of phases for a compilation.
-
Field Summary
Modifier and TypeFieldDescriptionprotected final SharedThreadContext
<CompilableProgram> protected final Consumer
<CompilationEvent> protected final CompilerReporter
-
Constructor Summary
ModifierConstructorDescriptionprotected
PhaseSupplier
(SharedThreadContext<CompilableProgram> compilableProgramAccess, CompilationPhaseListener listener, CompilerReporter reporter) Create a new supplier of a full set of compiler phases. -
Method Summary
-
Field Details
-
listener
-
compilableProgramAccess
-
reporter
-
-
Constructor Details