package ocamlformat-lib
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
Auto-formatter for OCaml code
Install
dune-project
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.25.1.tbz
sha256=dc8f2a330ca3930b36cacb2623bb360ed8bdf6e4a8acd293dbd9e2241a6fd33d
sha512=b28f545425fb5375447c90022d065dc7fd51ed2f66d8c1f65a71a6ad2465d039a8686e8f18249e5ad3a2362fee6149c855ef30eb45fb9d06d743a53d26b3e26f
doc/ocamlformat-lib.parser_standard/Parser_standard/Parser/index.html
Module Parser_standard.ParserSource
Source
type token = | WITH| WHILE| WHEN| VIRTUAL| VAL| UNDERSCORE| UIDENT of string| TYPE_DISAMBIGUATOR of string| TYPE| TRY| TRUE| TO| TILDE| THEN| STRUCT| STRING of string * Ocaml_common.Location.t * string option| STAR| SLASH| SIG| SEMISEMI| SEMI| RPAREN| REC| RBRACKET| RBRACE| QUOTED_STRING_ITEM of string * Ocaml_common.Location.t * string * Ocaml_common.Location.t * string option| QUOTED_STRING_EXPR of string * Ocaml_common.Location.t * string * Ocaml_common.Location.t * string option| QUOTE| QUESTION| PRIVATE| PREFIXOP of string| PLUSEQ| PLUSDOT| PLUS| PERCENT| OR| OPTLABEL of string| OPEN| OF| OBJECT| NONREC| NEW| MUTABLE| MODULE| MINUSGREATER| MINUSDOT| MINUS| METHOD| MATCH| LPAREN| LIDENT of string| LETOP of string| LET| LESSMINUS| LESS| LBRACKETPERCENTPERCENT| LBRACKETPERCENT| LBRACKETLESS| LBRACKETGREATER| LBRACKETBAR| LBRACKETATATAT| LBRACKETATAT| LBRACKETAT| LBRACKET| LBRACELESS| LBRACE| LAZY| LABEL of string| INT of string * char option| INITIALIZER| INHERIT| INFIXOP4 of string| INFIXOP3 of string| INFIXOP2 of string| INFIXOP1 of string| INFIXOP0 of string| INCLUDE| IN| IF| HASHOP of string| HASH| GREATERRBRACKET| GREATERRBRACE| GREATER| FUNCTOR| FUNCTION| FUN| FOR| FLOAT of string * char option| FALSE| EXTERNAL| EXCEPTION| EQUAL| EOL| EOF| END| ELSE| DOWNTO| DOTOP of string| DOTDOT| DOT| DONE| DOCSTRING of Docstrings.docstring| DO| CONSTRAINT| COMMENT of string * Ocaml_common.Location.t| COMMA| COLONGREATER| COLONEQUAL| COLONCOLON| COLON| CLASS| CHAR of char| BEGIN| BARRBRACKET| BARBAR| BAR| BANG| BACKQUOTE| ASSERT| AS| ANDOP of string| AND| AMPERSAND| AMPERAMPER
Source
val parse_val_longident :
(Lexing.lexbuf -> token) ->
Lexing.lexbuf ->
Ocaml_common.Longident.tSource
val parse_mty_longident :
(Lexing.lexbuf -> token) ->
Lexing.lexbuf ->
Ocaml_common.Longident.tSource
val parse_mod_longident :
(Lexing.lexbuf -> token) ->
Lexing.lexbuf ->
Ocaml_common.Longident.tSource
val parse_mod_ext_longident :
(Lexing.lexbuf -> token) ->
Lexing.lexbuf ->
Ocaml_common.Longident.tSource
val parse_constr_longident :
(Lexing.lexbuf -> token) ->
Lexing.lexbuf ->
Ocaml_common.Longident.tSource
val parse_any_longident :
(Lexing.lexbuf -> token) ->
Lexing.lexbuf ->
Ocaml_common.Longident.t sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>