package ocamlformat-lib
OCaml Code Formatter
Install
Dune Dependency
Authors
Maintainers
Sources
ocamlformat-0.27.0.tbz
sha256=ddbf484c076d08f99400ee84b790ec231f5c8fcbd5d3324a6400d5388e846d15
sha512=4d2a8965a7b7ad45f8f4e76c01cf38bfa68462b07dfa7bdb2db23bd3e3017b214e6780f036679fa8595dde4167a01d957e3af8837274320449014e306773f917
doc/ocamlformat-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)"
>