package visitors
An OCaml syntax extension for generating visitor classes
Install
Dune Dependency
Authors
Maintainers
Sources
archive.tar.gz
md5=37a67faaa74c2cb9647d3fd25a979b6c
sha512=feea43ccc6e2b7c48a5cceca7f38a78dcbf82fc8e334b22d643f4ce449b11fc4dcb1e500858a818a9b47dd4e30304bb90a450aff19daef969cc36e1f03af99a7
Description
Annotating an algebraic data type definition with [@@deriving visitors { ... }] causes visitor classes to be automatically generated. A visitor is an object that knows how to traverse and transform a data structure.
Published: 07 Feb 2020
README
README.md
An OCaml syntax extension (technically, a ppx_deriving plugin) which generates object-oriented visitors for traversing and transforming data structures.
Here is the documentation of the latest released version.
The easiest way of installing the latest released version of this package is via opam
, the OCaml package manager.
opam update
opam install visitors
To install the latest development version, also via opam
, please proceed as follows:
git clone https://gitlab.inria.fr/fpottier/visitors.git
cd visitors
make pin
To install the latest development version, outside of opam
, please proceed as follows:
git clone https://gitlab.inria.fr/fpottier/visitors.git
cd visitors
opam install . --deps-only
make install
Dependencies (6)
Dev Dependencies
None
Used by (10)
-
archetype
>= "0.1.11"
-
clangml
= "4.0.0beta1"
-
clangml-transforms
= "0.24"
- electrod
-
flow_parser
= "0.159.0"
-
flowtype
>= "0.87.0"
- karamel
-
kremlin
< "transition"
- morbig
- rotor
Conflicts
None
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page