def binder
import bend-lint-rules@0.2.0.0/performance/list_index_loop.bend as ListIndexLoopimport Base
import bend-lint-api@0.2.0.0/linter/lint.bend as Lint
39# The binder of the variable `node` uses, if it is a variable.
40def binder(node: Maybe<&2, Lint.Node>) -> Maybe<&2, U32>:
41 match node:
42 case Some{Lint.Node{Lint.Variable{b}, n, s, k, f}}:
43 Some{b}
44 case _:
45 None{}