package ppxlib

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

Type for the location independent parts of the expansion context

/

Undocumented section

val top_level : tool_name:string -> file_path:string -> t

Build a new base context at the top level of the given file with the given calling tool name.

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.