root property

  1. @ToBeDeprecated('Use root2 instead')
AstNode get root

The node at the root of this node's AST structure.

Note that this method's performance is linear with respect to the depth of the node in the AST structure (O(depth)).

Implementation

@ToBeDeprecated('Use root2 instead')
AstNode get root;