children property
Lazily evaluated children of current SyntaxNode
Implementation
late final List<SyntaxNode?> children = List.generate(
value.children.length,
(index) => value.children[index] != null
? SyntaxNode(
parent: this,
value: value.children[index]!,
pos: this.pos + value.childPositions[index],
)
: null,
growable: false);