analyzer.mli 423 B

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