• Preparing search index...
  • The search index is not available
map.apps Bundle APIs 4.19.2
  • map.apps Bundle APIs 4.19.2
  • apprt-core
  • TreeWalker
  • TreeWalker

Function TreeWalker

  • TreeWalker<NodeType extends Node = Node>(
        options?: TreeWalkerOptions<NodeType>,
    ): TreeWalkerInterface<NodeType>
  • Constructs a TreeWalker.

    Type Parameters

    • NodeType extends Node = Node

      The type of tree nodes. Defaults to Node.

    Parameters

    • options: TreeWalkerOptions<NodeType> = {}

      The options for walking across the tree. The root node may be set globally for this TreeWalker instance. If the root node is not set, it has to be set in the options when start walking the tree. By default visitRoot is true.

    Returns TreeWalkerInterface<NodeType>

    The tree walker ready for walking the tree.

    • Defined in TreeWalker.ts:125

Settings

Member Visibility
map.apps Bundle APIs 4.19.2
  • Loading...

Generated using TypeDoc