Package asteroid
Class Phase.GLOBAL
- java.lang.Object
-
- asteroid.Phase.GLOBAL
-
-
Field Summary
Fields Modifier and Type Field Description static CompilePhaseCANONICALIZATIONComplete building the ASTstatic CompilePhaseCLASS_GENERATIONCreates the bytecode of the class in memorystatic CompilePhaseCONVERSIONAn abstract syntax tree (AST) is created from token treesstatic CompilePhaseFINALIZATIONPerform any last cleanup and closes the filestatic CompilePhaseINITIALIZATIONSource files are opened and environment configuredstatic CompilePhaseINSTRUCTION_SELECTIONInstruction set is chosen, for example Java 6 or Java 7 bytecode levelstatic CompilePhaseOUTPUTWrite the binary output to the file system (*.class file)static CompilePhasePARSINGThe grammar is used to to produce tree of tokens representing the source codestatic CompilePhaseSEMANTIC_ANALYSISConsistency and validity checks
-
Constructor Summary
Constructors Constructor Description GLOBAL()
-
-
-
Field Detail
-
INITIALIZATION
public static final CompilePhase INITIALIZATION
Source files are opened and environment configured- Since:
- 0.1.2
-
PARSING
public static final CompilePhase PARSING
The grammar is used to to produce tree of tokens representing the source code- Since:
- 0.2.0
-
CONVERSION
public static final CompilePhase CONVERSION
An abstract syntax tree (AST) is created from token trees- Since:
- 0.2.0
-
SEMANTIC_ANALYSIS
public static final CompilePhase SEMANTIC_ANALYSIS
Consistency and validity checks- Since:
- 0.2.0
-
CANONICALIZATION
public static final CompilePhase CANONICALIZATION
Complete building the AST- Since:
- 0.2.0
-
INSTRUCTION_SELECTION
public static final CompilePhase INSTRUCTION_SELECTION
Instruction set is chosen, for example Java 6 or Java 7 bytecode level- Since:
- 0.2.0
-
CLASS_GENERATION
public static final CompilePhase CLASS_GENERATION
Creates the bytecode of the class in memory- Since:
- 0.2.0
-
OUTPUT
public static final CompilePhase OUTPUT
Write the binary output to the file system (*.class file)- Since:
- 0.2.0
-
FINALIZATION
public static final CompilePhase FINALIZATION
Perform any last cleanup and closes the file- Since:
- 0.2.0
-
-