-
-
Method Summary
Returns a deep copy of this AST node.
The expression to return.
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
Methods inherited from interface dev.civl.abc.ast.node.IF.statement.JumpNode
getKind
-
Method Details
-
getExpression
The expression to return. May be null.
- Returns:
- expression to return or null
-
copy
Description copied from interface: ASTNode
Returns 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:
copy in interface ASTNode
- Specified by:
copy in interface BlockItemNode
- Specified by:
copy in interface JumpNode
- Specified by:
copy in interface StatementNode
- Returns:
- deep copy of this node