jon.recoil.org

Module Ppxlib.Ast_builderSource

Ast_builder is a module to generate OCaml AST fragments. It provides a shorter syntax than directly using the Parsetree constructors, as well as a better stability than the constructors.

For a detailed explanation on this module, refer to the relevant part of the manual.

API

Sourcemodule Default : sig ... end

Helpers taking a ~loc argument. This module is meant to be opened or aliased.

Sourcemodule type Loc = sig ... end
Sourcemodule type S = sig ... end

Build Ast helpers with the location argument factorized.

Functional version of Make.