- All Superinterfaces:
ASTNode,ContractNode
An contract block introduced by the
mpi_collective(MPI_Comm, Kind): contract constructor.-
Nested Class Summary
Nested ClassesNested 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.acsl.ContractNode
ContractNode.ContractKind -
Method Summary
Methods 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.acsl.ContractNode
contractKind
-
Method Details
-
getMPIComm
ExpressionNode getMPIComm()Returns the node corresponding to the specific MPI_Comm- Returns:
-
getCollectiveKind
MPICollectiveBlockNode.MPICommunicatorMode getCollectiveKind()Returns the node corresponding to the specific MPI collective kind- Returns:
-
getBody
SequenceNode<ContractNode> getBody()Get the body of a MPI collective block- Returns:
-
copy
MPICollectiveBlockNode copy()Description copied from interface:ASTNodeReturns a deep copy of this AST node. The node and all of its descendants will be cloned. The cloning does not copy analysis or attribute information.- Specified by:
copyin interfaceASTNode- Specified by:
copyin interfaceContractNode- Returns:
- deep copy of this node
-