package comby-kernel

  1. Overview
  2. Docs
On This Page
  1. Alpha Matcher
Legend:
Library
Module
Module type
Parameter
Class
Class type

Alpha Matcher

Alpha is the match engine that defines default matchers for languages.

val select_with_extension : ?metasyntax:metasyntax -> string -> (module Matcher.S) option

select_with_extension metasyntax file_extension is a convenience function that returns a matcher associated with a file_extension. E.g., use ".c" to get the C matcher. For a full list of extensions associated with matchers, run comby -list. If metasyntax is specified, the matcher will use a custom metasyntax definition instead of the default.

val create : ?metasyntax:metasyntax -> syntax -> (module Matcher.S)

create metasyntax syntax creates a matcher for a language defined by syntax. If metasyntax is specified, the matcher will use a custom metasyntax definition instead of the default.

val all : (module Matcher.S) list

all returns all default matchers.

module Text : Matcher.S
module Paren : Matcher.S
module Dyck : Matcher.S
module JSON : Matcher.S
module JSONC : Matcher.S
module Dhall : Matcher.S
module Latex : Matcher.S
module Lisp : Matcher.S
module Bash : Matcher.S
module Ruby : Matcher.S
module Elixir : Matcher.S
module Python : Matcher.S
module Html : Matcher.S
module Xml : Matcher.S
module SQL : Matcher.S
module Erlang : Matcher.S
module C : Matcher.S
module Csharp : Matcher.S
module Java : Matcher.S
module CSS : Matcher.S
module Kotlin : Matcher.S
module Scala : Matcher.S
module Nim : Matcher.S
module Dart : Matcher.S
module Php : Matcher.S
module Go : Matcher.S
module Jsx : Matcher.S
module Tsx : Matcher.S
module Swift : Matcher.S
module Rust : Matcher.S
module OCaml : Matcher.S
module Reason : Matcher.S
module Fsharp : Matcher.S
module Pascal : Matcher.S
module Julia : Matcher.S
module Elm : Matcher.S
module Zig : Matcher.S
module Coq : Matcher.S
module Move : Matcher.S