package ocamlformat-lib
OCaml Code Formatter
Install
Dune Dependency
Authors
Maintainers
Sources
ocamlformat-0.27.0.tbz
sha256=ddbf484c076d08f99400ee84b790ec231f5c8fcbd5d3324a6400d5388e846d15
sha512=4d2a8965a7b7ad45f8f4e76c01cf38bfa68462b07dfa7bdb2db23bd3e3017b214e6780f036679fa8595dde4167a01d957e3af8837274320449014e306773f917
doc/ocamlformat-lib.parser_extended/Ocamlformat_parser_extended/Printast/index.html
Module Ocamlformat_parser_extended.Printast
Source
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 ->
unit
Source
val fmt_str_opt_loc :
Format.formatter ->
string option Ocamlformat_ocaml_common.Location.loc ->
unit
Source
val list :
int ->
(int -> Format.formatter -> 'a -> unit) ->
Format.formatter ->
'a list ->
unit
Source
val option :
int ->
(int -> Format.formatter -> 'a -> unit) ->
Format.formatter ->
'a option ->
unit
Source
val longident_loc :
int ->
Format.formatter ->
Ocamlformat_ocaml_common.Longident.t Ocamlformat_ocaml_common.Location.loc ->
unit
Source
val string_loc :
int ->
Format.formatter ->
string Ocamlformat_ocaml_common.Location.loc ->
unit
Source
val str_opt_loc :
int ->
Format.formatter ->
string option Ocamlformat_ocaml_common.Location.loc ->
unit
Source
val typevars :
Format.formatter ->
Ocamlformat_parser_shims.String.t Ocamlformat_ocaml_common.Location.loc list ->
unit
Source
val package_with :
int ->
Format.formatter ->
(Ocamlformat_ocaml_common.Longident.t Ocamlformat_ocaml_common.Location.loc
* Parsetree.core_type) ->
unit
Source
val pparam_val :
int ->
Format.formatter ->
loc:Ocamlformat_ocaml_common.Location.t ->
Parsetree.pparam_val ->
unit
Source
val type_parameter :
int ->
Format.formatter ->
(Parsetree.core_type * Asttypes.variance_and_injectivity) ->
unit
Source
val extension_constructor :
int ->
Format.formatter ->
Parsetree.extension_constructor ->
unit
Source
val extension_constructor_kind :
int ->
Format.formatter ->
Parsetree.extension_constructor_kind ->
unit
Source
val class_infos :
'a. string ->
(int -> Format.formatter -> 'a -> unit) ->
int ->
Format.formatter ->
'a Parsetree.class_infos ->
unit
Source
val class_description :
int ->
Format.formatter ->
Parsetree.class_type Parsetree.class_infos ->
unit
Source
val class_field_value_kind :
int ->
Format.formatter ->
Parsetree.class_field_value_kind ->
unit
Source
val class_field_method_kind :
int ->
Format.formatter ->
Parsetree.class_field_method_kind ->
unit
Source
val functor_parameter :
int ->
Format.formatter ->
Parsetree.functor_parameter Asttypes.loc ->
unit
Source
val module_type_declaration :
int ->
Format.formatter ->
Parsetree.module_type_declaration ->
unit
Source
val core_type_x_core_type_x_location :
int ->
Format.formatter ->
(Parsetree.core_type
* Parsetree.core_type
* Ocamlformat_ocaml_common.Location.t) ->
unit
Source
val constructor_arguments :
int ->
Format.formatter ->
Parsetree.constructor_arguments ->
unit
Source
val longident_x_pattern :
int ->
Format.formatter ->
(Ocamlformat_ocaml_common.Longident.t Asttypes.loc
* Parsetree.core_type option
* Parsetree.pattern option) ->
unit
Source
val open_infos :
'a. string ->
(int -> Format.formatter -> 'a -> unit) ->
int ->
Format.formatter ->
'a Parsetree.open_infos ->
unit
Source
val include_infos :
'a. string ->
(int -> Format.formatter -> 'a -> unit) ->
int ->
Format.formatter ->
'a Parsetree.include_infos ->
unit
Source
val string_x_expression :
int ->
Format.formatter ->
(Asttypes.label Asttypes.loc * Parsetree.expression) ->
unit
Source
val longident_x_expression :
int ->
Format.formatter ->
(Ocamlformat_ocaml_common.Longident.t Asttypes.loc
* Parsetree.type_constraint option
* Parsetree.expression option) ->
unit
Source
val label_x_expression :
int ->
Format.formatter ->
(Asttypes.arg_label * Parsetree.expression) ->
unit
Source
val class_function_param :
Format.formatter ->
Parsetree.pparam_val Parsetree.function_param ->
unit
Source
val class_declaration :
Format.formatter ->
Parsetree.class_expr Parsetree.class_infos ->
unit
Source
val class_type_declaration :
Format.formatter ->
Parsetree.class_type Parsetree.class_infos ->
unit
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>