@codingame/monaco-editor-wrapper 1.1.5 → 1.4.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/Groovy2.js +28 -0
- package/dist/JavaScript.tmLanguage.js +22 -1
- package/dist/JavaScriptReact.tmLanguage.js +5915 -0
- package/dist/TypeScript.tmLanguage.js +22 -1
- package/dist/TypeScriptReact.tmLanguage.js +5915 -0
- package/dist/angular.js +56 -0
- package/dist/aspnetcorerazor.tmLanguage.js +65 -83
- package/dist/clojure.tmLanguage.js +11 -15
- package/dist/cobol2.js +80 -0
- package/dist/cpptools.js +2311 -0
- package/dist/csharp.tmLanguage.js +5 -5
- package/dist/css.worker.js +1 -1
- package/dist/d2.js +92 -98
- package/dist/d3.js +526 -0
- package/dist/dart3.js +966 -0
- package/dist/elixir3.js +40 -0
- package/dist/erlang2.js +92 -0
- package/dist/{cssContribution.js → features/cssContribution.js} +2 -2
- package/dist/features/extensionConfigurations.d.ts +1 -0
- package/dist/features/extensionConfigurations.js +142 -0
- package/dist/{htmlContribution.js → features/htmlContribution.js} +2 -2
- package/dist/{jsonContribution.js → features/jsonContribution.js} +3 -3
- package/dist/features/mutualizedExtensionConfigurations.d.ts +1 -0
- package/dist/features/mutualizedExtensionConfigurations.js +4857 -0
- package/dist/features/typescriptContribution.d.ts +4 -0
- package/dist/{typescriptContribution.js → features/typescriptContribution.js} +31 -3
- package/dist/fsharp.tmLanguage.js +10 -1
- package/dist/haskell2.js +16 -0
- package/dist/html.tmLanguage2.js +11 -1
- package/dist/html.worker.js +1 -1
- package/dist/java2.js +704 -0
- package/dist/json.worker.js +1 -1
- package/dist/jvm-bytecode-verbose.js +1231 -0
- package/dist/jvm-bytecode.js +565 -0
- package/dist/languages/extensions/configurationLoader.d.ts +20 -2
- package/dist/languages/extensions/extensionConfigurationLoader.d.ts +3 -0
- package/dist/languages/extensions/grammarLoader.d.ts +2 -92921
- package/dist/languages/extensions/languageConfigurationLoader.d.ts +3 -0
- package/dist/languages/extensions/snippetLoader.d.ts +3 -5618
- package/dist/lua.tmLanguage.js +12 -2
- package/dist/lua2.js +1511 -0
- package/dist/main.js +273 -122
- package/dist/markdown.tmLanguage.js +91 -14
- package/dist/ocaml3.js +145 -0
- package/dist/omnisharp.js +522 -0
- package/dist/pascal.tmLanguage.js +2 -2
- package/dist/pascal2.js +26 -0
- package/dist/php.tmLanguage.js +161 -96
- package/dist/postgresql.js +75 -0
- package/dist/r2.js +17 -29
- package/dist/rmd.js +8 -1
- package/dist/scalameta.js +177 -0
- package/dist/sql.js +96 -2
- package/dist/sql.tmLanguage.js +532 -0
- package/dist/tasty.js +72 -0
- package/dist/ts.worker.js +1 -1
- package/dist/typescript-language-features.js +998 -0
- package/dist/verilog2.js +94 -0
- package/dist/vscode-R.js +513 -0
- package/dist/vscode-groovy.js +28 -0
- package/dist/vscode-python.js +677 -0
- package/dist/worker.js +1 -1
- package/package.json +12 -11
- package/stats.html +205 -795
- package/dist/SQL.plist.js +0 -482
- package/dist/extensionConfigurations.js +0 -9475
- package/dist/html (eex).js +0 -31
- package/dist/pgsql-sql.js +0 -21
- package/dist/r.tmLanguage.js +0 -551
package/dist/php.tmLanguage.js
CHANGED
|
@@ -3,7 +3,7 @@ var information_for_contributors = [
|
|
|
3
3
|
"If you want to provide a fix or improvement, please create a pull request against the original repository.",
|
|
4
4
|
"Once accepted there, we are happy to receive an update request."
|
|
5
5
|
];
|
|
6
|
-
var version = "https://github.com/atom/language-php/commit/
|
|
6
|
+
var version = "https://github.com/atom/language-php/commit/ff64523c94c014d68f5dec189b05557649c5872a";
|
|
7
7
|
var scopeName = "source.php";
|
|
8
8
|
var patterns = [
|
|
9
9
|
{
|
|
@@ -13,7 +13,7 @@ var patterns = [
|
|
|
13
13
|
include: "#comments"
|
|
14
14
|
},
|
|
15
15
|
{
|
|
16
|
-
begin: "(?i)^\\s*(interface)\\s+([a-z_\\x{7f}-\\x{
|
|
16
|
+
begin: "(?i)^\\s*(interface)\\s+([a-z_\\x{7f}-\\x{10ffff}][a-z0-9_\\x{7f}-\\x{10ffff}]*)\\s*(extends)?\\s*",
|
|
17
17
|
beginCaptures: {
|
|
18
18
|
"1": {
|
|
19
19
|
name: "storage.type.interface.php"
|
|
@@ -25,12 +25,12 @@ var patterns = [
|
|
|
25
25
|
name: "storage.modifier.extends.php"
|
|
26
26
|
}
|
|
27
27
|
},
|
|
28
|
-
end: "(?i)((?:[a-z_\\x{7f}-\\x{
|
|
28
|
+
end: "(?i)((?:[a-z_\\x{7f}-\\x{10ffff}][a-z0-9_\\x{7f}-\\x{10ffff}]*\\s*,\\s*)*)([a-z_\\x{7f}-\\x{10ffff}][a-z0-9_\\x{7f}-\\x{10ffff}]*)?\\s*(?:(?={)|$)",
|
|
29
29
|
endCaptures: {
|
|
30
30
|
"1": {
|
|
31
31
|
patterns: [
|
|
32
32
|
{
|
|
33
|
-
match: "(?i)[a-z_\\x{7f}-\\x{
|
|
33
|
+
match: "(?i)[a-z_\\x{7f}-\\x{10ffff}][a-z0-9_\\x{7f}-\\x{10ffff}]*",
|
|
34
34
|
name: "entity.other.inherited-class.php"
|
|
35
35
|
},
|
|
36
36
|
{
|
|
@@ -51,7 +51,7 @@ var patterns = [
|
|
|
51
51
|
]
|
|
52
52
|
},
|
|
53
53
|
{
|
|
54
|
-
begin: "(?i)^\\s*(trait)\\s+([a-z_\\x{7f}-\\x{
|
|
54
|
+
begin: "(?i)^\\s*(trait)\\s+([a-z_\\x{7f}-\\x{10ffff}][a-z0-9_\\x{7f}-\\x{10ffff}]*)",
|
|
55
55
|
beginCaptures: {
|
|
56
56
|
"1": {
|
|
57
57
|
name: "storage.type.trait.php"
|
|
@@ -69,7 +69,7 @@ var patterns = [
|
|
|
69
69
|
]
|
|
70
70
|
},
|
|
71
71
|
{
|
|
72
|
-
match: "(?i)(?:^|(?<=<\\?php))\\s*(namespace)\\s+([a-z0-9_\\x{7f}-\\x{
|
|
72
|
+
match: "(?i)(?:^|(?<=<\\?php))\\s*(namespace)\\s+([a-z0-9_\\x{7f}-\\x{10ffff}\\\\]+)(?=\\s*;)",
|
|
73
73
|
name: "meta.namespace.php",
|
|
74
74
|
captures: {
|
|
75
75
|
"1": {
|
|
@@ -100,7 +100,7 @@ var patterns = [
|
|
|
100
100
|
include: "#comments"
|
|
101
101
|
},
|
|
102
102
|
{
|
|
103
|
-
match: "(?i)[a-z0-9_\\x{7f}-\\x{
|
|
103
|
+
match: "(?i)[a-z0-9_\\x{7f}-\\x{10ffff}\\\\]+",
|
|
104
104
|
name: "entity.name.type.namespace.php",
|
|
105
105
|
captures: {
|
|
106
106
|
"0": {
|
|
@@ -173,7 +173,7 @@ var patterns = [
|
|
|
173
173
|
include: "#scope-resolution"
|
|
174
174
|
},
|
|
175
175
|
{
|
|
176
|
-
match: "(?xi)\n\\b(as)\n\\s+(final|abstract|public|private|protected|static)\n\\s+([a-z_\\x{7f}-\\x{
|
|
176
|
+
match: "(?xi)\n\\b(as)\n\\s+(final|abstract|public|private|protected|static)\n\\s+([a-z_\\x{7f}-\\x{10ffff}][a-z0-9_\\x{7f}-\\x{10ffff}]*)",
|
|
177
177
|
captures: {
|
|
178
178
|
"1": {
|
|
179
179
|
name: "keyword.other.use-as.php"
|
|
@@ -187,7 +187,7 @@ var patterns = [
|
|
|
187
187
|
}
|
|
188
188
|
},
|
|
189
189
|
{
|
|
190
|
-
match: "(?xi)\n\\b(as)\n\\s+([a-z_\\x{7f}-\\x{
|
|
190
|
+
match: "(?xi)\n\\b(as)\n\\s+([a-z_\\x{7f}-\\x{10ffff}][a-z0-9_\\x{7f}-\\x{10ffff}]*)",
|
|
191
191
|
captures: {
|
|
192
192
|
"1": {
|
|
193
193
|
name: "keyword.other.use-as.php"
|
|
@@ -207,7 +207,7 @@ var patterns = [
|
|
|
207
207
|
}
|
|
208
208
|
},
|
|
209
209
|
{
|
|
210
|
-
match: "(?i)\\b(insteadof)\\s+([a-z_\\x{7f}-\\x{
|
|
210
|
+
match: "(?i)\\b(insteadof)\\s+([a-z_\\x{7f}-\\x{10ffff}][a-z0-9_\\x{7f}-\\x{10ffff}]*)",
|
|
211
211
|
captures: {
|
|
212
212
|
"1": {
|
|
213
213
|
name: "keyword.other.use-insteadof.php"
|
|
@@ -232,7 +232,7 @@ var patterns = [
|
|
|
232
232
|
]
|
|
233
233
|
},
|
|
234
234
|
{
|
|
235
|
-
begin: "(?ix)\n(?:\n \\b(?:(abstract|final)\\s+)?(class)\\s+([a-z_\\x{7f}-\\x{
|
|
235
|
+
begin: "(?ix)\n(?:\n \\b(?:(abstract|final)\\s+)?(class)\\s+([a-z_\\x{7f}-\\x{10ffff}][a-z0-9_\\x{7f}-\\x{10ffff}]*)\n |\\b(new)\\b\\s*(\\#\\[.*\\])?\\s*\\b(class)\\b # anonymous class\n)",
|
|
236
236
|
beginCaptures: {
|
|
237
237
|
"1": {
|
|
238
238
|
name: "storage.modifier.${1:/downcase}.php"
|
|
@@ -276,11 +276,11 @@ var patterns = [
|
|
|
276
276
|
}
|
|
277
277
|
},
|
|
278
278
|
contentName: "meta.other.inherited-class.php",
|
|
279
|
-
end: "(?i)(?=[^a-z0-9_\\x{7f}-\\x{
|
|
279
|
+
end: "(?i)(?=[^a-z0-9_\\x{7f}-\\x{10ffff}\\\\])",
|
|
280
280
|
patterns: [
|
|
281
281
|
{
|
|
282
|
-
begin: "(?i)(?=\\\\?[a-z_\\x{7f}-\\x{
|
|
283
|
-
end: "(?i)([a-z_\\x{7f}-\\x{
|
|
282
|
+
begin: "(?i)(?=\\\\?[a-z_\\x{7f}-\\x{10ffff}][a-z0-9_\\x{7f}-\\x{10ffff}]*\\\\)",
|
|
283
|
+
end: "(?i)([a-z_\\x{7f}-\\x{10ffff}][a-z0-9_\\x{7f}-\\x{10ffff}]*)?(?=[^a-z0-9_\\x{7f}-\\x{10ffff}\\\\])",
|
|
284
284
|
endCaptures: {
|
|
285
285
|
"1": {
|
|
286
286
|
name: "entity.other.inherited-class.php"
|
|
@@ -299,7 +299,7 @@ var patterns = [
|
|
|
299
299
|
include: "#namespace"
|
|
300
300
|
},
|
|
301
301
|
{
|
|
302
|
-
match: "(?i)[a-z_\\x{7f}-\\x{
|
|
302
|
+
match: "(?i)[a-z_\\x{7f}-\\x{10ffff}][a-z0-9_\\x{7f}-\\x{10ffff}]*",
|
|
303
303
|
name: "entity.other.inherited-class.php"
|
|
304
304
|
}
|
|
305
305
|
]
|
|
@@ -317,13 +317,13 @@ var patterns = [
|
|
|
317
317
|
include: "#comments"
|
|
318
318
|
},
|
|
319
319
|
{
|
|
320
|
-
begin: "(?i)(?=[a-z0-9_\\x{7f}-\\x{
|
|
320
|
+
begin: "(?i)(?=[a-z0-9_\\x{7f}-\\x{10ffff}\\\\]+)",
|
|
321
321
|
contentName: "meta.other.inherited-class.php",
|
|
322
|
-
end: "(?i)(?:\\s*(?:,|(?=[^a-z0-9_\\x{7f}-\\x{
|
|
322
|
+
end: "(?i)(?:\\s*(?:,|(?=[^a-z0-9_\\x{7f}-\\x{10ffff}\\\\\\s]))\\s*)",
|
|
323
323
|
patterns: [
|
|
324
324
|
{
|
|
325
|
-
begin: "(?i)(?=\\\\?[a-z_\\x{7f}-\\x{
|
|
326
|
-
end: "(?i)([a-z_\\x{7f}-\\x{
|
|
325
|
+
begin: "(?i)(?=\\\\?[a-z_\\x{7f}-\\x{10ffff}][a-z0-9_\\x{7f}-\\x{10ffff}]*\\\\)",
|
|
326
|
+
end: "(?i)([a-z_\\x{7f}-\\x{10ffff}][a-z0-9_\\x{7f}-\\x{10ffff}]*)?(?=[^a-z0-9_\\x{7f}-\\x{10ffff}\\\\])",
|
|
327
327
|
endCaptures: {
|
|
328
328
|
"1": {
|
|
329
329
|
name: "entity.other.inherited-class.php"
|
|
@@ -342,7 +342,7 @@ var patterns = [
|
|
|
342
342
|
include: "#namespace"
|
|
343
343
|
},
|
|
344
344
|
{
|
|
345
|
-
match: "(?i)[a-z_\\x{7f}-\\x{
|
|
345
|
+
match: "(?i)[a-z_\\x{7f}-\\x{10ffff}][a-z0-9_\\x{7f}-\\x{10ffff}]*",
|
|
346
346
|
name: "entity.other.inherited-class.php"
|
|
347
347
|
}
|
|
348
348
|
]
|
|
@@ -422,7 +422,7 @@ var patterns = [
|
|
|
422
422
|
name: "meta.catch.php",
|
|
423
423
|
patterns: [
|
|
424
424
|
{
|
|
425
|
-
match: "(?xi)\n([a-z0-9_\\x{7f}-\\x{
|
|
425
|
+
match: "(?xi)\n([a-z0-9_\\x{7f}-\\x{10ffff}\\\\]+ (?: \\s*\\|\\s* [a-z0-9_\\x{7f}-\\x{10ffff}\\\\]+)*) # union or single exception class\n\\s*\n((\\$+)[a-z_\\x{7f}-\\x{10ffff}][a-z0-9_\\x{7f}-\\x{10ffff}]*)? # Variable",
|
|
426
426
|
captures: {
|
|
427
427
|
"1": {
|
|
428
428
|
patterns: [
|
|
@@ -431,8 +431,8 @@ var patterns = [
|
|
|
431
431
|
name: "punctuation.separator.delimiter.php"
|
|
432
432
|
},
|
|
433
433
|
{
|
|
434
|
-
begin: "(?i)(?=[\\\\a-z_\\x{7f}-\\x{
|
|
435
|
-
end: "(?xi)\n( [a-z_\\x{7f}-\\x{
|
|
434
|
+
begin: "(?i)(?=[\\\\a-z_\\x{7f}-\\x{10ffff}])",
|
|
435
|
+
end: "(?xi)\n( [a-z_\\x{7f}-\\x{10ffff}] [a-z0-9_\\x{7f}-\\x{10ffff}]* )\n(?![a-z0-9_\\x{7f}-\\x{10ffff}\\\\])",
|
|
436
436
|
endCaptures: {
|
|
437
437
|
"1": {
|
|
438
438
|
name: "support.class.exception.php"
|
|
@@ -530,12 +530,12 @@ var patterns = [
|
|
|
530
530
|
name: "punctuation.definition.variable.php"
|
|
531
531
|
}
|
|
532
532
|
},
|
|
533
|
-
match: "(?i)((?:(&)\\s*)?(\\$+)[a-z_\\x{7f}-\\x{
|
|
533
|
+
match: "(?i)((?:(&)\\s*)?(\\$+)[a-z_\\x{7f}-\\x{10ffff}][a-z0-9_\\x{7f}-\\x{10ffff}]*)\\s*(?=,|\\))"
|
|
534
534
|
}
|
|
535
535
|
]
|
|
536
536
|
},
|
|
537
537
|
{
|
|
538
|
-
match: "(?xi)\n(:)\\s*\n(\n (?:\\?\\s*)? [a-z0-9_\\x{7f}-\\x{
|
|
538
|
+
match: "(?xi)\n(:)\\s*\n(\n (?:\\?\\s*)? [a-z0-9_\\x{7f}-\\x{10ffff}\\\\]+ | # nullable type\n [a-z0-9_\\x{7f}-\\x{10ffff}\\\\]+ (?: \\s*[|&]\\s* [a-z0-9_\\x{7f}-\\x{10ffff}\\\\]+)+ # union type\n)\n(?=\\s*(?:{|/[/*]|\\#|$))",
|
|
539
539
|
captures: {
|
|
540
540
|
"1": {
|
|
541
541
|
name: "keyword.operator.return-value.php"
|
|
@@ -590,7 +590,7 @@ var patterns = [
|
|
|
590
590
|
]
|
|
591
591
|
},
|
|
592
592
|
{
|
|
593
|
-
match: "(?xi)\n(:)\\s*\n(\n (?:\\?\\s*)? [a-z0-9_\\x{7f}-\\x{
|
|
593
|
+
match: "(?xi)\n(:)\\s*\n(\n (?:\\?\\s*)? [a-z0-9_\\x{7f}-\\x{10ffff}\\\\]+ | # nullable type\n [a-z0-9_\\x{7f}-\\x{10ffff}\\\\]+ (?: \\s*[|&]\\s* [a-z0-9_\\x{7f}-\\x{10ffff}\\\\]+)+ # union type\n)\n(?=\\s*(?:=>|/[/*]|\\#|$))",
|
|
594
594
|
captures: {
|
|
595
595
|
"1": {
|
|
596
596
|
name: "keyword.operator.return-value.php"
|
|
@@ -628,7 +628,7 @@ var patterns = [
|
|
|
628
628
|
}
|
|
629
629
|
},
|
|
630
630
|
contentName: "meta.function.parameters.php",
|
|
631
|
-
end: "(?xi)\n(\\)) \\s* ( : \\s*\n (?:\\?\\s*)? (?!\\s) [a-z0-9_\\x{7f}-\\x{
|
|
631
|
+
end: "(?xi)\n(\\)) \\s* ( : \\s*\n (?:\\?\\s*)? (?!\\s) [a-z0-9_\\x{7f}-\\x{10ffff}\\\\\\s\\|&]+ (?<!\\s)\n)?\n(?=\\s*(?:{|/[/*]|\\#|$|;))",
|
|
632
632
|
endCaptures: {
|
|
633
633
|
"1": {
|
|
634
634
|
name: "punctuation.definition.parameters.end.bracket.round.php"
|
|
@@ -647,7 +647,7 @@ var patterns = [
|
|
|
647
647
|
name: "punctuation.separator.delimiter.php"
|
|
648
648
|
},
|
|
649
649
|
{
|
|
650
|
-
begin: "(?xi)\n((?:(?:public|private|protected|readonly)(?:\\s+|(?=\\?)))++)\n(?: (\n (?:\\?\\s*)? [a-z0-9_\\x{7f}-\\x{
|
|
650
|
+
begin: "(?xi)\n((?:(?:public|private|protected|readonly)(?:\\s+|(?=\\?)))++)\n(?: (\n (?:\\?\\s*)? [a-z0-9_\\x{7f}-\\x{10ffff}\\\\]+ | # nullable type\n [a-z0-9_\\x{7f}-\\x{10ffff}\\\\]+ (?: \\s*[|&]\\s* [a-z0-9_\\x{7f}-\\x{10ffff}\\\\]+)+ # union type\n) \\s+ )?\n((?:(&)\\s*)?(\\$)[a-z_\\x{7f}-\\x{10ffff}][a-z0-9_\\x{7f}-\\x{10ffff}]*) # Variable name with possible reference",
|
|
651
651
|
beginCaptures: {
|
|
652
652
|
"1": {
|
|
653
653
|
patterns: [
|
|
@@ -699,7 +699,7 @@ var patterns = [
|
|
|
699
699
|
]
|
|
700
700
|
},
|
|
701
701
|
{
|
|
702
|
-
begin: "(?x)\n((?:(?:final|abstract|public|private|protected|static)\\s+)*)\n(function)\\s+\n(?i:\n (__(?:call|construct|debugInfo|destruct|get|set|isset|unset|toString|\n clone|set_state|sleep|wakeup|autoload|invoke|callStatic|serialize|unserialize))\n |(?:(&)?\\s*([a-zA-Z_\\x{7f}-\\x{
|
|
702
|
+
begin: "(?x)\n((?:(?:final|abstract|public|private|protected|static)\\s+)*)\n(function)\\s+\n(?i:\n (__(?:call|construct|debugInfo|destruct|get|set|isset|unset|toString|\n clone|set_state|sleep|wakeup|autoload|invoke|callStatic|serialize|unserialize))\n |(?:(&)?\\s*([a-zA-Z_\\x{7f}-\\x{10ffff}][a-zA-Z0-9_\\x{7f}-\\x{10ffff}]*))\n)\n\\s*(\\()",
|
|
703
703
|
beginCaptures: {
|
|
704
704
|
"1": {
|
|
705
705
|
patterns: [
|
|
@@ -726,7 +726,7 @@ var patterns = [
|
|
|
726
726
|
}
|
|
727
727
|
},
|
|
728
728
|
contentName: "meta.function.parameters.php",
|
|
729
|
-
end: "(?xi)\n(\\)) (?: \\s* (:) \\s* (\n (?:\\?\\s*)? [a-z0-9_\\x{7f}-\\x{
|
|
729
|
+
end: "(?xi)\n(\\)) (?: \\s* (:) \\s* (\n (?:\\?\\s*)? [a-z0-9_\\x{7f}-\\x{10ffff}\\\\]+ | # nullable type\n [a-z0-9_\\x{7f}-\\x{10ffff}\\\\]+ (?: \\s*[|&]\\s* [a-z0-9_\\x{7f}-\\x{10ffff}\\\\]+)+ # union type\n) )?\n(?=\\s*(?:{|/[/*]|\\#|$|;))",
|
|
730
730
|
endCaptures: {
|
|
731
731
|
"1": {
|
|
732
732
|
name: "punctuation.definition.parameters.end.bracket.round.php"
|
|
@@ -741,8 +741,8 @@ var patterns = [
|
|
|
741
741
|
name: "storage.type.php"
|
|
742
742
|
},
|
|
743
743
|
{
|
|
744
|
-
match: "\\b(
|
|
745
|
-
name: "keyword.other.type.
|
|
744
|
+
match: "\\b(never)\\b",
|
|
745
|
+
name: "keyword.other.type.never.php"
|
|
746
746
|
},
|
|
747
747
|
{
|
|
748
748
|
include: "#php-types"
|
|
@@ -758,7 +758,7 @@ var patterns = [
|
|
|
758
758
|
]
|
|
759
759
|
},
|
|
760
760
|
{
|
|
761
|
-
match: "(?xi)\n((?:(?:public|private|protected|static|readonly)(?:\\s+|(?=\\?)))++) # At least one modifier\n(\n (?:\\?\\s*)? [a-z0-9_\\x{7f}-\\x{
|
|
761
|
+
match: "(?xi)\n((?:(?:public|private|protected|static|readonly)(?:\\s+|(?=\\?)))++) # At least one modifier\n(\n (?:\\?\\s*)? [a-z0-9_\\x{7f}-\\x{10ffff}\\\\]+ | # nullable type\n [a-z0-9_\\x{7f}-\\x{10ffff}\\\\]+ (?: \\s*[|&]\\s* [a-z0-9_\\x{7f}-\\x{10ffff}\\\\]+)+ # union type\n)?\n\\s+ ((\\$)[a-z_\\x{7f}-\\x{10ffff}][a-z0-9_\\x{7f}-\\x{10ffff}]*) # Variable name",
|
|
762
762
|
captures: {
|
|
763
763
|
"1": {
|
|
764
764
|
patterns: [
|
|
@@ -944,7 +944,7 @@ var patterns = [
|
|
|
944
944
|
name: "keyword.operator.type.php"
|
|
945
945
|
}
|
|
946
946
|
},
|
|
947
|
-
end: "(?i)(?=[^\\\\$a-z0-9_\\x{7f}-\\x{
|
|
947
|
+
end: "(?i)(?=[^\\\\$a-z0-9_\\x{7f}-\\x{10ffff}])",
|
|
948
948
|
patterns: [
|
|
949
949
|
{
|
|
950
950
|
include: "#class-name"
|
|
@@ -966,7 +966,7 @@ var patterns = [
|
|
|
966
966
|
name: "support.other.php"
|
|
967
967
|
}
|
|
968
968
|
},
|
|
969
|
-
match: "(?i)(goto)\\s+([a-z_\\x{7f}-\\x{
|
|
969
|
+
match: "(?i)(goto)\\s+([a-z_\\x{7f}-\\x{10ffff}][a-z0-9_\\x{7f}-\\x{10ffff}]*)"
|
|
970
970
|
},
|
|
971
971
|
{
|
|
972
972
|
captures: {
|
|
@@ -974,7 +974,7 @@ var patterns = [
|
|
|
974
974
|
name: "entity.name.goto-label.php"
|
|
975
975
|
}
|
|
976
976
|
},
|
|
977
|
-
match: "(?i)^\\s*([a-z_\\x{7f}-\\x{
|
|
977
|
+
match: "(?i)^\\s*([a-z_\\x{7f}-\\x{10ffff}][a-z0-9_\\x{7f}-\\x{10ffff}]*)\\s*:(?!:)"
|
|
978
978
|
},
|
|
979
979
|
{
|
|
980
980
|
include: "#string-backtick"
|
|
@@ -1057,8 +1057,8 @@ var repository = {
|
|
|
1057
1057
|
"attribute-name": {
|
|
1058
1058
|
patterns: [
|
|
1059
1059
|
{
|
|
1060
|
-
begin: "(?i)(?=\\\\?[a-z_\\x{7f}-\\x{
|
|
1061
|
-
end: "(?xi)\n( [a-z_\\x{7f}-\\x{
|
|
1060
|
+
begin: "(?i)(?=\\\\?[a-z_\\x{7f}-\\x{10ffff}][a-z0-9_\\x{7f}-\\x{10ffff}]*\\\\)",
|
|
1061
|
+
end: "(?xi)\n( [a-z_\\x{7f}-\\x{10ffff}] [a-z0-9_\\x{7f}-\\x{10ffff}]* )?\n(?![a-z0-9_\\x{7f}-\\x{10ffff}\\\\])",
|
|
1062
1062
|
endCaptures: {
|
|
1063
1063
|
"1": {
|
|
1064
1064
|
name: "support.attribute.php"
|
|
@@ -1080,8 +1080,8 @@ var repository = {
|
|
|
1080
1080
|
}
|
|
1081
1081
|
},
|
|
1082
1082
|
{
|
|
1083
|
-
begin: "(?i)(?=[\\\\a-z_\\x{7f}-\\x{
|
|
1084
|
-
end: "(?xi)\n( [a-z_\\x{7f}-\\x{
|
|
1083
|
+
begin: "(?i)(?=[\\\\a-z_\\x{7f}-\\x{10ffff}])",
|
|
1084
|
+
end: "(?xi)\n( [a-z_\\x{7f}-\\x{10ffff}] [a-z0-9_\\x{7f}-\\x{10ffff}]* )?\n(?![a-z0-9_\\x{7f}-\\x{10ffff}\\\\])",
|
|
1085
1085
|
endCaptures: {
|
|
1086
1086
|
"1": {
|
|
1087
1087
|
name: "support.attribute.php"
|
|
@@ -1105,7 +1105,7 @@ var repository = {
|
|
|
1105
1105
|
name: "punctuation.separator.delimiter.php"
|
|
1106
1106
|
},
|
|
1107
1107
|
{
|
|
1108
|
-
begin: "([a-zA-Z0-9_\\x{7f}-\\x{
|
|
1108
|
+
begin: "([a-zA-Z0-9_\\x{7f}-\\x{10ffff}\\\\]+)\\s*(\\()",
|
|
1109
1109
|
beginCaptures: {
|
|
1110
1110
|
"1": {
|
|
1111
1111
|
patterns: [
|
|
@@ -1154,8 +1154,8 @@ var repository = {
|
|
|
1154
1154
|
"class-name": {
|
|
1155
1155
|
patterns: [
|
|
1156
1156
|
{
|
|
1157
|
-
begin: "(?i)(?=\\\\?[a-z_\\x{7f}-\\x{
|
|
1158
|
-
end: "(?xi)\n( [a-z_\\x{7f}-\\x{
|
|
1157
|
+
begin: "(?i)(?=\\\\?[a-z_\\x{7f}-\\x{10ffff}][a-z0-9_\\x{7f}-\\x{10ffff}]*\\\\)",
|
|
1158
|
+
end: "(?xi)\n( [a-z_\\x{7f}-\\x{10ffff}] [a-z0-9_\\x{7f}-\\x{10ffff}]* )?\n(?![a-z0-9_\\x{7f}-\\x{10ffff}\\\\])",
|
|
1159
1159
|
endCaptures: {
|
|
1160
1160
|
"1": {
|
|
1161
1161
|
name: "support.class.php"
|
|
@@ -1171,8 +1171,8 @@ var repository = {
|
|
|
1171
1171
|
include: "#class-builtin"
|
|
1172
1172
|
},
|
|
1173
1173
|
{
|
|
1174
|
-
begin: "(?i)(?=[\\\\a-z_\\x{7f}-\\x{
|
|
1175
|
-
end: "(?xi)\n( [a-z_\\x{7f}-\\x{
|
|
1174
|
+
begin: "(?i)(?=[\\\\a-z_\\x{7f}-\\x{10ffff}])",
|
|
1175
|
+
end: "(?xi)\n( [a-z_\\x{7f}-\\x{10ffff}] [a-z0-9_\\x{7f}-\\x{10ffff}]* )?\n(?![a-z0-9_\\x{7f}-\\x{10ffff}\\\\])",
|
|
1176
1176
|
endCaptures: {
|
|
1177
1177
|
"1": {
|
|
1178
1178
|
name: "support.class.php"
|
|
@@ -1305,7 +1305,7 @@ var repository = {
|
|
|
1305
1305
|
}
|
|
1306
1306
|
},
|
|
1307
1307
|
{
|
|
1308
|
-
match: "(?i)[a-z_\\x{7f}-\\x{
|
|
1308
|
+
match: "(?i)[a-z_\\x{7f}-\\x{10ffff}][a-z0-9_\\x{7f}-\\x{10ffff}]*",
|
|
1309
1309
|
name: "constant.other.php"
|
|
1310
1310
|
}
|
|
1311
1311
|
]
|
|
@@ -1323,7 +1323,7 @@ var repository = {
|
|
|
1323
1323
|
name: "punctuation.separator.delimiter.php"
|
|
1324
1324
|
},
|
|
1325
1325
|
{
|
|
1326
|
-
match: "(?xi)\n(?: (\n (?:\\?\\s*)? [a-z0-9_\\x{7f}-\\x{
|
|
1326
|
+
match: "(?xi)\n(?: (\n (?:\\?\\s*)? [a-z0-9_\\x{7f}-\\x{10ffff}\\\\]+ | # nullable type\n [a-z0-9_\\x{7f}-\\x{10ffff}\\\\]+ (?: \\s*[|&]\\s* [a-z0-9_\\x{7f}-\\x{10ffff}\\\\]+)+ # union type\n) \\s+ )?\n((?:(&)\\s*)?(\\.\\.\\.)(\\$)[a-z_\\x{7f}-\\x{10ffff}][a-z0-9_\\x{7f}-\\x{10ffff}]*) # Variable name with possible reference\n(?=\\s*(?:,|\\)|/[/*]|\\#|$)) # A closing parentheses (end of argument list) or a comma or a comment",
|
|
1327
1327
|
captures: {
|
|
1328
1328
|
"1": {
|
|
1329
1329
|
patterns: [
|
|
@@ -1348,7 +1348,7 @@ var repository = {
|
|
|
1348
1348
|
name: "meta.function.parameter.variadic.php"
|
|
1349
1349
|
},
|
|
1350
1350
|
{
|
|
1351
|
-
begin: "(?xi)\n(\n (?:\\?\\s*)? [a-z0-9_\\x{7f}-\\x{
|
|
1351
|
+
begin: "(?xi)\n(\n (?:\\?\\s*)? [a-z0-9_\\x{7f}-\\x{10ffff}\\\\]+ | # nullable type\n [a-z0-9_\\x{7f}-\\x{10ffff}\\\\]+ (?: \\s*[|&]\\s* [a-z0-9_\\x{7f}-\\x{10ffff}\\\\]+)+ # union type\n)\n\\s+ ((?:(&)\\s*)?(\\$)[a-z_\\x{7f}-\\x{10ffff}][a-z0-9_\\x{7f}-\\x{10ffff}]*) # Variable name with possible reference",
|
|
1352
1352
|
beginCaptures: {
|
|
1353
1353
|
"1": {
|
|
1354
1354
|
patterns: [
|
|
@@ -1387,7 +1387,7 @@ var repository = {
|
|
|
1387
1387
|
]
|
|
1388
1388
|
},
|
|
1389
1389
|
{
|
|
1390
|
-
match: "(?xi)\n((?:(&)\\s*)?(\\$)[a-z_\\x{7f}-\\x{
|
|
1390
|
+
match: "(?xi)\n((?:(&)\\s*)?(\\$)[a-z_\\x{7f}-\\x{10ffff}][a-z0-9_\\x{7f}-\\x{10ffff}]*) # Variable name with possible reference\n(?=\\s*(?:,|\\)|/[/*]|\\#|$)) # A closing parentheses (end of argument list) or a comma or a comment",
|
|
1391
1391
|
captures: {
|
|
1392
1392
|
"1": {
|
|
1393
1393
|
name: "variable.other.php"
|
|
@@ -1402,7 +1402,7 @@ var repository = {
|
|
|
1402
1402
|
name: "meta.function.parameter.no-default.php"
|
|
1403
1403
|
},
|
|
1404
1404
|
{
|
|
1405
|
-
begin: "(?xi)\n((?:(&)\\s*)?(\\$)[a-z_\\x{7f}-\\x{
|
|
1405
|
+
begin: "(?xi)\n((?:(&)\\s*)?(\\$)[a-z_\\x{7f}-\\x{10ffff}][a-z0-9_\\x{7f}-\\x{10ffff}]*) # Variable name with possible reference\n\\s*(=)\\s*",
|
|
1406
1406
|
beginCaptures: {
|
|
1407
1407
|
"1": {
|
|
1408
1408
|
name: "variable.other.php"
|
|
@@ -1428,7 +1428,7 @@ var repository = {
|
|
|
1428
1428
|
]
|
|
1429
1429
|
},
|
|
1430
1430
|
"named-arguments": {
|
|
1431
|
-
match: "(?i)(?<=^|\\(|,)\\s*([a-z_\\x{7f}-\\x{
|
|
1431
|
+
match: "(?i)(?<=^|\\(|,)\\s*([a-z_\\x{7f}-\\x{10ffff}][a-z0-9_\\x{7f}-\\x{10ffff}]*)\\s*(:)(?!:)",
|
|
1432
1432
|
captures: {
|
|
1433
1433
|
"1": {
|
|
1434
1434
|
name: "entity.name.variable.parameter.php"
|
|
@@ -1441,7 +1441,7 @@ var repository = {
|
|
|
1441
1441
|
"function-call": {
|
|
1442
1442
|
patterns: [
|
|
1443
1443
|
{
|
|
1444
|
-
begin: "(?x)\n(\n \\\\?(?<![a-zA-Z0-9_\\x{7f}-\\x{
|
|
1444
|
+
begin: "(?x)\n(\n \\\\?(?<![a-zA-Z0-9_\\x{7f}-\\x{10ffff}]) # Optional root namespace\n [a-zA-Z_\\x{7f}-\\x{10ffff}][a-zA-Z0-9_\\x{7f}-\\x{10ffff}]* # First namespace\n (?:\\\\[a-zA-Z_\\x{7f}-\\x{10ffff}][a-zA-Z0-9_\\x{7f}-\\x{10ffff}]*)+ # Additional namespaces\n)\\s*(\\()",
|
|
1445
1445
|
beginCaptures: {
|
|
1446
1446
|
"1": {
|
|
1447
1447
|
patterns: [
|
|
@@ -1449,7 +1449,7 @@ var repository = {
|
|
|
1449
1449
|
include: "#namespace"
|
|
1450
1450
|
},
|
|
1451
1451
|
{
|
|
1452
|
-
match: "(?i)[a-z_\\x{7f}-\\x{
|
|
1452
|
+
match: "(?i)[a-z_\\x{7f}-\\x{10ffff}][a-z0-9_\\x{7f}-\\x{10ffff}]*",
|
|
1453
1453
|
name: "entity.name.function.php"
|
|
1454
1454
|
}
|
|
1455
1455
|
]
|
|
@@ -1475,7 +1475,7 @@ var repository = {
|
|
|
1475
1475
|
]
|
|
1476
1476
|
},
|
|
1477
1477
|
{
|
|
1478
|
-
begin: "(\\\\)?(?<![a-zA-Z0-9_\\x{7f}-\\x{
|
|
1478
|
+
begin: "(\\\\)?(?<![a-zA-Z0-9_\\x{7f}-\\x{10ffff}])([a-zA-Z_\\x{7f}-\\x{10ffff}][a-zA-Z0-9_\\x{7f}-\\x{10ffff}]*)\\s*(\\()",
|
|
1479
1479
|
beginCaptures: {
|
|
1480
1480
|
"1": {
|
|
1481
1481
|
patterns: [
|
|
@@ -1490,7 +1490,7 @@ var repository = {
|
|
|
1490
1490
|
include: "#support"
|
|
1491
1491
|
},
|
|
1492
1492
|
{
|
|
1493
|
-
match: "(?i)[a-z_\\x{7f}-\\x{
|
|
1493
|
+
match: "(?i)[a-z_\\x{7f}-\\x{10ffff}][a-z0-9_\\x{7f}-\\x{10ffff}]*",
|
|
1494
1494
|
name: "entity.name.function.php"
|
|
1495
1495
|
}
|
|
1496
1496
|
]
|
|
@@ -1524,7 +1524,7 @@ var repository = {
|
|
|
1524
1524
|
heredoc: {
|
|
1525
1525
|
patterns: [
|
|
1526
1526
|
{
|
|
1527
|
-
begin: "(?i)(?=<<<\\s*(\"?)([a-z_\\x{7f}-\\x{
|
|
1527
|
+
begin: "(?i)(?=<<<\\s*(\"?)([a-z_\\x{7f}-\\x{10ffff}][a-z0-9_\\x{7f}-\\x{10ffff}]*)(\\1)\\s*$)",
|
|
1528
1528
|
end: "(?!\\G)",
|
|
1529
1529
|
name: "string.unquoted.heredoc.php",
|
|
1530
1530
|
patterns: [
|
|
@@ -1564,7 +1564,7 @@ var repository = {
|
|
|
1564
1564
|
}
|
|
1565
1565
|
},
|
|
1566
1566
|
contentName: "text.html",
|
|
1567
|
-
end: "^\\s*(\\3)(?![A-Za-z0-9_\\x{7f}-\\x{
|
|
1567
|
+
end: "^\\s*(\\3)(?![A-Za-z0-9_\\x{7f}-\\x{10ffff}])",
|
|
1568
1568
|
endCaptures: {
|
|
1569
1569
|
"0": {
|
|
1570
1570
|
name: "punctuation.section.embedded.end.php"
|
|
@@ -1600,7 +1600,7 @@ var repository = {
|
|
|
1600
1600
|
}
|
|
1601
1601
|
},
|
|
1602
1602
|
contentName: "text.xml",
|
|
1603
|
-
end: "^\\s*(\\3)(?![A-Za-z0-9_\\x{7f}-\\x{
|
|
1603
|
+
end: "^\\s*(\\3)(?![A-Za-z0-9_\\x{7f}-\\x{10ffff}])",
|
|
1604
1604
|
endCaptures: {
|
|
1605
1605
|
"0": {
|
|
1606
1606
|
name: "punctuation.section.embedded.end.php"
|
|
@@ -1636,7 +1636,7 @@ var repository = {
|
|
|
1636
1636
|
}
|
|
1637
1637
|
},
|
|
1638
1638
|
contentName: "source.sql",
|
|
1639
|
-
end: "^\\s*(\\3)(?![A-Za-z0-9_\\x{7f}-\\x{
|
|
1639
|
+
end: "^\\s*(\\3)(?![A-Za-z0-9_\\x{7f}-\\x{10ffff}])",
|
|
1640
1640
|
endCaptures: {
|
|
1641
1641
|
"0": {
|
|
1642
1642
|
name: "punctuation.section.embedded.end.php"
|
|
@@ -1672,7 +1672,7 @@ var repository = {
|
|
|
1672
1672
|
}
|
|
1673
1673
|
},
|
|
1674
1674
|
contentName: "source.js",
|
|
1675
|
-
end: "^\\s*(\\3)(?![A-Za-z0-9_\\x{7f}-\\x{
|
|
1675
|
+
end: "^\\s*(\\3)(?![A-Za-z0-9_\\x{7f}-\\x{10ffff}])",
|
|
1676
1676
|
endCaptures: {
|
|
1677
1677
|
"0": {
|
|
1678
1678
|
name: "punctuation.section.embedded.end.php"
|
|
@@ -1708,7 +1708,7 @@ var repository = {
|
|
|
1708
1708
|
}
|
|
1709
1709
|
},
|
|
1710
1710
|
contentName: "source.json",
|
|
1711
|
-
end: "^\\s*(\\3)(?![A-Za-z0-9_\\x{7f}-\\x{
|
|
1711
|
+
end: "^\\s*(\\3)(?![A-Za-z0-9_\\x{7f}-\\x{10ffff}])",
|
|
1712
1712
|
endCaptures: {
|
|
1713
1713
|
"0": {
|
|
1714
1714
|
name: "punctuation.section.embedded.end.php"
|
|
@@ -1744,7 +1744,7 @@ var repository = {
|
|
|
1744
1744
|
}
|
|
1745
1745
|
},
|
|
1746
1746
|
contentName: "source.css",
|
|
1747
|
-
end: "^\\s*(\\3)(?![A-Za-z0-9_\\x{7f}-\\x{
|
|
1747
|
+
end: "^\\s*(\\3)(?![A-Za-z0-9_\\x{7f}-\\x{10ffff}])",
|
|
1748
1748
|
endCaptures: {
|
|
1749
1749
|
"0": {
|
|
1750
1750
|
name: "punctuation.section.embedded.end.php"
|
|
@@ -1780,7 +1780,7 @@ var repository = {
|
|
|
1780
1780
|
}
|
|
1781
1781
|
},
|
|
1782
1782
|
contentName: "string.regexp.heredoc.php",
|
|
1783
|
-
end: "^\\s*(\\3)(?![A-Za-z0-9_\\x{7f}-\\x{
|
|
1783
|
+
end: "^\\s*(\\3)(?![A-Za-z0-9_\\x{7f}-\\x{10ffff}])",
|
|
1784
1784
|
endCaptures: {
|
|
1785
1785
|
"0": {
|
|
1786
1786
|
name: "punctuation.section.embedded.end.php"
|
|
@@ -1830,7 +1830,7 @@ var repository = {
|
|
|
1830
1830
|
name: "keyword.operator.regexp.php"
|
|
1831
1831
|
},
|
|
1832
1832
|
{
|
|
1833
|
-
begin: "(?i)(?<=^|\\s)(#)\\s(?=[[a-z0-9_\\x{7f}-\\x{
|
|
1833
|
+
begin: "(?i)(?<=^|\\s)(#)\\s(?=[[a-z0-9_\\x{7f}-\\x{10ffff},. \\t?!-][^\\x{00}-\\x{7f}]]*$)",
|
|
1834
1834
|
beginCaptures: {
|
|
1835
1835
|
"1": {
|
|
1836
1836
|
name: "punctuation.definition.comment.php"
|
|
@@ -1847,8 +1847,11 @@ var repository = {
|
|
|
1847
1847
|
]
|
|
1848
1848
|
},
|
|
1849
1849
|
{
|
|
1850
|
-
begin: "(
|
|
1850
|
+
begin: "(<<<)\\s*(\"?)(BLADE)(\\2)(\\s*)$",
|
|
1851
1851
|
beginCaptures: {
|
|
1852
|
+
"0": {
|
|
1853
|
+
name: "punctuation.section.embedded.begin.php"
|
|
1854
|
+
},
|
|
1852
1855
|
"1": {
|
|
1853
1856
|
name: "punctuation.definition.string.php"
|
|
1854
1857
|
},
|
|
@@ -1859,7 +1862,37 @@ var repository = {
|
|
|
1859
1862
|
name: "invalid.illegal.trailing-whitespace.php"
|
|
1860
1863
|
}
|
|
1861
1864
|
},
|
|
1862
|
-
|
|
1865
|
+
contentName: "text.html.php.blade",
|
|
1866
|
+
end: "^\\s*(\\3)(?![A-Za-z0-9_\\x{7f}-\\x{10ffff}])",
|
|
1867
|
+
endCaptures: {
|
|
1868
|
+
"0": {
|
|
1869
|
+
name: "punctuation.section.embedded.end.php"
|
|
1870
|
+
},
|
|
1871
|
+
"1": {
|
|
1872
|
+
name: "keyword.operator.heredoc.php"
|
|
1873
|
+
}
|
|
1874
|
+
},
|
|
1875
|
+
name: "meta.embedded.php.blade",
|
|
1876
|
+
patterns: [
|
|
1877
|
+
{
|
|
1878
|
+
include: "#interpolation"
|
|
1879
|
+
}
|
|
1880
|
+
]
|
|
1881
|
+
},
|
|
1882
|
+
{
|
|
1883
|
+
begin: "(?i)(<<<)\\s*(\"?)([a-z_\\x{7f}-\\x{10ffff}]+[a-z0-9_\\x{7f}-\\x{10ffff}]*)(\\2)(\\s*)",
|
|
1884
|
+
beginCaptures: {
|
|
1885
|
+
"1": {
|
|
1886
|
+
name: "punctuation.definition.string.php"
|
|
1887
|
+
},
|
|
1888
|
+
"3": {
|
|
1889
|
+
name: "keyword.operator.heredoc.php"
|
|
1890
|
+
},
|
|
1891
|
+
"5": {
|
|
1892
|
+
name: "invalid.illegal.trailing-whitespace.php"
|
|
1893
|
+
}
|
|
1894
|
+
},
|
|
1895
|
+
end: "^\\s*(\\3)(?![A-Za-z0-9_\\x{7f}-\\x{10ffff}])",
|
|
1863
1896
|
endCaptures: {
|
|
1864
1897
|
"1": {
|
|
1865
1898
|
name: "keyword.operator.heredoc.php"
|
|
@@ -1892,7 +1925,7 @@ var repository = {
|
|
|
1892
1925
|
}
|
|
1893
1926
|
},
|
|
1894
1927
|
contentName: "text.html",
|
|
1895
|
-
end: "^\\s*(\\2)(?![A-Za-z0-9_\\x{7f}-\\x{
|
|
1928
|
+
end: "^\\s*(\\2)(?![A-Za-z0-9_\\x{7f}-\\x{10ffff}])",
|
|
1896
1929
|
endCaptures: {
|
|
1897
1930
|
"0": {
|
|
1898
1931
|
name: "punctuation.section.embedded.end.php"
|
|
@@ -1925,7 +1958,7 @@ var repository = {
|
|
|
1925
1958
|
}
|
|
1926
1959
|
},
|
|
1927
1960
|
contentName: "text.xml",
|
|
1928
|
-
end: "^\\s*(\\2)(?![A-Za-z0-9_\\x{7f}-\\x{
|
|
1961
|
+
end: "^\\s*(\\2)(?![A-Za-z0-9_\\x{7f}-\\x{10ffff}])",
|
|
1929
1962
|
endCaptures: {
|
|
1930
1963
|
"0": {
|
|
1931
1964
|
name: "punctuation.section.embedded.end.php"
|
|
@@ -1958,7 +1991,7 @@ var repository = {
|
|
|
1958
1991
|
}
|
|
1959
1992
|
},
|
|
1960
1993
|
contentName: "source.sql",
|
|
1961
|
-
end: "^\\s*(\\2)(?![A-Za-z0-9_\\x{7f}-\\x{
|
|
1994
|
+
end: "^\\s*(\\2)(?![A-Za-z0-9_\\x{7f}-\\x{10ffff}])",
|
|
1962
1995
|
endCaptures: {
|
|
1963
1996
|
"0": {
|
|
1964
1997
|
name: "punctuation.section.embedded.end.php"
|
|
@@ -1991,7 +2024,7 @@ var repository = {
|
|
|
1991
2024
|
}
|
|
1992
2025
|
},
|
|
1993
2026
|
contentName: "source.js",
|
|
1994
|
-
end: "^\\s*(\\2)(?![A-Za-z0-9_\\x{7f}-\\x{
|
|
2027
|
+
end: "^\\s*(\\2)(?![A-Za-z0-9_\\x{7f}-\\x{10ffff}])",
|
|
1995
2028
|
endCaptures: {
|
|
1996
2029
|
"0": {
|
|
1997
2030
|
name: "punctuation.section.embedded.end.php"
|
|
@@ -2024,7 +2057,7 @@ var repository = {
|
|
|
2024
2057
|
}
|
|
2025
2058
|
},
|
|
2026
2059
|
contentName: "source.json",
|
|
2027
|
-
end: "^\\s*(\\2)(?![A-Za-z0-9_\\x{7f}-\\x{
|
|
2060
|
+
end: "^\\s*(\\2)(?![A-Za-z0-9_\\x{7f}-\\x{10ffff}])",
|
|
2028
2061
|
endCaptures: {
|
|
2029
2062
|
"0": {
|
|
2030
2063
|
name: "punctuation.section.embedded.end.php"
|
|
@@ -2057,7 +2090,7 @@ var repository = {
|
|
|
2057
2090
|
}
|
|
2058
2091
|
},
|
|
2059
2092
|
contentName: "source.css",
|
|
2060
|
-
end: "^\\s*(\\2)(?![A-Za-z0-9_\\x{7f}-\\x{
|
|
2093
|
+
end: "^\\s*(\\2)(?![A-Za-z0-9_\\x{7f}-\\x{10ffff}])",
|
|
2061
2094
|
endCaptures: {
|
|
2062
2095
|
"0": {
|
|
2063
2096
|
name: "punctuation.section.embedded.end.php"
|
|
@@ -2090,7 +2123,7 @@ var repository = {
|
|
|
2090
2123
|
}
|
|
2091
2124
|
},
|
|
2092
2125
|
contentName: "string.regexp.nowdoc.php",
|
|
2093
|
-
end: "^\\s*(\\2)(?![A-Za-z0-9_\\x{7f}-\\x{
|
|
2126
|
+
end: "^\\s*(\\2)(?![A-Za-z0-9_\\x{7f}-\\x{10ffff}])",
|
|
2094
2127
|
endCaptures: {
|
|
2095
2128
|
"0": {
|
|
2096
2129
|
name: "punctuation.section.embedded.end.php"
|
|
@@ -2137,7 +2170,7 @@ var repository = {
|
|
|
2137
2170
|
name: "keyword.operator.regexp.php"
|
|
2138
2171
|
},
|
|
2139
2172
|
{
|
|
2140
|
-
begin: "(?i)(?<=^|\\s)(#)\\s(?=[[a-z0-9_\\x{7f}-\\x{
|
|
2173
|
+
begin: "(?i)(?<=^|\\s)(#)\\s(?=[[a-z0-9_\\x{7f}-\\x{10ffff},. \\t?!-][^\\x{00}-\\x{7f}]]*$)",
|
|
2141
2174
|
beginCaptures: {
|
|
2142
2175
|
"1": {
|
|
2143
2176
|
name: "punctuation.definition.comment.php"
|
|
@@ -2154,8 +2187,11 @@ var repository = {
|
|
|
2154
2187
|
]
|
|
2155
2188
|
},
|
|
2156
2189
|
{
|
|
2157
|
-
begin: "(
|
|
2190
|
+
begin: "(<<<)\\s*'(BLADE)'(\\s*)$",
|
|
2158
2191
|
beginCaptures: {
|
|
2192
|
+
"0": {
|
|
2193
|
+
name: "punctuation.section.embedded.begin.php"
|
|
2194
|
+
},
|
|
2159
2195
|
"1": {
|
|
2160
2196
|
name: "punctuation.definition.string.php"
|
|
2161
2197
|
},
|
|
@@ -2166,7 +2202,32 @@ var repository = {
|
|
|
2166
2202
|
name: "invalid.illegal.trailing-whitespace.php"
|
|
2167
2203
|
}
|
|
2168
2204
|
},
|
|
2169
|
-
|
|
2205
|
+
contentName: "text.html.php.blade",
|
|
2206
|
+
end: "^\\s*(\\2)(?![A-Za-z0-9_\\x{7f}-\\x{10ffff}])",
|
|
2207
|
+
endCaptures: {
|
|
2208
|
+
"0": {
|
|
2209
|
+
name: "punctuation.section.embedded.end.php"
|
|
2210
|
+
},
|
|
2211
|
+
"1": {
|
|
2212
|
+
name: "keyword.operator.nowdoc.php"
|
|
2213
|
+
}
|
|
2214
|
+
},
|
|
2215
|
+
name: "meta.embedded.php.blade"
|
|
2216
|
+
},
|
|
2217
|
+
{
|
|
2218
|
+
begin: "(?i)(<<<)\\s*'([a-z_\\x{7f}-\\x{10ffff}]+[a-z0-9_\\x{7f}-\\x{10ffff}]*)'(\\s*)",
|
|
2219
|
+
beginCaptures: {
|
|
2220
|
+
"1": {
|
|
2221
|
+
name: "punctuation.definition.string.php"
|
|
2222
|
+
},
|
|
2223
|
+
"2": {
|
|
2224
|
+
name: "keyword.operator.nowdoc.php"
|
|
2225
|
+
},
|
|
2226
|
+
"3": {
|
|
2227
|
+
name: "invalid.illegal.trailing-whitespace.php"
|
|
2228
|
+
}
|
|
2229
|
+
},
|
|
2230
|
+
end: "^\\s*(\\2)(?![A-Za-z0-9_\\x{7f}-\\x{10ffff}])",
|
|
2170
2231
|
endCaptures: {
|
|
2171
2232
|
"1": {
|
|
2172
2233
|
name: "keyword.operator.nowdoc.php"
|
|
@@ -2182,10 +2243,10 @@ var repository = {
|
|
|
2182
2243
|
name: "keyword.other.new.php"
|
|
2183
2244
|
}
|
|
2184
2245
|
},
|
|
2185
|
-
end: "(?i)(?=[^a-z0-9_\\x{7f}-\\x{
|
|
2246
|
+
end: "(?i)(?=[^a-z0-9_\\x{7f}-\\x{10ffff}\\\\])",
|
|
2186
2247
|
patterns: [
|
|
2187
2248
|
{
|
|
2188
|
-
match: "(?i)(parent|static|self)(?![a-z0-9_\\x{7f}-\\x{
|
|
2249
|
+
match: "(?i)(parent|static|self)(?![a-z0-9_\\x{7f}-\\x{10ffff}])",
|
|
2189
2250
|
name: "storage.type.php"
|
|
2190
2251
|
},
|
|
2191
2252
|
{
|
|
@@ -2258,11 +2319,11 @@ var repository = {
|
|
|
2258
2319
|
name: "punctuation.definition.variable.php"
|
|
2259
2320
|
}
|
|
2260
2321
|
},
|
|
2261
|
-
match: "(?i)((\\$+)[a-z_\\x{7f}-\\x{
|
|
2322
|
+
match: "(?i)((\\$+)[a-z_\\x{7f}-\\x{10ffff}][a-z0-9_\\x{7f}-\\x{10ffff}]*)(?=\\s*\\()",
|
|
2262
2323
|
name: "meta.function-call.invoke.php"
|
|
2263
2324
|
},
|
|
2264
2325
|
namespace: {
|
|
2265
|
-
begin: "(?i)(?:(namespace)|[a-z_\\x{7f}-\\x{
|
|
2326
|
+
begin: "(?i)(?:(namespace)|[a-z_\\x{7f}-\\x{10ffff}][a-z0-9_\\x{7f}-\\x{10ffff}]*)?(\\\\)",
|
|
2266
2327
|
beginCaptures: {
|
|
2267
2328
|
"1": {
|
|
2268
2329
|
name: "variable.language.namespace.php"
|
|
@@ -2271,7 +2332,7 @@ var repository = {
|
|
|
2271
2332
|
name: "punctuation.separator.inheritance.php"
|
|
2272
2333
|
}
|
|
2273
2334
|
},
|
|
2274
|
-
end: "(?i)(?![a-z0-9_\\x{7f}-\\x{
|
|
2335
|
+
end: "(?i)(?![a-z0-9_\\x{7f}-\\x{10ffff}]*\\\\)",
|
|
2275
2336
|
name: "support.other.namespace.php",
|
|
2276
2337
|
patterns: [
|
|
2277
2338
|
{
|
|
@@ -2341,7 +2402,7 @@ var repository = {
|
|
|
2341
2402
|
]
|
|
2342
2403
|
},
|
|
2343
2404
|
{
|
|
2344
|
-
begin: "(?i)(\\??->)\\s*([a-z_\\x{7f}-\\x{
|
|
2405
|
+
begin: "(?i)(\\??->)\\s*([a-z_\\x{7f}-\\x{10ffff}][a-z0-9_\\x{7f}-\\x{10ffff}]*)\\s*(\\()",
|
|
2345
2406
|
beginCaptures: {
|
|
2346
2407
|
"1": {
|
|
2347
2408
|
name: "keyword.operator.class.php"
|
|
@@ -2381,7 +2442,7 @@ var repository = {
|
|
|
2381
2442
|
name: "punctuation.definition.variable.php"
|
|
2382
2443
|
}
|
|
2383
2444
|
},
|
|
2384
|
-
match: "(?i)(\\??->)\\s*((\\$+)?[a-z_\\x{7f}-\\x{
|
|
2445
|
+
match: "(?i)(\\??->)\\s*((\\$+)?[a-z_\\x{7f}-\\x{10ffff}][a-z0-9_\\x{7f}-\\x{10ffff}]*)?"
|
|
2385
2446
|
}
|
|
2386
2447
|
]
|
|
2387
2448
|
},
|
|
@@ -2480,8 +2541,8 @@ var repository = {
|
|
|
2480
2541
|
include: "#instantiation"
|
|
2481
2542
|
},
|
|
2482
2543
|
{
|
|
2483
|
-
begin: "(?xi)\n(?=[a-z0-9_\\x{7f}-\\x{
|
|
2484
|
-
end: "(?i)(::)\\s*([a-z_\\x{7f}-\\x{
|
|
2544
|
+
begin: "(?xi)\n(?=[a-z0-9_\\x{7f}-\\x{10ffff}\\\\]+\n (::)\\s*([a-z_\\x{7f}-\\x{10ffff}][a-z0-9_\\x{7f}-\\x{10ffff}]*)?\n)",
|
|
2545
|
+
end: "(?i)(::)\\s*([a-z_\\x{7f}-\\x{10ffff}][a-z0-9_\\x{7f}-\\x{10ffff}]*)?",
|
|
2485
2546
|
endCaptures: {
|
|
2486
2547
|
"1": {
|
|
2487
2548
|
name: "keyword.operator.class.php"
|
|
@@ -2533,7 +2594,7 @@ var repository = {
|
|
|
2533
2594
|
match: "(@xlink)\\s+(.+)\\s*$"
|
|
2534
2595
|
},
|
|
2535
2596
|
{
|
|
2536
|
-
begin: "(@(?:global|param|property(-(read|write))?|return|throws|var))\\s+(?=[A-Za-z_\\x{7f}-\\x{
|
|
2597
|
+
begin: "(@(?:global|param|property(-(read|write))?|return|throws|var))\\s+(?=[?A-Za-z_\\x{7f}-\\x{10ffff}\\\\]|\\()",
|
|
2537
2598
|
beginCaptures: {
|
|
2538
2599
|
"1": {
|
|
2539
2600
|
name: "keyword.other.phpdoc.php"
|
|
@@ -2569,10 +2630,14 @@ var repository = {
|
|
|
2569
2630
|
]
|
|
2570
2631
|
},
|
|
2571
2632
|
php_doc_types: {
|
|
2572
|
-
match: "(?i)[a-z_\\x{7f}-\\x{
|
|
2633
|
+
match: "(?i)\\??[a-z_\\x{7f}-\\x{10ffff}\\\\][a-z0-9_\\x{7f}-\\x{10ffff}\\\\]*([|&]\\??[a-z_\\x{7f}-\\x{10ffff}\\\\][a-z0-9_\\x{7f}-\\x{10ffff}\\\\]*)*",
|
|
2573
2634
|
captures: {
|
|
2574
2635
|
"0": {
|
|
2575
2636
|
patterns: [
|
|
2637
|
+
{
|
|
2638
|
+
match: "\\?",
|
|
2639
|
+
name: "keyword.operator.nullable-type.php"
|
|
2640
|
+
},
|
|
2576
2641
|
{
|
|
2577
2642
|
match: "(?x)\\b\n(string|integer|int|boolean|bool|float|double|object|mixed\n|array|resource|void|null|callback|false|true|self|static)\\b",
|
|
2578
2643
|
name: "keyword.other.type.php"
|
|
@@ -2621,7 +2686,7 @@ var repository = {
|
|
|
2621
2686
|
]
|
|
2622
2687
|
},
|
|
2623
2688
|
php_doc_types_array_single: {
|
|
2624
|
-
match: "(?i)([a-z_\\x{7f}-\\x{
|
|
2689
|
+
match: "(?i)([a-z_\\x{7f}-\\x{10ffff}\\\\][a-z0-9_\\x{7f}-\\x{10ffff}\\\\]*)(\\[\\])",
|
|
2625
2690
|
captures: {
|
|
2626
2691
|
"1": {
|
|
2627
2692
|
patterns: [
|
|
@@ -2739,7 +2804,7 @@ var repository = {
|
|
|
2739
2804
|
"scope-resolution": {
|
|
2740
2805
|
patterns: [
|
|
2741
2806
|
{
|
|
2742
|
-
match: "([A-Za-z_\\x{7f}-\\x{
|
|
2807
|
+
match: "([A-Za-z_\\x{7f}-\\x{10ffff}\\\\][A-Za-z0-9_\\x{7f}-\\x{10ffff}\\\\]*)(?=\\s*::)",
|
|
2743
2808
|
captures: {
|
|
2744
2809
|
"1": {
|
|
2745
2810
|
patterns: [
|
|
@@ -2758,7 +2823,7 @@ var repository = {
|
|
|
2758
2823
|
}
|
|
2759
2824
|
},
|
|
2760
2825
|
{
|
|
2761
|
-
begin: "(?i)(::)\\s*([a-z_\\x{7f}-\\x{
|
|
2826
|
+
begin: "(?i)(::)\\s*([a-z_\\x{7f}-\\x{10ffff}][a-z0-9_\\x{7f}-\\x{10ffff}]*)\\s*(\\()",
|
|
2762
2827
|
beginCaptures: {
|
|
2763
2828
|
"1": {
|
|
2764
2829
|
name: "keyword.operator.class.php"
|
|
@@ -2798,7 +2863,7 @@ var repository = {
|
|
|
2798
2863
|
}
|
|
2799
2864
|
},
|
|
2800
2865
|
{
|
|
2801
|
-
match: "(?xi)\n(::)\\s*\n(?:\n ((\\$+)[a-z_\\x{7f}-\\x{
|
|
2866
|
+
match: "(?xi)\n(::)\\s*\n(?:\n ((\\$+)[a-z_\\x{7f}-\\x{10ffff}][a-z0-9_\\x{7f}-\\x{10ffff}]*) # Variable\n |\n ([a-z_\\x{7f}-\\x{10ffff}][a-z0-9_\\x{7f}-\\x{10ffff}]*) # Constant\n)?",
|
|
2802
2867
|
captures: {
|
|
2803
2868
|
"1": {
|
|
2804
2869
|
name: "keyword.operator.class.php"
|
|
@@ -3590,7 +3655,7 @@ var repository = {
|
|
|
3590
3655
|
name: "keyword.other.use-as.php"
|
|
3591
3656
|
}
|
|
3592
3657
|
},
|
|
3593
|
-
end: "(?i)[a-z_\\x{7f}-\\x{
|
|
3658
|
+
end: "(?i)[a-z_\\x{7f}-\\x{10ffff}][a-z0-9_\\x{7f}-\\x{10ffff}]*",
|
|
3594
3659
|
endCaptures: {
|
|
3595
3660
|
"0": {
|
|
3596
3661
|
name: "entity.other.alias.php"
|
|
@@ -3609,7 +3674,7 @@ var repository = {
|
|
|
3609
3674
|
var_basic: {
|
|
3610
3675
|
patterns: [
|
|
3611
3676
|
{
|
|
3612
|
-
match: "(?i)(\\$+)[a-z_\\x{7f}-\\x{
|
|
3677
|
+
match: "(?i)(\\$+)[a-z_\\x{7f}-\\x{10ffff}][a-z0-9_\\x{7f}-\\x{10ffff}]*",
|
|
3613
3678
|
name: "variable.other.php",
|
|
3614
3679
|
captures: {
|
|
3615
3680
|
"1": {
|
|
@@ -3687,7 +3752,7 @@ var repository = {
|
|
|
3687
3752
|
name: "punctuation.section.array.end.php"
|
|
3688
3753
|
}
|
|
3689
3754
|
},
|
|
3690
|
-
match: "(?xi)\n((\\$)(?<name>[a-z_\\x{7f}-\\x{
|
|
3755
|
+
match: "(?xi)\n((\\$)(?<name>[a-z_\\x{7f}-\\x{10ffff}][a-z0-9_\\x{7f}-\\x{10ffff}]*))\\s*\n(?:\n (\\??->)\\s*(\\g<name>)\n |\n (\\[)(?:(\\d+)|((\\$)\\g<name>)|([a-z_\\x{7f}-\\x{10ffff}][a-z0-9_\\x{7f}-\\x{10ffff}]*))(\\])\n)?"
|
|
3691
3756
|
},
|
|
3692
3757
|
{
|
|
3693
3758
|
captures: {
|
|
@@ -3701,7 +3766,7 @@ var repository = {
|
|
|
3701
3766
|
name: "punctuation.definition.variable.php"
|
|
3702
3767
|
}
|
|
3703
3768
|
},
|
|
3704
|
-
match: "(?i)((\\${)(?<name>[a-z_\\x{7f}-\\x{
|
|
3769
|
+
match: "(?i)((\\${)(?<name>[a-z_\\x{7f}-\\x{10ffff}][a-z0-9_\\x{7f}-\\x{10ffff}]*)(}))"
|
|
3705
3770
|
}
|
|
3706
3771
|
]
|
|
3707
3772
|
},
|
|
@@ -3759,7 +3824,7 @@ var repository = {
|
|
|
3759
3824
|
},
|
|
3760
3825
|
patterns: [
|
|
3761
3826
|
{
|
|
3762
|
-
match: "(?i)^\\s*([a-z_\\x{7f}-\\x{
|
|
3827
|
+
match: "(?i)^\\s*([a-z_\\x{7f}-\\x{10ffff}][a-z0-9_\\x{7f}-\\x{10ffff}]*)\\s*(?=:(?!:))",
|
|
3763
3828
|
captures: {
|
|
3764
3829
|
"1": {
|
|
3765
3830
|
patterns: [
|