Improve error message on misplaced async modifiers
[hiphop-php.git] / hphp / hack / src / utils / file_pos_large.mli
blobd6fcd0b3b70338264f4a79cfd70ef675cbb8ad52
1 (**
2 * Copyright (c) 2019, Facebook, Inc.
3 * All rights reserved.
5 * This source code is licensed under the MIT license found in the
6 * LICENSE file in the "hack" directory of this source tree.
8 *)
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
14 shape. *)
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
19 val dummy : t
20 val is_dummy : t -> bool
21 val beg_of_file : t
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
25 val offset : t -> int
26 val line : t -> int
27 val column : t -> int
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