Uses of Record Class
org.ek9lang.compiler.common.CompilationEvent
Packages that use CompilationEvent
Package
Description
B - For the EK9 compiler itself.
Common parts of processing that can be reused across various phases.
C - For the Suppliers of the 'compilation phases' as mentioned in the
org.ek9lang.compiler
package.
The directives are really aimed at helping the creation of the EK9 language, but they
maybe very useful in the early stages of adoption of EK9 (should there be any).
D - For the first of the compilation phases - it triggers source file Lexing and Parsing using 'ANTLR'.
E - Initial Symbol definition by traversing the 'ANTLR' - 'AST'.
N - Code Generation.
O - Code Optimisation.
P - Packaging.
F - Resolution of Explicitly Defined Type Symbols - at this point phase1 processing should have defined
most of the explicitly defined symbols, so they should be resolvable.
G - Full Symbol Resolution can now take place.
H - Generic/Parameterised types can have their methods checked when used in specific contexts.
I - PRE Intermediate Representation generation checks.
J - Plugin Resolution.
K - Intermediate Representation Generation.
L - Template Generation.
M - Intermediate Representation Analysis and Optimization.
-
Uses of CompilationEvent in org.ek9lang.compiler
Fields in org.ek9lang.compiler with type parameters of type CompilationEventModifier and TypeFieldDescriptionprotected final Consumer
<CompilationEvent> CompilerPhase.listener
Constructor parameters in org.ek9lang.compiler with type arguments of type CompilationEventModifierConstructorDescriptionprotected
CompilerPhase
(CompilationPhase phase, SharedThreadContext<CompilableProgram> compilableProgramAccess, Consumer<CompilationEvent> listener, CompilerReporter reporter) -
Uses of CompilationEvent in org.ek9lang.compiler.common
Methods in org.ek9lang.compiler.common with parameters of type CompilationEventModifier and TypeMethodDescriptionvoid
CompilationPhaseListener.accept
(CompilationEvent compilationEvent) Once the compiler has processed (or attempted to process) a source file it will issue this event. -
Uses of CompilationEvent in org.ek9lang.compiler.config
Fields in org.ek9lang.compiler.config with type parameters of type CompilationEventModifier and TypeFieldDescriptionprotected final Consumer
<CompilationEvent> PhaseSupplier.listener
-
Uses of CompilationEvent in org.ek9lang.compiler.directives
Methods in org.ek9lang.compiler.directives that return types with arguments of type CompilationEventMethods in org.ek9lang.compiler.directives with parameters of type CompilationEventModifier and TypeMethodDescriptionvoid
ComplexityDirectiveListener.accept
(CompilationEvent compilationEvent) void
ErrorDirectiveListener.accept
(CompilationEvent compilationEvent) void
GenusDirectiveListener.accept
(CompilationEvent compilationEvent) void
ImplementsDirectiveListener.accept
(CompilationEvent compilationEvent) void
NotResolvedDirectiveListener.accept
(CompilationEvent compilationEvent) void
ResolvedDirectiveListener.accept
(CompilationEvent compilationEvent) protected void
NotResolvedDirectiveListener.noSymbolMatch
(CompilationEvent compilationEvent, ResolutionDirective directive) protected abstract void
ResolutionDirectiveListener.noSymbolMatch
(CompilationEvent compilationEvent, ResolutionDirective directive) protected void
ResolvedDirectiveListener.noSymbolMatch
(CompilationEvent compilationEvent, ResolutionDirective directive) (package private) void
ResolutionDirectiveListener.processDirectives
(CompilationEvent compilationEvent, List<Directive> directives) Process each of the directives and check for resolution or otherwise and call the symbolMatch or noSymbolMatch methods.protected void
ComplexityDirectiveListener.symbolMatch
(CompilationEvent compilationEvent, ResolutionDirective resolutionDirective, ISymbol symbol) protected void
GenusDirectiveListener.symbolMatch
(CompilationEvent compilationEvent, ResolutionDirective resolutionDirective, ISymbol symbol) protected void
ImplementsDirectiveListener.symbolMatch
(CompilationEvent compilationEvent, ResolutionDirective resolutionDirective, ISymbol symbol) protected void
NotResolvedDirectiveListener.symbolMatch
(CompilationEvent compilationEvent, ResolutionDirective directive, ISymbol symbol) protected abstract void
ResolutionDirectiveListener.symbolMatch
(CompilationEvent compilationEvent, ResolutionDirective directive, ISymbol symbol) protected void
ResolvedDirectiveListener.symbolMatch
(CompilationEvent compilationEvent, ResolutionDirective directive, ISymbol symbol) -
Uses of CompilationEvent in org.ek9lang.compiler.phase0
Constructor parameters in org.ek9lang.compiler.phase0 with type arguments of type CompilationEventModifierConstructorDescriptionParsing
(Consumer<CompilationEvent> listener, CompilerReporter reporter) -
Uses of CompilationEvent in org.ek9lang.compiler.phase1
Constructor parameters in org.ek9lang.compiler.phase1 with type arguments of type CompilationEventModifierConstructorDescriptionModuleDuplicateSymbolChecks
(SharedThreadContext<CompilableProgram> compilableProgramAccess, Consumer<CompilationEvent> listener, CompilerReporter reporter) Create a new duplicate checker for modules contained in the compilable program.ReferenceChecks
(SharedThreadContext<CompilableProgram> compilableProgramAccess, Consumer<CompilationEvent> listener, CompilerReporter reporter) Create a new reference checker for modules contained in the compilable program.SymbolDefinition
(boolean notBootStrapping, SharedThreadContext<CompilableProgram> compilableProgramAccess, Consumer<CompilationEvent> listener, CompilerReporter reporter) Create symbol definition instance with optional multi-threading.SymbolDefinition
(SharedThreadContext<CompilableProgram> compilableProgramAccess, Consumer<CompilationEvent> listener, CompilerReporter reporter) Create a new phase 1 symbol definition instance, defaults to multithreading enabled. -
Uses of CompilationEvent in org.ek9lang.compiler.phase10
Constructor parameters in org.ek9lang.compiler.phase10 with type arguments of type CompilationEventModifierConstructorDescriptionCodeGenerationAggregates
(SharedThreadContext<CompilableProgram> compilableProgramAccess, Consumer<CompilationEvent> listener, CompilerReporter reporter) CodeGenerationConstants
(SharedThreadContext<CompilableProgram> compilableProgramAccess, Consumer<CompilationEvent> listener, CompilerReporter reporter) CodeGenerationFunctions
(SharedThreadContext<CompilableProgram> compilableProgramAccess, Consumer<CompilationEvent> listener, CompilerReporter reporter) CodeGenerationPreparation
(SharedThreadContext<CompilableProgram> compilableProgramAccess, Consumer<CompilationEvent> listener, CompilerReporter reporter) -
Uses of CompilationEvent in org.ek9lang.compiler.phase11
Constructor parameters in org.ek9lang.compiler.phase11 with type arguments of type CompilationEventModifierConstructorDescriptionCodeOptimisation
(SharedThreadContext<CompilableProgram> compilableProgramAccess, Consumer<CompilationEvent> listener, CompilerReporter reporter) -
Uses of CompilationEvent in org.ek9lang.compiler.phase12
Constructor parameters in org.ek9lang.compiler.phase12 with type arguments of type CompilationEventModifierConstructorDescriptionPackaging
(SharedThreadContext<CompilableProgram> compilableProgramAccess, Consumer<CompilationEvent> listener, CompilerReporter reporter) PackagingPostProcessing
(SharedThreadContext<CompilableProgram> compilableProgramAccess, Consumer<CompilationEvent> listener, CompilerReporter reporter) PluginLinkage
(SharedThreadContext<CompilableProgram> compilableProgramAccess, Consumer<CompilationEvent> listener, CompilerReporter reporter) -
Uses of CompilationEvent in org.ek9lang.compiler.phase2
Constructor parameters in org.ek9lang.compiler.phase2 with type arguments of type CompilationEventModifierConstructorDescriptionNonInferredTypeDefinition
(boolean multiThread, SharedThreadContext<CompilableProgram> compilableProgramAccess, Consumer<CompilationEvent> listener, CompilerReporter reporter) Create a new phase 1 second pass template type symbol resolution definition instance.TypeHierarchyChecks
(SharedThreadContext<CompilableProgram> compilableProgramAccess, Consumer<CompilationEvent> listener, CompilerReporter reporter) Create a new instance for checking of type hierarchies. -
Uses of CompilationEvent in org.ek9lang.compiler.phase3
Constructor parameters in org.ek9lang.compiler.phase3 with type arguments of type CompilationEventModifierConstructorDescriptionSymbolResolution
(boolean multiThread, SharedThreadContext<CompilableProgram> compilableProgramAccess, Consumer<CompilationEvent> listener, CompilerReporter reporter) Create new instance to finally resolve all symbols, even inferred ones. -
Uses of CompilationEvent in org.ek9lang.compiler.phase4
Constructor parameters in org.ek9lang.compiler.phase4 with type arguments of type CompilationEventModifierConstructorDescriptionPostSymbolResolutionChecks
(SharedThreadContext<CompilableProgram> compilableProgramAccess, Consumer<CompilationEvent> listener, CompilerReporter reporter) Create new instance to check everything is logical and cohesive. -
Uses of CompilationEvent in org.ek9lang.compiler.phase5
Constructor parameters in org.ek9lang.compiler.phase5 with type arguments of type CompilationEventModifierConstructorDescriptionPreIntermediateRepresentationChecks
(SharedThreadContext<CompilableProgram> compilableProgramAccess, Consumer<CompilationEvent> listener, CompilerReporter reporter) -
Uses of CompilationEvent in org.ek9lang.compiler.phase6
Constructor parameters in org.ek9lang.compiler.phase6 with type arguments of type CompilationEventModifierConstructorDescriptionPluginResolution
(SharedThreadContext<CompilableProgram> compilableProgramAccess, Consumer<CompilationEvent> listener, CompilerReporter reporter) Create new instance to resolve plugins for extern packages. -
Uses of CompilationEvent in org.ek9lang.compiler.phase7
Constructor parameters in org.ek9lang.compiler.phase7 with type arguments of type CompilationEventModifierConstructorDescriptionIRGeneration
(SharedThreadContext<CompilableProgram> compilableProgramAccess, Consumer<CompilationEvent> listener, CompilerReporter reporter) ProgramWithIR
(SharedThreadContext<CompilableProgram> compilableProgramAccess, Consumer<CompilationEvent> listener, CompilerReporter reporter) -
Uses of CompilationEvent in org.ek9lang.compiler.phase8
Constructor parameters in org.ek9lang.compiler.phase8 with type arguments of type CompilationEventModifierConstructorDescriptionTemplateGeneration
(SharedThreadContext<CompilableProgram> compilableProgramAccess, Consumer<CompilationEvent> listener, CompilerReporter reporter) -
Uses of CompilationEvent in org.ek9lang.compiler.phase9
Constructor parameters in org.ek9lang.compiler.phase9 with type arguments of type CompilationEventModifierConstructorDescriptionIRAnalysis
(SharedThreadContext<CompilableProgram> compilableProgramAccess, Consumer<CompilationEvent> listener, CompilerReporter reporter) IROptimisation
(SharedThreadContext<CompilableProgram> compilableProgramAccess, Consumer<CompilationEvent> listener, CompilerReporter reporter)