- All Superinterfaces:
ASTNode,ForLoopInitializerNode,Iterable<VariableDeclarationNode>,SequenceNode<VariableDeclarationNode>
public interface DeclarationListNode
extends SequenceNode<VariableDeclarationNode>, ForLoopInitializerNode
A list of variable declarations, such as might occur as an initializer in a
for loop.-
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, removeTransformAnnotation, setAttribute, setChild, setId, setOwner, setScope, toString, transformAnnotationsMethods inherited from interface java.lang.Iterable
forEach, iterator, spliteratorMethods inherited from interface dev.civl.abc.ast.node.IF.SequenceNode
addSequenceChild, getSequenceChild, insertChildren, removeChild, setSequenceChild, shiftRemoveChild
-
Method Details
-
copy
DeclarationListNode 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 interfaceForLoopInitializerNode- Specified by:
copyin interfaceSequenceNode<VariableDeclarationNode>- Returns:
- deep copy of this node
-