package ppx_here

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

Install

Dune Dependency

Authors

Maintainers

Sources

ppx_here-v0.13.0.tar.gz
sha256=a8883745acd30a269228d4cdfe2ad169994c44364d23ed5049e532fc250d7400
md5=f11895dc064fcf56bb323423041469ed

doc/ppx_here.expander/Ppx_here_expander/index.html

Module Ppx_here_expander

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

Lift a lexing position to a expression

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

Lift a lexing position to a string expression

val set_dirname : string option -> unit

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

val 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.