- All Superinterfaces:
ASTNode,BlockItemNode,OmpNode
This represents an OpenMP declarative directive, which can only be placed in
a declarative context. Currently, only
threadprivate is
supported.-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic enumThe kind of an OpenMP declarative pragma.Nested classes/interfaces inherited from interface dev.civl.abc.ast.node.IF.ASTNode
ASTNode.NodeKindNested classes/interfaces inherited from interface dev.civl.abc.ast.node.IF.statement.BlockItemNode
BlockItemNode.BlockItemKindNested classes/interfaces inherited from interface dev.civl.abc.ast.node.IF.omp.OmpNode
OmpNode.OmpNodeKind -
Method Summary
Modifier and TypeMethodDescriptionThe kind of this OpenMP declarative node.voidUpdates the list of variable declared by this directive.Returns a sequence node of identifier expression nodes:threadprivate(x, y, z, ...): a non-empty sequence nodethreadprivate(): an empty sequence nodeMethods inherited from interface dev.civl.abc.ast.node.IF.ASTNode
addAllTransformAnnotations, addTransformAnnotation, child, childIndex, children, diff, equiv, getAttribute, getOwner, getScope, getSource, id, keepOnly, nextDFS, nodeKind, numChildren, parent, prettyPrint, prettyRepresentation, prettyRepresentation, print, remove, removeChild, removeTransformAnnotation, setAttribute, setChild, setId, setOwner, setScope, toString, transformAnnotationsMethods inherited from interface dev.civl.abc.ast.node.IF.statement.BlockItemNode
blockItemKind, copyMethods inherited from interface dev.civl.abc.ast.node.IF.omp.OmpNode
ompNodeKind
-
Method Details
-
ompDeclarativeNodeKind
OmpDeclarativeNode.OmpDeclarativeNodeKind ompDeclarativeNodeKind()The kind of this OpenMP declarative node.- Returns:
- the declarative kind of this OpenMP declarative node.
-
setList
Updates the list of variable declared by this directive.- Parameters:
list- The list of identifier expression nodes.
-
variables
SequenceNode<IdentifierExpressionNode> variables()Returns a sequence node of identifier expression nodes:threadprivate(x, y, z, ...): a non-empty sequence nodethreadprivate(): an empty sequence node
- Returns:
- the list of variables in this declarative construct.
-