def Above.of

bend-lint-api@0.2.0.0 · linter/lint.bend:297

import bend-lint-api@0.2.0.0/linter/lint.bend as Lint
import Base

297def Above.of(parent: Maybe<&2, Node>, at: U32, up: List<&2, Above>) -> List<&2, Above>:
298  match parent:
299    case Some{p}:
300      Above{p, at} <> up
301    case None{}:
302      up

Uses (5)

Used by (1)