package comby

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
val substitute_fresh : ?metasyntax:Matchers.Metasyntax.t -> ?sequential:bool -> string -> string

if sequential is true, then substitute the pattern :id() starting at 1, and incrementing subsequent IDs. if sequential is false, then substitute the pattern :id() with a fresh hex string based on the last 48-bit part of a UUID v3 identifier

val substitute : ?metasyntax:Matchers.Metasyntax.t -> ?sequential:bool -> string -> Match.Environment.t -> string * string list

substitute returns the result and variables substituted for

val of_match_context : ?metasyntax:Matchers.Metasyntax.t -> Match.t -> source:string -> string * string
val get_offsets_for_holes : ?metasyntax:Matchers.Metasyntax.t -> string -> string list -> (string * int) list
val get_offsets_after_substitution : (string * int) list -> Match.Environment.t -> (string * int) list
OCaml

Innovation. Community. Security.