@codingame/monaco-vscode-standalone-languages 5.1.2 → 5.3.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 (165) hide show
  1. package/_.contribution.js +1 -1
  2. package/abap/abap.contribution.js +1 -1
  3. package/abap/abap.js +1 -1
  4. package/apex/apex.contribution.js +1 -1
  5. package/apex/apex.js +1 -1
  6. package/azcli/azcli.contribution.js +1 -1
  7. package/azcli/azcli.js +1 -1
  8. package/bat/bat.contribution.js +1 -1
  9. package/bat/bat.js +1 -1
  10. package/bicep/bicep.contribution.js +1 -1
  11. package/bicep/bicep.js +1 -1
  12. package/cameligo/cameligo.contribution.js +1 -1
  13. package/cameligo/cameligo.js +1 -1
  14. package/clojure/clojure.contribution.js +1 -1
  15. package/clojure/clojure.js +1 -1
  16. package/coffee/coffee.contribution.js +1 -1
  17. package/coffee/coffee.js +1 -1
  18. package/cpp/cpp.contribution.js +1 -1
  19. package/cpp/cpp.js +1 -1
  20. package/csharp/csharp.contribution.js +1 -1
  21. package/csharp/csharp.js +1 -1
  22. package/csp/csp.contribution.js +1 -1
  23. package/csp/csp.js +1 -1
  24. package/css/css.contribution.js +1 -1
  25. package/css/css.js +1 -1
  26. package/cypher/cypher.contribution.js +1 -1
  27. package/cypher/cypher.js +1 -1
  28. package/dart/dart.contribution.js +1 -1
  29. package/dart/dart.js +1 -1
  30. package/dockerfile/dockerfile.contribution.js +1 -1
  31. package/dockerfile/dockerfile.js +1 -1
  32. package/ecl/ecl.contribution.js +1 -1
  33. package/ecl/ecl.js +1 -1
  34. package/elixir/elixir.contribution.js +1 -1
  35. package/elixir/elixir.js +1 -1
  36. package/flow9/flow9.contribution.js +1 -1
  37. package/flow9/flow9.js +1 -1
  38. package/freemarker2/freemarker2.contribution.js +1 -1
  39. package/freemarker2/freemarker2.js +1 -1
  40. package/fsharp/fsharp.contribution.js +1 -1
  41. package/fsharp/fsharp.js +1 -1
  42. package/go/go.contribution.js +1 -1
  43. package/go/go.js +1 -1
  44. package/graphql/graphql.contribution.js +1 -1
  45. package/graphql/graphql.js +1 -1
  46. package/handlebars/handlebars.contribution.js +1 -1
  47. package/handlebars/handlebars.js +1 -1
  48. package/hcl/hcl.contribution.js +1 -1
  49. package/hcl/hcl.js +1 -1
  50. package/html/html.contribution.js +1 -1
  51. package/html/html.js +1 -1
  52. package/index.js +1 -0
  53. package/ini/ini.contribution.js +1 -1
  54. package/ini/ini.js +1 -1
  55. package/java/java.contribution.js +1 -1
  56. package/java/java.js +1 -1
  57. package/javascript/javascript.contribution.js +1 -1
  58. package/javascript/javascript.js +1 -1
  59. package/julia/julia.contribution.js +1 -1
  60. package/julia/julia.js +1 -1
  61. package/kotlin/kotlin.contribution.js +1 -1
  62. package/kotlin/kotlin.js +1 -1
  63. package/less/less.contribution.js +1 -1
  64. package/less/less.js +1 -1
  65. package/lexon/lexon.contribution.js +1 -1
  66. package/lexon/lexon.js +1 -1
  67. package/liquid/liquid.contribution.js +1 -1
  68. package/liquid/liquid.js +1 -1
  69. package/lua/lua.contribution.js +1 -1
  70. package/lua/lua.js +1 -1
  71. package/m3/m3.contribution.js +1 -1
  72. package/m3/m3.js +1 -1
  73. package/markdown/markdown.contribution.js +1 -1
  74. package/markdown/markdown.js +1 -1
  75. package/mdx/mdx.contribution.js +1 -1
  76. package/mdx/mdx.js +1 -1
  77. package/mips/mips.contribution.js +1 -1
  78. package/mips/mips.js +1 -1
  79. package/msdax/msdax.contribution.js +1 -1
  80. package/msdax/msdax.js +1 -1
  81. package/mysql/mysql.contribution.js +1 -1
  82. package/mysql/mysql.js +1 -1
  83. package/objective-c/objective-c.contribution.js +1 -1
  84. package/objective-c/objective-c.js +1 -1
  85. package/package.json +2 -2
  86. package/pascal/pascal.contribution.js +1 -1
  87. package/pascal/pascal.js +1 -1
  88. package/pascaligo/pascaligo.contribution.js +1 -1
  89. package/pascaligo/pascaligo.js +1 -1
  90. package/perl/perl.contribution.js +1 -1
  91. package/perl/perl.js +1 -1
  92. package/pgsql/pgsql.contribution.js +1 -1
  93. package/pgsql/pgsql.js +1 -1
  94. package/php/php.contribution.js +1 -1
  95. package/php/php.js +1 -1
  96. package/pla/pla.contribution.js +1 -1
  97. package/pla/pla.js +1 -1
  98. package/postiats/postiats.contribution.js +1 -1
  99. package/postiats/postiats.js +1 -1
  100. package/powerquery/powerquery.contribution.js +1 -1
  101. package/powerquery/powerquery.js +1 -1
  102. package/powershell/powershell.contribution.js +1 -1
  103. package/powershell/powershell.js +1 -1
  104. package/protobuf/protobuf.contribution.js +1 -1
  105. package/protobuf/protobuf.js +1 -1
  106. package/pug/pug.contribution.js +1 -1
  107. package/pug/pug.js +1 -1
  108. package/python/python.contribution.js +1 -1
  109. package/python/python.js +1 -1
  110. package/qsharp/qsharp.contribution.js +1 -1
  111. package/qsharp/qsharp.js +1 -1
  112. package/r/r.contribution.js +1 -1
  113. package/r/r.js +1 -1
  114. package/razor/razor.contribution.js +1 -1
  115. package/razor/razor.js +1 -1
  116. package/redis/redis.contribution.js +1 -1
  117. package/redis/redis.js +1 -1
  118. package/redshift/redshift.contribution.js +1 -1
  119. package/redshift/redshift.js +1 -1
  120. package/restructuredtext/restructuredtext.contribution.js +1 -1
  121. package/restructuredtext/restructuredtext.js +1 -1
  122. package/ruby/ruby.contribution.js +1 -1
  123. package/ruby/ruby.js +1 -1
  124. package/rust/rust.contribution.js +1 -1
  125. package/rust/rust.js +1 -1
  126. package/sb/sb.contribution.js +1 -1
  127. package/sb/sb.js +1 -1
  128. package/scala/scala.contribution.js +1 -1
  129. package/scala/scala.js +1 -1
  130. package/scheme/scheme.contribution.js +1 -1
  131. package/scheme/scheme.js +1 -1
  132. package/scss/scss.contribution.js +1 -1
  133. package/scss/scss.js +1 -1
  134. package/shell/shell.contribution.js +1 -1
  135. package/shell/shell.js +1 -1
  136. package/solidity/solidity.contribution.js +1 -1
  137. package/solidity/solidity.js +1 -1
  138. package/sophia/sophia.contribution.js +1 -1
  139. package/sophia/sophia.js +1 -1
  140. package/sparql/sparql.contribution.js +1 -1
  141. package/sparql/sparql.js +1 -1
  142. package/sql/sql.contribution.js +1 -1
  143. package/sql/sql.js +1 -1
  144. package/st/st.contribution.js +1 -1
  145. package/st/st.js +1 -1
  146. package/swift/swift.contribution.js +1 -1
  147. package/swift/swift.js +1 -1
  148. package/systemverilog/systemverilog.contribution.js +1 -1
  149. package/systemverilog/systemverilog.js +1 -1
  150. package/tcl/tcl.contribution.js +1 -1
  151. package/tcl/tcl.js +1 -1
  152. package/twig/twig.contribution.js +1 -1
  153. package/twig/twig.js +1 -1
  154. package/typescript/typescript.contribution.js +1 -1
  155. package/typescript/typescript.js +1 -1
  156. package/typespec/typespec.contribution.js +19 -0
  157. package/typespec/typespec.js +135 -0
  158. package/vb/vb.contribution.js +1 -1
  159. package/vb/vb.js +1 -1
  160. package/wgsl/wgsl.contribution.js +1 -1
  161. package/wgsl/wgsl.js +1 -1
  162. package/xml/xml.contribution.js +1 -1
  163. package/xml/xml.js +1 -1
  164. package/yaml/yaml.contribution.js +1 -1
  165. package/yaml/yaml.js +1 -1
