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