package dune-private-libs

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type

Parsing of the Dune language

module Mode : sig ... end
val parse : mode:'a Mode.t -> ?lexer:Lexer.t -> Lexing.lexbuf -> 'a
val parse_string : fname:string -> mode:'a Mode.t -> ?lexer:Lexer.t -> string -> 'a
val load : ?lexer:Lexer.t -> Stdune.Path.t -> mode:'a Mode.t -> 'a
val insert_comments : Cst.t list -> (Stdune.Loc.t * Lexer.Token.Comment.t) list -> Cst.t list

Insert comments in a concrete syntax tree. Comments are inserted based on their location.

OCaml

Innovation. Community. Security.