Module Lsp.Snippet

module Var : sig ... end
type variable_transform = {
  1. regex : string;
  2. format_string : string;
  3. regex_options : string option;
}
type t
val tabstop : int -> t
val placeholder : ?index:int -> t -> t
val choice : ?index:int -> string list -> t
val variable : ?opt:[ `Placeholder of t | `Transform of variable_transform | `None ] -> Var.t -> t
val variable_transform : regex:string -> ?regex_options:string -> format_string:string -> unit -> variable_transform
val text : string -> t
module O : sig ... end
val concat : ?sep:t -> t list -> t
val to_string : t -> string
val pp : Stdlib.Format.formatter -> t -> unit