2 * Copyright (c) 2019, Facebook, Inc.
5 * This source code is licensed under the MIT license found in the
6 * LICENSE file in the "hack" directory of this source tree.
10 (* This `.mli` file was generated automatically. It may include extra
11 definitions that should not actually be exposed to the caller. If you notice
12 that this interface file is a poor interface, please take a few minutes to
13 clean it up manually, and then delete this comment once the interface is in
16 type t
= { pos_lnum
: int; pos_bol
: int; pos_cnum
: int; }
17 val pp
: Format.formatter
-> t
-> unit
18 val compare
: 'a
-> 'a
-> int
20 val is_dummy
: t
-> bool
22 val of_line_column_offset
: line
:int -> column
:int -> offset
:int -> t
23 val of_lexing_pos
: Lexing.position
-> t
24 val of_lnum_bol_cnum
: pos_lnum
:int -> pos_bol
:int -> pos_cnum
:int -> t
28 val beg_of_line
: t
-> int
29 val set_column
: int -> t
-> t
30 val line_beg
: t
-> int * int
31 val line_column
: t
-> int * int
32 val line_column_beg
: t
-> int * int * int
33 val line_column_offset
: t
-> int * int * int
34 val line_beg_offset
: t
-> int * int * int
35 val to_lexing_pos
: string -> t
-> Lexing.position