@@ -2,7 +2,7 @@ import { registerLanguage } from '../_.contribution.js';
2
2
 
3
3
  /*!-----------------------------------------------------------------------------
4
4
  * Copyright (c) Microsoft Corporation. All rights reserved.
5
- * Version: 0.48.0(undefined)
5
+ * Version: 0.49.0(undefined)
6
6
  * Released under the MIT license
7
7
  * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt
8
8
  *-----------------------------------------------------------------------------*/
package/rust/rust.js CHANGED
@@ -1,6 +1,6 @@
1
1
  /*!-----------------------------------------------------------------------------
2
2
  * Copyright (c) Microsoft Corporation. All rights reserved.
3
- * Version: 0.48.0(undefined)
3
+ * Version: 0.49.0(undefined)
4
4
  * Released under the MIT license
5
5
  * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt
6
6
  *-----------------------------------------------------------------------------*/
@@ -2,7 +2,7 @@ import { registerLanguage } from '../_.contribution.js';
2
2
 
3
3
  /*!-----------------------------------------------------------------------------
4
4
  * Copyright (c) Microsoft Corporation. All rights reserved.
5
- * Version: 0.48.0(undefined)
5
+ * Version: 0.49.0(undefined)
6
6
  * Released under the MIT license
7
7
  * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt
8
8
  *-----------------------------------------------------------------------------*/
