package dune

  1. Overview
  2. Docs
type var_syntax =
  1. | Dollar_brace
  2. | Dollar_paren
  3. | Percent
type var = {
  1. loc : Stdune.Loc.t;
  2. name : string;
  3. payload : string option;
  4. syntax : var_syntax;
}
type part =
  1. | Text of string
  2. | Var of var
type t = {
  1. quoted : bool;
  2. parts : part list;
  3. loc : Stdune.Loc.t;
}
val compare_no_loc : t -> t -> Stdune.Ordering.t
val string_of_var : var -> string
val to_string : t -> syntax:File_syntax.t -> string
val remove_locs : t -> t
OCaml

Innovation. Community. Security.