def walk.shape

bend-lint-pack@0.1.1.0 · complexity/cognitive.bend:74

import bend-lint-pack@0.1.1.0/complexity/cognitive.bend as Cognitive
import Base
import bend-lint-pack@0.1.1.0/vendor/lint.bend as Lint

74def walk.shape(s: Lint.Shape, depth: U32, chain: Bool, total: U32) -> IO(U32):
75  match s:
76    case Lint.Shape{+kind, name, span, children}:
77      walk.step(String.eq(kind, "Mat"), String.eq(kind, "Ann"), children, depth, chain, total)

Uses (6)

Used by (1)