blob: 817be6ca98b74757b2ba2468539c587fdb648a58 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
type 'a result = { content : 'a; report : Qsp_syntax.Report.t list }
type lexer = Location | Dynamic
val parse :
(module Qsp_syntax.S.Analyzer
with type Location.t = 'a
and type context = 'context) ->
lexer ->
Lexbuf.t ->
'context ->
('a result, Qsp_syntax.Report.t) Result.t
(** Read the source and build a analyzis over it.
This method make the link between the source file and how to read it
(encoding…) and the AST we want to build. *)
|