@codingame/monaco-languageclient-wrapper 1.7.0 → 1.7.1

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/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/csharp.js +18 -0
  37. package/dist/csharp.tmLanguage.js +4750 -0
  38. package/dist/css.tmLanguage.js +1873 -0
  39. package/dist/css.worker.js +6 -0
  40. package/dist/cssContribution.js +10 -0
  41. package/dist/cuda-cpp.tmLanguage.js +19993 -0
  42. package/dist/d.js +3159 -0
  43. package/dist/dart.js +530 -0
  44. package/dist/diet.js +758 -0
  45. package/dist/diet2.js +92 -0
  46. package/dist/dml.js +169 -0
  47. package/dist/eex.js +55 -0
  48. package/dist/elixir.js +2341 -0
  49. package/dist/elixir2.js +184 -0
  50. package/dist/erlang.js +195 -0
  51. package/dist/expression.js +846 -0
  52. package/dist/extensions/autofold.d.ts +2 -0
  53. package/dist/extensions/cobol.d.ts +2 -0
  54. package/dist/extensions/index.d.ts +2 -0
  55. package/dist/features/cssContribution.d.ts +1 -0
  56. package/dist/features/htmlContribution.d.ts +1 -0
  57. package/dist/features/jsonContribution.d.ts +1 -0
  58. package/dist/features/typescriptContribution.d.ts +1 -0
  59. package/dist/fsharp.js +18 -0
  60. package/dist/fsharp.tmLanguage.js +1811 -0
  61. package/dist/go.tmLanguage.js +1025 -0
  62. package/dist/groovy.js +229 -0
  63. package/dist/groovy.tmLanguage.js +1391 -0
  64. package/dist/haskell.tmLanguage.js +629 -0
  65. package/dist/html (eex).js +31 -0
  66. package/dist/html-derivative.tmLanguage.js +57 -0
  67. package/dist/html.tmLanguage.js +2652 -0
  68. package/dist/html.tmLanguage2.js +97 -0
  69. package/dist/html.worker.js +6 -0
  70. package/dist/htmlContribution.js +10 -0
  71. package/dist/inline-styles.js +104 -0
  72. package/dist/inline-template.js +88 -0
  73. package/dist/java.js +18 -0
  74. package/dist/java.tmLanguage.js +1863 -0
  75. package/dist/javascript.js +196 -0
  76. package/dist/javascriptreact.js +196 -0
  77. package/dist/jsdoc.js.injection.tmLanguage.js +32 -0
  78. package/dist/jsdoc.ts.injection.tmLanguage.js +32 -0
  79. package/dist/json.worker.js +6 -0
  80. package/dist/jsonContribution.js +78 -0
  81. package/dist/keybindings/index.d.ts +2 -0
  82. package/dist/keybindings/keybindingHelper.d.ts +2 -0
  83. package/dist/keybindings/vim.d.ts +3 -0
  84. package/dist/kotlin.js +117 -0
  85. package/dist/kotlinscript.js +117 -0
  86. package/dist/languages/extensions/grammarLoader.d.ts +91037 -0
  87. package/dist/languages/extensions/snippetLoader.d.ts +4578 -0
  88. package/dist/languages/index.d.ts +3 -0
  89. package/dist/languages/monarch/index.d.ts +7 -0
  90. package/dist/languages/monarch/list.d.ts +7 -0
  91. package/dist/languages/monarch/stub-generator.d.ts +2 -0
  92. package/dist/languages/snippets/index.d.ts +1 -0
  93. package/dist/languages/textMate/CGTMGrammarFactory.d.ts +5 -0
  94. package/dist/languages/textMate/TextMateTokensProvider.d.ts +11 -0
  95. package/dist/languages/textMate/index.d.ts +2 -0
  96. package/dist/literateHaskell.tmLanguage.js +70 -0
  97. package/dist/lua.tmLanguage.js +289 -0
  98. package/dist/main.js +1 -1
  99. package/dist/markdown.js +103 -0
  100. package/dist/markdown.tmLanguage.js +2784 -0
  101. package/dist/merlin.js +111 -0
  102. package/dist/monaco.d.ts +8 -0
  103. package/dist/objective-c.tmLanguage.js +3618 -0
  104. package/dist/ocaml-hover-info.js +34 -0
  105. package/dist/ocaml-hover-type.js +24 -0
  106. package/dist/ocaml-markdown-codeblock.js +42 -0
  107. package/dist/ocaml.js +2979 -0
  108. package/dist/ocamlbuild.js +239 -0
  109. package/dist/opam.js +149 -0
  110. package/dist/pascal.js +382 -0
  111. package/dist/pascal.tmLanguage.js +169 -0
  112. package/dist/perl.tmLanguage.js +2986 -0
  113. package/dist/perl6.tmLanguage.js +323 -0
  114. package/dist/pgsql.tmLanguage.js +284 -0
  115. package/dist/php.js +265 -0
  116. package/dist/php.tmLanguage.js +3791 -0
  117. package/dist/platform.tmLanguage.js +1135 -0
  118. package/dist/powershell.js +18 -0
  119. package/dist/powershell.tmLanguage.js +1037 -0
  120. package/dist/r.tmLanguage.js +551 -0
  121. package/dist/reason-hover-info.js +34 -0
  122. package/dist/reason-hover-signature.js +21 -0
  123. package/dist/reason-hover-type.js +21 -0
  124. package/dist/reason-markdown-codeblock.js +42 -0
  125. package/dist/reason.js +100 -0
  126. package/dist/ruby.tmLanguage.js +2784 -0
  127. package/dist/rust.tmLanguage.js +1178 -0
  128. package/dist/sassdoc.tmLanguage.js +362 -0
  129. package/dist/scss.tmLanguage.js +1887 -0
  130. package/dist/sdc.tmLanguage.js +712 -0
  131. package/dist/sdl.js +162 -0
  132. package/dist/services/EditorModelResolverService.d.ts +8 -0
  133. package/dist/services/MultiEditorStandaloneCodeEditorService.d.ts +7 -0
  134. package/dist/shell-unix-bash.tmLanguage.js +1291 -0
  135. package/dist/sql.js +21 -0
  136. package/dist/stub-generator.js +15 -0
  137. package/dist/swift.js +183 -0
  138. package/dist/swift.tmLanguage.js +3288 -0
  139. package/dist/systemverilog.js +208 -0
  140. package/dist/systemverilog.tmLanguage.js +1067 -0
  141. package/dist/tcl.js +151 -0
  142. package/dist/tcl.tmlanguage.yaml.js +5484 -0
  143. package/dist/template.js +207 -0
  144. package/dist/theme/index.d.ts +3 -0
  145. package/dist/theme/registry.d.ts +4 -0
  146. package/dist/theme/semanticHighlight.d.ts +1 -0
  147. package/dist/theme/tools.d.ts +13 -0
  148. package/dist/tools.d.ts +3 -0
  149. package/dist/ts.worker.js +6 -0
  150. package/dist/typescript.js +312 -0
  151. package/dist/typescriptContribution.js +36 -0
  152. package/dist/typescriptreact.js +312 -0
  153. package/dist/ucf.tmLanguage.js +36 -0
  154. package/dist/vb.js +88 -0
  155. package/dist/verilog.js +432 -0
  156. package/dist/verilog.tmLanguage.js +321 -0
  157. package/dist/worker.d.ts +6 -0
  158. package/dist/worker.js +54 -0
  159. package/dist/xml.tmLanguage.js +395 -0
  160. package/dist/xsl.tmLanguage.js +102 -0
  161. package/dist/yaml.tmLanguage.js +629 -0
  162. package/package.json +5 -7
  163. package/stats.html +1 -1
  164. package/dist/monaco-languageclient-wrapper.d.ts +0 -1478
  165. package/dist/tsdoc-metadata.json +0 -11
