Sugar.Let_binding
type t = {
lb_op : Ocamlformat_stdlib.string Parser_extended.Asttypes.loc;
lb_pat : Ocamlformat_lib.Extended_ast.pattern Ocamlformat_lib.Ast.xt;
lb_args : arg_kind Ocamlformat_stdlib.list;
lb_typ : [ `Coerce of
Ocamlformat_lib.Extended_ast.core_type Ocamlformat_lib.Ast.xt
Ocamlformat_stdlib.option
* Ocamlformat_lib.Extended_ast.core_type Ocamlformat_lib.Ast.xt
| `None
| `Other of
Ocamlformat_lib.Extended_ast.core_type Ocamlformat_lib.Ast.xt
| `Polynewtype of
Parser_extended.Asttypes.label Parser_extended.Asttypes.loc
Ocamlformat_stdlib.list
* Ocamlformat_lib.Extended_ast.core_type Ocamlformat_lib.Ast.xt ];
lb_exp : Ocamlformat_lib.Extended_ast.expression Ocamlformat_lib.Ast.xt;
lb_pun : Ocamlformat_stdlib.bool;
lb_attrs : Ocamlformat_lib.Extended_ast.attribute Ocamlformat_stdlib.list;
lb_loc : Ocamlformat_lib.Migrate_ast.Location.t;
}
val of_let_binding :
Ocamlformat_lib.Cmts.t ->
ctx:Ocamlformat_lib.Ast.t ->
first:Ocamlformat_stdlib.bool ->
Ocamlformat_lib.Extended_ast.value_binding ->
t
val of_let_bindings :
Ocamlformat_lib.Cmts.t ->
ctx:Ocamlformat_lib.Ast.t ->
Ocamlformat_lib.Extended_ast.value_binding Ocamlformat_stdlib.list ->
t Ocamlformat_stdlib.list
val of_binding_ops :
Ocamlformat_lib.Cmts.t ->
ctx:Ocamlformat_lib.Ast.t ->
Ocamlformat_lib.Extended_ast.binding_op Ocamlformat_stdlib.list ->
t Ocamlformat_stdlib.list