package ocamlformat-lib
Module Sugar.Let_bindingSource
Source
type t = {lb_op : Ocamlformat_stdlib.string Ocamlformat_parser_extended.Asttypes.loc;lb_pat : Extended_ast.pattern Ast.xt;lb_args : Extended_ast.expr_function_param Ocamlformat_stdlib.list;lb_typ : Extended_ast.value_constraint Ocamlformat_stdlib.option;lb_body : Extended_ast.function_body Ast.xt;lb_pun : Ocamlformat_stdlib.bool;lb_attrs : Extended_ast.ext_attrs;lb_loc : Migrate_ast.Location.t;
}Source
val of_let_binding :
ctx:Ast.t ->
first:Ocamlformat_stdlib.bool ->
Extended_ast.value_binding ->
tSource
val of_let_bindings :
ctx:Ast.t ->
Extended_ast.value_binding Ocamlformat_stdlib.list ->
t Ocamlformat_stdlib.listSource
val of_binding_ops :
Extended_ast.binding_op Ocamlformat_stdlib.list ->
t Ocamlformat_stdlib.list