comby-kernel.replacement
Replacement
comby-kernel
comby-kernel.match
comby-kernel.matchers
comby-kernel.parsers
comby-kernel.vangstrom
comby-kernel.vangstrom-unix
type t = {
range : Match.range;
replacement_content : string;
environment : Match.environment;
}
val to_yojson : t -> Yojson.Safe.t
val of_yojson : Yojson.Safe.t -> t Ppx_deriving_yojson_runtime.error_or
type result = {
rewritten_source : string;
in_place_substitutions : t list;
val result_to_yojson : result -> Yojson.Safe.t
val result_of_yojson : Yojson.Safe.t -> result Ppx_deriving_yojson_runtime.error_or
val to_json : ?path:string -> ?replacements:t list -> ?rewritten_source:string -> diff:string -> unit -> Yojson.Safe.json
val empty_result : result