edu.iu.cnets.klatsch.parser
Enum TokenStream.State

java.lang.Object
  extended by java.lang.Enum<TokenStream.State>
      extended by edu.iu.cnets.klatsch.parser.TokenStream.State
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<TokenStream.State>
Enclosing class:
TokenStream

private static enum TokenStream.State
extends java.lang.Enum<TokenStream.State>


Enum Constant Summary
AND
           
COMMENT
           
DIVIDE
           
DOT
           
EOF
           
EQ
           
ERROR
           
GT
           
ID
           
INIT
           
LT
           
NOT
           
NUMBER
           
NUMBER1
           
NUMBER2
           
NUMBER3
           
OR
           
STRING
           
STRING1
           
 
Method Summary
static TokenStream.State valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static TokenStream.State[] 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

INIT

public static final TokenStream.State INIT

EOF

public static final TokenStream.State EOF

ERROR

public static final TokenStream.State ERROR

AND

public static final TokenStream.State AND

COMMENT

public static final TokenStream.State COMMENT

DIVIDE

public static final TokenStream.State DIVIDE

DOT

public static final TokenStream.State DOT

EQ

public static final TokenStream.State EQ

GT

public static final TokenStream.State GT

ID

public static final TokenStream.State ID

LT

public static final TokenStream.State LT

NOT

public static final TokenStream.State NOT

NUMBER

public static final TokenStream.State NUMBER

NUMBER1

public static final TokenStream.State NUMBER1

NUMBER2

public static final TokenStream.State NUMBER2

NUMBER3

public static final TokenStream.State NUMBER3

OR

public static final TokenStream.State OR

STRING

public static final TokenStream.State STRING

STRING1

public static final TokenStream.State STRING1
Method Detail

values

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

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

valueOf

public static TokenStream.State valueOf(java.lang.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:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null