blob: 02d7b47d90f5fccae1f8b2b301f8d7f60215023e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
type error = {
message : string;
start_pos : Lexing.position;
end_pos : Lexing.position;
}
val format_error : Format.formatter -> error -> unit
val parse :
(module Qsp_syntax.S.Analyzer with type Location.repr = 'a) ->
Sedlexing.lexbuf ->
('a, error) Result.t
|