package ppxlib
Standard infrastructure for ppx rewriters
Install
dune-project
Dependency
Authors
Maintainers
Sources
757f6c284b1fe748d5027eef3bbef924b6bbd7ce.tar.gz
sha256=89a98c95ddd0bfbac17b5a936f6811af7097be3258c482d5859b73e9de9b4552
sha512=b19306473d867252d382e58e9b697531c5edccdc9283b5eaf72f524803c2fca2a58a5e8f25bee198b00de82cf8ef805b43f7488791c3ac5beb0ffba938ded826
doc/ppxlib/Ppxlib/Ast_builder/Default/Latest/index.html
Module Default.Latest
Source
This module contains updated versions of node constructors that were kept stable when the node changed. For every function in this module, there's an equally-named function outside this module. The function outside this module will stay stable, whereas the function inside this module will adapt potential upcoming new compiler features. Only use a function in this module, if the equally-named one outside this module is missing a feature you need.
Source
val ppat_construct :
loc:Astlib.Location.t ->
Astlib.Longident.t Astlib.Location.loc ->
(string Astlib.Location.loc list * Astlib.Ast_502.Parsetree.pattern) option ->
Astlib.Ast_502.Parsetree.pattern
Source
val value_binding :
?constraint_:Astlib.Ast_502.Parsetree.value_constraint ->
loc:Astlib.Location.t ->
pat:Astlib.Ast_502.Parsetree.pattern ->
expr:Astlib.Ast_502.Parsetree.expression ->
unit ->
Astlib.Ast_502.Parsetree.value_binding
Source
val constructor_declaration :
loc:Astlib.Location.t ->
name:string Astlib.Location.loc ->
vars:string Astlib.Location.loc list ->
args:Astlib.Ast_502.Parsetree.constructor_arguments ->
res:Astlib.Ast_502.Parsetree.core_type option ->
unit ->
Astlib.Ast_502.Parsetree.constructor_declaration
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>