Options
All
  • Public
  • Public/Protected
  • All
Menu

Class BottomUpTreeIterator

Unlike other tree iterators, this does not visit all the nodes, it stops once it reaches the root node while traversing up the tree hierarchy in an inverse pre-order fashion. This is the counterpart of the TopDownTreeIterator.

Hierarchy

Index

Constructors

constructor

Properties

Protected Readonly delegate

delegate: IterableIterator<TreeNode>

Protected Readonly options

options: Options

Protected Readonly root

root: TreeNode

Methods

[Symbol.iterator]

  • [Symbol.iterator](): IterableIterator<TreeNode>

Protected children

Protected doNext

Protected isCollapsed

Protected isEmpty

  • isEmpty(nodes: undefined | TreeNode[]): boolean

Protected iterator

Protected lastChild

next