Module Dune_lang.Cst
Concrete syntax tree
module Comment : sig ... end
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
|
Comment of Stdune.Loc.t * Comment.t
val loc : t -> Stdune.Loc.t
val fetch_legacy_comments : t -> file_contents:string -> t
Replace all the
Comment Legacy
byComment (Lines _)
by extracting the contents of comments from the original file.