Class PluginResolution
java.lang.Object
org.ek9lang.compiler.CompilerPhase
org.ek9lang.compiler.phase6.PluginResolution
- All Implemented Interfaces:
- BiFunction<Workspace, CompilerFlags, CompilationPhaseResult>
SINGLE THREADED
No-op at this stage. Ready for if we ever do need to plugin anything.
The idea will be to enable a developer to include a module that uses the word 'external'
and in effect just provides type/method signatures in EK9, but then at this phase the compiler
attempt to locate the actual 'shared library' or 'jar' file to ensure for the target architecture
compilation and linking can actually be achieved.
- 
Field SummaryFields inherited from class CompilerPhasecompilableProgramAccess, listener, reporter
- 
Constructor SummaryConstructorsConstructorDescriptionPluginResolution(SharedThreadContext<CompilableProgram> compilableProgramAccess, Consumer<CompilationEvent> listener, CompilerReporter reporter) Create new instance to resolve plugins for extern packages.
- 
Method SummaryModifier and TypeMethodDescriptionbooleandoApply(Workspace workspace, CompilerFlags compilerFlags) Do the compilation phase.Methods inherited from class CompilerPhaseapply, getParsedModuleForSourceMethods inherited from class Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface BiFunctionandThen
- 
Constructor Details
- 
Method Details- 
doApplyDescription copied from class:CompilerPhaseDo the compilation phase.- Specified by:
- doApplyin class- CompilerPhase
 
 
-