Options
All
  • Public
  • Public/Protected
  • All
Menu

Type parameters

Hierarchy

  • ITreeNodeWalker

Implemented by

Index

Methods

advanceToNode

  • advanceToNode(node: T): void
  • Advances to target node

    Parameters

    • node: T

    Returns void

hasNext

  • hasNext(): boolean
  • If there are more nodes to visit by calling next()

    Returns boolean

next

  • next(): T
  • Returns the next node in depth-first order. Calling this method if hasNext() return false will throw an error.

    Returns T

Generated using TypeDoc