pmp
Enum Analyzer.State

java.lang.Object
  extended by java.lang.Enum<Analyzer.State>
      extended by pmp.Analyzer.State
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<Analyzer.State>
Enclosing class:
Analyzer

public static enum Analyzer.State
extends java.lang.Enum<Analyzer.State>

States of syntactic analyzer.


Enum Constant Summary
CODE_BLOCK
           
EOF
           
MACRO
           
PARAMS
           
PLAINTEXT
           
START
           
STRING
           
 
Method Summary
static Analyzer.State valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static Analyzer.State[] values()
          Returns an array containing the constants of this enum type, in the order they're declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

START

public static final Analyzer.State START

PLAINTEXT

public static final Analyzer.State PLAINTEXT

CODE_BLOCK

public static final Analyzer.State CODE_BLOCK

STRING

public static final Analyzer.State STRING

MACRO

public static final Analyzer.State MACRO

PARAMS

public static final Analyzer.State PARAMS

EOF

public static final Analyzer.State EOF
Method Detail

values

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

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

valueOf

public static Analyzer.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