Make.LA store for various meta-data about an input file, can be used to optimize representation of locations.
exception Uncaught of t * exn * Printexc.raw_backtraceThe exception to be raised whenever an unexpected exception is raised during parsing.
exception Lexing_error of t * stringThe exception to be raised when the lexer cannot parse the input.
exception Syntax_error of t
* [ `Regular of Dolmen_intf.Msg.t
| `Advanced of
string * Dolmen_intf.Msg.t * Dolmen_intf.Msg.t * Dolmen_intf.Msg.t ]Syntax_error (loc, msg) denotes a syntax error at the given location. In the `Advanced (error_ref, prod, parsed, expected) case,
val of_lexbuf : Lexing.lexbuf -> tMake a position using a lexbuf directly.
val mk_pos : Lexing.position -> Lexing.position -> tMake a position from two lewing positions.
val mk_file : string -> fileCreate meta-data for a given filename.
val newline : file -> Lexing.lexbuf -> unitOffer a way for the file meta-data to store the current location of the lexbuf as the start of a new line.
val update_size : file -> Lexing.lexbuf -> unitUpdate the file meta-data to store the maximum offset currently seen for this file.