package ocamlformat-lib
Module Sugar.ExpSource
Source
val infix :
Cmts.t ->
Prec.t Ocamlformat_stdlib.option ->
Extended_ast.expression Ast.xt ->
(Ocamlformat_stdlib.string Ocamlformat_parser_extended.Asttypes.loc
Ocamlformat_stdlib.option
* Extended_ast.expression Ast.xt)
Ocamlformat_stdlib.listinfix cmts prec exp returns the infix operator and the list of operands applied to this operator from expression exp. prec is the precedence of the infix operator.