package ocamlformat-mlx-lib

  1. Overview
  2. Docs
OCaml .mlx Code Formatter

Install

Dune Dependency

Authors

Maintainers

Sources

0.26.2.0.tar.gz
md5=4b32d3b57da54157a0cd8f772094f4bc
sha512=367eeb5d81060a3efb584796cc72cc75d974975bb9b18be6284a86f5937edb90927368fd80e00b3f4c1894e609b4a1503c20d4495c624560243e5055f905390a

doc/ocamlformat-mlx-lib.parser_extended/Parser_extended/Lexer/index.html

Module Parser_extended.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 Ocaml_common.Location.t
  5. | Unterminated_string
  6. | Unterminated_string_in_comment of Ocaml_common.Location.t * Ocaml_common.Location.t
  7. | Empty_character_literal
  8. | Keyword_as_label of string
  9. | Invalid_literal of string
  10. | Invalid_directive of string * string option
Sourceval keyword_table : (string, Parser.token) Hashtbl.t
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_lexeme : Lexing.lexbuf -> unit
Sourceval string_start_loc : Ocaml_common.Location.t ref
Sourceval comment_start_loc : 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 : Ocaml_common.Location.t -> int -> string -> Ocaml_common.Location.t
Sourceval wrap_string_lexer : (Lexing.lexbuf -> Lexing.position) -> Lexing.lexbuf -> string * Ocaml_common.Location.t
Sourceval error : Lexing.lexbuf -> error -> 'a
Sourceval error_loc : Ocaml_common.Location.t -> 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 uchar_for_uchar_escape : Lexing.lexbuf -> Uchar.t
Sourceval is_keyword : string -> bool
Sourceval check_label_name : 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 warn_latin1 : Lexing.lexbuf -> unit
Sourcetype comment = [
  1. | `Comment of string
  2. | `Docstring of string
]
Sourceval handle_docstrings : bool ref
Sourceval comment_list : (comment * Ocaml_common.Location.t) list ref
Sourceval add_comment : (string * Ocaml_common.Location.t) -> unit
Sourceval add_docstring_comment : Docstrings.docstring -> unit
Sourceval comments : unit -> (comment * 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 -> 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 : unit -> unit
Sourceval set_preprocessor : (unit -> unit) -> ((Lexing.lexbuf -> Parser.token) -> Lexing.lexbuf -> Parser.token) -> unit
OCaml

Innovation. Community. Security.