1 46 47 package org.codehaus.groovy.control; 48 49 50 51 52 59 60 public class Phases 61 { 62 public static final int INITIALIZATION = 1; public static final int PARSING = 2; public static final int CONVERSION = 3; public static final int SEMANTIC_ANALYSIS = 4; public static final int CANONICALIZATION = 5; public static final int INSTRUCTION_SELECTION = 6; public static final int CLASS_GENERATION = 7; public static final int OUTPUT = 8; public static final int FINALIZATION = 9; public static final int ALL = 9; 73 public static String [] descriptions = { 74 "startup" 75 , "initialization" 76 , "parsing" 77 , "conversion" 78 , "semantic analysis" 79 , "canonicalization" 80 , "instruction selection" 81 , "class generation" 82 , "output" 83 , "cleanup" 84 }; 85 86 87 88 91 92 public static String getDescription( int phase ) 93 { 94 return descriptions[phase]; 95 } 96 97 } 98 99 100 101 102 | Popular Tags |