- All Superinterfaces:
ASTNode
- All Known Subinterfaces:
AbstractFunctionDefinitionNode,AtomicNode,ChooseStatementNode,CivlForNode,CompoundStatementNode,EnumerationTypeNode,ExpressionStatementNode,ForLoopNode,FunctionDeclarationNode,FunctionDefinitionNode,GotoNode,IfNode,JumpNode,LabeledStatementNode,LoopNode,NullStatementNode,OmpAtomicNode,OmpDeclarativeNode,OmpEndNode,OmpExecutableNode,OmpForNode,OmpParallelNode,OmpSimdNode,OmpSyncNode,OmpWorksharingNode,OrdinaryDeclarationNode,PragmaNode,PredicateNode,ReturnNode,RunNode,ScopeParameterizedDeclarationNode,StatementNode,StaticAssertionNode,StructureOrUnionTypeNode,SwitchNode,TypedefDeclarationNode,UpdateNode,VariableDeclarationNode,WhenNode
An item that can appear in a "block". Every instance of
BlockItemNode
is also an instance of (at least) one of the following:
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from interface dev.civl.abc.ast.node.IF.ASTNode
ASTNode.NodeKind -
Method Summary
Modifier and TypeMethodDescriptionReturns the kind of this block item.copy()Returns a deep copy of this AST node.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, transformAnnotations
-
Method Details
-
blockItemKind
BlockItemNode.BlockItemKind blockItemKind()Returns the kind of this block item.- Returns:
- the kind
-
copy
BlockItemNode 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.
-