Parser_extended.Lexertype error = | Illegal_character of char| Illegal_escape of string * string option| Reserved_sequence of string * string option| Unterminated_comment of Ocaml_common.Location.t| Unterminated_string| Unterminated_string_in_comment of Ocaml_common.Location.t
* Ocaml_common.Location.t| Empty_character_literal| Keyword_as_label of string| Invalid_literal of string| Invalid_directive of string * string optionexception Error of error * Ocaml_common.Location.tval keyword_table : (string, Parser_extended.Parser.token) Hashtbl.tval string_buffer : Buffer.tval store_string_utf_8_uchar : Uchar.t -> unitval store_lexeme : Lexing.lexbuf -> unitval string_start_loc : Ocaml_common.Location.t refval comment_start_loc : Ocaml_common.Location.t list refval is_in_string : bool refval print_warnings : bool refval store_escaped_char : Lexing.lexbuf -> char -> unitval store_escaped_uchar : Lexing.lexbuf -> Uchar.t -> unitval compute_quoted_string_idloc :
Ocaml_common.Location.t ->
int ->
string ->
Ocaml_common.Location.tval wrap_string_lexer :
(Lexing.lexbuf -> Lexing.position) ->
Lexing.lexbuf ->
string * Ocaml_common.Location.tval wrap_comment_lexer :
(Lexing.lexbuf -> Ocaml_common.Location.t) ->
Lexing.lexbuf ->
string * Ocaml_common.Location.tval error : Lexing.lexbuf -> error -> 'aval error_loc : Ocaml_common.Location.t -> error -> 'aval num_value : Lexing.lexbuf -> base:int -> first:int -> last:int -> intval illegal_escape : Lexing.lexbuf -> string -> 'aval char_for_decimal_code : Lexing.lexbuf -> int -> charval char_for_octal_code : Lexing.lexbuf -> int -> charval char_for_hexadecimal_code : Lexing.lexbuf -> int -> charval uchar_for_uchar_escape : Lexing.lexbuf -> Uchar.tval check_label_name : Lexing.lexbuf -> string -> unitval set_lexeme_length : Lexing.lexbuf -> int -> unitval disambiguate : Lexing.lexbuf -> string -> Parser_extended.Parser.tokenval try_disambiguate :
Lexing.lexbuf ->
Parser_extended.Parser.token ->
Parser_extended.Parser.token optionval update_loc : Lexing.lexbuf -> string option -> int -> bool -> int -> unitval preprocessor :
((unit ->
unit)
* ((Lexing.lexbuf -> Parser_extended.Parser.token) ->
Lexing.lexbuf ->
Parser_extended.Parser.token))
option
refval escaped_newlines : bool refval warn_latin1 : Lexing.lexbuf -> unitval handle_docstrings : bool refval comment_list : (comment * Ocaml_common.Location.t) list refval add_comment : (string * Ocaml_common.Location.t) -> unitval add_docstring_comment : Parser_extended.Docstrings.docstring -> unitval comments : unit -> (comment * Ocaml_common.Location.t) listval prepare_error :
Ocaml_common.Location.t ->
error ->
Ocaml_common.Location.errorval __ocaml_lex_tables : Lexing.lex_tablesval __ocaml_lex_token_rec :
Lexing.lexbuf ->
int ->
Parser_extended.Parser.tokenval directive : Lexing.lexbuf -> Parser_extended.Parser.tokenval __ocaml_lex_directive_rec :
Lexing.lexbuf ->
int ->
Parser_extended.Parser.tokenval comment : Lexing.lexbuf -> Ocaml_common.Location.tval __ocaml_lex_comment_rec : Lexing.lexbuf -> int -> Ocaml_common.Location.tval string : Lexing.lexbuf -> Lexing.positionval __ocaml_lex_string_rec : Lexing.lexbuf -> int -> Lexing.positionval quoted_string : string -> Lexing.lexbuf -> Lexing.positionval __ocaml_lex_quoted_string_rec :
string ->
Lexing.lexbuf ->
int ->
Lexing.positionval skip_hash_bang : Lexing.lexbuf -> unitval __ocaml_lex_skip_hash_bang_rec : Lexing.lexbuf -> int -> unitval token_with_comments : Lexing.lexbuf -> Parser_extended.Parser.tokenand docstring = Parser_extended.Docstrings.docstringval token : Lexing.lexbuf -> Parser_extended.Parser.tokenval set_preprocessor :
(unit -> unit) ->
((Lexing.lexbuf -> Parser_extended.Parser.token) ->
Lexing.lexbuf ->
Parser_extended.Parser.token) ->
unit