package flow_parser

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type position = {
  1. line : int;
  2. column : int;
}
val equal_position : position -> position -> Ppx_deriving_runtime.bool
val show_position : position -> Ppx_deriving_runtime.string
type t = {
  1. source : File_key.t option;
  2. start : position;
  3. _end : position;
}
val none : t
val btwn : t -> t -> t
val char_before : t -> t
val first_char : t -> t
val contains : t -> t -> bool
val intersects : t -> t -> bool
val lines_intersect : t -> t -> bool
val pos_cmp : position -> position -> int
val span_compare : t -> t -> int
val compare : t -> t -> int
val equal : t -> t -> bool
val debug_to_string : ?include_source:bool -> t -> string
val to_string_no_source : t -> string
val mk_loc : ?source:File_key.t -> (int * int) -> (int * int) -> t
val source : t -> File_key.t option
val cursor : File_key.t option -> int -> int -> t
val start_loc : t -> t
val end_loc : t -> t
OCaml

Innovation. Community. Security.