@codingame/monaco-editor-wrapper 3.9.2 → 3.9.3
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/JavaScript.tmLanguage.js +58 -51
- package/dist/JavaScriptReact.tmLanguage.js +58 -51
- package/dist/Scala.tmLanguage.js +63 -30
- package/dist/TypeScript.tmLanguage.js +59 -52
- package/dist/TypeScriptReact.tmLanguage.js +58 -51
- package/dist/angular.js +0 -12
- package/dist/aspnetcorerazor.tmLanguage.js +306 -3
- package/dist/buildtarget.js +1 -1
- package/dist/cobol2.js +38 -34
- package/dist/cpp.tmLanguage.js +591 -428
- package/dist/cpptools.js +28 -5
- package/dist/css.tmLanguage.js +1 -1
- package/dist/d.js +44 -5
- package/dist/dart.js +4 -4
- package/dist/dart3.js +15 -9
- package/dist/erlang.js +4 -4
- package/dist/erlang2.js +0 -6
- package/dist/html.tmLanguage2.js +1 -1
- package/dist/java.js +7 -4
- package/dist/java2.js +30 -1
- package/dist/julia.js +89 -0
- package/dist/julia.tmLanguage.js +954 -0
- package/dist/jvm-bytecode-verbose.js +1 -1
- package/dist/jvm-bytecode.js +1 -1
- package/dist/lua.tmLanguage.js +11 -3
- package/dist/lua2.js +42 -48
- package/dist/main.js +52 -7
- package/dist/markdown-vue.js +1 -1
- package/dist/markdown.tmLanguage.js +93 -57
- package/dist/omnisharp.js +5 -1
- package/dist/php.tmLanguage.js +41 -13
- package/dist/scalameta.js +2 -1
- package/dist/semanticdb.js +1 -1
- package/dist/shell-unix-bash.tmLanguage.js +607 -585
- package/dist/solidity.js +41 -4
- package/dist/solidity3.js +6 -0
- package/dist/sql.tmLanguage.js +2 -2
- package/dist/tasty.js +1 -1
- package/dist/tcl.tmlanguage.yaml.js +8 -2
- package/dist/theme-defaults~dark_plus.js +5 -2
- package/dist/theme-defaults~dark_plus_experimental.js +27 -28
- package/dist/theme-defaults~light_plus.js +5 -2
- package/dist/theme-defaults~light_plus_experimental.js +28 -29
- package/dist/typescript-language-features.js +24 -11
- package/dist/volar-vue.js +76 -130
- package/dist/vscode-R.js +13 -1
- package/dist/vscode-go.js +6 -0
- package/dist/vscode-python.js +28 -8
- package/dist/vue-directives.js +1 -1
- package/dist/vue-interpolations.js +1 -1
- package/dist/vue-sfc-style-variable-injection.js +1 -1
- package/dist/vue.tmLanguage.js +1 -1
- package/package.json +1 -1
- package/stats.html +1 -1
|
@@ -0,0 +1,954 @@
|
|
|
1
|
+
var information_for_contributors = [
|
|
2
|
+
"This file has been converted from https://github.com/microsoft/vscode/blob/master/extensions/julia/",
|
|
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/JuliaEditorSupport/atom-language-julia/commit/7b7801f41ce4ac1303bd17e057dbe677e24f597f";
|
|
7
|
+
var name = "Julia";
|
|
8
|
+
var scopeName = "source.julia";
|
|
9
|
+
var comment = "This grammar is used by Atom (Oniguruma), GitHub (PCRE), and VSCode (Oniguruma),\nso all regexps must be compatible with both engines.\n\nSpecs:\n- https://github.com/kkos/oniguruma/blob/master/doc/RE\n- https://www.pcre.org/current/doc/html/";
|
|
10
|
+
var patterns = [
|
|
11
|
+
{
|
|
12
|
+
include: "#operator"
|
|
13
|
+
},
|
|
14
|
+
{
|
|
15
|
+
include: "#array"
|
|
16
|
+
},
|
|
17
|
+
{
|
|
18
|
+
include: "#string"
|
|
19
|
+
},
|
|
20
|
+
{
|
|
21
|
+
include: "#parentheses"
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
include: "#bracket"
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
include: "#function_decl"
|
|
28
|
+
},
|
|
29
|
+
{
|
|
30
|
+
include: "#function_call"
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
include: "#keyword"
|
|
34
|
+
},
|
|
35
|
+
{
|
|
36
|
+
include: "#number"
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
include: "#comment"
|
|
40
|
+
},
|
|
41
|
+
{
|
|
42
|
+
include: "#type_decl"
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
include: "#symbol"
|
|
46
|
+
}
|
|
47
|
+
];
|
|
48
|
+
var repository = {
|
|
49
|
+
array: {
|
|
50
|
+
patterns: [
|
|
51
|
+
{
|
|
52
|
+
begin: "\\[",
|
|
53
|
+
beginCaptures: {
|
|
54
|
+
"0": {
|
|
55
|
+
name: "meta.bracket.julia"
|
|
56
|
+
}
|
|
57
|
+
},
|
|
58
|
+
end: "(\\])((?:\\.)?'*)",
|
|
59
|
+
endCaptures: {
|
|
60
|
+
"1": {
|
|
61
|
+
name: "meta.bracket.julia"
|
|
62
|
+
},
|
|
63
|
+
"2": {
|
|
64
|
+
name: "keyword.operator.transpose.julia"
|
|
65
|
+
}
|
|
66
|
+
},
|
|
67
|
+
name: "meta.array.julia",
|
|
68
|
+
patterns: [
|
|
69
|
+
{
|
|
70
|
+
match: "\\bbegin\\b",
|
|
71
|
+
name: "constant.numeric.julia"
|
|
72
|
+
},
|
|
73
|
+
{
|
|
74
|
+
match: "\\bend\\b",
|
|
75
|
+
name: "constant.numeric.julia"
|
|
76
|
+
},
|
|
77
|
+
{
|
|
78
|
+
match: "\\bfor\\b",
|
|
79
|
+
name: "keyword.control.julia"
|
|
80
|
+
},
|
|
81
|
+
{
|
|
82
|
+
include: "$self"
|
|
83
|
+
}
|
|
84
|
+
]
|
|
85
|
+
}
|
|
86
|
+
]
|
|
87
|
+
},
|
|
88
|
+
parentheses: {
|
|
89
|
+
patterns: [
|
|
90
|
+
{
|
|
91
|
+
begin: "\\(",
|
|
92
|
+
beginCaptures: {
|
|
93
|
+
"0": {
|
|
94
|
+
name: "meta.bracket.julia"
|
|
95
|
+
}
|
|
96
|
+
},
|
|
97
|
+
end: "(\\))((?:\\.)?'*)",
|
|
98
|
+
endCaptures: {
|
|
99
|
+
"1": {
|
|
100
|
+
name: "meta.bracket.julia"
|
|
101
|
+
},
|
|
102
|
+
"2": {
|
|
103
|
+
name: "keyword.operator.transpose.julia"
|
|
104
|
+
}
|
|
105
|
+
},
|
|
106
|
+
patterns: [
|
|
107
|
+
{
|
|
108
|
+
include: "$self"
|
|
109
|
+
}
|
|
110
|
+
]
|
|
111
|
+
}
|
|
112
|
+
]
|
|
113
|
+
},
|
|
114
|
+
bracket: {
|
|
115
|
+
patterns: [
|
|
116
|
+
{
|
|
117
|
+
match: "(?:\\(|\\)|\\[|\\]|\\{|\\}|,|;)(?!('|(?:\\.'))*\\.?')",
|
|
118
|
+
name: "meta.bracket.julia"
|
|
119
|
+
}
|
|
120
|
+
]
|
|
121
|
+
},
|
|
122
|
+
comment: {
|
|
123
|
+
patterns: [
|
|
124
|
+
{
|
|
125
|
+
include: "#comment_block"
|
|
126
|
+
},
|
|
127
|
+
{
|
|
128
|
+
begin: "#",
|
|
129
|
+
beginCaptures: {
|
|
130
|
+
"0": {
|
|
131
|
+
name: "punctuation.definition.comment.julia"
|
|
132
|
+
}
|
|
133
|
+
},
|
|
134
|
+
end: "\\n",
|
|
135
|
+
name: "comment.line.number-sign.julia"
|
|
136
|
+
}
|
|
137
|
+
]
|
|
138
|
+
},
|
|
139
|
+
comment_block: {
|
|
140
|
+
patterns: [
|
|
141
|
+
{
|
|
142
|
+
begin: "#=",
|
|
143
|
+
beginCaptures: {
|
|
144
|
+
"0": {
|
|
145
|
+
name: "punctuation.definition.comment.begin.julia"
|
|
146
|
+
}
|
|
147
|
+
},
|
|
148
|
+
end: "=#",
|
|
149
|
+
endCaptures: {
|
|
150
|
+
"0": {
|
|
151
|
+
name: "punctuation.definition.comment.end.julia"
|
|
152
|
+
}
|
|
153
|
+
},
|
|
154
|
+
name: "comment.block.number-sign-equals.julia",
|
|
155
|
+
patterns: [
|
|
156
|
+
{
|
|
157
|
+
include: "#comment_block"
|
|
158
|
+
}
|
|
159
|
+
]
|
|
160
|
+
}
|
|
161
|
+
]
|
|
162
|
+
},
|
|
163
|
+
function_call: {
|
|
164
|
+
patterns: [
|
|
165
|
+
{
|
|
166
|
+
begin: "((?:[[:alpha:]_\\p{Lu}\\p{Ll}\\p{Lt}\\p{Lm}\\p{Lo}\\p{Nl}\\p{Sc}⅀-⅄∿⊾⊿⊤⊥∂∅-∇∎∏∐∑∞∟∫-∳⋀-⋃◸-◿♯⟘⟙⟀⟁⦰-⦴⨀-⨆⨉-⨖⨛⨜𝛁𝛛𝛻𝜕𝜵𝝏𝝯𝞉𝞩𝟃ⁱ-⁾₁-₎∠-∢⦛-⦯℘℮゛-゜𝟎-𝟡]|[^\\P{So}←-⇿])(?:[[:word:]_!\\p{Lu}\\p{Ll}\\p{Lt}\\p{Lm}\\p{Lo}\\p{Nl}\\p{Sc}⅀-⅄∿⊾⊿⊤⊥∂∅-∇∎∏∐∑∞∟∫-∳⋀-⋃◸-◿♯⟘⟙⟀⟁⦰-⦴⨀-⨆⨉-⨖⨛⨜𝛁𝛛𝛻𝜕𝜵𝝏𝝯𝞉𝞩𝟃ⁱ-⁾₁-₎∠-∢⦛-⦯℘℮゛-゜𝟎-𝟡]|[^\\P{Mn}\u0001-¡]|[^\\P{Mc}\u0001-¡]|[^\\P{Nd}\u0001-¡]|[^\\P{Pc}\u0001-¡]|[^\\P{Sk}\u0001-¡]|[^\\P{Me}\u0001-¡]|[^\\P{No}\u0001-¡]|[′-‷⁗]|[^\\P{So}←-⇿])*)({(?:[^{}]|{(?:[^{}]|{[^{}]*})*})*})?\\.?(\\()",
|
|
167
|
+
beginCaptures: {
|
|
168
|
+
"1": {
|
|
169
|
+
name: "support.function.julia"
|
|
170
|
+
},
|
|
171
|
+
"2": {
|
|
172
|
+
name: "support.type.julia"
|
|
173
|
+
},
|
|
174
|
+
"3": {
|
|
175
|
+
name: "meta.bracket.julia"
|
|
176
|
+
}
|
|
177
|
+
},
|
|
178
|
+
end: "\\)(('|(\\.'))*\\.?')?",
|
|
179
|
+
endCaptures: {
|
|
180
|
+
"0": {
|
|
181
|
+
name: "meta.bracket.julia"
|
|
182
|
+
},
|
|
183
|
+
"1": {
|
|
184
|
+
name: "keyword.operator.transposed-func.julia"
|
|
185
|
+
}
|
|
186
|
+
},
|
|
187
|
+
patterns: [
|
|
188
|
+
{
|
|
189
|
+
match: "\\bfor\\b",
|
|
190
|
+
name: "keyword.control.julia"
|
|
191
|
+
},
|
|
192
|
+
{
|
|
193
|
+
include: "$self"
|
|
194
|
+
}
|
|
195
|
+
]
|
|
196
|
+
}
|
|
197
|
+
]
|
|
198
|
+
},
|
|
199
|
+
function_decl: {
|
|
200
|
+
patterns: [
|
|
201
|
+
{
|
|
202
|
+
captures: {
|
|
203
|
+
"1": {
|
|
204
|
+
name: "entity.name.function.julia"
|
|
205
|
+
},
|
|
206
|
+
"2": {
|
|
207
|
+
name: "support.type.julia"
|
|
208
|
+
}
|
|
209
|
+
},
|
|
210
|
+
match: "((?:[[:alpha:]_\\p{Lu}\\p{Ll}\\p{Lt}\\p{Lm}\\p{Lo}\\p{Nl}\\p{Sc}⅀-⅄∿⊾⊿⊤⊥∂∅-∇∎∏∐∑∞∟∫-∳⋀-⋃◸-◿♯⟘⟙⟀⟁⦰-⦴⨀-⨆⨉-⨖⨛⨜𝛁𝛛𝛻𝜕𝜵𝝏𝝯𝞉𝞩𝟃ⁱ-⁾₁-₎∠-∢⦛-⦯℘℮゛-゜𝟎-𝟡]|[^\\P{So}←-⇿])(?:[[:word:]_!\\p{Lu}\\p{Ll}\\p{Lt}\\p{Lm}\\p{Lo}\\p{Nl}\\p{Sc}⅀-⅄∿⊾⊿⊤⊥∂∅-∇∎∏∐∑∞∟∫-∳⋀-⋃◸-◿♯⟘⟙⟀⟁⦰-⦴⨀-⨆⨉-⨖⨛⨜𝛁𝛛𝛻𝜕𝜵𝝏𝝯𝞉𝞩𝟃ⁱ-⁾₁-₎∠-∢⦛-⦯℘℮゛-゜𝟎-𝟡]|[^\\P{Mn}\u0001-¡]|[^\\P{Mc}\u0001-¡]|[^\\P{Nd}\u0001-¡]|[^\\P{Pc}\u0001-¡]|[^\\P{Sk}\u0001-¡]|[^\\P{Me}\u0001-¡]|[^\\P{No}\u0001-¡]|[′-‷⁗]|[^\\P{So}←-⇿])*)({(?:[^{}]|{(?:[^{}]|{[^{}]*})*})*})?(?=\\([^#]*\\)(::[^\\s]+)?(\\s*\\bwhere\\b\\s+.+?)?\\s*?=(?![=>]))",
|
|
211
|
+
comment: "first group is function name\nSecond group is type parameters (e.g. {T<:Number, S})\nThen open parens\nThen a lookahead ensures that we are followed by:\n - anything (function argumnets)\n - 0 or more spaces\n - Finally an equal sign\nNegative lookahead ensures we don't have another equal sign (not `==`)"
|
|
212
|
+
},
|
|
213
|
+
{
|
|
214
|
+
captures: {
|
|
215
|
+
"1": {
|
|
216
|
+
name: "keyword.other.julia"
|
|
217
|
+
},
|
|
218
|
+
"2": {
|
|
219
|
+
name: "keyword.operator.dots.julia"
|
|
220
|
+
},
|
|
221
|
+
"3": {
|
|
222
|
+
name: "entity.name.function.julia"
|
|
223
|
+
},
|
|
224
|
+
"4": {
|
|
225
|
+
name: "support.type.julia"
|
|
226
|
+
}
|
|
227
|
+
},
|
|
228
|
+
match: "\\b(function|macro)(?:\\s+(?:(?:[[:alpha:]_\\p{Lu}\\p{Ll}\\p{Lt}\\p{Lm}\\p{Lo}\\p{Nl}\\p{Sc}⅀-⅄∿⊾⊿⊤⊥∂∅-∇∎∏∐∑∞∟∫-∳⋀-⋃◸-◿♯⟘⟙⟀⟁⦰-⦴⨀-⨆⨉-⨖⨛⨜𝛁𝛛𝛻𝜕𝜵𝝏𝝯𝞉𝞩𝟃ⁱ-⁾₁-₎∠-∢⦛-⦯℘℮゛-゜𝟎-𝟡]|[^\\P{So}←-⇿])(?:[[:word:]_!\\p{Lu}\\p{Ll}\\p{Lt}\\p{Lm}\\p{Lo}\\p{Nl}\\p{Sc}⅀-⅄∿⊾⊿⊤⊥∂∅-∇∎∏∐∑∞∟∫-∳⋀-⋃◸-◿♯⟘⟙⟀⟁⦰-⦴⨀-⨆⨉-⨖⨛⨜𝛁𝛛𝛻𝜕𝜵��𝝯𝞉𝞩𝟃ⁱ-⁾₁-₎∠-∢⦛-⦯℘℮゛-゜𝟎-𝟡]|[^\\P{Mn}\u0001-¡]|[^\\P{Mc}\u0001-¡]|[^\\P{Nd}\u0001-¡]|[^\\P{Pc}\u0001-¡]|[^\\P{Sk}\u0001-¡]|[^\\P{Me}\u0001-¡]|[^\\P{No}\u0001-¡]|[′-‷⁗]|[^\\P{So}←-⇿])*(\\.))?((?:[[:alpha:]_\\p{Lu}\\p{Ll}\\p{Lt}\\p{Lm}\\p{Lo}\\p{Nl}\\p{Sc}⅀-⅄∿⊾⊿⊤⊥∂∅-∇∎∏∐∑∞∟∫-∳⋀-⋃◸-◿♯⟘⟙⟀⟁⦰-⦴⨀-⨆⨉-⨖⨛⨜𝛁𝛛𝛻𝜕𝜵𝝏𝝯𝞉𝞩𝟃ⁱ-⁾₁-₎∠-∢⦛-⦯℘℮゛-゜𝟎-𝟡]|[^\\P{So}←-⇿])(?:[[:word:]_!\\p{Lu}\\p{Ll}\\p{Lt}\\p{Lm}\\p{Lo}\\p{Nl}\\p{Sc}⅀-⅄∿⊾⊿⊤⊥∂∅-∇∎∏∐∑∞∟∫-∳⋀-⋃◸-◿♯⟘⟙⟀⟁⦰-⦴⨀-⨆⨉-⨖⨛⨜𝛁𝛛𝛻𝜕𝜵𝝏𝝯𝞉𝞩𝟃ⁱ-⁾₁-₎∠-∢⦛-⦯℘℮゛-゜𝟎-𝟡]|[^\\P{Mn}\u0001-¡]|[^\\P{Mc}\u0001-¡]|[^\\P{Nd}\u0001-¡]|[^\\P{Pc}\u0001-¡]|[^\\P{Sk}\u0001-¡]|[^\\P{Me}\u0001-¡]|[^\\P{No}\u0001-¡]|[′-‷⁗]|[^\\P{So}←-⇿])*)({(?:[^{}]|{(?:[^{}]|{[^{}]*})*})*})?|\\s*)(?=\\()",
|
|
229
|
+
comment: "similar regex to previous, but with keyword not 1-line syntax"
|
|
230
|
+
}
|
|
231
|
+
]
|
|
232
|
+
},
|
|
233
|
+
keyword: {
|
|
234
|
+
patterns: [
|
|
235
|
+
{
|
|
236
|
+
match: "\\b(?<![:_\\.])(?:function|mutable\\s+struct|struct|macro|quote|abstract\\s+type|primitive\\s+type|module|baremodule|where)\\b",
|
|
237
|
+
name: "keyword.other.julia"
|
|
238
|
+
},
|
|
239
|
+
{
|
|
240
|
+
comment: "special case for blocks to support tokenizing outer properly",
|
|
241
|
+
begin: "\\b(for)\\b",
|
|
242
|
+
beginCaptures: {
|
|
243
|
+
"0": {
|
|
244
|
+
name: "keyword.control.julia"
|
|
245
|
+
}
|
|
246
|
+
},
|
|
247
|
+
end: "(?<!,|\\s)(\\s*\\n)",
|
|
248
|
+
patterns: [
|
|
249
|
+
{
|
|
250
|
+
match: "\\bouter\\b",
|
|
251
|
+
name: "keyword.other.julia"
|
|
252
|
+
},
|
|
253
|
+
{
|
|
254
|
+
include: "$self"
|
|
255
|
+
}
|
|
256
|
+
]
|
|
257
|
+
},
|
|
258
|
+
{
|
|
259
|
+
match: "\\b(?<![:_])(?:if|else|elseif|while|begin|let|do|try|catch|finally|return|break|continue)\\b",
|
|
260
|
+
name: "keyword.control.julia"
|
|
261
|
+
},
|
|
262
|
+
{
|
|
263
|
+
match: "\\b(?<![:_])end\\b",
|
|
264
|
+
name: "keyword.control.end.julia"
|
|
265
|
+
},
|
|
266
|
+
{
|
|
267
|
+
match: "\\b(?<![:_])(?:global|local|const)\\b",
|
|
268
|
+
name: "keyword.storage.modifier.julia"
|
|
269
|
+
},
|
|
270
|
+
{
|
|
271
|
+
match: "\\b(?<![:_])(?:export)\\b",
|
|
272
|
+
name: "keyword.control.export.julia"
|
|
273
|
+
},
|
|
274
|
+
{
|
|
275
|
+
match: "\\b(?<![:_])(?:import)\\b",
|
|
276
|
+
name: "keyword.control.import.julia"
|
|
277
|
+
},
|
|
278
|
+
{
|
|
279
|
+
match: "\\b(?<![:_])(?:using)\\b",
|
|
280
|
+
name: "keyword.control.using.julia"
|
|
281
|
+
},
|
|
282
|
+
{
|
|
283
|
+
match: "(?<=\\w\\s)\\b(as)\\b(?=\\s\\w)",
|
|
284
|
+
name: "keyword.control.as.julia"
|
|
285
|
+
},
|
|
286
|
+
{
|
|
287
|
+
match: "(@(\\.|(?:[[:alpha:]_\\p{Lu}\\p{Ll}\\p{Lt}\\p{Lm}\\p{Lo}\\p{Nl}\\p{Sc}⅀-⅄∿⊾⊿⊤⊥∂∅-∇∎∏∐∑∞∟∫-∳⋀-⋃◸-◿♯⟘⟙⟀⟁⦰-⦴⨀-⨆⨉-⨖⨛⨜𝛁𝛛𝛻𝜕𝜵𝝏𝝯𝞉𝞩����ⁱ-⁾₁-₎∠-∢⦛-⦯℘℮゛-゜𝟎-𝟡]|[^\\P{So}←-⇿])(?:[[:word:]_!\\p{Lu}\\p{Ll}\\p{Lt}\\p{Lm}\\p{Lo}\\p{Nl}\\p{Sc}⅀-⅄∿⊾⊿⊤⊥∂∅-∇∎∏∐∑∞∟∫-∳⋀-⋃◸-◿♯⟘⟙⟀⟁⦰-⦴⨀-⨆⨉-⨖⨛⨜𝛁𝛛𝛻𝜕𝜵𝝏𝝯𝞉𝞩𝟃ⁱ-⁾₁-₎∠-∢⦛-⦯℘℮゛-゜𝟎-𝟡]|[^\\P{Mn}\u0001-¡]|[^\\P{Mc}\u0001-¡]|[^\\P{Nd}\u0001-¡]|[^\\P{Pc}\u0001-¡]|[^\\P{Sk}\u0001-¡]|[^\\P{Me}\u0001-¡]|[^\\P{No}\u0001-¡]|[′-‷⁗]|[^\\P{So}←-⇿])*))",
|
|
288
|
+
name: "support.function.macro.julia"
|
|
289
|
+
}
|
|
290
|
+
]
|
|
291
|
+
},
|
|
292
|
+
number: {
|
|
293
|
+
patterns: [
|
|
294
|
+
{
|
|
295
|
+
match: "((?<!(?:[[:word:]_!\\p{Lu}\\p{Ll}\\p{Lt}\\p{Lm}\\p{Lo}\\p{Nl}\\p{Sc}⅀-⅄∿⊾⊿⊤⊥∂∅-∇∎∏∐∑∞∟∫-∳⋀-⋃◸-◿♯⟘⟙⟀⟁⦰-⦴⨀-⨆⨉-⨖⨛⨜𝛁𝛛𝛻𝜕𝜵𝝏𝝯𝞉𝞩𝟃ⁱ-⁾₁-₎∠-∢⦛-⦯℘℮゛-゜𝟎-𝟡]|[^\\P{Mn}\u0001-¡]|[^\\P{Mc}\u0001-¡]|[^\\P{Nd}\u0001-¡]|[^\\P{Pc}\u0001-¡]|[^\\P{Sk}\u0001-¡]|[^\\P{Me}\u0001-¡]|[^\\P{No}\u0001-¡]|[′-‷⁗]|[^\\P{So}←-⇿]))(?:(?:\\b0(?:x|X)[0-9a-fA-F](?:_?[0-9a-fA-F])*)|(?:\\b0o[0-7](?:_?[0-7])*)|(?:\\b0b[0-1](?:_?[0-1])*)|(?:(?:\\b[0-9](?:_?[0-9])*\\.?(?!\\.)(?:[_0-9]*))|(?:\\b\\.[0-9](?:_?[0-9])*))(?:[efE][+-]?[0-9](?:_?[0-9])*)?(?:im\\b|Inf(?:16|32|64)?\\b|NaN(?:16|32|64)?\\b|π\\b|pi\\b|ℯ\\b)?|\\b[0-9]+|\\bInf(?:16|32|64)?\\b|\\bNaN(?:16|32|64)?\\b|\\bπ\\b|\\bpi\\b|\\bℯ\\b))('*)",
|
|
296
|
+
captures: {
|
|
297
|
+
"1": {
|
|
298
|
+
name: "constant.numeric.julia"
|
|
299
|
+
},
|
|
300
|
+
"2": {
|
|
301
|
+
name: "keyword.operator.conjugate-number.julia"
|
|
302
|
+
}
|
|
303
|
+
}
|
|
304
|
+
},
|
|
305
|
+
{
|
|
306
|
+
match: "\\bARGS\\b|\\bC_NULL\\b|\\bDEPOT_PATH\\b|\\bENDIAN_BOM\\b|\\bENV\\b|\\bLOAD_PATH\\b|\\bPROGRAM_FILE\\b|\\bstdin\\b|\\bstdout\\b|\\bstderr\\b|\\bVERSION\\b|\\bdevnull\\b",
|
|
307
|
+
name: "constant.global.julia"
|
|
308
|
+
},
|
|
309
|
+
{
|
|
310
|
+
match: "\\btrue\\b|\\bfalse\\b|\\bnothing\\b|\\bmissing\\b",
|
|
311
|
+
name: "constant.language.julia"
|
|
312
|
+
}
|
|
313
|
+
]
|
|
314
|
+
},
|
|
315
|
+
operator: {
|
|
316
|
+
patterns: [
|
|
317
|
+
{
|
|
318
|
+
match: "(?:->|<-|-->|=>)",
|
|
319
|
+
name: "keyword.operator.arrow.julia"
|
|
320
|
+
},
|
|
321
|
+
{
|
|
322
|
+
match: "(?::=|\\+=|-=|\\*=|//=|/=|\\.//=|\\./=|\\.\\*=|\\\\=|\\.\\\\=|\\^=|\\.\\^=|%=|\\.%=|÷=|\\.÷=|\\|=|&=|\\.&=|⊻=|\\.⊻=|\\$=|<<=|>>=|>>>=|=(?!=))",
|
|
323
|
+
name: "keyword.operator.update.julia"
|
|
324
|
+
},
|
|
325
|
+
{
|
|
326
|
+
match: "(?:<<|>>>|>>|\\.>>>|\\.>>|\\.<<)",
|
|
327
|
+
name: "keyword.operator.shift.julia"
|
|
328
|
+
},
|
|
329
|
+
{
|
|
330
|
+
match: "(?:\\s*(::|>:|<:)\\s*((?:(?:Union)?\\([^)]*\\)|[[:alpha:]_$∇][[:word:]⁺-ₜ!′\\.]*(?:(?:{(?:[^{}]|{(?:[^{}]|{[^{}]*})*})*})|(?:\".+?(?<!\\\\)\"))?)))(?:\\.\\.\\.)?",
|
|
331
|
+
captures: {
|
|
332
|
+
"1": {
|
|
333
|
+
name: "keyword.operator.relation.types.julia"
|
|
334
|
+
},
|
|
335
|
+
"2": {
|
|
336
|
+
name: "support.type.julia"
|
|
337
|
+
}
|
|
338
|
+
}
|
|
339
|
+
},
|
|
340
|
+
{
|
|
341
|
+
match: "(?:===|∈|\\.∈|∉|\\.∉|∋|\\.∋|∌|\\.∌|≈|\\.≈|≉|\\.≉|≠|\\.≠|≡|\\.≡|≢|\\.≢|⊆|\\.⊆|⊇|\\.⊇|⊈|\\.⊈|⊉|\\.⊉|⊊|\\.⊊|⊋|\\.⊋|\\.==|!==|!=|\\.>=|\\.>|\\.<=|\\.<|\\.≤|\\.≥|==|\\.!=|\\.=|\\.!|<:|>:|:>|(?<!>)>=|(?<!<)<=|>|<|≥|≤)",
|
|
342
|
+
name: "keyword.operator.relation.julia"
|
|
343
|
+
},
|
|
344
|
+
{
|
|
345
|
+
match: "(?<=\\s)(?:\\?)(?=\\s)",
|
|
346
|
+
name: "keyword.operator.ternary.julia"
|
|
347
|
+
},
|
|
348
|
+
{
|
|
349
|
+
match: "(?<=\\s)(?:\\:)(?=\\s)",
|
|
350
|
+
name: "keyword.operator.ternary.julia"
|
|
351
|
+
},
|
|
352
|
+
{
|
|
353
|
+
match: "(?:\\|\\||&&|(?<!(?:[[:word:]_!\\p{Lu}\\p{Ll}\\p{Lt}\\p{Lm}\\p{Lo}\\p{Nl}\\p{Sc}⅀-⅄∿⊾⊿⊤⊥∂∅-∇∎∏∐∑∞∟∫-∳⋀-⋃◸-◿♯⟘⟙⟀⟁⦰-⦴⨀-⨆⨉-⨖⨛⨜𝛁𝛛𝛻𝜕𝜵𝝏𝝯𝞉𝞩𝟃ⁱ-⁾₁-₎∠-∢⦛-⦯℘℮゛-゜𝟎-𝟡]|[^\\P{Mn}\u0001-¡]|[^\\P{Mc}\u0001-¡]|[^\\P{Nd}\u0001-¡]|[^\\P{Pc}\u0001-¡]|[^\\P{Sk}\u0001-¡]|[^\\P{Me}\u0001-¡]|[^\\P{No}\u0001-¡]|[′-‷⁗]|[^\\P{So}←-⇿]))!)",
|
|
354
|
+
name: "keyword.operator.boolean.julia"
|
|
355
|
+
},
|
|
356
|
+
{
|
|
357
|
+
match: "(?<=[[:word:]⁺-ₜ!′∇\\)\\]\\}])(?::)",
|
|
358
|
+
name: "keyword.operator.range.julia"
|
|
359
|
+
},
|
|
360
|
+
{
|
|
361
|
+
match: "(?:\\|>)",
|
|
362
|
+
name: "keyword.operator.applies.julia"
|
|
363
|
+
},
|
|
364
|
+
{
|
|
365
|
+
match: "(?:\\||\\.\\||\\&|\\.\\&|~|\\.~|⊻|\\.⊻)",
|
|
366
|
+
name: "keyword.operator.bitwise.julia"
|
|
367
|
+
},
|
|
368
|
+
{
|
|
369
|
+
match: "(?:\\+\\+|--|\\+|\\.\\+|-|\\.\\-|\\*|\\.\\*|//(?!=)|\\.//(?!=)|/|\\./|%|\\.%|\\\\|\\.\\\\|\\^|\\.\\^|÷|\\.÷|⋅|\\.⋅|∩|\\.∩|∪|\\.∪|×|√|∛)",
|
|
370
|
+
name: "keyword.operator.arithmetic.julia"
|
|
371
|
+
},
|
|
372
|
+
{
|
|
373
|
+
match: "(?:∘)",
|
|
374
|
+
name: "keyword.operator.compose.julia"
|
|
375
|
+
},
|
|
376
|
+
{
|
|
377
|
+
match: "(?:::|(?<=\\s)isa(?=\\s))",
|
|
378
|
+
name: "keyword.operator.isa.julia"
|
|
379
|
+
},
|
|
380
|
+
{
|
|
381
|
+
match: "(?:(?<=\\s)in(?=\\s))",
|
|
382
|
+
name: "keyword.operator.relation.in.julia"
|
|
383
|
+
},
|
|
384
|
+
{
|
|
385
|
+
match: "(?:\\.(?=(?:@|_|\\p{L}))|\\.\\.+)",
|
|
386
|
+
name: "keyword.operator.dots.julia"
|
|
387
|
+
},
|
|
388
|
+
{
|
|
389
|
+
match: "(?:\\$)(?=.+)",
|
|
390
|
+
name: "keyword.operator.interpolation.julia"
|
|
391
|
+
},
|
|
392
|
+
{
|
|
393
|
+
captures: {
|
|
394
|
+
"2": {
|
|
395
|
+
name: "keyword.operator.transposed-variable.julia"
|
|
396
|
+
}
|
|
397
|
+
},
|
|
398
|
+
match: "((?:[[:alpha:]_\\p{Lu}\\p{Ll}\\p{Lt}\\p{Lm}\\p{Lo}\\p{Nl}\\p{Sc}⅀-⅄∿⊾⊿⊤⊥∂∅-∇∎∏∐∑∞∟∫-∳⋀-⋃◸-◿♯⟘⟙⟀⟁⦰-⦴⨀-⨆⨉-⨖⨛⨜𝛁𝛛𝛻𝜕𝜵𝝏𝝯𝞉𝞩𝟃ⁱ-⁾₁-₎∠-∢⦛-⦯℘℮゛-゜𝟎-𝟡]|[^\\P{So}←-⇿])(?:[[:word:]_!\\p{Lu}\\p{Ll}\\p{Lt}\\p{Lm}\\p{Lo}\\p{Nl}\\p{Sc}⅀-⅄∿⊾⊿⊤⊥∂∅-∇∎∏∐∑∞∟∫-∳⋀-⋃◸-◿♯⟘⟙⟀⟁⦰-⦴⨀-⨆⨉-⨖⨛⨜𝛁𝛛𝛻𝜕𝜵𝝏𝝯𝞉𝞩𝟃ⁱ-⁾₁-₎∠-∢⦛-⦯℘℮゛-゜𝟎-𝟡]|[^\\P{Mn}\u0001-¡]|[^\\P{Mc}\u0001-¡]|[^\\P{Nd}\u0001-¡]|[^\\P{Pc}\u0001-¡]|[^\\P{Sk}\u0001-¡]|[^\\P{Me}\u0001-¡]|[^\\P{No}\u0001-¡]|[′-‷⁗]|[^\\P{So}←-⇿])*)(('|(\\.'))*\\.?')"
|
|
399
|
+
},
|
|
400
|
+
{
|
|
401
|
+
captures: {
|
|
402
|
+
"1": {
|
|
403
|
+
name: "bracket.end.julia"
|
|
404
|
+
},
|
|
405
|
+
"2": {
|
|
406
|
+
name: "keyword.operator.transposed-matrix.julia"
|
|
407
|
+
}
|
|
408
|
+
},
|
|
409
|
+
match: "(\\])((?:'|(?:\\.'))*\\.?')"
|
|
410
|
+
},
|
|
411
|
+
{
|
|
412
|
+
captures: {
|
|
413
|
+
"1": {
|
|
414
|
+
name: "bracket.end.julia"
|
|
415
|
+
},
|
|
416
|
+
"2": {
|
|
417
|
+
name: "keyword.operator.transposed-parens.julia"
|
|
418
|
+
}
|
|
419
|
+
},
|
|
420
|
+
match: "(\\))((?:'|(?:\\.'))*\\.?')"
|
|
421
|
+
}
|
|
422
|
+
]
|
|
423
|
+
},
|
|
424
|
+
string: {
|
|
425
|
+
patterns: [
|
|
426
|
+
{
|
|
427
|
+
begin: "(?:(@doc)\\s((?:doc)?\"\"\")|(doc\"\"\"))",
|
|
428
|
+
beginCaptures: {
|
|
429
|
+
"1": {
|
|
430
|
+
name: "support.function.macro.julia"
|
|
431
|
+
},
|
|
432
|
+
"2": {
|
|
433
|
+
name: "punctuation.definition.string.begin.julia"
|
|
434
|
+
}
|
|
435
|
+
},
|
|
436
|
+
end: "(\"\"\") ?(->)?",
|
|
437
|
+
endCaptures: {
|
|
438
|
+
"1": {
|
|
439
|
+
name: "punctuation.definition.string.end.julia"
|
|
440
|
+
},
|
|
441
|
+
"2": {
|
|
442
|
+
name: "keyword.operator.arrow.julia"
|
|
443
|
+
}
|
|
444
|
+
},
|
|
445
|
+
name: "string.docstring.julia",
|
|
446
|
+
patterns: [
|
|
447
|
+
{
|
|
448
|
+
include: "#string_escaped_char"
|
|
449
|
+
},
|
|
450
|
+
{
|
|
451
|
+
include: "#string_dollar_sign_interpolate"
|
|
452
|
+
}
|
|
453
|
+
]
|
|
454
|
+
},
|
|
455
|
+
{
|
|
456
|
+
begin: "(i?cxx)(\"\"\")",
|
|
457
|
+
beginCaptures: {
|
|
458
|
+
"1": {
|
|
459
|
+
name: "support.function.macro.julia"
|
|
460
|
+
},
|
|
461
|
+
"2": {
|
|
462
|
+
name: "punctuation.definition.string.begin.julia"
|
|
463
|
+
}
|
|
464
|
+
},
|
|
465
|
+
end: "\"\"\"",
|
|
466
|
+
endCaptures: {
|
|
467
|
+
"0": {
|
|
468
|
+
name: "punctuation.definition.string.end.julia"
|
|
469
|
+
}
|
|
470
|
+
},
|
|
471
|
+
name: "embed.cxx.julia",
|
|
472
|
+
contentName: "meta.embedded.inline.cpp",
|
|
473
|
+
patterns: [
|
|
474
|
+
{
|
|
475
|
+
include: "source.cpp#root_context"
|
|
476
|
+
},
|
|
477
|
+
{
|
|
478
|
+
include: "#string_dollar_sign_interpolate"
|
|
479
|
+
}
|
|
480
|
+
]
|
|
481
|
+
},
|
|
482
|
+
{
|
|
483
|
+
begin: "(py)(\"\"\")",
|
|
484
|
+
beginCaptures: {
|
|
485
|
+
"1": {
|
|
486
|
+
name: "support.function.macro.julia"
|
|
487
|
+
},
|
|
488
|
+
"2": {
|
|
489
|
+
name: "punctuation.definition.string.begin.julia"
|
|
490
|
+
}
|
|
491
|
+
},
|
|
492
|
+
end: "([\\s\\w]*)(\"\"\")",
|
|
493
|
+
endCaptures: {
|
|
494
|
+
"2": {
|
|
495
|
+
name: "punctuation.definition.string.end.julia"
|
|
496
|
+
}
|
|
497
|
+
},
|
|
498
|
+
name: "embed.python.julia",
|
|
499
|
+
contentName: "meta.embedded.inline.python",
|
|
500
|
+
patterns: [
|
|
501
|
+
{
|
|
502
|
+
include: "source.python"
|
|
503
|
+
},
|
|
504
|
+
{
|
|
505
|
+
include: "#string_dollar_sign_interpolate"
|
|
506
|
+
}
|
|
507
|
+
]
|
|
508
|
+
},
|
|
509
|
+
{
|
|
510
|
+
begin: "(js)(\"\"\")",
|
|
511
|
+
beginCaptures: {
|
|
512
|
+
"1": {
|
|
513
|
+
name: "support.function.macro.julia"
|
|
514
|
+
},
|
|
515
|
+
"2": {
|
|
516
|
+
name: "punctuation.definition.string.begin.julia"
|
|
517
|
+
}
|
|
518
|
+
},
|
|
519
|
+
end: "\"\"\"",
|
|
520
|
+
endCaptures: {
|
|
521
|
+
"0": {
|
|
522
|
+
name: "punctuation.definition.string.end.julia"
|
|
523
|
+
}
|
|
524
|
+
},
|
|
525
|
+
name: "embed.js.julia",
|
|
526
|
+
contentName: "meta.embedded.inline.javascript",
|
|
527
|
+
patterns: [
|
|
528
|
+
{
|
|
529
|
+
include: "source.js"
|
|
530
|
+
},
|
|
531
|
+
{
|
|
532
|
+
include: "#string_dollar_sign_interpolate"
|
|
533
|
+
}
|
|
534
|
+
]
|
|
535
|
+
},
|
|
536
|
+
{
|
|
537
|
+
begin: "(R)(\"\"\")",
|
|
538
|
+
beginCaptures: {
|
|
539
|
+
"1": {
|
|
540
|
+
name: "support.function.macro.julia"
|
|
541
|
+
},
|
|
542
|
+
"2": {
|
|
543
|
+
name: "punctuation.definition.string.begin.julia"
|
|
544
|
+
}
|
|
545
|
+
},
|
|
546
|
+
end: "\"\"\"",
|
|
547
|
+
endCaptures: {
|
|
548
|
+
"0": {
|
|
549
|
+
name: "punctuation.definition.string.end.julia"
|
|
550
|
+
}
|
|
551
|
+
},
|
|
552
|
+
name: "embed.R.julia",
|
|
553
|
+
contentName: "meta.embedded.inline.r",
|
|
554
|
+
patterns: [
|
|
555
|
+
{
|
|
556
|
+
include: "source.r"
|
|
557
|
+
},
|
|
558
|
+
{
|
|
559
|
+
include: "#string_dollar_sign_interpolate"
|
|
560
|
+
}
|
|
561
|
+
]
|
|
562
|
+
},
|
|
563
|
+
{
|
|
564
|
+
begin: "(raw)(\"\"\")",
|
|
565
|
+
beginCaptures: {
|
|
566
|
+
"1": {
|
|
567
|
+
name: "support.function.macro.julia"
|
|
568
|
+
},
|
|
569
|
+
"2": {
|
|
570
|
+
name: "punctuation.definition.string.begin.julia"
|
|
571
|
+
}
|
|
572
|
+
},
|
|
573
|
+
end: "\"\"\"",
|
|
574
|
+
name: "string.quoted.other.julia",
|
|
575
|
+
endCaptures: {
|
|
576
|
+
"0": {
|
|
577
|
+
name: "punctuation.definition.string.end.julia"
|
|
578
|
+
}
|
|
579
|
+
}
|
|
580
|
+
},
|
|
581
|
+
{
|
|
582
|
+
begin: "(raw)(\")",
|
|
583
|
+
beginCaptures: {
|
|
584
|
+
"1": {
|
|
585
|
+
name: "support.function.macro.julia"
|
|
586
|
+
},
|
|
587
|
+
"2": {
|
|
588
|
+
name: "punctuation.definition.string.begin.julia"
|
|
589
|
+
}
|
|
590
|
+
},
|
|
591
|
+
end: "\"",
|
|
592
|
+
name: "string.quoted.other.julia",
|
|
593
|
+
endCaptures: {
|
|
594
|
+
"0": {
|
|
595
|
+
name: "punctuation.definition.string.end.julia"
|
|
596
|
+
}
|
|
597
|
+
}
|
|
598
|
+
},
|
|
599
|
+
{
|
|
600
|
+
begin: "(sql)(\"\"\")",
|
|
601
|
+
beginCaptures: {
|
|
602
|
+
"1": {
|
|
603
|
+
name: "support.function.macro.julia"
|
|
604
|
+
},
|
|
605
|
+
"2": {
|
|
606
|
+
name: "punctuation.definition.string.begin.julia"
|
|
607
|
+
}
|
|
608
|
+
},
|
|
609
|
+
end: "\"\"\"",
|
|
610
|
+
endCaptures: {
|
|
611
|
+
"0": {
|
|
612
|
+
name: "punctuation.definition.string.end.julia"
|
|
613
|
+
}
|
|
614
|
+
},
|
|
615
|
+
name: "embed.sql.julia",
|
|
616
|
+
contentName: "meta.embedded.inline.sql",
|
|
617
|
+
patterns: [
|
|
618
|
+
{
|
|
619
|
+
include: "source.sql"
|
|
620
|
+
},
|
|
621
|
+
{
|
|
622
|
+
include: "#string_dollar_sign_interpolate"
|
|
623
|
+
}
|
|
624
|
+
]
|
|
625
|
+
},
|
|
626
|
+
{
|
|
627
|
+
begin: "var\"\"\"",
|
|
628
|
+
end: "\"\"\"",
|
|
629
|
+
name: "constant.other.symbol.julia"
|
|
630
|
+
},
|
|
631
|
+
{
|
|
632
|
+
begin: "var\"",
|
|
633
|
+
end: "\"",
|
|
634
|
+
name: "constant.other.symbol.julia"
|
|
635
|
+
},
|
|
636
|
+
{
|
|
637
|
+
begin: "^\\s?(doc)?(\"\"\")\\s?$",
|
|
638
|
+
beginCaptures: {
|
|
639
|
+
"1": {
|
|
640
|
+
name: "support.function.macro.julia"
|
|
641
|
+
},
|
|
642
|
+
"2": {
|
|
643
|
+
name: "punctuation.definition.string.begin.julia"
|
|
644
|
+
}
|
|
645
|
+
},
|
|
646
|
+
end: "(\"\"\")",
|
|
647
|
+
endCaptures: {
|
|
648
|
+
"1": {
|
|
649
|
+
name: "punctuation.definition.string.end.julia"
|
|
650
|
+
}
|
|
651
|
+
},
|
|
652
|
+
name: "string.docstring.julia",
|
|
653
|
+
comment: "This only matches docstrings that start and end with triple quotes on\ntheir own line in the void",
|
|
654
|
+
patterns: [
|
|
655
|
+
{
|
|
656
|
+
include: "#string_escaped_char"
|
|
657
|
+
},
|
|
658
|
+
{
|
|
659
|
+
include: "#string_dollar_sign_interpolate"
|
|
660
|
+
}
|
|
661
|
+
]
|
|
662
|
+
},
|
|
663
|
+
{
|
|
664
|
+
begin: "'",
|
|
665
|
+
beginCaptures: {
|
|
666
|
+
"0": {
|
|
667
|
+
name: "punctuation.definition.string.begin.julia"
|
|
668
|
+
}
|
|
669
|
+
},
|
|
670
|
+
end: "'(?!')",
|
|
671
|
+
endCaptures: {
|
|
672
|
+
"0": {
|
|
673
|
+
name: "punctuation.definition.string.end.julia"
|
|
674
|
+
}
|
|
675
|
+
},
|
|
676
|
+
name: "string.quoted.single.julia",
|
|
677
|
+
patterns: [
|
|
678
|
+
{
|
|
679
|
+
include: "#string_escaped_char"
|
|
680
|
+
}
|
|
681
|
+
]
|
|
682
|
+
},
|
|
683
|
+
{
|
|
684
|
+
begin: "\"\"\"",
|
|
685
|
+
beginCaptures: {
|
|
686
|
+
"0": {
|
|
687
|
+
name: "punctuation.definition.string.multiline.begin.julia"
|
|
688
|
+
}
|
|
689
|
+
},
|
|
690
|
+
end: "\"\"\"",
|
|
691
|
+
endCaptures: {
|
|
692
|
+
"0": {
|
|
693
|
+
name: "punctuation.definition.string.multiline.end.julia"
|
|
694
|
+
}
|
|
695
|
+
},
|
|
696
|
+
name: "string.quoted.triple.double.julia",
|
|
697
|
+
comment: "multi-line string with triple double quotes",
|
|
698
|
+
patterns: [
|
|
699
|
+
{
|
|
700
|
+
include: "#string_escaped_char"
|
|
701
|
+
},
|
|
702
|
+
{
|
|
703
|
+
include: "#string_dollar_sign_interpolate"
|
|
704
|
+
}
|
|
705
|
+
]
|
|
706
|
+
},
|
|
707
|
+
{
|
|
708
|
+
name: "string.quoted.double.julia",
|
|
709
|
+
begin: "\"(?!\"\")",
|
|
710
|
+
beginCaptures: {
|
|
711
|
+
"0": {
|
|
712
|
+
name: "punctuation.definition.string.begin.julia"
|
|
713
|
+
}
|
|
714
|
+
},
|
|
715
|
+
end: "\"",
|
|
716
|
+
endCaptures: {
|
|
717
|
+
"0": {
|
|
718
|
+
name: "punctuation.definition.string.end.julia"
|
|
719
|
+
}
|
|
720
|
+
},
|
|
721
|
+
comment: "String with single pair of double quotes. Regex matches isolated double quote",
|
|
722
|
+
patterns: [
|
|
723
|
+
{
|
|
724
|
+
include: "#string_escaped_char"
|
|
725
|
+
},
|
|
726
|
+
{
|
|
727
|
+
include: "#string_dollar_sign_interpolate"
|
|
728
|
+
}
|
|
729
|
+
]
|
|
730
|
+
},
|
|
731
|
+
{
|
|
732
|
+
begin: "r\"\"\"",
|
|
733
|
+
beginCaptures: {
|
|
734
|
+
"0": {
|
|
735
|
+
name: "punctuation.definition.string.regexp.begin.julia"
|
|
736
|
+
}
|
|
737
|
+
},
|
|
738
|
+
end: "(\"\"\")([imsx]{0,4})?",
|
|
739
|
+
endCaptures: {
|
|
740
|
+
"1": {
|
|
741
|
+
name: "punctuation.definition.string.regexp.end.julia"
|
|
742
|
+
},
|
|
743
|
+
"2": {
|
|
744
|
+
comment: "I took this scope name from python regex grammar",
|
|
745
|
+
name: "keyword.other.option-toggle.regexp.julia"
|
|
746
|
+
}
|
|
747
|
+
},
|
|
748
|
+
name: "string.regexp.julia",
|
|
749
|
+
patterns: [
|
|
750
|
+
{
|
|
751
|
+
include: "#string_escaped_char"
|
|
752
|
+
}
|
|
753
|
+
]
|
|
754
|
+
},
|
|
755
|
+
{
|
|
756
|
+
begin: "r\"",
|
|
757
|
+
beginCaptures: {
|
|
758
|
+
"0": {
|
|
759
|
+
name: "punctuation.definition.string.regexp.begin.julia"
|
|
760
|
+
}
|
|
761
|
+
},
|
|
762
|
+
end: "(\")([imsx]{0,4})?",
|
|
763
|
+
endCaptures: {
|
|
764
|
+
"1": {
|
|
765
|
+
name: "punctuation.definition.string.regexp.end.julia"
|
|
766
|
+
},
|
|
767
|
+
"2": {
|
|
768
|
+
comment: "I took this scope name from python regex grammar",
|
|
769
|
+
name: "keyword.other.option-toggle.regexp.julia"
|
|
770
|
+
}
|
|
771
|
+
},
|
|
772
|
+
name: "string.regexp.julia",
|
|
773
|
+
patterns: [
|
|
774
|
+
{
|
|
775
|
+
include: "#string_escaped_char"
|
|
776
|
+
}
|
|
777
|
+
]
|
|
778
|
+
},
|
|
779
|
+
{
|
|
780
|
+
begin: "(?<!\")((?:[[:alpha:]_\\p{Lu}\\p{Ll}\\p{Lt}\\p{Lm}\\p{Lo}\\p{Nl}\\p{Sc}⅀-⅄∿⊾⊿⊤⊥∂∅-∇∎∏∐∑∞∟∫-∳⋀-⋃◸-◿♯⟘⟙⟀⟁⦰-⦴⨀-⨆⨉-⨖⨛⨜𝛁𝛛𝛻𝜕𝜵𝝏𝝯𝞉𝞩𝟃ⁱ-⁾₁-₎∠-∢⦛-⦯℘℮゛-゜𝟎-𝟡]|[^\\P{So}←-⇿])(?:[[:word:]_!\\p{Lu}\\p{Ll}\\p{Lt}\\p{Lm}\\p{Lo}\\p{Nl}\\p{Sc}⅀-⅄∿⊾⊿⊤⊥∂∅-∇∎∏∐∑∞∟∫-∳⋀-⋃◸-◿♯⟘⟙⟀⟁⦰-⦴⨀-⨆⨉-⨖⨛⨜𝛁𝛛𝛻𝜕𝜵𝝏𝝯𝞉𝞩𝟃ⁱ-⁾₁-₎∠-∢⦛-⦯℘℮゛-゜𝟎-𝟡]|[^\\P{Mn}\u0001-¡]|[^\\P{Mc}\u0001-¡]|[^\\P{Nd}\u0001-¡]|[^\\P{Pc}\u0001-¡]|[^\\P{Sk}\u0001-¡]|[^\\P{Me}\u0001-¡]|[^\\P{No}\u0001-¡]|[′-‷⁗]|[^\\P{So}←-⇿])*)\"\"\"",
|
|
781
|
+
beginCaptures: {
|
|
782
|
+
"0": {
|
|
783
|
+
name: "punctuation.definition.string.begin.julia"
|
|
784
|
+
},
|
|
785
|
+
"1": {
|
|
786
|
+
name: "support.function.macro.julia"
|
|
787
|
+
}
|
|
788
|
+
},
|
|
789
|
+
end: "(\"\"\")((?:[[:alpha:]_\\p{Lu}\\p{Ll}\\p{Lt}\\p{Lm}\\p{Lo}\\p{Nl}\\p{Sc}⅀-⅄∿⊾⊿⊤⊥∂∅-∇∎∏∐∑∞∟∫-∳⋀-⋃◸-◿♯⟘⟙⟀⟁⦰-⦴⨀-⨆⨉-⨖⨛⨜𝛁𝛛𝛻𝜕𝜵𝝏𝝯𝞉𝞩𝟃ⁱ-⁾₁-₎∠-∢⦛-⦯℘℮゛-゜𝟎-𝟡]|[^\\P{So}←-⇿])(?:[[:word:]_!\\p{Lu}\\p{Ll}\\p{Lt}\\p{Lm}\\p{Lo}\\p{Nl}\\p{Sc}⅀-⅄∿⊾⊿⊤⊥∂∅-∇∎∏∐∑∞∟∫-∳⋀-⋃◸-◿♯⟘⟙⟀⟁⦰-⦴⨀-⨆⨉-⨖⨛⨜𝛁𝛛𝛻𝜕𝜵𝝏𝝯𝞉𝞩𝟃ⁱ-⁾₁-₎∠-∢⦛-⦯℘℮゛-゜𝟎-𝟡]|[^\\P{Mn}\u0001-¡]|[^\\P{Mc}\u0001-¡]|[^\\P{Nd}\u0001-¡]|[^\\P{Pc}\u0001-¡]|[^\\P{Sk}\u0001-¡]|[^\\P{Me}\u0001-¡]|[^\\P{No}\u0001-¡]|[′-‷⁗]|[^\\P{So}←-⇿])*)?",
|
|
790
|
+
endCaptures: {
|
|
791
|
+
"1": {
|
|
792
|
+
name: "punctuation.definition.string.end.julia"
|
|
793
|
+
},
|
|
794
|
+
"2": {
|
|
795
|
+
name: "support.function.macro.julia"
|
|
796
|
+
}
|
|
797
|
+
},
|
|
798
|
+
name: "string.quoted.other.julia",
|
|
799
|
+
patterns: [
|
|
800
|
+
{
|
|
801
|
+
include: "#string_escaped_char"
|
|
802
|
+
}
|
|
803
|
+
]
|
|
804
|
+
},
|
|
805
|
+
{
|
|
806
|
+
begin: "(?<!\")((?:[[:alpha:]_\\p{Lu}\\p{Ll}\\p{Lt}\\p{Lm}\\p{Lo}\\p{Nl}\\p{Sc}⅀-⅄∿⊾⊿⊤⊥∂∅-∇∎∏∐∑∞∟∫-∳⋀-⋃◸-◿♯⟘⟙⟀⟁⦰-⦴⨀-⨆⨉-⨖⨛⨜𝛁𝛛𝛻𝜕𝜵𝝏𝝯𝞉𝞩𝟃ⁱ-⁾₁-₎∠-∢⦛-⦯℘℮゛-゜𝟎-𝟡]|[^\\P{So}←-⇿])(?:[[:word:]_!\\p{Lu}\\p{Ll}\\p{Lt}\\p{Lm}\\p{Lo}\\p{Nl}\\p{Sc}⅀-⅄∿⊾⊿⊤⊥∂∅-∇∎∏∐∑∞∟∫-∳⋀-⋃◸-◿♯⟘⟙⟀⟁⦰-⦴⨀-⨆⨉-⨖⨛⨜𝛁𝛛𝛻𝜕𝜵𝝏𝝯𝞉𝞩𝟃ⁱ-⁾₁-₎∠-∢⦛-⦯℘℮゛-゜𝟎-𝟡]|[^\\P{Mn}\u0001-¡]|[^\\P{Mc}\u0001-¡]|[^\\P{Nd}\u0001-¡]|[^\\P{Pc}\u0001-¡]|[^\\P{Sk}\u0001-¡]|[^\\P{Me}\u0001-¡]|[^\\P{No}\u0001-¡]|[′-‷⁗]|[^\\P{So}←-⇿])*)\"",
|
|
807
|
+
beginCaptures: {
|
|
808
|
+
"0": {
|
|
809
|
+
name: "punctuation.definition.string.begin.julia"
|
|
810
|
+
},
|
|
811
|
+
"1": {
|
|
812
|
+
name: "support.function.macro.julia"
|
|
813
|
+
}
|
|
814
|
+
},
|
|
815
|
+
end: "(?<![^\\\\]\\\\)(\")((?:[[:alpha:]_\\p{Lu}\\p{Ll}\\p{Lt}\\p{Lm}\\p{Lo}\\p{Nl}\\p{Sc}⅀-⅄∿⊾⊿⊤⊥∂∅-∇∎∏∐∑∞∟∫-∳⋀-⋃◸-◿♯⟘⟙⟀⟁⦰-⦴⨀-⨆⨉-⨖⨛⨜𝛁𝛛𝛻𝜕𝜵𝝏𝝯𝞉𝞩𝟃ⁱ-⁾₁-₎∠-∢⦛-⦯℘℮゛-゜𝟎-𝟡]|[^\\P{So}←-⇿])(?:[[:word:]_!\\p{Lu}\\p{Ll}\\p{Lt}\\p{Lm}\\p{Lo}\\p{Nl}\\p{Sc}⅀-⅄∿⊾⊿⊤⊥∂∅-∇∎∏∐∑∞∟∫-∳⋀-⋃◸-◿♯⟘⟙⟀⟁⦰-⦴⨀-⨆⨉-⨖⨛⨜𝛁𝛛𝛻𝜕𝜵𝝏𝝯𝞉𝞩𝟃ⁱ-⁾₁-₎∠-∢⦛-⦯℘℮゛-゜𝟎-𝟡]|[^\\P{Mn}\u0001-¡]|[^\\P{Mc}\u0001-¡]|[^\\P{Nd}\u0001-¡]|[^\\P{Pc}\u0001-¡]|[^\\P{Sk}\u0001-¡]|[^\\P{Me}\u0001-¡]|[^\\P{No}\u0001-¡]|[′-‷⁗]|[^\\P{So}←-⇿])*)?",
|
|
816
|
+
endCaptures: {
|
|
817
|
+
"1": {
|
|
818
|
+
name: "punctuation.definition.string.end.julia"
|
|
819
|
+
},
|
|
820
|
+
"2": {
|
|
821
|
+
name: "support.function.macro.julia"
|
|
822
|
+
}
|
|
823
|
+
},
|
|
824
|
+
name: "string.quoted.other.julia",
|
|
825
|
+
patterns: [
|
|
826
|
+
{
|
|
827
|
+
include: "#string_escaped_char"
|
|
828
|
+
}
|
|
829
|
+
]
|
|
830
|
+
},
|
|
831
|
+
{
|
|
832
|
+
begin: "(?<!`)((?:[[:alpha:]_\\p{Lu}\\p{Ll}\\p{Lt}\\p{Lm}\\p{Lo}\\p{Nl}\\p{Sc}⅀-⅄∿⊾⊿⊤⊥∂∅-∇∎∏∐∑∞∟∫-∳⋀-⋃◸-◿♯⟘⟙⟀⟁⦰-⦴⨀-⨆⨉-⨖⨛⨜𝛁𝛛𝛻𝜕𝜵𝝏𝝯𝞉𝞩𝟃ⁱ-⁾₁-₎∠-∢⦛-⦯℘℮゛-゜𝟎-𝟡]|[^\\P{So}←-⇿])(?:[[:word:]_!\\p{Lu}\\p{Ll}\\p{Lt}\\p{Lm}\\p{Lo}\\p{Nl}\\p{Sc}⅀-⅄∿⊾⊿⊤⊥∂∅-∇∎∏∐∑∞∟∫-∳⋀-⋃◸-◿♯⟘⟙⟀⟁⦰-⦴⨀-⨆⨉-⨖⨛⨜𝛁𝛛𝛻𝜕𝜵𝝏𝝯𝞉𝞩𝟃ⁱ-⁾₁-₎∠-∢⦛-⦯℘℮゛-゜𝟎-𝟡]|[^\\P{Mn}\u0001-¡]|[^\\P{Mc}\u0001-¡]|[^\\P{Nd}\u0001-¡]|[^\\P{Pc}\u0001-¡]|[^\\P{Sk}\u0001-¡]|[^\\P{Me}\u0001-¡]|[^\\P{No}\u0001-¡]|[′-‷⁗]|[^\\P{So}←-⇿])*)?```",
|
|
833
|
+
beginCaptures: {
|
|
834
|
+
"0": {
|
|
835
|
+
name: "punctuation.definition.string.begin.julia"
|
|
836
|
+
},
|
|
837
|
+
"1": {
|
|
838
|
+
name: "support.function.macro.julia"
|
|
839
|
+
}
|
|
840
|
+
},
|
|
841
|
+
end: "(```)((?:[[:alpha:]_\\p{Lu}\\p{Ll}\\p{Lt}\\p{Lm}\\p{Lo}\\p{Nl}\\p{Sc}⅀-⅄∿⊾⊿⊤⊥∂∅-∇∎∏∐∑∞∟∫-∳⋀-⋃◸-◿♯⟘⟙⟀⟁⦰-⦴⨀-⨆⨉-⨖⨛⨜𝛁𝛛𝛻𝜕𝜵𝝏𝝯𝞉𝞩𝟃ⁱ-⁾₁-₎∠-∢⦛-⦯℘℮゛-゜𝟎-𝟡]|[^\\P{So}←-⇿])(?:[[:word:]_!\\p{Lu}\\p{Ll}\\p{Lt}\\p{Lm}\\p{Lo}\\p{Nl}\\p{Sc}⅀-⅄∿⊾⊿⊤⊥∂∅-∇∎∏∐∑∞∟∫-∳⋀-⋃◸-◿♯⟘⟙⟀⟁⦰-⦴⨀-⨆⨉-⨖⨛⨜𝛁��𝛻𝜕𝜵𝝏𝝯𝞉𝞩𝟃ⁱ-⁾₁-₎∠-∢⦛-⦯℘℮゛-゜𝟎-𝟡]|[^\\P{Mn}\u0001-¡]|[^\\P{Mc}\u0001-¡]|[^\\P{Nd}\u0001-¡]|[^\\P{Pc}\u0001-¡]|[^\\P{Sk}\u0001-¡]|[^\\P{Me}\u0001-¡]|[^\\P{No}\u0001-¡]|[′-‷⁗]|[^\\P{So}←-⇿])*)?",
|
|
842
|
+
endCaptures: {
|
|
843
|
+
"1": {
|
|
844
|
+
name: "punctuation.definition.string.end.julia"
|
|
845
|
+
},
|
|
846
|
+
"2": {
|
|
847
|
+
name: "support.function.macro.julia"
|
|
848
|
+
}
|
|
849
|
+
},
|
|
850
|
+
name: "string.interpolated.backtick.julia",
|
|
851
|
+
patterns: [
|
|
852
|
+
{
|
|
853
|
+
include: "#string_escaped_char"
|
|
854
|
+
}
|
|
855
|
+
]
|
|
856
|
+
},
|
|
857
|
+
{
|
|
858
|
+
begin: "(?<!`)((?:[[:alpha:]_\\p{Lu}\\p{Ll}\\p{Lt}\\p{Lm}\\p{Lo}\\p{Nl}\\p{Sc}⅀-⅄∿⊾⊿⊤⊥∂∅-∇∎∏∐∑∞∟∫-∳⋀-⋃◸-◿♯⟘⟙⟀⟁⦰-⦴⨀-⨆⨉-⨖⨛⨜𝛁𝛛𝛻𝜕𝜵𝝏𝝯𝞉𝞩𝟃ⁱ-⁾₁-₎∠-∢⦛-⦯℘℮゛-゜𝟎-𝟡]|[^\\P{So}←-⇿])(?:[[:word:]_!\\p{Lu}\\p{Ll}\\p{Lt}\\p{Lm}\\p{Lo}\\p{Nl}\\p{Sc}⅀-⅄∿⊾⊿⊤⊥∂∅-∇∎∏∐∑∞∟∫-∳⋀-⋃◸-◿♯⟘⟙⟀⟁⦰-⦴⨀-⨆⨉-⨖⨛⨜𝛁𝛛𝛻𝜕𝜵𝝏𝝯𝞉𝞩𝟃ⁱ-⁾₁-₎∠-∢⦛-⦯℘℮゛-゜𝟎-𝟡]|[^\\P{Mn}\u0001-¡]|[^\\P{Mc}\u0001-¡]|[^\\P{Nd}\u0001-¡]|[^\\P{Pc}\u0001-¡]|[^\\P{Sk}\u0001-¡]|[^\\P{Me}\u0001-¡]|[^\\P{No}\u0001-¡]|[′-‷⁗]|[^\\P{So}←-⇿])*)?`",
|
|
859
|
+
beginCaptures: {
|
|
860
|
+
"0": {
|
|
861
|
+
name: "punctuation.definition.string.begin.julia"
|
|
862
|
+
},
|
|
863
|
+
"1": {
|
|
864
|
+
name: "support.function.macro.julia"
|
|
865
|
+
}
|
|
866
|
+
},
|
|
867
|
+
end: "(?<![^\\\\]\\\\)(`)((?:[[:alpha:]_\\p{Lu}\\p{Ll}\\p{Lt}\\p{Lm}\\p{Lo}\\p{Nl}\\p{Sc}⅀-⅄∿⊾⊿⊤⊥∂∅-∇∎∏∐∑∞∟∫-∳⋀-⋃◸-◿♯⟘⟙⟀⟁⦰-⦴⨀-⨆⨉-⨖⨛⨜𝛁𝛛𝛻𝜕𝜵𝝏𝝯𝞉𝞩𝟃ⁱ-⁾₁-₎∠-∢⦛-⦯℘℮゛-゜𝟎-𝟡]|[^\\P{So}←-⇿])(?:[[:word:]_!\\p{Lu}\\p{Ll}\\p{Lt}\\p{Lm}\\p{Lo}\\p{Nl}\\p{Sc}⅀-⅄∿⊾⊿⊤⊥∂∅-∇∎∏∐∑∞∟∫-∳⋀-⋃◸-◿♯⟘⟙⟀⟁⦰-⦴⨀-⨆⨉-⨖⨛⨜𝛁𝛛𝛻𝜕𝜵𝝏𝝯𝞉𝞩𝟃ⁱ-⁾₁-₎∠-∢⦛-⦯℘℮゛-゜𝟎-𝟡]|[^\\P{Mn}\u0001-¡]|[^\\P{Mc}\u0001-¡]|[^\\P{Nd}\u0001-¡]|[^\\P{Pc}\u0001-¡]|[^\\P{Sk}\u0001-¡]|[^\\P{Me}\u0001-¡]|[^\\P{No}\u0001-¡]|[′-‷⁗]|[^\\P{So}←-⇿])*)?",
|
|
868
|
+
endCaptures: {
|
|
869
|
+
"1": {
|
|
870
|
+
name: "punctuation.definition.string.end.julia"
|
|
871
|
+
},
|
|
872
|
+
"2": {
|
|
873
|
+
name: "support.function.macro.julia"
|
|
874
|
+
}
|
|
875
|
+
},
|
|
876
|
+
name: "string.interpolated.backtick.julia",
|
|
877
|
+
patterns: [
|
|
878
|
+
{
|
|
879
|
+
include: "#string_escaped_char"
|
|
880
|
+
}
|
|
881
|
+
]
|
|
882
|
+
}
|
|
883
|
+
]
|
|
884
|
+
},
|
|
885
|
+
string_escaped_char: {
|
|
886
|
+
patterns: [
|
|
887
|
+
{
|
|
888
|
+
match: "\\\\(\\\\|[0-3]\\d{,2}|[4-7]\\d?|x[a-fA-F0-9]{,2}|u[a-fA-F0-9]{,4}|U[a-fA-F0-9]{,8}|.)",
|
|
889
|
+
name: "constant.character.escape.julia"
|
|
890
|
+
}
|
|
891
|
+
]
|
|
892
|
+
},
|
|
893
|
+
string_dollar_sign_interpolate: {
|
|
894
|
+
patterns: [
|
|
895
|
+
{
|
|
896
|
+
match: "\\$(?:[[:alpha:]_\\p{Lu}\\p{Ll}\\p{Lt}\\p{Lm}\\p{Lo}\\p{Nl}\\p{Sc}⅀-⅄∿⊾⊿⊤⊥∂∅-∇∎∏∐∑∞∟∫-∳⋀-⋃◸-◿♯⟘⟙⟀⟁⦰-⦴⨀-⨆⨉-⨖⨛⨜𝛁𝛛𝛻𝜕𝜵𝝏𝝯𝞉𝞩𝟃ⁱ-⁾₁-₎∠-∢⦛-⦯℘℮゛-゜𝟎-𝟡]|[^\\P{So}←-⇿])(?:[[:word:]_!\\p{Lu}\\p{Ll}\\p{Lt}\\p{Lm}\\p{Lo}\\p{Nl}\\p{Sc}⅀-⅄∿⊾⊿⊤⊥∂∅-∇∎∏∐∑∞∟∫-∳⋀-⋃◸-◿♯⟘⟙⟀⟁⦰-⦴⨀-⨆⨉-⨖⨛⨜𝛁𝛛𝛻𝜕𝜵𝝏𝝯𝞉𝞩𝟃ⁱ-⁾₁-₎∠-∢⦛-⦯℘℮゛-゜𝟎-𝟡]|[^\\P{Mn}\u0001-¡]|[^\\P{Mc}\u0001-¡]|[^\\P{Nd}\u0001-¡]|[^\\P{Pc}\u0001-¡]|[^\\P{Sk}\u0001-¡]|[^\\P{Me}\u0001-¡]|[^\\P{No}\u0001-¡]|[′-‷⁗]|[^\\P{So}←-⇿])*",
|
|
897
|
+
name: "variable.interpolation.julia"
|
|
898
|
+
},
|
|
899
|
+
{
|
|
900
|
+
begin: "\\$\\(",
|
|
901
|
+
end: "\\)",
|
|
902
|
+
name: "variable.interpolation.julia",
|
|
903
|
+
comment: "`punctuation.section.embedded`, `constant.escape`,\n& `meta.embedded.line` were considered but appear to have even spottier\nsupport among popular syntaxes.",
|
|
904
|
+
patterns: [
|
|
905
|
+
{
|
|
906
|
+
include: "#parentheses"
|
|
907
|
+
},
|
|
908
|
+
{
|
|
909
|
+
include: "$self"
|
|
910
|
+
}
|
|
911
|
+
]
|
|
912
|
+
}
|
|
913
|
+
]
|
|
914
|
+
},
|
|
915
|
+
symbol: {
|
|
916
|
+
patterns: [
|
|
917
|
+
{
|
|
918
|
+
match: "(?<![[:word:]⁺-ₜ!′∇\\)\\]\\}]):(?:(?:[[:alpha:]_\\p{Lu}\\p{Ll}\\p{Lt}\\p{Lm}\\p{Lo}\\p{Nl}\\p{Sc}⅀-⅄∿⊾⊿⊤⊥∂∅-∇∎∏∐∑∞∟∫-∳⋀-⋃◸-◿♯⟘⟙⟀⟁⦰-⦴⨀-⨆⨉-⨖⨛⨜𝛁𝛛𝛻𝜕𝜵𝝏𝝯𝞉𝞩𝟃ⁱ-⁾₁-₎∠-∢⦛-⦯℘℮゛-゜𝟎-𝟡]|[^\\P{So}←-⇿])(?:[[:word:]_!\\p{Lu}\\p{Ll}\\p{Lt}\\p{Lm}\\p{Lo}\\p{Nl}\\p{Sc}⅀-⅄∿⊾⊿⊤⊥∂∅-∇∎∏∐∑∞∟∫-∳⋀-⋃◸-◿♯⟘⟙⟀⟁⦰-⦴⨀-⨆⨉-⨖⨛⨜𝛁𝛛𝛻𝜕𝜵𝝏𝝯𝞉𝞩𝟃ⁱ-⁾₁-₎∠-∢⦛-⦯℘℮゛-゜𝟎-𝟡]|[^\\P{Mn}\u0001-¡]|[^\\P{Mc}\u0001-¡]|[^\\P{Nd}\u0001-¡]|[^\\P{Pc}\u0001-¡]|[^\\P{Sk}\u0001-¡]|[^\\P{Me}\u0001-¡]|[^\\P{No}\u0001-¡]|[′-‷⁗]|[^\\P{So}←-⇿])*)(?!(?:[[:word:]_!\\p{Lu}\\p{Ll}\\p{Lt}\\p{Lm}\\p{Lo}\\p{Nl}\\p{Sc}⅀-⅄∿⊾⊿⊤⊥∂∅-∇∎∏∐∑∞∟∫-∳⋀-⋃◸-◿♯⟘⟙⟀⟁⦰-⦴⨀-⨆⨉-⨖⨛⨜𝛁𝛛𝛻𝜕𝜵𝝏𝝯𝞉𝞩𝟃ⁱ-⁾₁-₎∠-∢⦛-⦯℘℮゛-゜𝟎-𝟡]|[^\\P{Mn}\u0001-¡]|[^\\P{Mc}\u0001-¡]|[^\\P{Nd}\u0001-¡]|[^\\P{Pc}\u0001-¡]|[^\\P{Sk}\u0001-¡]|[^\\P{Me}\u0001-¡]|[^\\P{No}\u0001-¡]|[′-‷⁗]|[^\\P{So}←-⇿]))(?![\"`])",
|
|
919
|
+
name: "constant.other.symbol.julia",
|
|
920
|
+
comment: "This is string.quoted.symbol.julia in tpoisot's package"
|
|
921
|
+
}
|
|
922
|
+
]
|
|
923
|
+
},
|
|
924
|
+
type_decl: {
|
|
925
|
+
patterns: [
|
|
926
|
+
{
|
|
927
|
+
captures: {
|
|
928
|
+
"1": {
|
|
929
|
+
name: "entity.name.type.julia"
|
|
930
|
+
},
|
|
931
|
+
"2": {
|
|
932
|
+
name: "entity.other.inherited-class.julia"
|
|
933
|
+
},
|
|
934
|
+
"3": {
|
|
935
|
+
name: "punctuation.separator.inheritance.julia"
|
|
936
|
+
}
|
|
937
|
+
},
|
|
938
|
+
match: "(?>!:_)(?:struct|mutable\\s+struct|abstract\\s+type|primitive\\s+type)\\s+((?:[[:alpha:]_\\p{Lu}\\p{Ll}\\p{Lt}\\p{Lm}\\p{Lo}\\p{Nl}\\p{Sc}⅀-⅄∿⊾⊿⊤⊥∂∅-∇∎∏∐∑∞∟∫-∳⋀-⋃◸-◿♯⟘⟙⟀⟁⦰-⦴⨀-⨆⨉-⨖⨛⨜𝛁𝛛𝛻𝜕𝜵𝝏𝝯𝞉𝞩𝟃ⁱ-⁾₁-₎∠-∢⦛-⦯℘℮゛-゜𝟎-𝟡]|[^\\P{So}←-⇿])(?:[[:word:]_!\\p{Lu}\\p{Ll}\\p{Lt}\\p{Lm}\\p{Lo}\\p{Nl}\\p{Sc}⅀-⅄∿⊾⊿⊤⊥∂∅-∇∎∏∐∑∞∟∫-∳⋀-⋃◸-◿♯⟘⟙⟀⟁⦰-⦴⨀-⨆⨉-⨖⨛⨜𝛁𝛛𝛻𝜕𝜵𝝏𝝯𝞉𝞩𝟃ⁱ-⁾₁-₎∠-∢⦛-⦯℘℮゛-゜𝟎-𝟡]|[^\\P{Mn}\u0001-¡]|[^\\P{Mc}\u0001-¡]|[^\\P{Nd}\u0001-¡]|[^\\P{Pc}\u0001-¡]|[^\\P{Sk}\u0001-¡]|[^\\P{Me}\u0001-¡]|[^\\P{No}\u0001-¡]|[′-‷⁗]|[^\\P{So}←-⇿])*)(\\s*(<:)\\s*(?:[[:alpha:]_\\p{Lu}\\p{Ll}\\p{Lt}\\p{Lm}\\p{Lo}\\p{Nl}\\p{Sc}⅀-⅄∿⊾⊿⊤⊥∂∅-∇∎∏∐∑∞∟∫-∳⋀-⋃◸-◿♯⟘⟙⟀⟁⦰-⦴⨀-⨆⨉-⨖⨛⨜𝛁𝛛𝛻𝜕𝜵𝝏𝝯𝞉𝞩𝟃ⁱ-⁾₁-₎∠-∢⦛-⦯℘℮゛-゜𝟎-𝟡]|[^\\P{So}←-⇿])(?:[[:word:]_!\\p{Lu}\\p{Ll}\\p{Lt}\\p{Lm}\\p{Lo}\\p{Nl}\\p{Sc}⅀-⅄∿⊾⊿⊤⊥∂∅-∇∎∏∐∑∞∟∫-∳⋀-⋃◸-◿♯⟘⟙⟀⟁⦰-⦴⨀-⨆⨉-⨖⨛⨜𝛁𝛛𝛻𝜕𝜵𝝏𝝯𝞉𝞩𝟃ⁱ-⁾₁-₎∠-∢⦛-⦯℘℮゛-゜𝟎-𝟡]|[^\\P{Mn}\u0001-¡]|[^\\P{Mc}\u0001-¡]|[^\\P{Nd}\u0001-¡]|[^\\P{Pc}\u0001-¡]|[^\\P{Sk}\u0001-¡]|[^\\P{Me}\u0001-¡]|[^\\P{No}\u0001-¡]|[′-‷⁗]|[^\\P{So}←-⇿])*(?:{.*})?)?",
|
|
939
|
+
name: "meta.type.julia"
|
|
940
|
+
}
|
|
941
|
+
]
|
|
942
|
+
}
|
|
943
|
+
};
|
|
944
|
+
var julia_tmLanguage = {
|
|
945
|
+
information_for_contributors: information_for_contributors,
|
|
946
|
+
version: version,
|
|
947
|
+
name: name,
|
|
948
|
+
scopeName: scopeName,
|
|
949
|
+
comment: comment,
|
|
950
|
+
patterns: patterns,
|
|
951
|
+
repository: repository
|
|
952
|
+
};
|
|
953
|
+
|
|
954
|
+
export { comment, julia_tmLanguage as default, information_for_contributors, name, patterns, repository, scopeName, version };
|