small refactorings
[hiphop-php.git] / hphp / hack / src / errors / parsing_error.mli
blob0893b2cdd305ded2e1a473db13df661aba33b5bb
1 (*
2 * Copyright (c) Facebook, Inc. and its affiliates.
4 * This source code is licensed under the MIT license found in the
5 * LICENSE file in the "hack" directory of this source tree.
7 *)
9 type t =
10 | Fixme_format of Pos.t
11 | Parsing_error of {
12 pos: Pos.t;
13 msg: string;
14 quickfixes: Quickfix.t list;
16 | Xhp_parsing_error of {
17 pos: Pos.t;
18 msg: string;
21 include
22 Phase_error.S with type t := t and module Error_code = Error_codes.Parsing