Debian Codegraph @

otherlibs/dune-site/src/plugins/meta_parser.ml

raw
1 module Meta_parser = Dune_meta_parser.Meta_parser.Make (struct
2 module Loc = struct
3 type t = unit
4
5 let of_lexbuf _ = ()
6 end
7
8 module Lib_name = struct
9 type t = string
10
11 let parse_string_exn (_, n) = n
12 end
13
14 module Pp = struct
15 type 'tag t = string
16
17 let text s = s
18 end
19
20 module User_message = struct
21 module Style = struct
22 type t = unit
23 end
24
25 module Compound = struct
26 type t = unit
27 end
28
29 module Diff_annot = struct
30 type t = unit
31 end
32 end
33
34 module User_error = struct
35 let raise
36 ?has_embedded_location:_
37 ?needs_stack_trace:_
38 ?loc:_
39 ?hints:_
40 ?compound:_
41 ?promotion:_
42 texts
43 =
44 invalid_arg (String.concat " " texts)
45 ;;
46 end
47 end)
48
49 include Meta_parser