tip.node
Enum EStm

java.lang.Object
  extended by java.lang.Enum<EStm>
      extended by tip.node.EStm
All Implemented Interfaces:
Serializable, Comparable<EStm>

public enum EStm
extends Enum<EStm>


Enum Constant Summary
ASSIGN_PTR
           
ASSIGN_VAR
           
BLOCK
           
DECL
           
IF_THEN
           
IF_THEN_ELSE
           
OUTPUT
           
RETURN
           
WHILE
           
 
Method Summary
static EStm valueOf(String name)
          Returns the enum constant of this type with the specified name.
static EStm[] 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

BLOCK

public static final EStm BLOCK

ASSIGN_VAR

public static final EStm ASSIGN_VAR

DECL

public static final EStm DECL

WHILE

public static final EStm WHILE

OUTPUT

public static final EStm OUTPUT

IF_THEN_ELSE

public static final EStm IF_THEN_ELSE

ASSIGN_PTR

public static final EStm ASSIGN_PTR

IF_THEN

public static final EStm IF_THEN

RETURN

public static final EStm RETURN
Method Detail

values

public static EStm[] 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 (EStm c : EStm.values())
    System.out.println(c);

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

valueOf

public static EStm 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