@codingame/monaco-languageclient-wrapper 5.0.0-next.0 → 5.0.0-update-monaco.1
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/_virtual/_commonjsHelpers.js +29 -0
- package/dist/_virtual/_rollupPluginBabelHelpers.js +50 -0
- package/dist/_virtual/api.js +2 -0
- package/dist/_virtual/api2.js +2 -0
- package/dist/_virtual/cancellation.js +2 -0
- package/dist/_virtual/connection.js +2 -0
- package/dist/_virtual/connection2.js +2 -0
- package/dist/_virtual/disposable.js +2 -0
- package/dist/_virtual/events.js +2 -0
- package/dist/_virtual/is.js +2 -0
- package/dist/_virtual/is2.js +2 -0
- package/dist/_virtual/linkedMap.js +2 -0
- package/dist/_virtual/main.js +2 -0
- package/dist/_virtual/main2.js +2 -0
- package/dist/_virtual/main3.js +4 -0
- package/dist/_virtual/messageBuffer.js +2 -0
- package/dist/_virtual/messageReader.js +2 -0
- package/dist/_virtual/messageWriter.js +2 -0
- package/dist/_virtual/messages.js +2 -0
- package/dist/_virtual/messages2.js +2 -0
- package/dist/_virtual/once.js +2 -0
- package/dist/_virtual/protocol.callHierarchy.js +2 -0
- package/dist/_virtual/protocol.colorProvider.js +2 -0
- package/dist/_virtual/protocol.configuration.js +2 -0
- package/dist/_virtual/protocol.declaration.js +2 -0
- package/dist/_virtual/protocol.diagnostic.js +2 -0
- package/dist/_virtual/protocol.fileOperations.js +2 -0
- package/dist/_virtual/protocol.foldingRange.js +2 -0
- package/dist/_virtual/protocol.implementation.js +2 -0
- package/dist/_virtual/protocol.inlayHint.js +2 -0
- package/dist/_virtual/protocol.inlineCompletion.js +2 -0
- package/dist/_virtual/protocol.inlineValue.js +2 -0
- package/dist/_virtual/protocol.js +2 -0
- package/dist/_virtual/protocol.linkedEditingRange.js +2 -0
- package/dist/_virtual/protocol.moniker.js +2 -0
- package/dist/_virtual/protocol.notebook.js +2 -0
- package/dist/_virtual/protocol.progress.js +2 -0
- package/dist/_virtual/protocol.selectionRange.js +2 -0
- package/dist/_virtual/protocol.semanticTokens.js +2 -0
- package/dist/_virtual/protocol.showDocument.js +2 -0
- package/dist/_virtual/protocol.typeDefinition.js +2 -0
- package/dist/_virtual/protocol.typeHierarchy.js +2 -0
- package/dist/_virtual/protocol.workspaceFolder.js +2 -0
- package/dist/_virtual/ral.js +2 -0
- package/dist/_virtual/ril.js +2 -0
- package/dist/_virtual/semaphore.js +2 -0
- package/dist/_virtual/sharedArrayCancellation.js +2 -0
- package/dist/extensions/java/commands.js +74 -0
- package/dist/extensions/java/extension.js +13 -0
- package/dist/extensions/java/inlayHintsProvider.js +58 -0
- package/dist/extensions/java/protocol.js +68 -0
- package/dist/{java.js → extensions/java/sourceAction.js} +7 -245
- package/dist/index.d.ts +133 -9214
- package/dist/index.js +5 -1
- package/dist/node_modules/delay/index.js +45 -0
- package/dist/node_modules/once/once.js +44 -0
- package/dist/node_modules/tslib/tslib.es6.js +14 -0
- package/dist/node_modules/vscode-jsonrpc/browser.js +4 -0
- package/dist/node_modules/vscode-jsonrpc/lib/browser/main.js +77 -0
- package/dist/node_modules/vscode-jsonrpc/lib/browser/ril.js +153 -0
- package/dist/node_modules/vscode-jsonrpc/lib/common/api.js +96 -0
- package/dist/node_modules/vscode-jsonrpc/lib/common/cancellation.js +95 -0
- package/dist/node_modules/vscode-jsonrpc/lib/common/connection.js +1182 -0
- package/dist/node_modules/vscode-jsonrpc/lib/common/disposable.js +19 -0
- package/dist/node_modules/vscode-jsonrpc/lib/common/events.js +121 -0
- package/dist/node_modules/vscode-jsonrpc/lib/common/is.js +38 -0
- package/dist/node_modules/vscode-jsonrpc/lib/common/linkedMap.js +386 -0
- package/dist/node_modules/vscode-jsonrpc/lib/common/messageBuffer.js +149 -0
- package/dist/node_modules/vscode-jsonrpc/lib/common/messageReader.js +198 -0
- package/dist/node_modules/vscode-jsonrpc/lib/common/messageWriter.js +122 -0
- package/dist/node_modules/vscode-jsonrpc/lib/common/messages.js +240 -0
- package/dist/node_modules/vscode-jsonrpc/lib/common/ral.js +26 -0
- package/dist/node_modules/vscode-jsonrpc/lib/common/semaphore.js +72 -0
- package/dist/node_modules/vscode-jsonrpc/lib/common/sharedArrayCancellation.js +80 -0
- package/dist/node_modules/vscode-languageserver-protocol/lib/browser/main.js +30 -0
- package/dist/node_modules/vscode-languageserver-protocol/lib/common/api.js +44 -0
- package/dist/node_modules/vscode-languageserver-protocol/lib/common/connection.js +14 -0
- package/dist/node_modules/vscode-languageserver-protocol/lib/common/messages.js +43 -0
- package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.callHierarchy.js +25 -0
- package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.colorProvider.js +19 -0
- package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.configuration.js +13 -0
- package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.declaration.js +13 -0
- package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.diagnostic.js +46 -0
- package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.fileOperations.js +48 -0
- package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.foldingRange.js +19 -0
- package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.implementation.js +13 -0
- package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.inlayHint.js +25 -0
- package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.inlineCompletion.js +13 -0
- package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.inlineValue.js +19 -0
- package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.js +566 -0
- package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.linkedEditingRange.js +13 -0
- package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.moniker.js +27 -0
- package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.notebook.js +190 -0
- package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.progress.js +30 -0
- package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.selectionRange.js +13 -0
- package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.semanticTokens.js +43 -0
- package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.showDocument.js +13 -0
- package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.typeDefinition.js +13 -0
- package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.typeHierarchy.js +25 -0
- package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.workspaceFolder.js +19 -0
- package/dist/node_modules/vscode-languageserver-protocol/lib/common/utils/is.js +40 -0
- package/dist/node_modules/vscode-languageserver-types/lib/esm/main.js +1608 -0
- package/dist/node_modules/wrappy/wrappy.js +25 -0
- package/dist/src/createLanguageClient.js +132 -0
- package/dist/src/customRequests.js +21 -0
- package/dist/src/extensionConfiguration.js +5 -0
- package/dist/{cobol.js → src/extensions/cobol.js} +4 -3
- package/dist/{csharp.js → src/extensions/csharp.js} +3 -2
- package/dist/src/extensions/java.js +36 -0
- package/dist/{tools.js → src/extensions/tools.js} +7 -3
- package/dist/src/extensions.js +173 -0
- package/dist/src/infrastructure.js +83 -0
- package/dist/src/languageClient.js +306 -0
- package/dist/src/languageClientOptions.js +17 -0
- package/dist/src/services.js +8 -0
- package/dist/src/staticOptions.js +441 -0
- package/package.json +56 -53
- package/stats.html +32 -28
- package/dist/index2.js +0 -17150
|
@@ -0,0 +1,190 @@
|
|
|
1
|
+
import { __exports as protocol_notebook } from '../../../../_virtual/protocol.notebook.js';
|
|
2
|
+
import require$$1 from '../../../../_virtual/main3.js';
|
|
3
|
+
import { __exports as messages } from '../../../../_virtual/messages.js';
|
|
4
|
+
import './messages.js';
|
|
5
|
+
import { __exports as is } from '../../../../_virtual/is.js';
|
|
6
|
+
import './utils/is.js';
|
|
7
|
+
Object.defineProperty(protocol_notebook, "__esModule", { value: true });
|
|
8
|
+
protocol_notebook.DidCloseNotebookDocumentNotification = protocol_notebook.DidSaveNotebookDocumentNotification = protocol_notebook.DidChangeNotebookDocumentNotification = protocol_notebook.NotebookCellArrayChange = protocol_notebook.DidOpenNotebookDocumentNotification = protocol_notebook.NotebookDocumentSyncRegistrationType = protocol_notebook.NotebookDocument = protocol_notebook.NotebookCell = protocol_notebook.ExecutionSummary = protocol_notebook.NotebookCellKind = void 0;
|
|
9
|
+
const vscode_languageserver_types_1 = require$$1;
|
|
10
|
+
const Is = is;
|
|
11
|
+
const messages_1 = messages;
|
|
12
|
+
var NotebookCellKind;
|
|
13
|
+
(function (NotebookCellKind) {
|
|
14
|
+
NotebookCellKind.Markup = 1;
|
|
15
|
+
NotebookCellKind.Code = 2;
|
|
16
|
+
function is(value) {
|
|
17
|
+
return value === 1 || value === 2;
|
|
18
|
+
}
|
|
19
|
+
NotebookCellKind.is = is;
|
|
20
|
+
})(NotebookCellKind || (protocol_notebook.NotebookCellKind = NotebookCellKind = {}));
|
|
21
|
+
var ExecutionSummary;
|
|
22
|
+
(function (ExecutionSummary) {
|
|
23
|
+
function create(executionOrder, success) {
|
|
24
|
+
const result = { executionOrder };
|
|
25
|
+
if (success === true || success === false) {
|
|
26
|
+
result.success = success;
|
|
27
|
+
}
|
|
28
|
+
return result;
|
|
29
|
+
}
|
|
30
|
+
ExecutionSummary.create = create;
|
|
31
|
+
function is(value) {
|
|
32
|
+
const candidate = value;
|
|
33
|
+
return Is.objectLiteral(candidate) && vscode_languageserver_types_1.uinteger.is(candidate.executionOrder) && (candidate.success === undefined || Is.boolean(candidate.success));
|
|
34
|
+
}
|
|
35
|
+
ExecutionSummary.is = is;
|
|
36
|
+
function equals(one, other) {
|
|
37
|
+
if (one === other) {
|
|
38
|
+
return true;
|
|
39
|
+
}
|
|
40
|
+
if (one === null || one === undefined || other === null || other === undefined) {
|
|
41
|
+
return false;
|
|
42
|
+
}
|
|
43
|
+
return one.executionOrder === other.executionOrder && one.success === other.success;
|
|
44
|
+
}
|
|
45
|
+
ExecutionSummary.equals = equals;
|
|
46
|
+
})(ExecutionSummary || (protocol_notebook.ExecutionSummary = ExecutionSummary = {}));
|
|
47
|
+
var NotebookCell;
|
|
48
|
+
(function (NotebookCell) {
|
|
49
|
+
function create(kind, document) {
|
|
50
|
+
return { kind, document };
|
|
51
|
+
}
|
|
52
|
+
NotebookCell.create = create;
|
|
53
|
+
function is(value) {
|
|
54
|
+
const candidate = value;
|
|
55
|
+
return Is.objectLiteral(candidate) && NotebookCellKind.is(candidate.kind) && vscode_languageserver_types_1.DocumentUri.is(candidate.document) &&
|
|
56
|
+
(candidate.metadata === undefined || Is.objectLiteral(candidate.metadata));
|
|
57
|
+
}
|
|
58
|
+
NotebookCell.is = is;
|
|
59
|
+
function diff(one, two) {
|
|
60
|
+
const result = new Set();
|
|
61
|
+
if (one.document !== two.document) {
|
|
62
|
+
result.add('document');
|
|
63
|
+
}
|
|
64
|
+
if (one.kind !== two.kind) {
|
|
65
|
+
result.add('kind');
|
|
66
|
+
}
|
|
67
|
+
if (one.executionSummary !== two.executionSummary) {
|
|
68
|
+
result.add('executionSummary');
|
|
69
|
+
}
|
|
70
|
+
if ((one.metadata !== undefined || two.metadata !== undefined) && !equalsMetadata(one.metadata, two.metadata)) {
|
|
71
|
+
result.add('metadata');
|
|
72
|
+
}
|
|
73
|
+
if ((one.executionSummary !== undefined || two.executionSummary !== undefined) && !ExecutionSummary.equals(one.executionSummary, two.executionSummary)) {
|
|
74
|
+
result.add('executionSummary');
|
|
75
|
+
}
|
|
76
|
+
return result;
|
|
77
|
+
}
|
|
78
|
+
NotebookCell.diff = diff;
|
|
79
|
+
function equalsMetadata(one, other) {
|
|
80
|
+
if (one === other) {
|
|
81
|
+
return true;
|
|
82
|
+
}
|
|
83
|
+
if (one === null || one === undefined || other === null || other === undefined) {
|
|
84
|
+
return false;
|
|
85
|
+
}
|
|
86
|
+
if (typeof one !== typeof other) {
|
|
87
|
+
return false;
|
|
88
|
+
}
|
|
89
|
+
if (typeof one !== 'object') {
|
|
90
|
+
return false;
|
|
91
|
+
}
|
|
92
|
+
const oneArray = Array.isArray(one);
|
|
93
|
+
const otherArray = Array.isArray(other);
|
|
94
|
+
if (oneArray !== otherArray) {
|
|
95
|
+
return false;
|
|
96
|
+
}
|
|
97
|
+
if (oneArray && otherArray) {
|
|
98
|
+
if (one.length !== other.length) {
|
|
99
|
+
return false;
|
|
100
|
+
}
|
|
101
|
+
for (let i = 0; i < one.length; i++) {
|
|
102
|
+
if (!equalsMetadata(one[i], other[i])) {
|
|
103
|
+
return false;
|
|
104
|
+
}
|
|
105
|
+
}
|
|
106
|
+
}
|
|
107
|
+
if (Is.objectLiteral(one) && Is.objectLiteral(other)) {
|
|
108
|
+
const oneKeys = Object.keys(one);
|
|
109
|
+
const otherKeys = Object.keys(other);
|
|
110
|
+
if (oneKeys.length !== otherKeys.length) {
|
|
111
|
+
return false;
|
|
112
|
+
}
|
|
113
|
+
oneKeys.sort();
|
|
114
|
+
otherKeys.sort();
|
|
115
|
+
if (!equalsMetadata(oneKeys, otherKeys)) {
|
|
116
|
+
return false;
|
|
117
|
+
}
|
|
118
|
+
for (let i = 0; i < oneKeys.length; i++) {
|
|
119
|
+
const prop = oneKeys[i];
|
|
120
|
+
if (!equalsMetadata(one[prop], other[prop])) {
|
|
121
|
+
return false;
|
|
122
|
+
}
|
|
123
|
+
}
|
|
124
|
+
}
|
|
125
|
+
return true;
|
|
126
|
+
}
|
|
127
|
+
})(NotebookCell || (protocol_notebook.NotebookCell = NotebookCell = {}));
|
|
128
|
+
var NotebookDocument;
|
|
129
|
+
(function (NotebookDocument) {
|
|
130
|
+
function create(uri, notebookType, version, cells) {
|
|
131
|
+
return { uri, notebookType, version, cells };
|
|
132
|
+
}
|
|
133
|
+
NotebookDocument.create = create;
|
|
134
|
+
function is(value) {
|
|
135
|
+
const candidate = value;
|
|
136
|
+
return Is.objectLiteral(candidate) && Is.string(candidate.uri) && vscode_languageserver_types_1.integer.is(candidate.version) && Is.typedArray(candidate.cells, NotebookCell.is);
|
|
137
|
+
}
|
|
138
|
+
NotebookDocument.is = is;
|
|
139
|
+
})(NotebookDocument || (protocol_notebook.NotebookDocument = NotebookDocument = {}));
|
|
140
|
+
var NotebookDocumentSyncRegistrationType;
|
|
141
|
+
(function (NotebookDocumentSyncRegistrationType) {
|
|
142
|
+
NotebookDocumentSyncRegistrationType.method = 'notebookDocument/sync';
|
|
143
|
+
NotebookDocumentSyncRegistrationType.messageDirection = messages_1.MessageDirection.clientToServer;
|
|
144
|
+
NotebookDocumentSyncRegistrationType.type = new messages_1.RegistrationType(NotebookDocumentSyncRegistrationType.method);
|
|
145
|
+
})(NotebookDocumentSyncRegistrationType || (protocol_notebook.NotebookDocumentSyncRegistrationType = NotebookDocumentSyncRegistrationType = {}));
|
|
146
|
+
var DidOpenNotebookDocumentNotification;
|
|
147
|
+
(function (DidOpenNotebookDocumentNotification) {
|
|
148
|
+
DidOpenNotebookDocumentNotification.method = 'notebookDocument/didOpen';
|
|
149
|
+
DidOpenNotebookDocumentNotification.messageDirection = messages_1.MessageDirection.clientToServer;
|
|
150
|
+
DidOpenNotebookDocumentNotification.type = new messages_1.ProtocolNotificationType(DidOpenNotebookDocumentNotification.method);
|
|
151
|
+
DidOpenNotebookDocumentNotification.registrationMethod = NotebookDocumentSyncRegistrationType.method;
|
|
152
|
+
})(DidOpenNotebookDocumentNotification || (protocol_notebook.DidOpenNotebookDocumentNotification = DidOpenNotebookDocumentNotification = {}));
|
|
153
|
+
var NotebookCellArrayChange;
|
|
154
|
+
(function (NotebookCellArrayChange) {
|
|
155
|
+
function is(value) {
|
|
156
|
+
const candidate = value;
|
|
157
|
+
return Is.objectLiteral(candidate) && vscode_languageserver_types_1.uinteger.is(candidate.start) && vscode_languageserver_types_1.uinteger.is(candidate.deleteCount) && (candidate.cells === undefined || Is.typedArray(candidate.cells, NotebookCell.is));
|
|
158
|
+
}
|
|
159
|
+
NotebookCellArrayChange.is = is;
|
|
160
|
+
function create(start, deleteCount, cells) {
|
|
161
|
+
const result = { start, deleteCount };
|
|
162
|
+
if (cells !== undefined) {
|
|
163
|
+
result.cells = cells;
|
|
164
|
+
}
|
|
165
|
+
return result;
|
|
166
|
+
}
|
|
167
|
+
NotebookCellArrayChange.create = create;
|
|
168
|
+
})(NotebookCellArrayChange || (protocol_notebook.NotebookCellArrayChange = NotebookCellArrayChange = {}));
|
|
169
|
+
var DidChangeNotebookDocumentNotification;
|
|
170
|
+
(function (DidChangeNotebookDocumentNotification) {
|
|
171
|
+
DidChangeNotebookDocumentNotification.method = 'notebookDocument/didChange';
|
|
172
|
+
DidChangeNotebookDocumentNotification.messageDirection = messages_1.MessageDirection.clientToServer;
|
|
173
|
+
DidChangeNotebookDocumentNotification.type = new messages_1.ProtocolNotificationType(DidChangeNotebookDocumentNotification.method);
|
|
174
|
+
DidChangeNotebookDocumentNotification.registrationMethod = NotebookDocumentSyncRegistrationType.method;
|
|
175
|
+
})(DidChangeNotebookDocumentNotification || (protocol_notebook.DidChangeNotebookDocumentNotification = DidChangeNotebookDocumentNotification = {}));
|
|
176
|
+
var DidSaveNotebookDocumentNotification;
|
|
177
|
+
(function (DidSaveNotebookDocumentNotification) {
|
|
178
|
+
DidSaveNotebookDocumentNotification.method = 'notebookDocument/didSave';
|
|
179
|
+
DidSaveNotebookDocumentNotification.messageDirection = messages_1.MessageDirection.clientToServer;
|
|
180
|
+
DidSaveNotebookDocumentNotification.type = new messages_1.ProtocolNotificationType(DidSaveNotebookDocumentNotification.method);
|
|
181
|
+
DidSaveNotebookDocumentNotification.registrationMethod = NotebookDocumentSyncRegistrationType.method;
|
|
182
|
+
})(DidSaveNotebookDocumentNotification || (protocol_notebook.DidSaveNotebookDocumentNotification = DidSaveNotebookDocumentNotification = {}));
|
|
183
|
+
var DidCloseNotebookDocumentNotification;
|
|
184
|
+
(function (DidCloseNotebookDocumentNotification) {
|
|
185
|
+
DidCloseNotebookDocumentNotification.method = 'notebookDocument/didClose';
|
|
186
|
+
DidCloseNotebookDocumentNotification.messageDirection = messages_1.MessageDirection.clientToServer;
|
|
187
|
+
DidCloseNotebookDocumentNotification.type = new messages_1.ProtocolNotificationType(DidCloseNotebookDocumentNotification.method);
|
|
188
|
+
DidCloseNotebookDocumentNotification.registrationMethod = NotebookDocumentSyncRegistrationType.method;
|
|
189
|
+
})(DidCloseNotebookDocumentNotification || (protocol_notebook.DidCloseNotebookDocumentNotification = DidCloseNotebookDocumentNotification = {}));
|
|
190
|
+
export { protocol_notebook as default };
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { __exports as protocol_progress } from '../../../../_virtual/protocol.progress.js';
|
|
2
|
+
import { __exports as main } from '../../../../_virtual/main2.js';
|
|
3
|
+
import '../../../vscode-jsonrpc/lib/browser/main.js';
|
|
4
|
+
import { __exports as messages } from '../../../../_virtual/messages.js';
|
|
5
|
+
import './messages.js';
|
|
6
|
+
Object.defineProperty(protocol_progress, "__esModule", { value: true });
|
|
7
|
+
protocol_progress.WorkDoneProgressCancelNotification = protocol_progress.WorkDoneProgressCreateRequest = protocol_progress.WorkDoneProgress = void 0;
|
|
8
|
+
const vscode_jsonrpc_1 = main;
|
|
9
|
+
const messages_1 = messages;
|
|
10
|
+
var WorkDoneProgress;
|
|
11
|
+
(function (WorkDoneProgress) {
|
|
12
|
+
WorkDoneProgress.type = new vscode_jsonrpc_1.ProgressType();
|
|
13
|
+
function is(value) {
|
|
14
|
+
return value === WorkDoneProgress.type;
|
|
15
|
+
}
|
|
16
|
+
WorkDoneProgress.is = is;
|
|
17
|
+
})(WorkDoneProgress || (protocol_progress.WorkDoneProgress = WorkDoneProgress = {}));
|
|
18
|
+
var WorkDoneProgressCreateRequest;
|
|
19
|
+
(function (WorkDoneProgressCreateRequest) {
|
|
20
|
+
WorkDoneProgressCreateRequest.method = 'window/workDoneProgress/create';
|
|
21
|
+
WorkDoneProgressCreateRequest.messageDirection = messages_1.MessageDirection.serverToClient;
|
|
22
|
+
WorkDoneProgressCreateRequest.type = new messages_1.ProtocolRequestType(WorkDoneProgressCreateRequest.method);
|
|
23
|
+
})(WorkDoneProgressCreateRequest || (protocol_progress.WorkDoneProgressCreateRequest = WorkDoneProgressCreateRequest = {}));
|
|
24
|
+
var WorkDoneProgressCancelNotification;
|
|
25
|
+
(function (WorkDoneProgressCancelNotification) {
|
|
26
|
+
WorkDoneProgressCancelNotification.method = 'window/workDoneProgress/cancel';
|
|
27
|
+
WorkDoneProgressCancelNotification.messageDirection = messages_1.MessageDirection.clientToServer;
|
|
28
|
+
WorkDoneProgressCancelNotification.type = new messages_1.ProtocolNotificationType(WorkDoneProgressCancelNotification.method);
|
|
29
|
+
})(WorkDoneProgressCancelNotification || (protocol_progress.WorkDoneProgressCancelNotification = WorkDoneProgressCancelNotification = {}));
|
|
30
|
+
export { protocol_progress as default };
|
package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.selectionRange.js
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { __exports as protocol_selectionRange } from '../../../../_virtual/protocol.selectionRange.js';
|
|
2
|
+
import { __exports as messages } from '../../../../_virtual/messages.js';
|
|
3
|
+
import './messages.js';
|
|
4
|
+
Object.defineProperty(protocol_selectionRange, "__esModule", { value: true });
|
|
5
|
+
protocol_selectionRange.SelectionRangeRequest = void 0;
|
|
6
|
+
const messages_1 = messages;
|
|
7
|
+
var SelectionRangeRequest;
|
|
8
|
+
(function (SelectionRangeRequest) {
|
|
9
|
+
SelectionRangeRequest.method = 'textDocument/selectionRange';
|
|
10
|
+
SelectionRangeRequest.messageDirection = messages_1.MessageDirection.clientToServer;
|
|
11
|
+
SelectionRangeRequest.type = new messages_1.ProtocolRequestType(SelectionRangeRequest.method);
|
|
12
|
+
})(SelectionRangeRequest || (protocol_selectionRange.SelectionRangeRequest = SelectionRangeRequest = {}));
|
|
13
|
+
export { protocol_selectionRange as default };
|
package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.semanticTokens.js
ADDED
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { __exports as protocol_semanticTokens } from '../../../../_virtual/protocol.semanticTokens.js';
|
|
2
|
+
import { __exports as messages } from '../../../../_virtual/messages.js';
|
|
3
|
+
import './messages.js';
|
|
4
|
+
Object.defineProperty(protocol_semanticTokens, "__esModule", { value: true });
|
|
5
|
+
protocol_semanticTokens.SemanticTokensRefreshRequest = protocol_semanticTokens.SemanticTokensRangeRequest = protocol_semanticTokens.SemanticTokensDeltaRequest = protocol_semanticTokens.SemanticTokensRequest = protocol_semanticTokens.SemanticTokensRegistrationType = protocol_semanticTokens.TokenFormat = void 0;
|
|
6
|
+
const messages_1 = messages;
|
|
7
|
+
var TokenFormat;
|
|
8
|
+
(function (TokenFormat) {
|
|
9
|
+
TokenFormat.Relative = 'relative';
|
|
10
|
+
})(TokenFormat || (protocol_semanticTokens.TokenFormat = TokenFormat = {}));
|
|
11
|
+
var SemanticTokensRegistrationType;
|
|
12
|
+
(function (SemanticTokensRegistrationType) {
|
|
13
|
+
SemanticTokensRegistrationType.method = 'textDocument/semanticTokens';
|
|
14
|
+
SemanticTokensRegistrationType.type = new messages_1.RegistrationType(SemanticTokensRegistrationType.method);
|
|
15
|
+
})(SemanticTokensRegistrationType || (protocol_semanticTokens.SemanticTokensRegistrationType = SemanticTokensRegistrationType = {}));
|
|
16
|
+
var SemanticTokensRequest;
|
|
17
|
+
(function (SemanticTokensRequest) {
|
|
18
|
+
SemanticTokensRequest.method = 'textDocument/semanticTokens/full';
|
|
19
|
+
SemanticTokensRequest.messageDirection = messages_1.MessageDirection.clientToServer;
|
|
20
|
+
SemanticTokensRequest.type = new messages_1.ProtocolRequestType(SemanticTokensRequest.method);
|
|
21
|
+
SemanticTokensRequest.registrationMethod = SemanticTokensRegistrationType.method;
|
|
22
|
+
})(SemanticTokensRequest || (protocol_semanticTokens.SemanticTokensRequest = SemanticTokensRequest = {}));
|
|
23
|
+
var SemanticTokensDeltaRequest;
|
|
24
|
+
(function (SemanticTokensDeltaRequest) {
|
|
25
|
+
SemanticTokensDeltaRequest.method = 'textDocument/semanticTokens/full/delta';
|
|
26
|
+
SemanticTokensDeltaRequest.messageDirection = messages_1.MessageDirection.clientToServer;
|
|
27
|
+
SemanticTokensDeltaRequest.type = new messages_1.ProtocolRequestType(SemanticTokensDeltaRequest.method);
|
|
28
|
+
SemanticTokensDeltaRequest.registrationMethod = SemanticTokensRegistrationType.method;
|
|
29
|
+
})(SemanticTokensDeltaRequest || (protocol_semanticTokens.SemanticTokensDeltaRequest = SemanticTokensDeltaRequest = {}));
|
|
30
|
+
var SemanticTokensRangeRequest;
|
|
31
|
+
(function (SemanticTokensRangeRequest) {
|
|
32
|
+
SemanticTokensRangeRequest.method = 'textDocument/semanticTokens/range';
|
|
33
|
+
SemanticTokensRangeRequest.messageDirection = messages_1.MessageDirection.clientToServer;
|
|
34
|
+
SemanticTokensRangeRequest.type = new messages_1.ProtocolRequestType(SemanticTokensRangeRequest.method);
|
|
35
|
+
SemanticTokensRangeRequest.registrationMethod = SemanticTokensRegistrationType.method;
|
|
36
|
+
})(SemanticTokensRangeRequest || (protocol_semanticTokens.SemanticTokensRangeRequest = SemanticTokensRangeRequest = {}));
|
|
37
|
+
var SemanticTokensRefreshRequest;
|
|
38
|
+
(function (SemanticTokensRefreshRequest) {
|
|
39
|
+
SemanticTokensRefreshRequest.method = `workspace/semanticTokens/refresh`;
|
|
40
|
+
SemanticTokensRefreshRequest.messageDirection = messages_1.MessageDirection.serverToClient;
|
|
41
|
+
SemanticTokensRefreshRequest.type = new messages_1.ProtocolRequestType0(SemanticTokensRefreshRequest.method);
|
|
42
|
+
})(SemanticTokensRefreshRequest || (protocol_semanticTokens.SemanticTokensRefreshRequest = SemanticTokensRefreshRequest = {}));
|
|
43
|
+
export { protocol_semanticTokens as default };
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { __exports as protocol_showDocument } from '../../../../_virtual/protocol.showDocument.js';
|
|
2
|
+
import { __exports as messages } from '../../../../_virtual/messages.js';
|
|
3
|
+
import './messages.js';
|
|
4
|
+
Object.defineProperty(protocol_showDocument, "__esModule", { value: true });
|
|
5
|
+
protocol_showDocument.ShowDocumentRequest = void 0;
|
|
6
|
+
const messages_1 = messages;
|
|
7
|
+
var ShowDocumentRequest;
|
|
8
|
+
(function (ShowDocumentRequest) {
|
|
9
|
+
ShowDocumentRequest.method = 'window/showDocument';
|
|
10
|
+
ShowDocumentRequest.messageDirection = messages_1.MessageDirection.serverToClient;
|
|
11
|
+
ShowDocumentRequest.type = new messages_1.ProtocolRequestType(ShowDocumentRequest.method);
|
|
12
|
+
})(ShowDocumentRequest || (protocol_showDocument.ShowDocumentRequest = ShowDocumentRequest = {}));
|
|
13
|
+
export { protocol_showDocument as default };
|
package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.typeDefinition.js
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { __exports as protocol_typeDefinition } from '../../../../_virtual/protocol.typeDefinition.js';
|
|
2
|
+
import { __exports as messages } from '../../../../_virtual/messages.js';
|
|
3
|
+
import './messages.js';
|
|
4
|
+
Object.defineProperty(protocol_typeDefinition, "__esModule", { value: true });
|
|
5
|
+
protocol_typeDefinition.TypeDefinitionRequest = void 0;
|
|
6
|
+
const messages_1 = messages;
|
|
7
|
+
var TypeDefinitionRequest;
|
|
8
|
+
(function (TypeDefinitionRequest) {
|
|
9
|
+
TypeDefinitionRequest.method = 'textDocument/typeDefinition';
|
|
10
|
+
TypeDefinitionRequest.messageDirection = messages_1.MessageDirection.clientToServer;
|
|
11
|
+
TypeDefinitionRequest.type = new messages_1.ProtocolRequestType(TypeDefinitionRequest.method);
|
|
12
|
+
})(TypeDefinitionRequest || (protocol_typeDefinition.TypeDefinitionRequest = TypeDefinitionRequest = {}));
|
|
13
|
+
export { protocol_typeDefinition as default };
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { __exports as protocol_typeHierarchy } from '../../../../_virtual/protocol.typeHierarchy.js';
|
|
2
|
+
import { __exports as messages } from '../../../../_virtual/messages.js';
|
|
3
|
+
import './messages.js';
|
|
4
|
+
Object.defineProperty(protocol_typeHierarchy, "__esModule", { value: true });
|
|
5
|
+
protocol_typeHierarchy.TypeHierarchySubtypesRequest = protocol_typeHierarchy.TypeHierarchySupertypesRequest = protocol_typeHierarchy.TypeHierarchyPrepareRequest = void 0;
|
|
6
|
+
const messages_1 = messages;
|
|
7
|
+
var TypeHierarchyPrepareRequest;
|
|
8
|
+
(function (TypeHierarchyPrepareRequest) {
|
|
9
|
+
TypeHierarchyPrepareRequest.method = 'textDocument/prepareTypeHierarchy';
|
|
10
|
+
TypeHierarchyPrepareRequest.messageDirection = messages_1.MessageDirection.clientToServer;
|
|
11
|
+
TypeHierarchyPrepareRequest.type = new messages_1.ProtocolRequestType(TypeHierarchyPrepareRequest.method);
|
|
12
|
+
})(TypeHierarchyPrepareRequest || (protocol_typeHierarchy.TypeHierarchyPrepareRequest = TypeHierarchyPrepareRequest = {}));
|
|
13
|
+
var TypeHierarchySupertypesRequest;
|
|
14
|
+
(function (TypeHierarchySupertypesRequest) {
|
|
15
|
+
TypeHierarchySupertypesRequest.method = 'typeHierarchy/supertypes';
|
|
16
|
+
TypeHierarchySupertypesRequest.messageDirection = messages_1.MessageDirection.clientToServer;
|
|
17
|
+
TypeHierarchySupertypesRequest.type = new messages_1.ProtocolRequestType(TypeHierarchySupertypesRequest.method);
|
|
18
|
+
})(TypeHierarchySupertypesRequest || (protocol_typeHierarchy.TypeHierarchySupertypesRequest = TypeHierarchySupertypesRequest = {}));
|
|
19
|
+
var TypeHierarchySubtypesRequest;
|
|
20
|
+
(function (TypeHierarchySubtypesRequest) {
|
|
21
|
+
TypeHierarchySubtypesRequest.method = 'typeHierarchy/subtypes';
|
|
22
|
+
TypeHierarchySubtypesRequest.messageDirection = messages_1.MessageDirection.clientToServer;
|
|
23
|
+
TypeHierarchySubtypesRequest.type = new messages_1.ProtocolRequestType(TypeHierarchySubtypesRequest.method);
|
|
24
|
+
})(TypeHierarchySubtypesRequest || (protocol_typeHierarchy.TypeHierarchySubtypesRequest = TypeHierarchySubtypesRequest = {}));
|
|
25
|
+
export { protocol_typeHierarchy as default };
|
package/dist/node_modules/vscode-languageserver-protocol/lib/common/protocol.workspaceFolder.js
ADDED
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { __exports as protocol_workspaceFolder } from '../../../../_virtual/protocol.workspaceFolder.js';
|
|
2
|
+
import { __exports as messages } from '../../../../_virtual/messages.js';
|
|
3
|
+
import './messages.js';
|
|
4
|
+
Object.defineProperty(protocol_workspaceFolder, "__esModule", { value: true });
|
|
5
|
+
protocol_workspaceFolder.DidChangeWorkspaceFoldersNotification = protocol_workspaceFolder.WorkspaceFoldersRequest = void 0;
|
|
6
|
+
const messages_1 = messages;
|
|
7
|
+
var WorkspaceFoldersRequest;
|
|
8
|
+
(function (WorkspaceFoldersRequest) {
|
|
9
|
+
WorkspaceFoldersRequest.method = 'workspace/workspaceFolders';
|
|
10
|
+
WorkspaceFoldersRequest.messageDirection = messages_1.MessageDirection.serverToClient;
|
|
11
|
+
WorkspaceFoldersRequest.type = new messages_1.ProtocolRequestType0(WorkspaceFoldersRequest.method);
|
|
12
|
+
})(WorkspaceFoldersRequest || (protocol_workspaceFolder.WorkspaceFoldersRequest = WorkspaceFoldersRequest = {}));
|
|
13
|
+
var DidChangeWorkspaceFoldersNotification;
|
|
14
|
+
(function (DidChangeWorkspaceFoldersNotification) {
|
|
15
|
+
DidChangeWorkspaceFoldersNotification.method = 'workspace/didChangeWorkspaceFolders';
|
|
16
|
+
DidChangeWorkspaceFoldersNotification.messageDirection = messages_1.MessageDirection.clientToServer;
|
|
17
|
+
DidChangeWorkspaceFoldersNotification.type = new messages_1.ProtocolNotificationType(DidChangeWorkspaceFoldersNotification.method);
|
|
18
|
+
})(DidChangeWorkspaceFoldersNotification || (protocol_workspaceFolder.DidChangeWorkspaceFoldersNotification = DidChangeWorkspaceFoldersNotification = {}));
|
|
19
|
+
export { protocol_workspaceFolder as default };
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { __exports as is } from '../../../../../_virtual/is.js';
|
|
2
|
+
Object.defineProperty(is, "__esModule", { value: true });
|
|
3
|
+
is.objectLiteral = is.typedArray = is.stringArray = is.array = is.func = is.error = is.number = is.string = is.boolean = void 0;
|
|
4
|
+
function boolean(value) {
|
|
5
|
+
return value === true || value === false;
|
|
6
|
+
}
|
|
7
|
+
is.boolean = boolean;
|
|
8
|
+
function string(value) {
|
|
9
|
+
return typeof value === 'string' || value instanceof String;
|
|
10
|
+
}
|
|
11
|
+
is.string = string;
|
|
12
|
+
function number(value) {
|
|
13
|
+
return typeof value === 'number' || value instanceof Number;
|
|
14
|
+
}
|
|
15
|
+
is.number = number;
|
|
16
|
+
function error(value) {
|
|
17
|
+
return value instanceof Error;
|
|
18
|
+
}
|
|
19
|
+
is.error = error;
|
|
20
|
+
function func(value) {
|
|
21
|
+
return typeof value === 'function';
|
|
22
|
+
}
|
|
23
|
+
is.func = func;
|
|
24
|
+
function array(value) {
|
|
25
|
+
return Array.isArray(value);
|
|
26
|
+
}
|
|
27
|
+
is.array = array;
|
|
28
|
+
function stringArray(value) {
|
|
29
|
+
return array(value) && value.every(elem => string(elem));
|
|
30
|
+
}
|
|
31
|
+
is.stringArray = stringArray;
|
|
32
|
+
function typedArray(value, check) {
|
|
33
|
+
return Array.isArray(value) && value.every(check);
|
|
34
|
+
}
|
|
35
|
+
is.typedArray = typedArray;
|
|
36
|
+
function objectLiteral(value) {
|
|
37
|
+
return value !== null && typeof value === 'object';
|
|
38
|
+
}
|
|
39
|
+
is.objectLiteral = objectLiteral;
|
|
40
|
+
export { is as default };
|