-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Expand file tree
/
Copy pathexhaustiveness.mli
More file actions
27 lines (25 loc) · 1.33 KB
/
exhaustiveness.mli
File metadata and controls
27 lines (25 loc) · 1.33 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
(**************************************************************************)
(* *)
(* OCaml *)
(* *)
(* Martin Jambon *)
(* *)
(* Copyright 2025 Martin Jambon *)
(* *)
(* All rights reserved. This file is distributed under the terms of *)
(* the GNU Lesser General Public License version 2.1, with the *)
(* special exception on linking described in the file LICENSE. *)
(* *)
(**************************************************************************)
(**
Check whether a rule may fail to match on some input
*)
(** Report rules that may fail on some input.
A warning is printed on stderr.
@param fatal changes the error messages to indicate that they're fatal
*)
val check :
?fatal:bool ->
Lexgen.automata array ->
(string list, Syntax.location) Lexgen.automata_entry list ->
(unit, unit) result