forked from microsoft/vscode-java-dependency
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathnodeData.ts
More file actions
36 lines (33 loc) · 727 Bytes
/
nodeData.ts
File metadata and controls
36 lines (33 loc) · 727 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT license.
export enum NodeKind {
Workspace = 1,
Project = 2,
PackageRoot = 3,
Package = 4,
PrimaryType = 5,
CompilationUnit = 6,
ClassFile = 7,
Container = 8,
Folder = 9,
File = 10,
}
export enum TypeKind {
Class = 1,
Interface = 2,
Enum = 3,
}
export interface INodeData {
displayName?: string;
name: string;
moduleName?: string;
path?: string;
/**
* returned from Java side using `IJavaElement.getHandlerIdentifier();`
*/
handlerIdentifier?: string;
uri?: string;
kind: NodeKind;
children?: any[];
metaData?: { [id: string]: any };
}