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.parsers/Parsers/Alpha_comments/index.html

Module Parsers.Alpha_commentsSource

Sourceval to_string : string -> string -> char list -> string
Sourceval anything_including_newlines : until:string -> (char list, 'a) MParser.t
Sourceval anything_excluding_newlines : until:string -> (char list, 'a) MParser.t
Sourceval non_nested_comment : string -> string -> 'a MParser.state -> (string, 'a) MParser.reply

a parser for comments with delimiters from and until that do not nest

Sourceval until_newline : string -> 'a MParser.state -> (string, 'a) MParser.reply
Sourceval any_newline : string -> 'a MParser.state -> (string, 'a) MParser.reply
Sourceval is_not : ('a MParser.state -> ('b, 'c) MParser.reply) -> 'a MParser.state -> (char, 'a) MParser.reply
Sourceval nested_comment : string -> string -> 'a MParser.state -> (string, 'a) MParser.reply

A nested comment parser

Sourcemodule Multiline : sig ... end

a parser for, e.g., /* ... */ style block comments. Non-nested.

Sourcemodule Until_newline : sig ... end
Sourcemodule Nested_multiline : sig ... end
OCaml

Innovation. Community. Security.