|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object java.lang.Enum<EnumNodeType> net.sf.parser4j.parser.entity.EnumNodeType
public enum EnumNodeType
grammar node type enumeration
Enum Constant Summary | |
---|---|
ALTERNATIVE
node for one of alternative son node |
|
CHARACTER_TERMINAL
character terminal node |
|
CONCAT
node for concat of node |
|
EMPTY
empty node |
|
NULL
null grammar node |
|
STRING_TERMINAL
string terminal node |
Method Summary | |
---|---|
boolean |
isConcat()
|
boolean |
isNonTerminal()
|
boolean |
isTerminal()
|
static EnumNodeType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static EnumNodeType[] |
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 |
---|
public static final EnumNodeType CONCAT
public static final EnumNodeType ALTERNATIVE
public static final EnumNodeType EMPTY
public static final EnumNodeType CHARACTER_TERMINAL
public static final EnumNodeType STRING_TERMINAL
public static final EnumNodeType NULL
Method Detail |
---|
public static EnumNodeType[] values()
for (EnumNodeType c : EnumNodeType.values()) System.out.println(c);
public static EnumNodeType 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 boolean isTerminal()
public boolean isNonTerminal()
public boolean isConcat()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |