Enum Class CompilationPhase

java.lang.Object
java.lang.Enum<CompilationPhase>
org.ek9lang.compiler.CompilationPhase
All Implemented Interfaces:
Serializable, Comparable<CompilationPhase>, Constable

public enum CompilationPhase extends Enum<CompilationPhase>
Identifies the ordered set of compilation phases used in EK9. This enables compilation to run upto specific phases. So for example in a language-server - you may never want to get to the 'generate' phase. Or during development - we may wish to focus on work upto a specific phase.
  • Enum Constant Details

  • Method Details

    • values

      public static CompilationPhase[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static CompilationPhase valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • getDescription

      public String getDescription()