| 9 | * Base class of nodes in all tree nodes |
| 10 | */ |
| 11 | export interface BaseNode { |
| 12 | /** |
| 13 | * Get the child nodes of this node |
| 14 | */ |
| 15 | getChildren(): Promise<BaseNode[]>; |
| 16 | |
| 17 | /** |
| 18 | * Get the vscode.TreeItem associated with this node |
| 19 | */ |
| 20 | getTreeItem(): Promise<vscode.TreeItem>; |
| 21 | } |
| 22 | |
| 23 | export class LabelLeafNode implements BaseNode { |
| 24 | constructor(private readonly label: string) { /* blank */ } |
no outgoing calls
no test coverage detected