package ppxlib

  1. Overview
  2. Docs
Standard infrastructure for ppx rewriters

Install

Dune Dependency

Authors

Maintainers

Sources

ppxlib-0.35.0.tbz
sha256=d9d959fc9f84260487e45684dc741898a92fc5506b61a7f5cac65d21832db925
sha512=e428b1e3b89261c7efdaa18016264d1afbf067cb9b0d41124b04796c2487ac7ca8ee9a24a60d56f20d1774cb44aaa9ecf1512f17455812ba8d62d4ef93616ee7

doc/ppxlib.ast/Ppxlib_ast/Js/index.html

Module Ppxlib_ast.JsSource

Ast definition for this version

Sourceval version : int
Sourceval string_version : string
Sourcetype types = < structure : Ast.Parsetree.structure ; signature : Ast.Parsetree.signature ; toplevel_phrase : Ast.Parsetree.toplevel_phrase ; core_type : Ast.Parsetree.core_type ; expression : Ast.Parsetree.expression ; pattern : Ast.Parsetree.pattern ; case : Ast.Parsetree.case ; type_declaration : Ast.Parsetree.type_declaration ; type_extension : Ast.Parsetree.type_extension ; extension_constructor : Ast.Parsetree.extension_constructor ; class_expr : Ast.Parsetree.class_expr ; class_field : Ast.Parsetree.class_field ; class_type : Ast.Parsetree.class_type ; class_signature : Ast.Parsetree.class_signature ; class_type_field : Ast.Parsetree.class_type_field ; module_expr : Ast.Parsetree.module_expr ; module_type : Ast.Parsetree.module_type ; signature_item : Ast.Parsetree.signature_item ; structure_item : Ast.Parsetree.structure_item >

Shortcut for talking about Ast types

Sourcetype Ppxlib_ast__.Versions.witnesses +=
  1. | Version : types Ppxlib_ast__.Versions.witnesses

A construtor for recovering type equalities between two arbitrary versions.

Sourceval migration_info : types Ppxlib_ast__.Versions.migration_info

Information used to derive migration functions, see below

OCaml

Innovation. Community. Security.