tip.node
Enum EExp

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

public enum EExp
extends Enum<EExp>


Enum Constant Summary
BINOP
           
DEREF
           
FUNCTION_CALL
           
FUNCTION_PTR_CALL
           
INPUT
           
INT_CONST
           
MALLOC
           
NULL
           
POINTER
           
VAR
           
 
Method Summary
static EExp valueOf(String name)
          Returns the enum constant of this type with the specified name.
static EExp[] 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

DEREF

public static final EExp DEREF

POINTER

public static final EExp POINTER

FUNCTION_PTR_CALL

public static final EExp FUNCTION_PTR_CALL

VAR

public static final EExp VAR

BINOP

public static final EExp BINOP

INPUT

public static final EExp INPUT

FUNCTION_CALL

public static final EExp FUNCTION_CALL

NULL

public static final EExp NULL

MALLOC

public static final EExp MALLOC

INT_CONST

public static final EExp INT_CONST
Method Detail

values

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

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

valueOf

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