@codingame/monaco-languageclient-wrapper 1.0.6 → 1.1.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 (171) hide show
  1. package/dist/BSV.tmLanguage.js +299 -0
  2. package/dist/COBOL Copybook.js +2017 -0
  3. package/dist/COBOL.js +2017 -0
  4. package/dist/COBOL.tmLanguage.js +149 -0
  5. package/dist/CodinGameMonacoWorkspace.d.ts +13 -0
  6. package/dist/Configuration.d.ts +15 -0
  7. package/dist/Erlang.plist.js +1752 -0
  8. package/dist/JSON.tmLanguage.js +221 -0
  9. package/dist/JSONC.tmLanguage.js +221 -0
  10. package/dist/JavaScript.tmLanguage.js +5894 -0
  11. package/dist/Kotlin.tmLanguage.js +724 -0
  12. package/dist/MagicPython.tmLanguage.js +5340 -0
  13. package/dist/MagicRegExp.tmLanguage.js +505 -0
  14. package/dist/Regular Expressions (JavaScript).tmLanguage.js +166 -0
  15. package/dist/SQL.plist.js +482 -0
  16. package/dist/Scala.tmLanguage.js +1255 -0
  17. package/dist/TypeScript.tmLanguage.js +5641 -0
  18. package/dist/WatchableConsoleWindow.d.ts +22 -0
  19. package/dist/_rollupPluginBabelHelpers.js +54 -0
  20. package/dist/asp-vb-net.tmlanguage.js +247 -0
  21. package/dist/bsv.js +49 -0
  22. package/dist/c.js +18 -0
  23. package/dist/c.tmLanguage.js +3347 -0
  24. package/dist/cabal.tmLanguage.js +66 -0
  25. package/dist/clojure.tmLanguage.js +443 -0
  26. package/dist/codeblock-cabal.js +42 -0
  27. package/dist/codeblock-haskell.js +42 -0
  28. package/dist/codeblock-literate-haskell.js +42 -0
  29. package/dist/codeblock.js +36 -0
  30. package/dist/codeblock2.js +95 -0
  31. package/dist/coffeescript.js +18 -0
  32. package/dist/coffeescript.tmLanguage.js +1324 -0
  33. package/dist/configuration/index.d.ts +5 -0
  34. package/dist/cpp.js +18 -0
  35. package/dist/cpp.tmLanguage.js +19996 -0
  36. package/dist/createLanguageClient.d.ts +2 -2
  37. package/dist/csharp.js +18 -0
  38. package/dist/csharp.tmLanguage.js +4750 -0
  39. package/dist/css.tmLanguage.js +1873 -0
  40. package/dist/css.worker.js +6 -0
  41. package/dist/cssContribution.js +10 -0
  42. package/dist/cuda-cpp.tmLanguage.js +19993 -0
  43. package/dist/d.js +3159 -0
  44. package/dist/dart.js +530 -0
  45. package/dist/diet.js +758 -0
  46. package/dist/diet2.js +92 -0
  47. package/dist/dml.js +169 -0
  48. package/dist/eex.js +55 -0
  49. package/dist/elixir.js +2341 -0
  50. package/dist/elixir2.js +184 -0
  51. package/dist/erlang.js +195 -0
  52. package/dist/expression.js +846 -0
  53. package/dist/extensions/autofold.d.ts +2 -0
  54. package/dist/extensions/cobol.d.ts +2 -0
  55. package/dist/extensions/index.d.ts +2 -0
  56. package/dist/features/cssContribution.d.ts +1 -0
  57. package/dist/features/htmlContribution.d.ts +1 -0
  58. package/dist/features/jsonContribution.d.ts +1 -0
  59. package/dist/features/typescriptContribution.d.ts +1 -0
  60. package/dist/fsharp.js +18 -0
  61. package/dist/fsharp.tmLanguage.js +1811 -0
  62. package/dist/go.tmLanguage.js +1025 -0
  63. package/dist/groovy.js +229 -0
  64. package/dist/groovy.tmLanguage.js +1391 -0
  65. package/dist/hacks.d.ts +1 -0
  66. package/dist/haskell.tmLanguage.js +629 -0
  67. package/dist/html (eex).js +31 -0
  68. package/dist/html-derivative.tmLanguage.js +57 -0
  69. package/dist/html.tmLanguage.js +2652 -0
  70. package/dist/html.tmLanguage2.js +97 -0
  71. package/dist/html.worker.js +6 -0
  72. package/dist/htmlContribution.js +10 -0
  73. package/dist/index.d.ts +3 -2
  74. package/dist/inline-styles.js +104 -0
  75. package/dist/inline-template.js +88 -0
  76. package/dist/java.js +18 -0
  77. package/dist/java.tmLanguage.js +1863 -0
  78. package/dist/javascript.js +196 -0
  79. package/dist/javascriptreact.js +196 -0
  80. package/dist/jsdoc.js.injection.tmLanguage.js +32 -0
  81. package/dist/jsdoc.ts.injection.tmLanguage.js +32 -0
  82. package/dist/json.worker.js +6 -0
  83. package/dist/jsonContribution.js +78 -0
  84. package/dist/keybindings/index.d.ts +2 -0
  85. package/dist/keybindings/keybindingHelper.d.ts +2 -0
  86. package/dist/keybindings/vim.d.ts +3 -0
  87. package/dist/kotlin.js +117 -0
  88. package/dist/kotlinscript.js +117 -0
  89. package/dist/languageClient.d.ts +8 -14
  90. package/dist/languages/extensions/grammarLoader.d.ts +91037 -0
  91. package/dist/languages/extensions/snippetLoader.d.ts +4578 -0
  92. package/dist/languages/index.d.ts +3 -0
  93. package/dist/languages/monarch/index.d.ts +7 -0
  94. package/dist/languages/monarch/list.d.ts +7 -0
  95. package/dist/languages/monarch/stub-generator.d.ts +2 -0
  96. package/dist/languages/snippets/index.d.ts +1 -0
  97. package/dist/languages/textMate/CGTMGrammarFactory.d.ts +5 -0
  98. package/dist/languages/textMate/TextMateTokensProvider.d.ts +11 -0
  99. package/dist/languages/textMate/index.d.ts +2 -0
  100. package/dist/literateHaskell.tmLanguage.js +70 -0
  101. package/dist/lua.tmLanguage.js +289 -0
  102. package/dist/main.js +627 -326
  103. package/dist/markdown.js +103 -0
  104. package/dist/markdown.tmLanguage.js +2784 -0
  105. package/dist/merlin.js +111 -0
  106. package/dist/monaco.d.ts +8 -0
  107. package/dist/objective-c.tmLanguage.js +3618 -0
  108. package/dist/ocaml-hover-info.js +34 -0
  109. package/dist/ocaml-hover-type.js +24 -0
  110. package/dist/ocaml-markdown-codeblock.js +42 -0
  111. package/dist/ocaml.js +2979 -0
  112. package/dist/ocamlbuild.js +239 -0
  113. package/dist/opam.js +149 -0
  114. package/dist/pascal.js +382 -0
  115. package/dist/pascal.tmLanguage.js +169 -0
  116. package/dist/perl.tmLanguage.js +2986 -0
  117. package/dist/perl6.tmLanguage.js +323 -0
  118. package/dist/pgsql.tmLanguage.js +284 -0
  119. package/dist/php.js +265 -0
  120. package/dist/php.tmLanguage.js +3791 -0
  121. package/dist/platform.tmLanguage.js +1135 -0
  122. package/dist/powershell.js +18 -0
  123. package/dist/powershell.tmLanguage.js +1037 -0
  124. package/dist/r.tmLanguage.js +551 -0
  125. package/dist/reason-hover-info.js +34 -0
  126. package/dist/reason-hover-signature.js +21 -0
  127. package/dist/reason-hover-type.js +21 -0
  128. package/dist/reason-markdown-codeblock.js +42 -0
  129. package/dist/reason.js +100 -0
  130. package/dist/ruby.tmLanguage.js +2784 -0
  131. package/dist/rust.tmLanguage.js +1178 -0
  132. package/dist/sassdoc.tmLanguage.js +362 -0
  133. package/dist/scss.tmLanguage.js +1887 -0
  134. package/dist/sdc.tmLanguage.js +712 -0
  135. package/dist/sdl.js +162 -0
  136. package/dist/services/Configuration.d.ts +2 -3
  137. package/dist/services/EditorModelResolverService.d.ts +8 -0
  138. package/dist/services/MultiEditorStandaloneCodeEditorService.d.ts +7 -0
  139. package/dist/services/WatchableConsoleWindow.d.ts +2 -0
  140. package/dist/services.d.ts +1 -2
  141. package/dist/shell-unix-bash.tmLanguage.js +1291 -0
  142. package/dist/sql.js +21 -0
  143. package/dist/staticOptions.d.ts +9 -0
  144. package/dist/stub-generator.js +15 -0
  145. package/dist/swift.js +183 -0
  146. package/dist/swift.tmLanguage.js +3288 -0
  147. package/dist/systemverilog.js +208 -0
  148. package/dist/systemverilog.tmLanguage.js +1067 -0
  149. package/dist/tcl.js +151 -0
  150. package/dist/tcl.tmlanguage.yaml.js +5484 -0
  151. package/dist/template.js +207 -0
  152. package/dist/theme/index.d.ts +3 -0
  153. package/dist/theme/registry.d.ts +4 -0
  154. package/dist/theme/semanticHighlight.d.ts +1 -0
  155. package/dist/theme/tools.d.ts +13 -0
  156. package/dist/tools.d.ts +3 -0
  157. package/dist/ts.worker.js +6 -0
  158. package/dist/typescript.js +312 -0
  159. package/dist/typescriptContribution.js +36 -0
  160. package/dist/typescriptreact.js +312 -0
  161. package/dist/ucf.tmLanguage.js +36 -0
  162. package/dist/vb.js +88 -0
  163. package/dist/verilog.js +432 -0
  164. package/dist/verilog.tmLanguage.js +321 -0
  165. package/dist/worker.d.ts +6 -0
  166. package/dist/worker.js +54 -0
  167. package/dist/xml.tmLanguage.js +395 -0
  168. package/dist/xsl.tmLanguage.js +102 -0
  169. package/dist/yaml.tmLanguage.js +629 -0
  170. package/package.json +21 -21
  171. package/stats.html +1 -1
