Module Dune_lang.Ast

Abstract syntax tree

type sexp = t
type t =
| Atom of Stdune.Loc.t * Atom.t
| Quoted_string of Stdune.Loc.t * string
| Template of Template.t
| List of Stdune.Loc.t * t list
val atom_or_quoted_string : Stdune.Loc.t -> string -> t
val loc : t -> Stdune.Loc.t
val remove_locs : t -> sexp