@@ -0,0 +1,629 @@
1
+ var fileTypes = [
2
+ "hs",
3
+ "hsig"
4
+ ];
5
+ var keyEquivalent = "^~H";
6
+ var name = "Haskell";
7
+ var patterns = [
8
+ {
9
+ name: "block.liquidhaskell.haskell",
10
+ contentName: "block.liquidhaskell.haskell",
11
+ begin: "\\{-@",
12
+ end: "@-\\}",
13
+ patterns: [
14
+ {
15
+ include: "$self"
16
+ }
17
+ ]
18
+ },
19
+ {
20
+ captures: {
21
+ "3": {
22
+ name: "entity.name.namespace"
23
+ }
24
+ },
25
+ comment: "In case this regex seems unusual for an infix operator, note that Haskell allows any ordinary function application (elem 4 [1..10]) to be rewritten as an infix expression (4 `elem` [1..10]).",
26
+ match: "(`)(([\\p{Lu}\\p{Lt}][\\p{Ll}_\\p{Lu}\\p{Lt}\\p{Nd}'\\.]*)\\.)?[\\p{Ll}_][\\p{Ll}_\\p{Lu}\\p{Lt}\\p{Nd}']*(`)",
27
+ name: "keyword.operator.function.infix.haskell"
28
+ },
29
+ {
30
+ match: "\\(\\s*\\)",
31
+ name: "constant.language.unit.haskell"
32
+ },
33
+ {
34
+ match: "\\[\\s*\\]",
35
+ name: "constant.language.empty-list.haskell"
36
+ },
37
+ {
38
+ begin: "\\b(module|signature)(\\b(?!'))",
39
+ beginCaptures: {
40
+ "1": {
41
+ name: "keyword.other.haskell"
42
+ }
43
+ },
44
+ end: "\\b(where)(\\b(?!'))",
45
+ endCaptures: {
46
+ "1": {
47
+ name: "keyword.other.haskell"
48
+ }
49
+ },
50
+ name: "meta.declaration.module.haskell",
51
+ patterns: [
52
+ {
53
+ include: "#module_name"
54
+ },
55
+ {
56
+ include: "#module_exports"
57
+ },
58
+ {
59
+ match: "[a-z]+",
60
+ name: "invalid"
61
+ }
62
+ ]
63
+ },
64
+ {
65
+ begin: "\\b(class)(\\b(?!'))",
66
+ beginCaptures: {
67
+ "1": {
68
+ name: "keyword.other.haskell"
69
+ }
70
+ },
71
+ end: "(\\b(where)(\\b(?!')))|(?=^\\S)",
72
+ endCaptures: {
73
+ "1": {
74
+ name: "keyword.other.haskell"
75
+ }
76
+ },
77
+ name: "meta.declaration.class.haskell",
78
+ patterns: [
79
+ {
80
+ include: "#type_signature"
81
+ }
82
+ ]
83
+ },
84
+ {
85
+ match: "(?x)\n\t\t\t\t^(\\s)*\\b(data|newtype)\n\t\t\t\t\\s+\n\t\t\t\t([\\p{Lu}\\p{Lt}][\\w\\p{Nd}_']*)\n\t\t\t\t((?:\\s+[\\p{Ll}][\\w\\p{Nd}_']*)*?)\n\t\t\t\t\\s+\n\t\t\t\t(where(?:\\b(?!'))|=|$)\n\t\t\t",
86
+ captures: {
87
+ "2": {
88
+ name: "keyword.other.haskell"
89
+ },
90
+ "3": {
91
+ name: "storage.type.haskell"
92
+ },
93
+ "4": {
94
+ patterns: [
95
+ {
96
+ match: "'*[\\p{Ll}][\\w\\p{Nd}_']*",
97
+ name: "variable.other.generic-type.haskell"
98
+ }
99
+ ]
100
+ },
101
+ "5": {
102
+ name: "keyword.other.haskell"
103
+ }
104
+ }
105
+ },
106
+ {
107
+ begin: "(?x)\n\t\t\t\t^(\\s*)\\b(type)\n\t\t\t\t\\s+\n\t\t\t\t([^=]*)\n\t\t\t\t(?:\n\t\t\t\t\t\\s+\n\t\t\t\t\t(=)\n\t\t\t\t\t(.*)\n\t\t\t\t)?\\s*$\n\t\t\t",
108
+ beginCaptures: {
109
+ "2": {
110
+ name: "keyword.other.haskell"
111
+ },
112
+ "3": {
113
+ patterns: [
114
+ {
115
+ include: "#type_signature"
116
+ }
117
+ ]
118
+ },
119
+ "4": {
120
+ name: "keyword.other.haskell"
121
+ },
122
+ "5": {
123
+ patterns: [
124
+ {
125
+ include: "#type_signature"
126
+ }
127
+ ]
128
+ }
129
+ },
130
+ patterns: [
131
+ {
132
+ include: "#type_signature"
133
+ }
134
+ ],
135
+ end: "(?=(<\\-)|(^(\\1)?[^\\s]|}))"
136
+ },
137
+ {
138
+ begin: "\\b(instance)(\\b(?!'))",
139
+ beginCaptures: {
140
+ "1": {
141
+ name: "keyword.other.haskell"
142
+ }
143
+ },
144
+ end: "(\\b(where)(\\b(?!'))|(?=^\\S))",
145
+ endCaptures: {
146
+ "1": {
147
+ name: "keyword.other.haskell"
148
+ }
149
+ },
150
+ name: "meta.declaration.instance.haskell",
151
+ patterns: [
152
+ {
153
+ include: "#type_signature"
154
+ }
155
+ ]
156
+ },
157
+ {
158
+ begin: "\\b(import)(\\b(?!'))",
159
+ beginCaptures: {
160
+ "1": {
161
+ name: "keyword.other.haskell"
162
+ }
163
+ },
164
+ end: "($|;|(?=--))",
165
+ name: "meta.import.haskell",
166
+ patterns: [
167
+ {
168
+ match: "(qualified|as|hiding)",
169
+ name: "keyword.other.haskell"
170
+ },
171
+ {
172
+ include: "#module_name"
173
+ },
174
+ {
175
+ include: "#module_exports"
176
+ }
177
+ ]
178
+ },
179
+ {
180
+ begin: "(deriving)\\s*\\(",
181
+ beginCaptures: {
182
+ "1": {
183
+ name: "keyword.other.haskell"
184
+ }
185
+ },
186
+ end: "\\)",
187
+ name: "meta.deriving.haskell",
188
+ patterns: [
189
+ {
190
+ include: "#derivings"
191
+ }
192
+ ]
193
+ },
194
+ {
195
+ match: "(deriving)\\s+([\\p{Lu}\\p{Lt}][\\p{Ll}_\\p{Lu}\\p{Lt}\\p{Nd}']*)",
196
+ captures: {
197
+ "1": {
198
+ name: "keyword.other.haskell"
199
+ },
200
+ "2": {
201
+ name: "entity.other.inherited-class.haskell"
202
+ }
203
+ },
204
+ name: "meta.deriving.haskell"
205
+ },
206
+ {
207
+ match: "(?x)\\b\n\t\t\t( deriving\n\t\t\t| where\n\t\t\t| type([\\t ]+(family|role))\n\t\t\t| let\n\t\t\t| in\n\t\t\t| default\n\t\t\t| rec\n\t\t\t)(\\b(?!'))\n\t\t\t",
208
+ name: "keyword.other.haskell"
209
+ },
210
+ {
211
+ match: "\\binfix[lr]?(\\b(?!'))",
212
+ name: "keyword.operator.haskell"
213
+ },
214
+ {
215
+ match: "\\b(m?do|if|then|else|case|of)(\\b(?!'))",
216
+ name: "keyword.control.haskell"
217
+ },
218
+ {
219
+ include: "#numeric_literals"
220
+ },
221
+ {
222
+ captures: {
223
+ "1": {
224
+ name: "punctuation.definition.preprocessor.c"
225
+ }
226
+ },
227
+ comment: "In addition to Haskell's \"native\" syntax, GHC permits the C preprocessor to be run on a source file.",
228
+ match: "^\\s*(#)\\s*\\w+",
229
+ name: "meta.preprocessor.c"
230
+ },
231
+ {
232
+ include: "#pragma"
233
+ },
234
+ {
235
+ include: "#string_literal"
236
+ },
237
+ {
238
+ captures: {
239
+ "1": {
240
+ name: "punctuation.definition.string.begin.haskell"
241
+ },
242
+ "2": {
243
+ name: "constant.character.escape.haskell"
244
+ },
245
+ "3": {
246
+ name: "constant.character.escape.octal.haskell"
247
+ },
248
+ "4": {
249
+ name: "constant.character.escape.hexadecimal.haskell"
250
+ },
251
+ "5": {
252
+ name: "constant.character.escape.control.haskell"
253
+ },
254
+ "6": {
255
+ name: "punctuation.definition.string.end.haskell"
256
+ }
257
+ },
258
+ match: "(?x)\n\t\t\t(')\n\t\t\t(?:\n\t\t\t\t[\\ -\\[\\]-~]\t\t\t\t\t\t\t\t# Basic Char\n\t\t\t | (\\\\(?:NUL|SOH|STX|ETX|EOT|ENQ|ACK|BEL|BS|HT|LF|VT|FF|CR|SO|SI|DLE\n\t\t\t\t\t|DC1|DC2|DC3|DC4|NAK|SYN|ETB|CAN|EM|SUB|ESC|FS|GS|RS\n\t\t\t\t\t|US|SP|DEL|[abfnrtv\\\\\\\"'\\&]))\t\t# Escapes\n\t\t\t | (\\\\o[0-7]+)\t\t\t\t\t\t\t\t# Octal Escapes\n\t\t\t | (\\\\x[0-9A-Fa-f]+)\t\t\t\t\t\t# Hexadecimal Escapes\n\t\t\t | (\\^[A-Z@\\[\\]\\\\\\^_])\t\t\t\t\t\t# Control Chars\n\t\t\t)\n\t\t\t(')\n\t\t\t",
259
+ name: "string.quoted.single.haskell"
260
+ },
261
+ {
262
+ begin: "(?x)^(\\s*)\n (?<fn>\n (?:\n [\\p{Ll}_][\\p{Ll}_\\p{Lu}\\p{Lt}\\p{Nd}']* |\n \\(\n (?!--+\\))\n (?:\n (?![(),;\\[\\]`{}_\"'])[\\p{S}\\p{P}]\n )+\n \\)\n )\n (?:\\s*,\\s*\\g<fn>)?\n )\n \\s*(::|∷)",
263
+ beginCaptures: {
264
+ "2": {
265
+ patterns: [
266
+ {
267
+ match: "[\\p{Ll}_][\\p{Ll}_\\p{Lu}\\p{Lt}\\p{Nd}']*",
268
+ name: "entity.name.function.haskell"
269
+ },
270
+ {
271
+ include: "#infix_op"
272
+ }
273
+ ]
274
+ },
275
+ "3": {
276
+ name: "keyword.other.double-colon.haskell"
277
+ }
278
+ },
279
+ name: "meta.function.type-declaration.haskell",
280
+ patterns: [
281
+ {
282
+ include: "#type_signature"
283
+ }
284
+ ],
285
+ end: "(?=(<\\-)|(^(\\1)?[^\\s]|}))"
286
+ },
287
+ {
288
+ include: "#data_constructor"
289
+ },
290
+ {
291
+ include: "#qualifier"
292
+ },
293
+ {
294
+ include: "#comments"
295
+ },
296
+ {
297
+ include: "#infix_op"
298
+ },
299
+ {
300
+ begin: "(::|∷)\\b",
301
+ beginCaptures: {
302
+ "1": {
303
+ name: "keyword.other.double-colon.haskell"
304
+ }
305
+ },
306
+ end: "(?=\\)|$|,|}|\\b(in|then|else|of)\\b(?!')|(:?<\\-))",
307
+ patterns: [
308
+ {
309
+ include: "#type_signature"
310
+ }
311
+ ],
312
+ name: "meta.type-declaration.haskell"
313
+ },
314
+ {
315
+ comment: "In case this regex seems overly general, note that Haskell permits the definition of new operators which can be nearly any string of punctuation characters, such as $%^&*.",
316
+ match: "[\\p{S}\\p{P}&&[^(),;\\[\\]`{}_\"']]+",
317
+ name: "keyword.operator.haskell"
318
+ },
319
+ {
320
+ match: ",",
321
+ name: "punctuation.separator.comma.haskell"
322
+ }
323
+ ];
324
+ var repository = {
325
+ block_comment: {
326
+ applyEndPatternLast: 1,
327
+ begin: "\\{-(?!#)",
328
+ captures: {
329
+ "0": {
330
+ name: "punctuation.definition.comment.haskell"
331
+ }
332
+ },
333
+ end: "-\\}",
334
+ name: "comment.block.haskell",
335
+ patterns: [
336
+ {
337
+ include: "#block_comment"
338
+ }
339
+ ]
340
+ },
341
+ comments: {
342
+ patterns: [
343
+ {
344
+ begin: "^\\s*(--\\s+\\|)",
345
+ beginCaptures: {
346
+ "1": {
347
+ name: "punctuation.whitespace.comment.leading.haskell"
348
+ }
349
+ },
350
+ end: "(?=^(?!\\s*--\\s))",
351
+ name: "comment.block.documentation.haskell"
352
+ },
353
+ {
354
+ applyEndPatternLast: 1,
355
+ begin: "\\{-\\|",
356
+ captures: {
357
+ "0": {
358
+ name: "punctuation.definition.comment.haskell"
359
+ }
360
+ },
361
+ end: "-\\}",
362
+ name: "comment.block.documentation.haskell",
363
+ patterns: [
364
+ {
365
+ include: "#block_comment"
366
+ }
367
+ ]
368
+ },
369
+ {
370
+ begin: "(^[ \\t]+)?(?=--+(?![\\p{S}\\p{P}&&[^(),;\\[\\]`{}_\"']]))",
371
+ beginCaptures: {
372
+ "1": {
373
+ name: "punctuation.whitespace.comment.leading.haskell"
374
+ }
375
+ },
376
+ comment: "Operators may begin with '--' as long as they are not entirely composed of '-' characters. This means comments can't be immediately followed by an allowable operator character.",
377
+ end: "(?!\\G)",
378
+ patterns: [
379
+ {
380
+ begin: "--",
381
+ beginCaptures: {
382
+ "0": {
383
+ name: "punctuation.definition.comment.haskell"
384
+ }
385
+ },
386
+ end: "\\n",
387
+ name: "comment.line.double-dash.haskell"
388
+ }
389
+ ]
390
+ },
391
+ {
392
+ include: "#block_comment"
393
+ }
394
+ ]
395
+ },
396
+ derivings: {
397
+ patterns: [
398
+ {
399
+ match: "\\b[\\p{Lu}\\p{Lt}][\\p{Ll}_\\p{Lu}\\p{Lt}\\p{Nd}']*",
400
+ name: "entity.other.inherited-class.haskell"
401
+ },
402
+ {
403
+ begin: "\\(",
404
+ end: "\\)",
405
+ patterns: [
406
+ {
407
+ include: "#derivings"
408
+ }
409
+ ]
410
+ }
411
+ ]
412
+ },
413
+ infix_op: {
414
+ comment: "An operator cannot be composed entirely of '-' characters; instead, it should be matched as a comment.",
415
+ match: "(\\((?!--+\\))[\\p{S}\\p{P}&&[^(),;\\[\\]`{}_\"']]+\\)|\\(,+\\))",
416
+ name: "entity.name.function.infix.haskell"
417
+ },
418
+ module_exports: {
419
+ begin: "\\(",
420
+ end: "\\)",
421
+ name: "meta.declaration.exports.haskell",
422
+ patterns: [
423
+ {
424
+ match: "\\b[\\p{Ll}_][\\p{Ll}_\\p{Lu}\\p{Lt}\\p{Nd}']*",
425
+ name: "entity.name.function.haskell"
426
+ },
427
+ {
428
+ match: "\\b[\\p{Lu}\\p{Lt}][\\p{Ll}_\\p{Lu}\\p{Lt}\\p{Nd}']*",
429
+ name: "storage.type.haskell"
430
+ },
431
+ {
432
+ match: ",",
433
+ name: "punctuation.separator.comma.haskell"
434
+ },
435
+ {
436
+ include: "#infix_op"
437
+ },
438
+ {
439
+ comment: "So named because I don't know what to call this.",
440
+ match: "\\(.*?\\)",
441
+ name: "meta.other.unknown.haskell"
442
+ },
443
+ {
444
+ include: "#comments"
445
+ }
446
+ ]
447
+ },
448
+ module_name: {
449
+ match: "(?<conid>[\\p{Lu}\\p{Lt}][\\p{Ll}_\\p{Lu}\\p{Lt}\\p{Nd}']*(\\.\\g<conid>)?)",
450
+ name: "entity.name.namespace"
451
+ },
452
+ pragma: {
453
+ begin: "\\{-#",
454
+ end: "#-\\}",
455
+ name: "meta.preprocessor.haskell",
456
+ patterns: [
457
+ {
458
+ match: "\\b(LANGUAGE|OPTIONS_GHC|INCLUDE|WARNING|DEPRECATED|MINIMAL|UNPACK|NOUNPACK|SOURCE|OVERLAPPING|OVERLAPPABLE|OVERLAPS|INCOHERENT|INLINE|NOINLINE|INLINE?ABLE|CONLIKE|LINE|COLUMN|RULES|SPECIALIZE|SPECIALISE|COMPLETE)\\b",
459
+ name: "keyword.other.preprocessor.haskell"
460
+ }
461
+ ]
462
+ },
463
+ data_constructor: {
464
+ match: "\\b[\\p{Lu}\\p{Lt}][\\p{Ll}_\\p{Lu}\\p{Lt}\\p{Nd}']*(?!\\.)\\b",
465
+ name: "constant.other.haskell"
466
+ },
467
+ qualifier: {
468
+ match: "\\b[\\p{Lu}\\p{Lt}][\\p{Ll}_\\p{Lu}\\p{Lt}\\p{Nd}']*(?=\\.)\\b",
469
+ name: "meta.import.qualifier.haskell"
470
+ },
471
+ type_signature: {
472
+ patterns: [
473
+ {
474
+ match: "\\(\\s*\\)",
475
+ name: "support.constant.unit.haskell"
476
+ },
477
+ {
478
+ begin: "\\(",
479
+ end: "\\)",
480
+ patterns: [
481
+ {
482
+ match: ","
483
+ },
484
+ {
485
+ include: "#type_signature"
486
+ }
487
+ ]
488
+ },
489
+ {
490
+ match: "\\(\\s*([\\p{Lu}\\p{Lt}][\\p{Ll}_\\p{Lu}\\p{Lt}\\p{Nd}']*)\\s+([\\p{Ll}_][\\p{Ll}_\\p{Lu}\\p{Lt}\\p{Nd}']*)\\)\\s*(=>|⇒)",
491
+ captures: {
492
+ "1": {
493
+ name: "entity.other.inherited-class.haskell"
494
+ },
495
+ "2": {
496
+ name: "variable.other.generic-type.haskell"
497
+ },
498
+ "3": {
499
+ name: "keyword.other.big-arrow.haskell"
500
+ }
501
+ },
502
+ name: "meta.class-constraint.haskell"
503
+ },
504
+ {
505
+ include: "#pragma"
506
+ },
507
+ {
508
+ match: "->|→",
509
+ name: "keyword.other.arrow.haskell"
510
+ },
511
+ {
512
+ match: "\\b(forall|∀)(\\b(?!'))",
513
+ name: "keyword.other.forall.haskell"
514
+ },
515
+ {
516
+ match: "=>|⇒",
517
+ name: "keyword.other.big-arrow.haskell"
518
+ },
519
+ {
520
+ match: "\\b[\\p{Ll}_][\\p{Ll}_\\p{Lu}\\p{Lt}\\p{Nd}']*",
521
+ name: "variable.other.generic-type.haskell"
522
+ },
523
+ {
524
+ match: "\\b[\\p{Lu}\\p{Lt}][\\p{Ll}_\\p{Lu}\\p{Lt}\\p{Nd}']*(?!\\.)\\b",
525
+ name: "storage.type.haskell"
526
+ },
527
+ {
528
+ match: "\\b[\\p{Lu}\\p{Lt}][\\p{Ll}_\\p{Lu}\\p{Lt}\\p{Nd}']*(?=\\.)",
529
+ name: "entity.name.namespace"
530
+ },
531
+ {
532
+ include: "#comments"
533
+ },
534
+ {
535
+ include: "#string_literal"
536
+ },
537
+ {
538
+ include: "#integer_literal"
539
+ }
540
+ ]
541
+ },
542
+ string_literal: {
543
+ begin: "\"",
544
+ beginCaptures: {
545
+ "0": {
546
+ name: "punctuation.definition.string.begin.haskell"
547
+ }
548
+ },
549
+ end: "\"",
550
+ endCaptures: {
551
+ "0": {
552
+ name: "punctuation.definition.string.end.haskell"
553
+ }
554
+ },
555
+ name: "string.quoted.double.haskell",
556
+ patterns: [
557
+ {
558
+ match: "\\\\(NUL|SOH|STX|ETX|EOT|ENQ|ACK|BEL|BS|HT|LF|VT|FF|CR|SO|SI|DLE|DC1|DC2|DC3|DC4|NAK|SYN|ETB|CAN|EM|SUB|ESC|FS|GS|RS|US|SP|DEL|[abfnrtv\\\\\\\"'\\&])",
559
+ name: "constant.character.escape.haskell"
560
+ },
561
+ {
562
+ match: "\\\\o[0-7]+|\\\\x[0-9A-Fa-f]+|\\\\[0-9]+",
563
+ name: "constant.character.escape.octal.haskell"
564
+ },
565
+ {
566
+ match: "\\\\\\^[A-Z@\\[\\]\\\\\\^_]",
567
+ name: "constant.character.escape.control.haskell"
568
+ },
569
+ {
570
+ begin: "\\\\\\s",
571
+ beginCaptures: {
572
+ "0": {
573
+ name: "constant.character.escape.begin.haskell"
574
+ }
575
+ },
576
+ end: "\\\\",
577
+ endCaptures: {
578
+ "0": {
579
+ name: "constant.character.escape.end.haskell"
580
+ }
581
+ },
582
+ patterns: [
583
+ {
584
+ match: "\\S+",
585
+ name: "invalid.illegal.character-not-allowed-here.haskell"
586
+ }
587
+ ]
588
+ }
589
+ ]
590
+ },
591
+ integer_literals: {
592
+ comment: "Floats are decimal or hexadecimal",
593
+ match: "\\b([0-9](_*[0-9])*\\.[0-9](_*[0-9])*(_*[eE][-+]?[0-9](_*[0-9])*)?|[0-9](_*[0-9])*_*[eE][-+]?[0-9](_*[0-9])*|0[xX]_*[0-9a-fA-F](_*[0-9a-fA-F])*\\.[0-9a-fA-F](_*[0-9a-fA-F])*(_*[pP][-+]?[0-9](_*[0-9])*)?|0[xX]_*[0-9a-fA-F](_*[0-9a-fA-F])*_*[pP][-+]?[0-9](_*[0-9])*)\\b",
594
+ name: "constant.numeric.float.haskell"
595
+ },
596
+ float_literals: {
597
+ match: "\\b([0-9](_*[0-9])*|0([xX]_*[0-9a-fA-F](_*[0-9a-fA-F])*|[oO]_*[0-7](_*[0-7])*|[bB]_*[01](_*[01])*))\\b",
598
+ name: "constant.numeric.haskell"
599
+ },
600
+ numeric_literals: {
601
+ patterns: [
602
+ {
603
+ include: "#integer_literals"
604
+ },
605
+ {
606
+ include: "#float_literals"
607
+ }
608
+ ]
609
+ }
610
+ };
611
+ var scopeName = "source.haskell";
612
+ var uuid = "5C034675-1F6D-497E-8073-369D37E2FD7D";
613
+ var information_for_contributors = [
614
+ "This file has been converted from https://github.com/JustusAdam/language-haskell/blob/df29e5733bd5b31c59af7404306e0759431c33ea/",
615
+ "If you want to provide a fix or improvement, please create a pull request against the original repository.",
616
+ "Once accepted there, we are happy to receive an update request."
617
+ ];
618
+ var haskell_tmLanguage = {
619
+ fileTypes: fileTypes,
620
+ keyEquivalent: keyEquivalent,
621
+ name: name,
622
+ patterns: patterns,
623
+ repository: repository,
624
+ scopeName: scopeName,
625
+ uuid: uuid,
626
+ information_for_contributors: information_for_contributors
627
+ };
628
+
629
+ export { haskell_tmLanguage as default, fileTypes, information_for_contributors, keyEquivalent, name, patterns, repository, scopeName, uuid };
@@ -0,0 +1,31 @@
1
+ var fileTypes = [
2
+ "html.eex"
3
+ ];
4
+ var foldingStartMarker = "(?x)\n\t\t(<(?i:head|body|table|thead|tbody|tfoot|tr|div|select|fieldset|style|script|ul|ol|form|dl)\\b.*?>\n\t\t|<!--(?!.*-->)\n\t\t|\\{\\s*($|\\?>\\s*$|//|/\\*(.*\\*/\\s*$|(?!.*?\\*/)))\n\t\t)";
5
+ var foldingStopMarker = "(?x)\n\t\t(</(?i:head|body|table|thead|tbody|tfoot|tr|div|select|fieldset|style|script|ul|ol|form|dl)>\n\t\t|^\\s*-->\n\t\t|(^|\\s)\\}\n\t\t)";
6
+ var name = "HTML (EEx)";
7
+ var patterns = [
8
+ {
9
+ include: "text.elixir"
10
+ },
11
+ {
12
+ include: "text.html.basic"
13
+ }
14
+ ];
15
+ var scopeName = "text.html.elixir";
16
+ var information_for_contributors = [
17
+ "This file has been converted from https://github.com/timmhirsens/vscode-elixir/blob/master/",
18
+ "If you want to provide a fix or improvement, please create a pull request against the original repository.",
19
+ "Once accepted there, we are happy to receive an update request."
20
+ ];
21
+ var html__eex_ = {
22
+ fileTypes: fileTypes,
23
+ foldingStartMarker: foldingStartMarker,
24
+ foldingStopMarker: foldingStopMarker,
25
+ name: name,
26
+ patterns: patterns,
27
+ scopeName: scopeName,
28
+ information_for_contributors: information_for_contributors
29
+ };
30
+
31
+ export { html__eex_ as default, fileTypes, foldingStartMarker, foldingStopMarker, information_for_contributors, name, patterns, scopeName };
@@ -0,0 +1,57 @@
1
+ var information_for_contributors = [
2
+ "This file has been converted from https://github.com/microsoft/vscode/blob/master/extensions/html/",
3
+ "If you want to provide a fix or improvement, please create a pull request against the original repository.",
4
+ "Once accepted there, we are happy to receive an update request."
5
+ ];
6
+ var version = "https://github.com/textmate/html.tmbundle/commit/390c8870273a2ae80244dae6db6ba064a802f407";
7
+ var name = "HTML (Derivative)";
8
+ var scopeName = "text.html.derivative";
9
+ var injections = {
10
+ "R:text.html - (comment.block, text.html meta.embedded, meta.tag.*.*.html, meta.tag.*.*.*.html, meta.tag.*.*.*.*.html)": {
11
+ comment: "Uses R: to ensure this matches after any other injections.",
12
+ patterns: [
13
+ {
14
+ match: "<",
15
+ name: "invalid.illegal.bad-angle-bracket.html"
16
+ }
17
+ ]
18
+ }
19
+ };
20
+ var patterns = [
21
+ {
22
+ include: "text.html.basic#core-minus-invalid"
23
+ },
24
+ {
25
+ begin: "(</?)(\\w[^\\s>]*)(?<!/)",
26
+ beginCaptures: {
27
+ "1": {
28
+ name: "punctuation.definition.tag.begin.html"
29
+ },
30
+ "2": {
31
+ name: "entity.name.tag.html"
32
+ }
33
+ },
34
+ end: "((?: ?/)?>)",
35
+ endCaptures: {
36
+ "1": {
37
+ name: "punctuation.definition.tag.end.html"
38
+ }
39
+ },
40
+ name: "meta.tag.other.unrecognized.html.derivative",
41
+ patterns: [
42
+ {
43
+ include: "text.html.basic#attribute"
44
+ }
45
+ ]
46
+ }
47
+ ];
48
+ var htmlDerivative_tmLanguage = {
49
+ information_for_contributors: information_for_contributors,
50
+ version: version,
51
+ name: name,
52
+ scopeName: scopeName,
53
+ injections: injections,
54
+ patterns: patterns
55
+ };
56
+
57
+ export { htmlDerivative_tmLanguage as default, information_for_contributors, injections, name, patterns, scopeName, version };