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.3.0.tar.gz
md5=617a80e8673c3f811403f09701c08a25
sha512=2f8f82c119210ae0efd7f3eefdd992d6b52655575233dfab74662d9a9854ce4aafcd4fe01dad17ba310e38f28ee1437be2f3c4af4f6952a97bb19e1400fc709a

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.