- All Superinterfaces:
ASTNode
- All Known Subinterfaces:
AlignOfNode,ArrayLambdaNode,ArrowNode,CastNode,CharacterConstantNode,CompoundLiteralNode,ConstantNode,DeclarationListNode,DerivativeExpressionNode,DotNode,EnumerationConstantNode,ExpressionNode,ExtendedQuantifiedExpressionNode,FloatingConstantNode,FunctionCallNode,GenericSelectionNode,HereOrRootNode,IdentifierExpressionNode,IntegerConstantNode,LambdaNode,NothingNode,ObjectOrRegionOfNode,OperatorNode,ProcnullNode,QuantifiedExpressionNode,RegularRangeNode,RemoteOnExpressionNode,ResultNode,ScopeOfNode,SelfNode,SizeofNode,SpawnNode,StatementExpressionNode,StatenullNode,StringLiteralNode,WildcardNode
A marker interface indicating this construct can be used as the first clause
in a for loop. This clause can be either an expression or a
declaration list.
From C11 Sec. 6.8.5.3: "The declaration part of a for statement shall only declare identifiers for objects having storage class auto or register."
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface dev.civl.abc.ast.node.IF.ASTNode
ASTNode.NodeKind -
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, transformAnnotations
-
Method Details
-
copy
ForLoopInitializerNode 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.
-