package/sb/sb.js CHANGED
@@ -1,6 +1,6 @@
1
1
  /*!-----------------------------------------------------------------------------
2
2
  * Copyright (c) Microsoft Corporation. All rights reserved.
3
- * Version: 0.48.0(undefined)
3
+ * Version: 0.49.0(undefined)
4
4
  * Released under the MIT license
5
5
  * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt
6
6
  *-----------------------------------------------------------------------------*/
@@ -2,7 +2,7 @@ import { registerLanguage } from '../_.contribution.js';
2
2
 
3
3
  /*!-----------------------------------------------------------------------------
4
4
  * Copyright (c) Microsoft Corporation. All rights reserved.
5
- * Version: 0.48.0(undefined)
5
+ * Version: 0.49.0(undefined)
6
6
  * Released under the MIT license
7
7
  * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt
8
8
  *-----------------------------------------------------------------------------*/
package/scala/scala.js CHANGED
@@ -1,6 +1,6 @@
1
1
  /*!-----------------------------------------------------------------------------
2
2
  * Copyright (c) Microsoft Corporation. All rights reserved.
3
- * Version: 0.48.0(undefined)
3
+ * Version: 0.49.0(undefined)
4
4
  * Released under the MIT license
5
5
  * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt
6
6
  *-----------------------------------------------------------------------------*/
@@ -2,7 +2,7 @@ import { registerLanguage } from '../_.contribution.js';
2
2
 
3
3
  /*!-----------------------------------------------------------------------------
4
4
  * Copyright (c) Microsoft Corporation. All rights reserved.
5
- * Version: 0.48.0(undefined)
5
+ * Version: 0.49.0(undefined)
6
6
  * Released under the MIT license
7
7
  * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt
8
8
  *-----------------------------------------------------------------------------*/
package/scheme/scheme.js CHANGED
@@ -1,6 +1,6 @@
1
1
  /*!-----------------------------------------------------------------------------
2
2
  * Copyright (c) Microsoft Corporation. All rights reserved.
3
- * Version: 0.48.0(undefined)
3
+ * Version: 0.49.0(undefined)
4
4
  * Released under the MIT license
5
5
  * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt
6
6
  *-----------------------------------------------------------------------------*/
@@ -2,7 +2,7 @@ import { registerLanguage } from '../_.contribution.js';
2
2
 