@@ -0,0 +1,321 @@
1
+ var fileTypes = [
2
+ "v",
3
+ "vh"
4
+ ];
5
+ var keyEquivalent = "^~V";
6
+ var name = "Verilog";
7
+ var patterns = [
8
+ {
9
+ include: "#comments"
10
+ },
11
+ {
12
+ include: "#module_pattern"
13
+ },
14
+ {
15
+ include: "#keywords"
16
+ },
17
+ {
18
+ include: "#constants"
19
+ },
20
+ {
21
+ include: "#strings"
22
+ },
23
+ {
24
+ include: "#operators"
25
+ }
26
+ ];
27
+ var repository = {
28
+ comments: {
29
+ patterns: [
30
+ {
31
+ begin: "(^[ \\t]+)?(?=//)",
32
+ beginCaptures: {
33
+ "1": {
34
+ name: "punctuation.whitespace.comment.leading.verilog"
35
+ }
36
+ },
37
+ end: "(?!\\G)",
38
+ patterns: [
39
+ {
40
+ begin: "//",
41
+ beginCaptures: {
42
+ "0": {
43
+ name: "punctuation.definition.comment.verilog"
44
+ }
45
+ },
46
+ end: "\\n",
47
+ name: "comment.line.double-slash.verilog"
48
+ }
49
+ ]
50
+ },
51
+ {
52
+ begin: "/\\*",
53
+ end: "\\*/",
54
+ name: "comment.block.c-style.verilog"
55
+ }
56
+ ]
57
+ },
58
+ constants: {
59
+ patterns: [
60
+ {
61
+ match: "`(?!(celldefine|endcelldefine|default_nettype|define|undef|ifdef|ifndef|else|endif|include|resetall|timescale|unconnected_drive|nounconnected_drive))[a-z_A-Z][a-zA-Z0-9_$]*",
62
+ name: "variable.other.constant.verilog"
63
+ },
64
+ {
65
+ match: "[0-9]*'[bBoOdDhH][a-fA-F0-9_xXzZ]+\\b",
66
+ name: "constant.numeric.sized_integer.verilog"
67
+ },
68
+ {
69
+ captures: {
70
+ "1": {
71
+ name: "constant.numeric.integer.verilog"
72
+ },
73
+ "2": {
74
+ name: "punctuation.separator.range.verilog"
75
+ },
76
+ "3": {
77
+ name: "constant.numeric.integer.verilog"
78
+ }
79
+ },
80
+ match: "\\b(\\d+)(:)(\\d+)\\b",
81
+ name: "meta.block.numeric.range.verilog"
82
+ },
83
+ {
84
+ match: "\\b\\d[\\d_]*(?i:e\\d+)?\\b",
85
+ name: "constant.numeric.integer.verilog"
86
+ },
87
+ {
88
+ match: "\\b\\d+\\.\\d+(?i:e\\d+)?\\b",
89
+ name: "constant.numeric.real.verilog"
90
+ },
91
+ {
92
+ match: "#\\d+",
93
+ name: "constant.numeric.delay.verilog"
94
+ },
95
+ {
96
+ match: "\\b[01xXzZ]+\\b",
97
+ name: "constant.numeric.logic.verilog"
98
+ }
99
+ ]
100
+ },
101
+ instantiation_patterns: {
102
+ patterns: [
103
+ {
104
+ include: "#keywords"
105
+ },
106
+ {
107
+ begin: "^\\s*([a-zA-Z][a-zA-Z0-9_]*)\\s+([a-zA-Z][a-zA-Z0-9_]*)(?<!begin|if)\\s*(?=\\(|$)",
108
+ beginCaptures: {
109
+ "1": {
110
+ name: "entity.name.tag.module.reference.verilog"
111
+ },
112
+ "2": {
113
+ name: "entity.name.tag.module.identifier.verilog"
114
+ }
115
+ },
116
+ end: ";",
117
+ endCaptures: {
118
+ "0": {
119
+ name: "punctuation.terminator.expression.verilog"
120
+ }
121
+ },
122
+ name: "meta.block.instantiation.parameterless.verilog",
123
+ patterns: [
124
+ {
125
+ include: "#comments"
126
+ },
127
+ {
128
+ include: "#constants"
129
+ },
130
+ {
131
+ include: "#strings"
132
+ }
133
+ ]
134
+ },
135
+ {
136
+ begin: "^\\s*([a-zA-Z][a-zA-Z0-9_]*)\\s*(#)(?=\\s*\\()",
137
+ beginCaptures: {
138
+ "1": {
139
+ name: "entity.name.tag.module.reference.verilog"
140
+ }
141
+ },
142
+ end: ";",
143
+ endCaptures: {
144
+ "0": {
145
+ name: "punctuation.terminator.expression.verilog"
146
+ }
147
+ },
148
+ name: "meta.block.instantiation.with.parameters.verilog",
149
+ patterns: [
150
+ {
151
+ include: "#parenthetical_list"
152
+ },
153
+ {
154
+ match: "[a-zA-Z][a-zA-Z0-9_]*",
155
+ name: "entity.name.tag.module.identifier.verilog"
156
+ }
157
+ ]
158
+ }
159
+ ]
160
+ },
161
+ keywords: {
162
+ patterns: [
163
+ {
164
+ match: "\\b(always|and|assign|attribute|begin|buf|bufif0|bufif1|case[xz]?|cmos|deassign|default|defparam|disable|edge|else|end(attribute|case|function|generate|module|primitive|specify|table|task)?|event|for|force|forever|fork|function|generate|genvar|highz(01)|if(none)?|initial|inout|input|integer|join|localparam|medium|module|large|macromodule|nand|negedge|nmos|nor|not|notif(01)|or|output|parameter|pmos|posedge|primitive|pull0|pull1|pulldown|pullup|rcmos|real|realtime|reg|release|repeat|rnmos|rpmos|rtran|rtranif(01)|scalared|signed|small|specify|specparam|strength|strong0|strong1|supply0|supply1|table|task|time|tran|tranif(01)|tri(01)?|tri(and|or|reg)|unsigned|vectored|wait|wand|weak(01)|while|wire|wor|xnor|xor)\\b",
165
+ name: "keyword.other.verilog"
166
+ },
167
+ {
168
+ match: "^\\s*`((cell)?define|default_(decay_time|nettype|trireg_strength)|delay_mode_(path|unit|zero)|ifdef|ifndef|include|end(if|celldefine)|else|(no)?unconnected_drive|resetall|timescale|undef)\\b",
169
+ name: "keyword.other.compiler.directive.verilog"
170
+ },
171
+ {
172
+ match: "\\$(f(open|close)|readmem(b|h)|timeformat|printtimescale|stop|finish|(s|real)?time|realtobits|bitstoreal|rtoi|itor|(f)?(display|write(h|b)))\\b",
173
+ name: "support.function.system.console.tasks.verilog"
174
+ },
175
+ {
176
+ match: "\\$(random|dist_(chi_square|erlang|exponential|normal|poisson|t|uniform))\\b",
177
+ name: "support.function.system.random_number.tasks.verilog"
178
+ },
179
+ {
180
+ match: "\\$((a)?sync\\$((n)?and|(n)or)\\$(array|plane))\\b",
181
+ name: "support.function.system.pld_modeling.tasks.verilog"
182
+ },
183
+ {
184
+ match: "\\$(q_(initialize|add|remove|full|exam))\\b",
185
+ name: "support.function.system.stochastic.tasks.verilog"
186
+ },
187
+ {
188
+ match: "\\$(hold|nochange|period|recovery|setup(hold)?|skew|width)\\b",
189
+ name: "support.function.system.timing.tasks.verilog"
190
+ },
191
+ {
192
+ match: "\\$(dump(file|vars|off|on|all|limit|flush))\\b",
193
+ name: "support.function.system.vcd.tasks.verilog"
194
+ },
195
+ {
196
+ match: "\\$(countdrivers|list|input|scope|showscopes|(no)?(key|log)|reset(_count|_value)?|(inc)?save|restart|showvars|getpattern|sreadmem(b|h)|scale)",
197
+ name: "support.function.non-standard.tasks.verilog"
198
+ }
199
+ ]
200
+ },
201
+ module_pattern: {
202
+ patterns: [
203
+ {
204
+ begin: "\\b(module)\\s+([a-zA-Z][a-zA-Z0-9_]*)",
205
+ beginCaptures: {
206
+ "1": {
207
+ name: "storage.type.module.verilog"
208
+ },
209
+ "2": {
210
+ name: "entity.name.type.module.verilog"
211
+ }
212
+ },
213
+ end: "\\bendmodule\\b",
214
+ endCaptures: {
215
+ "0": {
216
+ name: "storage.type.module.verilog"
217
+ }
218
+ },
219
+ name: "meta.block.module.verilog",
220
+ patterns: [
221
+ {
222
+ include: "#comments"
223
+ },
224
+ {
225
+ include: "#keywords"
226
+ },
227
+ {
228
+ include: "#constants"
229
+ },
230
+ {
231
+ include: "#strings"
232
+ },
233
+ {
234
+ include: "#instantiation_patterns"
235
+ },
236
+ {
237
+ include: "#operators"
238
+ }
239
+ ]
240
+ }
241
+ ]
242
+ },
243
+ operators: {
244
+ patterns: [
245
+ {
246
+ match: "\\+|-|\\*|/|%|(<|>)=?|(!|=)?==?|!|&&?|\\|\\|?|\\^?~|~\\^?",
247
+ name: "keyword.operator.verilog"
248
+ }
249
+ ]
250
+ },
251
+ parenthetical_list: {
252
+ patterns: [
253
+ {
254
+ begin: "\\(",
255
+ beginCaptures: {
256
+ "0": {
257
+ name: "punctuation.section.list.verilog"
258
+ }
259
+ },
260
+ end: "\\)",
261
+ endCaptures: {
262
+ "0": {
263
+ name: "punctuation.section.list.verilog"
264
+ }
265
+ },
266
+ name: "meta.block.parenthetical_list.verilog",
267
+ patterns: [
268
+ {
269
+ include: "#parenthetical_list"
270
+ },
271
+ {
272
+ include: "#comments"
273
+ },
274
+ {
275
+ include: "#keywords"
276
+ },
277
+ {
278
+ include: "#constants"
279
+ },
280
+ {
281
+ include: "#strings"
282
+ }
283
+ ]
284
+ }
285
+ ]
286
+ },
287
+ strings: {
288
+ patterns: [
289
+ {
290
+ begin: "\"",
291
+ end: "\"",
292
+ name: "string.quoted.double.verilog",
293
+ patterns: [
294
+ {
295
+ match: "\\\\.",
296
+ name: "constant.character.escape.verilog"
297
+ }
298
+ ]
299
+ }
300
+ ]
301
+ }
302
+ };
303
+ var scopeName = "source.verilog";
304
+ var uuid = "7F4396B3-A33E-44F0-8502-98CA6C25971F";
305
+ var information_for_contributors = [
306
+ "This file has been converted from https://github.com/mshr-h/vscode-verilog-hdl-support/blob/master/",
307
+ "If you want to provide a fix or improvement, please create a pull request against the original repository.",
308
+ "Once accepted there, we are happy to receive an update request."
309
+ ];
310
+ var verilog_tmLanguage = {
311
+ fileTypes: fileTypes,
312
+ keyEquivalent: keyEquivalent,
313
+ name: name,
314
+ patterns: patterns,
315
+ repository: repository,
316
+ scopeName: scopeName,
317
+ uuid: uuid,
318
+ information_for_contributors: information_for_contributors
319
+ };
320
+
321
+ export { verilog_tmLanguage as default, fileTypes, information_for_contributors, keyEquivalent, name, patterns, repository, scopeName, uuid };
@@ -0,0 +1,6 @@
1
+ interface WrappedWorker {
2
+ new (): Worker;
3
+ }
4
+ export declare type WorkerLoader = () => WrappedWorker | Promise<WrappedWorker>;
5
+ export declare function registerWorkerLoader(label: string, workerLoader: WorkerLoader): void;
6
+ export {};