blob: 949db1661386be2ffca404d04c4231312ae7171c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
type 'a result = { content : 'a; report : Qsp_syntax.Report.t list }
val parse :
(module Qsp_syntax.S.Analyzer
with type Location.t = 'a
and type context = 'context) ->
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. *)
|