package reason

  1. Overview
  2. Docs
type category =
  1. | EndOfLine
  2. | SingleLine
  3. | Regular
val string_of_category : category -> string
type t = {
  1. location : Location.t;
  2. category : category;
  3. text : string;
}
val category : t -> category
val location : t -> Location.t
val dump : Format.formatter -> t -> unit
val dump_list : Format.formatter -> t list -> unit
val wrap : t -> string
val is_doc : t -> bool
val make : location:Location.t -> category -> string -> t
val isLineComment : t -> bool
OCaml

Innovation. Community. Security.