selfAndDescendants property

Iterable<AstNode> get selfAndDescendants

Returns an iterable that fields yields this node, followed by allDescendants.

Implementation

Iterable<AstNode> get selfAndDescendants sync* {
  yield this;
  yield* allDescendants;
}