Module dev.civl.abc
Package dev.civl.abc.ast.node.IF.omp
Enum Class OmpExecutableNode.OmpExecutableKind
java.lang.Object
java.lang.Enum<OmpExecutableNode.OmpExecutableKind>
dev.civl.abc.ast.node.IF.omp.OmpExecutableNode.OmpExecutableKind
- All Implemented Interfaces:
Serializable,Comparable<OmpExecutableNode.OmpExecutableKind>,Constable
- Enclosing interface:
OmpExecutableNode
public static enum OmpExecutableNode.OmpExecutableKind
extends Enum<OmpExecutableNode.OmpExecutableKind>
The kind of this OpenMP statement:
- PARALLEL: the parallel construct
- SYNCHRONIZATION: synchronization constructs such as master, critical, barrier, taskwait, taskgroup, atomic, flush, ordered, etc.
- WORKSHARING: worksharing constructs such as sections (section) and single.
- SIMD: simd directive, objects of this kind are instances of
OmpSimdNode
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.static OmpExecutableNode.OmpExecutableKind[]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
-
PARALLEL
-
SYNCHRONIZATION
-
SIMD
-
WORKSHARING
-
-
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
-