package typpx

  1. Overview
  2. Docs

This module provides convenient functions to build Typedtree AST. This does not cover all the construction... yet.

val default_loc : Location.t Pervasives.ref
val with_loc : Location.t -> (unit -> 'a) -> 'a

Set default_loc and run a function

val loc : 'a -> 'a Location.loc
module Dummy : sig ... end

Dummy builder. The data is set to some default and you need to override some of the fields.

val lidentloc_of_path : Path.t -> Longident.t Location.loc
module Path : sig ... end
module Typ : sig ... end
module Exp : sig ... end
module Pat : sig ... end
module MB : sig ... end
module Mod : sig ... end
OCaml

Innovation. Community. Security.