MissedFork.starts: def of bend-lint-rules@0.2.0.0 Import: import bend-lint-rules@0.2.0.0/performance/missed_fork.bend as MissedFork Lines 249-257 of bend-lint-rules@0.2.0.0/performance/missed_fork.bend: https://jend.leeeet.dev/read.txt?path=bend-lint-rules@0.2.0.0/performance/missed_fork.bend&start_line=249&end_line=257 import Base import bend-lint-api@0.2.0.0/linter/lint.bend as Lint # Whether the node below `path` starts an expression: the node above it ends one, or is a choice. def starts(path: List<&2, Lint.Above>) -> Bool: match path: case Nil{}: True{} case Con{Lint.Above{Lint.Node{Lint.Application{}, n, s, kids, f}, at}, rest}: is_choice(kids) case Con{Lint.Above{Lint.Node{syntax, n, s, k, f}, at}, rest}: is_boundary(syntax) Uses (7): 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=bend-lint-api@0.2.0.0/linter/lint.bend&name=Above 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 https://jend.leeeet.dev/definition.txt?path=bend-lint-rules@0.2.0.0/performance/missed_fork.bend&name=is_boundary https://jend.leeeet.dev/definition.txt?path=bend-lint-rules@0.2.0.0/performance/missed_fork.bend&name=is_choice