Skip to main content

treeUtils

Index

Type Aliases

TreeMap

TreeMap: {}

Type declaration

TreeNode

TreeNode: { children?: TreeNode[] | TreeMap; label?: string; value?: formatUtils.Tuple }

Type declaration

TreeRoot

TreeRoot: TreeNode & { children: TreeNode[] }

TreeifyNode

TreeifyNode: {}

Type declaration

Functions

emitList

  • emitList(values: Tuple<NO_HINT | ID | NULL | SCOPE | NAME | RANGE | REFERENCE | NUMBER | PATH | URL | ADDED | REMOVED | CODE | INSPECT | DURATION | SIZE | SIZE_DIFF | IDENT | DESCRIPTOR | LOCATOR | RESOLUTION | DEPENDENT | PACKAGE_EXTENSION | SETTING | MARKDOWN | MARKDOWN_INLINE>[], __namedParameters: { configuration: Configuration; json: boolean; stdout: Writable }): void
  • Parameters

    • values: Tuple<NO_HINT | ID | NULL | SCOPE | NAME | RANGE | REFERENCE | NUMBER | PATH | URL | ADDED | REMOVED | CODE | INSPECT | DURATION | SIZE | SIZE_DIFF | IDENT | DESCRIPTOR | LOCATOR | RESOLUTION | DEPENDENT | PACKAGE_EXTENSION | SETTING | MARKDOWN | MARKDOWN_INLINE>[]
    • __namedParameters: { configuration: Configuration; json: boolean; stdout: Writable }

    Returns void

emitTree

  • emitTree(tree: TreeNode, __namedParameters: { configuration: Configuration; json: boolean; separators?: number; stdout: Writable }): void
  • Parameters

    • tree: TreeNode
    • __namedParameters: { configuration: Configuration; json: boolean; separators?: number; stdout: Writable }

    Returns void

treeNodeToJson

  • treeNodeToJson(printTree: TreeNode): any
  • Parameters

    Returns any

treeNodeToTreeify