type Node
import bend-lint-api@0.2.0.0/linter/lint.bend as Lintimport 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 }