package ocamlformat-lib
Auto-formatter for OCaml code
Install
Dune Dependency
github.com
Readme
Changelog
MIT; LGPL-2.1-only WITH OCaml-LGPL-linking-exception License
Edit opam file
Versions (5)
Authors
Maintainers
Sources
ocamlformat-0.26.0.tbz
sha256=031494ab770cef10a8f6aa1cbeb5660e46c3aa6c0cd457b110fec859a75e877d
sha512=35c0131f04c2c8ceb94f0f400e4b56690405ddebb482aec0c9962163001d9fd5b593455df08b508394949f2740ba28f1714dff9e1f17b618bdec62fd26fae281
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)"
>