Format.visit: def of bend-lint-rules@0.2.0.0 Import: import bend-lint-rules@0.2.0.0/layout/format.bend as Format Lines 1773-1790 of bend-lint-rules@0.2.0.0/layout/format.bend: https://jend.leeeet.dev/read.txt?path=bend-lint-rules@0.2.0.0/layout/format.bend&start_line=1773&end_line=1790 import Base def visit( +mode: Mode, n: Tree, d: Doc, rest: List<&2, Tree>, tab: U32, base: U32, st: State ) -> State: match mode st: case Plain{} State{seq, sp}: State{Seq.visit(n, d, rest, tab, False{}, seq), sp} case Block{open, close} State{seq, sp}: State{Seq.visit(n, d, rest, tab, True{}, seq), sp} case Parts{open, close} st2: Split.visit(n, d, rest, tab, base, st2) case Bare{open, close} st2: st2 Uses (9): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=List https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32 https://jend.leeeet.dev/definition.txt?path=bend-lint-rules@0.2.0.0/layout/format.bend&name=Doc https://jend.leeeet.dev/definition.txt?path=bend-lint-rules@0.2.0.0/layout/format.bend&name=Mode https://jend.leeeet.dev/definition.txt?path=bend-lint-rules@0.2.0.0/layout/format.bend&name=Seq.visit https://jend.leeeet.dev/definition.txt?path=bend-lint-rules@0.2.0.0/layout/format.bend&name=Split.visit https://jend.leeeet.dev/definition.txt?path=bend-lint-rules@0.2.0.0/layout/format.bend&name=State https://jend.leeeet.dev/definition.txt?path=bend-lint-rules@0.2.0.0/layout/format.bend&name=Tree