@codingame/monaco-languageclient-wrapper 1.4.1 → 1.4.2
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.
- package/dist/main.js +6 -5
- package/dist/monaco-languageclient-wrapper.d.ts +1478 -0
- package/dist/tsdoc-metadata.json +11 -0
- package/package.json +13 -13
- package/stats.html +205 -795
- package/dist/BSV.tmLanguage.js +0 -299
- package/dist/COBOL Copybook.js +0 -2017
- package/dist/COBOL.js +0 -2017
- package/dist/COBOL.tmLanguage.js +0 -149
- package/dist/CodinGameMonacoWorkspace.d.ts +0 -13
- package/dist/Configuration.d.ts +0 -15
- package/dist/Erlang.plist.js +0 -1752
- package/dist/JSON.tmLanguage.js +0 -221
- package/dist/JSONC.tmLanguage.js +0 -221
- package/dist/JavaScript.tmLanguage.js +0 -5894
- package/dist/Kotlin.tmLanguage.js +0 -724
- package/dist/MagicPython.tmLanguage.js +0 -5340
- package/dist/MagicRegExp.tmLanguage.js +0 -505
- package/dist/Regular Expressions (JavaScript).tmLanguage.js +0 -166
- package/dist/SQL.plist.js +0 -482
- package/dist/Scala.tmLanguage.js +0 -1255
- package/dist/TypeScript.tmLanguage.js +0 -5641
- package/dist/WatchableConsoleWindow.d.ts +0 -22
- package/dist/_rollupPluginBabelHelpers.js +0 -54
- package/dist/asp-vb-net.tmlanguage.js +0 -247
- package/dist/bsv.js +0 -49
- package/dist/c.js +0 -18
- package/dist/c.tmLanguage.js +0 -3347
- package/dist/cabal.tmLanguage.js +0 -66
- package/dist/clojure.tmLanguage.js +0 -443
- package/dist/codeblock-cabal.js +0 -42
- package/dist/codeblock-haskell.js +0 -42
- package/dist/codeblock-literate-haskell.js +0 -42
- package/dist/codeblock.js +0 -36
- package/dist/codeblock2.js +0 -95
- package/dist/coffeescript.js +0 -18
- package/dist/coffeescript.tmLanguage.js +0 -1324
- package/dist/configuration/index.d.ts +0 -5
- package/dist/cpp.js +0 -18
- package/dist/cpp.tmLanguage.js +0 -19996
- package/dist/csharp.js +0 -18
- package/dist/csharp.tmLanguage.js +0 -4750
- package/dist/css.tmLanguage.js +0 -1873
- package/dist/css.worker.js +0 -6
- package/dist/cssContribution.js +0 -10
- package/dist/cuda-cpp.tmLanguage.js +0 -19993
- package/dist/d.js +0 -3159
- package/dist/dart.js +0 -530
- package/dist/diet.js +0 -758
- package/dist/diet2.js +0 -92
- package/dist/dml.js +0 -169
- package/dist/eex.js +0 -55
- package/dist/elixir.js +0 -2341
- package/dist/elixir2.js +0 -184
- package/dist/erlang.js +0 -195
- package/dist/expression.js +0 -846
- package/dist/extensions/autofold.d.ts +0 -2
- package/dist/extensions/cobol.d.ts +0 -2
- package/dist/extensions/index.d.ts +0 -2
- package/dist/features/cssContribution.d.ts +0 -1
- package/dist/features/htmlContribution.d.ts +0 -1
- package/dist/features/jsonContribution.d.ts +0 -1
- package/dist/features/typescriptContribution.d.ts +0 -1
- package/dist/fsharp.js +0 -18
- package/dist/fsharp.tmLanguage.js +0 -1811
- package/dist/go.tmLanguage.js +0 -1025
- package/dist/groovy.js +0 -229
- package/dist/groovy.tmLanguage.js +0 -1391
- package/dist/haskell.tmLanguage.js +0 -629
- package/dist/html (eex).js +0 -31
- package/dist/html-derivative.tmLanguage.js +0 -57
- package/dist/html.tmLanguage.js +0 -2652
- package/dist/html.tmLanguage2.js +0 -97
- package/dist/html.worker.js +0 -6
- package/dist/htmlContribution.js +0 -10
- package/dist/inline-styles.js +0 -104
- package/dist/inline-template.js +0 -88
- package/dist/java.js +0 -18
- package/dist/java.tmLanguage.js +0 -1863
- package/dist/javascript.js +0 -196
- package/dist/javascriptreact.js +0 -196
- package/dist/jsdoc.js.injection.tmLanguage.js +0 -32
- package/dist/jsdoc.ts.injection.tmLanguage.js +0 -32
- package/dist/json.worker.js +0 -6
- package/dist/jsonContribution.js +0 -78
- package/dist/keybindings/index.d.ts +0 -2
- package/dist/keybindings/keybindingHelper.d.ts +0 -2
- package/dist/keybindings/vim.d.ts +0 -3
- package/dist/kotlin.js +0 -117
- package/dist/kotlinscript.js +0 -117
- package/dist/languages/extensions/grammarLoader.d.ts +0 -91037
- package/dist/languages/extensions/snippetLoader.d.ts +0 -4578
- package/dist/languages/index.d.ts +0 -3
- package/dist/languages/monarch/index.d.ts +0 -7
- package/dist/languages/monarch/list.d.ts +0 -7
- package/dist/languages/monarch/stub-generator.d.ts +0 -2
- package/dist/languages/snippets/index.d.ts +0 -1
- package/dist/languages/textMate/CGTMGrammarFactory.d.ts +0 -5
- package/dist/languages/textMate/TextMateTokensProvider.d.ts +0 -11
- package/dist/languages/textMate/index.d.ts +0 -2
- package/dist/literateHaskell.tmLanguage.js +0 -70
- package/dist/lua.tmLanguage.js +0 -289
- package/dist/markdown.js +0 -103
- package/dist/markdown.tmLanguage.js +0 -2784
- package/dist/merlin.js +0 -111
- package/dist/monaco.d.ts +0 -8
- package/dist/objective-c.tmLanguage.js +0 -3618
- package/dist/ocaml-hover-info.js +0 -34
- package/dist/ocaml-hover-type.js +0 -24
- package/dist/ocaml-markdown-codeblock.js +0 -42
- package/dist/ocaml.js +0 -2979
- package/dist/ocamlbuild.js +0 -239
- package/dist/opam.js +0 -149
- package/dist/pascal.js +0 -382
- package/dist/pascal.tmLanguage.js +0 -169
- package/dist/perl.tmLanguage.js +0 -2986
- package/dist/perl6.tmLanguage.js +0 -323
- package/dist/pgsql.tmLanguage.js +0 -284
- package/dist/php.js +0 -265
- package/dist/php.tmLanguage.js +0 -3791
- package/dist/platform.tmLanguage.js +0 -1135
- package/dist/powershell.js +0 -18
- package/dist/powershell.tmLanguage.js +0 -1037
- package/dist/r.tmLanguage.js +0 -551
- package/dist/reason-hover-info.js +0 -34
- package/dist/reason-hover-signature.js +0 -21
- package/dist/reason-hover-type.js +0 -21
- package/dist/reason-markdown-codeblock.js +0 -42
- package/dist/reason.js +0 -100
- package/dist/ruby.tmLanguage.js +0 -2784
- package/dist/rust.tmLanguage.js +0 -1178
- package/dist/sassdoc.tmLanguage.js +0 -362
- package/dist/scss.tmLanguage.js +0 -1887
- package/dist/sdc.tmLanguage.js +0 -712
- package/dist/sdl.js +0 -162
- package/dist/services/EditorModelResolverService.d.ts +0 -8
- package/dist/services/MultiEditorStandaloneCodeEditorService.d.ts +0 -7
- package/dist/shell-unix-bash.tmLanguage.js +0 -1291
- package/dist/sql.js +0 -21
- package/dist/stub-generator.js +0 -15
- package/dist/swift.js +0 -183
- package/dist/swift.tmLanguage.js +0 -3288
- package/dist/systemverilog.js +0 -208
- package/dist/systemverilog.tmLanguage.js +0 -1067
- package/dist/tcl.js +0 -151
- package/dist/tcl.tmlanguage.yaml.js +0 -5484
- package/dist/template.js +0 -207
- package/dist/theme/index.d.ts +0 -3
- package/dist/theme/registry.d.ts +0 -4
- package/dist/theme/semanticHighlight.d.ts +0 -1
- package/dist/theme/tools.d.ts +0 -13
- package/dist/tools.d.ts +0 -3
- package/dist/ts.worker.js +0 -6
- package/dist/typescript.js +0 -312
- package/dist/typescriptContribution.js +0 -36
- package/dist/typescriptreact.js +0 -312
- package/dist/ucf.tmLanguage.js +0 -36
- package/dist/vb.js +0 -88
- package/dist/verilog.js +0 -432
- package/dist/verilog.tmLanguage.js +0 -321
- package/dist/worker.d.ts +0 -6
- package/dist/worker.js +0 -54
- package/dist/xml.tmLanguage.js +0 -395
- package/dist/xsl.tmLanguage.js +0 -102
- package/dist/yaml.tmLanguage.js +0 -629
|
@@ -1,629 +0,0 @@
|
|
|
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 };
|
package/dist/html (eex).js
DELETED
|
@@ -1,31 +0,0 @@
|
|
|
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 };
|
|
@@ -1,57 +0,0 @@
|
|
|
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 };
|