Package org.eclipse.xtext.nodemodel.impl
Enum AbstractNode.NodeType
- java.lang.Object
-
- java.lang.Enum<AbstractNode.NodeType>
-
- org.eclipse.xtext.nodemodel.impl.AbstractNode.NodeType
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<AbstractNode.NodeType>
- Enclosing class:
- AbstractNode
protected static enum AbstractNode.NodeType extends java.lang.Enum<AbstractNode.NodeType>
-
-
Enum Constant Summary
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static AbstractNode.NodeType
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static AbstractNode.NodeType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
CompositeNode
public static final AbstractNode.NodeType CompositeNode
-
LeafNode
public static final AbstractNode.NodeType LeafNode
-
CompositeNodeWithSemanticElement
public static final AbstractNode.NodeType CompositeNodeWithSemanticElement
-
CompositeNodeWithSyntaxError
public static final AbstractNode.NodeType CompositeNodeWithSyntaxError
-
CompositeNodeWithSemanticElementAndSyntaxError
public static final AbstractNode.NodeType CompositeNodeWithSemanticElementAndSyntaxError
-
RootNode
public static final AbstractNode.NodeType RootNode
-
HiddenLeafNode
public static final AbstractNode.NodeType HiddenLeafNode
-
HiddenLeafNodeWithSyntaxError
public static final AbstractNode.NodeType HiddenLeafNodeWithSyntaxError
-
LeafNodeWithSyntaxError
public static final AbstractNode.NodeType LeafNodeWithSyntaxError
-
-
Method Detail
-
values
public static AbstractNode.NodeType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (AbstractNode.NodeType c : AbstractNode.NodeType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static AbstractNode.NodeType 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 namejava.lang.NullPointerException
- if the argument is null
-
-