package ocamlformat-mlx-lib
OCaml .mlx Code Formatter
Install
Dune Dependency
Authors
Maintainers
Sources
ocamlformat-mlx-0.27.0.1.tbz
sha256=4557bcca3d2bd2b6d37b046a84a82a1bed83e46e45e363c0b209d30d70c0ec77
sha512=2802651c733bf3535ce9d2e4e533729da75b17e9507d911f4d79d1a68f35ddfb82db1daf8815a46d57a9937dea5b5466d523739c217ace0e446738208037ec2d
doc/ocamlformat-mlx-lib.parser_standard/Ocamlformat_parser_standard/Lexer/index.html
Module Ocamlformat_parser_standard.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)"
>