package codex

  1. Overview
  2. Docs
The Codex library for building static analysers based on abstract interpretation

Install

dune-project
 Dependency

Authors

Maintainers

Sources

1.0-rc4.tar.gz
md5=bc7266a140c6886add673ede90e335d3
sha512=8da42c0ff2c1098c5f9cb2b5b43b306faf7ac93b8f5ae00c176918cee761f249ff45b29309f31a05bbcf6312304f86a0d5a000eb3f1094d3d3c2b9b4c7f5c386

doc/codex.fixpoint/Fixpoint/Wto_utils/Make/index.html

Module Wto_utils.MakeSource

Parameters

module N : NODE

Signature

Sourceval map : (N.t -> bool -> 'a) -> N.t Wto.partition -> 'a Wto.partition

map f wto applies f to every element of wto while conserving the w.t.o. structure. The second argument of f is true if the argument of f is a head.

Sourceval iter : (N.t -> bool -> unit) -> N.t Wto.partition -> unit

iter f wto applies f to every element of wto. The second argument of f is true if the argument of f is a head.

Sourceval is_head_of : N.t Wto.partition -> N.t -> N.t -> bool

head_of wto h n returns whether n is inside the component of head h. h must be a head. Returns true also if n = h. Complexity: linear in the number of nodes.

Sourceval depth : N.t Wto.partition -> int

Maximum number of heads among all nodes, i.e. maximum number of nested components.