package ocamlformat

  1. Overview
  2. Docs
Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source

Module Ocamlformat.Loc_treeSource

include Non_overlapping_interval_tree.S with type itv = Ocaml_common.Location.t
Sourcetype t

If there are duplicates in the input list, earlier elements will be ancestors of later elements.

Sourceval children : t -> itv -> itv Ocamlformat_stdlib.list
Sourceval dump : t -> Fmt.t

Debug: dump debug representation of tree.

Use Ast_mapper to collect all locs in ast, and create a tree of them.

OCaml

Innovation. Community. Security.