3
3
  /*!-----------------------------------------------------------------------------
4
4
  * Copyright (c) Microsoft Corporation. All rights reserved.
5
- * Version: 0.48.0(undefined)
5
+ * Version: 0.49.0(undefined)
6
6
  * Released under the MIT license
7
7
  * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt
8
8
  *-----------------------------------------------------------------------------*/
package/scss/scss.js CHANGED
@@ -1,6 +1,6 @@
1
1
  /*!-----------------------------------------------------------------------------
2
2
  * Copyright (c) Microsoft Corporation. All rights reserved.
3
- * Version: 0.48.0(undefined)
3
+ * Version: 0.49.0(undefined)
4
4
  * Released under the MIT license
5
5
  * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt
6
6
  *-----------------------------------------------------------------------------*/
@@ -2,7 +2,7 @@ import { registerLanguage } from '../_.contribution.js';
2
2
 
3
3
  /*!-----------------------------------------------------------------------------
4
4
  * Copyright (c) Microsoft Corporation. All rights reserved.
5
- * Version: 0.48.0(undefined)
5
+ * Version: 0.49.0(undefined)
6
6
  * Released under the MIT license
7
7
  * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt
8
8
  *-----------------------------------------------------------------------------*/
package/shell/shell.js CHANGED
@@ -1,6 +1,6 @@
1
1
  /*!-----------------------------------------------------------------------------
2
2
  * Copyright (c) Microsoft Corporation. All rights reserved.
3
- * Version: 0.48.0(undefined)
3
+ * Version: 0.49.0(undefined)
4
4
  * Released under the MIT license
5
5
  * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt
6
6
  *-----------------------------------------------------------------------------*/
@@ -2,7 +2,7 @@ import { registerLanguage } from '../_.contribution.js';
2
2
 
3
3
  /*!-----------------------------------------------------------------------------
4
4
  * Copyright (c) Microsoft Corporation. All rights reserved.
5
- * Version: 0.48.0(undefined)
5
+ * Version: 0.49.0(undefined)
6
6
  * Released under the MIT license
7
7
  * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt
8
8
  *-----------------------------------------------------------------------------*/
@@ -1,6 +1,6 @@
1
1
  /*!-----------------------------------------------------------------------------
2
2
  * Copyright (c) Microsoft Corporation. All rights reserved.
3
- * Version: 0.48.0(undefined)
3
+ * Version: 0.49.0(undefined)
4
4
  * Released under the MIT license
5
5
  * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt
6
6
  *-----------------------------------------------------------------------------*/
@@ -2,7 +2,7 @@ import { registerLanguage } from '../_.contribution.js';
2
2
 
3
3
  /*!-----------------------------------------------------------------------------
4
4
  * Copyright (c) Microsoft Corporation. All rights reserved.
5
- * Version: 0.48.0(undefined)
5
+ * Version: 0.49.0(undefined)
6
6
  * Released under the MIT license
7
7
  * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt
8
8
  *-----------------------------------------------------------------------------*/
package/sophia/sophia.js CHANGED
@@ -1,6 +1,6 @@
1
1
  /*!-----------------------------------------------------------------------------
2
2
  * Copyright (c) Microsoft Corporation. All rights reserved.
3
- * Version: 0.48.0(undefined)
3
+ * Version: 0.49.0(undefined)
4
4
  * Released under the MIT license
5
5
  * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt
6
6
  *-----------------------------------------------------------------------------*/
@@ -2,7 +2,7 @@ import { registerLanguage } from '../_.contribution.js';
2
2
 
3
3
  /*!-----------------------------------------------------------------------------
4
4
  * Copyright (c) Microsoft Corporation. All rights reserved.
5
- * Version: 0.48.0(undefined)
5
+ * Version: 0.49.0(undefined)
6
6
  * Released under the MIT license
7
7
  * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt
8
8
  *-----------------------------------------------------------------------------*/
package/sparql/sparql.js CHANGED
@@ -1,6 +1,6 @@
1
1
  /*!-----------------------------------------------------------------------------
2
2
  * Copyright (c) Microsoft Corporation. All rights reserved.
3
- * Version: 0.48.0(undefined)
3
+ * Version: 0.49.0(undefined)
4
4
  * Released under the MIT license
5
5
  * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt
6
6
  *-----------------------------------------------------------------------------*/
