@webgal/language-service 0.0.2-alpha.3 → 0.0.2-alpha.5

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.
@@ -1,2 +1,607 @@
1
- import { a as createWebgalMonacoLanguageClientWithWorker, i as createWebgalMonacoLanguageClient, n as CreateWebgalMonacoLanguageClientOptions, r as CreateWebgalMonacoLanguageClientWorkerOptions, t as initWebgalMonaco } from "../monaco-init-DCRVIFZj.mjs";
2
- export { CreateWebgalMonacoLanguageClientOptions, CreateWebgalMonacoLanguageClientWorkerOptions, createWebgalMonacoLanguageClient, createWebgalMonacoLanguageClientWithWorker, initWebgalMonaco };
1
+ import { c as VirtualFileSystem, o as VirtualEntry } from "../types-CBH-p_Iu.mjs";
2
+ import "../index-BF2WhBpG.mjs";
3
+ import "vscode/localExtensionHost";
4
+
5
+ //#region src/monaco/monaco.d.ts
6
+ interface CreateWebgalMonacoLanguageClientOptions {
7
+ languageServerUrl: string;
8
+ editor: any;
9
+ virtualFileSystem?: VirtualFileSystem;
10
+ }
11
+ declare function createMemoryFileSystem(options?: {
12
+ root?: string;
13
+ tree?: VirtualEntry;
14
+ }): VirtualFileSystem;
15
+ declare const createWebgalMonacoLanguageClient: (options: CreateWebgalMonacoLanguageClientOptions) => {
16
+ webSocket: WebSocket;
17
+ vfs: VirtualFileSystem;
18
+ };
19
+ interface CreateWebgalMonacoLanguageClientWorkerOptions {
20
+ editor: any;
21
+ worker: Worker;
22
+ virtualFileSystem?: VirtualFileSystem;
23
+ }
24
+ declare const createWebgalMonacoLanguageClientWithWorker: (options: CreateWebgalMonacoLanguageClientWorkerOptions) => {
25
+ worker: Worker;
26
+ vfs: VirtualFileSystem;
27
+ };
28
+ //#endregion
29
+ //#region src/monaco/monaco-init.d.ts
30
+ declare const initResources: {
31
+ "./webgal.tmLanguage.json": {
32
+ $schema: string;
33
+ name: string;
34
+ patterns: {
35
+ include: string;
36
+ }[];
37
+ repository: {
38
+ "argument-list": {
39
+ patterns: ({
40
+ comment: string;
41
+ match: string;
42
+ captures: {
43
+ "1": {
44
+ patterns: {
45
+ include: string;
46
+ }[];
47
+ };
48
+ "2": {
49
+ patterns: {
50
+ include: string;
51
+ }[];
52
+ };
53
+ "3": {
54
+ patterns: {
55
+ include: string;
56
+ }[];
57
+ };
58
+ };
59
+ } | {
60
+ comment: string;
61
+ match: string;
62
+ captures: {
63
+ "1": {
64
+ patterns: {
65
+ include: string;
66
+ }[];
67
+ };
68
+ "2": {
69
+ patterns: {
70
+ include: string;
71
+ }[];
72
+ };
73
+ "3"?: undefined;
74
+ };
75
+ })[];
76
+ };
77
+ character: {
78
+ match: string;
79
+ name: string;
80
+ };
81
+ command: {
82
+ match: string;
83
+ name: string;
84
+ };
85
+ "comment-line": {
86
+ match: string;
87
+ name: string;
88
+ };
89
+ operator: {
90
+ match: string;
91
+ name: string;
92
+ };
93
+ parameter: {
94
+ patterns: ({
95
+ comment: string;
96
+ match: string;
97
+ name: string;
98
+ captures?: undefined;
99
+ } | {
100
+ comment: string;
101
+ match: string;
102
+ captures: {
103
+ "1": {
104
+ name: string;
105
+ };
106
+ "2": {
107
+ patterns: {
108
+ include: string;
109
+ }[];
110
+ };
111
+ "3": {
112
+ name: string;
113
+ };
114
+ };
115
+ name?: undefined;
116
+ })[];
117
+ };
118
+ utterance: {
119
+ patterns: ({
120
+ comment: string;
121
+ match: string;
122
+ captures: {
123
+ "0": {
124
+ name: string;
125
+ };
126
+ "1"?: undefined;
127
+ "2"?: undefined;
128
+ };
129
+ } | {
130
+ comment: string;
131
+ match: string;
132
+ captures: {
133
+ "1": {
134
+ name: string;
135
+ };
136
+ "2": {
137
+ patterns: {
138
+ include: string;
139
+ }[];
140
+ };
141
+ "0"?: undefined;
142
+ };
143
+ })[];
144
+ };
145
+ "character-colon": {
146
+ comment: string;
147
+ match: string;
148
+ captures: {
149
+ "1": {
150
+ name: string;
151
+ patterns: {
152
+ include: string;
153
+ }[];
154
+ };
155
+ "2": {
156
+ patterns: {
157
+ include: string;
158
+ }[];
159
+ };
160
+ "3": {
161
+ patterns: {
162
+ include: string;
163
+ }[];
164
+ };
165
+ "4": {
166
+ patterns: {
167
+ include: string;
168
+ }[];
169
+ };
170
+ };
171
+ };
172
+ "command-colon": {
173
+ comment: string;
174
+ match: string;
175
+ captures: {
176
+ "1": {
177
+ name: string;
178
+ patterns: {
179
+ include: string;
180
+ }[];
181
+ };
182
+ "2": {
183
+ patterns: {
184
+ include: string;
185
+ }[];
186
+ };
187
+ "3": {
188
+ patterns: {
189
+ include: string;
190
+ }[];
191
+ };
192
+ "4": {
193
+ patterns: {
194
+ include: string;
195
+ }[];
196
+ };
197
+ };
198
+ };
199
+ "command-semicolon": {
200
+ comment: string;
201
+ match: string;
202
+ captures: {
203
+ "1": {
204
+ name: string;
205
+ patterns: {
206
+ include: string;
207
+ }[];
208
+ };
209
+ "2": {
210
+ patterns: {
211
+ include: string;
212
+ }[];
213
+ };
214
+ };
215
+ };
216
+ "utterance-semicolon": {
217
+ comment: string;
218
+ match: string;
219
+ captures: {
220
+ "1": {
221
+ patterns: {
222
+ include: string;
223
+ }[];
224
+ };
225
+ "2": {
226
+ patterns: {
227
+ include: string;
228
+ }[];
229
+ };
230
+ };
231
+ };
232
+ statement: {
233
+ patterns: {
234
+ include: string;
235
+ }[];
236
+ };
237
+ };
238
+ scopeName: string;
239
+ };
240
+ "./webgal-config.tmLanguage.json": {
241
+ $schema: string;
242
+ name: string;
243
+ patterns: {
244
+ include: string;
245
+ }[];
246
+ repository: {
247
+ command: {
248
+ match: string;
249
+ name: string;
250
+ };
251
+ "comment-line": {
252
+ match: string;
253
+ name: string;
254
+ };
255
+ operator: {
256
+ match: string;
257
+ name: string;
258
+ };
259
+ parameter: {
260
+ match: string;
261
+ name: string;
262
+ };
263
+ "command-colon": {
264
+ comment: string;
265
+ match: string;
266
+ captures: {
267
+ "1": {
268
+ patterns: {
269
+ include: string;
270
+ }[];
271
+ };
272
+ "2": {
273
+ patterns: {
274
+ include: string;
275
+ }[];
276
+ };
277
+ "3": {
278
+ patterns: {
279
+ include: string;
280
+ }[];
281
+ };
282
+ "4": {
283
+ patterns: {
284
+ include: string;
285
+ }[];
286
+ };
287
+ };
288
+ };
289
+ statement: {
290
+ patterns: {
291
+ include: string;
292
+ }[];
293
+ };
294
+ };
295
+ scopeName: string;
296
+ };
297
+ "./language-configuration.json": {
298
+ comments: {
299
+ lineComment: {
300
+ comment: string;
301
+ };
302
+ };
303
+ autoClosingPairs: ({
304
+ open: string;
305
+ close: string;
306
+ notIn?: undefined;
307
+ } | {
308
+ open: string;
309
+ close: string;
310
+ notIn: string[];
311
+ })[];
312
+ folding: {
313
+ markers: {
314
+ start: string;
315
+ end: string;
316
+ };
317
+ };
318
+ surroundingPairs: string[][];
319
+ wordPattern: string;
320
+ };
321
+ "./dark.json": {
322
+ name: string;
323
+ colors: {
324
+ "editor.inactiveSelectionBackground": string;
325
+ "editorIndentGuide.background1": string;
326
+ "editorIndentGuide.activeBackground1": string;
327
+ "editor.selectionHighlightBackground": string;
328
+ "editor.lineHighlightBackground": string;
329
+ "editor.lineHighlightBorder": string;
330
+ "editor.selectionBackground": string;
331
+ "editorCursor.foreground": string;
332
+ "list.dropBackground": string;
333
+ "menu.foreground": string;
334
+ "menu.separatorBackground": string;
335
+ "menu.border": string;
336
+ "tab.selectedBackground": string;
337
+ "tab.selectedForeground": string;
338
+ "tab.lastPinnedBorder": string;
339
+ "list.activeSelectionIconForeground": string;
340
+ "terminal.inactiveSelectionBackground": string;
341
+ "actionBar.toggledBackground": string;
342
+ "activityBar.activeBorder": string;
343
+ "activityBar.background": string;
344
+ "activityBar.border": string;
345
+ "activityBar.foreground": string;
346
+ "activityBar.inactiveForeground": string;
347
+ "activityBarBadge.background": string;
348
+ "activityBarBadge.foreground": string;
349
+ "badge.background": string;
350
+ "badge.foreground": string;
351
+ "button.background": string;
352
+ "button.border": string;
353
+ "button.foreground": string;
354
+ "button.hoverBackground": string;
355
+ "button.secondaryBackground": string;
356
+ "button.secondaryForeground": string;
357
+ "button.secondaryHoverBackground": string;
358
+ "chat.slashCommandBackground": string;
359
+ "chat.slashCommandForeground": string;
360
+ "chat.editedFileForeground": string;
361
+ "checkbox.background": string;
362
+ "checkbox.border": string;
363
+ "debugToolBar.background": string;
364
+ descriptionForeground: string;
365
+ "dropdown.background": string;
366
+ "dropdown.border": string;
367
+ "dropdown.foreground": string;
368
+ "dropdown.listBackground": string;
369
+ "editor.background": string;
370
+ "editor.findMatchBackground": string;
371
+ "editor.foreground": string;
372
+ "editorGroup.border": string;
373
+ "editorGroupHeader.tabsBackground": string;
374
+ "editorGroupHeader.tabsBorder": string;
375
+ "editorGutter.addedBackground": string;
376
+ "editorGutter.deletedBackground": string;
377
+ "editorGutter.modifiedBackground": string;
378
+ "editorLineNumber.activeForeground": string;
379
+ "editorLineNumber.foreground": string;
380
+ "editorOverviewRuler.border": string;
381
+ "editorWidget.background": string;
382
+ errorForeground: string;
383
+ focusBorder: string;
384
+ foreground: string;
385
+ "icon.foreground": string;
386
+ "input.background": string;
387
+ "input.border": string;
388
+ "input.foreground": string;
389
+ "input.placeholderForeground": string;
390
+ "inputOption.activeBackground": string;
391
+ "inputOption.activeBorder": string;
392
+ "keybindingLabel.foreground": string;
393
+ "menu.background": string;
394
+ "menu.selectionBackground": string;
395
+ "notificationCenterHeader.background": string;
396
+ "notificationCenterHeader.foreground": string;
397
+ "notifications.background": string;
398
+ "notifications.border": string;
399
+ "notifications.foreground": string;
400
+ "panel.background": string;
401
+ "panel.border": string;
402
+ "panelInput.border": string;
403
+ "panelTitle.activeBorder": string;
404
+ "panelTitle.activeForeground": string;
405
+ "panelTitle.inactiveForeground": string;
406
+ "peekViewEditor.background": string;
407
+ "peekViewEditor.matchHighlightBackground": string;
408
+ "peekViewResult.background": string;
409
+ "peekViewResult.matchHighlightBackground": string;
410
+ "pickerGroup.border": string;
411
+ "progressBar.background": string;
412
+ "quickInput.background": string;
413
+ "quickInput.foreground": string;
414
+ "settings.dropdownBackground": string;
415
+ "settings.dropdownBorder": string;
416
+ "settings.headerForeground": string;
417
+ "settings.modifiedItemIndicator": string;
418
+ "sideBar.background": string;
419
+ "sideBar.border": string;
420
+ "sideBar.foreground": string;
421
+ "sideBarSectionHeader.background": string;
422
+ "sideBarSectionHeader.border": string;
423
+ "sideBarSectionHeader.foreground": string;
424
+ "sideBarTitle.foreground": string;
425
+ "statusBar.background": string;
426
+ "statusBar.border": string;
427
+ "statusBar.debuggingBackground": string;
428
+ "statusBar.debuggingForeground": string;
429
+ "statusBar.focusBorder": string;
430
+ "statusBar.foreground": string;
431
+ "statusBar.noFolderBackground": string;
432
+ "statusBarItem.focusBorder": string;
433
+ "statusBarItem.prominentBackground": string;
434
+ "statusBarItem.remoteBackground": string;
435
+ "statusBarItem.remoteForeground": string;
436
+ "tab.activeBackground": string;
437
+ "tab.activeBorder": string;
438
+ "tab.activeBorderTop": string;
439
+ "tab.activeForeground": string;
440
+ "tab.selectedBorderTop": string;
441
+ "tab.border": string;
442
+ "tab.hoverBackground": string;
443
+ "tab.inactiveBackground": string;
444
+ "tab.inactiveForeground": string;
445
+ "tab.unfocusedActiveBorder": string;
446
+ "tab.unfocusedActiveBorderTop": string;
447
+ "tab.unfocusedHoverBackground": string;
448
+ "terminal.foreground": string;
449
+ "terminal.tab.activeBorder": string;
450
+ "textBlockQuote.background": string;
451
+ "textBlockQuote.border": string;
452
+ "textCodeBlock.background": string;
453
+ "textLink.activeForeground": string;
454
+ "textLink.foreground": string;
455
+ "textPreformat.foreground": string;
456
+ "textPreformat.background": string;
457
+ "textSeparator.foreground": string;
458
+ "titleBar.activeBackground": string;
459
+ "titleBar.activeForeground": string;
460
+ "titleBar.border": string;
461
+ "titleBar.inactiveBackground": string;
462
+ "titleBar.inactiveForeground": string;
463
+ "welcomePage.tileBackground": string;
464
+ "welcomePage.progress.foreground": string;
465
+ "widget.border": string;
466
+ };
467
+ tokenColors: ({
468
+ scope: string[];
469
+ settings: {
470
+ foreground: string;
471
+ fontStyle?: undefined;
472
+ };
473
+ name?: undefined;
474
+ } | {
475
+ scope: string[];
476
+ settings: {
477
+ foreground: string;
478
+ fontStyle: string;
479
+ };
480
+ name?: undefined;
481
+ } | {
482
+ scope: string;
483
+ settings: {
484
+ fontStyle: string;
485
+ foreground?: undefined;
486
+ };
487
+ name?: undefined;
488
+ } | {
489
+ scope: string;
490
+ settings: {
491
+ foreground: string;
492
+ fontStyle?: undefined;
493
+ };
494
+ name?: undefined;
495
+ } | {
496
+ scope: string;
497
+ settings: {
498
+ fontStyle: string;
499
+ foreground: string;
500
+ };
501
+ name?: undefined;
502
+ } | {
503
+ name: string;
504
+ scope: string;
505
+ settings: {
506
+ foreground: string;
507
+ fontStyle?: undefined;
508
+ };
509
+ } | {
510
+ name: string;
511
+ scope: string[];
512
+ settings: {
513
+ foreground: string;
514
+ fontStyle?: undefined;
515
+ };
516
+ })[];
517
+ semanticHighlighting: boolean;
518
+ semanticTokenColors: {
519
+ newOperator: string;
520
+ stringLiteral: string;
521
+ customLiteral: string;
522
+ numberLiteral: string;
523
+ };
524
+ };
525
+ "./white.json": {
526
+ inherit: boolean;
527
+ base: string;
528
+ colors: {
529
+ focusBorder: string;
530
+ "editor.background": string;
531
+ "editor.foreground": string;
532
+ "editor.lineHighlightBackground": string;
533
+ "editorIndentGuide.background": string;
534
+ "editorLineNumber.foreground": string;
535
+ "editorBracketMatch.background": string;
536
+ "editorBracketMatch.border": string;
537
+ "statusBar.foreground": string;
538
+ "statusBar.noFolderForeground": string;
539
+ "statusBar.background": string;
540
+ "statusBar.noFolderBackground": string;
541
+ "statusBar.border": string;
542
+ "statusBar.debuggingBackground": string;
543
+ "statusBar.debuggingForeground": string;
544
+ "activityBarBadge.background": string;
545
+ "sideBar.foreground": string;
546
+ "sideBar.border": string;
547
+ "sideBarTitle.foreground": string;
548
+ "sideBarSectionHeader.background": string;
549
+ "sideBarSectionHeader.foreground": string;
550
+ "editorGroupHeader.tabsBorder": string;
551
+ "tab.activeBorder": string;
552
+ "tab.inactiveForeground": string;
553
+ "scrollbar.shadow": string;
554
+ "activityBar.background": string;
555
+ "activityBar.foreground": string;
556
+ "activityBar.inactiveForeground": string;
557
+ "activityBar.border": string;
558
+ "sideBar.background": string;
559
+ "tab.inactiveBackground": string;
560
+ "breadcrumb.background": string;
561
+ "tab.border": string;
562
+ "tab.hoverBackground": string;
563
+ "tab.activeBackground": string;
564
+ "editorGroupHeader.tabsBackground": string;
565
+ "titleBar.activeBackground": string;
566
+ "titleBar.inactiveBackground": string;
567
+ "titleBar.border": string;
568
+ "editorIndentGuide.activeBackground": string;
569
+ "terminal.foreground": string;
570
+ "terminalCursor.background": string;
571
+ "terminalCursor.foreground": string;
572
+ "terminal.ansiBlack": string;
573
+ "terminal.ansiBlue": string;
574
+ "terminal.ansiBrightBlack": string;
575
+ "terminal.ansiBrightBlue": string;
576
+ "terminal.ansiBrightCyan": string;
577
+ "terminal.ansiBrightGreen": string;
578
+ "terminal.ansiBrightMagenta": string;
579
+ "terminal.ansiBrightRed": string;
580
+ "terminal.ansiBrightWhite": string;
581
+ "terminal.ansiBrightYellow": string;
582
+ "terminal.ansiCyan": string;
583
+ "terminal.ansiGreen": string;
584
+ "terminal.ansiMagenta": string;
585
+ "terminal.ansiRed": string;
586
+ "terminal.ansiWhite": string;
587
+ "terminal.ansiYellow": string;
588
+ };
589
+ rules: ({
590
+ foreground: string;
591
+ token: string;
592
+ fontStyle?: undefined;
593
+ } | {
594
+ fontStyle: string;
595
+ foreground: string;
596
+ token: string;
597
+ } | {
598
+ fontStyle: string;
599
+ token: string;
600
+ foreground?: undefined;
601
+ })[];
602
+ encodedTokensColors: never[];
603
+ };
604
+ };
605
+ declare function initWebgalMonaco(): Promise<void>;
606
+ //#endregion
607
+ export { CreateWebgalMonacoLanguageClientOptions, CreateWebgalMonacoLanguageClientWorkerOptions, createMemoryFileSystem, createWebgalMonacoLanguageClient, createWebgalMonacoLanguageClientWithWorker, initResources, initWebgalMonaco };