aboutsummaryrefslogtreecommitdiff
path: root/lib/analyzer.mli
diff options
context:
space:
mode:
authorChimrod <>2023-09-27 15:36:13 +0200
committerChimrod <>2023-09-29 10:00:21 +0200
commit5dc0c5defdd7ebb152a00e8b2895787b54931779 (patch)
tree78f9d7c646d3c614a6c934778b195e0707f47821 /lib/analyzer.mli
parent40f7b4c7398db2b832b71e3dfb8afb53116fad51 (diff)
Allow differents file encoding for the source
Diffstat (limited to 'lib/analyzer.mli')
-rw-r--r--lib/analyzer.mli5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/analyzer.mli b/lib/analyzer.mli
index 02d7b47..43509ba 100644
--- a/lib/analyzer.mli
+++ b/lib/analyzer.mli
@@ -8,5 +8,10 @@ val format_error : Format.formatter -> error -> unit
val parse :
(module Qsp_syntax.S.Analyzer with type Location.repr = 'a) ->
+ (module Encoding.S) ->
Sedlexing.lexbuf ->
('a, error) 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. *)