EagerBranch.templates: def of bend-lint-rules@0.2.0.0 Import: import bend-lint-rules@0.2.0.0/performance/eager_branch.bend as EagerBranch Lines 181-189 of bend-lint-rules@0.2.0.0/performance/eager_branch.bend: https://jend.leeeet.dev/read.txt?path=bend-lint-rules@0.2.0.0/performance/eager_branch.bend&start_line=181&end_line=189 import Base import bend-lint-api@0.2.0.0/linter/lint.bend as Lint # The binders of the `~` parameters among a definition's nodes, onto `out`: a call of one is inlined, not a closure's. def templates(nodes: List<&2, Lint.Node>, out: List<&2, U32>) -> List<&2, U32>: match nodes: case Nil{}: out case Con{Lint.Node{Lint.Parameter{b, Lint.Template{}}, n, s, k, f}, rest}: templates(rest, b <> out) case Con{node, rest}: templates(rest, out) Uses (5): 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=Quantity https://jend.leeeet.dev/definition.txt?path=bend-lint-api@0.2.0.0/linter/lint.bend&name=Syntax