@env-spec/parser 0.0.7 → 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +1 -1
- package/dist/{chunk-4FFIFDV6.mjs → chunk-FDDTJES3.mjs} +11 -4
- package/dist/{chunk-X4X3QSKA.js.map → chunk-FDDTJES3.mjs.map} +1 -1
- package/dist/{chunk-X4X3QSKA.js → chunk-JWF7I3Y2.js} +11 -4
- package/dist/chunk-JWF7I3Y2.js.map +1 -0
- package/dist/index.js +841 -351
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +722 -232
- package/dist/index.mjs.map +1 -1
- package/dist/simple-resolver.js +10 -10
- package/dist/simple-resolver.mjs +1 -1
- package/package.json +3 -2
- package/dist/chunk-4FFIFDV6.mjs.map +0 -1
package/dist/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkJWF7I3Y2_js = require('./chunk-JWF7I3Y2.js');
|
|
4
4
|
|
|
5
5
|
// src/updater.ts
|
|
6
6
|
function ensureHeader(file, newHeaderContents) {
|
|
@@ -8,17 +8,17 @@ function ensureHeader(file, newHeaderContents) {
|
|
|
8
8
|
newHeaderContents ||= "This env file uses @env-spec - see https://varlock.dev/env-spec for more info\n";
|
|
9
9
|
file.contents.unshift(
|
|
10
10
|
// header is a comment block at the beginning of the file and must end with a divider
|
|
11
|
-
new
|
|
11
|
+
new chunkJWF7I3Y2_js.ParsedEnvSpecCommentBlock({
|
|
12
12
|
// we'll break up the passed in content and add a comment line for each
|
|
13
|
-
comments: newHeaderContents.split("\n").map((line) => new
|
|
14
|
-
divider: new
|
|
13
|
+
comments: newHeaderContents.split("\n").map((line) => new chunkJWF7I3Y2_js.ParsedEnvSpecComment({ contents: line, leadingSpace: " " })),
|
|
14
|
+
divider: new chunkJWF7I3Y2_js.ParsedEnvSpecDivider({ contents: "----------", leadingSpace: " " })
|
|
15
15
|
}),
|
|
16
|
-
new
|
|
16
|
+
new chunkJWF7I3Y2_js.ParsedEnvSpecBlankLine({})
|
|
17
17
|
// add extra blank line after header
|
|
18
18
|
);
|
|
19
19
|
}
|
|
20
20
|
}
|
|
21
|
-
|
|
21
|
+
chunkJWF7I3Y2_js.__name(ensureHeader, "ensureHeader");
|
|
22
22
|
function createDummyDecoratorNode(decoratorName, valueStr, opts) {
|
|
23
23
|
let decStr = `@${decoratorName}`;
|
|
24
24
|
if (opts?.bareFnArgs) decStr += `(${valueStr})`;
|
|
@@ -31,7 +31,7 @@ function createDummyDecoratorNode(decoratorName, valueStr, opts) {
|
|
|
31
31
|
if (!newDecNode) throw new Error("Creating new decorator failed");
|
|
32
32
|
return newDecNode;
|
|
33
33
|
}
|
|
34
|
-
|
|
34
|
+
chunkJWF7I3Y2_js.__name(createDummyDecoratorNode, "createDummyDecoratorNode");
|
|
35
35
|
function setRootDecorator(file, decoratorName, valueStr, opts) {
|
|
36
36
|
ensureHeader(file);
|
|
37
37
|
const newDecNode = createDummyDecoratorNode(decoratorName, valueStr, opts);
|
|
@@ -42,10 +42,10 @@ function setRootDecorator(file, decoratorName, valueStr, opts) {
|
|
|
42
42
|
if (!file.header) throw new Error("No header found");
|
|
43
43
|
const lastComment = file.header.data.comments[file.header.data.comments.length - 1];
|
|
44
44
|
let decCommentLine;
|
|
45
|
-
if (lastComment instanceof
|
|
45
|
+
if (lastComment instanceof chunkJWF7I3Y2_js.ParsedEnvSpecDecoratorComment && lastComment.toString().length < 40) {
|
|
46
46
|
decCommentLine = lastComment;
|
|
47
47
|
} else {
|
|
48
|
-
decCommentLine = new
|
|
48
|
+
decCommentLine = new chunkJWF7I3Y2_js.ParsedEnvSpecDecoratorComment({
|
|
49
49
|
decorators: [],
|
|
50
50
|
leadingSpace: " ",
|
|
51
51
|
...opts?.comment && { postComment: `# ${opts.comment}` }
|
|
@@ -55,11 +55,11 @@ function setRootDecorator(file, decoratorName, valueStr, opts) {
|
|
|
55
55
|
decCommentLine.decorators.push(newDecNode);
|
|
56
56
|
}
|
|
57
57
|
}
|
|
58
|
-
|
|
58
|
+
chunkJWF7I3Y2_js.__name(setRootDecorator, "setRootDecorator");
|
|
59
59
|
function setItemDecorator(file, key, decoratorName, valueStr, opts) {
|
|
60
60
|
let item = file.configItems.find((i) => i.key === key);
|
|
61
61
|
if (!item) {
|
|
62
|
-
item = new
|
|
62
|
+
item = new chunkJWF7I3Y2_js.ParsedEnvSpecConfigItem({
|
|
63
63
|
key,
|
|
64
64
|
value: void 0,
|
|
65
65
|
preComments: [],
|
|
@@ -74,10 +74,10 @@ function setItemDecorator(file, key, decoratorName, valueStr, opts) {
|
|
|
74
74
|
} else {
|
|
75
75
|
const lastComment = item.data.preComments[item.data.preComments.length - 1];
|
|
76
76
|
let decCommentLine;
|
|
77
|
-
if (lastComment instanceof
|
|
77
|
+
if (lastComment instanceof chunkJWF7I3Y2_js.ParsedEnvSpecDecoratorComment && lastComment.toString().length < 40) {
|
|
78
78
|
decCommentLine = lastComment;
|
|
79
79
|
} else {
|
|
80
|
-
decCommentLine = new
|
|
80
|
+
decCommentLine = new chunkJWF7I3Y2_js.ParsedEnvSpecDecoratorComment({
|
|
81
81
|
decorators: [],
|
|
82
82
|
leadingSpace: " "
|
|
83
83
|
});
|
|
@@ -86,7 +86,7 @@ function setItemDecorator(file, key, decoratorName, valueStr, opts) {
|
|
|
86
86
|
decCommentLine.decorators.push(newDecNode);
|
|
87
87
|
}
|
|
88
88
|
}
|
|
89
|
-
|
|
89
|
+
chunkJWF7I3Y2_js.__name(setItemDecorator, "setItemDecorator");
|
|
90
90
|
function injectFromStr(file, content, opts) {
|
|
91
91
|
const parsed = parseEnvSpecDotEnvFile(content);
|
|
92
92
|
let injectIndex = file.contents.length;
|
|
@@ -107,14 +107,14 @@ function injectFromStr(file, content, opts) {
|
|
|
107
107
|
}
|
|
108
108
|
file.contents.splice(injectIndex, 0, ...parsed.contents);
|
|
109
109
|
}
|
|
110
|
-
|
|
110
|
+
chunkJWF7I3Y2_js.__name(injectFromStr, "injectFromStr");
|
|
111
111
|
function deleteItem(file, key) {
|
|
112
112
|
const item = file.configItems.find((i) => i.key === key);
|
|
113
113
|
if (item) {
|
|
114
114
|
file.contents.splice(file.contents.indexOf(item), 1);
|
|
115
115
|
}
|
|
116
116
|
}
|
|
117
|
-
|
|
117
|
+
chunkJWF7I3Y2_js.__name(deleteItem, "deleteItem");
|
|
118
118
|
var envSpecUpdater = {
|
|
119
119
|
ensureHeader,
|
|
120
120
|
setRootDecorator,
|
|
@@ -126,7 +126,7 @@ var envSpecUpdater = {
|
|
|
126
126
|
// src/grammar.js
|
|
127
127
|
var peg$SyntaxError = class extends SyntaxError {
|
|
128
128
|
static {
|
|
129
|
-
|
|
129
|
+
chunkJWF7I3Y2_js.__name(this, "peg$SyntaxError");
|
|
130
130
|
}
|
|
131
131
|
constructor(message, expected, found, location) {
|
|
132
132
|
super(message);
|
|
@@ -163,7 +163,7 @@ var peg$SyntaxError = class extends SyntaxError {
|
|
|
163
163
|
function hex(ch) {
|
|
164
164
|
return ch.codePointAt(0).toString(16).toUpperCase();
|
|
165
165
|
}
|
|
166
|
-
|
|
166
|
+
chunkJWF7I3Y2_js.__name(hex, "hex");
|
|
167
167
|
const nonPrintable = Object.prototype.hasOwnProperty.call(RegExp.prototype, "unicode") ? new RegExp("[\\p{C}\\p{Mn}\\p{Mc}]", "gu") : null;
|
|
168
168
|
function unicodeEscape(s) {
|
|
169
169
|
if (nonPrintable) {
|
|
@@ -171,15 +171,15 @@ var peg$SyntaxError = class extends SyntaxError {
|
|
|
171
171
|
}
|
|
172
172
|
return s;
|
|
173
173
|
}
|
|
174
|
-
|
|
174
|
+
chunkJWF7I3Y2_js.__name(unicodeEscape, "unicodeEscape");
|
|
175
175
|
function literalEscape(s) {
|
|
176
176
|
return unicodeEscape(s.replace(/\\/g, "\\\\").replace(/"/g, '\\"').replace(/\0/g, "\\0").replace(/\t/g, "\\t").replace(/\n/g, "\\n").replace(/\r/g, "\\r").replace(/[\x00-\x0F]/g, (ch) => "\\x0" + hex(ch)).replace(/[\x10-\x1F\x7F-\x9F]/g, (ch) => "\\x" + hex(ch)));
|
|
177
177
|
}
|
|
178
|
-
|
|
178
|
+
chunkJWF7I3Y2_js.__name(literalEscape, "literalEscape");
|
|
179
179
|
function classEscape(s) {
|
|
180
180
|
return unicodeEscape(s.replace(/\\/g, "\\\\").replace(/\]/g, "\\]").replace(/\^/g, "\\^").replace(/-/g, "\\-").replace(/\0/g, "\\0").replace(/\t/g, "\\t").replace(/\n/g, "\\n").replace(/\r/g, "\\r").replace(/[\x00-\x0F]/g, (ch) => "\\x0" + hex(ch)).replace(/[\x10-\x1F\x7F-\x9F]/g, (ch) => "\\x" + hex(ch)));
|
|
181
181
|
}
|
|
182
|
-
|
|
182
|
+
chunkJWF7I3Y2_js.__name(classEscape, "classEscape");
|
|
183
183
|
const DESCRIBE_EXPECTATION_FNS = {
|
|
184
184
|
literal(expectation) {
|
|
185
185
|
return '"' + literalEscape(expectation.text) + '"';
|
|
@@ -203,7 +203,7 @@ var peg$SyntaxError = class extends SyntaxError {
|
|
|
203
203
|
function describeExpectation(expectation) {
|
|
204
204
|
return DESCRIBE_EXPECTATION_FNS[expectation.type](expectation);
|
|
205
205
|
}
|
|
206
|
-
|
|
206
|
+
chunkJWF7I3Y2_js.__name(describeExpectation, "describeExpectation");
|
|
207
207
|
function describeExpected(expected2) {
|
|
208
208
|
const descriptions = expected2.map(describeExpectation);
|
|
209
209
|
descriptions.sort();
|
|
@@ -226,11 +226,11 @@ var peg$SyntaxError = class extends SyntaxError {
|
|
|
226
226
|
return descriptions.slice(0, -1).join(", ") + ", or " + descriptions[descriptions.length - 1];
|
|
227
227
|
}
|
|
228
228
|
}
|
|
229
|
-
|
|
229
|
+
chunkJWF7I3Y2_js.__name(describeExpected, "describeExpected");
|
|
230
230
|
function describeFound(found2) {
|
|
231
231
|
return found2 ? '"' + literalEscape(found2) + '"' : "end of input";
|
|
232
232
|
}
|
|
233
|
-
|
|
233
|
+
chunkJWF7I3Y2_js.__name(describeFound, "describeFound");
|
|
234
234
|
return "Expected " + describeExpected(expected) + " but " + describeFound(found) + " found.";
|
|
235
235
|
}
|
|
236
236
|
};
|
|
@@ -265,17 +265,18 @@ function peg$parse(input, options) {
|
|
|
265
265
|
const peg$r4 = /^[@#]/;
|
|
266
266
|
const peg$r5 = /^[a-zA-Z0-9_]/;
|
|
267
267
|
const peg$r6 = /^[^ \n,)]/;
|
|
268
|
-
const peg$r7 = /^[
|
|
269
|
-
const peg$r8 = /^[
|
|
270
|
-
const peg$r9 = /^[
|
|
271
|
-
const peg$r10 = /^[
|
|
272
|
-
const peg$r11 = /^[
|
|
273
|
-
const peg$r12 = /^[
|
|
274
|
-
const peg$r13 = /^[
|
|
275
|
-
const peg$r14 = /^[^
|
|
276
|
-
const peg$r15 = /^[
|
|
277
|
-
const peg$r16 = /^[
|
|
278
|
-
const peg$r17 = /^[
|
|
268
|
+
const peg$r7 = /^[ \t]/;
|
|
269
|
+
const peg$r8 = /^[ \t\n]/;
|
|
270
|
+
const peg$r9 = /^[\-=*#]/;
|
|
271
|
+
const peg$r10 = /^['"`]/;
|
|
272
|
+
const peg$r11 = /^[^#\n]/;
|
|
273
|
+
const peg$r12 = /^[^# \n]/;
|
|
274
|
+
const peg$r13 = /^["]/;
|
|
275
|
+
const peg$r14 = /^[^"\n]/;
|
|
276
|
+
const peg$r15 = /^[']/;
|
|
277
|
+
const peg$r16 = /^[^'\n]/;
|
|
278
|
+
const peg$r17 = /^[`]/;
|
|
279
|
+
const peg$r18 = /^[^`\n]/;
|
|
279
280
|
const peg$e0 = peg$literalExpectation("\n", false);
|
|
280
281
|
const peg$e1 = peg$literalExpectation("export ", false);
|
|
281
282
|
const peg$e2 = peg$literalExpectation("=", false);
|
|
@@ -292,35 +293,36 @@ function peg$parse(input, options) {
|
|
|
292
293
|
const peg$e13 = peg$literalExpectation(",", false);
|
|
293
294
|
const peg$e14 = peg$literalExpectation(")", false);
|
|
294
295
|
const peg$e15 = peg$classExpectation([" ", "\n", ",", ")"], true, false, false);
|
|
295
|
-
const peg$e16 = peg$classExpectation(["
|
|
296
|
-
const peg$e17 = peg$classExpectation(["
|
|
297
|
-
const peg$e18 = peg$classExpectation(["
|
|
298
|
-
const peg$e19 = peg$classExpectation(["
|
|
299
|
-
const peg$e20 = peg$classExpectation([
|
|
300
|
-
const peg$e21 = peg$
|
|
301
|
-
const peg$e22 = peg$classExpectation(['"'
|
|
302
|
-
const peg$e23 = peg$
|
|
303
|
-
const peg$e24 = peg$
|
|
304
|
-
const peg$e25 = peg$classExpectation(["'"
|
|
305
|
-
const peg$e26 = peg$
|
|
306
|
-
const peg$e27 = peg$
|
|
307
|
-
const peg$e28 = peg$classExpectation(["`"
|
|
308
|
-
const peg$e29 = peg$literalExpectation(
|
|
309
|
-
const peg$e30 = peg$
|
|
310
|
-
const peg$e31 = peg$literalExpectation("
|
|
311
|
-
const peg$e32 = peg$literalExpectation("
|
|
312
|
-
const peg$e33 = peg$
|
|
313
|
-
const peg$e34 = peg$
|
|
296
|
+
const peg$e16 = peg$classExpectation([" ", " "], false, false, false);
|
|
297
|
+
const peg$e17 = peg$classExpectation([" ", " ", "\n"], false, false, false);
|
|
298
|
+
const peg$e18 = peg$classExpectation(["-", "=", "*", "#"], false, false, false);
|
|
299
|
+
const peg$e19 = peg$classExpectation(["'", '"', "`"], false, false, false);
|
|
300
|
+
const peg$e20 = peg$classExpectation(["#", "\n"], true, false, false);
|
|
301
|
+
const peg$e21 = peg$classExpectation(["#", " ", "\n"], true, false, false);
|
|
302
|
+
const peg$e22 = peg$classExpectation(['"'], false, false, false);
|
|
303
|
+
const peg$e23 = peg$literalExpectation('\\"', false);
|
|
304
|
+
const peg$e24 = peg$classExpectation(['"', "\n"], true, false, false);
|
|
305
|
+
const peg$e25 = peg$classExpectation(["'"], false, false, false);
|
|
306
|
+
const peg$e26 = peg$literalExpectation("\\'", false);
|
|
307
|
+
const peg$e27 = peg$classExpectation(["'", "\n"], true, false, false);
|
|
308
|
+
const peg$e28 = peg$classExpectation(["`"], false, false, false);
|
|
309
|
+
const peg$e29 = peg$literalExpectation("\\`", false);
|
|
310
|
+
const peg$e30 = peg$classExpectation(["`", "\n"], true, false, false);
|
|
311
|
+
const peg$e31 = peg$literalExpectation('"""', false);
|
|
312
|
+
const peg$e32 = peg$literalExpectation('\\"""', false);
|
|
313
|
+
const peg$e33 = peg$literalExpectation("```", false);
|
|
314
|
+
const peg$e34 = peg$literalExpectation("\\```", false);
|
|
315
|
+
const peg$e35 = peg$anyExpectation();
|
|
314
316
|
function peg$f0() {
|
|
315
|
-
return new
|
|
317
|
+
return new chunkJWF7I3Y2_js.ParsedEnvSpecBlankLine({ _location: location() });
|
|
316
318
|
}
|
|
317
|
-
|
|
319
|
+
chunkJWF7I3Y2_js.__name(peg$f0, "peg$f0");
|
|
318
320
|
function peg$f1(contents) {
|
|
319
|
-
return new
|
|
321
|
+
return new chunkJWF7I3Y2_js.ParsedEnvSpecFile(contents);
|
|
320
322
|
}
|
|
321
|
-
|
|
323
|
+
chunkJWF7I3Y2_js.__name(peg$f1, "peg$f1");
|
|
322
324
|
function peg$f2(preComments, key, value, postComment) {
|
|
323
|
-
return new
|
|
325
|
+
return new chunkJWF7I3Y2_js.ParsedEnvSpecConfigItem({
|
|
324
326
|
key,
|
|
325
327
|
preComments,
|
|
326
328
|
postComment,
|
|
@@ -328,112 +330,135 @@ function peg$parse(input, options) {
|
|
|
328
330
|
_location: location()
|
|
329
331
|
});
|
|
330
332
|
}
|
|
331
|
-
|
|
333
|
+
chunkJWF7I3Y2_js.__name(peg$f2, "peg$f2");
|
|
332
334
|
function peg$f3(comments, end) {
|
|
333
|
-
return new
|
|
335
|
+
return new chunkJWF7I3Y2_js.ParsedEnvSpecCommentBlock({
|
|
334
336
|
comments,
|
|
335
|
-
divider: end instanceof
|
|
337
|
+
divider: end instanceof chunkJWF7I3Y2_js.ParsedEnvSpecDivider ? end : void 0,
|
|
336
338
|
_location: location()
|
|
337
339
|
});
|
|
338
340
|
}
|
|
339
|
-
|
|
341
|
+
chunkJWF7I3Y2_js.__name(peg$f3, "peg$f3");
|
|
340
342
|
function peg$f4(leadingSpace, contents) {
|
|
341
|
-
return new
|
|
343
|
+
return new chunkJWF7I3Y2_js.ParsedEnvSpecComment({
|
|
342
344
|
contents,
|
|
343
345
|
leadingSpace,
|
|
344
346
|
_location: location()
|
|
345
347
|
});
|
|
346
348
|
}
|
|
347
|
-
|
|
349
|
+
chunkJWF7I3Y2_js.__name(peg$f4, "peg$f4");
|
|
348
350
|
function peg$f5(leadingSpace, contents) {
|
|
349
|
-
return new
|
|
351
|
+
return new chunkJWF7I3Y2_js.ParsedEnvSpecComment({ contents, leadingSpace, _location: location() });
|
|
350
352
|
}
|
|
351
|
-
|
|
353
|
+
chunkJWF7I3Y2_js.__name(peg$f5, "peg$f5");
|
|
352
354
|
function peg$f6(leadingSpace, first, rest, postComment) {
|
|
353
|
-
return new
|
|
355
|
+
return new chunkJWF7I3Y2_js.ParsedEnvSpecDecoratorComment({
|
|
354
356
|
decorators: [first, ...rest],
|
|
355
357
|
leadingSpace,
|
|
356
358
|
postComment,
|
|
357
359
|
_location: location()
|
|
358
360
|
});
|
|
359
361
|
}
|
|
360
|
-
|
|
362
|
+
chunkJWF7I3Y2_js.__name(peg$f6, "peg$f6");
|
|
361
363
|
function peg$f7(name, val) {
|
|
362
|
-
return new
|
|
364
|
+
return new chunkJWF7I3Y2_js.ParsedEnvSpecDecorator({
|
|
363
365
|
name,
|
|
364
366
|
value: Array.isArray(val) ? val[1] : val,
|
|
365
367
|
isBareFnCall: val && !Array.isArray(val),
|
|
366
368
|
_location: location()
|
|
367
369
|
});
|
|
368
370
|
}
|
|
369
|
-
|
|
371
|
+
chunkJWF7I3Y2_js.__name(peg$f7, "peg$f7");
|
|
370
372
|
function peg$f8(name, args) {
|
|
371
|
-
return new
|
|
373
|
+
return new chunkJWF7I3Y2_js.ParsedEnvSpecFunctionCall({
|
|
372
374
|
name,
|
|
373
375
|
args,
|
|
374
376
|
_location: location()
|
|
375
377
|
});
|
|
376
378
|
}
|
|
377
|
-
|
|
379
|
+
chunkJWF7I3Y2_js.__name(peg$f8, "peg$f8");
|
|
378
380
|
function peg$f9(key, val) {
|
|
379
|
-
return new
|
|
381
|
+
return new chunkJWF7I3Y2_js.ParsedEnvSpecKeyValuePair({ key, val });
|
|
380
382
|
}
|
|
381
|
-
|
|
383
|
+
chunkJWF7I3Y2_js.__name(peg$f9, "peg$f9");
|
|
382
384
|
function peg$f10(values) {
|
|
383
|
-
return new
|
|
385
|
+
return new chunkJWF7I3Y2_js.ParsedEnvSpecFunctionArgs({
|
|
384
386
|
values: values || [],
|
|
385
387
|
_location: location()
|
|
386
388
|
});
|
|
387
389
|
}
|
|
388
|
-
|
|
390
|
+
chunkJWF7I3Y2_js.__name(peg$f10, "peg$f10");
|
|
389
391
|
function peg$f11() {
|
|
390
|
-
return new
|
|
392
|
+
return new chunkJWF7I3Y2_js.ParsedEnvSpecStaticValue({ rawValue: text(), _location: location() });
|
|
391
393
|
}
|
|
392
|
-
|
|
393
|
-
function peg$f12(
|
|
394
|
-
return new
|
|
395
|
-
|
|
396
|
-
|
|
394
|
+
chunkJWF7I3Y2_js.__name(peg$f11, "peg$f11");
|
|
395
|
+
function peg$f12(name, args) {
|
|
396
|
+
return new chunkJWF7I3Y2_js.ParsedEnvSpecFunctionCall({
|
|
397
|
+
name,
|
|
398
|
+
args,
|
|
397
399
|
_location: location()
|
|
398
400
|
});
|
|
399
401
|
}
|
|
400
|
-
|
|
401
|
-
function peg$f13() {
|
|
402
|
-
return new
|
|
402
|
+
chunkJWF7I3Y2_js.__name(peg$f12, "peg$f12");
|
|
403
|
+
function peg$f13(key, val) {
|
|
404
|
+
return new chunkJWF7I3Y2_js.ParsedEnvSpecKeyValuePair({ key, val });
|
|
403
405
|
}
|
|
404
|
-
|
|
405
|
-
function peg$f14() {
|
|
406
|
-
return new
|
|
406
|
+
chunkJWF7I3Y2_js.__name(peg$f13, "peg$f13");
|
|
407
|
+
function peg$f14(values) {
|
|
408
|
+
return new chunkJWF7I3Y2_js.ParsedEnvSpecFunctionArgs({
|
|
409
|
+
values: values || [],
|
|
410
|
+
_location: location()
|
|
411
|
+
});
|
|
407
412
|
}
|
|
408
|
-
|
|
409
|
-
function peg$f15(
|
|
410
|
-
return new
|
|
413
|
+
chunkJWF7I3Y2_js.__name(peg$f14, "peg$f14");
|
|
414
|
+
function peg$f15() {
|
|
415
|
+
return new chunkJWF7I3Y2_js.ParsedEnvSpecStaticValue({ rawValue: text(), _location: location() });
|
|
411
416
|
}
|
|
412
|
-
|
|
413
|
-
function peg$f16(
|
|
414
|
-
return new
|
|
417
|
+
chunkJWF7I3Y2_js.__name(peg$f15, "peg$f15");
|
|
418
|
+
function peg$f16(leadingSpace, contents) {
|
|
419
|
+
return new chunkJWF7I3Y2_js.ParsedEnvSpecDivider({
|
|
420
|
+
contents,
|
|
421
|
+
leadingSpace,
|
|
422
|
+
_location: location()
|
|
423
|
+
});
|
|
415
424
|
}
|
|
416
|
-
|
|
417
|
-
function peg$f17(
|
|
418
|
-
return new
|
|
425
|
+
chunkJWF7I3Y2_js.__name(peg$f16, "peg$f16");
|
|
426
|
+
function peg$f17() {
|
|
427
|
+
return new chunkJWF7I3Y2_js.ParsedEnvSpecStaticValue({ rawValue: text(), _location: location() });
|
|
419
428
|
}
|
|
420
|
-
|
|
421
|
-
function peg$f18(
|
|
422
|
-
return new
|
|
429
|
+
chunkJWF7I3Y2_js.__name(peg$f17, "peg$f17");
|
|
430
|
+
function peg$f18() {
|
|
431
|
+
return new chunkJWF7I3Y2_js.ParsedEnvSpecStaticValue({ rawValue: text(), _location: location() });
|
|
423
432
|
}
|
|
424
|
-
|
|
433
|
+
chunkJWF7I3Y2_js.__name(peg$f18, "peg$f18");
|
|
425
434
|
function peg$f19(quote) {
|
|
426
|
-
return new
|
|
435
|
+
return new chunkJWF7I3Y2_js.ParsedEnvSpecStaticValue({ quote, rawValue: text(), _location: location() });
|
|
427
436
|
}
|
|
428
|
-
|
|
437
|
+
chunkJWF7I3Y2_js.__name(peg$f19, "peg$f19");
|
|
429
438
|
function peg$f20(quote) {
|
|
430
|
-
return new
|
|
439
|
+
return new chunkJWF7I3Y2_js.ParsedEnvSpecStaticValue({ quote, rawValue: text(), _location: location() });
|
|
431
440
|
}
|
|
432
|
-
|
|
441
|
+
chunkJWF7I3Y2_js.__name(peg$f20, "peg$f20");
|
|
433
442
|
function peg$f21(quote) {
|
|
434
|
-
return new
|
|
443
|
+
return new chunkJWF7I3Y2_js.ParsedEnvSpecStaticValue({ quote, rawValue: text(), _location: location() });
|
|
435
444
|
}
|
|
436
|
-
|
|
445
|
+
chunkJWF7I3Y2_js.__name(peg$f21, "peg$f21");
|
|
446
|
+
function peg$f22(quote) {
|
|
447
|
+
return new chunkJWF7I3Y2_js.ParsedEnvSpecStaticValue({ quote, isMultiLine: true, rawValue: text(), _location: location() });
|
|
448
|
+
}
|
|
449
|
+
chunkJWF7I3Y2_js.__name(peg$f22, "peg$f22");
|
|
450
|
+
function peg$f23(quote) {
|
|
451
|
+
return new chunkJWF7I3Y2_js.ParsedEnvSpecStaticValue({ quote, isMultiLine: true, rawValue: text(), _location: location() });
|
|
452
|
+
}
|
|
453
|
+
chunkJWF7I3Y2_js.__name(peg$f23, "peg$f23");
|
|
454
|
+
function peg$f24(quote) {
|
|
455
|
+
return new chunkJWF7I3Y2_js.ParsedEnvSpecStaticValue({ quote, isMultiLine: true, rawValue: text(), _location: location() });
|
|
456
|
+
}
|
|
457
|
+
chunkJWF7I3Y2_js.__name(peg$f24, "peg$f24");
|
|
458
|
+
function peg$f25(quote) {
|
|
459
|
+
return new chunkJWF7I3Y2_js.ParsedEnvSpecStaticValue({ quote, isMultiLine: true, rawValue: text(), _location: location() });
|
|
460
|
+
}
|
|
461
|
+
chunkJWF7I3Y2_js.__name(peg$f25, "peg$f25");
|
|
437
462
|
let peg$currPos = options.peg$currPos | 0;
|
|
438
463
|
let peg$savedPos = peg$currPos;
|
|
439
464
|
const peg$posDetailsCache = [{ line: 1, column: 1 }];
|
|
@@ -450,11 +475,11 @@ function peg$parse(input, options) {
|
|
|
450
475
|
function text() {
|
|
451
476
|
return input.substring(peg$savedPos, peg$currPos);
|
|
452
477
|
}
|
|
453
|
-
|
|
478
|
+
chunkJWF7I3Y2_js.__name(text, "text");
|
|
454
479
|
function offset() {
|
|
455
480
|
return peg$savedPos;
|
|
456
481
|
}
|
|
457
|
-
|
|
482
|
+
chunkJWF7I3Y2_js.__name(offset, "offset");
|
|
458
483
|
function range() {
|
|
459
484
|
return {
|
|
460
485
|
source: peg$source,
|
|
@@ -462,11 +487,11 @@ function peg$parse(input, options) {
|
|
|
462
487
|
end: peg$currPos
|
|
463
488
|
};
|
|
464
489
|
}
|
|
465
|
-
|
|
490
|
+
chunkJWF7I3Y2_js.__name(range, "range");
|
|
466
491
|
function location() {
|
|
467
492
|
return peg$computeLocation(peg$savedPos, peg$currPos);
|
|
468
493
|
}
|
|
469
|
-
|
|
494
|
+
chunkJWF7I3Y2_js.__name(location, "location");
|
|
470
495
|
function expected(description, location2) {
|
|
471
496
|
location2 = location2 !== void 0 ? location2 : peg$computeLocation(peg$savedPos, peg$currPos);
|
|
472
497
|
throw peg$buildStructuredError(
|
|
@@ -475,12 +500,12 @@ function peg$parse(input, options) {
|
|
|
475
500
|
location2
|
|
476
501
|
);
|
|
477
502
|
}
|
|
478
|
-
|
|
503
|
+
chunkJWF7I3Y2_js.__name(expected, "expected");
|
|
479
504
|
function error(message, location2) {
|
|
480
505
|
location2 = location2 !== void 0 ? location2 : peg$computeLocation(peg$savedPos, peg$currPos);
|
|
481
506
|
throw peg$buildSimpleError(message, location2);
|
|
482
507
|
}
|
|
483
|
-
|
|
508
|
+
chunkJWF7I3Y2_js.__name(error, "error");
|
|
484
509
|
function peg$getUnicode(pos = peg$currPos) {
|
|
485
510
|
const cp = input.codePointAt(pos);
|
|
486
511
|
if (cp === void 0) {
|
|
@@ -488,27 +513,27 @@ function peg$parse(input, options) {
|
|
|
488
513
|
}
|
|
489
514
|
return String.fromCodePoint(cp);
|
|
490
515
|
}
|
|
491
|
-
|
|
516
|
+
chunkJWF7I3Y2_js.__name(peg$getUnicode, "peg$getUnicode");
|
|
492
517
|
function peg$literalExpectation(text2, ignoreCase) {
|
|
493
518
|
return { type: "literal", text: text2, ignoreCase };
|
|
494
519
|
}
|
|
495
|
-
|
|
520
|
+
chunkJWF7I3Y2_js.__name(peg$literalExpectation, "peg$literalExpectation");
|
|
496
521
|
function peg$classExpectation(parts, inverted, ignoreCase, unicode) {
|
|
497
522
|
return { type: "class", parts, inverted, ignoreCase, unicode };
|
|
498
523
|
}
|
|
499
|
-
|
|
524
|
+
chunkJWF7I3Y2_js.__name(peg$classExpectation, "peg$classExpectation");
|
|
500
525
|
function peg$anyExpectation() {
|
|
501
526
|
return { type: "any" };
|
|
502
527
|
}
|
|
503
|
-
|
|
528
|
+
chunkJWF7I3Y2_js.__name(peg$anyExpectation, "peg$anyExpectation");
|
|
504
529
|
function peg$endExpectation() {
|
|
505
530
|
return { type: "end" };
|
|
506
531
|
}
|
|
507
|
-
|
|
532
|
+
chunkJWF7I3Y2_js.__name(peg$endExpectation, "peg$endExpectation");
|
|
508
533
|
function peg$otherExpectation(description) {
|
|
509
534
|
return { type: "other", description };
|
|
510
535
|
}
|
|
511
|
-
|
|
536
|
+
chunkJWF7I3Y2_js.__name(peg$otherExpectation, "peg$otherExpectation");
|
|
512
537
|
function peg$computePosDetails(pos) {
|
|
513
538
|
let details = peg$posDetailsCache[pos];
|
|
514
539
|
let p;
|
|
@@ -540,7 +565,7 @@ function peg$parse(input, options) {
|
|
|
540
565
|
return details;
|
|
541
566
|
}
|
|
542
567
|
}
|
|
543
|
-
|
|
568
|
+
chunkJWF7I3Y2_js.__name(peg$computePosDetails, "peg$computePosDetails");
|
|
544
569
|
function peg$computeLocation(startPos, endPos, offset2) {
|
|
545
570
|
const startPosDetails = peg$computePosDetails(startPos);
|
|
546
571
|
const endPosDetails = peg$computePosDetails(endPos);
|
|
@@ -563,7 +588,7 @@ function peg$parse(input, options) {
|
|
|
563
588
|
}
|
|
564
589
|
return res;
|
|
565
590
|
}
|
|
566
|
-
|
|
591
|
+
chunkJWF7I3Y2_js.__name(peg$computeLocation, "peg$computeLocation");
|
|
567
592
|
function peg$fail(expected2) {
|
|
568
593
|
if (peg$currPos < peg$maxFailPos) {
|
|
569
594
|
return;
|
|
@@ -574,11 +599,11 @@ function peg$parse(input, options) {
|
|
|
574
599
|
}
|
|
575
600
|
peg$maxFailExpected.push(expected2);
|
|
576
601
|
}
|
|
577
|
-
|
|
602
|
+
chunkJWF7I3Y2_js.__name(peg$fail, "peg$fail");
|
|
578
603
|
function peg$buildSimpleError(message, location2) {
|
|
579
604
|
return new peg$SyntaxError(message, null, null, location2);
|
|
580
605
|
}
|
|
581
|
-
|
|
606
|
+
chunkJWF7I3Y2_js.__name(peg$buildSimpleError, "peg$buildSimpleError");
|
|
582
607
|
function peg$buildStructuredError(expected2, found, location2) {
|
|
583
608
|
return new peg$SyntaxError(
|
|
584
609
|
peg$SyntaxError.buildMessage(expected2, found),
|
|
@@ -587,7 +612,7 @@ function peg$parse(input, options) {
|
|
|
587
612
|
location2
|
|
588
613
|
);
|
|
589
614
|
}
|
|
590
|
-
|
|
615
|
+
chunkJWF7I3Y2_js.__name(peg$buildStructuredError, "peg$buildStructuredError");
|
|
591
616
|
function peg$parseEnvSpecFile() {
|
|
592
617
|
let s0, s1, s2, s3;
|
|
593
618
|
s0 = peg$currPos;
|
|
@@ -648,7 +673,7 @@ function peg$parse(input, options) {
|
|
|
648
673
|
s0 = s1;
|
|
649
674
|
return s0;
|
|
650
675
|
}
|
|
651
|
-
|
|
676
|
+
chunkJWF7I3Y2_js.__name(peg$parseEnvSpecFile, "peg$parseEnvSpecFile");
|
|
652
677
|
function peg$parseConfigItem() {
|
|
653
678
|
let s0, s1, s2, s3, s4, s5, s6, s7, s9, s10;
|
|
654
679
|
s0 = peg$currPos;
|
|
@@ -788,7 +813,7 @@ function peg$parse(input, options) {
|
|
|
788
813
|
}
|
|
789
814
|
return s0;
|
|
790
815
|
}
|
|
791
|
-
|
|
816
|
+
chunkJWF7I3Y2_js.__name(peg$parseConfigItem, "peg$parseConfigItem");
|
|
792
817
|
function peg$parseConfigItemKey() {
|
|
793
818
|
let s0, s1, s2, s3, s4;
|
|
794
819
|
s0 = peg$currPos;
|
|
@@ -838,7 +863,7 @@ function peg$parse(input, options) {
|
|
|
838
863
|
}
|
|
839
864
|
return s0;
|
|
840
865
|
}
|
|
841
|
-
|
|
866
|
+
chunkJWF7I3Y2_js.__name(peg$parseConfigItemKey, "peg$parseConfigItemKey");
|
|
842
867
|
function peg$parseConfigItemValue() {
|
|
843
868
|
let s0;
|
|
844
869
|
s0 = peg$parseFunctionCall();
|
|
@@ -853,7 +878,7 @@ function peg$parse(input, options) {
|
|
|
853
878
|
}
|
|
854
879
|
return s0;
|
|
855
880
|
}
|
|
856
|
-
|
|
881
|
+
chunkJWF7I3Y2_js.__name(peg$parseConfigItemValue, "peg$parseConfigItemValue");
|
|
857
882
|
function peg$parseCommentBlock() {
|
|
858
883
|
let s0, s1, s2, s3, s4;
|
|
859
884
|
s0 = peg$currPos;
|
|
@@ -923,7 +948,7 @@ function peg$parse(input, options) {
|
|
|
923
948
|
}
|
|
924
949
|
return s0;
|
|
925
950
|
}
|
|
926
|
-
|
|
951
|
+
chunkJWF7I3Y2_js.__name(peg$parseCommentBlock, "peg$parseCommentBlock");
|
|
927
952
|
function peg$parseComment() {
|
|
928
953
|
let s0, s1, s2, s3, s4, s5, s6, s7, s8, s9;
|
|
929
954
|
s0 = peg$currPos;
|
|
@@ -1018,7 +1043,7 @@ function peg$parse(input, options) {
|
|
|
1018
1043
|
}
|
|
1019
1044
|
return s0;
|
|
1020
1045
|
}
|
|
1021
|
-
|
|
1046
|
+
chunkJWF7I3Y2_js.__name(peg$parseComment, "peg$parseComment");
|
|
1022
1047
|
function peg$parseIgnoredDecoratorComment() {
|
|
1023
1048
|
let s0, s1, s2, s3, s4, s5, s6, s7, s8, s9, s10;
|
|
1024
1049
|
s0 = peg$currPos;
|
|
@@ -1239,7 +1264,7 @@ function peg$parse(input, options) {
|
|
|
1239
1264
|
}
|
|
1240
1265
|
return s0;
|
|
1241
1266
|
}
|
|
1242
|
-
|
|
1267
|
+
chunkJWF7I3Y2_js.__name(peg$parseIgnoredDecoratorComment, "peg$parseIgnoredDecoratorComment");
|
|
1243
1268
|
function peg$parseDecoratorComment() {
|
|
1244
1269
|
let s0, s1, s2, s3, s4, s5, s6, s7, s8, s9, s10;
|
|
1245
1270
|
s0 = peg$currPos;
|
|
@@ -1347,7 +1372,7 @@ function peg$parse(input, options) {
|
|
|
1347
1372
|
}
|
|
1348
1373
|
return s0;
|
|
1349
1374
|
}
|
|
1350
|
-
|
|
1375
|
+
chunkJWF7I3Y2_js.__name(peg$parseDecoratorComment, "peg$parseDecoratorComment");
|
|
1351
1376
|
function peg$parseDecorator() {
|
|
1352
1377
|
let s0, s1, s2, s3, s4, s5;
|
|
1353
1378
|
s0 = peg$currPos;
|
|
@@ -1363,7 +1388,7 @@ function peg$parse(input, options) {
|
|
|
1363
1388
|
if (s1 !== peg$FAILED) {
|
|
1364
1389
|
s2 = peg$parseDecoratorName();
|
|
1365
1390
|
if (s2 !== peg$FAILED) {
|
|
1366
|
-
s3 = peg$
|
|
1391
|
+
s3 = peg$parseDecoratorFunctionArgs();
|
|
1367
1392
|
if (s3 === peg$FAILED) {
|
|
1368
1393
|
s3 = peg$currPos;
|
|
1369
1394
|
if (input.charCodeAt(peg$currPos) === 61) {
|
|
@@ -1404,7 +1429,7 @@ function peg$parse(input, options) {
|
|
|
1404
1429
|
}
|
|
1405
1430
|
return s0;
|
|
1406
1431
|
}
|
|
1407
|
-
|
|
1432
|
+
chunkJWF7I3Y2_js.__name(peg$parseDecorator, "peg$parseDecorator");
|
|
1408
1433
|
function peg$parseDecoratorName() {
|
|
1409
1434
|
let s0, s1, s2, s3, s4;
|
|
1410
1435
|
s0 = peg$currPos;
|
|
@@ -1424,49 +1449,466 @@ function peg$parse(input, options) {
|
|
|
1424
1449
|
if (peg$r5.test(s4)) {
|
|
1425
1450
|
peg$currPos++;
|
|
1426
1451
|
} else {
|
|
1427
|
-
s4 = peg$FAILED;
|
|
1452
|
+
s4 = peg$FAILED;
|
|
1453
|
+
if (peg$silentFails === 0) {
|
|
1454
|
+
peg$fail(peg$e11);
|
|
1455
|
+
}
|
|
1456
|
+
}
|
|
1457
|
+
while (s4 !== peg$FAILED) {
|
|
1458
|
+
s3.push(s4);
|
|
1459
|
+
s4 = input.charAt(peg$currPos);
|
|
1460
|
+
if (peg$r5.test(s4)) {
|
|
1461
|
+
peg$currPos++;
|
|
1462
|
+
} else {
|
|
1463
|
+
s4 = peg$FAILED;
|
|
1464
|
+
if (peg$silentFails === 0) {
|
|
1465
|
+
peg$fail(peg$e11);
|
|
1466
|
+
}
|
|
1467
|
+
}
|
|
1468
|
+
}
|
|
1469
|
+
s2 = [s2, s3];
|
|
1470
|
+
s1 = s2;
|
|
1471
|
+
} else {
|
|
1472
|
+
peg$currPos = s1;
|
|
1473
|
+
s1 = peg$FAILED;
|
|
1474
|
+
}
|
|
1475
|
+
if (s1 !== peg$FAILED) {
|
|
1476
|
+
s0 = input.substring(s0, peg$currPos);
|
|
1477
|
+
} else {
|
|
1478
|
+
s0 = s1;
|
|
1479
|
+
}
|
|
1480
|
+
return s0;
|
|
1481
|
+
}
|
|
1482
|
+
chunkJWF7I3Y2_js.__name(peg$parseDecoratorName, "peg$parseDecoratorName");
|
|
1483
|
+
function peg$parseDecoratorValue() {
|
|
1484
|
+
let s0;
|
|
1485
|
+
s0 = peg$parseDecoratorFunctionCall();
|
|
1486
|
+
if (s0 === peg$FAILED) {
|
|
1487
|
+
s0 = peg$parsequotedString();
|
|
1488
|
+
if (s0 === peg$FAILED) {
|
|
1489
|
+
s0 = peg$parseunquotedStringWithoutSpaces();
|
|
1490
|
+
}
|
|
1491
|
+
}
|
|
1492
|
+
return s0;
|
|
1493
|
+
}
|
|
1494
|
+
chunkJWF7I3Y2_js.__name(peg$parseDecoratorValue, "peg$parseDecoratorValue");
|
|
1495
|
+
function peg$parseDecoratorFunctionCall() {
|
|
1496
|
+
let s0, s1, s2;
|
|
1497
|
+
s0 = peg$currPos;
|
|
1498
|
+
s1 = peg$parseFunctionName();
|
|
1499
|
+
if (s1 !== peg$FAILED) {
|
|
1500
|
+
s2 = peg$parseDecoratorFunctionArgs();
|
|
1501
|
+
if (s2 !== peg$FAILED) {
|
|
1502
|
+
peg$savedPos = s0;
|
|
1503
|
+
s0 = peg$f8(s1, s2);
|
|
1504
|
+
} else {
|
|
1505
|
+
peg$currPos = s0;
|
|
1506
|
+
s0 = peg$FAILED;
|
|
1507
|
+
}
|
|
1508
|
+
} else {
|
|
1509
|
+
peg$currPos = s0;
|
|
1510
|
+
s0 = peg$FAILED;
|
|
1511
|
+
}
|
|
1512
|
+
return s0;
|
|
1513
|
+
}
|
|
1514
|
+
chunkJWF7I3Y2_js.__name(peg$parseDecoratorFunctionCall, "peg$parseDecoratorFunctionCall");
|
|
1515
|
+
function peg$parseDecoratorFunctionArgs() {
|
|
1516
|
+
let s0, s1, s3, s4, s5, s6, s7, s8, s9;
|
|
1517
|
+
s0 = peg$currPos;
|
|
1518
|
+
if (input.charCodeAt(peg$currPos) === 40) {
|
|
1519
|
+
s1 = peg$c6;
|
|
1520
|
+
peg$currPos++;
|
|
1521
|
+
} else {
|
|
1522
|
+
s1 = peg$FAILED;
|
|
1523
|
+
if (peg$silentFails === 0) {
|
|
1524
|
+
peg$fail(peg$e12);
|
|
1525
|
+
}
|
|
1526
|
+
}
|
|
1527
|
+
if (s1 !== peg$FAILED) {
|
|
1528
|
+
peg$parse_decWs();
|
|
1529
|
+
s3 = peg$currPos;
|
|
1530
|
+
s4 = [];
|
|
1531
|
+
s5 = peg$currPos;
|
|
1532
|
+
s6 = peg$parseFunctionArgKeyName();
|
|
1533
|
+
if (s6 !== peg$FAILED) {
|
|
1534
|
+
if (input.charCodeAt(peg$currPos) === 61) {
|
|
1535
|
+
s7 = peg$c2;
|
|
1536
|
+
peg$currPos++;
|
|
1537
|
+
} else {
|
|
1538
|
+
s7 = peg$FAILED;
|
|
1539
|
+
if (peg$silentFails === 0) {
|
|
1540
|
+
peg$fail(peg$e2);
|
|
1541
|
+
}
|
|
1542
|
+
}
|
|
1543
|
+
if (s7 !== peg$FAILED) {
|
|
1544
|
+
s8 = peg$parseDecoratorFunctionArgValue();
|
|
1545
|
+
if (s8 !== peg$FAILED) {
|
|
1546
|
+
peg$savedPos = s5;
|
|
1547
|
+
s5 = peg$f9(s6, s8);
|
|
1548
|
+
} else {
|
|
1549
|
+
peg$currPos = s5;
|
|
1550
|
+
s5 = peg$FAILED;
|
|
1551
|
+
}
|
|
1552
|
+
} else {
|
|
1553
|
+
peg$currPos = s5;
|
|
1554
|
+
s5 = peg$FAILED;
|
|
1555
|
+
}
|
|
1556
|
+
} else {
|
|
1557
|
+
peg$currPos = s5;
|
|
1558
|
+
s5 = peg$FAILED;
|
|
1559
|
+
}
|
|
1560
|
+
if (s5 === peg$FAILED) {
|
|
1561
|
+
s5 = peg$parseDecoratorFunctionArgValue();
|
|
1562
|
+
}
|
|
1563
|
+
while (s5 !== peg$FAILED) {
|
|
1564
|
+
s4.push(s5);
|
|
1565
|
+
s5 = peg$currPos;
|
|
1566
|
+
s6 = peg$currPos;
|
|
1567
|
+
s7 = peg$parse_decWs();
|
|
1568
|
+
if (input.charCodeAt(peg$currPos) === 44) {
|
|
1569
|
+
s8 = peg$c7;
|
|
1570
|
+
peg$currPos++;
|
|
1571
|
+
} else {
|
|
1572
|
+
s8 = peg$FAILED;
|
|
1573
|
+
if (peg$silentFails === 0) {
|
|
1574
|
+
peg$fail(peg$e13);
|
|
1575
|
+
}
|
|
1576
|
+
}
|
|
1577
|
+
if (s8 !== peg$FAILED) {
|
|
1578
|
+
s9 = peg$parse_decWs();
|
|
1579
|
+
s7 = [s7, s8, s9];
|
|
1580
|
+
s6 = s7;
|
|
1581
|
+
} else {
|
|
1582
|
+
peg$currPos = s6;
|
|
1583
|
+
s6 = peg$FAILED;
|
|
1584
|
+
}
|
|
1585
|
+
if (s6 !== peg$FAILED) {
|
|
1586
|
+
s6 = peg$currPos;
|
|
1587
|
+
s7 = peg$parseFunctionArgKeyName();
|
|
1588
|
+
if (s7 !== peg$FAILED) {
|
|
1589
|
+
if (input.charCodeAt(peg$currPos) === 61) {
|
|
1590
|
+
s8 = peg$c2;
|
|
1591
|
+
peg$currPos++;
|
|
1592
|
+
} else {
|
|
1593
|
+
s8 = peg$FAILED;
|
|
1594
|
+
if (peg$silentFails === 0) {
|
|
1595
|
+
peg$fail(peg$e2);
|
|
1596
|
+
}
|
|
1597
|
+
}
|
|
1598
|
+
if (s8 !== peg$FAILED) {
|
|
1599
|
+
s9 = peg$parseDecoratorFunctionArgValue();
|
|
1600
|
+
if (s9 !== peg$FAILED) {
|
|
1601
|
+
peg$savedPos = s6;
|
|
1602
|
+
s6 = peg$f9(s7, s9);
|
|
1603
|
+
} else {
|
|
1604
|
+
peg$currPos = s6;
|
|
1605
|
+
s6 = peg$FAILED;
|
|
1606
|
+
}
|
|
1607
|
+
} else {
|
|
1608
|
+
peg$currPos = s6;
|
|
1609
|
+
s6 = peg$FAILED;
|
|
1610
|
+
}
|
|
1611
|
+
} else {
|
|
1612
|
+
peg$currPos = s6;
|
|
1613
|
+
s6 = peg$FAILED;
|
|
1614
|
+
}
|
|
1615
|
+
if (s6 === peg$FAILED) {
|
|
1616
|
+
s6 = peg$parseDecoratorFunctionArgValue();
|
|
1617
|
+
}
|
|
1618
|
+
if (s6 === peg$FAILED) {
|
|
1619
|
+
peg$currPos = s5;
|
|
1620
|
+
s5 = peg$FAILED;
|
|
1621
|
+
} else {
|
|
1622
|
+
s5 = s6;
|
|
1623
|
+
}
|
|
1624
|
+
} else {
|
|
1625
|
+
s5 = s6;
|
|
1626
|
+
}
|
|
1627
|
+
}
|
|
1628
|
+
if (s4.length < 1) {
|
|
1629
|
+
peg$currPos = s3;
|
|
1630
|
+
s3 = peg$FAILED;
|
|
1631
|
+
} else {
|
|
1632
|
+
s3 = s4;
|
|
1633
|
+
}
|
|
1634
|
+
if (s3 === peg$FAILED) {
|
|
1635
|
+
s3 = null;
|
|
1636
|
+
}
|
|
1637
|
+
s4 = peg$currPos;
|
|
1638
|
+
s5 = peg$parse_decWs();
|
|
1639
|
+
if (input.charCodeAt(peg$currPos) === 44) {
|
|
1640
|
+
s6 = peg$c7;
|
|
1641
|
+
peg$currPos++;
|
|
1642
|
+
} else {
|
|
1643
|
+
s6 = peg$FAILED;
|
|
1644
|
+
if (peg$silentFails === 0) {
|
|
1645
|
+
peg$fail(peg$e13);
|
|
1646
|
+
}
|
|
1647
|
+
}
|
|
1648
|
+
if (s6 !== peg$FAILED) {
|
|
1649
|
+
s5 = [s5, s6];
|
|
1650
|
+
s4 = s5;
|
|
1651
|
+
} else {
|
|
1652
|
+
peg$currPos = s4;
|
|
1653
|
+
s4 = peg$FAILED;
|
|
1654
|
+
}
|
|
1655
|
+
if (s4 === peg$FAILED) {
|
|
1656
|
+
s4 = null;
|
|
1657
|
+
}
|
|
1658
|
+
s5 = peg$parse_decWs();
|
|
1659
|
+
if (input.charCodeAt(peg$currPos) === 41) {
|
|
1660
|
+
s6 = peg$c8;
|
|
1661
|
+
peg$currPos++;
|
|
1662
|
+
} else {
|
|
1663
|
+
s6 = peg$FAILED;
|
|
1664
|
+
if (peg$silentFails === 0) {
|
|
1665
|
+
peg$fail(peg$e14);
|
|
1666
|
+
}
|
|
1667
|
+
}
|
|
1668
|
+
if (s6 !== peg$FAILED) {
|
|
1669
|
+
peg$savedPos = s0;
|
|
1670
|
+
s0 = peg$f10(s3);
|
|
1671
|
+
} else {
|
|
1672
|
+
peg$currPos = s0;
|
|
1673
|
+
s0 = peg$FAILED;
|
|
1674
|
+
}
|
|
1675
|
+
} else {
|
|
1676
|
+
peg$currPos = s0;
|
|
1677
|
+
s0 = peg$FAILED;
|
|
1678
|
+
}
|
|
1679
|
+
return s0;
|
|
1680
|
+
}
|
|
1681
|
+
chunkJWF7I3Y2_js.__name(peg$parseDecoratorFunctionArgs, "peg$parseDecoratorFunctionArgs");
|
|
1682
|
+
function peg$parseDecoratorFunctionArgValue() {
|
|
1683
|
+
let s0, s1, s2, s3;
|
|
1684
|
+
s0 = peg$parseDecoratorFunctionCall();
|
|
1685
|
+
if (s0 === peg$FAILED) {
|
|
1686
|
+
s0 = peg$parsequotedString();
|
|
1687
|
+
if (s0 === peg$FAILED) {
|
|
1688
|
+
s0 = peg$currPos;
|
|
1689
|
+
s1 = peg$currPos;
|
|
1690
|
+
s2 = [];
|
|
1691
|
+
s3 = input.charAt(peg$currPos);
|
|
1692
|
+
if (peg$r6.test(s3)) {
|
|
1693
|
+
peg$currPos++;
|
|
1694
|
+
} else {
|
|
1695
|
+
s3 = peg$FAILED;
|
|
1696
|
+
if (peg$silentFails === 0) {
|
|
1697
|
+
peg$fail(peg$e15);
|
|
1698
|
+
}
|
|
1699
|
+
}
|
|
1700
|
+
if (s3 !== peg$FAILED) {
|
|
1701
|
+
while (s3 !== peg$FAILED) {
|
|
1702
|
+
s2.push(s3);
|
|
1703
|
+
s3 = input.charAt(peg$currPos);
|
|
1704
|
+
if (peg$r6.test(s3)) {
|
|
1705
|
+
peg$currPos++;
|
|
1706
|
+
} else {
|
|
1707
|
+
s3 = peg$FAILED;
|
|
1708
|
+
if (peg$silentFails === 0) {
|
|
1709
|
+
peg$fail(peg$e15);
|
|
1710
|
+
}
|
|
1711
|
+
}
|
|
1712
|
+
}
|
|
1713
|
+
} else {
|
|
1714
|
+
s2 = peg$FAILED;
|
|
1715
|
+
}
|
|
1716
|
+
if (s2 !== peg$FAILED) {
|
|
1717
|
+
s1 = input.substring(s1, peg$currPos);
|
|
1718
|
+
} else {
|
|
1719
|
+
s1 = s2;
|
|
1720
|
+
}
|
|
1721
|
+
if (s1 !== peg$FAILED) {
|
|
1722
|
+
peg$savedPos = s0;
|
|
1723
|
+
s1 = peg$f11();
|
|
1724
|
+
}
|
|
1725
|
+
s0 = s1;
|
|
1726
|
+
}
|
|
1727
|
+
}
|
|
1728
|
+
return s0;
|
|
1729
|
+
}
|
|
1730
|
+
chunkJWF7I3Y2_js.__name(peg$parseDecoratorFunctionArgValue, "peg$parseDecoratorFunctionArgValue");
|
|
1731
|
+
function peg$parse_decWs() {
|
|
1732
|
+
let s0, s1, s2, s3, s4, s5, s6;
|
|
1733
|
+
s0 = [];
|
|
1734
|
+
s1 = input.charAt(peg$currPos);
|
|
1735
|
+
if (peg$r7.test(s1)) {
|
|
1736
|
+
peg$currPos++;
|
|
1737
|
+
} else {
|
|
1738
|
+
s1 = peg$FAILED;
|
|
1739
|
+
if (peg$silentFails === 0) {
|
|
1740
|
+
peg$fail(peg$e16);
|
|
1741
|
+
}
|
|
1742
|
+
}
|
|
1743
|
+
if (s1 === peg$FAILED) {
|
|
1744
|
+
s1 = peg$currPos;
|
|
1745
|
+
if (input.charCodeAt(peg$currPos) === 10) {
|
|
1746
|
+
s2 = peg$c0;
|
|
1747
|
+
peg$currPos++;
|
|
1748
|
+
} else {
|
|
1749
|
+
s2 = peg$FAILED;
|
|
1750
|
+
if (peg$silentFails === 0) {
|
|
1751
|
+
peg$fail(peg$e0);
|
|
1752
|
+
}
|
|
1753
|
+
}
|
|
1754
|
+
if (s2 !== peg$FAILED) {
|
|
1755
|
+
s3 = [];
|
|
1756
|
+
s4 = input.charAt(peg$currPos);
|
|
1757
|
+
if (peg$r7.test(s4)) {
|
|
1758
|
+
peg$currPos++;
|
|
1759
|
+
} else {
|
|
1760
|
+
s4 = peg$FAILED;
|
|
1761
|
+
if (peg$silentFails === 0) {
|
|
1762
|
+
peg$fail(peg$e16);
|
|
1763
|
+
}
|
|
1764
|
+
}
|
|
1765
|
+
while (s4 !== peg$FAILED) {
|
|
1766
|
+
s3.push(s4);
|
|
1767
|
+
s4 = input.charAt(peg$currPos);
|
|
1768
|
+
if (peg$r7.test(s4)) {
|
|
1769
|
+
peg$currPos++;
|
|
1770
|
+
} else {
|
|
1771
|
+
s4 = peg$FAILED;
|
|
1772
|
+
if (peg$silentFails === 0) {
|
|
1773
|
+
peg$fail(peg$e16);
|
|
1774
|
+
}
|
|
1775
|
+
}
|
|
1776
|
+
}
|
|
1777
|
+
if (input.charCodeAt(peg$currPos) === 35) {
|
|
1778
|
+
s4 = peg$c3;
|
|
1779
|
+
peg$currPos++;
|
|
1780
|
+
} else {
|
|
1781
|
+
s4 = peg$FAILED;
|
|
1782
|
+
if (peg$silentFails === 0) {
|
|
1783
|
+
peg$fail(peg$e5);
|
|
1784
|
+
}
|
|
1785
|
+
}
|
|
1786
|
+
if (s4 !== peg$FAILED) {
|
|
1787
|
+
s5 = [];
|
|
1788
|
+
s6 = input.charAt(peg$currPos);
|
|
1789
|
+
if (peg$r7.test(s6)) {
|
|
1790
|
+
peg$currPos++;
|
|
1791
|
+
} else {
|
|
1792
|
+
s6 = peg$FAILED;
|
|
1793
|
+
if (peg$silentFails === 0) {
|
|
1794
|
+
peg$fail(peg$e16);
|
|
1795
|
+
}
|
|
1796
|
+
}
|
|
1797
|
+
while (s6 !== peg$FAILED) {
|
|
1798
|
+
s5.push(s6);
|
|
1799
|
+
s6 = input.charAt(peg$currPos);
|
|
1800
|
+
if (peg$r7.test(s6)) {
|
|
1801
|
+
peg$currPos++;
|
|
1802
|
+
} else {
|
|
1803
|
+
s6 = peg$FAILED;
|
|
1804
|
+
if (peg$silentFails === 0) {
|
|
1805
|
+
peg$fail(peg$e16);
|
|
1806
|
+
}
|
|
1807
|
+
}
|
|
1808
|
+
}
|
|
1809
|
+
s2 = [s2, s3, s4, s5];
|
|
1810
|
+
s1 = s2;
|
|
1811
|
+
} else {
|
|
1812
|
+
peg$currPos = s1;
|
|
1813
|
+
s1 = peg$FAILED;
|
|
1814
|
+
}
|
|
1815
|
+
} else {
|
|
1816
|
+
peg$currPos = s1;
|
|
1817
|
+
s1 = peg$FAILED;
|
|
1818
|
+
}
|
|
1819
|
+
}
|
|
1820
|
+
while (s1 !== peg$FAILED) {
|
|
1821
|
+
s0.push(s1);
|
|
1822
|
+
s1 = input.charAt(peg$currPos);
|
|
1823
|
+
if (peg$r7.test(s1)) {
|
|
1824
|
+
peg$currPos++;
|
|
1825
|
+
} else {
|
|
1826
|
+
s1 = peg$FAILED;
|
|
1428
1827
|
if (peg$silentFails === 0) {
|
|
1429
|
-
peg$fail(peg$
|
|
1828
|
+
peg$fail(peg$e16);
|
|
1430
1829
|
}
|
|
1431
1830
|
}
|
|
1432
|
-
|
|
1433
|
-
|
|
1434
|
-
|
|
1435
|
-
|
|
1831
|
+
if (s1 === peg$FAILED) {
|
|
1832
|
+
s1 = peg$currPos;
|
|
1833
|
+
if (input.charCodeAt(peg$currPos) === 10) {
|
|
1834
|
+
s2 = peg$c0;
|
|
1436
1835
|
peg$currPos++;
|
|
1437
1836
|
} else {
|
|
1438
|
-
|
|
1837
|
+
s2 = peg$FAILED;
|
|
1439
1838
|
if (peg$silentFails === 0) {
|
|
1440
|
-
peg$fail(peg$
|
|
1839
|
+
peg$fail(peg$e0);
|
|
1441
1840
|
}
|
|
1442
1841
|
}
|
|
1443
|
-
|
|
1444
|
-
|
|
1445
|
-
|
|
1446
|
-
|
|
1447
|
-
|
|
1448
|
-
|
|
1449
|
-
|
|
1450
|
-
|
|
1451
|
-
|
|
1452
|
-
|
|
1453
|
-
|
|
1454
|
-
|
|
1455
|
-
|
|
1456
|
-
|
|
1457
|
-
|
|
1458
|
-
|
|
1459
|
-
|
|
1460
|
-
|
|
1461
|
-
|
|
1462
|
-
|
|
1463
|
-
|
|
1464
|
-
|
|
1842
|
+
if (s2 !== peg$FAILED) {
|
|
1843
|
+
s3 = [];
|
|
1844
|
+
s4 = input.charAt(peg$currPos);
|
|
1845
|
+
if (peg$r7.test(s4)) {
|
|
1846
|
+
peg$currPos++;
|
|
1847
|
+
} else {
|
|
1848
|
+
s4 = peg$FAILED;
|
|
1849
|
+
if (peg$silentFails === 0) {
|
|
1850
|
+
peg$fail(peg$e16);
|
|
1851
|
+
}
|
|
1852
|
+
}
|
|
1853
|
+
while (s4 !== peg$FAILED) {
|
|
1854
|
+
s3.push(s4);
|
|
1855
|
+
s4 = input.charAt(peg$currPos);
|
|
1856
|
+
if (peg$r7.test(s4)) {
|
|
1857
|
+
peg$currPos++;
|
|
1858
|
+
} else {
|
|
1859
|
+
s4 = peg$FAILED;
|
|
1860
|
+
if (peg$silentFails === 0) {
|
|
1861
|
+
peg$fail(peg$e16);
|
|
1862
|
+
}
|
|
1863
|
+
}
|
|
1864
|
+
}
|
|
1865
|
+
if (input.charCodeAt(peg$currPos) === 35) {
|
|
1866
|
+
s4 = peg$c3;
|
|
1867
|
+
peg$currPos++;
|
|
1868
|
+
} else {
|
|
1869
|
+
s4 = peg$FAILED;
|
|
1870
|
+
if (peg$silentFails === 0) {
|
|
1871
|
+
peg$fail(peg$e5);
|
|
1872
|
+
}
|
|
1873
|
+
}
|
|
1874
|
+
if (s4 !== peg$FAILED) {
|
|
1875
|
+
s5 = [];
|
|
1876
|
+
s6 = input.charAt(peg$currPos);
|
|
1877
|
+
if (peg$r7.test(s6)) {
|
|
1878
|
+
peg$currPos++;
|
|
1879
|
+
} else {
|
|
1880
|
+
s6 = peg$FAILED;
|
|
1881
|
+
if (peg$silentFails === 0) {
|
|
1882
|
+
peg$fail(peg$e16);
|
|
1883
|
+
}
|
|
1884
|
+
}
|
|
1885
|
+
while (s6 !== peg$FAILED) {
|
|
1886
|
+
s5.push(s6);
|
|
1887
|
+
s6 = input.charAt(peg$currPos);
|
|
1888
|
+
if (peg$r7.test(s6)) {
|
|
1889
|
+
peg$currPos++;
|
|
1890
|
+
} else {
|
|
1891
|
+
s6 = peg$FAILED;
|
|
1892
|
+
if (peg$silentFails === 0) {
|
|
1893
|
+
peg$fail(peg$e16);
|
|
1894
|
+
}
|
|
1895
|
+
}
|
|
1896
|
+
}
|
|
1897
|
+
s2 = [s2, s3, s4, s5];
|
|
1898
|
+
s1 = s2;
|
|
1899
|
+
} else {
|
|
1900
|
+
peg$currPos = s1;
|
|
1901
|
+
s1 = peg$FAILED;
|
|
1902
|
+
}
|
|
1903
|
+
} else {
|
|
1904
|
+
peg$currPos = s1;
|
|
1905
|
+
s1 = peg$FAILED;
|
|
1906
|
+
}
|
|
1465
1907
|
}
|
|
1466
1908
|
}
|
|
1467
1909
|
return s0;
|
|
1468
1910
|
}
|
|
1469
|
-
|
|
1911
|
+
chunkJWF7I3Y2_js.__name(peg$parse_decWs, "peg$parse_decWs");
|
|
1470
1912
|
function peg$parseFunctionCall() {
|
|
1471
1913
|
let s0, s1, s2;
|
|
1472
1914
|
s0 = peg$currPos;
|
|
@@ -1475,7 +1917,7 @@ function peg$parse(input, options) {
|
|
|
1475
1917
|
s2 = peg$parseFunctionArgs();
|
|
1476
1918
|
if (s2 !== peg$FAILED) {
|
|
1477
1919
|
peg$savedPos = s0;
|
|
1478
|
-
s0 = peg$
|
|
1920
|
+
s0 = peg$f12(s1, s2);
|
|
1479
1921
|
} else {
|
|
1480
1922
|
peg$currPos = s0;
|
|
1481
1923
|
s0 = peg$FAILED;
|
|
@@ -1486,7 +1928,7 @@ function peg$parse(input, options) {
|
|
|
1486
1928
|
}
|
|
1487
1929
|
return s0;
|
|
1488
1930
|
}
|
|
1489
|
-
|
|
1931
|
+
chunkJWF7I3Y2_js.__name(peg$parseFunctionCall, "peg$parseFunctionCall");
|
|
1490
1932
|
function peg$parseFunctionName() {
|
|
1491
1933
|
let s0, s1, s2, s3, s4;
|
|
1492
1934
|
s0 = peg$currPos;
|
|
@@ -1536,7 +1978,7 @@ function peg$parse(input, options) {
|
|
|
1536
1978
|
}
|
|
1537
1979
|
return s0;
|
|
1538
1980
|
}
|
|
1539
|
-
|
|
1981
|
+
chunkJWF7I3Y2_js.__name(peg$parseFunctionName, "peg$parseFunctionName");
|
|
1540
1982
|
function peg$parseFunctionArgs() {
|
|
1541
1983
|
let s0, s1, s3, s4, s5, s6, s7, s8, s9;
|
|
1542
1984
|
s0 = peg$currPos;
|
|
@@ -1550,7 +1992,7 @@ function peg$parse(input, options) {
|
|
|
1550
1992
|
}
|
|
1551
1993
|
}
|
|
1552
1994
|
if (s1 !== peg$FAILED) {
|
|
1553
|
-
peg$
|
|
1995
|
+
peg$parse_valWs();
|
|
1554
1996
|
s3 = peg$currPos;
|
|
1555
1997
|
s4 = [];
|
|
1556
1998
|
s5 = peg$currPos;
|
|
@@ -1569,7 +2011,7 @@ function peg$parse(input, options) {
|
|
|
1569
2011
|
s8 = peg$parseFunctionArgValue();
|
|
1570
2012
|
if (s8 !== peg$FAILED) {
|
|
1571
2013
|
peg$savedPos = s5;
|
|
1572
|
-
s5 = peg$
|
|
2014
|
+
s5 = peg$f13(s6, s8);
|
|
1573
2015
|
} else {
|
|
1574
2016
|
peg$currPos = s5;
|
|
1575
2017
|
s5 = peg$FAILED;
|
|
@@ -1589,7 +2031,7 @@ function peg$parse(input, options) {
|
|
|
1589
2031
|
s4.push(s5);
|
|
1590
2032
|
s5 = peg$currPos;
|
|
1591
2033
|
s6 = peg$currPos;
|
|
1592
|
-
s7 = peg$
|
|
2034
|
+
s7 = peg$parse_valWs();
|
|
1593
2035
|
if (input.charCodeAt(peg$currPos) === 44) {
|
|
1594
2036
|
s8 = peg$c7;
|
|
1595
2037
|
peg$currPos++;
|
|
@@ -1600,7 +2042,7 @@ function peg$parse(input, options) {
|
|
|
1600
2042
|
}
|
|
1601
2043
|
}
|
|
1602
2044
|
if (s8 !== peg$FAILED) {
|
|
1603
|
-
s9 = peg$
|
|
2045
|
+
s9 = peg$parse_valWs();
|
|
1604
2046
|
s7 = [s7, s8, s9];
|
|
1605
2047
|
s6 = s7;
|
|
1606
2048
|
} else {
|
|
@@ -1624,7 +2066,7 @@ function peg$parse(input, options) {
|
|
|
1624
2066
|
s9 = peg$parseFunctionArgValue();
|
|
1625
2067
|
if (s9 !== peg$FAILED) {
|
|
1626
2068
|
peg$savedPos = s6;
|
|
1627
|
-
s6 = peg$
|
|
2069
|
+
s6 = peg$f13(s7, s9);
|
|
1628
2070
|
} else {
|
|
1629
2071
|
peg$currPos = s6;
|
|
1630
2072
|
s6 = peg$FAILED;
|
|
@@ -1659,19 +2101,40 @@ function peg$parse(input, options) {
|
|
|
1659
2101
|
if (s3 === peg$FAILED) {
|
|
1660
2102
|
s3 = null;
|
|
1661
2103
|
}
|
|
1662
|
-
s4 = peg$
|
|
2104
|
+
s4 = peg$currPos;
|
|
2105
|
+
s5 = peg$parse_valWs();
|
|
2106
|
+
if (input.charCodeAt(peg$currPos) === 44) {
|
|
2107
|
+
s6 = peg$c7;
|
|
2108
|
+
peg$currPos++;
|
|
2109
|
+
} else {
|
|
2110
|
+
s6 = peg$FAILED;
|
|
2111
|
+
if (peg$silentFails === 0) {
|
|
2112
|
+
peg$fail(peg$e13);
|
|
2113
|
+
}
|
|
2114
|
+
}
|
|
2115
|
+
if (s6 !== peg$FAILED) {
|
|
2116
|
+
s5 = [s5, s6];
|
|
2117
|
+
s4 = s5;
|
|
2118
|
+
} else {
|
|
2119
|
+
peg$currPos = s4;
|
|
2120
|
+
s4 = peg$FAILED;
|
|
2121
|
+
}
|
|
2122
|
+
if (s4 === peg$FAILED) {
|
|
2123
|
+
s4 = null;
|
|
2124
|
+
}
|
|
2125
|
+
s5 = peg$parse_valWs();
|
|
1663
2126
|
if (input.charCodeAt(peg$currPos) === 41) {
|
|
1664
|
-
|
|
2127
|
+
s6 = peg$c8;
|
|
1665
2128
|
peg$currPos++;
|
|
1666
2129
|
} else {
|
|
1667
|
-
|
|
2130
|
+
s6 = peg$FAILED;
|
|
1668
2131
|
if (peg$silentFails === 0) {
|
|
1669
2132
|
peg$fail(peg$e14);
|
|
1670
2133
|
}
|
|
1671
2134
|
}
|
|
1672
|
-
if (
|
|
2135
|
+
if (s6 !== peg$FAILED) {
|
|
1673
2136
|
peg$savedPos = s0;
|
|
1674
|
-
s0 = peg$
|
|
2137
|
+
s0 = peg$f14(s3);
|
|
1675
2138
|
} else {
|
|
1676
2139
|
peg$currPos = s0;
|
|
1677
2140
|
s0 = peg$FAILED;
|
|
@@ -1682,7 +2145,7 @@ function peg$parse(input, options) {
|
|
|
1682
2145
|
}
|
|
1683
2146
|
return s0;
|
|
1684
2147
|
}
|
|
1685
|
-
|
|
2148
|
+
chunkJWF7I3Y2_js.__name(peg$parseFunctionArgs, "peg$parseFunctionArgs");
|
|
1686
2149
|
function peg$parseFunctionArgKeyName() {
|
|
1687
2150
|
let s0, s1, s2, s3, s4;
|
|
1688
2151
|
s0 = peg$currPos;
|
|
@@ -1732,7 +2195,7 @@ function peg$parse(input, options) {
|
|
|
1732
2195
|
}
|
|
1733
2196
|
return s0;
|
|
1734
2197
|
}
|
|
1735
|
-
|
|
2198
|
+
chunkJWF7I3Y2_js.__name(peg$parseFunctionArgKeyName, "peg$parseFunctionArgKeyName");
|
|
1736
2199
|
function peg$parseFunctionArgValue() {
|
|
1737
2200
|
let s0, s1, s2, s3;
|
|
1738
2201
|
s0 = peg$parseFunctionCall();
|
|
@@ -1774,14 +2237,41 @@ function peg$parse(input, options) {
|
|
|
1774
2237
|
}
|
|
1775
2238
|
if (s1 !== peg$FAILED) {
|
|
1776
2239
|
peg$savedPos = s0;
|
|
1777
|
-
s1 = peg$
|
|
2240
|
+
s1 = peg$f15();
|
|
1778
2241
|
}
|
|
1779
2242
|
s0 = s1;
|
|
1780
2243
|
}
|
|
1781
2244
|
}
|
|
1782
2245
|
return s0;
|
|
1783
2246
|
}
|
|
1784
|
-
|
|
2247
|
+
chunkJWF7I3Y2_js.__name(peg$parseFunctionArgValue, "peg$parseFunctionArgValue");
|
|
2248
|
+
function peg$parse_valWs() {
|
|
2249
|
+
let s0, s1;
|
|
2250
|
+
s0 = [];
|
|
2251
|
+
s1 = input.charAt(peg$currPos);
|
|
2252
|
+
if (peg$r8.test(s1)) {
|
|
2253
|
+
peg$currPos++;
|
|
2254
|
+
} else {
|
|
2255
|
+
s1 = peg$FAILED;
|
|
2256
|
+
if (peg$silentFails === 0) {
|
|
2257
|
+
peg$fail(peg$e17);
|
|
2258
|
+
}
|
|
2259
|
+
}
|
|
2260
|
+
while (s1 !== peg$FAILED) {
|
|
2261
|
+
s0.push(s1);
|
|
2262
|
+
s1 = input.charAt(peg$currPos);
|
|
2263
|
+
if (peg$r8.test(s1)) {
|
|
2264
|
+
peg$currPos++;
|
|
2265
|
+
} else {
|
|
2266
|
+
s1 = peg$FAILED;
|
|
2267
|
+
if (peg$silentFails === 0) {
|
|
2268
|
+
peg$fail(peg$e17);
|
|
2269
|
+
}
|
|
2270
|
+
}
|
|
2271
|
+
}
|
|
2272
|
+
return s0;
|
|
2273
|
+
}
|
|
2274
|
+
chunkJWF7I3Y2_js.__name(peg$parse_valWs, "peg$parse_valWs");
|
|
1785
2275
|
function peg$parseDivider() {
|
|
1786
2276
|
let s0, s1, s2, s3, s4, s5, s6, s7;
|
|
1787
2277
|
s0 = peg$currPos;
|
|
@@ -1803,23 +2293,23 @@ function peg$parse(input, options) {
|
|
|
1803
2293
|
s5 = peg$currPos;
|
|
1804
2294
|
s6 = [];
|
|
1805
2295
|
s7 = input.charAt(peg$currPos);
|
|
1806
|
-
if (peg$
|
|
2296
|
+
if (peg$r9.test(s7)) {
|
|
1807
2297
|
peg$currPos++;
|
|
1808
2298
|
} else {
|
|
1809
2299
|
s7 = peg$FAILED;
|
|
1810
2300
|
if (peg$silentFails === 0) {
|
|
1811
|
-
peg$fail(peg$
|
|
2301
|
+
peg$fail(peg$e18);
|
|
1812
2302
|
}
|
|
1813
2303
|
}
|
|
1814
2304
|
while (s7 !== peg$FAILED) {
|
|
1815
2305
|
s6.push(s7);
|
|
1816
2306
|
s7 = input.charAt(peg$currPos);
|
|
1817
|
-
if (peg$
|
|
2307
|
+
if (peg$r9.test(s7)) {
|
|
1818
2308
|
peg$currPos++;
|
|
1819
2309
|
} else {
|
|
1820
2310
|
s7 = peg$FAILED;
|
|
1821
2311
|
if (peg$silentFails === 0) {
|
|
1822
|
-
peg$fail(peg$
|
|
2312
|
+
peg$fail(peg$e18);
|
|
1823
2313
|
}
|
|
1824
2314
|
}
|
|
1825
2315
|
}
|
|
@@ -1867,7 +2357,7 @@ function peg$parse(input, options) {
|
|
|
1867
2357
|
s4 = peg$parse_n();
|
|
1868
2358
|
if (s4 !== peg$FAILED) {
|
|
1869
2359
|
peg$savedPos = s0;
|
|
1870
|
-
s0 = peg$
|
|
2360
|
+
s0 = peg$f16(s2, s3);
|
|
1871
2361
|
} else {
|
|
1872
2362
|
peg$currPos = s0;
|
|
1873
2363
|
s0 = peg$FAILED;
|
|
@@ -1882,7 +2372,7 @@ function peg$parse(input, options) {
|
|
|
1882
2372
|
}
|
|
1883
2373
|
return s0;
|
|
1884
2374
|
}
|
|
1885
|
-
|
|
2375
|
+
chunkJWF7I3Y2_js.__name(peg$parseDivider, "peg$parseDivider");
|
|
1886
2376
|
function peg$parseunquotedString() {
|
|
1887
2377
|
let s0, s1, s2, s3, s4, s5, s6;
|
|
1888
2378
|
s0 = peg$currPos;
|
|
@@ -1892,12 +2382,12 @@ function peg$parse(input, options) {
|
|
|
1892
2382
|
s4 = peg$currPos;
|
|
1893
2383
|
peg$silentFails++;
|
|
1894
2384
|
s5 = input.charAt(peg$currPos);
|
|
1895
|
-
if (peg$
|
|
2385
|
+
if (peg$r10.test(s5)) {
|
|
1896
2386
|
peg$currPos++;
|
|
1897
2387
|
} else {
|
|
1898
2388
|
s5 = peg$FAILED;
|
|
1899
2389
|
if (peg$silentFails === 0) {
|
|
1900
|
-
peg$fail(peg$
|
|
2390
|
+
peg$fail(peg$e19);
|
|
1901
2391
|
}
|
|
1902
2392
|
}
|
|
1903
2393
|
peg$silentFails--;
|
|
@@ -1910,24 +2400,24 @@ function peg$parse(input, options) {
|
|
|
1910
2400
|
if (s4 !== peg$FAILED) {
|
|
1911
2401
|
s5 = [];
|
|
1912
2402
|
s6 = input.charAt(peg$currPos);
|
|
1913
|
-
if (peg$
|
|
2403
|
+
if (peg$r11.test(s6)) {
|
|
1914
2404
|
peg$currPos++;
|
|
1915
2405
|
} else {
|
|
1916
2406
|
s6 = peg$FAILED;
|
|
1917
2407
|
if (peg$silentFails === 0) {
|
|
1918
|
-
peg$fail(peg$
|
|
2408
|
+
peg$fail(peg$e20);
|
|
1919
2409
|
}
|
|
1920
2410
|
}
|
|
1921
2411
|
if (s6 !== peg$FAILED) {
|
|
1922
2412
|
while (s6 !== peg$FAILED) {
|
|
1923
2413
|
s5.push(s6);
|
|
1924
2414
|
s6 = input.charAt(peg$currPos);
|
|
1925
|
-
if (peg$
|
|
2415
|
+
if (peg$r11.test(s6)) {
|
|
1926
2416
|
peg$currPos++;
|
|
1927
2417
|
} else {
|
|
1928
2418
|
s6 = peg$FAILED;
|
|
1929
2419
|
if (peg$silentFails === 0) {
|
|
1930
|
-
peg$fail(peg$
|
|
2420
|
+
peg$fail(peg$e20);
|
|
1931
2421
|
}
|
|
1932
2422
|
}
|
|
1933
2423
|
}
|
|
@@ -1952,12 +2442,12 @@ function peg$parse(input, options) {
|
|
|
1952
2442
|
}
|
|
1953
2443
|
if (s1 !== peg$FAILED) {
|
|
1954
2444
|
peg$savedPos = s0;
|
|
1955
|
-
s1 = peg$
|
|
2445
|
+
s1 = peg$f17();
|
|
1956
2446
|
}
|
|
1957
2447
|
s0 = s1;
|
|
1958
2448
|
return s0;
|
|
1959
2449
|
}
|
|
1960
|
-
|
|
2450
|
+
chunkJWF7I3Y2_js.__name(peg$parseunquotedString, "peg$parseunquotedString");
|
|
1961
2451
|
function peg$parseunquotedStringWithoutSpaces() {
|
|
1962
2452
|
let s0, s1, s2, s3, s4, s5;
|
|
1963
2453
|
s0 = peg$currPos;
|
|
@@ -1966,12 +2456,12 @@ function peg$parse(input, options) {
|
|
|
1966
2456
|
s3 = peg$currPos;
|
|
1967
2457
|
peg$silentFails++;
|
|
1968
2458
|
s4 = input.charAt(peg$currPos);
|
|
1969
|
-
if (peg$
|
|
2459
|
+
if (peg$r10.test(s4)) {
|
|
1970
2460
|
peg$currPos++;
|
|
1971
2461
|
} else {
|
|
1972
2462
|
s4 = peg$FAILED;
|
|
1973
2463
|
if (peg$silentFails === 0) {
|
|
1974
|
-
peg$fail(peg$
|
|
2464
|
+
peg$fail(peg$e19);
|
|
1975
2465
|
}
|
|
1976
2466
|
}
|
|
1977
2467
|
peg$silentFails--;
|
|
@@ -1984,24 +2474,24 @@ function peg$parse(input, options) {
|
|
|
1984
2474
|
if (s3 !== peg$FAILED) {
|
|
1985
2475
|
s4 = [];
|
|
1986
2476
|
s5 = input.charAt(peg$currPos);
|
|
1987
|
-
if (peg$
|
|
2477
|
+
if (peg$r12.test(s5)) {
|
|
1988
2478
|
peg$currPos++;
|
|
1989
2479
|
} else {
|
|
1990
2480
|
s5 = peg$FAILED;
|
|
1991
2481
|
if (peg$silentFails === 0) {
|
|
1992
|
-
peg$fail(peg$
|
|
2482
|
+
peg$fail(peg$e21);
|
|
1993
2483
|
}
|
|
1994
2484
|
}
|
|
1995
2485
|
if (s5 !== peg$FAILED) {
|
|
1996
2486
|
while (s5 !== peg$FAILED) {
|
|
1997
2487
|
s4.push(s5);
|
|
1998
2488
|
s5 = input.charAt(peg$currPos);
|
|
1999
|
-
if (peg$
|
|
2489
|
+
if (peg$r12.test(s5)) {
|
|
2000
2490
|
peg$currPos++;
|
|
2001
2491
|
} else {
|
|
2002
2492
|
s5 = peg$FAILED;
|
|
2003
2493
|
if (peg$silentFails === 0) {
|
|
2004
|
-
peg$fail(peg$
|
|
2494
|
+
peg$fail(peg$e21);
|
|
2005
2495
|
}
|
|
2006
2496
|
}
|
|
2007
2497
|
}
|
|
@@ -2026,12 +2516,12 @@ function peg$parse(input, options) {
|
|
|
2026
2516
|
}
|
|
2027
2517
|
if (s1 !== peg$FAILED) {
|
|
2028
2518
|
peg$savedPos = s0;
|
|
2029
|
-
s1 = peg$
|
|
2519
|
+
s1 = peg$f18();
|
|
2030
2520
|
}
|
|
2031
2521
|
s0 = s1;
|
|
2032
2522
|
return s0;
|
|
2033
2523
|
}
|
|
2034
|
-
|
|
2524
|
+
chunkJWF7I3Y2_js.__name(peg$parseunquotedStringWithoutSpaces, "peg$parseunquotedStringWithoutSpaces");
|
|
2035
2525
|
function peg$parsequotedString() {
|
|
2036
2526
|
let s0;
|
|
2037
2527
|
s0 = peg$parseDQuotedString();
|
|
@@ -2043,17 +2533,17 @@ function peg$parse(input, options) {
|
|
|
2043
2533
|
}
|
|
2044
2534
|
return s0;
|
|
2045
2535
|
}
|
|
2046
|
-
|
|
2536
|
+
chunkJWF7I3Y2_js.__name(peg$parsequotedString, "peg$parsequotedString");
|
|
2047
2537
|
function peg$parseDQuotedString() {
|
|
2048
2538
|
let s0, s1, s2, s3;
|
|
2049
2539
|
s0 = peg$currPos;
|
|
2050
2540
|
s1 = input.charAt(peg$currPos);
|
|
2051
|
-
if (peg$
|
|
2541
|
+
if (peg$r13.test(s1)) {
|
|
2052
2542
|
peg$currPos++;
|
|
2053
2543
|
} else {
|
|
2054
2544
|
s1 = peg$FAILED;
|
|
2055
2545
|
if (peg$silentFails === 0) {
|
|
2056
|
-
peg$fail(peg$
|
|
2546
|
+
peg$fail(peg$e22);
|
|
2057
2547
|
}
|
|
2058
2548
|
}
|
|
2059
2549
|
if (s1 !== peg$FAILED) {
|
|
@@ -2064,17 +2554,17 @@ function peg$parse(input, options) {
|
|
|
2064
2554
|
} else {
|
|
2065
2555
|
s3 = peg$FAILED;
|
|
2066
2556
|
if (peg$silentFails === 0) {
|
|
2067
|
-
peg$fail(peg$
|
|
2557
|
+
peg$fail(peg$e23);
|
|
2068
2558
|
}
|
|
2069
2559
|
}
|
|
2070
2560
|
if (s3 === peg$FAILED) {
|
|
2071
2561
|
s3 = input.charAt(peg$currPos);
|
|
2072
|
-
if (peg$
|
|
2562
|
+
if (peg$r14.test(s3)) {
|
|
2073
2563
|
peg$currPos++;
|
|
2074
2564
|
} else {
|
|
2075
2565
|
s3 = peg$FAILED;
|
|
2076
2566
|
if (peg$silentFails === 0) {
|
|
2077
|
-
peg$fail(peg$
|
|
2567
|
+
peg$fail(peg$e24);
|
|
2078
2568
|
}
|
|
2079
2569
|
}
|
|
2080
2570
|
}
|
|
@@ -2086,33 +2576,33 @@ function peg$parse(input, options) {
|
|
|
2086
2576
|
} else {
|
|
2087
2577
|
s3 = peg$FAILED;
|
|
2088
2578
|
if (peg$silentFails === 0) {
|
|
2089
|
-
peg$fail(peg$
|
|
2579
|
+
peg$fail(peg$e23);
|
|
2090
2580
|
}
|
|
2091
2581
|
}
|
|
2092
2582
|
if (s3 === peg$FAILED) {
|
|
2093
2583
|
s3 = input.charAt(peg$currPos);
|
|
2094
|
-
if (peg$
|
|
2584
|
+
if (peg$r14.test(s3)) {
|
|
2095
2585
|
peg$currPos++;
|
|
2096
2586
|
} else {
|
|
2097
2587
|
s3 = peg$FAILED;
|
|
2098
2588
|
if (peg$silentFails === 0) {
|
|
2099
|
-
peg$fail(peg$
|
|
2589
|
+
peg$fail(peg$e24);
|
|
2100
2590
|
}
|
|
2101
2591
|
}
|
|
2102
2592
|
}
|
|
2103
2593
|
}
|
|
2104
2594
|
s3 = input.charAt(peg$currPos);
|
|
2105
|
-
if (peg$
|
|
2595
|
+
if (peg$r13.test(s3)) {
|
|
2106
2596
|
peg$currPos++;
|
|
2107
2597
|
} else {
|
|
2108
2598
|
s3 = peg$FAILED;
|
|
2109
2599
|
if (peg$silentFails === 0) {
|
|
2110
|
-
peg$fail(peg$
|
|
2600
|
+
peg$fail(peg$e22);
|
|
2111
2601
|
}
|
|
2112
2602
|
}
|
|
2113
2603
|
if (s3 !== peg$FAILED) {
|
|
2114
2604
|
peg$savedPos = s0;
|
|
2115
|
-
s0 = peg$
|
|
2605
|
+
s0 = peg$f19(s1);
|
|
2116
2606
|
} else {
|
|
2117
2607
|
peg$currPos = s0;
|
|
2118
2608
|
s0 = peg$FAILED;
|
|
@@ -2123,17 +2613,17 @@ function peg$parse(input, options) {
|
|
|
2123
2613
|
}
|
|
2124
2614
|
return s0;
|
|
2125
2615
|
}
|
|
2126
|
-
|
|
2616
|
+
chunkJWF7I3Y2_js.__name(peg$parseDQuotedString, "peg$parseDQuotedString");
|
|
2127
2617
|
function peg$parseSQuotedString() {
|
|
2128
2618
|
let s0, s1, s2, s3;
|
|
2129
2619
|
s0 = peg$currPos;
|
|
2130
2620
|
s1 = input.charAt(peg$currPos);
|
|
2131
|
-
if (peg$
|
|
2621
|
+
if (peg$r15.test(s1)) {
|
|
2132
2622
|
peg$currPos++;
|
|
2133
2623
|
} else {
|
|
2134
2624
|
s1 = peg$FAILED;
|
|
2135
2625
|
if (peg$silentFails === 0) {
|
|
2136
|
-
peg$fail(peg$
|
|
2626
|
+
peg$fail(peg$e25);
|
|
2137
2627
|
}
|
|
2138
2628
|
}
|
|
2139
2629
|
if (s1 !== peg$FAILED) {
|
|
@@ -2144,17 +2634,17 @@ function peg$parse(input, options) {
|
|
|
2144
2634
|
} else {
|
|
2145
2635
|
s3 = peg$FAILED;
|
|
2146
2636
|
if (peg$silentFails === 0) {
|
|
2147
|
-
peg$fail(peg$
|
|
2637
|
+
peg$fail(peg$e26);
|
|
2148
2638
|
}
|
|
2149
2639
|
}
|
|
2150
2640
|
if (s3 === peg$FAILED) {
|
|
2151
2641
|
s3 = input.charAt(peg$currPos);
|
|
2152
|
-
if (peg$
|
|
2642
|
+
if (peg$r16.test(s3)) {
|
|
2153
2643
|
peg$currPos++;
|
|
2154
2644
|
} else {
|
|
2155
2645
|
s3 = peg$FAILED;
|
|
2156
2646
|
if (peg$silentFails === 0) {
|
|
2157
|
-
peg$fail(peg$
|
|
2647
|
+
peg$fail(peg$e27);
|
|
2158
2648
|
}
|
|
2159
2649
|
}
|
|
2160
2650
|
}
|
|
@@ -2166,33 +2656,33 @@ function peg$parse(input, options) {
|
|
|
2166
2656
|
} else {
|
|
2167
2657
|
s3 = peg$FAILED;
|
|
2168
2658
|
if (peg$silentFails === 0) {
|
|
2169
|
-
peg$fail(peg$
|
|
2659
|
+
peg$fail(peg$e26);
|
|
2170
2660
|
}
|
|
2171
2661
|
}
|
|
2172
2662
|
if (s3 === peg$FAILED) {
|
|
2173
2663
|
s3 = input.charAt(peg$currPos);
|
|
2174
|
-
if (peg$
|
|
2664
|
+
if (peg$r16.test(s3)) {
|
|
2175
2665
|
peg$currPos++;
|
|
2176
2666
|
} else {
|
|
2177
2667
|
s3 = peg$FAILED;
|
|
2178
2668
|
if (peg$silentFails === 0) {
|
|
2179
|
-
peg$fail(peg$
|
|
2669
|
+
peg$fail(peg$e27);
|
|
2180
2670
|
}
|
|
2181
2671
|
}
|
|
2182
2672
|
}
|
|
2183
2673
|
}
|
|
2184
2674
|
s3 = input.charAt(peg$currPos);
|
|
2185
|
-
if (peg$
|
|
2675
|
+
if (peg$r15.test(s3)) {
|
|
2186
2676
|
peg$currPos++;
|
|
2187
2677
|
} else {
|
|
2188
2678
|
s3 = peg$FAILED;
|
|
2189
2679
|
if (peg$silentFails === 0) {
|
|
2190
|
-
peg$fail(peg$
|
|
2680
|
+
peg$fail(peg$e25);
|
|
2191
2681
|
}
|
|
2192
2682
|
}
|
|
2193
2683
|
if (s3 !== peg$FAILED) {
|
|
2194
2684
|
peg$savedPos = s0;
|
|
2195
|
-
s0 = peg$
|
|
2685
|
+
s0 = peg$f20(s1);
|
|
2196
2686
|
} else {
|
|
2197
2687
|
peg$currPos = s0;
|
|
2198
2688
|
s0 = peg$FAILED;
|
|
@@ -2203,17 +2693,17 @@ function peg$parse(input, options) {
|
|
|
2203
2693
|
}
|
|
2204
2694
|
return s0;
|
|
2205
2695
|
}
|
|
2206
|
-
|
|
2696
|
+
chunkJWF7I3Y2_js.__name(peg$parseSQuotedString, "peg$parseSQuotedString");
|
|
2207
2697
|
function peg$parseBQuotedString() {
|
|
2208
2698
|
let s0, s1, s2, s3;
|
|
2209
2699
|
s0 = peg$currPos;
|
|
2210
2700
|
s1 = input.charAt(peg$currPos);
|
|
2211
|
-
if (peg$
|
|
2701
|
+
if (peg$r17.test(s1)) {
|
|
2212
2702
|
peg$currPos++;
|
|
2213
2703
|
} else {
|
|
2214
2704
|
s1 = peg$FAILED;
|
|
2215
2705
|
if (peg$silentFails === 0) {
|
|
2216
|
-
peg$fail(peg$
|
|
2706
|
+
peg$fail(peg$e28);
|
|
2217
2707
|
}
|
|
2218
2708
|
}
|
|
2219
2709
|
if (s1 !== peg$FAILED) {
|
|
@@ -2224,17 +2714,17 @@ function peg$parse(input, options) {
|
|
|
2224
2714
|
} else {
|
|
2225
2715
|
s3 = peg$FAILED;
|
|
2226
2716
|
if (peg$silentFails === 0) {
|
|
2227
|
-
peg$fail(peg$
|
|
2717
|
+
peg$fail(peg$e29);
|
|
2228
2718
|
}
|
|
2229
2719
|
}
|
|
2230
2720
|
if (s3 === peg$FAILED) {
|
|
2231
2721
|
s3 = input.charAt(peg$currPos);
|
|
2232
|
-
if (peg$
|
|
2722
|
+
if (peg$r18.test(s3)) {
|
|
2233
2723
|
peg$currPos++;
|
|
2234
2724
|
} else {
|
|
2235
2725
|
s3 = peg$FAILED;
|
|
2236
2726
|
if (peg$silentFails === 0) {
|
|
2237
|
-
peg$fail(peg$
|
|
2727
|
+
peg$fail(peg$e30);
|
|
2238
2728
|
}
|
|
2239
2729
|
}
|
|
2240
2730
|
}
|
|
@@ -2246,33 +2736,33 @@ function peg$parse(input, options) {
|
|
|
2246
2736
|
} else {
|
|
2247
2737
|
s3 = peg$FAILED;
|
|
2248
2738
|
if (peg$silentFails === 0) {
|
|
2249
|
-
peg$fail(peg$
|
|
2739
|
+
peg$fail(peg$e29);
|
|
2250
2740
|
}
|
|
2251
2741
|
}
|
|
2252
2742
|
if (s3 === peg$FAILED) {
|
|
2253
2743
|
s3 = input.charAt(peg$currPos);
|
|
2254
|
-
if (peg$
|
|
2744
|
+
if (peg$r18.test(s3)) {
|
|
2255
2745
|
peg$currPos++;
|
|
2256
2746
|
} else {
|
|
2257
2747
|
s3 = peg$FAILED;
|
|
2258
2748
|
if (peg$silentFails === 0) {
|
|
2259
|
-
peg$fail(peg$
|
|
2749
|
+
peg$fail(peg$e30);
|
|
2260
2750
|
}
|
|
2261
2751
|
}
|
|
2262
2752
|
}
|
|
2263
2753
|
}
|
|
2264
2754
|
s3 = input.charAt(peg$currPos);
|
|
2265
|
-
if (peg$
|
|
2755
|
+
if (peg$r17.test(s3)) {
|
|
2266
2756
|
peg$currPos++;
|
|
2267
2757
|
} else {
|
|
2268
2758
|
s3 = peg$FAILED;
|
|
2269
2759
|
if (peg$silentFails === 0) {
|
|
2270
|
-
peg$fail(peg$
|
|
2760
|
+
peg$fail(peg$e28);
|
|
2271
2761
|
}
|
|
2272
2762
|
}
|
|
2273
2763
|
if (s3 !== peg$FAILED) {
|
|
2274
2764
|
peg$savedPos = s0;
|
|
2275
|
-
s0 = peg$
|
|
2765
|
+
s0 = peg$f21(s1);
|
|
2276
2766
|
} else {
|
|
2277
2767
|
peg$currPos = s0;
|
|
2278
2768
|
s0 = peg$FAILED;
|
|
@@ -2283,7 +2773,7 @@ function peg$parse(input, options) {
|
|
|
2283
2773
|
}
|
|
2284
2774
|
return s0;
|
|
2285
2775
|
}
|
|
2286
|
-
|
|
2776
|
+
chunkJWF7I3Y2_js.__name(peg$parseBQuotedString, "peg$parseBQuotedString");
|
|
2287
2777
|
function peg$parsemultiLineString() {
|
|
2288
2778
|
let s0;
|
|
2289
2779
|
s0 = peg$parsesingleSQuotedMultiLineString();
|
|
@@ -2298,17 +2788,17 @@ function peg$parse(input, options) {
|
|
|
2298
2788
|
}
|
|
2299
2789
|
return s0;
|
|
2300
2790
|
}
|
|
2301
|
-
|
|
2791
|
+
chunkJWF7I3Y2_js.__name(peg$parsemultiLineString, "peg$parsemultiLineString");
|
|
2302
2792
|
function peg$parsesingleSQuotedMultiLineString() {
|
|
2303
2793
|
let s0, s1, s2, s3, s4, s5;
|
|
2304
2794
|
s0 = peg$currPos;
|
|
2305
2795
|
s1 = input.charAt(peg$currPos);
|
|
2306
|
-
if (peg$
|
|
2796
|
+
if (peg$r15.test(s1)) {
|
|
2307
2797
|
peg$currPos++;
|
|
2308
2798
|
} else {
|
|
2309
2799
|
s1 = peg$FAILED;
|
|
2310
2800
|
if (peg$silentFails === 0) {
|
|
2311
|
-
peg$fail(peg$
|
|
2801
|
+
peg$fail(peg$e25);
|
|
2312
2802
|
}
|
|
2313
2803
|
}
|
|
2314
2804
|
if (s1 !== peg$FAILED) {
|
|
@@ -2321,17 +2811,17 @@ function peg$parse(input, options) {
|
|
|
2321
2811
|
} else {
|
|
2322
2812
|
s5 = peg$FAILED;
|
|
2323
2813
|
if (peg$silentFails === 0) {
|
|
2324
|
-
peg$fail(peg$
|
|
2814
|
+
peg$fail(peg$e26);
|
|
2325
2815
|
}
|
|
2326
2816
|
}
|
|
2327
2817
|
if (s5 === peg$FAILED) {
|
|
2328
2818
|
s5 = input.charAt(peg$currPos);
|
|
2329
|
-
if (peg$
|
|
2819
|
+
if (peg$r16.test(s5)) {
|
|
2330
2820
|
peg$currPos++;
|
|
2331
2821
|
} else {
|
|
2332
2822
|
s5 = peg$FAILED;
|
|
2333
2823
|
if (peg$silentFails === 0) {
|
|
2334
|
-
peg$fail(peg$
|
|
2824
|
+
peg$fail(peg$e27);
|
|
2335
2825
|
}
|
|
2336
2826
|
}
|
|
2337
2827
|
}
|
|
@@ -2343,17 +2833,17 @@ function peg$parse(input, options) {
|
|
|
2343
2833
|
} else {
|
|
2344
2834
|
s5 = peg$FAILED;
|
|
2345
2835
|
if (peg$silentFails === 0) {
|
|
2346
|
-
peg$fail(peg$
|
|
2836
|
+
peg$fail(peg$e26);
|
|
2347
2837
|
}
|
|
2348
2838
|
}
|
|
2349
2839
|
if (s5 === peg$FAILED) {
|
|
2350
2840
|
s5 = input.charAt(peg$currPos);
|
|
2351
|
-
if (peg$
|
|
2841
|
+
if (peg$r16.test(s5)) {
|
|
2352
2842
|
peg$currPos++;
|
|
2353
2843
|
} else {
|
|
2354
2844
|
s5 = peg$FAILED;
|
|
2355
2845
|
if (peg$silentFails === 0) {
|
|
2356
|
-
peg$fail(peg$
|
|
2846
|
+
peg$fail(peg$e27);
|
|
2357
2847
|
}
|
|
2358
2848
|
}
|
|
2359
2849
|
}
|
|
@@ -2385,17 +2875,17 @@ function peg$parse(input, options) {
|
|
|
2385
2875
|
} else {
|
|
2386
2876
|
s5 = peg$FAILED;
|
|
2387
2877
|
if (peg$silentFails === 0) {
|
|
2388
|
-
peg$fail(peg$
|
|
2878
|
+
peg$fail(peg$e26);
|
|
2389
2879
|
}
|
|
2390
2880
|
}
|
|
2391
2881
|
if (s5 === peg$FAILED) {
|
|
2392
2882
|
s5 = input.charAt(peg$currPos);
|
|
2393
|
-
if (peg$
|
|
2883
|
+
if (peg$r16.test(s5)) {
|
|
2394
2884
|
peg$currPos++;
|
|
2395
2885
|
} else {
|
|
2396
2886
|
s5 = peg$FAILED;
|
|
2397
2887
|
if (peg$silentFails === 0) {
|
|
2398
|
-
peg$fail(peg$
|
|
2888
|
+
peg$fail(peg$e27);
|
|
2399
2889
|
}
|
|
2400
2890
|
}
|
|
2401
2891
|
}
|
|
@@ -2407,17 +2897,17 @@ function peg$parse(input, options) {
|
|
|
2407
2897
|
} else {
|
|
2408
2898
|
s5 = peg$FAILED;
|
|
2409
2899
|
if (peg$silentFails === 0) {
|
|
2410
|
-
peg$fail(peg$
|
|
2900
|
+
peg$fail(peg$e26);
|
|
2411
2901
|
}
|
|
2412
2902
|
}
|
|
2413
2903
|
if (s5 === peg$FAILED) {
|
|
2414
2904
|
s5 = input.charAt(peg$currPos);
|
|
2415
|
-
if (peg$
|
|
2905
|
+
if (peg$r16.test(s5)) {
|
|
2416
2906
|
peg$currPos++;
|
|
2417
2907
|
} else {
|
|
2418
2908
|
s5 = peg$FAILED;
|
|
2419
2909
|
if (peg$silentFails === 0) {
|
|
2420
|
-
peg$fail(peg$
|
|
2910
|
+
peg$fail(peg$e27);
|
|
2421
2911
|
}
|
|
2422
2912
|
}
|
|
2423
2913
|
}
|
|
@@ -2450,17 +2940,17 @@ function peg$parse(input, options) {
|
|
|
2450
2940
|
} else {
|
|
2451
2941
|
s4 = peg$FAILED;
|
|
2452
2942
|
if (peg$silentFails === 0) {
|
|
2453
|
-
peg$fail(peg$
|
|
2943
|
+
peg$fail(peg$e26);
|
|
2454
2944
|
}
|
|
2455
2945
|
}
|
|
2456
2946
|
if (s4 === peg$FAILED) {
|
|
2457
2947
|
s4 = input.charAt(peg$currPos);
|
|
2458
|
-
if (peg$
|
|
2948
|
+
if (peg$r16.test(s4)) {
|
|
2459
2949
|
peg$currPos++;
|
|
2460
2950
|
} else {
|
|
2461
2951
|
s4 = peg$FAILED;
|
|
2462
2952
|
if (peg$silentFails === 0) {
|
|
2463
|
-
peg$fail(peg$
|
|
2953
|
+
peg$fail(peg$e27);
|
|
2464
2954
|
}
|
|
2465
2955
|
}
|
|
2466
2956
|
}
|
|
@@ -2472,33 +2962,33 @@ function peg$parse(input, options) {
|
|
|
2472
2962
|
} else {
|
|
2473
2963
|
s4 = peg$FAILED;
|
|
2474
2964
|
if (peg$silentFails === 0) {
|
|
2475
|
-
peg$fail(peg$
|
|
2965
|
+
peg$fail(peg$e26);
|
|
2476
2966
|
}
|
|
2477
2967
|
}
|
|
2478
2968
|
if (s4 === peg$FAILED) {
|
|
2479
2969
|
s4 = input.charAt(peg$currPos);
|
|
2480
|
-
if (peg$
|
|
2970
|
+
if (peg$r16.test(s4)) {
|
|
2481
2971
|
peg$currPos++;
|
|
2482
2972
|
} else {
|
|
2483
2973
|
s4 = peg$FAILED;
|
|
2484
2974
|
if (peg$silentFails === 0) {
|
|
2485
|
-
peg$fail(peg$
|
|
2975
|
+
peg$fail(peg$e27);
|
|
2486
2976
|
}
|
|
2487
2977
|
}
|
|
2488
2978
|
}
|
|
2489
2979
|
}
|
|
2490
2980
|
s4 = input.charAt(peg$currPos);
|
|
2491
|
-
if (peg$
|
|
2981
|
+
if (peg$r15.test(s4)) {
|
|
2492
2982
|
peg$currPos++;
|
|
2493
2983
|
} else {
|
|
2494
2984
|
s4 = peg$FAILED;
|
|
2495
2985
|
if (peg$silentFails === 0) {
|
|
2496
|
-
peg$fail(peg$
|
|
2986
|
+
peg$fail(peg$e25);
|
|
2497
2987
|
}
|
|
2498
2988
|
}
|
|
2499
2989
|
if (s4 !== peg$FAILED) {
|
|
2500
2990
|
peg$savedPos = s0;
|
|
2501
|
-
s0 = peg$
|
|
2991
|
+
s0 = peg$f22(s1);
|
|
2502
2992
|
} else {
|
|
2503
2993
|
peg$currPos = s0;
|
|
2504
2994
|
s0 = peg$FAILED;
|
|
@@ -2513,17 +3003,17 @@ function peg$parse(input, options) {
|
|
|
2513
3003
|
}
|
|
2514
3004
|
return s0;
|
|
2515
3005
|
}
|
|
2516
|
-
|
|
3006
|
+
chunkJWF7I3Y2_js.__name(peg$parsesingleSQuotedMultiLineString, "peg$parsesingleSQuotedMultiLineString");
|
|
2517
3007
|
function peg$parsesingleDQuotedMultiLineString() {
|
|
2518
3008
|
let s0, s1, s2, s3, s4, s5;
|
|
2519
3009
|
s0 = peg$currPos;
|
|
2520
3010
|
s1 = input.charAt(peg$currPos);
|
|
2521
|
-
if (peg$
|
|
3011
|
+
if (peg$r13.test(s1)) {
|
|
2522
3012
|
peg$currPos++;
|
|
2523
3013
|
} else {
|
|
2524
3014
|
s1 = peg$FAILED;
|
|
2525
3015
|
if (peg$silentFails === 0) {
|
|
2526
|
-
peg$fail(peg$
|
|
3016
|
+
peg$fail(peg$e22);
|
|
2527
3017
|
}
|
|
2528
3018
|
}
|
|
2529
3019
|
if (s1 !== peg$FAILED) {
|
|
@@ -2536,17 +3026,17 @@ function peg$parse(input, options) {
|
|
|
2536
3026
|
} else {
|
|
2537
3027
|
s5 = peg$FAILED;
|
|
2538
3028
|
if (peg$silentFails === 0) {
|
|
2539
|
-
peg$fail(peg$
|
|
3029
|
+
peg$fail(peg$e23);
|
|
2540
3030
|
}
|
|
2541
3031
|
}
|
|
2542
3032
|
if (s5 === peg$FAILED) {
|
|
2543
3033
|
s5 = input.charAt(peg$currPos);
|
|
2544
|
-
if (peg$
|
|
3034
|
+
if (peg$r14.test(s5)) {
|
|
2545
3035
|
peg$currPos++;
|
|
2546
3036
|
} else {
|
|
2547
3037
|
s5 = peg$FAILED;
|
|
2548
3038
|
if (peg$silentFails === 0) {
|
|
2549
|
-
peg$fail(peg$
|
|
3039
|
+
peg$fail(peg$e24);
|
|
2550
3040
|
}
|
|
2551
3041
|
}
|
|
2552
3042
|
}
|
|
@@ -2558,17 +3048,17 @@ function peg$parse(input, options) {
|
|
|
2558
3048
|
} else {
|
|
2559
3049
|
s5 = peg$FAILED;
|
|
2560
3050
|
if (peg$silentFails === 0) {
|
|
2561
|
-
peg$fail(peg$
|
|
3051
|
+
peg$fail(peg$e23);
|
|
2562
3052
|
}
|
|
2563
3053
|
}
|
|
2564
3054
|
if (s5 === peg$FAILED) {
|
|
2565
3055
|
s5 = input.charAt(peg$currPos);
|
|
2566
|
-
if (peg$
|
|
3056
|
+
if (peg$r14.test(s5)) {
|
|
2567
3057
|
peg$currPos++;
|
|
2568
3058
|
} else {
|
|
2569
3059
|
s5 = peg$FAILED;
|
|
2570
3060
|
if (peg$silentFails === 0) {
|
|
2571
|
-
peg$fail(peg$
|
|
3061
|
+
peg$fail(peg$e24);
|
|
2572
3062
|
}
|
|
2573
3063
|
}
|
|
2574
3064
|
}
|
|
@@ -2600,17 +3090,17 @@ function peg$parse(input, options) {
|
|
|
2600
3090
|
} else {
|
|
2601
3091
|
s5 = peg$FAILED;
|
|
2602
3092
|
if (peg$silentFails === 0) {
|
|
2603
|
-
peg$fail(peg$
|
|
3093
|
+
peg$fail(peg$e23);
|
|
2604
3094
|
}
|
|
2605
3095
|
}
|
|
2606
3096
|
if (s5 === peg$FAILED) {
|
|
2607
3097
|
s5 = input.charAt(peg$currPos);
|
|
2608
|
-
if (peg$
|
|
3098
|
+
if (peg$r14.test(s5)) {
|
|
2609
3099
|
peg$currPos++;
|
|
2610
3100
|
} else {
|
|
2611
3101
|
s5 = peg$FAILED;
|
|
2612
3102
|
if (peg$silentFails === 0) {
|
|
2613
|
-
peg$fail(peg$
|
|
3103
|
+
peg$fail(peg$e24);
|
|
2614
3104
|
}
|
|
2615
3105
|
}
|
|
2616
3106
|
}
|
|
@@ -2622,17 +3112,17 @@ function peg$parse(input, options) {
|
|
|
2622
3112
|
} else {
|
|
2623
3113
|
s5 = peg$FAILED;
|
|
2624
3114
|
if (peg$silentFails === 0) {
|
|
2625
|
-
peg$fail(peg$
|
|
3115
|
+
peg$fail(peg$e23);
|
|
2626
3116
|
}
|
|
2627
3117
|
}
|
|
2628
3118
|
if (s5 === peg$FAILED) {
|
|
2629
3119
|
s5 = input.charAt(peg$currPos);
|
|
2630
|
-
if (peg$
|
|
3120
|
+
if (peg$r14.test(s5)) {
|
|
2631
3121
|
peg$currPos++;
|
|
2632
3122
|
} else {
|
|
2633
3123
|
s5 = peg$FAILED;
|
|
2634
3124
|
if (peg$silentFails === 0) {
|
|
2635
|
-
peg$fail(peg$
|
|
3125
|
+
peg$fail(peg$e24);
|
|
2636
3126
|
}
|
|
2637
3127
|
}
|
|
2638
3128
|
}
|
|
@@ -2665,17 +3155,17 @@ function peg$parse(input, options) {
|
|
|
2665
3155
|
} else {
|
|
2666
3156
|
s4 = peg$FAILED;
|
|
2667
3157
|
if (peg$silentFails === 0) {
|
|
2668
|
-
peg$fail(peg$
|
|
3158
|
+
peg$fail(peg$e23);
|
|
2669
3159
|
}
|
|
2670
3160
|
}
|
|
2671
3161
|
if (s4 === peg$FAILED) {
|
|
2672
3162
|
s4 = input.charAt(peg$currPos);
|
|
2673
|
-
if (peg$
|
|
3163
|
+
if (peg$r14.test(s4)) {
|
|
2674
3164
|
peg$currPos++;
|
|
2675
3165
|
} else {
|
|
2676
3166
|
s4 = peg$FAILED;
|
|
2677
3167
|
if (peg$silentFails === 0) {
|
|
2678
|
-
peg$fail(peg$
|
|
3168
|
+
peg$fail(peg$e24);
|
|
2679
3169
|
}
|
|
2680
3170
|
}
|
|
2681
3171
|
}
|
|
@@ -2687,33 +3177,33 @@ function peg$parse(input, options) {
|
|
|
2687
3177
|
} else {
|
|
2688
3178
|
s4 = peg$FAILED;
|
|
2689
3179
|
if (peg$silentFails === 0) {
|
|
2690
|
-
peg$fail(peg$
|
|
3180
|
+
peg$fail(peg$e23);
|
|
2691
3181
|
}
|
|
2692
3182
|
}
|
|
2693
3183
|
if (s4 === peg$FAILED) {
|
|
2694
3184
|
s4 = input.charAt(peg$currPos);
|
|
2695
|
-
if (peg$
|
|
3185
|
+
if (peg$r14.test(s4)) {
|
|
2696
3186
|
peg$currPos++;
|
|
2697
3187
|
} else {
|
|
2698
3188
|
s4 = peg$FAILED;
|
|
2699
3189
|
if (peg$silentFails === 0) {
|
|
2700
|
-
peg$fail(peg$
|
|
3190
|
+
peg$fail(peg$e24);
|
|
2701
3191
|
}
|
|
2702
3192
|
}
|
|
2703
3193
|
}
|
|
2704
3194
|
}
|
|
2705
3195
|
s4 = input.charAt(peg$currPos);
|
|
2706
|
-
if (peg$
|
|
3196
|
+
if (peg$r13.test(s4)) {
|
|
2707
3197
|
peg$currPos++;
|
|
2708
3198
|
} else {
|
|
2709
3199
|
s4 = peg$FAILED;
|
|
2710
3200
|
if (peg$silentFails === 0) {
|
|
2711
|
-
peg$fail(peg$
|
|
3201
|
+
peg$fail(peg$e22);
|
|
2712
3202
|
}
|
|
2713
3203
|
}
|
|
2714
3204
|
if (s4 !== peg$FAILED) {
|
|
2715
3205
|
peg$savedPos = s0;
|
|
2716
|
-
s0 = peg$
|
|
3206
|
+
s0 = peg$f23(s1);
|
|
2717
3207
|
} else {
|
|
2718
3208
|
peg$currPos = s0;
|
|
2719
3209
|
s0 = peg$FAILED;
|
|
@@ -2728,7 +3218,7 @@ function peg$parse(input, options) {
|
|
|
2728
3218
|
}
|
|
2729
3219
|
return s0;
|
|
2730
3220
|
}
|
|
2731
|
-
|
|
3221
|
+
chunkJWF7I3Y2_js.__name(peg$parsesingleDQuotedMultiLineString, "peg$parsesingleDQuotedMultiLineString");
|
|
2732
3222
|
function peg$parsetripleDQuotedMultiLineString() {
|
|
2733
3223
|
let s0, s1, s2, s3, s4, s5, s6, s7;
|
|
2734
3224
|
s0 = peg$currPos;
|
|
@@ -2738,7 +3228,7 @@ function peg$parse(input, options) {
|
|
|
2738
3228
|
} else {
|
|
2739
3229
|
s1 = peg$FAILED;
|
|
2740
3230
|
if (peg$silentFails === 0) {
|
|
2741
|
-
peg$fail(peg$
|
|
3231
|
+
peg$fail(peg$e31);
|
|
2742
3232
|
}
|
|
2743
3233
|
}
|
|
2744
3234
|
if (s1 !== peg$FAILED) {
|
|
@@ -2751,7 +3241,7 @@ function peg$parse(input, options) {
|
|
|
2751
3241
|
} else {
|
|
2752
3242
|
s5 = peg$FAILED;
|
|
2753
3243
|
if (peg$silentFails === 0) {
|
|
2754
|
-
peg$fail(peg$
|
|
3244
|
+
peg$fail(peg$e32);
|
|
2755
3245
|
}
|
|
2756
3246
|
}
|
|
2757
3247
|
if (s5 === peg$FAILED) {
|
|
@@ -2764,7 +3254,7 @@ function peg$parse(input, options) {
|
|
|
2764
3254
|
} else {
|
|
2765
3255
|
s7 = peg$FAILED;
|
|
2766
3256
|
if (peg$silentFails === 0) {
|
|
2767
|
-
peg$fail(peg$
|
|
3257
|
+
peg$fail(peg$e31);
|
|
2768
3258
|
}
|
|
2769
3259
|
}
|
|
2770
3260
|
peg$silentFails--;
|
|
@@ -2804,7 +3294,7 @@ function peg$parse(input, options) {
|
|
|
2804
3294
|
} else {
|
|
2805
3295
|
s5 = peg$FAILED;
|
|
2806
3296
|
if (peg$silentFails === 0) {
|
|
2807
|
-
peg$fail(peg$
|
|
3297
|
+
peg$fail(peg$e32);
|
|
2808
3298
|
}
|
|
2809
3299
|
}
|
|
2810
3300
|
if (s5 === peg$FAILED) {
|
|
@@ -2817,7 +3307,7 @@ function peg$parse(input, options) {
|
|
|
2817
3307
|
} else {
|
|
2818
3308
|
s7 = peg$FAILED;
|
|
2819
3309
|
if (peg$silentFails === 0) {
|
|
2820
|
-
peg$fail(peg$
|
|
3310
|
+
peg$fail(peg$e31);
|
|
2821
3311
|
}
|
|
2822
3312
|
}
|
|
2823
3313
|
peg$silentFails--;
|
|
@@ -2877,7 +3367,7 @@ function peg$parse(input, options) {
|
|
|
2877
3367
|
} else {
|
|
2878
3368
|
s5 = peg$FAILED;
|
|
2879
3369
|
if (peg$silentFails === 0) {
|
|
2880
|
-
peg$fail(peg$
|
|
3370
|
+
peg$fail(peg$e32);
|
|
2881
3371
|
}
|
|
2882
3372
|
}
|
|
2883
3373
|
if (s5 === peg$FAILED) {
|
|
@@ -2890,7 +3380,7 @@ function peg$parse(input, options) {
|
|
|
2890
3380
|
} else {
|
|
2891
3381
|
s7 = peg$FAILED;
|
|
2892
3382
|
if (peg$silentFails === 0) {
|
|
2893
|
-
peg$fail(peg$
|
|
3383
|
+
peg$fail(peg$e31);
|
|
2894
3384
|
}
|
|
2895
3385
|
}
|
|
2896
3386
|
peg$silentFails--;
|
|
@@ -2930,7 +3420,7 @@ function peg$parse(input, options) {
|
|
|
2930
3420
|
} else {
|
|
2931
3421
|
s5 = peg$FAILED;
|
|
2932
3422
|
if (peg$silentFails === 0) {
|
|
2933
|
-
peg$fail(peg$
|
|
3423
|
+
peg$fail(peg$e32);
|
|
2934
3424
|
}
|
|
2935
3425
|
}
|
|
2936
3426
|
if (s5 === peg$FAILED) {
|
|
@@ -2943,7 +3433,7 @@ function peg$parse(input, options) {
|
|
|
2943
3433
|
} else {
|
|
2944
3434
|
s7 = peg$FAILED;
|
|
2945
3435
|
if (peg$silentFails === 0) {
|
|
2946
|
-
peg$fail(peg$
|
|
3436
|
+
peg$fail(peg$e31);
|
|
2947
3437
|
}
|
|
2948
3438
|
}
|
|
2949
3439
|
peg$silentFails--;
|
|
@@ -3004,7 +3494,7 @@ function peg$parse(input, options) {
|
|
|
3004
3494
|
} else {
|
|
3005
3495
|
s4 = peg$FAILED;
|
|
3006
3496
|
if (peg$silentFails === 0) {
|
|
3007
|
-
peg$fail(peg$
|
|
3497
|
+
peg$fail(peg$e32);
|
|
3008
3498
|
}
|
|
3009
3499
|
}
|
|
3010
3500
|
if (s4 === peg$FAILED) {
|
|
@@ -3017,7 +3507,7 @@ function peg$parse(input, options) {
|
|
|
3017
3507
|
} else {
|
|
3018
3508
|
s6 = peg$FAILED;
|
|
3019
3509
|
if (peg$silentFails === 0) {
|
|
3020
|
-
peg$fail(peg$
|
|
3510
|
+
peg$fail(peg$e31);
|
|
3021
3511
|
}
|
|
3022
3512
|
}
|
|
3023
3513
|
peg$silentFails--;
|
|
@@ -3057,7 +3547,7 @@ function peg$parse(input, options) {
|
|
|
3057
3547
|
} else {
|
|
3058
3548
|
s4 = peg$FAILED;
|
|
3059
3549
|
if (peg$silentFails === 0) {
|
|
3060
|
-
peg$fail(peg$
|
|
3550
|
+
peg$fail(peg$e32);
|
|
3061
3551
|
}
|
|
3062
3552
|
}
|
|
3063
3553
|
if (s4 === peg$FAILED) {
|
|
@@ -3070,7 +3560,7 @@ function peg$parse(input, options) {
|
|
|
3070
3560
|
} else {
|
|
3071
3561
|
s6 = peg$FAILED;
|
|
3072
3562
|
if (peg$silentFails === 0) {
|
|
3073
|
-
peg$fail(peg$
|
|
3563
|
+
peg$fail(peg$e31);
|
|
3074
3564
|
}
|
|
3075
3565
|
}
|
|
3076
3566
|
peg$silentFails--;
|
|
@@ -3109,12 +3599,12 @@ function peg$parse(input, options) {
|
|
|
3109
3599
|
} else {
|
|
3110
3600
|
s4 = peg$FAILED;
|
|
3111
3601
|
if (peg$silentFails === 0) {
|
|
3112
|
-
peg$fail(peg$
|
|
3602
|
+
peg$fail(peg$e31);
|
|
3113
3603
|
}
|
|
3114
3604
|
}
|
|
3115
3605
|
if (s4 !== peg$FAILED) {
|
|
3116
3606
|
peg$savedPos = s0;
|
|
3117
|
-
s0 = peg$
|
|
3607
|
+
s0 = peg$f24(s1);
|
|
3118
3608
|
} else {
|
|
3119
3609
|
peg$currPos = s0;
|
|
3120
3610
|
s0 = peg$FAILED;
|
|
@@ -3129,7 +3619,7 @@ function peg$parse(input, options) {
|
|
|
3129
3619
|
}
|
|
3130
3620
|
return s0;
|
|
3131
3621
|
}
|
|
3132
|
-
|
|
3622
|
+
chunkJWF7I3Y2_js.__name(peg$parsetripleDQuotedMultiLineString, "peg$parsetripleDQuotedMultiLineString");
|
|
3133
3623
|
function peg$parsetripleBQuotedMultiLineString() {
|
|
3134
3624
|
let s0, s1, s2, s3, s4, s5, s6, s7;
|
|
3135
3625
|
s0 = peg$currPos;
|
|
@@ -3139,7 +3629,7 @@ function peg$parse(input, options) {
|
|
|
3139
3629
|
} else {
|
|
3140
3630
|
s1 = peg$FAILED;
|
|
3141
3631
|
if (peg$silentFails === 0) {
|
|
3142
|
-
peg$fail(peg$
|
|
3632
|
+
peg$fail(peg$e33);
|
|
3143
3633
|
}
|
|
3144
3634
|
}
|
|
3145
3635
|
if (s1 !== peg$FAILED) {
|
|
@@ -3152,7 +3642,7 @@ function peg$parse(input, options) {
|
|
|
3152
3642
|
} else {
|
|
3153
3643
|
s5 = peg$FAILED;
|
|
3154
3644
|
if (peg$silentFails === 0) {
|
|
3155
|
-
peg$fail(peg$
|
|
3645
|
+
peg$fail(peg$e34);
|
|
3156
3646
|
}
|
|
3157
3647
|
}
|
|
3158
3648
|
if (s5 === peg$FAILED) {
|
|
@@ -3165,7 +3655,7 @@ function peg$parse(input, options) {
|
|
|
3165
3655
|
} else {
|
|
3166
3656
|
s7 = peg$FAILED;
|
|
3167
3657
|
if (peg$silentFails === 0) {
|
|
3168
|
-
peg$fail(peg$
|
|
3658
|
+
peg$fail(peg$e33);
|
|
3169
3659
|
}
|
|
3170
3660
|
}
|
|
3171
3661
|
peg$silentFails--;
|
|
@@ -3205,7 +3695,7 @@ function peg$parse(input, options) {
|
|
|
3205
3695
|
} else {
|
|
3206
3696
|
s5 = peg$FAILED;
|
|
3207
3697
|
if (peg$silentFails === 0) {
|
|
3208
|
-
peg$fail(peg$
|
|
3698
|
+
peg$fail(peg$e34);
|
|
3209
3699
|
}
|
|
3210
3700
|
}
|
|
3211
3701
|
if (s5 === peg$FAILED) {
|
|
@@ -3218,7 +3708,7 @@ function peg$parse(input, options) {
|
|
|
3218
3708
|
} else {
|
|
3219
3709
|
s7 = peg$FAILED;
|
|
3220
3710
|
if (peg$silentFails === 0) {
|
|
3221
|
-
peg$fail(peg$
|
|
3711
|
+
peg$fail(peg$e33);
|
|
3222
3712
|
}
|
|
3223
3713
|
}
|
|
3224
3714
|
peg$silentFails--;
|
|
@@ -3278,7 +3768,7 @@ function peg$parse(input, options) {
|
|
|
3278
3768
|
} else {
|
|
3279
3769
|
s5 = peg$FAILED;
|
|
3280
3770
|
if (peg$silentFails === 0) {
|
|
3281
|
-
peg$fail(peg$
|
|
3771
|
+
peg$fail(peg$e34);
|
|
3282
3772
|
}
|
|
3283
3773
|
}
|
|
3284
3774
|
if (s5 === peg$FAILED) {
|
|
@@ -3291,7 +3781,7 @@ function peg$parse(input, options) {
|
|
|
3291
3781
|
} else {
|
|
3292
3782
|
s7 = peg$FAILED;
|
|
3293
3783
|
if (peg$silentFails === 0) {
|
|
3294
|
-
peg$fail(peg$
|
|
3784
|
+
peg$fail(peg$e33);
|
|
3295
3785
|
}
|
|
3296
3786
|
}
|
|
3297
3787
|
peg$silentFails--;
|
|
@@ -3331,7 +3821,7 @@ function peg$parse(input, options) {
|
|
|
3331
3821
|
} else {
|
|
3332
3822
|
s5 = peg$FAILED;
|
|
3333
3823
|
if (peg$silentFails === 0) {
|
|
3334
|
-
peg$fail(peg$
|
|
3824
|
+
peg$fail(peg$e34);
|
|
3335
3825
|
}
|
|
3336
3826
|
}
|
|
3337
3827
|
if (s5 === peg$FAILED) {
|
|
@@ -3344,7 +3834,7 @@ function peg$parse(input, options) {
|
|
|
3344
3834
|
} else {
|
|
3345
3835
|
s7 = peg$FAILED;
|
|
3346
3836
|
if (peg$silentFails === 0) {
|
|
3347
|
-
peg$fail(peg$
|
|
3837
|
+
peg$fail(peg$e33);
|
|
3348
3838
|
}
|
|
3349
3839
|
}
|
|
3350
3840
|
peg$silentFails--;
|
|
@@ -3405,7 +3895,7 @@ function peg$parse(input, options) {
|
|
|
3405
3895
|
} else {
|
|
3406
3896
|
s4 = peg$FAILED;
|
|
3407
3897
|
if (peg$silentFails === 0) {
|
|
3408
|
-
peg$fail(peg$
|
|
3898
|
+
peg$fail(peg$e34);
|
|
3409
3899
|
}
|
|
3410
3900
|
}
|
|
3411
3901
|
if (s4 === peg$FAILED) {
|
|
@@ -3418,7 +3908,7 @@ function peg$parse(input, options) {
|
|
|
3418
3908
|
} else {
|
|
3419
3909
|
s6 = peg$FAILED;
|
|
3420
3910
|
if (peg$silentFails === 0) {
|
|
3421
|
-
peg$fail(peg$
|
|
3911
|
+
peg$fail(peg$e33);
|
|
3422
3912
|
}
|
|
3423
3913
|
}
|
|
3424
3914
|
peg$silentFails--;
|
|
@@ -3458,7 +3948,7 @@ function peg$parse(input, options) {
|
|
|
3458
3948
|
} else {
|
|
3459
3949
|
s4 = peg$FAILED;
|
|
3460
3950
|
if (peg$silentFails === 0) {
|
|
3461
|
-
peg$fail(peg$
|
|
3951
|
+
peg$fail(peg$e34);
|
|
3462
3952
|
}
|
|
3463
3953
|
}
|
|
3464
3954
|
if (s4 === peg$FAILED) {
|
|
@@ -3471,7 +3961,7 @@ function peg$parse(input, options) {
|
|
|
3471
3961
|
} else {
|
|
3472
3962
|
s6 = peg$FAILED;
|
|
3473
3963
|
if (peg$silentFails === 0) {
|
|
3474
|
-
peg$fail(peg$
|
|
3964
|
+
peg$fail(peg$e33);
|
|
3475
3965
|
}
|
|
3476
3966
|
}
|
|
3477
3967
|
peg$silentFails--;
|
|
@@ -3510,12 +4000,12 @@ function peg$parse(input, options) {
|
|
|
3510
4000
|
} else {
|
|
3511
4001
|
s4 = peg$FAILED;
|
|
3512
4002
|
if (peg$silentFails === 0) {
|
|
3513
|
-
peg$fail(peg$
|
|
4003
|
+
peg$fail(peg$e33);
|
|
3514
4004
|
}
|
|
3515
4005
|
}
|
|
3516
4006
|
if (s4 !== peg$FAILED) {
|
|
3517
4007
|
peg$savedPos = s0;
|
|
3518
|
-
s0 = peg$
|
|
4008
|
+
s0 = peg$f25(s1);
|
|
3519
4009
|
} else {
|
|
3520
4010
|
peg$currPos = s0;
|
|
3521
4011
|
s0 = peg$FAILED;
|
|
@@ -3530,7 +4020,7 @@ function peg$parse(input, options) {
|
|
|
3530
4020
|
}
|
|
3531
4021
|
return s0;
|
|
3532
4022
|
}
|
|
3533
|
-
|
|
4023
|
+
chunkJWF7I3Y2_js.__name(peg$parsetripleBQuotedMultiLineString, "peg$parsetripleBQuotedMultiLineString");
|
|
3534
4024
|
function peg$parse_n() {
|
|
3535
4025
|
let s0, s1;
|
|
3536
4026
|
if (input.charCodeAt(peg$currPos) === 10) {
|
|
@@ -3551,7 +4041,7 @@ function peg$parse(input, options) {
|
|
|
3551
4041
|
} else {
|
|
3552
4042
|
s1 = peg$FAILED;
|
|
3553
4043
|
if (peg$silentFails === 0) {
|
|
3554
|
-
peg$fail(peg$
|
|
4044
|
+
peg$fail(peg$e35);
|
|
3555
4045
|
}
|
|
3556
4046
|
}
|
|
3557
4047
|
peg$silentFails--;
|
|
@@ -3564,56 +4054,56 @@ function peg$parse(input, options) {
|
|
|
3564
4054
|
}
|
|
3565
4055
|
return s0;
|
|
3566
4056
|
}
|
|
3567
|
-
|
|
4057
|
+
chunkJWF7I3Y2_js.__name(peg$parse_n, "peg$parse_n");
|
|
3568
4058
|
function peg$parse_() {
|
|
3569
4059
|
let s0, s1;
|
|
3570
4060
|
s0 = [];
|
|
3571
4061
|
s1 = input.charAt(peg$currPos);
|
|
3572
|
-
if (peg$
|
|
4062
|
+
if (peg$r7.test(s1)) {
|
|
3573
4063
|
peg$currPos++;
|
|
3574
4064
|
} else {
|
|
3575
4065
|
s1 = peg$FAILED;
|
|
3576
4066
|
if (peg$silentFails === 0) {
|
|
3577
|
-
peg$fail(peg$
|
|
4067
|
+
peg$fail(peg$e16);
|
|
3578
4068
|
}
|
|
3579
4069
|
}
|
|
3580
4070
|
while (s1 !== peg$FAILED) {
|
|
3581
4071
|
s0.push(s1);
|
|
3582
4072
|
s1 = input.charAt(peg$currPos);
|
|
3583
|
-
if (peg$
|
|
4073
|
+
if (peg$r7.test(s1)) {
|
|
3584
4074
|
peg$currPos++;
|
|
3585
4075
|
} else {
|
|
3586
4076
|
s1 = peg$FAILED;
|
|
3587
4077
|
if (peg$silentFails === 0) {
|
|
3588
|
-
peg$fail(peg$
|
|
4078
|
+
peg$fail(peg$e16);
|
|
3589
4079
|
}
|
|
3590
4080
|
}
|
|
3591
4081
|
}
|
|
3592
4082
|
return s0;
|
|
3593
4083
|
}
|
|
3594
|
-
|
|
4084
|
+
chunkJWF7I3Y2_js.__name(peg$parse_, "peg$parse_");
|
|
3595
4085
|
function peg$parse__() {
|
|
3596
4086
|
let s0, s1;
|
|
3597
4087
|
s0 = [];
|
|
3598
4088
|
s1 = input.charAt(peg$currPos);
|
|
3599
|
-
if (peg$
|
|
4089
|
+
if (peg$r7.test(s1)) {
|
|
3600
4090
|
peg$currPos++;
|
|
3601
4091
|
} else {
|
|
3602
4092
|
s1 = peg$FAILED;
|
|
3603
4093
|
if (peg$silentFails === 0) {
|
|
3604
|
-
peg$fail(peg$
|
|
4094
|
+
peg$fail(peg$e16);
|
|
3605
4095
|
}
|
|
3606
4096
|
}
|
|
3607
4097
|
if (s1 !== peg$FAILED) {
|
|
3608
4098
|
while (s1 !== peg$FAILED) {
|
|
3609
4099
|
s0.push(s1);
|
|
3610
4100
|
s1 = input.charAt(peg$currPos);
|
|
3611
|
-
if (peg$
|
|
4101
|
+
if (peg$r7.test(s1)) {
|
|
3612
4102
|
peg$currPos++;
|
|
3613
4103
|
} else {
|
|
3614
4104
|
s1 = peg$FAILED;
|
|
3615
4105
|
if (peg$silentFails === 0) {
|
|
3616
|
-
peg$fail(peg$
|
|
4106
|
+
peg$fail(peg$e16);
|
|
3617
4107
|
}
|
|
3618
4108
|
}
|
|
3619
4109
|
}
|
|
@@ -3622,7 +4112,7 @@ function peg$parse(input, options) {
|
|
|
3622
4112
|
}
|
|
3623
4113
|
return s0;
|
|
3624
4114
|
}
|
|
3625
|
-
|
|
4115
|
+
chunkJWF7I3Y2_js.__name(peg$parse__, "peg$parse__");
|
|
3626
4116
|
peg$result = peg$startRuleFunction();
|
|
3627
4117
|
const peg$success = peg$result !== peg$FAILED && peg$currPos === input.length;
|
|
3628
4118
|
function peg$throw() {
|
|
@@ -3635,7 +4125,7 @@ function peg$parse(input, options) {
|
|
|
3635
4125
|
peg$maxFailPos < input.length ? peg$computeLocation(peg$maxFailPos, peg$maxFailPos + 1) : peg$computeLocation(peg$maxFailPos, peg$maxFailPos)
|
|
3636
4126
|
);
|
|
3637
4127
|
}
|
|
3638
|
-
|
|
4128
|
+
chunkJWF7I3Y2_js.__name(peg$throw, "peg$throw");
|
|
3639
4129
|
if (options.peg$library) {
|
|
3640
4130
|
return (
|
|
3641
4131
|
/** @type {any} */
|
|
@@ -3656,65 +4146,65 @@ function peg$parse(input, options) {
|
|
|
3656
4146
|
peg$throw();
|
|
3657
4147
|
}
|
|
3658
4148
|
}
|
|
3659
|
-
|
|
4149
|
+
chunkJWF7I3Y2_js.__name(peg$parse, "peg$parse");
|
|
3660
4150
|
|
|
3661
4151
|
// src/index.ts
|
|
3662
4152
|
function parseEnvSpecDotEnvFile(source) {
|
|
3663
4153
|
return peg$parse(source.replaceAll("\r\n", "\n"));
|
|
3664
4154
|
}
|
|
3665
|
-
|
|
4155
|
+
chunkJWF7I3Y2_js.__name(parseEnvSpecDotEnvFile, "parseEnvSpecDotEnvFile");
|
|
3666
4156
|
|
|
3667
4157
|
Object.defineProperty(exports, "ParsedEnvSpecBlankLine", {
|
|
3668
4158
|
enumerable: true,
|
|
3669
|
-
get: function () { return
|
|
4159
|
+
get: function () { return chunkJWF7I3Y2_js.ParsedEnvSpecBlankLine; }
|
|
3670
4160
|
});
|
|
3671
4161
|
Object.defineProperty(exports, "ParsedEnvSpecComment", {
|
|
3672
4162
|
enumerable: true,
|
|
3673
|
-
get: function () { return
|
|
4163
|
+
get: function () { return chunkJWF7I3Y2_js.ParsedEnvSpecComment; }
|
|
3674
4164
|
});
|
|
3675
4165
|
Object.defineProperty(exports, "ParsedEnvSpecCommentBlock", {
|
|
3676
4166
|
enumerable: true,
|
|
3677
|
-
get: function () { return
|
|
4167
|
+
get: function () { return chunkJWF7I3Y2_js.ParsedEnvSpecCommentBlock; }
|
|
3678
4168
|
});
|
|
3679
4169
|
Object.defineProperty(exports, "ParsedEnvSpecConfigItem", {
|
|
3680
4170
|
enumerable: true,
|
|
3681
|
-
get: function () { return
|
|
4171
|
+
get: function () { return chunkJWF7I3Y2_js.ParsedEnvSpecConfigItem; }
|
|
3682
4172
|
});
|
|
3683
4173
|
Object.defineProperty(exports, "ParsedEnvSpecDecorator", {
|
|
3684
4174
|
enumerable: true,
|
|
3685
|
-
get: function () { return
|
|
4175
|
+
get: function () { return chunkJWF7I3Y2_js.ParsedEnvSpecDecorator; }
|
|
3686
4176
|
});
|
|
3687
4177
|
Object.defineProperty(exports, "ParsedEnvSpecDecoratorComment", {
|
|
3688
4178
|
enumerable: true,
|
|
3689
|
-
get: function () { return
|
|
4179
|
+
get: function () { return chunkJWF7I3Y2_js.ParsedEnvSpecDecoratorComment; }
|
|
3690
4180
|
});
|
|
3691
4181
|
Object.defineProperty(exports, "ParsedEnvSpecDivider", {
|
|
3692
4182
|
enumerable: true,
|
|
3693
|
-
get: function () { return
|
|
4183
|
+
get: function () { return chunkJWF7I3Y2_js.ParsedEnvSpecDivider; }
|
|
3694
4184
|
});
|
|
3695
4185
|
Object.defineProperty(exports, "ParsedEnvSpecFile", {
|
|
3696
4186
|
enumerable: true,
|
|
3697
|
-
get: function () { return
|
|
4187
|
+
get: function () { return chunkJWF7I3Y2_js.ParsedEnvSpecFile; }
|
|
3698
4188
|
});
|
|
3699
4189
|
Object.defineProperty(exports, "ParsedEnvSpecFunctionArgs", {
|
|
3700
4190
|
enumerable: true,
|
|
3701
|
-
get: function () { return
|
|
4191
|
+
get: function () { return chunkJWF7I3Y2_js.ParsedEnvSpecFunctionArgs; }
|
|
3702
4192
|
});
|
|
3703
4193
|
Object.defineProperty(exports, "ParsedEnvSpecFunctionCall", {
|
|
3704
4194
|
enumerable: true,
|
|
3705
|
-
get: function () { return
|
|
4195
|
+
get: function () { return chunkJWF7I3Y2_js.ParsedEnvSpecFunctionCall; }
|
|
3706
4196
|
});
|
|
3707
4197
|
Object.defineProperty(exports, "ParsedEnvSpecKeyValuePair", {
|
|
3708
4198
|
enumerable: true,
|
|
3709
|
-
get: function () { return
|
|
4199
|
+
get: function () { return chunkJWF7I3Y2_js.ParsedEnvSpecKeyValuePair; }
|
|
3710
4200
|
});
|
|
3711
4201
|
Object.defineProperty(exports, "ParsedEnvSpecStaticValue", {
|
|
3712
4202
|
enumerable: true,
|
|
3713
|
-
get: function () { return
|
|
4203
|
+
get: function () { return chunkJWF7I3Y2_js.ParsedEnvSpecStaticValue; }
|
|
3714
4204
|
});
|
|
3715
4205
|
Object.defineProperty(exports, "expand", {
|
|
3716
4206
|
enumerable: true,
|
|
3717
|
-
get: function () { return
|
|
4207
|
+
get: function () { return chunkJWF7I3Y2_js.expand; }
|
|
3718
4208
|
});
|
|
3719
4209
|
exports.envSpecUpdater = envSpecUpdater;
|
|
3720
4210
|
exports.parseEnvSpecDotEnvFile = parseEnvSpecDotEnvFile;
|