package ppxlib
Standard infrastructure for ppx rewriters
Install
Dune Dependency
Authors
Maintainers
Sources
ppxlib-0.36.0.tbz
sha256=5aba1bce14c53108614130110c843d004bf93bd2cf3a0778fd7086b85390a434
sha512=1e3e8fee42fe74bffc178dbcbb2db8ec38dd23e71f6fed3c4c92618cf93892f5847787e6e9abb322f5c85d29a76afde28ce840b42e10fedc14cd82ba578ad06a
doc/ppxlib/Ppxlib/Extension/V3/index.html
Module Extension.V3
Source
Source
val declare :
string ->
'context Context.t ->
(Astlib.Ast_502.Parsetree.payload, 'a, 'context) Ast_pattern.t ->
(ctxt:Expansion_context.Extension.t -> 'a) ->
t
Source
val declare_inline :
string ->
'context Context.t ->
(Astlib.Ast_502.Parsetree.payload, 'a, 'context list) Ast_pattern.t ->
(ctxt:Expansion_context.Extension.t -> 'a) ->
t
Source
val declare_with_path_arg :
string ->
'context Context.t ->
(Astlib.Ast_502.Parsetree.payload, 'a, 'context) Ast_pattern.t ->
(ctxt:Expansion_context.Extension.t ->
arg:Longident.t Ppxlib_ast.Asttypes.loc option ->
'a) ->
t
Same as declare
except that the extension name takes an additional path argument. The path is the part of the name that start with a capitalized component. For instance in the following, the extension "map"
would receive the path argument Foo.Bar
:
let%map.Foo.Bar x = 1 in
...
Source
val declare_inline_with_path_arg :
string ->
'context Context.t ->
(Astlib.Ast_502.Parsetree.payload, 'a, 'context list) Ast_pattern.t ->
(ctxt:Expansion_context.Extension.t ->
arg:Longident.t Ppxlib_ast.Asttypes.loc option ->
'a) ->
t
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>