de.cau.cs.kieler.krep.compiler.ceq
Enum Variable.Kind

java.lang.Object
  extended by java.lang.Enum<Variable.Kind>
      extended by de.cau.cs.kieler.krep.compiler.ceq.Variable.Kind
All Implemented Interfaces:
Serializable, Comparable<Variable.Kind>
Enclosing class:
Variable

public static enum Variable.Kind
extends Enum<Variable.Kind>

Rating red

Enum Constant Summary
INPUT
          input variable.
LOCAL
          local variable.
OUTPUT
          output variable.
TEMP
          temporary variable, without pre value.
 
Method Summary
static Variable.Kind valueOf(String name)
          Returns the enum constant of this type with the specified name.
static Variable.Kind[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

INPUT

public static final Variable.Kind INPUT
input variable.


OUTPUT

public static final Variable.Kind OUTPUT
output variable.


LOCAL

public static final Variable.Kind LOCAL
local variable.


TEMP

public static final Variable.Kind TEMP
temporary variable, without pre value.

Method Detail

values

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

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

valueOf

public static Variable.Kind 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