Uses of Enum Class
org.ek9lang.compiler.CompilationPhase
Packages that use CompilationPhase
Package
Description
A-1 - Start here for the main command-line entry use of the compiler.
B - For the EK9 compiler itself.
Common parts of processing that can be reused across various phases.
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).
A-2 - Start here for tooling entry point specifically 'language server' implementation.
-
Uses of CompilationPhase in org.ek9lang.cli
Methods in org.ek9lang.cli with parameters of type CompilationPhaseModifier and TypeMethodDescription(package private) void
Ec.setPhaseToCompileTo
(CompilationPhase phaseToCompileTo) -
Uses of CompilationPhase in org.ek9lang.compiler
Methods in org.ek9lang.compiler that return CompilationPhaseModifier and TypeMethodDescriptionCompilerFlags.getCompileToPhase()
CompilationData.phase()
Returns the value of thephase
record component.CompilationPhaseResult.phase()
Returns the value of thephase
record component.static CompilationPhase
Returns the enum constant of this class with the specified name.static CompilationPhase[]
CompilationPhase.values()
Returns an array containing the constants of this enum class, in the order they are declared.Methods in org.ek9lang.compiler with parameters of type CompilationPhaseModifier and TypeMethodDescriptionParsedModule.getDirectives
(DirectiveType type, CompilationPhase phase) Provide access to any directives recorded of a specific type and compilation phase.ParsedModuleTransientData.getDirectives
(DirectiveType type, CompilationPhase phase) Provide access to any directives recorded of a specific type and compilation phase.void
CompilerFlags.setCompileToPhase
(CompilationPhase compileToPhase) Only compile to a specific phase of the overall compilation process.Constructors in org.ek9lang.compiler with parameters of type CompilationPhaseModifierConstructorDescriptionCompilationData
(CompilationPhase phase, CompilerFlags compilerFlags) Creates an instance of aCompilationData
record class.CompilationPhaseResult
(CompilationPhase phase, boolean phaseSuccess, boolean phaseMatch) Creates an instance of aCompilationPhaseResult
record class.CompilerFlags
(CompilationPhase compileToPhase) CompilerFlags
(CompilationPhase compileToPhase, boolean verbose) protected
CompilerPhase
(CompilationPhase phase, SharedThreadContext<CompilableProgram> compilableProgramAccess, Consumer<CompilationEvent> listener, CompilerReporter reporter) -
Uses of CompilationPhase in org.ek9lang.compiler.common
Methods in org.ek9lang.compiler.common that return CompilationPhaseModifier and TypeMethodDescriptionCompilationEvent.phase()
Returns the value of thephase
record component.Constructors in org.ek9lang.compiler.common with parameters of type CompilationPhaseModifierConstructorDescriptionCompilationEvent
(CompilationPhase phase, ParsedModule parsedModule, CompilableSource source) Creates an instance of aCompilationEvent
record class. -
Uses of CompilationPhase in org.ek9lang.compiler.directives
Methods in org.ek9lang.compiler.directives that return CompilationPhaseModifier and TypeMethodDescriptionDirectivesCompilationPhase.apply
(EK9Parser.DirectiveContext ctx) DirectiveSpec.phase()
Returns the value of thephase
record component.Methods in org.ek9lang.compiler.directives with parameters of type CompilationPhaseModifier and TypeMethodDescriptionboolean
Directive.isForPhase
(CompilationPhase phase) Is it for the particular compiler phase.boolean
ErrorDirective.isForPhase
(CompilationPhase phase) boolean
ResolutionDirective.isForPhase
(CompilationPhase phase) returns true if the directive is for the phase passed in.Constructors in org.ek9lang.compiler.directives with parameters of type CompilationPhaseModifierConstructorDescriptionDirectiveSpec
(IToken token, CompilationPhase phase, SymbolCategory symbolCategory, String symbolName, String additionalName, int lineNumber) Creates an instance of aDirectiveSpec
record class.ErrorDirective
(IToken token, CompilationPhase phase, ErrorListener.SemanticClassification classification, int lineNumber) A new error style directive. -
Uses of CompilationPhase in org.ek9lang.lsp
Constructors in org.ek9lang.lsp with parameters of type CompilationPhaseModifierConstructorDescription(package private)
Ek9CompilerConfig
(CompilationPhase compileToPhase)