Groovy 2.2.0

org.codehaus.groovy.control
[Java] Enum CompilePhase

java.lang.Object
  java.lang.Enum
      org.codehaus.groovy.control.CompilePhase

public enum CompilePhase
extends Enum

The phases of the GroovyCompiler. This is an enum facade on top of the Phases object. In general, prefer using this object over Phases.

Authors:
Hamlet D'Arcy


Enum Constant Summary
CANONICALIZATION

CLASS_GENERATION

CONVERSION

FINALIZATION

INITIALIZATION

INSTRUCTION_SELECTION

OUTPUT

PARSING

SEMANTIC_ANALYSIS

 
Field Summary
static CompilePhase[] phases

The phases of the GroovyCompiler.

 
Method Summary
static CompilePhase fromPhaseNumber(int phaseNumber)

Returns the CompilePhase for the given integer phase number.

int getPhaseNumber()

Returns the underlieng integer Phase number.

 
Methods inherited from class Enum
name, equals, toString, hashCode, compareTo, compareTo, valueOf, getDeclaringClass, ordinal, wait, wait, wait, getClass, notify, notifyAll
 
Methods inherited from class Object
wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll
 

Enum Constant Detail

CANONICALIZATION

CompilePhase CANONICALIZATION


CLASS_GENERATION

CompilePhase CLASS_GENERATION


CONVERSION

CompilePhase CONVERSION


FINALIZATION

CompilePhase FINALIZATION


INITIALIZATION

CompilePhase INITIALIZATION


INSTRUCTION_SELECTION

CompilePhase INSTRUCTION_SELECTION


OUTPUT

CompilePhase OUTPUT


PARSING

CompilePhase PARSING


SEMANTIC_ANALYSIS

CompilePhase SEMANTIC_ANALYSIS


 
Field Detail

phases

public static CompilePhase[] phases
The phases of the GroovyCompiler. This is an enum facade on top of the Phases object. In general, prefer using this object over Phases.
Authors:
Hamlet D'Arcy


 
Method Detail

fromPhaseNumber

public static CompilePhase fromPhaseNumber(int phaseNumber)
Returns the CompilePhase for the given integer phase number.
Parameters:
phaseNumber - the phase number
Returns:
the CompilePhase or null if not found


getPhaseNumber

public int getPhaseNumber()
Returns the underlieng integer Phase number.


 

Copyright © 2003-2013 The Codehaus. All rights reserved.