parser
Enum ParserTreeConstants.Kind
java.lang.Object
java.lang.Enum<ParserTreeConstants.Kind>
parser.ParserTreeConstants.Kind
- All Implemented Interfaces:
- Serializable, Comparable<ParserTreeConstants.Kind>
- Enclosing interface:
- ParserTreeConstants
public static enum ParserTreeConstants.Kind
- extends Enum<ParserTreeConstants.Kind>
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
value
public final int value
nontermId
public final String nontermId
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>