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

comby-kernel.1.7.0.tar.gz
md5=ee6556d8bd9b25ed0445ebe23862e48a
sha512=e6386c8ce5ef14bbcab2b0ead5b1edc39375438f56330d5f02e81e467afe6623a7e299f97f26008d77bbc62850c6dc63a7cbe5b81671b5183ff3adeee5946bb3

doc/comby-kernel.matchers/Matchers/Rule/Make/index.html

Module Rule.MakeSource

Parameters

module Metasyntax : sig ... end
module External : sig ... end

Signature

Sourcemodule Template : sig ... end
Sourceval is_whitespace : char -> bool
Sourceval spaces : string Vangstrom.t
Sourceval spaces1 : string Vangstrom.t
Sourceval alphanum : char Vangstrom.t
Sourceval to_atom : string -> Matchers__.Types.Ast.atom
Sourceval char_token_s : string Vangstrom.t

Interpret escape sequences inside quotes

Sourceval quote : string -> string Vangstrom.t

With escape sequences

Sourceval raw : string -> string Vangstrom.t
Sourceval quoted_parser : string Vangstrom.t
Sourceval map_special : Core_kernel.String.t -> Matchers__.Types.Ast.atom
Sourceval up_to : 'a Vangstrom.t -> char list Vangstrom.t
Sourceval atom_up_to_spaces : unit -> Matchers__.Types.Ast.atom Vangstrom.t
Sourceval atom_up_to_terminal : unit -> Matchers__.Types.Ast.atom Vangstrom.t
Sourceval antecedent_parser : unit -> Matchers__.Types.Ast.atom Vangstrom.t
Sourceval value_to_open_brace : unit -> Matchers__.Types.Ast.atom Vangstrom.t
Sourceval value_to_comma : unit -> Matchers__.Types.Ast.atom Vangstrom.t
Sourceval rewrite_consequent_parser : unit -> Matchers__.Types.Ast.atom Vangstrom.t
Sourceval operator_parser : string Vangstrom.t
Sourceval make_equality_expression : Matchers__.Types.Ast.atom -> Core_kernel.String.t -> Matchers__.Types.Ast.atom -> Matchers__.Types.Ast.expression
Sourceval optional_trailing : Core_kernel.Char.t -> unit Vangstrom.t
Sourceval option_parser : Matchers__.Types.Ast.expression Vangstrom.t
Sourceval true' : Matchers__.Types.Ast.expression Vangstrom.t
Sourceval false' : Matchers__.Types.Ast.expression Vangstrom.t
Sourceval compare_parser : Matchers__.Types.Ast.expression Vangstrom.t

<atom> ==, != <atom>

Sourceval make_rewrite_expression : Matchers__.Types.Ast.atom -> Matchers__.Types.Ast.atom -> Matchers__.Types.Ast.atom -> Matchers__.Types.Ast.expression
Sourceval rewrite_pattern_parser : Matchers__.Types.Ast.expression Vangstrom.t

rewrite <atom> <atom> -> <atom>

Sourceval match_arrow_parser : 'a Vangstrom.t -> (Matchers__.Types.Ast.atom * 'a list) Vangstrom.t

<atom> -> atom , <expr>, ,

Sourceval first_case_parser : 'a Vangstrom.t -> (Matchers__.Types.Ast.atom * 'a list) Vangstrom.t

| <match_arrow>

Sourceval case_parser : 'a Vangstrom.t -> (Matchers__.Types.Ast.atom * 'a list) Vangstrom.t

| <match_arrow>

Sourceval case_block : 'a Vangstrom.t -> (Matchers__.Types.Ast.atom * 'a list) list Vangstrom.t

| <match_arrow> | <match_arrow>

Sourceval match_pattern_parser : Matchers__.Types.Ast.expression Vangstrom.t -> Matchers__.Types.Ast.expression Vangstrom.t

match <atom> <case_parser>

Sourceval expression_parser : Matchers__.Types.Ast.expression Vangstrom.t
Sourceval parse : Matchers__.Types.Ast.expression list Vangstrom.t

where <expression> ,

Sourceval create : string -> (Matchers__.Types.Ast.expression list, Core_kernel.Error.t) Core_kernel._result
OCaml

Innovation. Community. Security.