package reason

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

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

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

Innovation. Community. Security.