package ppx_here

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

Install

Dune Dependency

Authors

Maintainers

Sources

ppx_here-v0.14.0.tar.gz
sha256=72fe20f7cfae3744a1a726bd973f0e25d07905a065f3eb41946623e36523842c
md5=bb3bbde0964a1f866de09f3df44def4d

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.