@@ -2,7 +2,7 @@ import { registerLanguage } from '../_.contribution.js';
2
2
 
3
3
  /*!-----------------------------------------------------------------------------
4
4
  * Copyright (c) Microsoft Corporation. All rights reserved.
5
- * Version: 0.48.0(undefined)
5
+ * Version: 0.49.0(undefined)
6
6
  * Released under the MIT license
7
7
  * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt
8
8
  *-----------------------------------------------------------------------------*/
package/sql/sql.js CHANGED
@@ -1,6 +1,6 @@
1
1
  /*!-----------------------------------------------------------------------------
2
2
  * Copyright (c) Microsoft Corporation. All rights reserved.
3
- * Version: 0.48.0(undefined)
3
+ * Version: 0.49.0(undefined)
4
4
  * Released under the MIT license
5
5
  * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt
6
6
  *-----------------------------------------------------------------------------*/
@@ -2,7 +2,7 @@ import { registerLanguage } from '../_.contribution.js';
2
2
 
3
3
  /*!-----------------------------------------------------------------------------
4
4
  * Copyright (c) Microsoft Corporation. All rights reserved.
5
- * Version: 0.48.0(undefined)
5
+ * Version: 0.49.0(undefined)
6
6
  * Released under the MIT license
7
7
  * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt
8
8
  *-----------------------------------------------------------------------------*/
package/st/st.js CHANGED
@@ -1,6 +1,6 @@
1
1
  /*!-----------------------------------------------------------------------------
2
2
  * Copyright (c) Microsoft Corporation. All rights reserved.
3
- * Version: 0.48.0(undefined)
3
+ * Version: 0.49.0(undefined)
4
4
  * Released under the MIT license
5
5
  * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt
6
6
  *-----------------------------------------------------------------------------*/
@@ -2,7 +2,7 @@ import { registerLanguage } from '../_.contribution.js';
2
2
 
3
3
  /*!-----------------------------------------------------------------------------
4
4
  * Copyright (c) Microsoft Corporation. All rights reserved.
5
- * Version: 0.48.0(undefined)
5
+ * Version: 0.49.0(undefined)
6
6
  * Released under the MIT license
7
7
  * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt
8
8
  *-----------------------------------------------------------------------------*/
package/swift/swift.js CHANGED
@@ -1,6 +1,6 @@
1
1
  /*!-----------------------------------------------------------------------------
2
2
  * Copyright (c) Microsoft Corporation. All rights reserved.
3
- * Version: 0.48.0(undefined)
3
+ * Version: 0.49.0(undefined)
4
4
  * Released under the MIT license
5
5
  * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt
6
6
  *-----------------------------------------------------------------------------*/
@@ -2,7 +2,7 @@ import { registerLanguage } from '../_.contribution.js';
2
2
 
3
3
  /*!-----------------------------------------------------------------------------
4
4
  * Copyright (c) Microsoft Corporation. All rights reserved.
5
- * Version: 0.48.0(undefined)
5
+ * Version: 0.49.0(undefined)
6
6
  * Released under the MIT license
7
7
  * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt
8
8
  *-----------------------------------------------------------------------------*/
@@ -1,6 +1,6 @@
1
1
  /*!-----------------------------------------------------------------------------
2
2
  * Copyright (c) Microsoft Corporation. All rights reserved.
3
- * Version: 0.48.0(undefined)
3
+ * Version: 0.49.0(undefined)
4
4
  * Released under the MIT license
5
5
  * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt
6
6
  *-----------------------------------------------------------------------------*/
@@ -2,7 +2,7 @@ import { registerLanguage } from '../_.contribution.js';
2
2
 
3
3
  /*!-----------------------------------------------------------------------------
4
4
  * Copyright (c) Microsoft Corporation. All rights reserved.
5
- * Version: 0.48.0(undefined)
5
+ * Version: 0.49.0(undefined)
6
6
  * Released under the MIT license
7
7
  * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt
8
8
  *-----------------------------------------------------------------------------*/
