package touist

  1. Overview
  2. Docs

Module Touist.ParserReportSource

Handles errors in Parse.parse produced by the menhir in incremental parser. report is the main function.

Sourceval debug : bool ref
Sourcetype 'a buffer =
  1. | Zero
  2. | One of 'a
  3. | Two of 'a * 'a
Sourceval update : 'a buffer -> 'a -> 'a buffer
Sourceval show : ('a -> string) -> 'a buffer -> string
Sourceval exact_pos : (Lexing.position * 'a) buffer -> Lexing.position
Sourceval extract : string -> (Lexing.position * Lexing.position) -> string
Sourceval compress : string -> string
Sourceval sanitize : string -> string
Sourceval shorten : int -> string -> string
Sourceval drop : int -> 'a S.stream -> 'a S.stream
Sourceval width : int
Sourceval range : string -> Parser.MenhirInterpreter.element -> string
Sourceval fragment : string -> 'a Parser.MenhirInterpreter.checkpoint -> string -> string
Sourceval fragments : string -> 'a Parser.MenhirInterpreter.checkpoint -> string -> string
Sourceval report : string -> (Lexing.position * Lexing.position) buffer -> 'a Parser.MenhirInterpreter.checkpoint -> bool -> string
OCaml

Innovation. Community. Security.