package comby

  1. Overview
  2. Docs
A tool for structural code search and replace that supports ~every language

Install

Dune Dependency

Authors

Maintainers

Sources

1.2.2.tar.gz
md5=86fd3dcdaa792a5d871f695a082ad9b5
sha512=63af340d65f4ca37f00bee2a67c7a87822ef15c86051e6486c6eeb5d7fe310c845d4fff15625a72b48ceea89e14aff52dc678da1d43d2029f58b435885d568d8

doc/comby.language/Language/Ast/index.html

Module Language.AstSource

Sourcetype atom =
  1. | Variable of string
  2. | String of string
Sourceval atom_of_sexp : Ppx_sexp_conv_lib.Sexp.t -> atom
Sourceval sexp_of_atom : atom -> Ppx_sexp_conv_lib.Sexp.t
Sourcetype antecedent = atom
Sourceval antecedent_of_sexp : Ppx_sexp_conv_lib.Sexp.t -> antecedent
Sourceval sexp_of_antecedent : antecedent -> Ppx_sexp_conv_lib.Sexp.t
Sourcetype expression =
  1. | True
  2. | False
  3. | Option of string
  4. | Equal of atom * atom
  5. | Not_equal of atom * atom
  6. | Match of atom * (antecedent * consequent) list
  7. | RewriteTemplate of string
  8. | Rewrite of atom * antecedent * expression
Sourceand consequent = expression list
Sourceval expression_of_sexp : Ppx_sexp_conv_lib.Sexp.t -> expression
Sourceval consequent_of_sexp : Ppx_sexp_conv_lib.Sexp.t -> consequent
Sourceval sexp_of_expression : expression -> Ppx_sexp_conv_lib.Sexp.t
Sourceval sexp_of_consequent : consequent -> Ppx_sexp_conv_lib.Sexp.t
Sourceval (=) : atom -> atom -> expression
Sourceval (<>) : atom -> atom -> expression
Sourcetype t = expression list
Sourceval t_of_sexp : Ppx_sexp_conv_lib.Sexp.t -> t
Sourceval sexp_of_t : t -> Ppx_sexp_conv_lib.Sexp.t
OCaml

Innovation. Community. Security.