package ppxlib

  1. Overview
  2. Docs
Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source

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
Sourcemodule Make (Loc : Loc) : S

Build Ast helpers with the location argument factorized.

Sourceval make : Location.t -> (module S)

Functional version of Make.

OCaml

Innovation. Community. Security.