Package org.ek9lang.compiler.common
Interface CompilationPhaseListener
- All Superinterfaces:
Consumer<CompilationEvent>
- All Known Implementing Classes:
ErrorDirectiveListener
,GenusDirectiveListener
,ImplementsDirectiveListener
,NotResolvedDirectiveListener
,ResolutionDirectiveListener
,ResolvedDirectiveListener
Register this event listener with the compiler to pick up on
any warnings of errors during compilation.
But this will be called at various phases during compilation.
There may not always be errors or warnings.
Use CompilableSource.getErrorListener() to check for errors/warnings.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
accept
(CompilationEvent compilationEvent) Once the compiler has processed (or attempted to process) a source file it will issue this event.
-
Method Details
-
accept
Once the compiler has processed (or attempted to process) a source file it will issue this event.- Specified by:
accept
in interfaceConsumer<CompilationEvent>
-