@codingame/monaco-languageclient-wrapper 1.4.1 → 1.7.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.
- package/dist/createLanguageClient.d.ts +3 -3
- package/dist/extensionConfiguration.d.ts +1 -1
- package/dist/index.d.ts +4 -3
- package/dist/languageClient.d.ts +4 -7
- package/dist/languageClientOptions.d.ts +9 -0
- package/dist/main.js +619 -760
- package/dist/monaco-languageclient-wrapper.d.ts +1478 -0
- package/dist/staticOptions.d.ts +4 -8
- package/dist/tsdoc-metadata.json +11 -0
- package/package.json +20 -15
- 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,505 +0,0 @@
|
|
|
1
|
-
var information_for_contributors = [
|
|
2
|
-
"This file has been converted from https://github.com/microsoft/vscode/blob/master/extensions/python/",
|
|
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/MagicStack/MagicPython/commit/c9b3409deb69acec31bbf7913830e93a046b30cc";
|
|
7
|
-
var name = "MagicRegExp";
|
|
8
|
-
var scopeName = "source.regexp.python";
|
|
9
|
-
var patterns = [
|
|
10
|
-
{
|
|
11
|
-
include: "#regexp-expression"
|
|
12
|
-
}
|
|
13
|
-
];
|
|
14
|
-
var repository = {
|
|
15
|
-
"regexp-base-expression": {
|
|
16
|
-
patterns: [
|
|
17
|
-
{
|
|
18
|
-
include: "#regexp-quantifier"
|
|
19
|
-
},
|
|
20
|
-
{
|
|
21
|
-
include: "#regexp-base-common"
|
|
22
|
-
}
|
|
23
|
-
]
|
|
24
|
-
},
|
|
25
|
-
"fregexp-base-expression": {
|
|
26
|
-
patterns: [
|
|
27
|
-
{
|
|
28
|
-
include: "#fregexp-quantifier"
|
|
29
|
-
},
|
|
30
|
-
{
|
|
31
|
-
include: "#fstring-formatting-braces"
|
|
32
|
-
},
|
|
33
|
-
{
|
|
34
|
-
match: "\\{.*?\\}"
|
|
35
|
-
},
|
|
36
|
-
{
|
|
37
|
-
include: "#regexp-base-common"
|
|
38
|
-
}
|
|
39
|
-
]
|
|
40
|
-
},
|
|
41
|
-
"fstring-formatting-braces": {
|
|
42
|
-
patterns: [
|
|
43
|
-
{
|
|
44
|
-
comment: "empty braces are illegal",
|
|
45
|
-
match: "({)(\\s*?)(})",
|
|
46
|
-
captures: {
|
|
47
|
-
"1": {
|
|
48
|
-
name: "constant.character.format.placeholder.other.python"
|
|
49
|
-
},
|
|
50
|
-
"2": {
|
|
51
|
-
name: "invalid.illegal.brace.python"
|
|
52
|
-
},
|
|
53
|
-
"3": {
|
|
54
|
-
name: "constant.character.format.placeholder.other.python"
|
|
55
|
-
}
|
|
56
|
-
}
|
|
57
|
-
},
|
|
58
|
-
{
|
|
59
|
-
name: "constant.character.escape.python",
|
|
60
|
-
match: "({{|}})"
|
|
61
|
-
}
|
|
62
|
-
]
|
|
63
|
-
},
|
|
64
|
-
"regexp-base-common": {
|
|
65
|
-
patterns: [
|
|
66
|
-
{
|
|
67
|
-
name: "support.other.match.any.regexp",
|
|
68
|
-
match: "\\."
|
|
69
|
-
},
|
|
70
|
-
{
|
|
71
|
-
name: "support.other.match.begin.regexp",
|
|
72
|
-
match: "\\^"
|
|
73
|
-
},
|
|
74
|
-
{
|
|
75
|
-
name: "support.other.match.end.regexp",
|
|
76
|
-
match: "\\$"
|
|
77
|
-
},
|
|
78
|
-
{
|
|
79
|
-
name: "keyword.operator.quantifier.regexp",
|
|
80
|
-
match: "[+*?]\\??"
|
|
81
|
-
},
|
|
82
|
-
{
|
|
83
|
-
name: "keyword.operator.disjunction.regexp",
|
|
84
|
-
match: "\\|"
|
|
85
|
-
},
|
|
86
|
-
{
|
|
87
|
-
include: "#regexp-escape-sequence"
|
|
88
|
-
}
|
|
89
|
-
]
|
|
90
|
-
},
|
|
91
|
-
"regexp-quantifier": {
|
|
92
|
-
name: "keyword.operator.quantifier.regexp",
|
|
93
|
-
match: "(?x)\n \\{(\n \\d+ | \\d+,(\\d+)? | ,\\d+\n )\\}\n"
|
|
94
|
-
},
|
|
95
|
-
"fregexp-quantifier": {
|
|
96
|
-
name: "keyword.operator.quantifier.regexp",
|
|
97
|
-
match: "(?x)\n \\{\\{(\n \\d+ | \\d+,(\\d+)? | ,\\d+\n )\\}\\}\n"
|
|
98
|
-
},
|
|
99
|
-
"regexp-backreference-number": {
|
|
100
|
-
name: "meta.backreference.regexp",
|
|
101
|
-
match: "(\\\\[1-9]\\d?)",
|
|
102
|
-
captures: {
|
|
103
|
-
"1": {
|
|
104
|
-
name: "entity.name.tag.backreference.regexp"
|
|
105
|
-
}
|
|
106
|
-
}
|
|
107
|
-
},
|
|
108
|
-
"regexp-backreference": {
|
|
109
|
-
name: "meta.backreference.named.regexp",
|
|
110
|
-
match: "(?x)\n (\\() (\\?P= \\w+(?:\\s+[[:alnum:]]+)?) (\\))\n",
|
|
111
|
-
captures: {
|
|
112
|
-
"1": {
|
|
113
|
-
name: "support.other.parenthesis.regexp punctuation.parenthesis.backreference.named.begin.regexp"
|
|
114
|
-
},
|
|
115
|
-
"2": {
|
|
116
|
-
name: "entity.name.tag.named.backreference.regexp"
|
|
117
|
-
},
|
|
118
|
-
"3": {
|
|
119
|
-
name: "support.other.parenthesis.regexp punctuation.parenthesis.backreference.named.end.regexp"
|
|
120
|
-
}
|
|
121
|
-
}
|
|
122
|
-
},
|
|
123
|
-
"regexp-flags": {
|
|
124
|
-
name: "storage.modifier.flag.regexp",
|
|
125
|
-
match: "\\(\\?[aiLmsux]+\\)"
|
|
126
|
-
},
|
|
127
|
-
"regexp-escape-special": {
|
|
128
|
-
name: "support.other.escape.special.regexp",
|
|
129
|
-
match: "\\\\([AbBdDsSwWZ])"
|
|
130
|
-
},
|
|
131
|
-
"regexp-escape-character": {
|
|
132
|
-
name: "constant.character.escape.regexp",
|
|
133
|
-
match: "(?x)\n \\\\ (\n x[0-9A-Fa-f]{2}\n | 0[0-7]{1,2}\n | [0-7]{3}\n )\n"
|
|
134
|
-
},
|
|
135
|
-
"regexp-escape-unicode": {
|
|
136
|
-
name: "constant.character.unicode.regexp",
|
|
137
|
-
match: "(?x)\n \\\\ (\n u[0-9A-Fa-f]{4}\n | U[0-9A-Fa-f]{8}\n )\n"
|
|
138
|
-
},
|
|
139
|
-
"regexp-escape-catchall": {
|
|
140
|
-
name: "constant.character.escape.regexp",
|
|
141
|
-
match: "\\\\(.|\\n)"
|
|
142
|
-
},
|
|
143
|
-
"regexp-escape-sequence": {
|
|
144
|
-
patterns: [
|
|
145
|
-
{
|
|
146
|
-
include: "#regexp-escape-special"
|
|
147
|
-
},
|
|
148
|
-
{
|
|
149
|
-
include: "#regexp-escape-character"
|
|
150
|
-
},
|
|
151
|
-
{
|
|
152
|
-
include: "#regexp-escape-unicode"
|
|
153
|
-
},
|
|
154
|
-
{
|
|
155
|
-
include: "#regexp-backreference-number"
|
|
156
|
-
},
|
|
157
|
-
{
|
|
158
|
-
include: "#regexp-escape-catchall"
|
|
159
|
-
}
|
|
160
|
-
]
|
|
161
|
-
},
|
|
162
|
-
"regexp-charecter-set-escapes": {
|
|
163
|
-
patterns: [
|
|
164
|
-
{
|
|
165
|
-
name: "constant.character.escape.regexp",
|
|
166
|
-
match: "\\\\[abfnrtv\\\\]"
|
|
167
|
-
},
|
|
168
|
-
{
|
|
169
|
-
include: "#regexp-escape-special"
|
|
170
|
-
},
|
|
171
|
-
{
|
|
172
|
-
name: "constant.character.escape.regexp",
|
|
173
|
-
match: "\\\\([0-7]{1,3})"
|
|
174
|
-
},
|
|
175
|
-
{
|
|
176
|
-
include: "#regexp-escape-character"
|
|
177
|
-
},
|
|
178
|
-
{
|
|
179
|
-
include: "#regexp-escape-unicode"
|
|
180
|
-
},
|
|
181
|
-
{
|
|
182
|
-
include: "#regexp-escape-catchall"
|
|
183
|
-
}
|
|
184
|
-
]
|
|
185
|
-
},
|
|
186
|
-
codetags: {
|
|
187
|
-
match: "(?:\\b(NOTE|XXX|HACK|FIXME|BUG|TODO)\\b)",
|
|
188
|
-
captures: {
|
|
189
|
-
"1": {
|
|
190
|
-
name: "keyword.codetag.notation.python"
|
|
191
|
-
}
|
|
192
|
-
}
|
|
193
|
-
},
|
|
194
|
-
"regexp-expression": {
|
|
195
|
-
patterns: [
|
|
196
|
-
{
|
|
197
|
-
include: "#regexp-base-expression"
|
|
198
|
-
},
|
|
199
|
-
{
|
|
200
|
-
include: "#regexp-character-set"
|
|
201
|
-
},
|
|
202
|
-
{
|
|
203
|
-
include: "#regexp-comments"
|
|
204
|
-
},
|
|
205
|
-
{
|
|
206
|
-
include: "#regexp-flags"
|
|
207
|
-
},
|
|
208
|
-
{
|
|
209
|
-
include: "#regexp-named-group"
|
|
210
|
-
},
|
|
211
|
-
{
|
|
212
|
-
include: "#regexp-backreference"
|
|
213
|
-
},
|
|
214
|
-
{
|
|
215
|
-
include: "#regexp-lookahead"
|
|
216
|
-
},
|
|
217
|
-
{
|
|
218
|
-
include: "#regexp-lookahead-negative"
|
|
219
|
-
},
|
|
220
|
-
{
|
|
221
|
-
include: "#regexp-lookbehind"
|
|
222
|
-
},
|
|
223
|
-
{
|
|
224
|
-
include: "#regexp-lookbehind-negative"
|
|
225
|
-
},
|
|
226
|
-
{
|
|
227
|
-
include: "#regexp-conditional"
|
|
228
|
-
},
|
|
229
|
-
{
|
|
230
|
-
include: "#regexp-parentheses-non-capturing"
|
|
231
|
-
},
|
|
232
|
-
{
|
|
233
|
-
include: "#regexp-parentheses"
|
|
234
|
-
}
|
|
235
|
-
]
|
|
236
|
-
},
|
|
237
|
-
"regexp-character-set": {
|
|
238
|
-
patterns: [
|
|
239
|
-
{
|
|
240
|
-
match: "(?x)\n \\[ \\^? \\] (?! .*?\\])\n"
|
|
241
|
-
},
|
|
242
|
-
{
|
|
243
|
-
name: "meta.character.set.regexp",
|
|
244
|
-
begin: "(\\[)(\\^)?(\\])?",
|
|
245
|
-
end: "(\\])",
|
|
246
|
-
beginCaptures: {
|
|
247
|
-
"1": {
|
|
248
|
-
name: "punctuation.character.set.begin.regexp constant.other.set.regexp"
|
|
249
|
-
},
|
|
250
|
-
"2": {
|
|
251
|
-
name: "keyword.operator.negation.regexp"
|
|
252
|
-
},
|
|
253
|
-
"3": {
|
|
254
|
-
name: "constant.character.set.regexp"
|
|
255
|
-
}
|
|
256
|
-
},
|
|
257
|
-
endCaptures: {
|
|
258
|
-
"1": {
|
|
259
|
-
name: "punctuation.character.set.end.regexp constant.other.set.regexp"
|
|
260
|
-
},
|
|
261
|
-
"2": {
|
|
262
|
-
name: "invalid.illegal.newline.python"
|
|
263
|
-
}
|
|
264
|
-
},
|
|
265
|
-
patterns: [
|
|
266
|
-
{
|
|
267
|
-
include: "#regexp-charecter-set-escapes"
|
|
268
|
-
},
|
|
269
|
-
{
|
|
270
|
-
name: "constant.character.set.regexp",
|
|
271
|
-
match: "[^\\n]"
|
|
272
|
-
}
|
|
273
|
-
]
|
|
274
|
-
}
|
|
275
|
-
]
|
|
276
|
-
},
|
|
277
|
-
"regexp-named-group": {
|
|
278
|
-
name: "meta.named.regexp",
|
|
279
|
-
begin: "(?x)\n (\\() (\\?P <\\w+(?:\\s+[[:alnum:]]+)?>)\n",
|
|
280
|
-
end: "(\\))",
|
|
281
|
-
beginCaptures: {
|
|
282
|
-
"1": {
|
|
283
|
-
name: "support.other.parenthesis.regexp punctuation.parenthesis.named.begin.regexp"
|
|
284
|
-
},
|
|
285
|
-
"2": {
|
|
286
|
-
name: "entity.name.tag.named.group.regexp"
|
|
287
|
-
}
|
|
288
|
-
},
|
|
289
|
-
endCaptures: {
|
|
290
|
-
"1": {
|
|
291
|
-
name: "support.other.parenthesis.regexp punctuation.parenthesis.named.end.regexp"
|
|
292
|
-
},
|
|
293
|
-
"2": {
|
|
294
|
-
name: "invalid.illegal.newline.python"
|
|
295
|
-
}
|
|
296
|
-
},
|
|
297
|
-
patterns: [
|
|
298
|
-
{
|
|
299
|
-
include: "#regexp-expression"
|
|
300
|
-
}
|
|
301
|
-
]
|
|
302
|
-
},
|
|
303
|
-
"regexp-comments": {
|
|
304
|
-
name: "comment.regexp",
|
|
305
|
-
begin: "\\(\\?#",
|
|
306
|
-
end: "(\\))",
|
|
307
|
-
beginCaptures: {
|
|
308
|
-
"0": {
|
|
309
|
-
name: "punctuation.comment.begin.regexp"
|
|
310
|
-
}
|
|
311
|
-
},
|
|
312
|
-
endCaptures: {
|
|
313
|
-
"1": {
|
|
314
|
-
name: "punctuation.comment.end.regexp"
|
|
315
|
-
},
|
|
316
|
-
"2": {
|
|
317
|
-
name: "invalid.illegal.newline.python"
|
|
318
|
-
}
|
|
319
|
-
},
|
|
320
|
-
patterns: [
|
|
321
|
-
{
|
|
322
|
-
include: "#codetags"
|
|
323
|
-
}
|
|
324
|
-
]
|
|
325
|
-
},
|
|
326
|
-
"regexp-lookahead": {
|
|
327
|
-
begin: "(\\()\\?=",
|
|
328
|
-
end: "(\\))",
|
|
329
|
-
beginCaptures: {
|
|
330
|
-
"0": {
|
|
331
|
-
name: "keyword.operator.lookahead.regexp"
|
|
332
|
-
},
|
|
333
|
-
"1": {
|
|
334
|
-
name: "punctuation.parenthesis.lookahead.begin.regexp"
|
|
335
|
-
}
|
|
336
|
-
},
|
|
337
|
-
endCaptures: {
|
|
338
|
-
"1": {
|
|
339
|
-
name: "keyword.operator.lookahead.regexp punctuation.parenthesis.lookahead.end.regexp"
|
|
340
|
-
},
|
|
341
|
-
"2": {
|
|
342
|
-
name: "invalid.illegal.newline.python"
|
|
343
|
-
}
|
|
344
|
-
},
|
|
345
|
-
patterns: [
|
|
346
|
-
{
|
|
347
|
-
include: "#regexp-expression"
|
|
348
|
-
}
|
|
349
|
-
]
|
|
350
|
-
},
|
|
351
|
-
"regexp-lookahead-negative": {
|
|
352
|
-
begin: "(\\()\\?!",
|
|
353
|
-
end: "(\\))",
|
|
354
|
-
beginCaptures: {
|
|
355
|
-
"0": {
|
|
356
|
-
name: "keyword.operator.lookahead.negative.regexp"
|
|
357
|
-
},
|
|
358
|
-
"1": {
|
|
359
|
-
name: "punctuation.parenthesis.lookahead.begin.regexp"
|
|
360
|
-
}
|
|
361
|
-
},
|
|
362
|
-
endCaptures: {
|
|
363
|
-
"1": {
|
|
364
|
-
name: "keyword.operator.lookahead.negative.regexp punctuation.parenthesis.lookahead.end.regexp"
|
|
365
|
-
},
|
|
366
|
-
"2": {
|
|
367
|
-
name: "invalid.illegal.newline.python"
|
|
368
|
-
}
|
|
369
|
-
},
|
|
370
|
-
patterns: [
|
|
371
|
-
{
|
|
372
|
-
include: "#regexp-expression"
|
|
373
|
-
}
|
|
374
|
-
]
|
|
375
|
-
},
|
|
376
|
-
"regexp-lookbehind": {
|
|
377
|
-
begin: "(\\()\\?<=",
|
|
378
|
-
end: "(\\))",
|
|
379
|
-
beginCaptures: {
|
|
380
|
-
"0": {
|
|
381
|
-
name: "keyword.operator.lookbehind.regexp"
|
|
382
|
-
},
|
|
383
|
-
"1": {
|
|
384
|
-
name: "punctuation.parenthesis.lookbehind.begin.regexp"
|
|
385
|
-
}
|
|
386
|
-
},
|
|
387
|
-
endCaptures: {
|
|
388
|
-
"1": {
|
|
389
|
-
name: "keyword.operator.lookbehind.regexp punctuation.parenthesis.lookbehind.end.regexp"
|
|
390
|
-
},
|
|
391
|
-
"2": {
|
|
392
|
-
name: "invalid.illegal.newline.python"
|
|
393
|
-
}
|
|
394
|
-
},
|
|
395
|
-
patterns: [
|
|
396
|
-
{
|
|
397
|
-
include: "#regexp-expression"
|
|
398
|
-
}
|
|
399
|
-
]
|
|
400
|
-
},
|
|
401
|
-
"regexp-lookbehind-negative": {
|
|
402
|
-
begin: "(\\()\\?<!",
|
|
403
|
-
end: "(\\))",
|
|
404
|
-
beginCaptures: {
|
|
405
|
-
"0": {
|
|
406
|
-
name: "keyword.operator.lookbehind.negative.regexp"
|
|
407
|
-
},
|
|
408
|
-
"1": {
|
|
409
|
-
name: "punctuation.parenthesis.lookbehind.begin.regexp"
|
|
410
|
-
}
|
|
411
|
-
},
|
|
412
|
-
endCaptures: {
|
|
413
|
-
"1": {
|
|
414
|
-
name: "keyword.operator.lookbehind.negative.regexp punctuation.parenthesis.lookbehind.end.regexp"
|
|
415
|
-
},
|
|
416
|
-
"2": {
|
|
417
|
-
name: "invalid.illegal.newline.python"
|
|
418
|
-
}
|
|
419
|
-
},
|
|
420
|
-
patterns: [
|
|
421
|
-
{
|
|
422
|
-
include: "#regexp-expression"
|
|
423
|
-
}
|
|
424
|
-
]
|
|
425
|
-
},
|
|
426
|
-
"regexp-conditional": {
|
|
427
|
-
begin: "(\\()\\?\\((\\w+(?:\\s+[[:alnum:]]+)?|\\d+)\\)",
|
|
428
|
-
end: "(\\))",
|
|
429
|
-
beginCaptures: {
|
|
430
|
-
"0": {
|
|
431
|
-
name: "keyword.operator.conditional.regexp"
|
|
432
|
-
},
|
|
433
|
-
"1": {
|
|
434
|
-
name: "punctuation.parenthesis.conditional.begin.regexp"
|
|
435
|
-
}
|
|
436
|
-
},
|
|
437
|
-
endCaptures: {
|
|
438
|
-
"1": {
|
|
439
|
-
name: "keyword.operator.conditional.negative.regexp punctuation.parenthesis.conditional.end.regexp"
|
|
440
|
-
},
|
|
441
|
-
"2": {
|
|
442
|
-
name: "invalid.illegal.newline.python"
|
|
443
|
-
}
|
|
444
|
-
},
|
|
445
|
-
patterns: [
|
|
446
|
-
{
|
|
447
|
-
include: "#regexp-expression"
|
|
448
|
-
}
|
|
449
|
-
]
|
|
450
|
-
},
|
|
451
|
-
"regexp-parentheses-non-capturing": {
|
|
452
|
-
begin: "\\(\\?:",
|
|
453
|
-
end: "(\\))",
|
|
454
|
-
beginCaptures: {
|
|
455
|
-
"0": {
|
|
456
|
-
name: "support.other.parenthesis.regexp punctuation.parenthesis.non-capturing.begin.regexp"
|
|
457
|
-
}
|
|
458
|
-
},
|
|
459
|
-
endCaptures: {
|
|
460
|
-
"1": {
|
|
461
|
-
name: "support.other.parenthesis.regexp punctuation.parenthesis.non-capturing.end.regexp"
|
|
462
|
-
},
|
|
463
|
-
"2": {
|
|
464
|
-
name: "invalid.illegal.newline.python"
|
|
465
|
-
}
|
|
466
|
-
},
|
|
467
|
-
patterns: [
|
|
468
|
-
{
|
|
469
|
-
include: "#regexp-expression"
|
|
470
|
-
}
|
|
471
|
-
]
|
|
472
|
-
},
|
|
473
|
-
"regexp-parentheses": {
|
|
474
|
-
begin: "\\(",
|
|
475
|
-
end: "(\\))",
|
|
476
|
-
beginCaptures: {
|
|
477
|
-
"0": {
|
|
478
|
-
name: "support.other.parenthesis.regexp punctuation.parenthesis.begin.regexp"
|
|
479
|
-
}
|
|
480
|
-
},
|
|
481
|
-
endCaptures: {
|
|
482
|
-
"1": {
|
|
483
|
-
name: "support.other.parenthesis.regexp punctuation.parenthesis.end.regexp"
|
|
484
|
-
},
|
|
485
|
-
"2": {
|
|
486
|
-
name: "invalid.illegal.newline.python"
|
|
487
|
-
}
|
|
488
|
-
},
|
|
489
|
-
patterns: [
|
|
490
|
-
{
|
|
491
|
-
include: "#regexp-expression"
|
|
492
|
-
}
|
|
493
|
-
]
|
|
494
|
-
}
|
|
495
|
-
};
|
|
496
|
-
var MagicRegExp_tmLanguage = {
|
|
497
|
-
information_for_contributors: information_for_contributors,
|
|
498
|
-
version: version,
|
|
499
|
-
name: name,
|
|
500
|
-
scopeName: scopeName,
|
|
501
|
-
patterns: patterns,
|
|
502
|
-
repository: repository
|
|
503
|
-
};
|
|
504
|
-
|
|
505
|
-
export { MagicRegExp_tmLanguage as default, information_for_contributors, name, patterns, repository, scopeName, version };
|
|
@@ -1,166 +0,0 @@
|
|
|
1
|
-
var fileTypes = [
|
|
2
|
-
];
|
|
3
|
-
var hideFromUser = true;
|
|
4
|
-
var name = "Regular Expressions (JavaScript)";
|
|
5
|
-
var patterns = [
|
|
6
|
-
{
|
|
7
|
-
include: "#regexp"
|
|
8
|
-
}
|
|
9
|
-
];
|
|
10
|
-
var repository = {
|
|
11
|
-
"regex-character-class": {
|
|
12
|
-
patterns: [
|
|
13
|
-
{
|
|
14
|
-
match: "\\\\[wWsSdD]|\\.",
|
|
15
|
-
name: "constant.character.character-class.regexp"
|
|
16
|
-
},
|
|
17
|
-
{
|
|
18
|
-
match: "\\\\([0-7]{3}|x\\h\\h|u\\h\\h\\h\\h)",
|
|
19
|
-
name: "constant.character.numeric.regexp"
|
|
20
|
-
},
|
|
21
|
-
{
|
|
22
|
-
match: "\\\\c[A-Z]",
|
|
23
|
-
name: "constant.character.control.regexp"
|
|
24
|
-
},
|
|
25
|
-
{
|
|
26
|
-
match: "\\\\.",
|
|
27
|
-
name: "constant.character.escape.backslash.regexp"
|
|
28
|
-
}
|
|
29
|
-
]
|
|
30
|
-
},
|
|
31
|
-
regexp: {
|
|
32
|
-
patterns: [
|
|
33
|
-
{
|
|
34
|
-
match: "\\\\[bB]|\\^|\\$",
|
|
35
|
-
name: "keyword.control.anchor.regexp"
|
|
36
|
-
},
|
|
37
|
-
{
|
|
38
|
-
match: "\\\\[1-9]\\d*",
|
|
39
|
-
name: "keyword.other.back-reference.regexp"
|
|
40
|
-
},
|
|
41
|
-
{
|
|
42
|
-
match: "[?+*]|\\{(\\d+,\\d+|\\d+,|,\\d+|\\d+)\\}\\??",
|
|
43
|
-
name: "keyword.operator.quantifier.regexp"
|
|
44
|
-
},
|
|
45
|
-
{
|
|
46
|
-
match: "\\|",
|
|
47
|
-
name: "keyword.operator.or.regexp"
|
|
48
|
-
},
|
|
49
|
-
{
|
|
50
|
-
begin: "(\\()((\\?=)|(\\?!))",
|
|
51
|
-
beginCaptures: {
|
|
52
|
-
"1": {
|
|
53
|
-
name: "punctuation.definition.group.regexp"
|
|
54
|
-
},
|
|
55
|
-
"3": {
|
|
56
|
-
name: "meta.assertion.look-ahead.regexp"
|
|
57
|
-
},
|
|
58
|
-
"4": {
|
|
59
|
-
name: "meta.assertion.negative-look-ahead.regexp"
|
|
60
|
-
}
|
|
61
|
-
},
|
|
62
|
-
end: "(\\))",
|
|
63
|
-
endCaptures: {
|
|
64
|
-
"1": {
|
|
65
|
-
name: "punctuation.definition.group.regexp"
|
|
66
|
-
}
|
|
67
|
-
},
|
|
68
|
-
name: "meta.group.assertion.regexp",
|
|
69
|
-
patterns: [
|
|
70
|
-
{
|
|
71
|
-
include: "#regexp"
|
|
72
|
-
}
|
|
73
|
-
]
|
|
74
|
-
},
|
|
75
|
-
{
|
|
76
|
-
begin: "\\((\\?:)?",
|
|
77
|
-
beginCaptures: {
|
|
78
|
-
"0": {
|
|
79
|
-
name: "punctuation.definition.group.regexp"
|
|
80
|
-
}
|
|
81
|
-
},
|
|
82
|
-
end: "\\)",
|
|
83
|
-
endCaptures: {
|
|
84
|
-
"0": {
|
|
85
|
-
name: "punctuation.definition.group.regexp"
|
|
86
|
-
}
|
|
87
|
-
},
|
|
88
|
-
name: "meta.group.regexp",
|
|
89
|
-
patterns: [
|
|
90
|
-
{
|
|
91
|
-
include: "#regexp"
|
|
92
|
-
}
|
|
93
|
-
]
|
|
94
|
-
},
|
|
95
|
-
{
|
|
96
|
-
begin: "(\\[)(\\^)?",
|
|
97
|
-
beginCaptures: {
|
|
98
|
-
"1": {
|
|
99
|
-
name: "punctuation.definition.character-class.regexp"
|
|
100
|
-
},
|
|
101
|
-
"2": {
|
|
102
|
-
name: "keyword.operator.negation.regexp"
|
|
103
|
-
}
|
|
104
|
-
},
|
|
105
|
-
end: "(\\])",
|
|
106
|
-
endCaptures: {
|
|
107
|
-
"1": {
|
|
108
|
-
name: "punctuation.definition.character-class.regexp"
|
|
109
|
-
}
|
|
110
|
-
},
|
|
111
|
-
name: "constant.other.character-class.set.regexp",
|
|
112
|
-
patterns: [
|
|
113
|
-
{
|
|
114
|
-
captures: {
|
|
115
|
-
"1": {
|
|
116
|
-
name: "constant.character.numeric.regexp"
|
|
117
|
-
},
|
|
118
|
-
"2": {
|
|
119
|
-
name: "constant.character.control.regexp"
|
|
120
|
-
},
|
|
121
|
-
"3": {
|
|
122
|
-
name: "constant.character.escape.backslash.regexp"
|
|
123
|
-
},
|
|
124
|
-
"4": {
|
|
125
|
-
name: "constant.character.numeric.regexp"
|
|
126
|
-
},
|
|
127
|
-
"5": {
|
|
128
|
-
name: "constant.character.control.regexp"
|
|
129
|
-
},
|
|
130
|
-
"6": {
|
|
131
|
-
name: "constant.character.escape.backslash.regexp"
|
|
132
|
-
}
|
|
133
|
-
},
|
|
134
|
-
match: "(?:.|(\\\\(?:[0-7]{3}|x\\h\\h|u\\h\\h\\h\\h))|(\\\\c[A-Z])|(\\\\.))\\-(?:[^\\]\\\\]|(\\\\(?:[0-7]{3}|x\\h\\h|u\\h\\h\\h\\h))|(\\\\c[A-Z])|(\\\\.))",
|
|
135
|
-
name: "constant.other.character-class.range.regexp"
|
|
136
|
-
},
|
|
137
|
-
{
|
|
138
|
-
include: "#regex-character-class"
|
|
139
|
-
}
|
|
140
|
-
]
|
|
141
|
-
},
|
|
142
|
-
{
|
|
143
|
-
include: "#regex-character-class"
|
|
144
|
-
}
|
|
145
|
-
]
|
|
146
|
-
}
|
|
147
|
-
};
|
|
148
|
-
var scopeName = "source.js.regexp";
|
|
149
|
-
var uuid = "AC8679DE-3AC7-4056-84F9-69A7ADC29DDD";
|
|
150
|
-
var information_for_contributors = [
|
|
151
|
-
"This file has been converted from https://github.com/microsoft/vscode/blob/master/extensions/javascript/",
|
|
152
|
-
"If you want to provide a fix or improvement, please create a pull request against the original repository.",
|
|
153
|
-
"Once accepted there, we are happy to receive an update request."
|
|
154
|
-
];
|
|
155
|
-
var Regular_Expressions__JavaScript__tmLanguage = {
|
|
156
|
-
fileTypes: fileTypes,
|
|
157
|
-
hideFromUser: hideFromUser,
|
|
158
|
-
name: name,
|
|
159
|
-
patterns: patterns,
|
|
160
|
-
repository: repository,
|
|
161
|
-
scopeName: scopeName,
|
|
162
|
-
uuid: uuid,
|
|
163
|
-
information_for_contributors: information_for_contributors
|
|
164
|
-
};
|
|
165
|
-
|
|
166
|
-
export { Regular_Expressions__JavaScript__tmLanguage as default, fileTypes, hideFromUser, information_for_contributors, name, patterns, repository, scopeName, uuid };
|