package comby-kernel

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

Install

Dune Dependency

Authors

Maintainers

Sources

1.4.1.tar.gz
md5=cd732f90664bc686eaa1134f42c8f7cd
sha512=81c7cd1d70cddee4d1679710a95c50d22f8dc60e48f24554009a5f944eb23e9124ca9aa99357b9879a5a60ca2dbcf976011f53afb442a7f15642e509255a0326

doc/comby-kernel.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.