Searched refs:TreeNode (Results 1 – 3 of 3) sorted by relevance
17 interface TreeNode { interface19 parent?: TreeNode;20 children?: TreeNode[];23 type FilterType = (node: TreeNode | undefined | null) => boolean;26 static findDescendantNode(node: TreeNode, isTargetNode: FilterType): TreeNode | undefined {45 static findAncestorNode(node: TreeNode, isTargetNode: FilterType): TreeNode | undefined {56 const filter = (item: TreeNode | undefined | null) => {67 export {TreeNode, TreeUtils, FilterType};
16 import {FilterType, TreeNode} from 'common/tree_utils';346 return this.filter(item as TreeNode) ?? false;
16 import {FilterType, TreeNode} from 'common/tree_utils';158 private filterMatches(item?: TreeNode | null): boolean {