package/tcl/tcl.js CHANGED
@@ -1,6 +1,6 @@
1
1
  /*!-----------------------------------------------------------------------------
2
2
  * Copyright (c) Microsoft Corporation. All rights reserved.
3
- * Version: 0.48.0(undefined)
3
+ * Version: 0.49.0(undefined)
4
4
  * Released under the MIT license
5
5
  * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt
6
6
  *-----------------------------------------------------------------------------*/
@@ -2,7 +2,7 @@ import { registerLanguage } from '../_.contribution.js';
2
2
 
3
3
  /*!-----------------------------------------------------------------------------
4
4
  * Copyright (c) Microsoft Corporation. All rights reserved.
5
- * Version: 0.48.0(undefined)
5
+ * Version: 0.49.0(undefined)
6
6
  * Released under the MIT license
7
7
  * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt
8
8
  *-----------------------------------------------------------------------------*/
package/twig/twig.js CHANGED
@@ -1,6 +1,6 @@
1
1
  /*!-----------------------------------------------------------------------------
2
2
  * Copyright (c) Microsoft Corporation. All rights reserved.
3
- * Version: 0.48.0(undefined)
3
+ * Version: 0.49.0(undefined)
4
4
  * Released under the MIT license
5
5
  * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt
6
6
  *-----------------------------------------------------------------------------*/
@@ -2,7 +2,7 @@ import { registerLanguage } from '../_.contribution.js';
2
2
 
3
3
  /*!-----------------------------------------------------------------------------
4
4
  * Copyright (c) Microsoft Corporation. All rights reserved.
5
- * Version: 0.48.0(undefined)
5
+ * Version: 0.49.0(undefined)
6
6
  * Released under the MIT license
7
7
  * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt
8
8
  *-----------------------------------------------------------------------------*/
@@ -2,7 +2,7 @@ import * as monaco_editor_core_star from 'monaco-editor';
2
2
 
3
3
  /*!-----------------------------------------------------------------------------
4
4
  * Copyright (c) Microsoft Corporation. All rights reserved.
5
- * Version: 0.48.0(undefined)
5
+ * Version: 0.49.0(undefined)
6
6
  * Released under the MIT license
7
7
  * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt
8
8
  *-----------------------------------------------------------------------------*/
