root property

CompilationUnit root
getter/setter pair

The root of the compilation unit, and the first node we visit. We hold on to this for error reporting, as it can give us line numbers of other nodes.

Implementation

late CompilationUnit root;