package ocamlformat-lib
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
OCaml Code Formatter
Install
dune-project
Dependency
Authors
Maintainers
Sources
ocamlformat-0.28.1.tbz
sha256=70bda037d0bed961ed91bdb5198b2eeef542444750a8b015d80ccb94b3ff41fb
sha512=8de0517165c6f0cadcedcce66e57cb723956768a8068abd062243abb08fabf292283d0d284be230aa5647d0883a4dc7f28fcf1b70338a2b0c9b17a5bed1bbb71
doc/ocamlformat-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 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)"
>