root property

SyntaxNode root
latefinal

Root of the red tree

Implementation

late final SyntaxNode root = SyntaxNode(
  parent: null,
  value: greenRoot,
  pos: -1, // Important
);