Options
All
  • Public
  • Public/Protected
  • All
Menu

External module "tree"

Index

Functions

addToTree

  • addToTree<T>(tree: PathedTree<T>, itemPath: string, item: T): void
  • Add an item to a PathedTree at the given path. Updates intermediate branches as necessary.

    Type parameters

    • T

    Parameters

    • tree: PathedTree<T>

      The tree to update

    • itemPath: string

      The path to the item to add

    • item: T

      The item which will be added

    Returns void

collapseTreeInplace

  • collapseTreeInplace<T>(tree: PathedTree<T>): void
  • Collapse elements in the tree which contain only one child tree.

    Type parameters

    • T

    Parameters

    Returns void

iconForTargetType

  • iconForTargetType(type: cms.TargetTypeString): string
  • Get the path to an icon for the given type of CMake target.

    Parameters

    • type: cms.TargetTypeString

      The type of target

    Returns string

sortStringForType

  • sortStringForType(type: cms.TargetTypeString): string
  • Parameters

    • type: cms.TargetTypeString

    Returns string

Generated using TypeDoc