package ppx_here

  1. Overview
  2. Docs
Expands [%here] into its location

Install

Dune Dependency

Authors

Maintainers

Sources

v0.17.0.tar.gz
sha256=27ac69db34a5ff0efbf6e3c52d52dda46d1e5d5db4d14fb4d8c20370b932a913

doc/ppx_here.expander/Ppx_here_expander/index.html

Module Ppx_here_expanderSource

Sourceval lift_position : loc:Ppxlib.Location.t -> Ppxlib.Parsetree.expression

Lift a lexing position to a expression

Sourceval lift_position_as_string : loc:Ppxlib.Location.t -> Ppxlib.Parsetree.expression

Lift a lexing position to a string expression

Sourceval set_dirname : string option -> unit

Same as setting the directory name with -dirname, for tests

Sourceval expand_filename : string -> string

Prepend the directory name if -dirname was passed on the command line and the filename is relative.

OCaml

Innovation. Community. Security.