def walk
import bend-lint-pack@0.1.1.0/complexity/cognitive.bend as Cognitiveimport Base
import bend-lint-pack@0.1.1.0/vendor/lint.bend as Lint
27def walk(n: Lint.Node, depth: U32, chain: Bool, total: U32) -> IO(U32):
28 do IO<U32>:
29 s : Lint.Shape <- Lint.shape(n)
30 walk.shape(s, depth, chain, total)