val lift_position : loc:Ppx_core.Location.t ‑> Ppx_core.Parsetree.expression
Lift a lexing position to a expression
val lift_position_as_string : loc:Ppx_core.Location.t ‑> Ppx_core.Parsetree.expression
Lift a lexing position to a string expression
val set_dirname : Ppx_core.string Ppx_core.option ‑> Ppx_core.unit
Same as setting the directory name with -dirname
, for tests
val expand_filename : Ppx_core.string ‑> Ppx_core.string
Prepend the directory name if -dirname
was passed on the command line and the
filename is relative.