BendLintRules.places: def of bend-lint-rules@0.2.0.0 Import: import bend-lint-rules@0.2.0.0/lib/text/main.bend as BendLintRules Lines 394-398 of bend-lint-rules@0.2.0.0/lib/text/main.bend: https://jend.leeeet.dev/read.txt?path=bend-lint-rules@0.2.0.0/lib/text/main.bend&start_line=394&end_line=398 import Base # Where each requested offset is, by key (read with `Place.at`): one pass over each file asked about, whatever the # number of requests. `texts` holds the files' texts, by path. def places(texts: Map<&2, String>, requests: List<&2, Place>) -> Map<&2, Position>: +groups = places.group(requests, Map.new(&2, List<&2, Placed>)) places.walk(Map.keys(&2, List<&2, Placed>, groups), groups, texts, Map.new(&2, Position)) Uses (10): 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=Map.keys https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Map.new https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String https://jend.leeeet.dev/definition.txt?path=bend-lint-rules@0.2.0.0/lib/text/main.bend&name=Place https://jend.leeeet.dev/definition.txt?path=bend-lint-rules@0.2.0.0/lib/text/main.bend&name=Placed https://jend.leeeet.dev/definition.txt?path=bend-lint-rules@0.2.0.0/lib/text/main.bend&name=Position https://jend.leeeet.dev/definition.txt?path=bend-lint-rules@0.2.0.0/lib/text/main.bend&name=places.group https://jend.leeeet.dev/definition.txt?path=bend-lint-rules@0.2.0.0/lib/text/main.bend&name=places.walk