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/Ast_mapper/index.html
Module Ocamlformat_parser_extended.Ast_mapperSource
module String = Ocamlformat_parser_shims.Misc.Stdlib.StringSource
type mapper = {arg_label : mapper -> Asttypes.arg_label -> Asttypes.arg_label;attribute : mapper -> Parsetree.attribute -> Parsetree.attribute;attributes : mapper -> Parsetree.attribute list -> Parsetree.attribute list;ext_attrs : mapper -> Parsetree.ext_attrs -> Parsetree.ext_attrs;infix_ext_attrs : mapper -> Parsetree.infix_ext_attrs -> Parsetree.infix_ext_attrs;binding_op : mapper -> Parsetree.binding_op -> Parsetree.binding_op;case : mapper -> Parsetree.case -> Parsetree.case;cases : mapper -> Parsetree.case list -> Parsetree.case list;class_declaration : mapper -> Parsetree.class_declaration -> Parsetree.class_declaration;class_description : mapper -> Parsetree.class_description -> Parsetree.class_description;class_expr : mapper -> Parsetree.class_expr -> Parsetree.class_expr;class_field : mapper -> Parsetree.class_field -> Parsetree.class_field;class_signature : mapper -> Parsetree.class_signature -> Parsetree.class_signature;class_structure : mapper -> Parsetree.class_structure -> Parsetree.class_structure;class_type : mapper -> Parsetree.class_type -> Parsetree.class_type;class_type_declaration : mapper -> Parsetree.class_type_declaration -> Parsetree.class_type_declaration;class_type_field : mapper -> Parsetree.class_type_field -> Parsetree.class_type_field;constant : mapper -> Parsetree.constant -> Parsetree.constant;constructor_declaration : mapper -> Parsetree.constructor_declaration -> Parsetree.constructor_declaration;directive_argument : mapper -> Parsetree.directive_argument -> Parsetree.directive_argument;expr : mapper -> Parsetree.expression -> Parsetree.expression;extension : mapper -> Parsetree.extension -> Parsetree.extension;extension_constructor : mapper -> Parsetree.extension_constructor -> Parsetree.extension_constructor;include_declaration : mapper -> Parsetree.include_declaration -> Parsetree.include_declaration;include_description : mapper -> Parsetree.include_description -> Parsetree.include_description;label_declaration : mapper -> Parsetree.label_declaration -> Parsetree.label_declaration;location : mapper -> Ocamlformat_ocaml_common.Location.t -> Ocamlformat_ocaml_common.Location.t;module_binding : mapper -> Parsetree.module_binding -> Parsetree.module_binding;module_declaration : mapper -> Parsetree.module_declaration -> Parsetree.module_declaration;module_substitution : mapper -> Parsetree.module_substitution -> Parsetree.module_substitution;module_expr : mapper -> Parsetree.module_expr -> Parsetree.module_expr;module_type : mapper -> Parsetree.module_type -> Parsetree.module_type;module_type_declaration : mapper -> Parsetree.module_type_declaration -> Parsetree.module_type_declaration;open_declaration : mapper -> Parsetree.open_declaration -> Parsetree.open_declaration;open_description : mapper -> Parsetree.open_description -> Parsetree.open_description;package_type : mapper -> Parsetree.package_type -> Parsetree.package_type;pat : mapper -> Parsetree.pattern -> Parsetree.pattern;payload : mapper -> Parsetree.payload -> Parsetree.payload;signature : mapper -> Parsetree.signature -> Parsetree.signature;signature_item : mapper -> Parsetree.signature_item -> Parsetree.signature_item;structure : mapper -> Parsetree.structure -> Parsetree.structure;structure_item : mapper -> Parsetree.structure_item -> Parsetree.structure_item;toplevel_directive : mapper -> Parsetree.toplevel_directive -> Parsetree.toplevel_directive;toplevel_phrase : mapper -> Parsetree.toplevel_phrase -> Parsetree.toplevel_phrase;typ : mapper -> Parsetree.core_type -> Parsetree.core_type;type_declaration : mapper -> Parsetree.type_declaration -> Parsetree.type_declaration;type_extension : mapper -> Parsetree.type_extension -> Parsetree.type_extension;type_exception : mapper -> Parsetree.type_exception -> Parsetree.type_exception;type_kind : mapper -> Parsetree.type_kind -> Parsetree.type_kind;value_binding : mapper -> Parsetree.value_binding -> Parsetree.value_binding;value_bindings : mapper -> Parsetree.value_bindings -> Parsetree.value_bindings;value_description : mapper -> Parsetree.value_description -> Parsetree.value_description;with_constraint : mapper -> Parsetree.with_constraint -> Parsetree.with_constraint;repl_phrase : mapper -> Parsetree.repl_phrase -> Parsetree.repl_phrase;
}Source
val map_loc :
mapper ->
'a Ocamlformat_ocaml_common.Location.loc ->
'a Ocamlformat_ocaml_common.Location.locSource
val map_lid :
mapper ->
Ocamlformat_ocaml_common.Longident.t ->
Ocamlformat_ocaml_common.Longident.tSource
val map_tuple_elt :
mapper ->
(mapper -> 'a -> 'b) ->
'a Parsetree.labeled_tuple_element ->
'b Parsetree.labeled_tuple_elementSource
val map_tuple_elts :
mapper ->
(mapper -> 'a -> 'b) ->
'a Parsetree.labeled_tuple_element list ->
'b Parsetree.labeled_tuple_element listSource
val map_tuple_elts_with_pun :
mapper ->
(mapper -> 'a -> 'b) ->
(mapper -> 'c -> 'd) ->
('c, 'a) Parsetree.labeled_tuple_element_with_pun list ->
('d, 'b) Parsetree.labeled_tuple_element_with_pun list sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>