Class Phases

java.lang.Object
org.codehaus.groovy.control.Phases

public class Phases extends Object
Compilation phase identifiers.
  • Field Details

    • INITIALIZATION

      public static final int INITIALIZATION
      Opening of files and such
      See Also:
    • PARSING

      public static final int PARSING
      Lexing, parsing, and AST building
      See Also:
    • CONVERSION

      public static final int CONVERSION
      CST to AST conversion
      See Also:
    • SEMANTIC_ANALYSIS

      public static final int SEMANTIC_ANALYSIS
      AST semantic analysis and elucidation
      See Also:
    • CANONICALIZATION

      public static final int CANONICALIZATION
      AST completion
      See Also:
    • INSTRUCTION_SELECTION

      public static final int INSTRUCTION_SELECTION
      Class generation (pt.1)
      See Also:
    • CLASS_GENERATION

      public static final int CLASS_GENERATION
      Class generation (pt.2)
      See Also:
    • OUTPUT

      public static final int OUTPUT
      Output of class to disk
      See Also:
    • FINALIZATION

      public static final int FINALIZATION
      Cleanup
      See Also:
    • ALL

      public static final int ALL
      Synonym for full compilation
      See Also:
    • descriptions

      public static final String[] descriptions
  • Constructor Details

    • Phases

      public Phases()
  • Method Details

    • getDescription

      public static String getDescription(int phase)
      Returns a description of the specified phase.