@codingame/monaco-editor-wrapper 1.1.5 → 1.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.
Files changed (69) hide show
  1. package/dist/Groovy2.js +28 -0
  2. package/dist/JavaScript.tmLanguage.js +22 -1
  3. package/dist/JavaScriptReact.tmLanguage.js +5915 -0
  4. package/dist/TypeScript.tmLanguage.js +22 -1
  5. package/dist/TypeScriptReact.tmLanguage.js +5915 -0
  6. package/dist/angular.js +56 -0
  7. package/dist/aspnetcorerazor.tmLanguage.js +65 -83
  8. package/dist/clojure.tmLanguage.js +11 -15
  9. package/dist/cobol2.js +80 -0
  10. package/dist/cpptools.js +2311 -0
  11. package/dist/csharp.tmLanguage.js +5 -5
  12. package/dist/css.worker.js +1 -1
  13. package/dist/d2.js +92 -98
  14. package/dist/d3.js +526 -0
  15. package/dist/dart3.js +966 -0
  16. package/dist/elixir3.js +40 -0
  17. package/dist/erlang2.js +92 -0
  18. package/dist/{cssContribution.js → features/cssContribution.js} +2 -2
  19. package/dist/features/extensionConfigurations.d.ts +1 -0
  20. package/dist/features/extensionConfigurations.js +142 -0
  21. package/dist/{htmlContribution.js → features/htmlContribution.js} +2 -2
  22. package/dist/{jsonContribution.js → features/jsonContribution.js} +3 -3
  23. package/dist/features/mutualizedExtensionConfigurations.d.ts +1 -0
  24. package/dist/features/mutualizedExtensionConfigurations.js +4857 -0
  25. package/dist/features/typescriptContribution.d.ts +4 -0
  26. package/dist/{typescriptContribution.js → features/typescriptContribution.js} +31 -3
  27. package/dist/fsharp.tmLanguage.js +10 -1
  28. package/dist/haskell2.js +16 -0
  29. package/dist/html.tmLanguage2.js +11 -1
  30. package/dist/html.worker.js +1 -1
  31. package/dist/java2.js +704 -0
  32. package/dist/json.worker.js +1 -1
  33. package/dist/jvm-bytecode-verbose.js +1231 -0
  34. package/dist/jvm-bytecode.js +565 -0
  35. package/dist/languages/extensions/configurationLoader.d.ts +20 -2
  36. package/dist/languages/extensions/extensionConfigurationLoader.d.ts +3 -0
  37. package/dist/languages/extensions/grammarLoader.d.ts +2 -92921
  38. package/dist/languages/extensions/languageConfigurationLoader.d.ts +3 -0
  39. package/dist/languages/extensions/snippetLoader.d.ts +3 -5618
  40. package/dist/lua.tmLanguage.js +12 -2
  41. package/dist/lua2.js +1511 -0
  42. package/dist/main.js +273 -122
  43. package/dist/markdown.tmLanguage.js +91 -14
  44. package/dist/ocaml3.js +145 -0
  45. package/dist/omnisharp.js +522 -0
  46. package/dist/pascal.tmLanguage.js +2 -2
  47. package/dist/pascal2.js +26 -0
  48. package/dist/php.tmLanguage.js +161 -96
  49. package/dist/postgresql.js +75 -0
  50. package/dist/r2.js +17 -29
  51. package/dist/rmd.js +8 -1
  52. package/dist/scalameta.js +177 -0
  53. package/dist/sql.js +96 -2
  54. package/dist/sql.tmLanguage.js +532 -0
  55. package/dist/tasty.js +72 -0
  56. package/dist/ts.worker.js +1 -1
  57. package/dist/typescript-language-features.js +998 -0
  58. package/dist/verilog2.js +94 -0
  59. package/dist/vscode-R.js +513 -0
  60. package/dist/vscode-groovy.js +28 -0
  61. package/dist/vscode-python.js +677 -0
  62. package/dist/worker.js +1 -1
  63. package/package.json +12 -11
  64. package/stats.html +205 -795
  65. package/dist/SQL.plist.js +0 -482
  66. package/dist/extensionConfigurations.js +0 -9475
  67. package/dist/html (eex).js +0 -31
  68. package/dist/pgsql-sql.js +0 -21
  69. package/dist/r.tmLanguage.js +0 -551
package/dist/d2.js CHANGED
@@ -30,6 +30,18 @@ var repository = {
30
30
  },
