package ppx_here

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

Install

Dune Dependency

Authors

Maintainers

Sources

ppx_here-v0.15.0.tar.gz
sha256=c5bc027c938a4893267c12e5ded6d7391b89851cf69094154ad9d824c3e0cadf

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.