root property

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

AstNode get root;