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.39.0.tbz
sha256=441a2814dbac3f5dc0c8dcefca263548e9b4d6dda1ef2990ce6a4999e108be3c
sha512=55ace8f9c8ddb6b495ace105c1b594b983fc37946bd3d9531c1c45160341d2b06e679785e2db76d885eaf481dbf11806e7d9674281c1599f28c38f39ba6b7ae6
doc/src/ppxlib.astlib/encoding_503.ml.html
Source file encoding_503.ml
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27module Ext_name = struct let ppat_effect = "ppxlib.migration.ppat_effect_503" end let invalid_encoding ~loc name = Error.invalid_encoding ~loc ~version:"5.3" name module To_502 = struct let encode_ppat_effect ~loc ~effect_ ~k = let open Ast_502.Parsetree in Ppat_extension ( Location.{ txt = Ext_name.ppat_effect; loc }, PPat ( { ppat_desc = Ppat_tuple [ effect_; k ]; ppat_attributes = []; ppat_loc_stack = []; ppat_loc = loc; }, None ) ) let decode_ppat_effect ~loc payload = let open Ast_502.Parsetree in match payload with | PPat ({ ppat_desc = Ppat_tuple [ effect_; cont ]; _ }, None) -> (effect_, cont) | _ -> invalid_encoding ~loc Ext_name.ppat_effect end
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>