- All Superinterfaces:
ASTNode,ContractNode
This represents an ACSL allocation clause, which has the syntax
or
allocates p1, p2, p3; or
frees p1, p2, p3;-
Nested Class Summary
Nested 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
Modifier and TypeMethodDescriptionbooleanIs this node anallocatesclause?booleanisFrees()Is this node afreesclause?Returns the list of memory units associated with this allocation clause.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, copy
-
Method Details
-
isAllocates
boolean isAllocates()Is this node anallocatesclause?- Returns:
-
isFrees
boolean isFrees()Is this node afreesclause?- Returns:
-
memoryList
SequenceNode<ExpressionNode> memoryList()Returns the list of memory units associated with this allocation clause.- Returns:
-