type Node

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

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

97# A syntax node: what it is, its name as written, where the file writes it (none for what the parser adds), the nodes
98# under it, in order, and the checker's facts on it, if a rule needs them. An application's nodes are its function,
99# then its arguments; a block's, its binders, then their values, then the rest of the block.
100type Node is Data:
101  Node{
102    syntax: Syntax,
103    name: String,
104    span: Maybe<&2, Span>,
105    kids: List<&2, Node>,
106    facts: List<&2, Fact>
107  }

Uses (6)

Used by (209)