MCPcopy Create free account
hub / github.com/microsoft/vscode-cpptools / BaseNode

Interface BaseNode

Extension/src/SSH/TargetsView/common.ts:11–21  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

9 * Base class of nodes in all tree nodes
10 */
11export 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
23export class LabelLeafNode implements BaseNode {
24 constructor(private readonly label: string) { /* blank */ }

Callers 3

getChildrenMethod · 0.65
getTreeItemMethod · 0.65
getTreeItemMethod · 0.65

Implementers 3

LabelLeafNodeExtension/src/SSH/TargetsView/common.t
SshTargetsProviderExtension/src/SSH/TargetsView/sshTarge
ReferencesTreeDataProviderExtension/src/LanguageServer/reference

Calls

no outgoing calls

Tested by

no test coverage detected