package ppxlib

  1. Overview
  2. Docs
type t

Type for the location independent parts of the expansion context

/

Undocumented section

val top_level : omp_config:Migrate_parsetree.Driver.config -> file_path:string -> t

Build a new base context at the top level of the given file with the given ocaml-mirgate-parsetree configuration.

val enter_expr : t -> t

Proxy functions to update the wrapped code path. See code_path.mli for details.

val enter_module : loc:Location.t -> string -> t -> t
val enter_value : loc:Location.t -> string -> t -> t
OCaml

Innovation. Community. Security.