selfAndAncestors method

Iterable<TreeNodeInfo> selfAndAncestors()

Lazily-computes the self-and-ancestor nodes of this node.

Implementation

Iterable<TreeNodeInfo> selfAndAncestors() sync* {
  yield this;
  yield* ancestors();
}