31
31
  {
32
32
  include: "#type-ctor"
33
+ },
34
+ {
35
+ begin: "!\\(",
36
+ end: "\\)",
37
+ patterns: [
38
+ {
39
+ include: "#type"
40
+ },
41
+ {
42
+ include: "#expression"
43
+ }
44
+ ]
33
45
  }
34
46
  ]
35
47
  },
@@ -47,6 +59,10 @@ var repository = {
47
59
  },
48
60
  "extended-type": {
49
61
  patterns: [
62
+ {
63
+ match: "\\b((\\.\\s*)?[_\\w][_\\d\\w]*)(\\s*\\.\\s*[_\\w][_\\d\\w]*)*\\b",
64
+ name: "entity.name.type.d"
65
+ },
50
66
  {
51
67
  begin: "\\[",
52
68
  beginCaptures: {
@@ -201,7 +217,7 @@ var repository = {
201
217
  patterns: [
202
218
  {
203
219
  match: "\\s(\\?|:)\\s",
204
- name: "keyword.operator.expression.d"
220
+ name: "keyword.operator.ternary.d"
205
221
  }
206
222
  ]
207
223
  },
@@ -283,21 +299,27 @@ var repository = {
283
299
  "cast-expression": {
284
300
  patterns: [
285
301
  {
286
- begin: "\\bcast\\s*\\(",
302
+ begin: "\\b(cast)\\s*(\\()",
287
303
  beginCaptures: {
288
- "0": {
289
- name: "support.type.cast.begin.d"
304
+ "1": {
305
+ name: "keyword.operator.cast.d"
306
+ },
307
+ "2": {
308
+ name: "keyword.operator.cast.begin.d"
290
309
  }
291
310
  },
292
311
  end: "\\)",
293
312
  endCaptures: {
294
313
  "0": {
295
- name: "support.type.cast.end.d"
314
+ name: "keyword.operator.cast.end.d"
296
315
  }
297
316
  },
298
317
  patterns: [
299
318
  {
300
319
  include: "#type"
320
+ },
321
+ {
322
+ include: "#extended-type"
301
323
  }
302
324
  ]
303
325
  }
@@ -322,9 +344,6 @@ var repository = {
322
344
  },
323
345
  "function-literal": {
324
346
  patterns: [
325
- {
326
- include: "#lambda-expression"
327
- },
328
347
  {
329
348
  match: "=>",
330
349
  name: "keyword.operator.lambda.d"
@@ -332,11 +351,7 @@ var repository = {
332
351
  {
333
352
  match: "\\b(function|delegate)\\b",
334
353
  name: "keyword.other.function-literal.d"
335
- }
336
- ]
337
- },
338
- "lambda-expression": {
339
- patterns: [
354
+ },
340
355
  {
341
356
  begin: "\\b([_\\w][_\\d\\w]*)\\s*(=>)",
342
357
  end: "(?=[\\);,\\]}])",
@@ -353,6 +368,23 @@ var repository = {
353
368
  include: "source.d"
354
369
  }
355
370
  ]
371
+ },
372
+ {
373
+ begin: "(?<=\\)|\\()(\\s*)({)",
374
+ beginCaptures: {
375
+ "1": {
376
+ name: "source.d"
377
+ },
378
+ "2": {
379
+ name: "source.d"
380
+ }
381
+ },
382
+ end: "}",
383
+ patterns: [
384
+ {
385
+ include: "source.d"
386
+ }
387
+ ]
356
388
  }
357
389
  ]
358
390
  },
@@ -557,6 +589,9 @@ var repository = {
557
589
  {
558
590
  include: "#for-statement"
559
591
  },
592
+ {
593
+ include: "#static-foreach"
594
+ },
560
595
  {
561
596
  include: "#foreach-statement"
562
597
  },
@@ -1340,9 +1375,6 @@ var repository = {
1340
1375
  },
1341
1376
  {
1342
1377
  include: "#function-prelude"
1343
- },
1344
- {
1345
- include: "#function-parameters"
1346
1378
  }
1347
1379
  ]
1348
1380
  },
@@ -1354,17 +1386,6 @@ var repository = {
1354
1386
  }
1355
1387
  ]
1356
1388
  },
1357
- "function-parameters": {
1358
- begin: "\\((?=.*\\)\\s*(\\{|=>))",
1359
- beginCaptures: "entity.name.function.d",
1360
- end: "\\)",
1361
- endCaptures: "entity.name.function.d",
1362
- patterns: [
1363
- {
1364
- include: "#parameters"
1365
- }
1366
- ]
1367
- },
1368
1389
  "class-members": {
1369
1390
  patterns: [
1370
1391
  {
@@ -1390,56 +1411,6 @@ var repository = {
1390
1411
  }
1391
1412
  ]
1392
1413
  },
1393
- parameters: {
1394
- patterns: [
1395
- {
1396
- match: ",",
1397
- name: "keyword.operator.comma.d"
1398
- },
1399
- {
1400
- include: "#comment"
1401
- },
1402
- {
1403
- include: "#parameter"
1404
- }
1405
- ]
1406
- },
1407
- parameter: {
1408
- patterns: [
1409
- {
1410
- include: "#in-out"
1411
- },
1412
- {
1413
- include: "#type"
1414
- },
1415
- {
1416
- include: "#function-literal"
1417
- },
1418
- {
1419
- match: "\\.\\.\\.",
1420
- name: "support.type.tuple.d"
1421
- },
1422
- {
1423
- match: "\\b[R-Z]([0-9])?\\b",
1424
- name: "variable.parameter.d"
1425
- },
1426
- {
1427
- match: "\\b(\\.?[_\\w][_\\d\\w]*)+\\b",
1428
- name: "variable.parameter.d"
1429
- },
1430
- {
1431
- include: "#lexical"
1432
- }
1433
- ]
1434
- },
1435
- "in-out": {
1436
- patterns: [
1437
- {
1438
- match: "\\b(auto|final|in|out|lazy|ref|scope)\\b",
1439
- name: "storage.type.modifier.inout.d"
1440
- }
1441
- ]
1442
- },
1443
1414
  "function-attribute": {
1444
1415
  patterns: [
1445
1416
  {
@@ -1550,14 +1521,6 @@ var repository = {
1550
1521
  }
1551
1522
  ]
1552
1523
  },
1553
- "unit-test": {
1554
- patterns: [
1555
- {
1556
- match: "\\bunittest\\b",
1557
- name: "entity.name.function.unit-test.d"
1558
- }
1559
- ]
1560
- },
1561
1524
  "shared-static-constructor": {
1562
1525
  patterns: [
1563
1526
  {
@@ -1668,26 +1631,33 @@ var repository = {
1668
1631
  "enum-declaration": {
1669
1632
  patterns: [
1670
1633
  {
1671
- match: "\\b(enum)(?:\\s+([A-Za-z_][\\w_\\d]*))?\\b",
1672
- captures: {
1634
+ begin: "\\b(enum)\\b\\s+",
1635
+ end: "([A-Za-z_][\\w_\\d]*)\\s*(?=;|=|\\()(;)?",
1636
+ beginCaptures: {
1673
1637
  "1": {
1674
1638
  name: "storage.type.enum.d"
1675
- },
1676
- "2": {
1677
- name: "entity.name.type.enum.d"
1678
1639
  }
1679
- }
1680
- },
1681
- {
1682
- match: "\\b(enum)\\b\\s+([A-Za-z_][\\w_\\d]*)\\s*(?=;|=)",
1683
- captures: {
1640
+ },
1641
+ endCaptures: {
1684
1642
  "1": {
1685
- name: "storage.type.enum.d"
1643
+ name: "entity.name.type.enum.d"
1686
1644
  },
1687
1645
  "2": {
1688
- name: "entity.name.type.enum.d"
1646
+ name: "meta.enum.end.d"
1689
1647
  }
1690
- }
1648
+ },
1649
+ patterns: [
1650
+ {
1651
+ include: "#type"
1652
+ },
1653
+ {
1654
+ include: "#extended-type"
1655
+ },
1656
+ {
1657
+ match: "=(?![=>])",
1658
+ name: "keyword.operator.equal.alias.d"
1659
+ }
1660
+ ]
1691
1661
  }
1692
1662
  ]
1693
1663
  },
@@ -2053,6 +2023,30 @@ var repository = {
2053
2023
  }
2054
2024
  ]
2055
2025
  },
2026
+ "static-foreach": {
2027
+ patterns: [
2028
+ {
2029
+ begin: "\\b(static\\s+foreach)\\b\\s*",
2030
+ captures: {
2031
+ "1": {
2032
+ name: "keyword.control.static-foreach.d"
2033
+ }
2034
+ },
2035
+ end: "(?<=\\))",
2036
+ patterns: [
2037
+ {
2038
+ begin: "\\(",
2039
+ end: "\\)",
2040
+ patterns: [
2041
+ {
2042
+ include: "source.d"
2043
+ }
2044
+ ]
2045
+ }
2046
+ ]
2047
+ }
2048
+ ]
2049
+ },
2056
2050
  module: {
2057
2051
  packages: [
2058
2052
  {