package ocamlformat-mlx-lib
OCaml .mlx Code Formatter
Install
Dune Dependency
Authors
Maintainers
Sources
ocamlformat-mlx-0.27.0.tbz
sha256=6a40faa182faee55f32bc92387b7e7f97818e160e0f4ef0e0032c0b8b70b86d1
sha512=7df487ebdcddff3529886e034fa9d5476c765c60926b11b8d86fb0e42bea3ee41f693c898e7f95bfc19ca9fa0116825c040a3e027c1e3b7505ebe6c6508540ec
doc/ocamlformat-mlx-lib.parser_extended/Ocamlformat_parser_extended/Lexer/index.html
Module Ocamlformat_parser_extended.Lexer
Source
Source
type error =
| Illegal_character of char
| Illegal_escape of string * string option
| Reserved_sequence of string * string option
| Unterminated_comment of Ocamlformat_ocaml_common.Location.t
| Unterminated_string
| Unterminated_string_in_comment of Ocamlformat_ocaml_common.Location.t * Ocamlformat_ocaml_common.Location.t
| Empty_character_literal
| Keyword_as_label of string
| Capitalized_label of string
| Invalid_literal of string
| Invalid_directive of string * string option
| Invalid_encoding of string
| Invalid_char_in_ident of Ocamlformat_parser_shims.Uchar.t
| Non_lowercase_delimiter of string
| Capitalized_raw_identifier of string
| Unknown_keyword of string
Source
val compute_quoted_string_idloc :
Ocamlformat_ocaml_common.Location.t ->
int ->
string ->
Ocamlformat_ocaml_common.Location.t
Source
val wrap_string_lexer :
(Lexing.lexbuf -> Lexing.position) ->
Lexing.lexbuf ->
string * Ocamlformat_ocaml_common.Location.t
Source
val wrap_comment_lexer :
(Lexing.lexbuf -> Ocamlformat_ocaml_common.Location.t) ->
Lexing.lexbuf ->
string * Ocamlformat_ocaml_common.Location.t
Source
val preprocessor :
((unit ->
unit)
* ((Lexing.lexbuf -> Parser.token) ->
Lexing.lexbuf ->
Parser.token))
option
ref
Source
val prepare_error :
Ocamlformat_ocaml_common.Location.t ->
error ->
Ocamlformat_ocaml_common.Location.error
Source
val set_preprocessor :
(unit -> unit) ->
((Lexing.lexbuf -> Parser.token) -> Lexing.lexbuf -> Parser.token) ->
unit
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>