package reason

  1. Overview
  2. Docs

* Module concerning info to correctly interleave whitspace above a layout node.

type t = {
  1. range : Range.t;
  2. comments : Comment.t list;
  3. newlines : int;
}
val make : range:Range.t -> newlines:int -> unit -> t
val newlines : t -> int
val range : t -> Range.t
val comments : t -> Comment.t list
val addComment : t -> Comment.t -> t
val modifyNewlines : t -> int -> t
OCaml

Innovation. Community. Security.