Class CodeGenerationPreparation
java.lang.Object
org.ek9lang.compiler.CompilerPhase
org.ek9lang.compiler.phase10.CodeGenerationPreparation
- All Implemented Interfaces:
BiFunction<Workspace, CompilerFlags, CompilationPhaseResult>
MULTI THREADED
Preparation to generate code. Now this may vary in implementation significantly depending on the
target architecture output.
See compilerFlags.getTargetArchitecture to determine what to prepare to create.
-
Field Summary
Fields inherited from class CompilerPhase
compilableProgramAccess, listener, reporter
-
Constructor Summary
ConstructorsConstructorDescriptionCodeGenerationPreparation
(SharedThreadContext<CompilableProgram> compilableProgramAccess, FileHandling fileHandling, Consumer<CompilationEvent> listener, CompilerReporter reporter) -
Method Summary
Modifier and TypeMethodDescriptionboolean
doApply
(Workspace workspace, CompilerFlags compilerFlags) Do the compilation phase.Methods inherited from class CompilerPhase
apply, getParsedModuleForSource
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface BiFunction
andThen
-
Constructor Details
-
Method Details
-
doApply
Description copied from class:CompilerPhase
Do the compilation phase.- Specified by:
doApply
in classCompilerPhase
-