Lint.Program.callers.file: def of bend-lint-api@0.2.0.0 Import: import bend-lint-api@0.2.0.0/linter/lint.bend as Lint Lines 997-1009 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=997&end_line=1009 import Base import bend-lint-api@0.2.0.0/shared/names.bend as Names # `callers` after a step for each definition among a file's nodes, in order. def Program.callers.file( nodes: List<&2, Node>, +defs: Map<&2, Maybe<&2, Def>>, callers: Set() ) -> Set(): match nodes: case Nil{}: callers case Con{Node{Definition{t, u}, n, s, k, f}, rest}: Program.callers.file(rest, defs, Program.callers.step(Names.find(Def, defs, t), callers)) case Con{node, rest}: Program.callers.file(rest, defs, callers) Uses (9): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=List https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Map https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Maybe https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Set https://jend.leeeet.dev/definition.txt?path=bend-lint-api@0.2.0.0/linter/lint.bend&name=Def 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=Program.callers.step 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-api@0.2.0.0/shared/names.bend&name=find