@vue/devtools-electron 7.7.7 → 8.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (53) hide show
  1. package/client/{IconTitle.vue_vue_type_script_setup_true_lang-CzNAudTz.js → IconTitle.vue_vue_type_script_setup_true_lang-mFqaFlPj.js} +1 -1
  2. package/client/{SectionBlock-Dp0NIF_b.js → SectionBlock-CTWDyV2V.js} +17 -16
  3. package/client/assets-w_iWBiad.js +1052 -0
  4. package/client/{components-BgyXz8w_.js → components-DxlfxS9S.js} +3 -3
  5. package/client/css-CECN5uSL.js +6 -0
  6. package/client/custom-inspector-tab-view-DSjIE3Qj.js +50 -0
  7. package/client/{custom-tab-view-DnTFKhiI.js → custom-tab-view-Ch_WQMCJ.js} +3 -3
  8. package/client/devtools-panel.css +1 -1
  9. package/client/devtools-panel.js +1 -1
  10. package/client/diff-BxzP2J8R.js +6 -0
  11. package/client/graph-DoK7DiJk.js +49115 -0
  12. package/client/html-7XVNRwN7.js +10 -0
  13. package/client/{index-C7XPmmLS.js → index-CY7IKY7E.js} +33806 -34841
  14. package/client/javascript-Dp1Jmi5H.js +6 -0
  15. package/client/json-DxJze_jm.js +6 -0
  16. package/client/{overview-NOHiLwdq.js → overview-QHGAAzMs.js} +122 -112
  17. package/client/pages-D8bxz06O.js +360 -0
  18. package/client/pinia-BUqkHaK_.js +11 -0
  19. package/client/router-CANETAqj.js +12 -0
  20. package/client/{settings-DTrnopyF.js → settings-B7z3XkWa.js} +72 -70
  21. package/client/shellscript-InADTalH.js +6 -0
  22. package/client/{timeline-CVQgEdyi.js → timeline-DPBeIF7u.js} +54 -55
  23. package/client/typescript-mg6ATTE8.js +6 -0
  24. package/client/vue-BEZF_Tsk.js +33 -0
  25. package/client/vue-html-CBbEFYtW.js +10 -0
  26. package/client/yaml-DaO7k5B1.js +6 -0
  27. package/dist/app.js +1 -1
  28. package/dist/cli.d.cts +1 -1
  29. package/dist/cli.d.mts +1 -1
  30. package/dist/cli.d.ts +1 -1
  31. package/dist/devtools.js +855 -894
  32. package/dist/index.cjs +1 -1
  33. package/dist/index.js +1 -1
  34. package/dist/user-app.cjs +1 -1
  35. package/dist/user-app.iife.js +62 -107
  36. package/dist/user-app.js +1 -1
  37. package/package.json +11 -11
  38. package/client/assets-Cenvjhy6.js +0 -1081
  39. package/client/css-BnL1064W.js +0 -6
  40. package/client/custom-inspector-tab-view-dZSnsHNr.js +0 -53
  41. package/client/diff-DOdUfPSR.js +0 -6
  42. package/client/graph-CHZkohji.js +0 -49959
  43. package/client/html-Iy9EJBkL.js +0 -10
  44. package/client/javascript-CXHlxgtu.js +0 -6
  45. package/client/json-D4cXEhM0.js +0 -6
  46. package/client/pages-Bqu7i9_W.js +0 -377
  47. package/client/pinia-VeJqP-Jl.js +0 -11
  48. package/client/router-BW0WfY9R.js +0 -18
  49. package/client/shellscript-DmhSIIKI.js +0 -6
  50. package/client/typescript-DKfvlBCw.js +0 -6
  51. package/client/vue-ChaKAHzo.js +0 -33
  52. package/client/vue-html-Hg1VsDox.js +0 -10
  53. package/client/yaml-DcQhbMrL.js +0 -6
