Module Sexplib.Path

type el =
  1. | Pos of int
  2. | Match of string * int
  3. | Rec of string
type t = el list
val parse : string -> t
val get : ?path:t -> ?str:string -> Sexplib.Sexp.t -> Sexplib.Sexp.t
val replace : ?path:t -> ?str:string -> Sexplib.Sexp.t -> subst:Sexplib.Sexp.t -> Sexplib.Sexp.t
val replace_no_path : str:string -> Sexplib.Sexp.t -> subst:Sexplib.Sexp.t -> Sexplib.Sexp.t
val extract_pos : int -> Sexplib.Sexp.t -> (Sexplib.Sexp.t option -> Sexplib.Sexp.t) * Sexplib.Sexp.t
val extract_match : string -> int -> Sexplib.Sexp.t -> (Sexplib.Sexp.t option -> Sexplib.Sexp.t) * Sexplib.Sexp.t
val extract_rec : string -> Sexplib.Sexp.t -> (Sexplib.Sexp.t -> Sexplib.Sexp.t) * Sexplib.Sexp.t