@@ -0,0 +1,19 @@
1
+ import { registerLanguage } from '../_.contribution.js';
2
+
3
+ /*!-----------------------------------------------------------------------------
4
+ * Copyright (c) Microsoft Corporation. All rights reserved.
5
+ * Version: 0.49.0(undefined)
6
+ * Released under the MIT license
7
+ * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt
8
+ *-----------------------------------------------------------------------------*/
9
+
10
+ registerLanguage({
11
+ id: "typespec",
12
+ extensions: [".tsp"],
13
+ aliases: ["TypeSpec"],
14
+ loader: () => {
15
+ {
16
+ return import('./typespec.js');
17
+ }
18
+ }
19
+ });
@@ -0,0 +1,135 @@
1
+ /*!-----------------------------------------------------------------------------
2
+ * Copyright (c) Microsoft Corporation. All rights reserved.
3
+ * Version: 0.49.0(undefined)
4
+ * Released under the MIT license
5
+ * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt
6
+ *-----------------------------------------------------------------------------*/
7
+
8
+
9
+ // src/basic-languages/typespec/typespec.ts
10
+ var bounded = (text) => `\\b${text}\\b`;
11
+ var notBefore = (regex) => `(?!${regex})`;
12
+ var identifierStart = "[_a-zA-Z]";
13
+ var identifierContinue = "[_a-zA-Z0-9]";
14
+ var identifier = bounded(`${identifierStart}${identifierContinue}*`);
15
+ var directive = bounded(`[_a-zA-Z-0-9]+`);
16
+ var keywords = [
17
+ "import",
18
+ "model",
19
+ "scalar",
20
+ "namespace",
21
+ "op",
22
+ "interface",
23
+ "union",
24
+ "using",
25
+ "is",
26
+ "extends",
27
+ "enum",
28
+ "alias",
29
+ "return",
30
+ "void",
31
+ "if",
32
+ "else",
33
+ "projection",
34
+ "dec",
35
+ "extern",
36
+ "fn"
37
+ ];
38
+ var namedLiterals = ["true", "false", "null", "unknown", "never"];
39
+ var nonCommentWs = `[ \\t\\r\\n]`;
40
+ var numericLiteral = `[0-9]+`;
41
+ var conf = {
42
+ comments: {
43
+ lineComment: "//",
44
+ blockComment: ["/*", "*/"]
45
+ },
46
+ brackets: [
47
+ ["{", "}"],
48
+ ["[", "]"],
49
+ ["(", ")"]
50
+ ],
51
+ autoClosingPairs: [
52
+ { open: "{", close: "}" },
53
+ { open: "[", close: "]" },
54
+ { open: "(", close: ")" },
55
+ { open: '"', close: '"' },
56
+ { open: "/**", close: " */", notIn: ["string"] }
57
+ ],
58
+ surroundingPairs: [
59
+ { open: "{", close: "}" },
60
+ { open: "[", close: "]" },
61
+ { open: "(", close: ")" },
62
+ { open: '"', close: '"' }
63
+ ],
64
+ indentationRules: {
65
+ decreaseIndentPattern: new RegExp("^((?!.*?/\\*).*\\*/)?\\s*[\\}\\]].*$"),
66
+ increaseIndentPattern: new RegExp(
67
+ "^((?!//).)*(\\{([^}\"'`/]*|(\\t|[ ])*//.*)|\\([^)\"'`/]*|\\[[^\\]\"'`/]*)$"
68
+ ),
69
+ // e.g. * ...| or */| or *-----*/|
70
+ unIndentedLinePattern: new RegExp(
71
+ "^(\\t|[ ])*[ ]\\*[^/]*\\*/\\s*$|^(\\t|[ ])*[ ]\\*/\\s*$|^(\\t|[ ])*[ ]\\*([ ]([^\\*]|\\*(?!/))*)?$"
72
+ )
73
+ }
74
+ };
75
+ var language = {
76
+ defaultToken: "",
77
+ tokenPostfix: ".tsp",
78
+ brackets: [
79
+ { open: "{", close: "}", token: "delimiter.curly" },
80
+ { open: "[", close: "]", token: "delimiter.square" },
81
+ { open: "(", close: ")", token: "delimiter.parenthesis" }
82
+ ],
83
+ symbols: /[=:;<>]+/,
84
+ keywords,
85
+ namedLiterals,
86
+ escapes: `\\\\(u{[0-9A-Fa-f]+}|n|r|t|\\\\|"|\\\${)`,
87
+ tokenizer: {
88
+ root: [{ include: "@expression" }, { include: "@whitespace" }],
89
+ stringVerbatim: [
90
+ { regex: `(|"|"")[^"]`, action: { token: "string" } },
91
+ { regex: `"""${notBefore(`"`)}`, action: { token: "string", next: "@pop" } }
92
+ ],
93
+ stringLiteral: [
94
+ { regex: `\\\${`, action: { token: "delimiter.bracket", next: "@bracketCounting" } },
95
+ { regex: `[^\\\\"$]+`, action: { token: "string" } },
96
+ { regex: "@escapes", action: { token: "string.escape" } },
97
+ { regex: `\\\\.`, action: { token: "string.escape.invalid" } },
98
+ { regex: `"`, action: { token: "string", next: "@pop" } }
99
+ ],
100
+ bracketCounting: [
101
+ { regex: `{`, action: { token: "delimiter.bracket", next: "@bracketCounting" } },
102
+ { regex: `}`, action: { token: "delimiter.bracket", next: "@pop" } },
103
+ { include: "@expression" }
104
+ ],
105
+ comment: [
106
+ { regex: `[^\\*]+`, action: { token: "comment" } },
107
+ { regex: `\\*\\/`, action: { token: "comment", next: "@pop" } },
108
+ { regex: `[\\/*]`, action: { token: "comment" } }
109
+ ],
110
+ whitespace: [
111
+ { regex: nonCommentWs },
112
+ { regex: `\\/\\*`, action: { token: "comment", next: "@comment" } },
113
+ { regex: `\\/\\/.*$`, action: { token: "comment" } }
114
+ ],
115
+ expression: [
116
+ { regex: `"""`, action: { token: "string", next: "@stringVerbatim" } },
117
+ { regex: `"${notBefore(`""`)}`, action: { token: "string", next: "@stringLiteral" } },
118
+ { regex: numericLiteral, action: { token: "number" } },
119
+ {
120
+ regex: identifier,
121
+ action: {
122
+ cases: {
123
+ "@keywords": { token: "keyword" },
124
+ "@namedLiterals": { token: "keyword" },
125
+ "@default": { token: "identifier" }
126
+ }
127
+ }
128
+ },
129
+ { regex: `@${identifier}`, action: { token: "tag" } },
130
+ { regex: `#${directive}`, action: { token: "directive" } }
131
+ ]
132
+ }
133
+ };
134
+
135
+ export { conf, language };
@@ -2,7 +2,7 @@ import { registerLanguage } from '../_.contribution.js';
2
2
 
3
3
  /*!-----------------------------------------------------------------------------
4
4
  * Copyright (c) Microsoft Corporation. All rights reserved.
5
- * Version: 0.48.0(undefined)
5
+ * Version: 0.49.0(undefined)
6
6
  * Released under the MIT license
7
7
  * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt
8
8
  *-----------------------------------------------------------------------------*/
package/vb/vb.js CHANGED
@@ -1,6 +1,6 @@
1
1
  /*!-----------------------------------------------------------------------------
2
2
  * Copyright (c) Microsoft Corporation. All rights reserved.
3
- * Version: 0.48.0(undefined)
3
+ * Version: 0.49.0(undefined)
4
4
  * Released under the MIT license
5
5
  * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt
6
6
  *-----------------------------------------------------------------------------*/
@@ -2,7 +2,7 @@ import { registerLanguage } from '../_.contribution.js';
2
2
 
3
3
  /*!-----------------------------------------------------------------------------
4
4
  * Copyright (c) Microsoft Corporation. All rights reserved.
5
- * Version: 0.48.0(undefined)
5
+ * Version: 0.49.0(undefined)
6
6
  * Released under the MIT license
7
7
  * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt
8
8
  *-----------------------------------------------------------------------------*/
package/wgsl/wgsl.js CHANGED
@@ -1,6 +1,6 @@
1
1
  /*!-----------------------------------------------------------------------------
2
2
  * Copyright (c) Microsoft Corporation. All rights reserved.
3
- * Version: 0.48.0(undefined)
3
+ * Version: 0.49.0(undefined)
4
4
  * Released under the MIT license
5
5
  * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt
6
6
  *-----------------------------------------------------------------------------*/
@@ -2,7 +2,7 @@ import { registerLanguage } from '../_.contribution.js';
2
2
 
3
3
  /*!-----------------------------------------------------------------------------
4
4
  * Copyright (c) Microsoft Corporation. All rights reserved.
5
- * Version: 0.48.0(undefined)
5
+ * Version: 0.49.0(undefined)
6
6
  * Released under the MIT license
7
7
  * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt
8
8
  *-----------------------------------------------------------------------------*/
package/xml/xml.js CHANGED
@@ -2,7 +2,7 @@ import * as monaco_editor_core_star from 'monaco-editor';
2
2
 
3
3
  /*!-----------------------------------------------------------------------------
4
4
  * Copyright (c) Microsoft Corporation. All rights reserved.
5
- * Version: 0.48.0(undefined)
5
+ * Version: 0.49.0(undefined)
6
6
  * Released under the MIT license
7
7
  * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt
8
8
  *-----------------------------------------------------------------------------*/
@@ -2,7 +2,7 @@ import { registerLanguage } from '../_.contribution.js';
2
2
 
3
3
  /*!-----------------------------------------------------------------------------
4
4
  * Copyright (c) Microsoft Corporation. All rights reserved.
5
- * Version: 0.48.0(undefined)
5
+ * Version: 0.49.0(undefined)
6
6
  * Released under the MIT license
7
7
  * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt
8
8
  *-----------------------------------------------------------------------------*/
package/yaml/yaml.js CHANGED
@@ -2,7 +2,7 @@ import * as monaco_editor_core_star from 'monaco-editor';
2
2
 
3
3
  /*!-----------------------------------------------------------------------------
4
4
  * Copyright (c) Microsoft Corporation. All rights reserved.
5
- * Version: 0.48.0(undefined)
5
+ * Version: 0.49.0(undefined)
6
6
  * Released under the MIT license
7
7
  * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt
8
8
  *-----------------------------------------------------------------------------*/