aboutsummaryrefslogtreecommitdiff
path: root/lib/qparser/analyzer.mli
diff options
context:
space:
mode:
Diffstat (limited to 'lib/qparser/analyzer.mli')
-rw-r--r--lib/qparser/analyzer.mli4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/qparser/analyzer.mli b/lib/qparser/analyzer.mli
index 8033601..949db16 100644
--- a/lib/qparser/analyzer.mli
+++ b/lib/qparser/analyzer.mli
@@ -1,10 +1,12 @@
+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 * Qsp_syntax.Report.t list, Qsp_syntax.Report.t) Result.t
+ ('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