def Node.name

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

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

230# "" for no node, as are the next two.
231def Node.name(node: Maybe<&2, Node>) -> String:
232  match node:
233    case Some{Node{syntax, name, span, kids, facts}}:
234      name
235    case None{}:
236      ""

Uses (3)

Used by (1)