package ocamlformat-mlx-lib
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
OCaml .mlx Code Formatter
Install
dune-project
Dependency
Authors
Maintainers
Sources
ocamlformat-mlx-0.28.1.1.tbz
sha256=087d7256a52808715875814d8bccf9172f97e933b398fc8d29ec40dc89fa9e0e
sha512=809b690e6c21110f81918dfdb1b5efecd185a4f26eadb2bb3aa6eb8069db20989e8797650b22a2207b6b26abe97db357c2dc6056943a3a4f630c4e1a0ebb4f1b
doc/ocamlformat-mlx-lib.parser_extended/Ocamlformat_parser_extended/Printast/index.html
Module Ocamlformat_parser_extended.PrintastSource
Source
type cmts = {before : Ocamlformat_ocaml_common.Location.t -> string list option;within : Ocamlformat_ocaml_common.Location.t -> string list option;after : Ocamlformat_ocaml_common.Location.t -> string list option;
}Source
val fmt_longident_loc :
Format.formatter ->
Ocamlformat_ocaml_common.Longident.t Ocamlformat_ocaml_common.Location.loc ->
unitSource
val fmt_str_opt_loc :
Format.formatter ->
string option Ocamlformat_ocaml_common.Location.loc ->
unitSource
val list :
int ->
(int -> Format.formatter -> 'a -> unit) ->
Format.formatter ->
'a list ->
unitSource
val option :
int ->
(int -> Format.formatter -> 'a -> unit) ->
Format.formatter ->
'a option ->
unitSource
val longident_loc :
int ->
Format.formatter ->
Ocamlformat_ocaml_common.Longident.t Ocamlformat_ocaml_common.Location.loc ->
unitSource
val string_loc :
int ->
Format.formatter ->
string Ocamlformat_ocaml_common.Location.loc ->
unitSource
val str_opt_loc :
int ->
Format.formatter ->
string option Ocamlformat_ocaml_common.Location.loc ->
unitSource
val typevars :
Format.formatter ->
Ocamlformat_parser_shims.String.t Ocamlformat_ocaml_common.Location.loc list ->
unitSource
val labeled_tuple_element :
(int -> Format.formatter -> 'a -> 'b) ->
int ->
Format.formatter ->
'a Parsetree.labeled_tuple_element ->
'bSource
val labeled_tuple_element_with_pun :
(int -> Format.formatter -> 'a -> unit) ->
(int -> Format.formatter -> 'b -> unit) ->
int ->
Format.formatter ->
('b, 'a) Parsetree.labeled_tuple_element_with_pun ->
unitSource
val package_with :
int ->
Format.formatter ->
(Ocamlformat_ocaml_common.Longident.t Asttypes.loc * Parsetree.core_type) ->
unitSource
val pparam_val :
int ->
Format.formatter ->
loc:Ocamlformat_ocaml_common.Location.t ->
Parsetree.pparam_val ->
unitSource
val type_parameter :
int ->
Format.formatter ->
(Parsetree.core_type * Asttypes.variance_and_injectivity) ->
unitSource
val extension_constructor :
int ->
Format.formatter ->
Parsetree.extension_constructor ->
unitSource
val extension_constructor_kind :
int ->
Format.formatter ->
Parsetree.extension_constructor_kind ->
unitSource
val class_infos :
'a. string ->
(int -> Format.formatter -> 'a -> unit) ->
int ->
Format.formatter ->
'a Parsetree.class_infos ->
unitSource
val class_description :
int ->
Format.formatter ->
Parsetree.class_type Parsetree.class_infos ->
unitSource
val class_field_value_kind :
int ->
Format.formatter ->
Parsetree.class_field_value_kind ->
unitSource
val class_field_method_kind :
int ->
Format.formatter ->
Parsetree.class_field_method_kind ->
unitSource
val functor_parameter :
int ->
Format.formatter ->
Parsetree.functor_parameter Asttypes.loc ->
unitSource
val functor_parameter_type :
int ->
Format.formatter ->
Parsetree.functor_parameters_type ->
unitSource
val module_type_declaration :
int ->
Format.formatter ->
Parsetree.module_type_declaration ->
unitSource
val core_type_x_core_type_x_location :
int ->
Format.formatter ->
(Parsetree.core_type
* Parsetree.core_type
* Ocamlformat_ocaml_common.Location.t) ->
unitSource
val constructor_arguments :
int ->
Format.formatter ->
Parsetree.constructor_arguments ->
unitSource
val longident_x_pattern :
int ->
Format.formatter ->
(Ocamlformat_ocaml_common.Longident.t Asttypes.loc
* Parsetree.core_type option
* Parsetree.pattern option) ->
unitSource
val open_infos :
'a. string ->
(int -> Format.formatter -> 'a -> unit) ->
int ->
Format.formatter ->
'a Parsetree.open_infos ->
unitSource
val include_infos :
'a. string ->
(int -> Format.formatter -> 'a -> unit) ->
int ->
Format.formatter ->
'a Parsetree.include_infos ->
unitSource
val string_x_expression :
int ->
Format.formatter ->
(Asttypes.label Asttypes.loc * Parsetree.expression) ->
unitSource
val longident_x_expression :
int ->
Format.formatter ->
(Ocamlformat_ocaml_common.Longident.t Asttypes.loc
* Parsetree.type_constraint option
* Parsetree.expression option) ->
unitSource
val label_x_expression :
int ->
Format.formatter ->
(Asttypes.arg_label * Parsetree.expression) ->
unitSource
val class_function_param :
Format.formatter ->
Parsetree.pparam_val Parsetree.function_param ->
unitSource
val class_declaration :
Format.formatter ->
Parsetree.class_expr Parsetree.class_infos ->
unitSource
val class_type_declaration :
Format.formatter ->
Parsetree.class_type Parsetree.class_infos ->
unit sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>