@lspeasy/core 2.3.0 → 2.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/discover.d.ts +40 -0
- package/dist/discover.d.ts.map +1 -1
- package/dist/discover.js +41 -0
- package/dist/discover.js.map +1 -1
- package/dist/index.d.ts +2 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/protocol/capabilities.d.ts +1 -1
- package/dist/protocol/capabilities.d.ts.map +1 -1
- package/dist/protocol/enums.d.ts +374 -329
- package/dist/protocol/enums.d.ts.map +1 -1
- package/dist/protocol/enums.js +334 -369
- package/dist/protocol/enums.js.map +1 -1
- package/dist/protocol/infer.d.ts +1 -1
- package/dist/protocol/infer.d.ts.map +1 -1
- package/dist/protocol/namespaces.d.ts +8 -5
- package/dist/protocol/namespaces.d.ts.map +1 -1
- package/dist/protocol/namespaces.js +6 -2
- package/dist/protocol/namespaces.js.map +1 -1
- package/dist/protocol/partial.d.ts +1 -1
- package/dist/protocol/partial.d.ts.map +1 -1
- package/dist/protocol/progress.d.ts +1 -1
- package/dist/protocol/progress.d.ts.map +1 -1
- package/dist/protocol/schemas.d.ts +135 -54
- package/dist/protocol/schemas.d.ts.map +1 -1
- package/dist/protocol/schemas.js +11 -8
- package/dist/protocol/schemas.js.map +1 -1
- package/dist/protocol/types.d.ts +1899 -9
- package/dist/protocol/types.d.ts.map +1 -1
- package/dist/protocol/types.js +5 -2
- package/dist/protocol/types.js.map +1 -1
- package/dist/protocol/watching.d.ts +1 -1
- package/dist/protocol/watching.d.ts.map +1 -1
- package/dist/protocol/workspace.d.ts +1 -1
- package/dist/protocol/workspace.d.ts.map +1 -1
- package/dist/utils/document.d.ts +1 -1
- package/dist/utils/document.d.ts.map +1 -1
- package/package.json +2 -3
package/dist/protocol/enums.js
CHANGED
|
@@ -1,376 +1,341 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* LSP Protocol Enums
|
|
3
3
|
*
|
|
4
|
+
* Emitted as const objects + union type aliases for structural compatibility
|
|
5
|
+
* with vscode-languageserver-protocol, which uses the same pattern.
|
|
6
|
+
*
|
|
4
7
|
* Auto-generated from metaModel.json
|
|
5
8
|
* DO NOT EDIT MANUALLY
|
|
6
9
|
*/
|
|
7
|
-
export
|
|
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
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
}
|
|
80
|
-
export
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
}
|
|
85
|
-
export
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
}
|
|
130
|
-
export
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
}
|
|
245
|
-
export
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
}
|
|
307
|
-
export
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
SymbolTag[SymbolTag["Deprecated"] = 1] = "Deprecated";
|
|
339
|
-
})(SymbolTag || (SymbolTag = {}));
|
|
340
|
-
export var TextDocumentSaveReason;
|
|
341
|
-
(function (TextDocumentSaveReason) {
|
|
342
|
-
TextDocumentSaveReason[TextDocumentSaveReason["Manual"] = 1] = "Manual";
|
|
343
|
-
TextDocumentSaveReason[TextDocumentSaveReason["AfterDelay"] = 2] = "AfterDelay";
|
|
344
|
-
TextDocumentSaveReason[TextDocumentSaveReason["FocusOut"] = 3] = "FocusOut";
|
|
345
|
-
})(TextDocumentSaveReason || (TextDocumentSaveReason = {}));
|
|
346
|
-
export var TextDocumentSyncKind;
|
|
347
|
-
(function (TextDocumentSyncKind) {
|
|
348
|
-
TextDocumentSyncKind[TextDocumentSyncKind["None"] = 0] = "None";
|
|
349
|
-
TextDocumentSyncKind[TextDocumentSyncKind["Full"] = 1] = "Full";
|
|
350
|
-
TextDocumentSyncKind[TextDocumentSyncKind["Incremental"] = 2] = "Incremental";
|
|
351
|
-
})(TextDocumentSyncKind || (TextDocumentSyncKind = {}));
|
|
352
|
-
export var TokenFormat;
|
|
353
|
-
(function (TokenFormat) {
|
|
354
|
-
TokenFormat["Relative"] = "relative";
|
|
355
|
-
})(TokenFormat || (TokenFormat = {}));
|
|
356
|
-
export var TraceValue;
|
|
357
|
-
(function (TraceValue) {
|
|
358
|
-
TraceValue["Off"] = "off";
|
|
359
|
-
TraceValue["Messages"] = "messages";
|
|
360
|
-
TraceValue["Verbose"] = "verbose";
|
|
361
|
-
})(TraceValue || (TraceValue = {}));
|
|
362
|
-
export var UniquenessLevel;
|
|
363
|
-
(function (UniquenessLevel) {
|
|
364
|
-
UniquenessLevel["document"] = "document";
|
|
365
|
-
UniquenessLevel["project"] = "project";
|
|
366
|
-
UniquenessLevel["group"] = "group";
|
|
367
|
-
UniquenessLevel["scheme"] = "scheme";
|
|
368
|
-
UniquenessLevel["global"] = "global";
|
|
369
|
-
})(UniquenessLevel || (UniquenessLevel = {}));
|
|
370
|
-
export var WatchKind;
|
|
371
|
-
(function (WatchKind) {
|
|
372
|
-
WatchKind[WatchKind["Create"] = 1] = "Create";
|
|
373
|
-
WatchKind[WatchKind["Change"] = 2] = "Change";
|
|
374
|
-
WatchKind[WatchKind["Delete"] = 4] = "Delete";
|
|
375
|
-
})(WatchKind || (WatchKind = {}));
|
|
10
|
+
export const ApplyKind = {
|
|
11
|
+
Replace: 1,
|
|
12
|
+
Merge: 2
|
|
13
|
+
};
|
|
14
|
+
export const CodeActionKind = {
|
|
15
|
+
Empty: '',
|
|
16
|
+
QuickFix: 'quickfix',
|
|
17
|
+
Refactor: 'refactor',
|
|
18
|
+
RefactorExtract: 'refactor.extract',
|
|
19
|
+
RefactorInline: 'refactor.inline',
|
|
20
|
+
RefactorMove: 'refactor.move',
|
|
21
|
+
RefactorRewrite: 'refactor.rewrite',
|
|
22
|
+
Source: 'source',
|
|
23
|
+
SourceOrganizeImports: 'source.organizeImports',
|
|
24
|
+
SourceFixAll: 'source.fixAll',
|
|
25
|
+
Notebook: 'notebook'
|
|
26
|
+
};
|
|
27
|
+
export const CodeActionTag = {
|
|
28
|
+
LLMGenerated: 1
|
|
29
|
+
};
|
|
30
|
+
export const CodeActionTriggerKind = {
|
|
31
|
+
Invoked: 1,
|
|
32
|
+
Automatic: 2
|
|
33
|
+
};
|
|
34
|
+
export const CompletionItemKind = {
|
|
35
|
+
Text: 1,
|
|
36
|
+
Method: 2,
|
|
37
|
+
Function: 3,
|
|
38
|
+
Constructor: 4,
|
|
39
|
+
Field: 5,
|
|
40
|
+
Variable: 6,
|
|
41
|
+
Class: 7,
|
|
42
|
+
Interface: 8,
|
|
43
|
+
Module: 9,
|
|
44
|
+
Property: 10,
|
|
45
|
+
Unit: 11,
|
|
46
|
+
Value: 12,
|
|
47
|
+
Enum: 13,
|
|
48
|
+
Keyword: 14,
|
|
49
|
+
Snippet: 15,
|
|
50
|
+
Color: 16,
|
|
51
|
+
File: 17,
|
|
52
|
+
Reference: 18,
|
|
53
|
+
Folder: 19,
|
|
54
|
+
EnumMember: 20,
|
|
55
|
+
Constant: 21,
|
|
56
|
+
Struct: 22,
|
|
57
|
+
Event: 23,
|
|
58
|
+
Operator: 24,
|
|
59
|
+
TypeParameter: 25
|
|
60
|
+
};
|
|
61
|
+
export const CompletionItemTag = {
|
|
62
|
+
Deprecated: 1
|
|
63
|
+
};
|
|
64
|
+
export const CompletionTriggerKind = {
|
|
65
|
+
Invoked: 1,
|
|
66
|
+
TriggerCharacter: 2,
|
|
67
|
+
TriggerForIncompleteCompletions: 3
|
|
68
|
+
};
|
|
69
|
+
export const DiagnosticSeverity = {
|
|
70
|
+
Error: 1,
|
|
71
|
+
Warning: 2,
|
|
72
|
+
Information: 3,
|
|
73
|
+
Hint: 4
|
|
74
|
+
};
|
|
75
|
+
export const DiagnosticTag = {
|
|
76
|
+
Unnecessary: 1,
|
|
77
|
+
Deprecated: 2
|
|
78
|
+
};
|
|
79
|
+
export const DocumentDiagnosticReportKind = {
|
|
80
|
+
Full: 'full',
|
|
81
|
+
Unchanged: 'unchanged'
|
|
82
|
+
};
|
|
83
|
+
export const DocumentHighlightKind = {
|
|
84
|
+
Text: 1,
|
|
85
|
+
Read: 2,
|
|
86
|
+
Write: 3
|
|
87
|
+
};
|
|
88
|
+
export const ErrorCodes = {
|
|
89
|
+
ParseError: -32700,
|
|
90
|
+
InvalidRequest: -32600,
|
|
91
|
+
MethodNotFound: -32601,
|
|
92
|
+
InvalidParams: -32602,
|
|
93
|
+
InternalError: -32603,
|
|
94
|
+
ServerNotInitialized: -32002,
|
|
95
|
+
UnknownErrorCode: -32001
|
|
96
|
+
};
|
|
97
|
+
export const FailureHandlingKind = {
|
|
98
|
+
Abort: 'abort',
|
|
99
|
+
Transactional: 'transactional',
|
|
100
|
+
TextOnlyTransactional: 'textOnlyTransactional',
|
|
101
|
+
Undo: 'undo'
|
|
102
|
+
};
|
|
103
|
+
export const FileChangeType = {
|
|
104
|
+
Created: 1,
|
|
105
|
+
Changed: 2,
|
|
106
|
+
Deleted: 3
|
|
107
|
+
};
|
|
108
|
+
export const FileOperationPatternKind = {
|
|
109
|
+
file: 'file',
|
|
110
|
+
folder: 'folder'
|
|
111
|
+
};
|
|
112
|
+
export const FoldingRangeKind = {
|
|
113
|
+
Comment: 'comment',
|
|
114
|
+
Imports: 'imports',
|
|
115
|
+
Region: 'region'
|
|
116
|
+
};
|
|
117
|
+
export const InlayHintKind = {
|
|
118
|
+
Type: 1,
|
|
119
|
+
Parameter: 2
|
|
120
|
+
};
|
|
121
|
+
export const InlineCompletionTriggerKind = {
|
|
122
|
+
Invoked: 1,
|
|
123
|
+
Automatic: 2
|
|
124
|
+
};
|
|
125
|
+
export const InsertTextFormat = {
|
|
126
|
+
PlainText: 1,
|
|
127
|
+
Snippet: 2
|
|
128
|
+
};
|
|
129
|
+
export const InsertTextMode = {
|
|
130
|
+
asIs: 1,
|
|
131
|
+
adjustIndentation: 2
|
|
132
|
+
};
|
|
133
|
+
export const LanguageKind = {
|
|
134
|
+
ABAP: 'abap',
|
|
135
|
+
WindowsBat: 'bat',
|
|
136
|
+
BibTeX: 'bibtex',
|
|
137
|
+
Clojure: 'clojure',
|
|
138
|
+
Coffeescript: 'coffeescript',
|
|
139
|
+
C: 'c',
|
|
140
|
+
CPP: 'cpp',
|
|
141
|
+
CSharp: 'csharp',
|
|
142
|
+
CSS: 'css',
|
|
143
|
+
D: 'd',
|
|
144
|
+
Delphi: 'pascal',
|
|
145
|
+
Diff: 'diff',
|
|
146
|
+
Dart: 'dart',
|
|
147
|
+
Dockerfile: 'dockerfile',
|
|
148
|
+
Elixir: 'elixir',
|
|
149
|
+
Erlang: 'erlang',
|
|
150
|
+
FSharp: 'fsharp',
|
|
151
|
+
GitCommit: 'git-commit',
|
|
152
|
+
GitRebase: 'git-rebase',
|
|
153
|
+
Go: 'go',
|
|
154
|
+
Groovy: 'groovy',
|
|
155
|
+
Handlebars: 'handlebars',
|
|
156
|
+
Haskell: 'haskell',
|
|
157
|
+
HTML: 'html',
|
|
158
|
+
Ini: 'ini',
|
|
159
|
+
Java: 'java',
|
|
160
|
+
JavaScript: 'javascript',
|
|
161
|
+
JavaScriptReact: 'javascriptreact',
|
|
162
|
+
JSON: 'json',
|
|
163
|
+
LaTeX: 'latex',
|
|
164
|
+
Less: 'less',
|
|
165
|
+
Lua: 'lua',
|
|
166
|
+
Makefile: 'makefile',
|
|
167
|
+
Markdown: 'markdown',
|
|
168
|
+
ObjectiveC: 'objective-c',
|
|
169
|
+
ObjectiveCPP: 'objective-cpp',
|
|
170
|
+
Pascal: 'pascal',
|
|
171
|
+
Perl: 'perl',
|
|
172
|
+
Perl6: 'perl6',
|
|
173
|
+
PHP: 'php',
|
|
174
|
+
Plaintext: 'plaintext',
|
|
175
|
+
Powershell: 'powershell',
|
|
176
|
+
Pug: 'jade',
|
|
177
|
+
Python: 'python',
|
|
178
|
+
R: 'r',
|
|
179
|
+
Razor: 'razor',
|
|
180
|
+
Ruby: 'ruby',
|
|
181
|
+
Rust: 'rust',
|
|
182
|
+
SCSS: 'scss',
|
|
183
|
+
SASS: 'sass',
|
|
184
|
+
Scala: 'scala',
|
|
185
|
+
ShaderLab: 'shaderlab',
|
|
186
|
+
ShellScript: 'shellscript',
|
|
187
|
+
SQL: 'sql',
|
|
188
|
+
Swift: 'swift',
|
|
189
|
+
TypeScript: 'typescript',
|
|
190
|
+
TypeScriptReact: 'typescriptreact',
|
|
191
|
+
TeX: 'tex',
|
|
192
|
+
VisualBasic: 'vb',
|
|
193
|
+
XML: 'xml',
|
|
194
|
+
XSL: 'xsl',
|
|
195
|
+
YAML: 'yaml'
|
|
196
|
+
};
|
|
197
|
+
export const LSPErrorCodes = {
|
|
198
|
+
RequestFailed: -32803,
|
|
199
|
+
ServerCancelled: -32802,
|
|
200
|
+
ContentModified: -32801,
|
|
201
|
+
RequestCancelled: -32800
|
|
202
|
+
};
|
|
203
|
+
export const MarkupKind = {
|
|
204
|
+
PlainText: 'plaintext',
|
|
205
|
+
Markdown: 'markdown'
|
|
206
|
+
};
|
|
207
|
+
export const MessageType = {
|
|
208
|
+
Error: 1,
|
|
209
|
+
Warning: 2,
|
|
210
|
+
Info: 3,
|
|
211
|
+
Log: 4,
|
|
212
|
+
Debug: 5
|
|
213
|
+
};
|
|
214
|
+
export const MonikerKind = {
|
|
215
|
+
import: 'import',
|
|
216
|
+
export: 'export',
|
|
217
|
+
local: 'local'
|
|
218
|
+
};
|
|
219
|
+
export const NotebookCellKind = {
|
|
220
|
+
Markup: 1,
|
|
221
|
+
Code: 2
|
|
222
|
+
};
|
|
223
|
+
export const PositionEncodingKind = {
|
|
224
|
+
UTF8: 'utf-8',
|
|
225
|
+
UTF16: 'utf-16',
|
|
226
|
+
UTF32: 'utf-32'
|
|
227
|
+
};
|
|
228
|
+
export const PrepareSupportDefaultBehavior = {
|
|
229
|
+
Identifier: 1
|
|
230
|
+
};
|
|
231
|
+
export const ResourceOperationKind = {
|
|
232
|
+
Create: 'create',
|
|
233
|
+
Rename: 'rename',
|
|
234
|
+
Delete: 'delete'
|
|
235
|
+
};
|
|
236
|
+
export const SemanticTokenModifiers = {
|
|
237
|
+
declaration: 'declaration',
|
|
238
|
+
definition: 'definition',
|
|
239
|
+
readonly: 'readonly',
|
|
240
|
+
static: 'static',
|
|
241
|
+
deprecated: 'deprecated',
|
|
242
|
+
abstract: 'abstract',
|
|
243
|
+
async: 'async',
|
|
244
|
+
modification: 'modification',
|
|
245
|
+
documentation: 'documentation',
|
|
246
|
+
defaultLibrary: 'defaultLibrary'
|
|
247
|
+
};
|
|
248
|
+
export const SemanticTokenTypes = {
|
|
249
|
+
namespace: 'namespace',
|
|
250
|
+
type: 'type',
|
|
251
|
+
class: 'class',
|
|
252
|
+
enum: 'enum',
|
|
253
|
+
interface: 'interface',
|
|
254
|
+
struct: 'struct',
|
|
255
|
+
typeParameter: 'typeParameter',
|
|
256
|
+
parameter: 'parameter',
|
|
257
|
+
variable: 'variable',
|
|
258
|
+
property: 'property',
|
|
259
|
+
enumMember: 'enumMember',
|
|
260
|
+
event: 'event',
|
|
261
|
+
function: 'function',
|
|
262
|
+
method: 'method',
|
|
263
|
+
macro: 'macro',
|
|
264
|
+
keyword: 'keyword',
|
|
265
|
+
modifier: 'modifier',
|
|
266
|
+
comment: 'comment',
|
|
267
|
+
string: 'string',
|
|
268
|
+
number: 'number',
|
|
269
|
+
regexp: 'regexp',
|
|
270
|
+
operator: 'operator',
|
|
271
|
+
decorator: 'decorator',
|
|
272
|
+
label: 'label'
|
|
273
|
+
};
|
|
274
|
+
export const SignatureHelpTriggerKind = {
|
|
275
|
+
Invoked: 1,
|
|
276
|
+
TriggerCharacter: 2,
|
|
277
|
+
ContentChange: 3
|
|
278
|
+
};
|
|
279
|
+
export const SymbolKind = {
|
|
280
|
+
File: 1,
|
|
281
|
+
Module: 2,
|
|
282
|
+
Namespace: 3,
|
|
283
|
+
Package: 4,
|
|
284
|
+
Class: 5,
|
|
285
|
+
Method: 6,
|
|
286
|
+
Property: 7,
|
|
287
|
+
Field: 8,
|
|
288
|
+
Constructor: 9,
|
|
289
|
+
Enum: 10,
|
|
290
|
+
Interface: 11,
|
|
291
|
+
Function: 12,
|
|
292
|
+
Variable: 13,
|
|
293
|
+
Constant: 14,
|
|
294
|
+
String: 15,
|
|
295
|
+
Number: 16,
|
|
296
|
+
Boolean: 17,
|
|
297
|
+
Array: 18,
|
|
298
|
+
Object: 19,
|
|
299
|
+
Key: 20,
|
|
300
|
+
Null: 21,
|
|
301
|
+
EnumMember: 22,
|
|
302
|
+
Struct: 23,
|
|
303
|
+
Event: 24,
|
|
304
|
+
Operator: 25,
|
|
305
|
+
TypeParameter: 26
|
|
306
|
+
};
|
|
307
|
+
export const SymbolTag = {
|
|
308
|
+
Deprecated: 1
|
|
309
|
+
};
|
|
310
|
+
export const TextDocumentSaveReason = {
|
|
311
|
+
Manual: 1,
|
|
312
|
+
AfterDelay: 2,
|
|
313
|
+
FocusOut: 3
|
|
314
|
+
};
|
|
315
|
+
export const TextDocumentSyncKind = {
|
|
316
|
+
None: 0,
|
|
317
|
+
Full: 1,
|
|
318
|
+
Incremental: 2
|
|
319
|
+
};
|
|
320
|
+
export const TokenFormat = {
|
|
321
|
+
Relative: 'relative'
|
|
322
|
+
};
|
|
323
|
+
export const TraceValue = {
|
|
324
|
+
Off: 'off',
|
|
325
|
+
Messages: 'messages',
|
|
326
|
+
Compact: 'compact',
|
|
327
|
+
Verbose: 'verbose'
|
|
328
|
+
};
|
|
329
|
+
export const UniquenessLevel = {
|
|
330
|
+
document: 'document',
|
|
331
|
+
project: 'project',
|
|
332
|
+
group: 'group',
|
|
333
|
+
scheme: 'scheme',
|
|
334
|
+
global: 'global'
|
|
335
|
+
};
|
|
336
|
+
export const WatchKind = {
|
|
337
|
+
Create: 1,
|
|
338
|
+
Change: 2,
|
|
339
|
+
Delete: 4
|
|
340
|
+
};
|
|
376
341
|
//# sourceMappingURL=enums.js.map
|