public enum CompilePhase extends Enum<CompilePhase>
| Enum Constant and Description | 
|---|
CANONICALIZATION
Complete building the AST 
 | 
CLASS_GENERATION
creates the binary output in memory 
 | 
CONVERSION
An abstract syntax tree (AST) is created from token trees 
 | 
FINALIZATION
Perform any last cleanup 
 | 
INITIALIZATION
source files are opened and environment configured 
 | 
INSTRUCTION_SELECTION
instruction set is chosen, for example java5 or pre java5 
 | 
OUTPUT
write the binary output to the file system 
 | 
PARSING
the grammar is used to to produce tree of tokens representing the source code 
 | 
SEMANTIC_ANALYSIS
Performs consistency and validity checks that the grammar can't check for, and resolves classes 
 | 
| Modifier and Type | Field and Description | 
|---|---|
static CompilePhase[] | 
phases
The phases as an array, with a null entry. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
static CompilePhase | 
fromPhaseNumber(int phaseNumber)
Returns the CompilePhase for the given integer phase number. 
 | 
int | 
getPhaseNumber()
Returns the underlieng integer Phase number. 
 | 
static CompilePhase | 
valueOf(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(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic int getPhaseNumber()
public static CompilePhase fromPhaseNumber(int phaseNumber)
phaseNumber - the phase number