package ppxlib

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type t
type pos =
  1. | Before
  2. | After
val make : (Ppxlib__.Import.Parsetree.structure -> Ppxlib__.Import.Parsetree.structure) -> position:pos -> t

make transformation ~position creates an instrumentation that can be passed to Driver.register_transformation to instrument an implementation file. transformation is the transformation that will be applied to the AST; position specifies if it should be applied before or after rewriters defined through rules, impl or intf are applied.

OCaml

Innovation. Community. Security.