tip.display
Enum ASTDisplay.Phase

java.lang.Object
  extended by java.lang.Enum<ASTDisplay.Phase>
      extended by tip.display.ASTDisplay.Phase
All Implemented Interfaces:
Serializable, Comparable<ASTDisplay.Phase>
Enclosing class:
ASTDisplay

public static enum ASTDisplay.Phase
extends Enum<ASTDisplay.Phase>

Enum used for designating for which phases the AST should be displayed.


Enum Constant Summary
CODE_GENERATION
           
ENVIRONMENTS
           
NAME_LINKING
           
NORMALIZATION
           
PARSER
           
RESOURCES
           
TYPE_CHECKING
           
 
Field Summary
 String commandline_option
           
 
Method Summary
static ASTDisplay.Phase valueOf(String name)
          Returns the enum constant of this type with the specified name.
static ASTDisplay.Phase[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

PARSER

public static final ASTDisplay.Phase PARSER

NORMALIZATION

public static final ASTDisplay.Phase NORMALIZATION

ENVIRONMENTS

public static final ASTDisplay.Phase ENVIRONMENTS

NAME_LINKING

public static final ASTDisplay.Phase NAME_LINKING

TYPE_CHECKING

public static final ASTDisplay.Phase TYPE_CHECKING

RESOURCES

public static final ASTDisplay.Phase RESOURCES

CODE_GENERATION

public static final ASTDisplay.Phase CODE_GENERATION
Field Detail

commandline_option

public final String commandline_option
Method Detail

values

public static ASTDisplay.Phase[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (ASTDisplay.Phase c : ASTDisplay.Phase.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static ASTDisplay.Phase valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null