package ocamlformat-lib
OCaml Code Formatter
Install
Dune Dependency
Authors
Maintainers
Sources
ocamlformat-0.26.1.tbz
sha256=da006e427f15b9ec612fb808d446599bd9b7c3ee25abeb3d555747a70d74c6d7
sha512=b7413f8dc47ba3a2372e89d59cae54f9a602ab81e31cd14ed986a831111080b79a5a3cc45dac04d8ffae5054c35bf29fe9559f145c76c87a30e191ed5400942a
doc/ocamlformat-lib.parser_standard/Parser_standard/Lexer/index.html
Module 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 Ocaml_common.Location.t
| Unterminated_string
| Unterminated_string_in_comment of Ocaml_common.Location.t * Ocaml_common.Location.t
| Empty_character_literal
| Keyword_as_label of string
| Invalid_literal of string
| Invalid_directive of string * string option
Source
val compute_quoted_string_idloc :
Ocaml_common.Location.t ->
int ->
string ->
Ocaml_common.Location.t
Source
val wrap_string_lexer :
(Lexing.lexbuf -> Lexing.position) ->
Lexing.lexbuf ->
string * Ocaml_common.Location.t
Source
val wrap_comment_lexer :
(Lexing.lexbuf -> Ocaml_common.Location.t) ->
Lexing.lexbuf ->
string * Ocaml_common.Location.t
Source
val preprocessor :
((unit ->
unit)
* ((Lexing.lexbuf -> Parser.token) ->
Lexing.lexbuf ->
Parser.token))
option
ref
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)"
>