Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface Tree<N>

Type parameters

  • N: Node

Hierarchy

  • Tree

Index

Methods

Methods

getRoot

  • getRoot(): N
  • Returns N

visit

  • visit(visitor: Partial<Visitor<N>>, state: any): void
  • Parameters

    • visitor: Partial<Visitor<N>>
    • state: any

    Returns void