|
Java APG, Version 1.0 Author Lowell D. Thomas Copyright © Coast to Coast Research, Inc. 2011 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||
java.lang.Objectjava.lang.Enum<UAnBnCn.RuleNames>
com.coasttocoastresearch.examples.anbncn.UAnBnCn.RuleNames
public static enum UAnBnCn.RuleNames
This enum provides easy to remember enum constants for locating the rule identifiers and names. The enum constants have the same spelling as the rule names rendered in all caps with underscores replacing hyphens.
| Enum Constant Summary | |
|---|---|
ANBNCN
id = 0, name = "AnBnCn" |
|
| Method Summary | |
|---|---|
int |
ruleID()
Associates the enum with an identifier for the grammar rule it represents. |
java.lang.String |
ruleName()
Associates the enum with the original grammar name of the rule it represents. |
static UAnBnCn.RuleNames |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static UAnBnCn.RuleNames[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
| Methods inherited from class java.lang.Enum |
|---|
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final UAnBnCn.RuleNames ANBNCN
0, name = "AnBnCn"
| Method Detail |
|---|
public int ruleID()
public java.lang.String ruleName()
public static UAnBnCn.RuleNames valueOf(java.lang.String name)
name - the name of the enum constant to be returned.
java.lang.IllegalArgumentException - if this enum type has no constant
with the specified name
java.lang.NullPointerException - if the argument is nullpublic static UAnBnCn.RuleNames[] values()
for (UAnBnCn.RuleNames c : UAnBnCn.RuleNames.values()) System.out.println(c);
|
Java APG, Version 1.0 Author Lowell D. Thomas Copyright © Coast to Coast Research, Inc. 2011 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||