Relax code outside namespace constraint for system lib
[hiphop-php.git] / hphp / hack / src / parser / full_fidelity_parser_errors.mli
blob320c6c212ebda1fe69a884c321ac40ab5627d5f0
1 (**
2 * Copyright (c) 2016, Facebook, Inc.
3 * All rights reserved.
5 * This source code is licensed under the BSD-style license found in the
6 * LICENSE file in the "hack" directory of this source tree. An additional grant
7 * of patent rights can be found in the PATENTS file in the same directory.
9 *)
11 module WithSyntax : functor (Syntax : Syntax_sig.Syntax_S) -> sig
12 type error_level =
13 Minimum | Typical | Maximum | HHVMCompatibility | HHVMCompatibilitySystemLib
15 val parse_errors :
16 ?enable_hh_syntax:bool ->
17 ?level:error_level ->
18 Full_fidelity_syntax_tree.WithSyntax(Syntax).t ->
19 Full_fidelity_syntax_error.t list
20 end