package codept-lib

  1. Overview
  2. Docs
Alternative ocaml dependency analyzer

Install

dune-project
 Dependency

Authors

Maintainers

Sources

codept-0.13.0.tbz
sha256=5e6631d6bcb84d149460d046c71afa4a6342aa8d9adaf2b1f45989dd33a3ac92
sha512=ed58520e2b94c6d6b01466f2de464e5bfd95efd8d9d8e41e1d95e3c3f250b20118b3c2d08492cbc86152c334730fa43d110331d090fcc98e8be7fdc7b47962ff

doc/codept-lib/Loc/index.html

Module LocSource

Location information within a file

Sourcetype t =
  1. | Nowhere
  2. | Simple of {
    1. line : int;
    2. start : int;
    3. stop : int;
    }
  3. | Multiline of {
    1. start : int * int;
    2. stop : int * int;
    }

A location within a file

Sourcetype 'a ext = {
  1. loc : t;
  2. data : 'a;
}

A data structure to add location data

Sourceval pp : Format.formatter -> t -> unit
Sourceval nowhere : 'a -> 'a ext
Sourceval create : t -> 'a -> 'a ext
Sourceval expand : t -> ((int * int) * (int * int)) option
Sourceval compress : t -> t
Sourceval merge : t -> t -> t
Sourceval keep_one : t -> t -> t
Sourceval fmap : ('a -> 'b) -> 'a ext -> 'b ext
Sourceval list : 'a ext list -> t
Sourcemodule Sch : sig ... end