package ppxlib
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
Standard infrastructure for ppx rewriters
Install
dune-project
Dependency
Authors
Maintainers
Sources
ppxlib-0.38.0.tbz
sha256=89e049b3102f6670a213d34d802ea3ab0fc530a8959d2f1a1e8db830063429a3
sha512=2fbbf124fc61e1f22242d13505e9af39d4a3c7cf03def1c33ee8bd915195be9b817636667302e9c6ceddc74a9a4a54926340e21c96fd770a2bc6752400315cfd
doc/ppxlib/Ppxlib/Deriving/Generator/index.html
Module Deriving.GeneratorSource
Source
val make :
?attributes:Attribute.packed list ->
?deps:t list ->
?unused_code_warnings:bool ->
('f, 'output_ast) Args.t ->
(loc:Location.t -> path:string -> 'input_ast -> 'f) ->
('output_ast, 'input_ast) tmake args gen creates a generator that can be passed to Deriving.add to generate an output AST from an input AST and generator arguments.
deps is a list of derivers that this generator depends on.
attributes is deprecated and unused. It is only kept for backward compatibility.
unused_code_warning controls whether unused code warnings (e.g. warnings 32 and 60) are enabled or suppressed in emitted code. Default is false, which suppresses the warnings.
Source
val make_noarg :
?attributes:Attribute.packed list ->
?deps:t list ->
?unused_code_warnings:bool ->
(loc:Location.t -> path:string -> 'input_ast -> 'output_ast) ->
('output_ast, 'input_ast) tSame as make, but without arguments.
Source
val apply :
('output_ast, 'input_ast) t ->
name:string ->
ctxt:Expansion_context.Deriver.t ->
'input_ast ->
(string * Astlib.Ast_502.Parsetree.expression) list ->
'output_ast sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>