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

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