Module dev.civl.abc

Interface BehaviorNode

All Superinterfaces:
ASTNode, ContractNode

public interface BehaviorNode extends ContractNode
This represents a named behavior of the ACSL specification.
  • Method Details

    • getName

      IdentifierNode getName()
      returns the name of this behavior
      Returns:
      the name of this behavior
    • getBody

      returns the body of this behavior, which is a sequence of contract nodes
      Returns:
      the body of this behavior
    • copy

      BehaviorNode 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 ContractNode
      Returns:
      deep copy of this node