Uses of Enum Class
org.ek9lang.compiler.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
Modifier and TypeMethodDescription(package private) void
Ec.setPhaseToCompileTo
(CompilationPhase phaseToCompileTo) -
Uses of CompilationPhase in org.ek9lang.compiler
Modifier 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.Modifier 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.ModifierConstructorDescriptionCompilationData
(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
Modifier and TypeMethodDescriptionCompilationEvent.phase()
Returns the value of thephase
record component.ModifierConstructorDescriptionCompilationEvent
(CompilationPhase phase, ParsedModule parsedModule, CompilableSource source) Creates an instance of aCompilationEvent
record class. -
Uses of CompilationPhase in org.ek9lang.compiler.directives
Modifier and TypeMethodDescriptionDirectivesCompilationPhase.apply
(EK9Parser.DirectiveContext ctx) DirectiveSpec.phase()
Returns the value of thephase
record component.Modifier 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.ModifierConstructorDescriptionDirectiveSpec
(IToken token, CompilationPhase phase, ISymbol.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
ModifierConstructorDescription(package private)
Ek9CompilerConfig
(CompilationPhase compileToPhase)