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) voidEc.setPhaseToCompileTo(CompilationPhase phaseToCompileTo) -
Uses of CompilationPhase in org.ek9lang.compiler
Subclasses with type arguments of type CompilationPhase in org.ek9lang.compilerModifier and TypeClassDescriptionenumIdentifies the ordered set of compilation phases used in EK9.Methods in org.ek9lang.compiler that return CompilationPhaseModifier and TypeMethodDescriptionCompilerFlags.getCompileToPhase()CompilationData.phase()Returns the value of thephaserecord component.CompilationPhaseResult.phase()Returns the value of thephaserecord component.static CompilationPhaseReturns 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.voidCompilerFlags.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 aCompilationDatarecord class.CompilationPhaseResult(CompilationPhase phase, boolean phaseSuccess, boolean phaseMatch) Creates an instance of aCompilationPhaseResultrecord class.CompilerFlags(CompilationPhase compileToPhase) CompilerFlags(CompilationPhase compileToPhase, boolean verbose) protectedCompilerPhase(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 thephaserecord component.Constructors in org.ek9lang.compiler.common with parameters of type CompilationPhaseModifierConstructorDescriptionCompilationEvent(CompilationPhase phase, ParsedModule parsedModule, CompilableSource source) Creates an instance of aCompilationEventrecord class. -
Uses of CompilationPhase in org.ek9lang.compiler.directives
Classes in org.ek9lang.compiler.directives that implement interfaces with type arguments of type CompilationPhaseModifier and TypeClassDescriptionclassExtracts the compilation phase or throws an illegal argument exception.Methods in org.ek9lang.compiler.directives that return CompilationPhaseModifier and TypeMethodDescriptionDirectivesCompilationPhase.apply(EK9Parser.DirectiveContext ctx) DirectiveSpec.phase()Returns the value of thephaserecord component.Methods in org.ek9lang.compiler.directives with parameters of type CompilationPhaseModifier and TypeMethodDescriptionbooleanDirective.isForPhase(CompilationPhase phase) Is it for the particular compiler phase.booleanErrorDirective.isForPhase(CompilationPhase phase) booleanResolutionDirective.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 aDirectiveSpecrecord 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)