def is_continued
import bend-lint-rules@0.2.0.0/layout/format.bend as Formatimport Base
1037# A record that ends in one of these goes on at the next line.
1038def is_continued(s: Sym) -> Bool:
1039 match s:
1040 case Arrow{}:
1041 True{}
1042 case Assign{}:
1043 True{}
1044 case Concat{}:
1045 True{}
1046 case AndAnd{}:
1047 True{}
1048 case OrOr{}:
1049 True{}
1050 case _:
1051 False{}