Lint.Node.bound: def of bend-lint-api@0.2.0.0 Import: import bend-lint-api@0.2.0.0/linter/lint.bend as Lint Lines 278-288 of bend-lint-api@0.2.0.0/linter/lint.bend: https://jend.leeeet.dev/read.txt?path=bend-lint-api@0.2.0.0/linter/lint.bend&start_line=278&end_line=288 import Base # The binders of the pattern variables in `nodes`, patterns, and under them, onto `out`. def Node.bound(nodes: List<&2, Node>, out: List<&2, U32>) -> List<&2, U32>: match nodes: case Nil{}: out case Con{Node{PatternVariable{b, q}, n, s, k, f}, rest}: Node.bound(rest, b <> out) case Con{Node{PatternConstructor{t}, n, s, kids, f}, rest}: Node.bound(rest, Node.bound(kids, out)) case Con{node, rest}: Node.bound(rest, out) Uses (4): 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-api@0.2.0.0/linter/lint.bend&name=Node https://jend.leeeet.dev/definition.txt?path=bend-lint-api@0.2.0.0/linter/lint.bend&name=Syntax