From 5dc0c5defdd7ebb152a00e8b2895787b54931779 Mon Sep 17 00:00:00 2001 From: Chimrod <> Date: Wed, 27 Sep 2023 15:36:13 +0200 Subject: Allow differents file encoding for the source --- lib/analyzer.mli | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'lib/analyzer.mli') 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. *) -- cgit v1.2.3