package flow_parser

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type position = {
  1. line : int;
  2. column : int;
  3. offset : int;
}
type filename =
  1. | LibFile of string
  2. | SourceFile of string
  3. | JsonFile of string
  4. | ResourceFile of string
  5. | Builtins
type t = {
  1. source : filename option;
  2. start : position;
  3. _end : position;
}
val none : t
val from_lb : filename option -> Lexing.lexbuf -> t
val from_curr_lb : filename option -> Lexing.lexbuf -> t
val btwn : t -> t -> t
val btwn_exclusive : t -> t -> t
val char_before : t -> t
val contains : t -> t -> bool
val filename_map : (string -> string) -> filename -> filename
val string_of_filename : filename -> string
val compare : t -> t -> int
val to_string : ?include_source:bool -> t -> string
val source : t -> filename option
val source_is_lib_file : filename -> bool
val check_suffix : filename -> string -> bool
val chop_suffix : filename -> string -> filename
val with_suffix : filename -> string -> filename
module FilenameKey : sig ... end
OCaml

Innovation. Community. Security.