root property

  1. @V1Ast('The V2 counterpart is root2.')
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

@V1Ast('The V2 counterpart is root2.')
AstNode get root;