package ppx_yojson
PPX extension for Yojson literals and patterns
Install
Dune Dependency
Authors
Maintainers
Sources
ppx_yojson-1.0.0.tbz
sha256=de1d7738aaee71ad1fd735463739b6b2f1c86ec0385625c67f2f8fadff969d72
sha512=b7109ed6e4f769cf944c0888108b91b806e2f2a6431b6db7dc489693a0fca51052f77ae0bca7f5312306bb2a6f00642431201faaf543cce71d4cd3899fae23ae
doc/ppx_yojson._lib/Ppx_yojson_lib/Raise/index.html
Module Ppx_yojson_lib.Raise
Functions to raise ppx_yojson rewriting errors.
The loc
argument should be the loc of the problematic expression within the payload and not the loc
argument of the expand
function to provide the user accurate information as to what should be fixed.
val unsupported_payload : loc:Ppxlib.Location.t -> 'a
Use this for unsupported payload expressions.
val unsupported_record_field : loc:Ppxlib.Location.t -> 'a
Use this for unsupported Longident used as record fields.
val too_many_fields_in_record_pattern : loc:Ppxlib.Location.t -> 'a
Use this for record pattern with more than 4 fields.
val bad_expr_antiquotation_payload : loc:Ppxlib.Location.t -> 'a
Use this for bad payload in expression antiquotation [%y ...]
.
val bad_pat_antiquotation_payload : loc:Ppxlib.Location.t -> 'a
Use this for bad payload in pattern antiquotation [%y? ...]
.
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>