ppxx

Ppxx: a small extension library for writing PPX preprocessors
IN THIS PACKAGE
Module Ppxx . Compilerlib

Extensions of compiler-libs

module Longident : sig ... end
module Ident : sig ... end
module Path : sig ... end
module Location : sig ... end
module XParsetree : sig ... end

The followings are so common in PPX

val raise_errorf : ?loc:Location.t -> ?sub:Location.error list -> ?if_highlight:string -> ( 'a, Utils.Format.formatter, unit, 'b ) format4 -> 'a

Same as Location.raise_errorf

type 'a loc = 'a Location.loc = {
txt : 'a;
loc : Location.t;
}

Same as Location.loc