parent property Null safety

AstNode parent
override

Return this node's parent node, or null if this node is the root of an AST structure.

Note that the relationship between an AST node and its parent node may change over the lifetime of a node.

Implementation

@override
AstNode get parent;