parser
Enum ParserTreeConstants.Kind

java.lang.Object
  extended by java.lang.Enum<ParserTreeConstants.Kind>
      extended by parser.ParserTreeConstants.Kind
All Implemented Interfaces:
Serializable, Comparable<ParserTreeConstants.Kind>
Enclosing interface:
ParserTreeConstants

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


Enum Constant Summary
ACCUMSTATEMENT
           
ATTRSTATEMENT
           
BARESTRING
           
CONTROLLERBLOCK
           
GUIFILE
           
HANDLERSTATEMENT
           
IDENTIFIER
           
STRINGVALUE
           
VOID
           
WIDGETDECLARATOR
           
WIDGETSTATEMENT
           
 
Field Summary
 String nontermId
           
 int value
           
 
Method Summary
 ParserTreeConstants.Kind kindWithNontermId(String id)
           
 String toString()
           
static ParserTreeConstants.Kind valueOf(String name)
          Returns the enum constant of this type with the specified name.
static ParserTreeConstants.Kind[] 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, valueOf
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

GUIFILE

public static final ParserTreeConstants.Kind GUIFILE

CONTROLLERBLOCK

public static final ParserTreeConstants.Kind CONTROLLERBLOCK

HANDLERSTATEMENT

public static final ParserTreeConstants.Kind HANDLERSTATEMENT

VOID

public static final ParserTreeConstants.Kind VOID

WIDGETSTATEMENT

public static final ParserTreeConstants.Kind WIDGETSTATEMENT

ACCUMSTATEMENT

public static final ParserTreeConstants.Kind ACCUMSTATEMENT

WIDGETDECLARATOR

public static final ParserTreeConstants.Kind WIDGETDECLARATOR

ATTRSTATEMENT

public static final ParserTreeConstants.Kind ATTRSTATEMENT

STRINGVALUE

public static final ParserTreeConstants.Kind STRINGVALUE

BARESTRING

public static final ParserTreeConstants.Kind BARESTRING

IDENTIFIER

public static final ParserTreeConstants.Kind IDENTIFIER
Field Detail

value

public final int value

nontermId

public final String nontermId
Method Detail

values

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

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

valueOf

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

kindWithNontermId

public ParserTreeConstants.Kind kindWithNontermId(String id)

toString

public String toString()
Overrides:
toString in class Enum<ParserTreeConstants.Kind>