package ocamlformat-mlx-lib

  1. Overview
  2. Docs
Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source

Module Ocamlformat_parser_standard.LexerSource

Sourcetype error =
  1. | Illegal_character of char
  2. | Illegal_escape of string * string option
  3. | Reserved_sequence of string * string option
  4. | Unterminated_comment of Ocamlformat_ocaml_common.Location.t
  5. | Unterminated_string
  6. | Unterminated_string_in_comment of Ocamlformat_ocaml_common.Location.t * Ocamlformat_ocaml_common.Location.t
  7. | Empty_character_literal
  8. | Keyword_as_label of string
  9. | Capitalized_label of string
  10. | Invalid_literal of string
  11. | Invalid_directive of string * string option
  12. | Invalid_encoding of string
  13. | Invalid_char_in_ident of Ocamlformat_parser_shims.Uchar.t
  14. | Non_lowercase_delimiter of string
  15. | Capitalized_raw_identifier of string
  16. | Unknown_keyword of string
Sourceval all_keywords : (string * Parser.token * (int * int) option) list
Sourceval keyword_table : (string, Parser.token option) Hashtbl.t
Sourceval populate_keywords : ((int * int) option * string list) -> unit
Sourceval string_buffer : Buffer.t
Sourceval reset_string_buffer : unit -> unit
Sourceval get_stored_string : unit -> string
Sourceval store_string_char : char -> unit
Sourceval store_string_utf_8_uchar : Uchar.t -> unit
Sourceval store_string : string -> unit
Sourceval store_substring : string -> pos:int -> len:int -> unit
Sourceval store_lexeme : Lexing.lexbuf -> unit
Sourceval store_normalized_newline : string -> unit
Sourceval comment_start_loc : Ocamlformat_ocaml_common.Location.t list ref
Sourceval in_comment : unit -> bool
Sourceval is_in_string : bool ref
Sourceval in_string : unit -> bool
Sourceval print_warnings : bool ref
Sourceval store_escaped_char : Lexing.lexbuf -> char -> unit
Sourceval store_escaped_uchar : Lexing.lexbuf -> Uchar.t -> unit
Sourceval compute_quoted_string_idloc : Ocamlformat_ocaml_common.Location.t -> int -> string -> Ocamlformat_ocaml_common.Location.t
Sourceval error : Lexing.lexbuf -> error -> 'a
Sourceval digit_value : char -> int
Sourceval num_value : Lexing.lexbuf -> base:int -> first:int -> last:int -> int
Sourceval char_for_backslash : char -> char
Sourceval illegal_escape : Lexing.lexbuf -> string -> 'a
Sourceval char_for_decimal_code : Lexing.lexbuf -> int -> char
Sourceval char_for_octal_code : Lexing.lexbuf -> int -> char
Sourceval char_for_hexadecimal_code : Lexing.lexbuf -> int -> char
Sourceval validate_encoding : Lexing.lexbuf -> string -> string
Sourceval ident_for_extended : Lexing.lexbuf -> string -> string
Sourceval validate_delim : Lexing.lexbuf -> string -> string
Sourceval validate_ext : Lexing.lexbuf -> string -> string
Sourceval lax_delim : string -> string option
Sourceval is_keyword : string -> bool
Sourceval find_keyword : Lexing.lexbuf -> string -> Parser.token
Sourceval check_label_name : ?raw_escape:bool -> Lexing.lexbuf -> string -> unit
Sourceval set_lexeme_length : Lexing.lexbuf -> int -> unit
Sourceval disambiguate : Lexing.lexbuf -> string -> Parser.token
Sourceval try_disambiguate : Lexing.lexbuf -> Parser.token -> Parser.token option
Sourceval update_loc : Lexing.lexbuf -> string option -> int -> bool -> int -> unit
Sourceval preprocessor : ((unit -> unit) * ((Lexing.lexbuf -> Parser.token) -> Lexing.lexbuf -> Parser.token)) option ref
Sourceval escaped_newlines : bool ref
Sourceval handle_docstrings : bool ref
Sourceval comment_list : (string * Ocamlformat_ocaml_common.Location.t) list ref
Sourceval add_comment : (string * Ocamlformat_ocaml_common.Location.t) -> unit
Sourceval add_docstring_comment : Docstrings.docstring -> unit
Sourceval comments : unit -> (string * Ocamlformat_ocaml_common.Location.t) list
Sourceval __ocaml_lex_tables : Lexing.lex_tables
Sourceval __ocaml_lex_token_rec : Lexing.lexbuf -> int -> Parser.token
Sourceval __ocaml_lex_directive_rec : Lexing.lexbuf -> int -> Parser.token
Sourceval __ocaml_lex_comment_rec : Lexing.lexbuf -> int -> Ocamlformat_ocaml_common.Location.t
Sourceval __ocaml_lex_string_rec : Lexing.lexbuf -> int -> Lexing.position
Sourceval quoted_string : string -> Lexing.lexbuf -> Lexing.position
Sourceval __ocaml_lex_quoted_string_rec : string -> Lexing.lexbuf -> int -> Lexing.position
Sourceval skip_hash_bang : Lexing.lexbuf -> unit
Sourceval __ocaml_lex_skip_hash_bang_rec : Lexing.lexbuf -> int -> unit
Sourceval token_with_comments : Lexing.lexbuf -> Parser.token
Sourcetype newline_state =
  1. | NoLine
  2. | NewLine
  3. | BlankLine
Sourcetype doc_state =
  1. | Initial
  2. | After of docstring list
  3. | Before of docstring list * docstring list * docstring list
Sourceval init : ?keyword_edition:((int * int) option * string list) -> unit -> unit
Sourceval set_preprocessor : (unit -> unit) -> ((Lexing.lexbuf -> Parser.token) -> Lexing.lexbuf -> Parser.token) -> unit
OCaml

Innovation. Community. Security.