Module Ppxlib__.Quoter

type t
val create : Ppxlib__.Import.unit -> t

Creates a quoter. A quoter guarantees to give names that do not clash with any other names used before

val quote : t -> Ppxlib__.Import.expression -> Ppxlib__.Import.expression

quote t e returns the expression that is safe to use in place of e in generated code

val sanitize : t -> Ppxlib__.Import.expression -> Ppxlib__.Import.expression

sanitize t e Returns e wrapped with bindings for all quoted expressions in the quoter t