@@ -1,377 +0,0 @@
1
- import { d as T, c as r, o, b as n, l as _, u as e, ai as F, C as x, i as b, ad as A, e as $, t as M, q as y, F as k, D as V, n as I, L as z, a as h, aj as j, M as J, x as E, ak as K, al as L, Y, am as S, f as q, Z as G, an as W, a0 as X, h as D, $ as O, ao as Z, G as H, ae as Q, ag as U } from "./index-C7XPmmLS.js";
2
- import { _ as ee } from "./SectionBlock-Dp0NIF_b.js";
3
- const te = { "p-2": "" }, ne = { class: "flex items-center justify-between" }, oe = /* @__PURE__ */ T({
4
- __name: "RouteMetaDetail",
5
- props: {
6
- meta: {}
7
- },
8
- emits: ["close"],
9
- setup(R) {
10
- return (i, u) => (o(), r("div", te, [
11
- n("div", ne, [
12
- u[1] || (u[1] = n("span", { class: "font-500" }, "Route meta detail", -1)),
13
- n("div", {
14
- class: "i-carbon-close cursor-pointer p1 $ui-text",
15
- onClick: u[0] || (u[0] = (g) => i.$emit("close"))
16
- })
17
- ]),
18
- _(e(F), {
19
- code: JSON.stringify(i.meta, null, 2),
20
- lang: "json",
21
- lines: ""
22
- }, null, 8, ["code"])
23
- ]));
24
- }
25
- }), ae = {
26
- block: "",
27
- "cursor-pointer": ""
28
- }, se = { p2: "" }, le = ["onSubmit"], re = {
29
- flex: "~",
30
- "items-center": "",
31
- p2: "",
32
- "text-sm": "",
33
- "font-mono": ""
34
- }, ie = { key: 1 }, ue = /* @__PURE__ */ T({
35
- __name: "RoutePathItem",
36
- props: {
37
- route: {}
38
- },
39
- emits: ["navigate"],
40
- setup(R, { emit: i }) {
41
- const u = R, g = i;
42
- function f(t) {
43
- return t.split(/(:\w+[?*+]?(?:\([^)]*\))?[?*+]?)/).filter(Boolean);
44
- }
45
- const c = x([]), p = b(() => f(u.route.path));
46
- A(() => {
47
- c.value = Array.from({ length: p.value.length }, () => "");
48
- });
49
- const d = b(() => p.value.map((t, a) => t[0] === ":" ? c.value[a] : t).join("").replace(/\/+/g, "/")), s = b(() => u.route.path.includes(":"));
50
- function m() {
51
- g("navigate", d.value);
52
- }
53
- return (t, a) => e(s) ? (o(), $(e(K), { key: 1 }, {
54
- popper: y(({ hide: l }) => [
55
- n("div", se, [
56
- n("form", {
57
- flex: "~ col",
58
- onSubmit: z(() => {
59
- m(), l();
60
- }, ["prevent"])
61
- }, [
62
- e(s) ? (o(), r(k, { key: 0 }, [
63
- a[0] || (a[0] = n("div", {
64
- px2: "",
65
- "text-sm": "",
66
- op50: ""
67
- }, " Fill params and navigate: ", -1)),
68
- n("div", re, [
69
- (o(!0), r(k, null, V(e(p), (v, w) => (o(), r(k, { key: w }, [
70
- v[0] === ":" ? (o(), $(e(j), {
71
- key: 0,
72
- modelValue: e(c)[w],
73
- "onUpdate:modelValue": (N) => e(c)[w] = N,
74
- "n-sm": "",
75
- "w-20": "",
76
- placeholder: v.slice(1)
77
- }, null, 8, ["modelValue", "onUpdate:modelValue", "placeholder"])) : (o(), r("span", ie, M(v), 1))
78
- ], 64))), 128))
79
- ])
80
- ], 64)) : h("", !0),
81
- _(e(J), {
82
- block: "",
83
- type: "primary"
84
- }, {
85
- default: y(() => a[1] || (a[1] = [
86
- E(" Navigate ")
87
- ])),
88
- _: 1
89
- })
90
- ], 40, le)
91
- ])
92
- ]),
93
- default: y(() => [
94
- n("code", ae, [
95
- (o(!0), r(k, null, V(e(p), (l, v) => (o(), r("span", {
96
- key: v,
97
- class: I(l[0] === ":" ? "text-gray border border-dashed rounded border-gray:50 px1" : "")
98
- }, M(l[0] === ":" ? l.slice(1) : l), 3))), 128))
99
- ])
100
- ]),
101
- _: 1
102
- })) : (o(), r("button", {
103
- key: 0,
104
- onClick: m
105
- }, [
106
- n("code", null, M(t.route.path), 1)
107
- ]));
108
- }
109
- }), de = { "w-full": "" }, ce = {
110
- border: "b base",
111
- "px-3": ""
112
- }, pe = {
113
- key: 0,
114
- "text-left": ""
115
- }, me = {
116
- "w-20": "",
117
- "pr-1": ""
118
- }, ve = {
119
- flex: "",
120
- "items-center": "",
121
- "justify-end": ""
122
- }, fe = { "text-sm": "" }, _e = {
123
- flex: "inline gap3",
124
- "items-center": ""
125
- }, he = {
126
- op0: "",
127
- "group-hover:op100": "",
128
- flex: "~ gap1"
129
- }, ge = ["onClick"], ye = {
130
- "w-0": "",
131
- "ws-nowrap": "",
132
- "pr-1": "",
133
- "text-left": "",
134
- "text-sm": "",
135
- "font-mono": "",
136
- op50: ""
137
- }, be = {
138
- key: 0,
139
- "w-50": "",
140
- "ws-nowrap": "",
141
- "pr-1": "",
142
- "text-left": "",
143
- "text-sm": "",
144
- "font-mono": "",
145
- op50: "",
146
- hover: "text-primary op100"
147
- }, xe = ["title", "onClick"], ke = /* @__PURE__ */ T({
148
- __name: "RoutesTable",
149
- props: {
150
- pages: {},
151
- matched: {},
152
- matchedPending: {}
153
- },
154
- emits: ["navigate", "selectMeta"],
155
- setup(R) {
156
- const i = R, u = b(() => [...i.pages].sort((d, s) => d.path.localeCompare(s.path))), g = b(() => L.value), f = Y();
157
- function c(d, s = 0) {
158
- const m = JSON.stringify(d, null, s);
159
- return m === "{}" ? "-" : m;
160
- }
161
- const p = b(() => u.value.some((d) => {
162
- var s;
163
- return (s = Object.keys(d.meta)) == null ? void 0 : s.length;
164
- }));
165
- return (d, s) => {
166
- const m = ue;
167
- return o(), r("div", null, [
168
- n("table", de, [
169
- n("thead", ce, [
170
- n("tr", null, [
171
- s[1] || (s[1] = n("th", { "text-left": "" }, null, -1)),
172
- s[2] || (s[2] = n("th", { "text-left": "" }, " Route Path ", -1)),
173
- s[3] || (s[3] = n("th", { "text-left": "" }, " Name ", -1)),
174
- e(p) ? (o(), r("th", pe, " Route Meta ")) : h("", !0)
175
- ])
176
- ]),
177
- n("tbody", null, [
178
- (o(!0), r(k, null, V(e(u), (t) => {
179
- var a;
180
- return o(), r("tr", {
181
- key: t.name,
182
- class: "group",
183
- "h-7": "",
184
- border: "b dashed transparent hover:base"
185
- }, [
186
- n("td", me, [
187
- n("div", ve, [
188
- d.matched.find((l) => l.name === t.name) ? (o(), $(e(S), {
189
- key: 0,
190
- "bg-green-400:10": "",
191
- "text-green-400": "",
192
- title: "active",
193
- textContent: "active"
194
- })) : d.matchedPending.find((l) => l.name === t.name) ? (o(), $(e(S), {
195
- key: 1,
196
- "bg-teal-400:10": "",
197
- "text-teal-400": "",
198
- title: "next",
199
- textContent: "next"
200
- })) : h("", !0)
201
- ])
202
- ]),
203
- n("td", fe, [
204
- n("div", _e, [
205
- _(m, {
206
- route: t,
207
- class: I(d.matched.find((l) => l.name === t.name) ? "text-primary-400" : d.matchedPending.find((l) => l.name === t.name) ? "text-teal" : ""),
208
- onNavigate: s[0] || (s[0] = (l) => d.$emit("navigate", l))
209
- }, null, 8, ["route", "class"]),
210
- n("div", he, [
211
- (a = t.meta) != null && a.file && e(f).vitePluginDetected.value && e(g) ? (o(), r("button", {
212
- key: 0,
213
- "text-sm": "",
214
- op40: "",
215
- hover: "op100 text-primary-400",
216
- title: "Open in editor",
217
- onClick: (l) => {
218
- var v;
219
- return e(q)((v = t.meta) == null ? void 0 : v.file);
220
- }
221
- }, s[4] || (s[4] = [
222
- n("div", { "i-carbon-script-reference": "" }, null, -1)
223
- ]), 8, ge)) : h("", !0)
224
- ])
225
- ])
226
- ]),
227
- n("td", ye, M(t.name), 1),
228
- e(p) ? (o(), r("td", be, [
229
- n("span", {
230
- "inline-block": "",
231
- "w-50": "",
232
- "cursor-pointer": "",
233
- "overflow-hidden": "",
234
- "text-ellipsis": "",
235
- title: c(t.meta, 2),
236
- onClick: () => d.$emit("selectMeta", t.meta)
237
- }, M(c(t.meta)), 9, xe)
238
- ])) : h("", !0)
239
- ]);
240
- }), 128))
241
- ])
242
- ])
243
- ]);
244
- };
245
- }
246
- }), $e = {
247
- block: "",
248
- "h-screen": "",
249
- "of-auto": ""
250
- }, Re = {
251
- "h-full": "",
252
- class: "grid grid-rows-[auto_1fr]"
253
- }, we = {
254
- border: "b base",
255
- flex: "~ col gap1",
256
- px4: "",
257
- py3: ""
258
- }, Ce = {
259
- key: 1,
260
- op50: ""
261
- }, De = {
262
- key: 0,
263
- "text-orange": "",
264
- op75: ""
265
- }, Me = {
266
- key: 1,
267
- op50: ""
268
- }, Ve = /* @__PURE__ */ T({
269
- __name: "pages",
270
- setup(R) {
271
- const i = x(""), u = x(null), g = x([]), f = b(() => {
272
- var t;
273
- return i.value === ((t = u.value) == null ? void 0 : t.path) ? [] : g.value;
274
- }), c = x([]), p = x();
275
- function d(t) {
276
- var a;
277
- c.value = t.routes, u.value = t.currentRoute, i.value = ((a = u.value) == null ? void 0 : a.path) ?? "/";
278
- }
279
- function s() {
280
- f.value.length && m(i.value);
281
- }
282
- function m(t) {
283
- D.value.navigate(t);
284
- }
285
- return G(() => {
286
- D.value.getRouterInfo().then((t) => {
287
- d(t);
288
- }), D.functions.on(O.ROUTER_INFO_UPDATED, d);
289
- }), W(i, () => {
290
- var t;
291
- i.value !== ((t = u.value) == null ? void 0 : t.path) && D.value.getMatchedRoutes(i.value).then((a) => {
292
- g.value = a;
293
- });
294
- }), X(() => {
295
- D.functions.off(O.ROUTER_INFO_UPDATED, d);
296
- }), (t, a) => {
297
- var N, P;
298
- const l = ke, v = ee, w = oe;
299
- return o(), r("div", $e, [
300
- n("div", Re, [
301
- n("div", we, [
302
- n("div", null, [
303
- (o(), r("span", Ce, "Current route"))
304
- ]),
305
- _(e(j), {
306
- modelValue: e(i),
307
- "onUpdate:modelValue": a[0] || (a[0] = (C) => H(i) ? i.value = C : null),
308
- "left-icon": "i-carbon-direction-right-01 scale-y--100",
309
- class: I(((N = e(u)) == null ? void 0 : N.path) === e(i) ? "" : e(f).length ? "text-green!" : "text-orange!"),
310
- onKeydown: Z(s, ["enter"])
311
- }, null, 8, ["modelValue", "class"]),
312
- n("div", null, [
313
- ((P = e(u)) == null ? void 0 : P.path) !== e(i) ? (o(), r(k, { key: 0 }, [
314
- a[6] || (a[6] = n("span", null, [
315
- E("Press "),
316
- n("b", { "font-bold": "" }, "Enter"),
317
- E(" to navigate")
318
- ], -1)),
319
- e(f).length ? h("", !0) : (o(), r("span", De, " (no match)"))
320
- ], 64)) : (o(), r("span", Me, "Edit path above to navigate"))
321
- ])
322
- ]),
323
- _(e(Q), { class: "of-hidden" }, {
324
- default: y(() => [
325
- _(e(U), {
326
- size: "70",
327
- class: "of-auto!"
328
- }, {
329
- default: y(() => [
330
- _(v, {
331
- icon: "i-carbon-tree-view-alt",
332
- text: "All Routes",
333
- description: `${e(c).length} routes registered in your application`,
334
- padding: !1
335
- }, {
336
- default: y(() => {
337
- var C;
338
- return [
339
- e(c).length ? (o(), $(l, {
340
- key: 0,
341
- pages: e(c),
342
- matched: ((C = e(u)) == null ? void 0 : C.matched) ?? [],
343
- "matched-pending": e(f),
344
- onNavigate: m,
345
- onSelectMeta: a[1] || (a[1] = (B) => p.value = B)
346
- }, null, 8, ["pages", "matched", "matched-pending"])) : h("", !0)
347
- ];
348
- }),
349
- _: 1
350
- }, 8, ["description"])
351
- ]),
352
- _: 1
353
- }),
354
- e(p) ? (o(), $(e(U), {
355
- key: 0,
356
- size: "30",
357
- class: "of-auto!"
358
- }, {
359
- default: y(() => [
360
- _(w, {
361
- meta: e(p),
362
- onClose: a[2] || (a[2] = (C) => p.value = void 0)
363
- }, null, 8, ["meta"])
364
- ]),
365
- _: 1
366
- })) : h("", !0)
367
- ]),
368
- _: 1
369
- })
370
- ])
371
- ]);
372
- };
373
- }
374
- });
375
- export {
376
- Ve as default
377
- };
@@ -1,11 +0,0 @@
1
- import { d as e, e as a, u as o, m as n, o as r } from "./index-C7XPmmLS.js";
2
- /* empty css */
3
- const _ = /* @__PURE__ */ e({
4
- __name: "pinia",
5
- setup(s) {
6
- return (t, p) => (r(), a(o(n)));
7
- }
8
- });
9
- export {
10
- _ as default
11
- };
@@ -1,18 +0,0 @@
1
- import { d as c, p, i as t, e as u, u as r, j as i, o as d } from "./index-C7XPmmLS.js";
2
- /* empty css */
3
- const f = /* @__PURE__ */ c({
4
- __name: "router",
5
- setup(m) {
6
- const { registeredInspector: s } = p(), a = t(() => {
7
- var e;
8
- return (e = s.value) == null ? void 0 : e.find((o) => o.packageName === "vue-router");
9
- }), n = t(() => {
10
- var e;
11
- return (e = a.value) == null ? void 0 : e.id;
12
- });
13
- return (e, o) => (d(), u(r(i), { id: r(n) }, null, 8, ["id"]));
14
- }
15
- });
16
- export {
17
- f as default
18
- };
@@ -1,6 +0,0 @@
1
- const e = Object.freeze(JSON.parse(`{"displayName":"Shell","name":"shellscript","patterns":[{"include":"#initial_context"}],"repository":{"alias_statement":{"begin":"[ \\\\t]*+(alias)[ \\\\t]*+((?:((?<!\\\\w)-\\\\w+\\\\b)[ \\\\t]*+)*)[ \\\\t]*+((?<!\\\\w)[a-zA-Z_0-9\\\\-]+(?!\\\\w))(?:(\\\\[)((?:(?:(?:\\\\$?(?<!\\\\w)[a-zA-Z_0-9\\\\-]+(?!\\\\w)|@)|\\\\*)|(-?\\\\d+)))(]))?(?:(?:(=)|(\\\\+=))|(-=))","beginCaptures":{"1":{"name":"storage.type.alias.shell"},"2":{"patterns":[{"match":"(?<!\\\\w)-\\\\w+\\\\b","name":"string.unquoted.argument.shell constant.other.option.shell"}]},"3":{"name":"string.unquoted.argument.shell constant.other.option.shell"},"4":{"name":"variable.other.assignment.shell"},"5":{"name":"punctuation.definition.array.access.shell"},"6":{"name":"variable.other.assignment.shell"},"7":{"name":"constant.numeric.shell constant.numeric.integer.shell"},"8":{"name":"punctuation.definition.array.access.shell"},"9":{"name":"keyword.operator.assignment.shell"},"10":{"name":"keyword.operator.assignment.compound.shell"},"11":{"name":"keyword.operator.assignment.compound.shell"}},"end":"(?:(?=[ \\\\t]|$)|(?:(?:(?:(;)|(&&))|(\\\\|\\\\|))|(&)))","endCaptures":{"1":{"name":"punctuation.terminator.statement.semicolon.shell"},"2":{"name":"punctuation.separator.statement.and.shell"},"3":{"name":"punctuation.separator.statement.or.shell"},"4":{"name":"punctuation.separator.statement.background.shell"}},"name":"meta.expression.assignment.alias.shell","patterns":[{"include":"#normal_context"}]},"argument":{"begin":"[ \\\\t]++(?!(?:[\\\\&|(\\\\[#\\\\n]|$|;))","beginCaptures":{},"end":"(?=[ \\\\t;|\\\\&]|$|[\\\\n)\`])","endCaptures":{},"name":"meta.argument.shell","patterns":[{"include":"#argument_context"},{"include":"#line_continuation"}]},"argument_context":{"patterns":[{"captures":{"1":{"name":"string.unquoted.argument.shell","patterns":[{"match":"\\\\*","name":"variable.language.special.wildcard.shell"},{"include":"#variable"},{"include":"#numeric_literal"},{"captures":{"1":{"name":"constant.language.$1.shell"}},"match":"(?<!\\\\w)(\\\\b(?:true|false)\\\\b)(?!\\\\w)"}]}},"match":"[ \\\\t]*+([^ \\\\t\\\\n>\\\\&;<()$\`\\\\\\\\\\"'|]+(?!>))"},{"include":"#normal_context"}]},"arithmetic_double":{"patterns":[{"begin":"\\\\(\\\\(","beginCaptures":{"0":{"name":"punctuation.section.arithmetic.double.shell"}},"end":"\\\\)\\\\s*\\\\)","endCaptures":{"0":{"name":"punctuation.section.arithmetic.double.shell"}},"name":"meta.arithmetic.shell","patterns":[{"include":"#math"},{"include":"#string"}]}]},"arithmetic_no_dollar":{"patterns":[{"begin":"\\\\(","beginCaptures":{"0":{"name":"punctuation.section.arithmetic.single.shell"}},"end":"\\\\)","endCaptures":{"0":{"name":"punctuation.section.arithmetic.single.shell"}},"name":"meta.arithmetic.shell","patterns":[{"include":"#math"},{"include":"#string"}]}]},"array_access_inline":{"captures":{"1":{"name":"punctuation.section.array.shell"},"2":{"patterns":[{"include":"#special_expansion"},{"include":"#string"},{"include":"#variable"}]},"3":{"name":"punctuation.section.array.shell"}},"match":"(\\\\[)([^\\\\[\\\\]]+)(])"},"array_value":{"begin":"[ \\\\t]*+((?<!\\\\w)[a-zA-Z_0-9\\\\-]+(?!\\\\w))(?:(\\\\[)((?:(?:(?:\\\\$?(?<!\\\\w)[a-zA-Z_0-9\\\\-]+(?!\\\\w)|@)|\\\\*)|(-?\\\\d+)))(]))?(?:(?:(=)|(\\\\+=))|(-=))[ \\\\t]*+(\\\\()","beginCaptures":{"1":{"name":"variable.other.assignment.shell"},"2":{"name":"punctuation.definition.array.access.shell"},"3":{"name":"variable.other.assignment.shell"},"4":{"name":"constant.numeric.shell constant.numeric.integer.shell"},"5":{"name":"punctuation.definition.array.access.shell"},"6":{"name":"keyword.operator.assignment.shell"},"7":{"name":"keyword.operator.assignment.compound.shell"},"8":{"name":"keyword.operator.assignment.compound.shell"},"9":{"name":"punctuation.definition.array.shell"}},"end":"\\\\)","endCaptures":{"0":{"name":"punctuation.definition.array.shell"}},"patterns":[{"include":"#comment"},{"captures":{"1":{"name":"variable.other.assignment.array.shell entity.other.attribute-name.shell"},"2":{"name":"keyword.operator.assignment.shell punctuation.definition.assignment.shell"}},"match":"((?<!\\\\w)[a-zA-Z_0-9\\\\-]+(?!\\\\w))(=)"},{"captures":{"1":{"name":"punctuation.definition.bracket.named-array.shell"},"2":{"name":"string.unquoted.shell entity.other.attribute-name.bracket.shell"},"3":{"name":"punctuation.definition.bracket.named-array.shell"},"4":{"name":"punctuation.definition.assignment.shell"}},"match":"(\\\\[)(.+?)(])(=)"},{"include":"#normal_context"},{"include":"#simple_unquoted"}]},"assignment_statement":{"patterns":[{"include":"#array_value"},{"include":"#modified_assignment_statement"},{"include":"#normal_assignment_statement"}]},"basic_command_name":{"captures":{"1":{"name":"storage.modifier.$1.shell"},"2":{"name":"entity.name.function.call.shell entity.name.command.shell","patterns":[{"match":"(?<!\\\\w)(?:continue|return|break)(?!\\\\w)","name":"keyword.control.$0.shell"},{"match":"(?<!\\\\w)(?:unfunction|continue|autoload|unsetopt|bindkey|builtin|getopts|command|declare|unalias|history|unlimit|typeset|suspend|source|printf|unhash|disown|ulimit|return|which|alias|break|false|print|shift|times|umask|umask|unset|read|type|exec|eval|wait|echo|dirs|jobs|kill|hash|stat|exit|test|trap|true|let|set|pwd|cd|fg|bg|fc|[:.])(?!/)(?!\\\\w)(?!-)","name":"support.function.builtin.shell"},{"include":"#variable"}]}},"match":"(?!(?:[!\\\\&|(){\\\\[<>#\\\\n]|$|[; \\\\t]))(?!nocorrect |nocorrect\\\\t|nocorrect$|readonly |readonly\\\\t|readonly$|function |function\\\\t|function$|foreach |foreach\\\\t|foreach$|coproc |coproc\\\\t|coproc$|logout |logout\\\\t|logout$|export |export\\\\t|export$|select |select\\\\t|select$|repeat |repeat\\\\t|repeat$|pushd |pushd\\\\t|pushd$|until |until\\\\t|until$|while |while\\\\t|while$|local |local\\\\t|local$|case |case\\\\t|case$|done |done\\\\t|done$|elif |elif\\\\t|elif$|else |else\\\\t|else$|esac |esac\\\\t|esac$|popd |popd\\\\t|popd$|then |then\\\\t|then$|time |time\\\\t|time$|for |for\\\\t|for$|end |end\\\\t|end$|fi |fi\\\\t|fi$|do |do\\\\t|do$|in |in\\\\t|in$|if |if\\\\t|if$)(?:((?<=^|[;\\\\& \\\\t])(?:readonly|declare|typeset|export|local)(?=[ \\\\t;\\\\&]|$))|((?![\\"']|\\\\\\\\\\\\n?$)[^!'\\"<> \\\\t\\\\n\\\\r]+?))(?:(?=[ \\\\t])|(?=[;|\\\\&\\\\n)\`{}]|[ \\\\t]*#|])(?<!\\\\\\\\))","name":"meta.statement.command.name.basic.shell"},"block_comment":{"begin":"\\\\s*+(/\\\\*)","beginCaptures":{"1":{"name":"punctuation.definition.comment.begin.shell"}},"end":"\\\\*/","endCaptures":{"0":{"name":"punctuation.definition.comment.end.shell"}},"name":"comment.block.shell"},"boolean":{"match":"\\\\b(?:true|false)\\\\b","name":"constant.language.$0.shell"},"case_statement":{"begin":"(\\\\bcase\\\\b)[ \\\\t]*+(.+?)[ \\\\t]*+(\\\\bin\\\\b)","beginCaptures":{"1":{"name":"keyword.control.case.shell"},"2":{"patterns":[{"include":"#initial_context"}]},"3":{"name":"keyword.control.in.shell"}},"end":"\\\\besac\\\\b","endCaptures":{"0":{"name":"keyword.control.esac.shell"}},"name":"meta.case.shell","patterns":[{"include":"#comment"},{"captures":{"1":{"name":"keyword.operator.pattern.case.default.shell"}},"match":"[ \\\\t]*+(\\\\* *\\\\))"},{"begin":"(?<!\\\\))(?![ \\\\t]*+(?:esac\\\\b|$))","beginCaptures":{},"end":"(?:(?=\\\\besac\\\\b)|(\\\\)))","endCaptures":{"1":{"name":"keyword.operator.pattern.case.shell"}},"name":"meta.case.entry.pattern.shell","patterns":[{"include":"#case_statement_context"}]},{"begin":"(?<=\\\\))","beginCaptures":{},"end":"(?:(;;)|(?=\\\\besac\\\\b))","endCaptures":{"1":{"name":"punctuation.terminator.statement.case.shell"}},"name":"meta.case.entry.body.shell","patterns":[{"include":"#typical_statements"},{"include":"#initial_context"}]}]},"case_statement_context":{"patterns":[{"match":"\\\\*","name":"variable.language.special.quantifier.star.shell keyword.operator.quantifier.star.shell punctuation.definition.arbitrary-repetition.shell punctuation.definition.regex.arbitrary-repetition.shell"},{"match":"\\\\+","name":"variable.language.special.quantifier.plus.shell keyword.operator.quantifier.plus.shell punctuation.definition.arbitrary-repetition.shell punctuation.definition.regex.arbitrary-repetition.shell"},{"match":"\\\\?","name":"variable.language.special.quantifier.question.shell keyword.operator.quantifier.question.shell punctuation.definition.arbitrary-repetition.shell punctuation.definition.regex.arbitrary-repetition.shell"},{"match":"@","name":"variable.language.special.at.shell keyword.operator.at.shell punctuation.definition.regex.at.shell"},{"match":"\\\\|","name":"keyword.operator.orvariable.language.special.or.shell keyword.operator.alternation.ruby.shell punctuation.definition.regex.alternation.shell punctuation.separator.regex.alternation.shell"},{"match":"\\\\\\\\.","name":"constant.character.escape.shell"},{"match":"(?<=\\\\tin| in|[ \\\\t]|;;)\\\\(","name":"keyword.operator.pattern.case.shell"},{"begin":"(?<=\\\\S)(\\\\()","beginCaptures":{"1":{"name":"punctuation.definition.group.shell punctuation.definition.regex.group.shell"}},"end":"\\\\)","endCaptures":{"0":{"name":"punctuation.definition.group.shell punctuation.definition.regex.group.shell"}},"name":"meta.parenthese.shell","patterns":[{"include":"#case_statement_context"}]},{"begin":"\\\\[","beginCaptures":{"0":{"name":"punctuation.definition.character-class.shell"}},"end":"]","endCaptures":{"0":{"name":"punctuation.definition.character-class.shell"}},"name":"string.regexp.character-class.shell","patterns":[{"match":"\\\\\\\\.","name":"constant.character.escape.shell"}]},{"include":"#string"},{"match":"[^) \\\\t\\\\n\\\\[?*|@]","name":"string.unquoted.pattern.shell string.regexp.unquoted.shell"}]},"command_name_range":{"begin":"\\\\G","beginCaptures":{},"end":"(?:(?=[ \\\\t;|\\\\&]|$|[\\\\n)\`])|(?=<))","endCaptures":{},"name":"meta.statement.command.name.shell","patterns":[{"match":"(?<!\\\\w)(?:continue|return|break)(?!\\\\w)","name":"entity.name.function.call.shell entity.name.command.shell keyword.control.$0.shell"},{"match":"(?<!\\\\w)(?:unfunction|continue|autoload|unsetopt|bindkey|builtin|getopts|command|declare|unalias|history|unlimit|typeset|suspend|source|printf|unhash|disown|ulimit|return|which|alias|break|false|print|shift|times|umask|umask|unset|read|type|exec|eval|wait|echo|dirs|jobs|kill|hash|stat|exit|test|trap|true|let|set|pwd|cd|fg|bg|fc|[:.])(?!/)(?!\\\\w)(?!-)","name":"entity.name.function.call.shell entity.name.command.shell support.function.builtin.shell"},{"include":"#variable"},{"captures":{"1":{"name":"entity.name.function.call.shell entity.name.command.shell"}},"match":"(?<!\\\\w)(?<=\\\\G|['\\"})])([^ \\\\n\\\\t\\\\r\\"'=;\\\\&|\`){<>]+)"},{"begin":"(?:\\\\G|(?<![ \\\\t;|\\\\&\\\\n{#]))(\\\\$?)((?:(\\")|(')))","beginCaptures":{"1":{"name":"meta.statement.command.name.quoted.shell punctuation.definition.string.shell entity.name.function.call.shell entity.name.command.shell"},"2":{},"3":{"name":"meta.statement.command.name.quoted.shell string.quoted.double.shell punctuation.definition.string.begin.shell entity.name.function.call.shell entity.name.command.shell"},"4":{"name":"meta.statement.command.name.quoted.shell string.quoted.single.shell punctuation.definition.string.begin.shell entity.name.function.call.shell entity.name.command.shell"}},"end":"(?<!\\\\G)(?<=(?:\\\\2))","endCaptures":{},"patterns":[{"include":"#continuation_of_single_quoted_command_name"},{"include":"#continuation_of_double_quoted_command_name"}]},{"include":"#line_continuation"},{"include":"#simple_unquoted"}]},"command_statement":{"begin":"[ \\\\t]*+(?!(?:[!\\\\&|(){\\\\[<>#\\\\n]|$|[; \\\\t]))(?!nocorrect |nocorrect\\\\t|nocorrect$|readonly |readonly\\\\t|readonly$|function |function\\\\t|function$|foreach |foreach\\\\t|foreach$|coproc |coproc\\\\t|coproc$|logout |logout\\\\t|logout$|export |export\\\\t|export$|select |select\\\\t|select$|repeat |repeat\\\\t|repeat$|pushd |pushd\\\\t|pushd$|until |until\\\\t|until$|while |while\\\\t|while$|local |local\\\\t|local$|case |case\\\\t|case$|done |done\\\\t|done$|elif |elif\\\\t|elif$|else |else\\\\t|else$|esac |esac\\\\t|esac$|popd |popd\\\\t|popd$|then |then\\\\t|then$|time |time\\\\t|time$|for |for\\\\t|for$|end |end\\\\t|end$|fi |fi\\\\t|fi$|do |do\\\\t|do$|in |in\\\\t|in$|if |if\\\\t|if$)(?!\\\\\\\\\\\\n?$)","beginCaptures":{},"end":"(?=[;|\\\\&\\\\n)\`{}]|[ \\\\t]*#|])(?<!\\\\\\\\)","endCaptures":{},"name":"meta.statement.command.shell","patterns":[{"include":"#command_name_range"},{"include":"#line_continuation"},{"include":"#option"},{"include":"#argument"},{"include":"#string"},{"include":"#heredoc"}]},"comment":{"captures":{"1":{"name":"comment.line.number-sign.shell meta.shebang.shell"},"2":{"name":"punctuation.definition.comment.shebang.shell"},"3":{"name":"comment.line.number-sign.shell"},"4":{"name":"punctuation.definition.comment.shell"}},"match":"(?:^|[ \\\\t]++)(?:((#!).*)|((#).*))"},"comments":{"patterns":[{"include":"#block_comment"},{"include":"#line_comment"}]},"compound-command":{"patterns":[{"begin":"\\\\[","beginCaptures":{"0":{"name":"punctuation.definition.logical-expression.shell"}},"end":"]","endCaptures":{"0":{"name":"punctuation.definition.logical-expression.shell"}},"name":"meta.scope.logical-expression.shell","patterns":[{"include":"#logical-expression"},{"include":"#initial_context"}]},{"begin":"(?<=\\\\s|^)\\\\{(?=\\\\s|$)","beginCaptures":{"0":{"name":"punctuation.definition.group.shell"}},"end":"(?<=^|;)\\\\s*(})","endCaptures":{"1":{"name":"punctuation.definition.group.shell"}},"name":"meta.scope.group.shell","patterns":[{"include":"#initial_context"}]}]},"continuation_of_double_quoted_command_name":{"begin":"\\\\G(?<=\\")","beginCaptures":{},"contentName":"meta.statement.command.name.continuation string.quoted.double entity.name.function.call entity.name.command","end":"\\"","endCaptures":{"0":{"name":"string.quoted.double.shell punctuation.definition.string.end.shell entity.name.function.call.shell entity.name.command.shell"}},"patterns":[{"match":"\\\\\\\\[$\\\\n\`\\"\\\\\\\\]","name":"constant.character.escape.shell"},{"include":"#variable"},{"include":"#interpolation"}]},"continuation_of_single_quoted_command_name":{"begin":"\\\\G(?<=')","beginCaptures":{},"contentName":"meta.statement.command.name.continuation string.quoted.single entity.name.function.call entity.name.command","end":"'","endCaptures":{"0":{"name":"string.quoted.single.shell punctuation.definition.string.end.shell entity.name.function.call.shell entity.name.command.shell"}}},"custom_command_names":{"patterns":[]},"custom_commands":{"patterns":[]},"double_quote_context":{"patterns":[{"match":"\\\\\\\\[$\`\\"\\\\\\\\\\\\n]","name":"constant.character.escape.shell"},{"include":"#variable"},{"include":"#interpolation"}]},"double_quote_escape_char":{"match":"\\\\\\\\[$\`\\"\\\\\\\\\\\\n]","name":"constant.character.escape.shell"},"floating_keyword":{"patterns":[{"match":"(?<=^|[;\\\\& \\\\t])(?:then|elif|else|done|end|do|if|fi)(?=[ \\\\t;\\\\&]|$)","name":"keyword.control.$0.shell"}]},"for_statement":{"patterns":[{"begin":"(\\\\bfor\\\\b)[ \\\\t]*+((?<!\\\\w)[a-zA-Z_0-9\\\\-]+(?!\\\\w))[ \\\\t]*+(\\\\bin\\\\b)","beginCaptures":{"1":{"name":"keyword.control.for.shell"},"2":{"name":"variable.other.for.shell"},"3":{"name":"keyword.control.in.shell"}},"end":"(?=[;|\\\\&\\\\n)\`{}]|[ \\\\t]*#|])(?<!\\\\\\\\)","endCaptures":{},"name":"meta.for.in.shell","patterns":[{"include":"#string"},{"include":"#simple_unquoted"},{"include":"#normal_context"}]},{"begin":"(\\\\bfor\\\\b)","beginCaptures":{"1":{"name":"keyword.control.for.shell"}},"end":"(?=[;|\\\\&\\\\n)\`{}]|[ \\\\t]*#|])(?<!\\\\\\\\)","endCaptures":{},"name":"meta.for.shell","patterns":[{"include":"#arithmetic_double"},{"include":"#normal_context"}]}]},"function_definition":{"applyEndPatternLast":1,"begin":"[ \\\\t]*+(?:(\\\\bfunction\\\\b)[ \\\\t]*+([^ \\\\t\\\\n\\\\r()=\\"']+)(?:(\\\\()[ \\\\t]*+(\\\\)))?|([^ \\\\t\\\\n\\\\r()=\\"']+)[ \\\\t]*+(\\\\()[ \\\\t]*+(\\\\)))","beginCaptures":{"1":{"name":"storage.type.function.shell"},"2":{"name":"entity.name.function.shell"},"3":{"name":"punctuation.definition.arguments.shell"},"4":{"name":"punctuation.definition.arguments.shell"},"5":{"name":"entity.name.function.shell"},"6":{"name":"punctuation.definition.arguments.shell"},"7":{"name":"punctuation.definition.arguments.shell"}},"end":"(?<=[})])","endCaptures":{},"name":"meta.function.shell","patterns":[{"match":"\\\\G[\\\\t \\\\n]"},{"begin":"\\\\{","beginCaptures":{"0":{"name":"punctuation.definition.group.shell punctuation.section.function.definition.shell"}},"end":"}","endCaptures":{"0":{"name":"punctuation.definition.group.shell punctuation.section.function.definition.shell"}},"name":"meta.function.body.shell","patterns":[{"include":"#initial_context"}]},{"begin":"\\\\(","beginCaptures":{"0":{"name":"punctuation.definition.group.shell punctuation.section.function.definition.shell"}},"end":"\\\\)","endCaptures":{"0":{"name":"punctuation.definition.group.shell punctuation.section.function.definition.shell"}},"name":"meta.function.body.shell","patterns":[{"include":"#initial_context"}]},{"include":"#initial_context"}]},"heredoc":{"patterns":[{"begin":"((?<!<)<<-)[ \\\\t]*+([\\"'])[ \\\\t]*+([^\\"']+?)(?=[\\\\s;\\\\&<\\"'])(\\\\2)(.*)","beginCaptures":{"1":{"name":"keyword.operator.heredoc.shell"},"2":{"name":"punctuation.definition.string.heredoc.quote.shell"},"3":{"name":"punctuation.definition.string.heredoc.delimiter.shell"},"4":{"name":"punctuation.definition.string.heredoc.quote.shell"},"5":{"patterns":[{"include":"#redirect_fix"},{"include":"#typical_statements"}]}},"contentName":"string.quoted.heredoc.indent.$3","end":"(?:(?:^\\\\t*)(?:\\\\3)(?=\\\\s|;|&|$))","endCaptures":{"0":{"name":"punctuation.definition.string.heredoc.$0.shell"}},"patterns":[]},{"begin":"((?<!<)<<(?!<))[ \\\\t]*+([\\"'])[ \\\\t]*+([^\\"']+?)(?=[\\\\s;\\\\&<\\"'])(\\\\2)(.*)","beginCaptures":{"1":{"name":"keyword.operator.heredoc.shell"},"2":{"name":"punctuation.definition.string.heredoc.quote.shell"},"3":{"name":"punctuation.definition.string.heredoc.delimiter.shell"},"4":{"name":"punctuation.definition.string.heredoc.quote.shell"},"5":{"patterns":[{"include":"#redirect_fix"},{"include":"#typical_statements"}]}},"contentName":"string.quoted.heredoc.no-indent.$3","end":"(?:^(?:\\\\3)(?=\\\\s|;|&|$))","endCaptures":{"0":{"name":"punctuation.definition.string.heredoc.delimiter.shell"}},"patterns":[]},{"begin":"((?<!<)<<-)[ \\\\t]*+([^\\"' \\\\t]+)(?=[\\\\s;\\\\&<\\"'])(.*)","beginCaptures":{"1":{"name":"keyword.operator.heredoc.shell"},"2":{"name":"punctuation.definition.string.heredoc.delimiter.shell"},"3":{"patterns":[{"include":"#redirect_fix"},{"include":"#typical_statements"}]}},"contentName":"string.unquoted.heredoc.indent.$2","end":"(?:(?:^\\\\t*)(?:\\\\2)(?=\\\\s|;|&|$))","endCaptures":{"0":{"name":"punctuation.definition.string.heredoc.delimiter.shell"}},"patterns":[{"include":"#double_quote_escape_char"},{"include":"#variable"},{"include":"#interpolation"}]},{"begin":"((?<!<)<<(?!<))[ \\\\t]*+([^\\"' \\\\t]+)(?=[\\\\s;\\\\&<\\"'])(.*)","beginCaptures":{"1":{"name":"keyword.operator.heredoc.shell"},"2":{"name":"punctuation.definition.string.heredoc.delimiter.shell"},"3":{"patterns":[{"include":"#redirect_fix"},{"include":"#typical_statements"}]}},"contentName":"string.unquoted.heredoc.no-indent.$2","end":"(?:^(?:\\\\2)(?=\\\\s|;|&|$))","endCaptures":{"0":{"name":"punctuation.definition.string.heredoc.delimiter.shell"}},"patterns":[{"include":"#double_quote_escape_char"},{"include":"#variable"},{"include":"#interpolation"}]}]},"herestring":{"patterns":[{"begin":"(<<<)\\\\s*(('))","beginCaptures":{"1":{"name":"keyword.operator.herestring.shell"},"2":{"name":"string.quoted.single.shell"},"3":{"name":"punctuation.definition.string.begin.shell"}},"contentName":"string.quoted.single.shell","end":"(')","endCaptures":{"0":{"name":"string.quoted.single.shell"},"1":{"name":"punctuation.definition.string.end.shell"}},"name":"meta.herestring.shell"},{"begin":"(<<<)\\\\s*((\\"))","beginCaptures":{"1":{"name":"keyword.operator.herestring.shell"},"2":{"name":"string.quoted.double.shell"},"3":{"name":"punctuation.definition.string.begin.shell"}},"contentName":"string.quoted.double.shell","end":"(\\")","endCaptures":{"0":{"name":"string.quoted.double.shell"},"1":{"name":"punctuation.definition.string.end.shell"}},"name":"meta.herestring.shell","patterns":[{"include":"#double_quote_context"}]},{"captures":{"1":{"name":"keyword.operator.herestring.shell"},"2":{"name":"string.unquoted.herestring.shell","patterns":[{"include":"#initial_context"}]}},"match":"(<<<)\\\\s*(([^\\\\s)\\\\\\\\]|\\\\\\\\.)+)","name":"meta.herestring.shell"}]},"initial_context":{"patterns":[{"include":"#comment"},{"include":"#pipeline"},{"include":"#normal_statement_seperator"},{"include":"#logical_expression_double"},{"include":"#logical_expression_single"},{"include":"#assignment_statement"},{"include":"#case_statement"},{"include":"#for_statement"},{"include":"#loop"},{"include":"#function_definition"},{"include":"#line_continuation"},{"include":"#arithmetic_double"},{"include":"#misc_ranges"},{"include":"#variable"},{"include":"#interpolation"},{"include":"#heredoc"},{"include":"#herestring"},{"include":"#redirection"},{"include":"#pathname"},{"include":"#floating_keyword"},{"include":"#alias_statement"},{"include":"#normal_statement"},{"include":"#string"},{"include":"#support"}]},"inline_comment":{"captures":{"1":{"name":"comment.block.shell punctuation.definition.comment.begin.shell"},"2":{"name":"comment.block.shell"},"3":{"patterns":[{"match":"\\\\*/","name":"comment.block.shell punctuation.definition.comment.end.shell"},{"match":"\\\\*","name":"comment.block.shell"}]}},"match":"(/\\\\*)((?:[^*]|\\\\*++[^/])*+(\\\\*++/))"},"interpolation":{"patterns":[{"include":"#arithmetic_dollar"},{"include":"#subshell_dollar"},{"begin":"\`","beginCaptures":{"0":{"name":"punctuation.definition.evaluation.backticks.shell"}},"end":"\`","endCaptures":{"0":{"name":"punctuation.definition.evaluation.backticks.shell"}},"name":"string.interpolated.backtick.shell","patterns":[{"match":"\\\\\\\\[\`\\\\\\\\$]","name":"constant.character.escape.shell"},{"begin":"(?<=\\\\W)(?=#)(?!#\\\\{)","beginCaptures":{"1":{"name":"punctuation.whitespace.comment.leading.shell"}},"end":"(?!\\\\G)","patterns":[{"begin":"#","beginCaptures":{"0":{"name":"punctuation.definition.comment.shell"}},"end":"(?=\`)","name":"comment.line.number-sign.shell"}]},{"include":"#initial_context"}]}]},"keyword":{"patterns":[{"match":"(?<=^|[;\\\\&\\\\s])(then|else|elif|fi|for|in|do|done|select|continue|esac|while|until|return)(?=[\\\\s;\\\\&]|$)","name":"keyword.control.shell"},{"match":"(?<=^|[;\\\\&\\\\s])(?:export|declare|typeset|local|readonly)(?=[\\\\s;\\\\&]|$)","name":"storage.modifier.shell"}]},"line_comment":{"begin":"\\\\s*+(//)","beginCaptures":{"1":{"name":"punctuation.definition.comment.shell"}},"end":"(?<=\\\\n)(?<!\\\\\\\\\\\\n)","endCaptures":{},"name":"comment.line.double-slash.shell","patterns":[{"include":"#line_continuation_character"}]},"line_continuation":{"match":"\\\\\\\\(?=\\\\n)","name":"constant.character.escape.line-continuation.shell"},"logical-expression":{"patterns":[{"include":"#arithmetic_no_dollar"},{"match":"=[=~]?|!=?|[<>]|&&|\\\\|\\\\|","name":"keyword.operator.logical.shell"},{"match":"(?<!\\\\S)-(nt|ot|ef|eq|ne|l[te]|g[te]|[a-hknoprstuwxzOGLSN])\\\\b","name":"keyword.operator.logical.shell"}]},"logical_expression_context":{"patterns":[{"include":"#regex_comparison"},{"include":"#arithmetic_no_dollar"},{"include":"#logical-expression"},{"include":"#logical_expression_single"},{"include":"#logical_expression_double"},{"include":"#comment"},{"include":"#boolean"},{"include":"#redirect_number"},{"include":"#numeric_literal"},{"include":"#pipeline"},{"include":"#normal_statement_seperator"},{"include":"#string"},{"include":"#variable"},{"include":"#interpolation"},{"include":"#heredoc"},{"include":"#herestring"},{"include":"#pathname"},{"include":"#floating_keyword"},{"include":"#support"}]},"logical_expression_double":{"begin":"\\\\[\\\\[","beginCaptures":{"0":{"name":"punctuation.definition.logical-expression.shell"}},"end":"]]","endCaptures":{"0":{"name":"punctuation.definition.logical-expression.shell"}},"name":"meta.scope.logical-expression.shell","patterns":[{"include":"#logical_expression_context"}]},"logical_expression_single":{"begin":"\\\\[","beginCaptures":{"0":{"name":"punctuation.definition.logical-expression.shell"}},"end":"]","endCaptures":{"0":{"name":"punctuation.definition.logical-expression.shell"}},"name":"meta.scope.logical-expression.shell","patterns":[{"include":"#logical_expression_context"}]},"loop":{"patterns":[{"begin":"(?<=^|[;\\\\&\\\\s])(for)\\\\s+(.+?)\\\\s+(in)(?=[\\\\s;\\\\&]|$)","beginCaptures":{"1":{"name":"keyword.control.shell"},"2":{"name":"variable.other.loop.shell","patterns":[{"include":"#string"}]},"3":{"name":"keyword.control.shell"}},"end":"(?<=^|[;\\\\&\\\\s])done(?=[\\\\s;\\\\&]|$|\\\\))","endCaptures":{"0":{"name":"keyword.control.shell"}},"name":"meta.scope.for-in-loop.shell","patterns":[{"include":"#initial_context"}]},{"begin":"(?<=^|[;\\\\&\\\\s])(while|until)(?=[\\\\s;\\\\&]|$)","beginCaptures":{"1":{"name":"keyword.control.shell"}},"end":"(?<=^|[;\\\\&\\\\s])done(?=[\\\\s;\\\\&]|$|\\\\))","endCaptures":{"0":{"name":"keyword.control.shell"}},"name":"meta.scope.while-loop.shell","patterns":[{"include":"#initial_context"}]},{"begin":"(?<=^|[;\\\\&\\\\s])(select)\\\\s+((?:[^\\\\s\\\\\\\\]|\\\\\\\\.)+)(?=[\\\\s;\\\\&]|$)","beginCaptures":{"1":{"name":"keyword.control.shell"},"2":{"name":"variable.other.loop.shell"}},"end":"(?<=^|[;\\\\&\\\\s])(done)(?=[\\\\s;\\\\&]|$|\\\\))","endCaptures":{"1":{"name":"keyword.control.shell"}},"name":"meta.scope.select-block.shell","patterns":[{"include":"#initial_context"}]},{"begin":"(?<=^|[;\\\\&\\\\s])if(?=[\\\\s;\\\\&]|$)","beginCaptures":{"0":{"name":"keyword.control.if.shell"}},"end":"(?<=^|[;\\\\&\\\\s])fi(?=[\\\\s;\\\\&]|$)","endCaptures":{"0":{"name":"keyword.control.fi.shell"}},"name":"meta.scope.if-block.shell","patterns":[{"include":"#initial_context"}]}]},"math":{"patterns":[{"include":"#variable"},{"match":"\\\\+{1,2}|-{1,2}|[!~]|\\\\*{1,2}|[/%]|<[<=]?|>[>=]?|==|!=|^|\\\\|{1,2}|&{1,2}|[?:,=]|[*/%+\\\\-\\\\&\\\\^|]=|<<=|>>=","name":"keyword.operator.arithmetic.shell"},{"match":"0[xX]\\\\h+","name":"constant.numeric.hex.shell"},{"match":";","name":"punctuation.separator.semicolon.range"},{"match":"0\\\\d+","name":"constant.numeric.octal.shell"},{"match":"\\\\d{1,2}#[0-9a-zA-Z@_]+","name":"constant.numeric.other.shell"},{"match":"\\\\d+","name":"constant.numeric.integer.shell"},{"match":"(?<!\\\\w)[a-zA-Z_0-9]+(?!\\\\w)","name":"variable.other.normal.shell"}]},"math_operators":{"patterns":[{"match":"\\\\+{1,2}|-{1,2}|[!~]|\\\\*{1,2}|[/%]|<[<=]?|>[>=]?|==|!=|^|\\\\|{1,2}|&{1,2}|[?:,=]|[*/%+\\\\-\\\\&\\\\^|]=|<<=|>>=","name":"keyword.operator.arithmetic.shell"},{"match":"0[xX]\\\\h+","name":"constant.numeric.hex.shell"},{"match":"0\\\\d+","name":"constant.numeric.octal.shell"},{"match":"\\\\d{1,2}#[0-9a-zA-Z@_]+","name":"constant.numeric.other.shell"},{"match":"\\\\d+","name":"constant.numeric.integer.shell"}]},"misc_ranges":{"patterns":[{"include":"#logical_expression_single"},{"include":"#logical_expression_double"},{"include":"#subshell_dollar"},{"begin":"(?<![^ \\\\t])(\\\\{)(?![\\\\w$])","beginCaptures":{"1":{"name":"punctuation.definition.group.shell"}},"end":"}","endCaptures":{"0":{"name":"punctuation.definition.group.shell"}},"name":"meta.scope.group.shell","patterns":[{"include":"#initial_context"}]}]},"modified_assignment_statement":{"begin":"(?<=^|[;\\\\& \\\\t])(?:readonly|declare|typeset|export|local)(?=[ \\\\t;\\\\&]|$)","beginCaptures":{"0":{"name":"storage.modifier.$0.shell"}},"end":"(?=[;|\\\\&\\\\n)\`{}]|[ \\\\t]*#|])(?<!\\\\\\\\)","endCaptures":{},"name":"meta.statement.shell meta.expression.assignment.modified.shell","patterns":[{"match":"(?<!\\\\w)-\\\\w+\\\\b","name":"string.unquoted.argument.shell constant.other.option.shell"},{"include":"#array_value"},{"captures":{"1":{"name":"variable.other.assignment.shell"},"2":{"name":"punctuation.definition.array.access.shell"},"3":{"name":"variable.other.assignment.shell"},"4":{"name":"constant.numeric.shell constant.numeric.integer.shell"},"5":{"name":"punctuation.definition.array.access.shell"},"6":{"name":"keyword.operator.assignment.shell"},"7":{"name":"keyword.operator.assignment.compound.shell"},"8":{"name":"keyword.operator.assignment.compound.shell"},"9":{"name":"constant.numeric.shell constant.numeric.hex.shell"},"10":{"name":"constant.numeric.shell constant.numeric.octal.shell"},"11":{"name":"constant.numeric.shell constant.numeric.other.shell"},"12":{"name":"constant.numeric.shell constant.numeric.decimal.shell"},"13":{"name":"constant.numeric.shell constant.numeric.version.shell"},"14":{"name":"constant.numeric.shell constant.numeric.integer.shell"}},"match":"((?<!\\\\w)[a-zA-Z_0-9\\\\-]+(?!\\\\w))(?:(\\\\[)((?:(?:(?:\\\\$?(?<!\\\\w)[a-zA-Z_0-9\\\\-]+(?!\\\\w)|@)|\\\\*)|(-?\\\\d+)))(]))?(?:(?:(=)|(\\\\+=))|(-=))?(?:(?<=[= \\\\t]|^|[{(\\\\[])(?:(?:(?:(?:(?:(0[xX]\\\\h+)|(0\\\\d+))|(\\\\d{1,2}#[0-9a-zA-Z@_]+))|(-?\\\\d+\\\\.\\\\d+))|(-?\\\\d+(?:\\\\.\\\\d+)+))|(-?\\\\d+))(?=[ \\\\t]|$|[});]))?"},{"include":"#normal_context"}]},"modifiers":{"match":"(?<=^|[;\\\\& \\\\t])(?:readonly|declare|typeset|export|local)(?=[ \\\\t;\\\\&]|$)","name":"storage.modifier.$0.shell"},"normal_assignment_statement":{"begin":"[ \\\\t]*+((?<!\\\\w)[a-zA-Z_0-9\\\\-]+(?!\\\\w))(?:(\\\\[)((?:(?:(?:\\\\$?(?<!\\\\w)[a-zA-Z_0-9\\\\-]+(?!\\\\w)|@)|\\\\*)|(-?\\\\d+)))(]))?(?:(?:(=)|(\\\\+=))|(-=))","beginCaptures":{"1":{"name":"variable.other.assignment.shell"},"2":{"name":"punctuation.definition.array.access.shell"},"3":{"name":"variable.other.assignment.shell"},"4":{"name":"constant.numeric.shell constant.numeric.integer.shell"},"5":{"name":"punctuation.definition.array.access.shell"},"6":{"name":"keyword.operator.assignment.shell"},"7":{"name":"keyword.operator.assignment.compound.shell"},"8":{"name":"keyword.operator.assignment.compound.shell"}},"end":"(?=[;|\\\\&\\\\n)\`{}]|[ \\\\t]*#|])(?<!\\\\\\\\)","endCaptures":{},"name":"meta.expression.assignment.shell","patterns":[{"include":"#comment"},{"include":"#string"},{"include":"#normal_assignment_statement"},{"begin":"(?<=[ \\\\t])(?![ \\\\t]|\\\\w+=)","beginCaptures":{},"end":"(?=[;|\\\\&\\\\n)\`{}]|[ \\\\t]*#|])(?<!\\\\\\\\)","endCaptures":{},"name":"meta.statement.command.env.shell","patterns":[{"include":"#command_name_range"},{"include":"#line_continuation"},{"include":"#option"},{"include":"#argument"},{"include":"#string"}]},{"include":"#simple_unquoted"},{"include":"#normal_context"}]},"normal_context":{"patterns":[{"include":"#comment"},{"include":"#pipeline"},{"include":"#normal_statement_seperator"},{"include":"#misc_ranges"},{"include":"#boolean"},{"include":"#redirect_number"},{"include":"#numeric_literal"},{"include":"#string"},{"include":"#variable"},{"include":"#interpolation"},{"include":"#heredoc"},{"include":"#herestring"},{"include":"#redirection"},{"include":"#pathname"},{"include":"#floating_keyword"},{"include":"#support"},{"include":"#parenthese"}]},"normal_statement":{"begin":"(?!^[ \\\\t]*+$)(?:(?<=^until | until |\\\\tuntil |^while | while |\\\\twhile |^elif | elif |\\\\telif |^else | else |\\\\telse |^then | then |\\\\tthen |^do | do |\\\\tdo |^if | if |\\\\tif )|(?<=(?:^|[;|\\\\&!({\`])))[ \\\\t]*+(?!nocorrect\\\\W|nocorrect\\\\$|function\\\\W|function\\\\$|foreach\\\\W|foreach\\\\$|repeat\\\\W|repeat\\\\$|logout\\\\W|logout\\\\$|coproc\\\\W|coproc\\\\$|select\\\\W|select\\\\$|while\\\\W|while\\\\$|pushd\\\\W|pushd\\\\$|until\\\\W|until\\\\$|case\\\\W|case\\\\$|done\\\\W|done\\\\$|elif\\\\W|elif\\\\$|else\\\\W|else\\\\$|esac\\\\W|esac\\\\$|popd\\\\W|popd\\\\$|then\\\\W|then\\\\$|time\\\\W|time\\\\$|for\\\\W|for\\\\$|end\\\\W|end\\\\$|fi\\\\W|fi\\\\$|do\\\\W|do\\\\$|in\\\\W|in\\\\$|if\\\\W|if\\\\$)","beginCaptures":{},"end":"(?=[;|\\\\&\\\\n)\`{}]|[ \\\\t]*#|])(?<!\\\\\\\\)","endCaptures":{},"name":"meta.statement.shell","patterns":[{"include":"#typical_statements"}]},"normal_statement_seperator":{"captures":{"1":{"name":"punctuation.terminator.statement.semicolon.shell"},"2":{"name":"punctuation.separator.statement.and.shell"},"3":{"name":"punctuation.separator.statement.or.shell"},"4":{"name":"punctuation.separator.statement.background.shell"}},"match":"(?:(?:(?:(;)|(&&))|(\\\\|\\\\|))|(&))"},"numeric_literal":{"captures":{"1":{"name":"constant.numeric.shell constant.numeric.hex.shell"},"2":{"name":"constant.numeric.shell constant.numeric.octal.shell"},"3":{"name":"constant.numeric.shell constant.numeric.other.shell"},"4":{"name":"constant.numeric.shell constant.numeric.decimal.shell"},"5":{"name":"constant.numeric.shell constant.numeric.version.shell"},"6":{"name":"constant.numeric.shell constant.numeric.integer.shell"}},"match":"(?<=[= \\\\t]|^|[{(\\\\[])(?:(?:(?:(?:(?:(0[xX]\\\\h+)|(0\\\\d+))|(\\\\d{1,2}#[0-9a-zA-Z@_]+))|(-?\\\\d+\\\\.\\\\d+))|(-?\\\\d+(?:\\\\.\\\\d+)+))|(-?\\\\d+))(?=[ \\\\t]|$|[});])"},"option":{"begin":"[ \\\\t]++(-)((?!(?:[!\\\\&|(){\\\\[<>#\\\\n]|$|[; \\\\t])))","beginCaptures":{"1":{"name":"string.unquoted.argument.shell constant.other.option.dash.shell"},"2":{"name":"string.unquoted.argument.shell constant.other.option.shell"}},"contentName":"string.unquoted.argument constant.other.option","end":"(?:(?=[ \\\\t])|(?=[;|\\\\&\\\\n)\`{}]|[ \\\\t]*#|])(?<!\\\\\\\\))","endCaptures":{},"patterns":[{"include":"#option_context"}]},"option_context":{"patterns":[{"include":"#misc_ranges"},{"include":"#string"},{"include":"#variable"},{"include":"#interpolation"},{"include":"#heredoc"},{"include":"#herestring"},{"include":"#redirection"},{"include":"#pathname"},{"include":"#floating_keyword"},{"include":"#support"}]},"parenthese":{"patterns":[{"begin":"\\\\(","beginCaptures":{"0":{"name":"punctuation.section.parenthese.shell"}},"end":"\\\\)","endCaptures":{"0":{"name":"punctuation.section.parenthese.shell"}},"name":"meta.parenthese.group.shell","patterns":[{"include":"#initial_context"}]}]},"pathname":{"patterns":[{"match":"(?<=[\\\\s:=]|^)~","name":"keyword.operator.tilde.shell"},{"match":"[*?]","name":"keyword.operator.glob.shell"},{"begin":"([?*+@!])(\\\\()","beginCaptures":{"1":{"name":"keyword.operator.extglob.shell"},"2":{"name":"punctuation.definition.extglob.shell"}},"end":"\\\\)","endCaptures":{"0":{"name":"punctuation.definition.extglob.shell"}},"name":"meta.structure.extglob.shell","patterns":[{"include":"#initial_context"}]}]},"pipeline":{"patterns":[{"match":"(?<=^|[;\\\\&\\\\s])(time)(?=[\\\\s;\\\\&]|$)","name":"keyword.other.shell"},{"match":"[|!]","name":"keyword.operator.pipe.shell"}]},"redirect_fix":{"captures":{"1":{"name":"keyword.operator.redirect.shell"},"2":{"name":"string.unquoted.argument.shell"}},"match":"(>>?)[ \\\\t]*+([^ \\\\t\\\\n>\\\\&;<()$\`\\\\\\\\\\"'|]+)"},"redirect_number":{"captures":{"1":{"name":"keyword.operator.redirect.stdout.shell"},"2":{"name":"keyword.operator.redirect.stderr.shell"},"3":{"name":"keyword.operator.redirect.$3.shell"}},"match":"(?<=[ \\\\t])(?:(1)|(2)|(\\\\d+))(?=>)"},"redirection":{"patterns":[{"begin":"[><]\\\\(","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.shell"}},"end":"\\\\)","endCaptures":{"0":{"name":"punctuation.definition.string.end.shell"}},"name":"string.interpolated.process-substitution.shell","patterns":[{"include":"#initial_context"}]},{"match":"(?<![<>])(&>|\\\\d*>&\\\\d*|\\\\d*(>>|[><])|\\\\d*<&|\\\\d*<>)(?![<>])","name":"keyword.operator.redirect.shell"}]},"regex_comparison":{"match":"=~","name":"keyword.operator.logical.regex.shell"},"regexp":{"patterns":[{"match":".+"}]},"simple_options":{"captures":{"0":{"patterns":[{"captures":{"1":{"name":"string.unquoted.argument.shell constant.other.option.dash.shell"},"2":{"name":"string.unquoted.argument.shell constant.other.option.shell"}},"match":"[ \\\\t]++(-)(\\\\w+)"}]}},"match":"(?:[ \\\\t]++-\\\\w+)*"},"simple_unquoted":{"match":"[^ \\\\t\\\\n>\\\\&;<()$\`\\\\\\\\\\"'|]","name":"string.unquoted.shell"},"special_expansion":{"match":"!|:[\\\\-=?]?|[*@]|##|#|%%|[%/]","name":"keyword.operator.expansion.shell"},"start_of_command":{"match":"[ \\\\t]*+(?!(?:[!\\\\&|(){\\\\[<>#\\\\n]|$|[; \\\\t]))(?!nocorrect |nocorrect\\\\t|nocorrect$|readonly |readonly\\\\t|readonly$|function |function\\\\t|function$|foreach |foreach\\\\t|foreach$|coproc |coproc\\\\t|coproc$|logout |logout\\\\t|logout$|export |export\\\\t|export$|select |select\\\\t|select$|repeat |repeat\\\\t|repeat$|pushd |pushd\\\\t|pushd$|until |until\\\\t|until$|while |while\\\\t|while$|local |local\\\\t|local$|case |case\\\\t|case$|done |done\\\\t|done$|elif |elif\\\\t|elif$|else |else\\\\t|else$|esac |esac\\\\t|esac$|popd |popd\\\\t|popd$|then |then\\\\t|then$|time |time\\\\t|time$|for |for\\\\t|for$|end |end\\\\t|end$|fi |fi\\\\t|fi$|do |do\\\\t|do$|in |in\\\\t|in$|if |if\\\\t|if$)(?!\\\\\\\\\\\\n?$)"},"string":{"patterns":[{"match":"\\\\\\\\.","name":"constant.character.escape.shell"},{"begin":"'","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.shell"}},"end":"'","endCaptures":{"0":{"name":"punctuation.definition.string.end.shell"}},"name":"string.quoted.single.shell"},{"begin":"\\\\$?\\"","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.shell"}},"end":"\\"","endCaptures":{"0":{"name":"punctuation.definition.string.end.shell"}},"name":"string.quoted.double.shell","patterns":[{"match":"\\\\\\\\[$\\\\n\`\\"\\\\\\\\]","name":"constant.character.escape.shell"},{"include":"#variable"},{"include":"#interpolation"}]},{"begin":"\\\\$'","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.shell"}},"end":"'","endCaptures":{"0":{"name":"punctuation.definition.string.end.shell"}},"name":"string.quoted.single.dollar.shell","patterns":[{"match":"\\\\\\\\[abefnrtv\\\\\\\\']","name":"constant.character.escape.ansi-c.shell"},{"match":"\\\\\\\\[0-9]{3}\\"","name":"constant.character.escape.octal.shell"},{"match":"\\\\\\\\x\\\\h{2}\\"","name":"constant.character.escape.hex.shell"},{"match":"\\\\\\\\c.\\"","name":"constant.character.escape.control-char.shell"}]}]},"subshell_dollar":{"patterns":[{"begin":"\\\\$\\\\(","beginCaptures":{"0":{"name":"punctuation.definition.subshell.single.shell"}},"end":"\\\\)","endCaptures":{"0":{"name":"punctuation.definition.subshell.single.shell"}},"name":"meta.scope.subshell","patterns":[{"include":"#parenthese"},{"include":"#initial_context"}]}]},"support":{"patterns":[{"match":"(?<=^|[;\\\\&\\\\s])[:.](?=[\\\\s;\\\\&]|$)","name":"support.function.builtin.shell"}]},"typical_statements":{"patterns":[{"include":"#assignment_statement"},{"include":"#case_statement"},{"include":"#for_statement"},{"include":"#while_statement"},{"include":"#function_definition"},{"include":"#command_statement"},{"include":"#line_continuation"},{"include":"#arithmetic_double"},{"include":"#normal_context"}]},"variable":{"patterns":[{"captures":{"1":{"name":"punctuation.definition.variable.shell variable.parameter.positional.all.shell"},"2":{"name":"variable.parameter.positional.all.shell"}},"match":"(\\\\$)(@(?!\\\\w))"},{"captures":{"1":{"name":"punctuation.definition.variable.shell variable.parameter.positional.shell"},"2":{"name":"variable.parameter.positional.shell"}},"match":"(\\\\$)([0-9](?!\\\\w))"},{"captures":{"1":{"name":"punctuation.definition.variable.shell variable.language.special.shell"},"2":{"name":"variable.language.special.shell"}},"match":"(\\\\$)([\\\\-*#?$!0_](?!\\\\w))"},{"begin":"(\\\\$)(\\\\{)[ \\\\t]*+(?=\\\\d)","beginCaptures":{"1":{"name":"punctuation.definition.variable.shell variable.parameter.positional.shell"},"2":{"name":"punctuation.section.bracket.curly.variable.begin.shell punctuation.definition.variable.shell variable.parameter.positional.shell"}},"contentName":"meta.parameter-expansion","end":"}","endCaptures":{"0":{"name":"punctuation.section.bracket.curly.variable.end.shell punctuation.definition.variable.shell variable.parameter.positional.shell"}},"patterns":[{"include":"#special_expansion"},{"include":"#array_access_inline"},{"match":"[0-9]+","name":"variable.parameter.positional.shell"},{"match":"(?<!\\\\w)[a-zA-Z_0-9\\\\-]+(?!\\\\w)","name":"variable.other.normal.shell"},{"include":"#variable"},{"include":"#string"}]},{"begin":"(\\\\$)(\\\\{)","beginCaptures":{"1":{"name":"punctuation.definition.variable.shell"},"2":{"name":"punctuation.section.bracket.curly.variable.begin.shell punctuation.definition.variable.shell"}},"contentName":"meta.parameter-expansion","end":"}","endCaptures":{"0":{"name":"punctuation.section.bracket.curly.variable.end.shell punctuation.definition.variable.shell"}},"patterns":[{"include":"#special_expansion"},{"include":"#array_access_inline"},{"match":"(?<!\\\\w)[a-zA-Z_0-9\\\\-]+(?!\\\\w)","name":"variable.other.normal.shell"},{"include":"#variable"},{"include":"#string"}]},{"captures":{"1":{"name":"punctuation.definition.variable.shell variable.other.normal.shell"},"2":{"name":"variable.other.normal.shell"}},"match":"(\\\\$)(\\\\w+(?!\\\\w))"}]},"while_statement":{"patterns":[{"begin":"(\\\\bwhile\\\\b)","beginCaptures":{"1":{"name":"keyword.control.while.shell"}},"end":"(?=[;|\\\\&\\\\n)\`{}]|[ \\\\t]*#|])(?<!\\\\\\\\)","endCaptures":{},"name":"meta.while.shell","patterns":[{"include":"#line_continuation"},{"include":"#math_operators"},{"include":"#option"},{"include":"#simple_unquoted"},{"include":"#normal_context"},{"include":"#string"}]}]}},"scopeName":"source.shell","aliases":["bash","sh","shell","zsh"]}`)), n = [
2
- e
3
- ];
4
- export {
5
- n as default
6
- };