BangAfterFork.host.visit: def of bend-lint-rules@0.2.0.0 Import: import bend-lint-rules@0.2.0.0/performance/bang_after_fork.bend as BangAfterFork Lines 36-53 of bend-lint-rules@0.2.0.0/performance/bang_after_fork.bend: https://jend.leeeet.dev/read.txt?path=bend-lint-rules@0.2.0.0/performance/bang_after_fork.bend&start_line=36&end_line=53 import Base import bend-lint-api@0.2.0.0/linter/lint.bend as Lint # The definition an application below `path` calls by name on the host: not with `!`, as a `!` call runs on the GPU, # and a `!` call after it stays there. def host.visit( +bangs: List<&2, U32>, +path: List<&2, Lint.Above>, +node: Lint.Node ) -> List<&2, String>: match node: case Lint.Node{ Lint.Application{}, n, s, Con{Lint.Node{Lint.Reference{t}, rn, Some{Lint.Span{p, beg, end}}, rk, rf}, args}, f }: Bool.pick(List<&2, String>, List.contains(~U32, ~U32.is_eq, bangs, end), [], [t]) case _: [] Uses (11): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool.pick https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=List https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=List.contains https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Maybe https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32 https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32.is_eq 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=Span https://jend.leeeet.dev/definition.txt?path=bend-lint-api@0.2.0.0/linter/lint.bend&name=Syntax