package ppx_yojson_conv
[@@deriving] plugin to generate Yojson conversion functions
Install
Dune Dependency
Authors
Maintainers
Sources
ppx_yojson_conv-v0.14.0.tar.gz
sha256=5c5cede40b9ab91ef9508717ad105a882dabd0d19f61172395998379e4df4653
md5=d5e243a694a5d1b67e838bce10178718
doc/src/ppx_yojson_conv.expander/label_with_name.ml.html
Source file label_with_name.ml
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
open! Base type t = { label : string ; name_override : string option } let create ~label ~name_override = { label; name_override } let of_constructor_declaration (cd : Ppxlib.constructor_declaration) = let label = cd.pcd_name.txt in let name_override = Ppxlib.Attribute.get Attrs.yojson_variant_name cd in create ~label ~name_override ;; let label t = t.label let name t = Option.value t.name_override ~default:t.label
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>