public class Phases
extends Object
Compilation phase identifiers.
| Modifiers | Name | Description |
|---|---|---|
static int |
ALL |
Synonym for full compilation |
static int |
CANONICALIZATION |
AST completion |
static int |
CLASS_GENERATION |
Bytecode generation |
static int |
CONVERSION |
CST to AST conversion |
static int |
FINALIZATION |
Cleanup |
static int |
INITIALIZATION |
Opening of files and such |
static int |
INSTRUCTION_SELECTION |
Prepare for class generation |
static int |
OUTPUT |
Output of class to disk |
static int |
PARSING |
Lexing, parsing, and AST building |
static int |
SEMANTIC_ANALYSIS |
AST semantic analysis and elucidation |
static String[] |
descriptions |
Text for each phase index. |
| Type Params | Return Type | Name and description |
|---|---|---|
|
public static String |
getDescription(int phase)Returns a description of the specified phase. |
Synonym for full compilation
AST completion
Bytecode generation
CST to AST conversion
Cleanup
Opening of files and such
Prepare for class generation
Output of class to disk
Lexing, parsing, and AST building
AST semantic analysis and elucidation
Text for each phase index. Index 0 is startup and is
not one of the phase constants. Indexes INITIALIZATION
through FINALIZATION are what getDescription
returns.
Returns a description of the specified phase.