org.codehaus.groovy.control
public enum CompilePhase extends java.lang.Enum<CompilePhase>
Enum Constant and Description |
---|
CANONICALIZATION |
CLASS_GENERATION |
CONVERSION |
FINALIZATION |
INITIALIZATION |
INSTRUCTION_SELECTION |
OUTPUT |
PARSING |
SEMANTIC_ANALYSIS |
Modifier and Type | Field and Description |
---|---|
static CompilePhase[] |
phases |
Modifier and Type | Method and Description |
---|---|
int |
getPhaseNumber() |
static CompilePhase |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static CompilePhase[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CompilePhase INITIALIZATION
public static final CompilePhase PARSING
public static final CompilePhase CONVERSION
public static final CompilePhase SEMANTIC_ANALYSIS
public static final CompilePhase CANONICALIZATION
public static final CompilePhase INSTRUCTION_SELECTION
public static final CompilePhase CLASS_GENERATION
public static final CompilePhase OUTPUT
public static final CompilePhase FINALIZATION
public static CompilePhase[] phases
public static CompilePhase[] values()
for (CompilePhase c : CompilePhase.values()) System.out.println(c);
public static CompilePhase valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified namejava.lang.NullPointerException
- if the argument is nullpublic int getPhaseNumber()