Module dev.civl.abc
Enum Class BlockItemNode.BlockItemKind
java.lang.Object
java.lang.Enum<BlockItemNode.BlockItemKind>
dev.civl.abc.ast.node.IF.statement.BlockItemNode.BlockItemKind
- All Implemented Interfaces:
Serializable,Comparable<BlockItemNode.BlockItemKind>,Constable
- Enclosing interface:
BlockItemNode
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionIndicates that the block item is an instance ofEnumerationTypeNode.Indicates that the block item is an instance ofOmpDeclarativeNode.Indicates that the block item is an instance ofOrdinaryDeclarationNode.Indicates that the block item is an instance ofPragmaNode.Indicates that the block item is an instance ofStatementNode.Indicates that the block item is an instance ofStaticAssertionNode.Indicates that the block item is an instance ofStructureOrUnionTypeNode.Indicates that the block item is an instance ofTypedefDeclarationNode. -
Method Summary
Modifier and TypeMethodDescriptionstatic BlockItemNode.BlockItemKindReturns the enum constant of this class with the specified name.static BlockItemNode.BlockItemKind[]values()Returns an array containing the constants of this enum class, in the order they are declared.Methods inherited from class java.lang.Enum
compareTo, describeConstable, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
-
Enum Constant Details
-
ENUMERATION
Indicates that the block item is an instance ofEnumerationTypeNode. -
OMP_DECLARATIVE
Indicates that the block item is an instance ofOmpDeclarativeNode. -
ORDINARY_DECLARATION
Indicates that the block item is an instance ofOrdinaryDeclarationNode. -
PRAGMA
Indicates that the block item is an instance ofPragmaNode. -
STATEMENT
Indicates that the block item is an instance ofStatementNode. -
STATIC_ASSERTION
Indicates that the block item is an instance ofStaticAssertionNode. -
STRUCT_OR_UNION
Indicates that the block item is an instance ofStructureOrUnionTypeNode. -
TYPEDEF
Indicates that the block item is an instance ofTypedefDeclarationNode.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException- if the argument is null
-