@env-spec/parser 0.0.6 → 0.0.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{chunk-TP5IOHGP.mjs → chunk-FDDTJES3.mjs} +46 -52
- package/dist/chunk-FDDTJES3.mjs.map +1 -0
- package/dist/{chunk-QIAK725N.js → chunk-JWF7I3Y2.js} +46 -52
- package/dist/chunk-JWF7I3Y2.js.map +1 -0
- package/dist/{classes-0XkzWf10.d.mts → classes-Gq5ZJ7ej.d.mts} +9 -9
- package/dist/{classes-0XkzWf10.d.ts → classes-Gq5ZJ7ej.d.ts} +9 -9
- package/dist/index.d.mts +4 -4
- package/dist/index.d.ts +4 -4
- package/dist/index.js +514 -566
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +392 -444
- package/dist/index.mjs.map +1 -1
- package/dist/simple-resolver.d.mts +1 -1
- package/dist/simple-resolver.d.ts +1 -1
- package/dist/simple-resolver.js +11 -12
- package/dist/simple-resolver.js.map +1 -1
- package/dist/simple-resolver.mjs +2 -3
- package/dist/simple-resolver.mjs.map +1 -1
- package/package.json +4 -4
- package/dist/chunk-QIAK725N.js.map +0 -1
- package/dist/chunk-TP5IOHGP.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,21 +31,21 @@ 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);
|
|
38
38
|
const existingDecorator = file.decoratorsObject[decoratorName];
|
|
39
39
|
if (existingDecorator) {
|
|
40
|
-
existingDecorator.data.
|
|
40
|
+
existingDecorator.data.value = newDecNode.data.value;
|
|
41
41
|
} else {
|
|
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: [],
|
|
@@ -70,14 +70,14 @@ function setItemDecorator(file, key, decoratorName, valueStr, opts) {
|
|
|
70
70
|
const newDecNode = createDummyDecoratorNode(decoratorName, valueStr, opts);
|
|
71
71
|
const existingDecorator = item.decoratorsObject[decoratorName];
|
|
72
72
|
if (existingDecorator) {
|
|
73
|
-
existingDecorator.data.
|
|
73
|
+
existingDecorator.data.value = newDecNode.data.value;
|
|
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
|
};
|
|
@@ -248,17 +248,16 @@ function peg$parse(input, options) {
|
|
|
248
248
|
const peg$c3 = "#";
|
|
249
249
|
const peg$c4 = "@";
|
|
250
250
|
const peg$c5 = ":";
|
|
251
|
-
const peg$c6 = "(
|
|
252
|
-
const peg$c7 = "
|
|
251
|
+
const peg$c6 = "(";
|
|
252
|
+
const peg$c7 = ",";
|
|
253
253
|
const peg$c8 = ")";
|
|
254
|
-
const peg$c9 = "
|
|
255
|
-
const peg$c10 = '
|
|
256
|
-
const peg$c11 = "
|
|
257
|
-
const peg$c12 = "
|
|
258
|
-
const peg$c13 = '"""';
|
|
259
|
-
const peg$c14 =
|
|
260
|
-
const peg$c15 = "
|
|
261
|
-
const peg$c16 = "\\```";
|
|
254
|
+
const peg$c9 = '\\"';
|
|
255
|
+
const peg$c10 = "\\'";
|
|
256
|
+
const peg$c11 = "\\`";
|
|
257
|
+
const peg$c12 = '"""';
|
|
258
|
+
const peg$c13 = '\\"""';
|
|
259
|
+
const peg$c14 = "```";
|
|
260
|
+
const peg$c15 = "\\```";
|
|
262
261
|
const peg$r0 = /^[a-zA-Z_]/;
|
|
263
262
|
const peg$r1 = /^[a-zA-Z0-9_.\-]/;
|
|
264
263
|
const peg$r2 = /^[^\n]/;
|
|
@@ -288,41 +287,40 @@ function peg$parse(input, options) {
|
|
|
288
287
|
const peg$e8 = peg$classExpectation([["a", "z"], ["A", "Z"]], false, false, false);
|
|
289
288
|
const peg$e9 = peg$literalExpectation(":", false);
|
|
290
289
|
const peg$e10 = peg$classExpectation(["@", "#"], false, false, false);
|
|
291
|
-
const peg$e11 = peg$
|
|
290
|
+
const peg$e11 = peg$classExpectation([["a", "z"], ["A", "Z"], ["0", "9"], "_"], false, false, false);
|
|
292
291
|
const peg$e12 = peg$literalExpectation("(", false);
|
|
293
|
-
const peg$e13 = peg$literalExpectation("
|
|
294
|
-
const peg$e14 = peg$
|
|
295
|
-
const peg$e15 = peg$
|
|
296
|
-
const peg$e16 = peg$classExpectation(["
|
|
297
|
-
const peg$e17 = peg$classExpectation(["
|
|
298
|
-
const peg$e18 = peg$classExpectation(["
|
|
299
|
-
const peg$e19 = peg$classExpectation(["#", "\n"], true, false, false);
|
|
300
|
-
const peg$e20 = peg$classExpectation(["
|
|
301
|
-
const peg$e21 = peg$
|
|
302
|
-
const peg$e22 = peg$
|
|
303
|
-
const peg$e23 = peg$classExpectation([
|
|
304
|
-
const peg$e24 = peg$
|
|
305
|
-
const peg$e25 = peg$
|
|
306
|
-
const peg$e26 = peg$classExpectation(["
|
|
307
|
-
const peg$e27 = peg$
|
|
308
|
-
const peg$e28 = peg$
|
|
309
|
-
const peg$e29 = peg$
|
|
310
|
-
const peg$e30 = peg$literalExpectation('"""', false);
|
|
311
|
-
const peg$e31 = peg$literalExpectation(
|
|
312
|
-
const peg$e32 = peg$literalExpectation("
|
|
313
|
-
const peg$e33 = peg$
|
|
314
|
-
const peg$e34 = peg$
|
|
315
|
-
const peg$e35 = peg$classExpectation([" ", " "], false, false, false);
|
|
292
|
+
const peg$e13 = peg$literalExpectation(",", false);
|
|
293
|
+
const peg$e14 = peg$literalExpectation(")", false);
|
|
294
|
+
const peg$e15 = peg$classExpectation([" ", "\n", ",", ")"], true, false, false);
|
|
295
|
+
const peg$e16 = peg$classExpectation(["-", "=", "*", "#"], false, false, false);
|
|
296
|
+
const peg$e17 = peg$classExpectation(["'", '"', "`"], false, false, false);
|
|
297
|
+
const peg$e18 = peg$classExpectation(["#", "\n"], true, false, false);
|
|
298
|
+
const peg$e19 = peg$classExpectation(["#", " ", "\n"], true, false, false);
|
|
299
|
+
const peg$e20 = peg$classExpectation(['"'], false, false, false);
|
|
300
|
+
const peg$e21 = peg$literalExpectation('\\"', false);
|
|
301
|
+
const peg$e22 = peg$classExpectation(['"', "\n"], true, false, false);
|
|
302
|
+
const peg$e23 = peg$classExpectation(["'"], false, false, false);
|
|
303
|
+
const peg$e24 = peg$literalExpectation("\\'", false);
|
|
304
|
+
const peg$e25 = peg$classExpectation(["'", "\n"], true, false, false);
|
|
305
|
+
const peg$e26 = peg$classExpectation(["`"], false, false, false);
|
|
306
|
+
const peg$e27 = peg$literalExpectation("\\`", false);
|
|
307
|
+
const peg$e28 = peg$classExpectation(["`", "\n"], true, false, false);
|
|
308
|
+
const peg$e29 = peg$literalExpectation('"""', false);
|
|
309
|
+
const peg$e30 = peg$literalExpectation('\\"""', false);
|
|
310
|
+
const peg$e31 = peg$literalExpectation("```", false);
|
|
311
|
+
const peg$e32 = peg$literalExpectation("\\```", false);
|
|
312
|
+
const peg$e33 = peg$anyExpectation();
|
|
313
|
+
const peg$e34 = peg$classExpectation([" ", " "], false, false, false);
|
|
316
314
|
function peg$f0() {
|
|
317
|
-
return new
|
|
315
|
+
return new chunkJWF7I3Y2_js.ParsedEnvSpecBlankLine({ _location: location() });
|
|
318
316
|
}
|
|
319
|
-
|
|
317
|
+
chunkJWF7I3Y2_js.__name(peg$f0, "peg$f0");
|
|
320
318
|
function peg$f1(contents) {
|
|
321
|
-
return new
|
|
319
|
+
return new chunkJWF7I3Y2_js.ParsedEnvSpecFile(contents);
|
|
322
320
|
}
|
|
323
|
-
|
|
321
|
+
chunkJWF7I3Y2_js.__name(peg$f1, "peg$f1");
|
|
324
322
|
function peg$f2(preComments, key, value, postComment) {
|
|
325
|
-
return new
|
|
323
|
+
return new chunkJWF7I3Y2_js.ParsedEnvSpecConfigItem({
|
|
326
324
|
key,
|
|
327
325
|
preComments,
|
|
328
326
|
postComment,
|
|
@@ -330,115 +328,112 @@ function peg$parse(input, options) {
|
|
|
330
328
|
_location: location()
|
|
331
329
|
});
|
|
332
330
|
}
|
|
333
|
-
|
|
331
|
+
chunkJWF7I3Y2_js.__name(peg$f2, "peg$f2");
|
|
334
332
|
function peg$f3(comments, end) {
|
|
335
|
-
return new
|
|
333
|
+
return new chunkJWF7I3Y2_js.ParsedEnvSpecCommentBlock({
|
|
336
334
|
comments,
|
|
337
|
-
divider: end instanceof
|
|
335
|
+
divider: end instanceof chunkJWF7I3Y2_js.ParsedEnvSpecDivider ? end : void 0,
|
|
338
336
|
_location: location()
|
|
339
337
|
});
|
|
340
338
|
}
|
|
341
|
-
|
|
339
|
+
chunkJWF7I3Y2_js.__name(peg$f3, "peg$f3");
|
|
342
340
|
function peg$f4(leadingSpace, contents) {
|
|
343
|
-
return new
|
|
341
|
+
return new chunkJWF7I3Y2_js.ParsedEnvSpecComment({
|
|
344
342
|
contents,
|
|
345
343
|
leadingSpace,
|
|
346
344
|
_location: location()
|
|
347
345
|
});
|
|
348
346
|
}
|
|
349
|
-
|
|
347
|
+
chunkJWF7I3Y2_js.__name(peg$f4, "peg$f4");
|
|
350
348
|
function peg$f5(leadingSpace, contents) {
|
|
351
|
-
return new
|
|
349
|
+
return new chunkJWF7I3Y2_js.ParsedEnvSpecComment({ contents, leadingSpace, _location: location() });
|
|
352
350
|
}
|
|
353
|
-
|
|
351
|
+
chunkJWF7I3Y2_js.__name(peg$f5, "peg$f5");
|
|
354
352
|
function peg$f6(leadingSpace, first, rest, postComment) {
|
|
355
|
-
return new
|
|
353
|
+
return new chunkJWF7I3Y2_js.ParsedEnvSpecDecoratorComment({
|
|
356
354
|
decorators: [first, ...rest],
|
|
357
355
|
leadingSpace,
|
|
358
356
|
postComment,
|
|
359
357
|
_location: location()
|
|
360
358
|
});
|
|
361
359
|
}
|
|
362
|
-
|
|
363
|
-
function peg$f7(name) {
|
|
364
|
-
return new
|
|
365
|
-
}
|
|
366
|
-
chunkQIAK725N_js.__name(peg$f7, "peg$f7");
|
|
367
|
-
function peg$f8(name, valueOrFnArgs) {
|
|
368
|
-
return new chunkQIAK725N_js.ParsedEnvSpecDecorator({
|
|
360
|
+
chunkJWF7I3Y2_js.__name(peg$f6, "peg$f6");
|
|
361
|
+
function peg$f7(name, val) {
|
|
362
|
+
return new chunkJWF7I3Y2_js.ParsedEnvSpecDecorator({
|
|
369
363
|
name,
|
|
370
|
-
|
|
364
|
+
value: Array.isArray(val) ? val[1] : val,
|
|
365
|
+
isBareFnCall: val && !Array.isArray(val),
|
|
371
366
|
_location: location()
|
|
372
367
|
});
|
|
373
368
|
}
|
|
374
|
-
|
|
375
|
-
function peg$
|
|
376
|
-
return new
|
|
369
|
+
chunkJWF7I3Y2_js.__name(peg$f7, "peg$f7");
|
|
370
|
+
function peg$f8(name, args) {
|
|
371
|
+
return new chunkJWF7I3Y2_js.ParsedEnvSpecFunctionCall({
|
|
377
372
|
name,
|
|
378
|
-
args
|
|
373
|
+
args,
|
|
379
374
|
_location: location()
|
|
380
375
|
});
|
|
381
376
|
}
|
|
382
|
-
|
|
383
|
-
function peg$
|
|
384
|
-
return new
|
|
377
|
+
chunkJWF7I3Y2_js.__name(peg$f8, "peg$f8");
|
|
378
|
+
function peg$f9(key, val) {
|
|
379
|
+
return new chunkJWF7I3Y2_js.ParsedEnvSpecKeyValuePair({ key, val });
|
|
385
380
|
}
|
|
386
|
-
|
|
387
|
-
function peg$
|
|
388
|
-
return new
|
|
389
|
-
values,
|
|
381
|
+
chunkJWF7I3Y2_js.__name(peg$f9, "peg$f9");
|
|
382
|
+
function peg$f10(values) {
|
|
383
|
+
return new chunkJWF7I3Y2_js.ParsedEnvSpecFunctionArgs({
|
|
384
|
+
values: values || [],
|
|
390
385
|
_location: location()
|
|
391
386
|
});
|
|
392
387
|
}
|
|
393
|
-
|
|
394
|
-
function peg$
|
|
395
|
-
return new
|
|
388
|
+
chunkJWF7I3Y2_js.__name(peg$f10, "peg$f10");
|
|
389
|
+
function peg$f11() {
|
|
390
|
+
return new chunkJWF7I3Y2_js.ParsedEnvSpecStaticValue({ rawValue: text(), _location: location() });
|
|
396
391
|
}
|
|
397
|
-
|
|
398
|
-
function peg$
|
|
399
|
-
return new
|
|
392
|
+
chunkJWF7I3Y2_js.__name(peg$f11, "peg$f11");
|
|
393
|
+
function peg$f12(leadingSpace, contents) {
|
|
394
|
+
return new chunkJWF7I3Y2_js.ParsedEnvSpecDivider({
|
|
400
395
|
contents,
|
|
401
396
|
leadingSpace,
|
|
402
397
|
_location: location()
|
|
403
398
|
});
|
|
404
399
|
}
|
|
405
|
-
|
|
400
|
+
chunkJWF7I3Y2_js.__name(peg$f12, "peg$f12");
|
|
401
|
+
function peg$f13() {
|
|
402
|
+
return new chunkJWF7I3Y2_js.ParsedEnvSpecStaticValue({ rawValue: text(), _location: location() });
|
|
403
|
+
}
|
|
404
|
+
chunkJWF7I3Y2_js.__name(peg$f13, "peg$f13");
|
|
406
405
|
function peg$f14() {
|
|
407
|
-
return new
|
|
406
|
+
return new chunkJWF7I3Y2_js.ParsedEnvSpecStaticValue({ rawValue: text(), _location: location() });
|
|
408
407
|
}
|
|
409
|
-
|
|
410
|
-
function peg$f15() {
|
|
411
|
-
return new
|
|
408
|
+
chunkJWF7I3Y2_js.__name(peg$f14, "peg$f14");
|
|
409
|
+
function peg$f15(quote) {
|
|
410
|
+
return new chunkJWF7I3Y2_js.ParsedEnvSpecStaticValue({ quote, rawValue: text(), _location: location() });
|
|
412
411
|
}
|
|
413
|
-
|
|
412
|
+
chunkJWF7I3Y2_js.__name(peg$f15, "peg$f15");
|
|
414
413
|
function peg$f16(quote) {
|
|
415
|
-
return new
|
|
414
|
+
return new chunkJWF7I3Y2_js.ParsedEnvSpecStaticValue({ quote, rawValue: text(), _location: location() });
|
|
416
415
|
}
|
|
417
|
-
|
|
416
|
+
chunkJWF7I3Y2_js.__name(peg$f16, "peg$f16");
|
|
418
417
|
function peg$f17(quote) {
|
|
419
|
-
return new
|
|
418
|
+
return new chunkJWF7I3Y2_js.ParsedEnvSpecStaticValue({ quote, rawValue: text(), _location: location() });
|
|
420
419
|
}
|
|
421
|
-
|
|
420
|
+
chunkJWF7I3Y2_js.__name(peg$f17, "peg$f17");
|
|
422
421
|
function peg$f18(quote) {
|
|
423
|
-
return new
|
|
422
|
+
return new chunkJWF7I3Y2_js.ParsedEnvSpecStaticValue({ quote, isMultiLine: true, rawValue: text(), _location: location() });
|
|
424
423
|
}
|
|
425
|
-
|
|
424
|
+
chunkJWF7I3Y2_js.__name(peg$f18, "peg$f18");
|
|
426
425
|
function peg$f19(quote) {
|
|
427
|
-
return new
|
|
426
|
+
return new chunkJWF7I3Y2_js.ParsedEnvSpecStaticValue({ quote, isMultiLine: true, rawValue: text(), _location: location() });
|
|
428
427
|
}
|
|
429
|
-
|
|
428
|
+
chunkJWF7I3Y2_js.__name(peg$f19, "peg$f19");
|
|
430
429
|
function peg$f20(quote) {
|
|
431
|
-
return new
|
|
430
|
+
return new chunkJWF7I3Y2_js.ParsedEnvSpecStaticValue({ quote, isMultiLine: true, rawValue: text(), _location: location() });
|
|
432
431
|
}
|
|
433
|
-
|
|
432
|
+
chunkJWF7I3Y2_js.__name(peg$f20, "peg$f20");
|
|
434
433
|
function peg$f21(quote) {
|
|
435
|
-
return new
|
|
434
|
+
return new chunkJWF7I3Y2_js.ParsedEnvSpecStaticValue({ quote, isMultiLine: true, rawValue: text(), _location: location() });
|
|
436
435
|
}
|
|
437
|
-
|
|
438
|
-
function peg$f22(quote) {
|
|
439
|
-
return new chunkQIAK725N_js.ParsedEnvSpecStaticValue({ quote, isMultiLine: true, rawValue: text(), _location: location() });
|
|
440
|
-
}
|
|
441
|
-
chunkQIAK725N_js.__name(peg$f22, "peg$f22");
|
|
436
|
+
chunkJWF7I3Y2_js.__name(peg$f21, "peg$f21");
|
|
442
437
|
let peg$currPos = options.peg$currPos | 0;
|
|
443
438
|
let peg$savedPos = peg$currPos;
|
|
444
439
|
const peg$posDetailsCache = [{ line: 1, column: 1 }];
|
|
@@ -455,11 +450,11 @@ function peg$parse(input, options) {
|
|
|
455
450
|
function text() {
|
|
456
451
|
return input.substring(peg$savedPos, peg$currPos);
|
|
457
452
|
}
|
|
458
|
-
|
|
453
|
+
chunkJWF7I3Y2_js.__name(text, "text");
|
|
459
454
|
function offset() {
|
|
460
455
|
return peg$savedPos;
|
|
461
456
|
}
|
|
462
|
-
|
|
457
|
+
chunkJWF7I3Y2_js.__name(offset, "offset");
|
|
463
458
|
function range() {
|
|
464
459
|
return {
|
|
465
460
|
source: peg$source,
|
|
@@ -467,11 +462,11 @@ function peg$parse(input, options) {
|
|
|
467
462
|
end: peg$currPos
|
|
468
463
|
};
|
|
469
464
|
}
|
|
470
|
-
|
|
465
|
+
chunkJWF7I3Y2_js.__name(range, "range");
|
|
471
466
|
function location() {
|
|
472
467
|
return peg$computeLocation(peg$savedPos, peg$currPos);
|
|
473
468
|
}
|
|
474
|
-
|
|
469
|
+
chunkJWF7I3Y2_js.__name(location, "location");
|
|
475
470
|
function expected(description, location2) {
|
|
476
471
|
location2 = location2 !== void 0 ? location2 : peg$computeLocation(peg$savedPos, peg$currPos);
|
|
477
472
|
throw peg$buildStructuredError(
|
|
@@ -480,12 +475,12 @@ function peg$parse(input, options) {
|
|
|
480
475
|
location2
|
|
481
476
|
);
|
|
482
477
|
}
|
|
483
|
-
|
|
478
|
+
chunkJWF7I3Y2_js.__name(expected, "expected");
|
|
484
479
|
function error(message, location2) {
|
|
485
480
|
location2 = location2 !== void 0 ? location2 : peg$computeLocation(peg$savedPos, peg$currPos);
|
|
486
481
|
throw peg$buildSimpleError(message, location2);
|
|
487
482
|
}
|
|
488
|
-
|
|
483
|
+
chunkJWF7I3Y2_js.__name(error, "error");
|
|
489
484
|
function peg$getUnicode(pos = peg$currPos) {
|
|
490
485
|
const cp = input.codePointAt(pos);
|
|
491
486
|
if (cp === void 0) {
|
|
@@ -493,27 +488,27 @@ function peg$parse(input, options) {
|
|
|
493
488
|
}
|
|
494
489
|
return String.fromCodePoint(cp);
|
|
495
490
|
}
|
|
496
|
-
|
|
491
|
+
chunkJWF7I3Y2_js.__name(peg$getUnicode, "peg$getUnicode");
|
|
497
492
|
function peg$literalExpectation(text2, ignoreCase) {
|
|
498
493
|
return { type: "literal", text: text2, ignoreCase };
|
|
499
494
|
}
|
|
500
|
-
|
|
495
|
+
chunkJWF7I3Y2_js.__name(peg$literalExpectation, "peg$literalExpectation");
|
|
501
496
|
function peg$classExpectation(parts, inverted, ignoreCase, unicode) {
|
|
502
497
|
return { type: "class", parts, inverted, ignoreCase, unicode };
|
|
503
498
|
}
|
|
504
|
-
|
|
499
|
+
chunkJWF7I3Y2_js.__name(peg$classExpectation, "peg$classExpectation");
|
|
505
500
|
function peg$anyExpectation() {
|
|
506
501
|
return { type: "any" };
|
|
507
502
|
}
|
|
508
|
-
|
|
503
|
+
chunkJWF7I3Y2_js.__name(peg$anyExpectation, "peg$anyExpectation");
|
|
509
504
|
function peg$endExpectation() {
|
|
510
505
|
return { type: "end" };
|
|
511
506
|
}
|
|
512
|
-
|
|
507
|
+
chunkJWF7I3Y2_js.__name(peg$endExpectation, "peg$endExpectation");
|
|
513
508
|
function peg$otherExpectation(description) {
|
|
514
509
|
return { type: "other", description };
|
|
515
510
|
}
|
|
516
|
-
|
|
511
|
+
chunkJWF7I3Y2_js.__name(peg$otherExpectation, "peg$otherExpectation");
|
|
517
512
|
function peg$computePosDetails(pos) {
|
|
518
513
|
let details = peg$posDetailsCache[pos];
|
|
519
514
|
let p;
|
|
@@ -545,7 +540,7 @@ function peg$parse(input, options) {
|
|
|
545
540
|
return details;
|
|
546
541
|
}
|
|
547
542
|
}
|
|
548
|
-
|
|
543
|
+
chunkJWF7I3Y2_js.__name(peg$computePosDetails, "peg$computePosDetails");
|
|
549
544
|
function peg$computeLocation(startPos, endPos, offset2) {
|
|
550
545
|
const startPosDetails = peg$computePosDetails(startPos);
|
|
551
546
|
const endPosDetails = peg$computePosDetails(endPos);
|
|
@@ -568,7 +563,7 @@ function peg$parse(input, options) {
|
|
|
568
563
|
}
|
|
569
564
|
return res;
|
|
570
565
|
}
|
|
571
|
-
|
|
566
|
+
chunkJWF7I3Y2_js.__name(peg$computeLocation, "peg$computeLocation");
|
|
572
567
|
function peg$fail(expected2) {
|
|
573
568
|
if (peg$currPos < peg$maxFailPos) {
|
|
574
569
|
return;
|
|
@@ -579,11 +574,11 @@ function peg$parse(input, options) {
|
|
|
579
574
|
}
|
|
580
575
|
peg$maxFailExpected.push(expected2);
|
|
581
576
|
}
|
|
582
|
-
|
|
577
|
+
chunkJWF7I3Y2_js.__name(peg$fail, "peg$fail");
|
|
583
578
|
function peg$buildSimpleError(message, location2) {
|
|
584
579
|
return new peg$SyntaxError(message, null, null, location2);
|
|
585
580
|
}
|
|
586
|
-
|
|
581
|
+
chunkJWF7I3Y2_js.__name(peg$buildSimpleError, "peg$buildSimpleError");
|
|
587
582
|
function peg$buildStructuredError(expected2, found, location2) {
|
|
588
583
|
return new peg$SyntaxError(
|
|
589
584
|
peg$SyntaxError.buildMessage(expected2, found),
|
|
@@ -592,7 +587,7 @@ function peg$parse(input, options) {
|
|
|
592
587
|
location2
|
|
593
588
|
);
|
|
594
589
|
}
|
|
595
|
-
|
|
590
|
+
chunkJWF7I3Y2_js.__name(peg$buildStructuredError, "peg$buildStructuredError");
|
|
596
591
|
function peg$parseEnvSpecFile() {
|
|
597
592
|
let s0, s1, s2, s3;
|
|
598
593
|
s0 = peg$currPos;
|
|
@@ -653,7 +648,7 @@ function peg$parse(input, options) {
|
|
|
653
648
|
s0 = s1;
|
|
654
649
|
return s0;
|
|
655
650
|
}
|
|
656
|
-
|
|
651
|
+
chunkJWF7I3Y2_js.__name(peg$parseEnvSpecFile, "peg$parseEnvSpecFile");
|
|
657
652
|
function peg$parseConfigItem() {
|
|
658
653
|
let s0, s1, s2, s3, s4, s5, s6, s7, s9, s10;
|
|
659
654
|
s0 = peg$currPos;
|
|
@@ -793,7 +788,7 @@ function peg$parse(input, options) {
|
|
|
793
788
|
}
|
|
794
789
|
return s0;
|
|
795
790
|
}
|
|
796
|
-
|
|
791
|
+
chunkJWF7I3Y2_js.__name(peg$parseConfigItem, "peg$parseConfigItem");
|
|
797
792
|
function peg$parseConfigItemKey() {
|
|
798
793
|
let s0, s1, s2, s3, s4;
|
|
799
794
|
s0 = peg$currPos;
|
|
@@ -843,7 +838,7 @@ function peg$parse(input, options) {
|
|
|
843
838
|
}
|
|
844
839
|
return s0;
|
|
845
840
|
}
|
|
846
|
-
|
|
841
|
+
chunkJWF7I3Y2_js.__name(peg$parseConfigItemKey, "peg$parseConfigItemKey");
|
|
847
842
|
function peg$parseConfigItemValue() {
|
|
848
843
|
let s0;
|
|
849
844
|
s0 = peg$parseFunctionCall();
|
|
@@ -858,7 +853,7 @@ function peg$parse(input, options) {
|
|
|
858
853
|
}
|
|
859
854
|
return s0;
|
|
860
855
|
}
|
|
861
|
-
|
|
856
|
+
chunkJWF7I3Y2_js.__name(peg$parseConfigItemValue, "peg$parseConfigItemValue");
|
|
862
857
|
function peg$parseCommentBlock() {
|
|
863
858
|
let s0, s1, s2, s3, s4;
|
|
864
859
|
s0 = peg$currPos;
|
|
@@ -928,7 +923,7 @@ function peg$parse(input, options) {
|
|
|
928
923
|
}
|
|
929
924
|
return s0;
|
|
930
925
|
}
|
|
931
|
-
|
|
926
|
+
chunkJWF7I3Y2_js.__name(peg$parseCommentBlock, "peg$parseCommentBlock");
|
|
932
927
|
function peg$parseComment() {
|
|
933
928
|
let s0, s1, s2, s3, s4, s5, s6, s7, s8, s9;
|
|
934
929
|
s0 = peg$currPos;
|
|
@@ -1023,7 +1018,7 @@ function peg$parse(input, options) {
|
|
|
1023
1018
|
}
|
|
1024
1019
|
return s0;
|
|
1025
1020
|
}
|
|
1026
|
-
|
|
1021
|
+
chunkJWF7I3Y2_js.__name(peg$parseComment, "peg$parseComment");
|
|
1027
1022
|
function peg$parseIgnoredDecoratorComment() {
|
|
1028
1023
|
let s0, s1, s2, s3, s4, s5, s6, s7, s8, s9, s10;
|
|
1029
1024
|
s0 = peg$currPos;
|
|
@@ -1244,7 +1239,7 @@ function peg$parse(input, options) {
|
|
|
1244
1239
|
}
|
|
1245
1240
|
return s0;
|
|
1246
1241
|
}
|
|
1247
|
-
|
|
1242
|
+
chunkJWF7I3Y2_js.__name(peg$parseIgnoredDecoratorComment, "peg$parseIgnoredDecoratorComment");
|
|
1248
1243
|
function peg$parseDecoratorComment() {
|
|
1249
1244
|
let s0, s1, s2, s3, s4, s5, s6, s7, s8, s9, s10;
|
|
1250
1245
|
s0 = peg$currPos;
|
|
@@ -1352,9 +1347,9 @@ function peg$parse(input, options) {
|
|
|
1352
1347
|
}
|
|
1353
1348
|
return s0;
|
|
1354
1349
|
}
|
|
1355
|
-
|
|
1350
|
+
chunkJWF7I3Y2_js.__name(peg$parseDecoratorComment, "peg$parseDecoratorComment");
|
|
1356
1351
|
function peg$parseDecorator() {
|
|
1357
|
-
let s0, s1, s2, s3, s4, s5
|
|
1352
|
+
let s0, s1, s2, s3, s4, s5;
|
|
1358
1353
|
s0 = peg$currPos;
|
|
1359
1354
|
if (input.charCodeAt(peg$currPos) === 64) {
|
|
1360
1355
|
s1 = peg$c4;
|
|
@@ -1368,48 +1363,23 @@ function peg$parse(input, options) {
|
|
|
1368
1363
|
if (s1 !== peg$FAILED) {
|
|
1369
1364
|
s2 = peg$parseDecoratorName();
|
|
1370
1365
|
if (s2 !== peg$FAILED) {
|
|
1371
|
-
s3 = peg$
|
|
1372
|
-
if (input.substr(peg$currPos, 2) === peg$c6) {
|
|
1373
|
-
s4 = peg$c6;
|
|
1374
|
-
peg$currPos += 2;
|
|
1375
|
-
} else {
|
|
1376
|
-
s4 = peg$FAILED;
|
|
1377
|
-
if (peg$silentFails === 0) {
|
|
1378
|
-
peg$fail(peg$e11);
|
|
1379
|
-
}
|
|
1380
|
-
}
|
|
1381
|
-
if (s4 !== peg$FAILED) {
|
|
1382
|
-
peg$savedPos = s3;
|
|
1383
|
-
s4 = peg$f7();
|
|
1384
|
-
}
|
|
1385
|
-
s3 = s4;
|
|
1366
|
+
s3 = peg$parseFunctionArgs();
|
|
1386
1367
|
if (s3 === peg$FAILED) {
|
|
1387
1368
|
s3 = peg$currPos;
|
|
1388
|
-
if (input.charCodeAt(peg$currPos) ===
|
|
1389
|
-
s4 = peg$
|
|
1369
|
+
if (input.charCodeAt(peg$currPos) === 61) {
|
|
1370
|
+
s4 = peg$c2;
|
|
1390
1371
|
peg$currPos++;
|
|
1391
1372
|
} else {
|
|
1392
1373
|
s4 = peg$FAILED;
|
|
1393
1374
|
if (peg$silentFails === 0) {
|
|
1394
|
-
peg$fail(peg$
|
|
1375
|
+
peg$fail(peg$e2);
|
|
1395
1376
|
}
|
|
1396
1377
|
}
|
|
1397
1378
|
if (s4 !== peg$FAILED) {
|
|
1398
|
-
s5 = peg$
|
|
1399
|
-
if (s5
|
|
1400
|
-
|
|
1401
|
-
|
|
1402
|
-
if (input.charCodeAt(peg$currPos) === 41) {
|
|
1403
|
-
s6 = peg$c8;
|
|
1404
|
-
peg$currPos++;
|
|
1405
|
-
} else {
|
|
1406
|
-
s6 = peg$FAILED;
|
|
1407
|
-
if (peg$silentFails === 0) {
|
|
1408
|
-
peg$fail(peg$e13);
|
|
1409
|
-
}
|
|
1410
|
-
}
|
|
1411
|
-
if (s6 !== peg$FAILED) {
|
|
1412
|
-
s3 = s5;
|
|
1379
|
+
s5 = peg$parseDecoratorValue();
|
|
1380
|
+
if (s5 !== peg$FAILED) {
|
|
1381
|
+
s4 = [s4, s5];
|
|
1382
|
+
s3 = s4;
|
|
1413
1383
|
} else {
|
|
1414
1384
|
peg$currPos = s3;
|
|
1415
1385
|
s3 = peg$FAILED;
|
|
@@ -1418,36 +1388,12 @@ function peg$parse(input, options) {
|
|
|
1418
1388
|
peg$currPos = s3;
|
|
1419
1389
|
s3 = peg$FAILED;
|
|
1420
1390
|
}
|
|
1421
|
-
if (s3 === peg$FAILED) {
|
|
1422
|
-
s3 = peg$currPos;
|
|
1423
|
-
if (input.charCodeAt(peg$currPos) === 61) {
|
|
1424
|
-
s4 = peg$c2;
|
|
1425
|
-
peg$currPos++;
|
|
1426
|
-
} else {
|
|
1427
|
-
s4 = peg$FAILED;
|
|
1428
|
-
if (peg$silentFails === 0) {
|
|
1429
|
-
peg$fail(peg$e2);
|
|
1430
|
-
}
|
|
1431
|
-
}
|
|
1432
|
-
if (s4 !== peg$FAILED) {
|
|
1433
|
-
s5 = peg$parseDecoratorValue();
|
|
1434
|
-
if (s5 !== peg$FAILED) {
|
|
1435
|
-
s3 = s5;
|
|
1436
|
-
} else {
|
|
1437
|
-
peg$currPos = s3;
|
|
1438
|
-
s3 = peg$FAILED;
|
|
1439
|
-
}
|
|
1440
|
-
} else {
|
|
1441
|
-
peg$currPos = s3;
|
|
1442
|
-
s3 = peg$FAILED;
|
|
1443
|
-
}
|
|
1444
|
-
}
|
|
1445
1391
|
}
|
|
1446
1392
|
if (s3 === peg$FAILED) {
|
|
1447
1393
|
s3 = null;
|
|
1448
1394
|
}
|
|
1449
1395
|
peg$savedPos = s0;
|
|
1450
|
-
s0 = peg$
|
|
1396
|
+
s0 = peg$f7(s2, s3);
|
|
1451
1397
|
} else {
|
|
1452
1398
|
peg$currPos = s0;
|
|
1453
1399
|
s0 = peg$FAILED;
|
|
@@ -1458,7 +1404,7 @@ function peg$parse(input, options) {
|
|
|
1458
1404
|
}
|
|
1459
1405
|
return s0;
|
|
1460
1406
|
}
|
|
1461
|
-
|
|
1407
|
+
chunkJWF7I3Y2_js.__name(peg$parseDecorator, "peg$parseDecorator");
|
|
1462
1408
|
function peg$parseDecoratorName() {
|
|
1463
1409
|
let s0, s1, s2, s3, s4;
|
|
1464
1410
|
s0 = peg$currPos;
|
|
@@ -1480,7 +1426,7 @@ function peg$parse(input, options) {
|
|
|
1480
1426
|
} else {
|
|
1481
1427
|
s4 = peg$FAILED;
|
|
1482
1428
|
if (peg$silentFails === 0) {
|
|
1483
|
-
peg$fail(peg$
|
|
1429
|
+
peg$fail(peg$e11);
|
|
1484
1430
|
}
|
|
1485
1431
|
}
|
|
1486
1432
|
while (s4 !== peg$FAILED) {
|
|
@@ -1491,7 +1437,7 @@ function peg$parse(input, options) {
|
|
|
1491
1437
|
} else {
|
|
1492
1438
|
s4 = peg$FAILED;
|
|
1493
1439
|
if (peg$silentFails === 0) {
|
|
1494
|
-
peg$fail(peg$
|
|
1440
|
+
peg$fail(peg$e11);
|
|
1495
1441
|
}
|
|
1496
1442
|
}
|
|
1497
1443
|
}
|
|
@@ -1508,7 +1454,7 @@ function peg$parse(input, options) {
|
|
|
1508
1454
|
}
|
|
1509
1455
|
return s0;
|
|
1510
1456
|
}
|
|
1511
|
-
|
|
1457
|
+
chunkJWF7I3Y2_js.__name(peg$parseDecoratorName, "peg$parseDecoratorName");
|
|
1512
1458
|
function peg$parseDecoratorValue() {
|
|
1513
1459
|
let s0;
|
|
1514
1460
|
s0 = peg$parseFunctionCall();
|
|
@@ -1520,44 +1466,16 @@ function peg$parse(input, options) {
|
|
|
1520
1466
|
}
|
|
1521
1467
|
return s0;
|
|
1522
1468
|
}
|
|
1523
|
-
|
|
1469
|
+
chunkJWF7I3Y2_js.__name(peg$parseDecoratorValue, "peg$parseDecoratorValue");
|
|
1524
1470
|
function peg$parseFunctionCall() {
|
|
1525
|
-
let s0, s1, s2
|
|
1471
|
+
let s0, s1, s2;
|
|
1526
1472
|
s0 = peg$currPos;
|
|
1527
1473
|
s1 = peg$parseFunctionName();
|
|
1528
1474
|
if (s1 !== peg$FAILED) {
|
|
1529
|
-
|
|
1530
|
-
s2 = peg$c7;
|
|
1531
|
-
peg$currPos++;
|
|
1532
|
-
} else {
|
|
1533
|
-
s2 = peg$FAILED;
|
|
1534
|
-
if (peg$silentFails === 0) {
|
|
1535
|
-
peg$fail(peg$e12);
|
|
1536
|
-
}
|
|
1537
|
-
}
|
|
1475
|
+
s2 = peg$parseFunctionArgs();
|
|
1538
1476
|
if (s2 !== peg$FAILED) {
|
|
1539
|
-
peg$
|
|
1540
|
-
|
|
1541
|
-
if (s4 === peg$FAILED) {
|
|
1542
|
-
s4 = null;
|
|
1543
|
-
}
|
|
1544
|
-
peg$parse_();
|
|
1545
|
-
if (input.charCodeAt(peg$currPos) === 41) {
|
|
1546
|
-
s6 = peg$c8;
|
|
1547
|
-
peg$currPos++;
|
|
1548
|
-
} else {
|
|
1549
|
-
s6 = peg$FAILED;
|
|
1550
|
-
if (peg$silentFails === 0) {
|
|
1551
|
-
peg$fail(peg$e13);
|
|
1552
|
-
}
|
|
1553
|
-
}
|
|
1554
|
-
if (s6 !== peg$FAILED) {
|
|
1555
|
-
peg$savedPos = s0;
|
|
1556
|
-
s0 = peg$f9(s1, s4);
|
|
1557
|
-
} else {
|
|
1558
|
-
peg$currPos = s0;
|
|
1559
|
-
s0 = peg$FAILED;
|
|
1560
|
-
}
|
|
1477
|
+
peg$savedPos = s0;
|
|
1478
|
+
s0 = peg$f8(s1, s2);
|
|
1561
1479
|
} else {
|
|
1562
1480
|
peg$currPos = s0;
|
|
1563
1481
|
s0 = peg$FAILED;
|
|
@@ -1568,7 +1486,7 @@ function peg$parse(input, options) {
|
|
|
1568
1486
|
}
|
|
1569
1487
|
return s0;
|
|
1570
1488
|
}
|
|
1571
|
-
|
|
1489
|
+
chunkJWF7I3Y2_js.__name(peg$parseFunctionCall, "peg$parseFunctionCall");
|
|
1572
1490
|
function peg$parseFunctionName() {
|
|
1573
1491
|
let s0, s1, s2, s3, s4;
|
|
1574
1492
|
s0 = peg$currPos;
|
|
@@ -1590,7 +1508,7 @@ function peg$parse(input, options) {
|
|
|
1590
1508
|
} else {
|
|
1591
1509
|
s4 = peg$FAILED;
|
|
1592
1510
|
if (peg$silentFails === 0) {
|
|
1593
|
-
peg$fail(peg$
|
|
1511
|
+
peg$fail(peg$e11);
|
|
1594
1512
|
}
|
|
1595
1513
|
}
|
|
1596
1514
|
while (s4 !== peg$FAILED) {
|
|
@@ -1601,7 +1519,7 @@ function peg$parse(input, options) {
|
|
|
1601
1519
|
} else {
|
|
1602
1520
|
s4 = peg$FAILED;
|
|
1603
1521
|
if (peg$silentFails === 0) {
|
|
1604
|
-
peg$fail(peg$
|
|
1522
|
+
peg$fail(peg$e11);
|
|
1605
1523
|
}
|
|
1606
1524
|
}
|
|
1607
1525
|
}
|
|
@@ -1618,123 +1536,153 @@ function peg$parse(input, options) {
|
|
|
1618
1536
|
}
|
|
1619
1537
|
return s0;
|
|
1620
1538
|
}
|
|
1621
|
-
|
|
1539
|
+
chunkJWF7I3Y2_js.__name(peg$parseFunctionName, "peg$parseFunctionName");
|
|
1622
1540
|
function peg$parseFunctionArgs() {
|
|
1623
|
-
let s0, s1,
|
|
1541
|
+
let s0, s1, s3, s4, s5, s6, s7, s8, s9;
|
|
1624
1542
|
s0 = peg$currPos;
|
|
1625
|
-
|
|
1626
|
-
|
|
1627
|
-
|
|
1628
|
-
|
|
1629
|
-
|
|
1630
|
-
if (
|
|
1631
|
-
|
|
1632
|
-
peg$currPos++;
|
|
1633
|
-
} else {
|
|
1634
|
-
s5 = peg$FAILED;
|
|
1635
|
-
if (peg$silentFails === 0) {
|
|
1636
|
-
peg$fail(peg$e2);
|
|
1637
|
-
}
|
|
1543
|
+
if (input.charCodeAt(peg$currPos) === 40) {
|
|
1544
|
+
s1 = peg$c6;
|
|
1545
|
+
peg$currPos++;
|
|
1546
|
+
} else {
|
|
1547
|
+
s1 = peg$FAILED;
|
|
1548
|
+
if (peg$silentFails === 0) {
|
|
1549
|
+
peg$fail(peg$e12);
|
|
1638
1550
|
}
|
|
1639
|
-
|
|
1640
|
-
|
|
1641
|
-
|
|
1642
|
-
|
|
1643
|
-
|
|
1551
|
+
}
|
|
1552
|
+
if (s1 !== peg$FAILED) {
|
|
1553
|
+
peg$parse_();
|
|
1554
|
+
s3 = peg$currPos;
|
|
1555
|
+
s4 = [];
|
|
1556
|
+
s5 = peg$currPos;
|
|
1557
|
+
s6 = peg$parseFunctionArgKeyName();
|
|
1558
|
+
if (s6 !== peg$FAILED) {
|
|
1559
|
+
if (input.charCodeAt(peg$currPos) === 61) {
|
|
1560
|
+
s7 = peg$c2;
|
|
1561
|
+
peg$currPos++;
|
|
1644
1562
|
} else {
|
|
1645
|
-
|
|
1646
|
-
|
|
1563
|
+
s7 = peg$FAILED;
|
|
1564
|
+
if (peg$silentFails === 0) {
|
|
1565
|
+
peg$fail(peg$e2);
|
|
1566
|
+
}
|
|
1567
|
+
}
|
|
1568
|
+
if (s7 !== peg$FAILED) {
|
|
1569
|
+
s8 = peg$parseFunctionArgValue();
|
|
1570
|
+
if (s8 !== peg$FAILED) {
|
|
1571
|
+
peg$savedPos = s5;
|
|
1572
|
+
s5 = peg$f9(s6, s8);
|
|
1573
|
+
} else {
|
|
1574
|
+
peg$currPos = s5;
|
|
1575
|
+
s5 = peg$FAILED;
|
|
1576
|
+
}
|
|
1577
|
+
} else {
|
|
1578
|
+
peg$currPos = s5;
|
|
1579
|
+
s5 = peg$FAILED;
|
|
1647
1580
|
}
|
|
1648
1581
|
} else {
|
|
1649
|
-
peg$currPos =
|
|
1650
|
-
|
|
1582
|
+
peg$currPos = s5;
|
|
1583
|
+
s5 = peg$FAILED;
|
|
1651
1584
|
}
|
|
1652
|
-
|
|
1653
|
-
|
|
1654
|
-
s3 = peg$FAILED;
|
|
1655
|
-
}
|
|
1656
|
-
if (s3 === peg$FAILED) {
|
|
1657
|
-
s3 = peg$parseFunctionArgValue();
|
|
1658
|
-
}
|
|
1659
|
-
while (s3 !== peg$FAILED) {
|
|
1660
|
-
s2.push(s3);
|
|
1661
|
-
s3 = peg$currPos;
|
|
1662
|
-
s4 = peg$currPos;
|
|
1663
|
-
s5 = peg$parse_();
|
|
1664
|
-
if (input.charCodeAt(peg$currPos) === 44) {
|
|
1665
|
-
s6 = peg$c9;
|
|
1666
|
-
peg$currPos++;
|
|
1667
|
-
} else {
|
|
1668
|
-
s6 = peg$FAILED;
|
|
1669
|
-
if (peg$silentFails === 0) {
|
|
1670
|
-
peg$fail(peg$e15);
|
|
1671
|
-
}
|
|
1585
|
+
if (s5 === peg$FAILED) {
|
|
1586
|
+
s5 = peg$parseFunctionArgValue();
|
|
1672
1587
|
}
|
|
1673
|
-
|
|
1588
|
+
while (s5 !== peg$FAILED) {
|
|
1589
|
+
s4.push(s5);
|
|
1590
|
+
s5 = peg$currPos;
|
|
1591
|
+
s6 = peg$currPos;
|
|
1674
1592
|
s7 = peg$parse_();
|
|
1675
|
-
|
|
1676
|
-
|
|
1677
|
-
|
|
1678
|
-
|
|
1679
|
-
|
|
1680
|
-
|
|
1681
|
-
|
|
1682
|
-
s4 = peg$currPos;
|
|
1683
|
-
s5 = peg$parseFunctionArgKeyName();
|
|
1684
|
-
if (s5 !== peg$FAILED) {
|
|
1685
|
-
if (input.charCodeAt(peg$currPos) === 61) {
|
|
1686
|
-
s6 = peg$c2;
|
|
1687
|
-
peg$currPos++;
|
|
1688
|
-
} else {
|
|
1689
|
-
s6 = peg$FAILED;
|
|
1690
|
-
if (peg$silentFails === 0) {
|
|
1691
|
-
peg$fail(peg$e2);
|
|
1692
|
-
}
|
|
1593
|
+
if (input.charCodeAt(peg$currPos) === 44) {
|
|
1594
|
+
s8 = peg$c7;
|
|
1595
|
+
peg$currPos++;
|
|
1596
|
+
} else {
|
|
1597
|
+
s8 = peg$FAILED;
|
|
1598
|
+
if (peg$silentFails === 0) {
|
|
1599
|
+
peg$fail(peg$e13);
|
|
1693
1600
|
}
|
|
1694
|
-
|
|
1695
|
-
|
|
1696
|
-
|
|
1697
|
-
|
|
1698
|
-
|
|
1601
|
+
}
|
|
1602
|
+
if (s8 !== peg$FAILED) {
|
|
1603
|
+
s9 = peg$parse_();
|
|
1604
|
+
s7 = [s7, s8, s9];
|
|
1605
|
+
s6 = s7;
|
|
1606
|
+
} else {
|
|
1607
|
+
peg$currPos = s6;
|
|
1608
|
+
s6 = peg$FAILED;
|
|
1609
|
+
}
|
|
1610
|
+
if (s6 !== peg$FAILED) {
|
|
1611
|
+
s6 = peg$currPos;
|
|
1612
|
+
s7 = peg$parseFunctionArgKeyName();
|
|
1613
|
+
if (s7 !== peg$FAILED) {
|
|
1614
|
+
if (input.charCodeAt(peg$currPos) === 61) {
|
|
1615
|
+
s8 = peg$c2;
|
|
1616
|
+
peg$currPos++;
|
|
1699
1617
|
} else {
|
|
1700
|
-
|
|
1701
|
-
|
|
1618
|
+
s8 = peg$FAILED;
|
|
1619
|
+
if (peg$silentFails === 0) {
|
|
1620
|
+
peg$fail(peg$e2);
|
|
1621
|
+
}
|
|
1622
|
+
}
|
|
1623
|
+
if (s8 !== peg$FAILED) {
|
|
1624
|
+
s9 = peg$parseFunctionArgValue();
|
|
1625
|
+
if (s9 !== peg$FAILED) {
|
|
1626
|
+
peg$savedPos = s6;
|
|
1627
|
+
s6 = peg$f9(s7, s9);
|
|
1628
|
+
} else {
|
|
1629
|
+
peg$currPos = s6;
|
|
1630
|
+
s6 = peg$FAILED;
|
|
1631
|
+
}
|
|
1632
|
+
} else {
|
|
1633
|
+
peg$currPos = s6;
|
|
1634
|
+
s6 = peg$FAILED;
|
|
1702
1635
|
}
|
|
1703
1636
|
} else {
|
|
1704
|
-
peg$currPos =
|
|
1705
|
-
|
|
1637
|
+
peg$currPos = s6;
|
|
1638
|
+
s6 = peg$FAILED;
|
|
1639
|
+
}
|
|
1640
|
+
if (s6 === peg$FAILED) {
|
|
1641
|
+
s6 = peg$parseFunctionArgValue();
|
|
1642
|
+
}
|
|
1643
|
+
if (s6 === peg$FAILED) {
|
|
1644
|
+
peg$currPos = s5;
|
|
1645
|
+
s5 = peg$FAILED;
|
|
1646
|
+
} else {
|
|
1647
|
+
s5 = s6;
|
|
1706
1648
|
}
|
|
1707
1649
|
} else {
|
|
1708
|
-
|
|
1709
|
-
s4 = peg$FAILED;
|
|
1710
|
-
}
|
|
1711
|
-
if (s4 === peg$FAILED) {
|
|
1712
|
-
s4 = peg$parseFunctionArgValue();
|
|
1713
|
-
}
|
|
1714
|
-
if (s4 === peg$FAILED) {
|
|
1715
|
-
peg$currPos = s3;
|
|
1716
|
-
s3 = peg$FAILED;
|
|
1717
|
-
} else {
|
|
1718
|
-
s3 = s4;
|
|
1650
|
+
s5 = s6;
|
|
1719
1651
|
}
|
|
1652
|
+
}
|
|
1653
|
+
if (s4.length < 1) {
|
|
1654
|
+
peg$currPos = s3;
|
|
1655
|
+
s3 = peg$FAILED;
|
|
1720
1656
|
} else {
|
|
1721
1657
|
s3 = s4;
|
|
1722
1658
|
}
|
|
1723
|
-
|
|
1724
|
-
|
|
1725
|
-
|
|
1726
|
-
|
|
1659
|
+
if (s3 === peg$FAILED) {
|
|
1660
|
+
s3 = null;
|
|
1661
|
+
}
|
|
1662
|
+
s4 = peg$parse_();
|
|
1663
|
+
if (input.charCodeAt(peg$currPos) === 41) {
|
|
1664
|
+
s5 = peg$c8;
|
|
1665
|
+
peg$currPos++;
|
|
1666
|
+
} else {
|
|
1667
|
+
s5 = peg$FAILED;
|
|
1668
|
+
if (peg$silentFails === 0) {
|
|
1669
|
+
peg$fail(peg$e14);
|
|
1670
|
+
}
|
|
1671
|
+
}
|
|
1672
|
+
if (s5 !== peg$FAILED) {
|
|
1673
|
+
peg$savedPos = s0;
|
|
1674
|
+
s0 = peg$f10(s3);
|
|
1675
|
+
} else {
|
|
1676
|
+
peg$currPos = s0;
|
|
1677
|
+
s0 = peg$FAILED;
|
|
1678
|
+
}
|
|
1727
1679
|
} else {
|
|
1728
|
-
|
|
1729
|
-
|
|
1730
|
-
if (s1 !== peg$FAILED) {
|
|
1731
|
-
peg$savedPos = s0;
|
|
1732
|
-
s1 = peg$f11(s1);
|
|
1680
|
+
peg$currPos = s0;
|
|
1681
|
+
s0 = peg$FAILED;
|
|
1733
1682
|
}
|
|
1734
|
-
s0 = s1;
|
|
1735
1683
|
return s0;
|
|
1736
1684
|
}
|
|
1737
|
-
|
|
1685
|
+
chunkJWF7I3Y2_js.__name(peg$parseFunctionArgs, "peg$parseFunctionArgs");
|
|
1738
1686
|
function peg$parseFunctionArgKeyName() {
|
|
1739
1687
|
let s0, s1, s2, s3, s4;
|
|
1740
1688
|
s0 = peg$currPos;
|
|
@@ -1756,7 +1704,7 @@ function peg$parse(input, options) {
|
|
|
1756
1704
|
} else {
|
|
1757
1705
|
s4 = peg$FAILED;
|
|
1758
1706
|
if (peg$silentFails === 0) {
|
|
1759
|
-
peg$fail(peg$
|
|
1707
|
+
peg$fail(peg$e11);
|
|
1760
1708
|
}
|
|
1761
1709
|
}
|
|
1762
1710
|
while (s4 !== peg$FAILED) {
|
|
@@ -1767,7 +1715,7 @@ function peg$parse(input, options) {
|
|
|
1767
1715
|
} else {
|
|
1768
1716
|
s4 = peg$FAILED;
|
|
1769
1717
|
if (peg$silentFails === 0) {
|
|
1770
|
-
peg$fail(peg$
|
|
1718
|
+
peg$fail(peg$e11);
|
|
1771
1719
|
}
|
|
1772
1720
|
}
|
|
1773
1721
|
}
|
|
@@ -1784,7 +1732,7 @@ function peg$parse(input, options) {
|
|
|
1784
1732
|
}
|
|
1785
1733
|
return s0;
|
|
1786
1734
|
}
|
|
1787
|
-
|
|
1735
|
+
chunkJWF7I3Y2_js.__name(peg$parseFunctionArgKeyName, "peg$parseFunctionArgKeyName");
|
|
1788
1736
|
function peg$parseFunctionArgValue() {
|
|
1789
1737
|
let s0, s1, s2, s3;
|
|
1790
1738
|
s0 = peg$parseFunctionCall();
|
|
@@ -1800,7 +1748,7 @@ function peg$parse(input, options) {
|
|
|
1800
1748
|
} else {
|
|
1801
1749
|
s3 = peg$FAILED;
|
|
1802
1750
|
if (peg$silentFails === 0) {
|
|
1803
|
-
peg$fail(peg$
|
|
1751
|
+
peg$fail(peg$e15);
|
|
1804
1752
|
}
|
|
1805
1753
|
}
|
|
1806
1754
|
if (s3 !== peg$FAILED) {
|
|
@@ -1812,7 +1760,7 @@ function peg$parse(input, options) {
|
|
|
1812
1760
|
} else {
|
|
1813
1761
|
s3 = peg$FAILED;
|
|
1814
1762
|
if (peg$silentFails === 0) {
|
|
1815
|
-
peg$fail(peg$
|
|
1763
|
+
peg$fail(peg$e15);
|
|
1816
1764
|
}
|
|
1817
1765
|
}
|
|
1818
1766
|
}
|
|
@@ -1826,14 +1774,14 @@ function peg$parse(input, options) {
|
|
|
1826
1774
|
}
|
|
1827
1775
|
if (s1 !== peg$FAILED) {
|
|
1828
1776
|
peg$savedPos = s0;
|
|
1829
|
-
s1 = peg$
|
|
1777
|
+
s1 = peg$f11();
|
|
1830
1778
|
}
|
|
1831
1779
|
s0 = s1;
|
|
1832
1780
|
}
|
|
1833
1781
|
}
|
|
1834
1782
|
return s0;
|
|
1835
1783
|
}
|
|
1836
|
-
|
|
1784
|
+
chunkJWF7I3Y2_js.__name(peg$parseFunctionArgValue, "peg$parseFunctionArgValue");
|
|
1837
1785
|
function peg$parseDivider() {
|
|
1838
1786
|
let s0, s1, s2, s3, s4, s5, s6, s7;
|
|
1839
1787
|
s0 = peg$currPos;
|
|
@@ -1860,7 +1808,7 @@ function peg$parse(input, options) {
|
|
|
1860
1808
|
} else {
|
|
1861
1809
|
s7 = peg$FAILED;
|
|
1862
1810
|
if (peg$silentFails === 0) {
|
|
1863
|
-
peg$fail(peg$
|
|
1811
|
+
peg$fail(peg$e16);
|
|
1864
1812
|
}
|
|
1865
1813
|
}
|
|
1866
1814
|
while (s7 !== peg$FAILED) {
|
|
@@ -1871,7 +1819,7 @@ function peg$parse(input, options) {
|
|
|
1871
1819
|
} else {
|
|
1872
1820
|
s7 = peg$FAILED;
|
|
1873
1821
|
if (peg$silentFails === 0) {
|
|
1874
|
-
peg$fail(peg$
|
|
1822
|
+
peg$fail(peg$e16);
|
|
1875
1823
|
}
|
|
1876
1824
|
}
|
|
1877
1825
|
}
|
|
@@ -1919,7 +1867,7 @@ function peg$parse(input, options) {
|
|
|
1919
1867
|
s4 = peg$parse_n();
|
|
1920
1868
|
if (s4 !== peg$FAILED) {
|
|
1921
1869
|
peg$savedPos = s0;
|
|
1922
|
-
s0 = peg$
|
|
1870
|
+
s0 = peg$f12(s2, s3);
|
|
1923
1871
|
} else {
|
|
1924
1872
|
peg$currPos = s0;
|
|
1925
1873
|
s0 = peg$FAILED;
|
|
@@ -1934,7 +1882,7 @@ function peg$parse(input, options) {
|
|
|
1934
1882
|
}
|
|
1935
1883
|
return s0;
|
|
1936
1884
|
}
|
|
1937
|
-
|
|
1885
|
+
chunkJWF7I3Y2_js.__name(peg$parseDivider, "peg$parseDivider");
|
|
1938
1886
|
function peg$parseunquotedString() {
|
|
1939
1887
|
let s0, s1, s2, s3, s4, s5, s6;
|
|
1940
1888
|
s0 = peg$currPos;
|
|
@@ -1949,7 +1897,7 @@ function peg$parse(input, options) {
|
|
|
1949
1897
|
} else {
|
|
1950
1898
|
s5 = peg$FAILED;
|
|
1951
1899
|
if (peg$silentFails === 0) {
|
|
1952
|
-
peg$fail(peg$
|
|
1900
|
+
peg$fail(peg$e17);
|
|
1953
1901
|
}
|
|
1954
1902
|
}
|
|
1955
1903
|
peg$silentFails--;
|
|
@@ -1967,7 +1915,7 @@ function peg$parse(input, options) {
|
|
|
1967
1915
|
} else {
|
|
1968
1916
|
s6 = peg$FAILED;
|
|
1969
1917
|
if (peg$silentFails === 0) {
|
|
1970
|
-
peg$fail(peg$
|
|
1918
|
+
peg$fail(peg$e18);
|
|
1971
1919
|
}
|
|
1972
1920
|
}
|
|
1973
1921
|
if (s6 !== peg$FAILED) {
|
|
@@ -1979,7 +1927,7 @@ function peg$parse(input, options) {
|
|
|
1979
1927
|
} else {
|
|
1980
1928
|
s6 = peg$FAILED;
|
|
1981
1929
|
if (peg$silentFails === 0) {
|
|
1982
|
-
peg$fail(peg$
|
|
1930
|
+
peg$fail(peg$e18);
|
|
1983
1931
|
}
|
|
1984
1932
|
}
|
|
1985
1933
|
}
|
|
@@ -2004,12 +1952,12 @@ function peg$parse(input, options) {
|
|
|
2004
1952
|
}
|
|
2005
1953
|
if (s1 !== peg$FAILED) {
|
|
2006
1954
|
peg$savedPos = s0;
|
|
2007
|
-
s1 = peg$
|
|
1955
|
+
s1 = peg$f13();
|
|
2008
1956
|
}
|
|
2009
1957
|
s0 = s1;
|
|
2010
1958
|
return s0;
|
|
2011
1959
|
}
|
|
2012
|
-
|
|
1960
|
+
chunkJWF7I3Y2_js.__name(peg$parseunquotedString, "peg$parseunquotedString");
|
|
2013
1961
|
function peg$parseunquotedStringWithoutSpaces() {
|
|
2014
1962
|
let s0, s1, s2, s3, s4, s5;
|
|
2015
1963
|
s0 = peg$currPos;
|
|
@@ -2023,7 +1971,7 @@ function peg$parse(input, options) {
|
|
|
2023
1971
|
} else {
|
|
2024
1972
|
s4 = peg$FAILED;
|
|
2025
1973
|
if (peg$silentFails === 0) {
|
|
2026
|
-
peg$fail(peg$
|
|
1974
|
+
peg$fail(peg$e17);
|
|
2027
1975
|
}
|
|
2028
1976
|
}
|
|
2029
1977
|
peg$silentFails--;
|
|
@@ -2041,7 +1989,7 @@ function peg$parse(input, options) {
|
|
|
2041
1989
|
} else {
|
|
2042
1990
|
s5 = peg$FAILED;
|
|
2043
1991
|
if (peg$silentFails === 0) {
|
|
2044
|
-
peg$fail(peg$
|
|
1992
|
+
peg$fail(peg$e19);
|
|
2045
1993
|
}
|
|
2046
1994
|
}
|
|
2047
1995
|
if (s5 !== peg$FAILED) {
|
|
@@ -2053,7 +2001,7 @@ function peg$parse(input, options) {
|
|
|
2053
2001
|
} else {
|
|
2054
2002
|
s5 = peg$FAILED;
|
|
2055
2003
|
if (peg$silentFails === 0) {
|
|
2056
|
-
peg$fail(peg$
|
|
2004
|
+
peg$fail(peg$e19);
|
|
2057
2005
|
}
|
|
2058
2006
|
}
|
|
2059
2007
|
}
|
|
@@ -2078,12 +2026,12 @@ function peg$parse(input, options) {
|
|
|
2078
2026
|
}
|
|
2079
2027
|
if (s1 !== peg$FAILED) {
|
|
2080
2028
|
peg$savedPos = s0;
|
|
2081
|
-
s1 = peg$
|
|
2029
|
+
s1 = peg$f14();
|
|
2082
2030
|
}
|
|
2083
2031
|
s0 = s1;
|
|
2084
2032
|
return s0;
|
|
2085
2033
|
}
|
|
2086
|
-
|
|
2034
|
+
chunkJWF7I3Y2_js.__name(peg$parseunquotedStringWithoutSpaces, "peg$parseunquotedStringWithoutSpaces");
|
|
2087
2035
|
function peg$parsequotedString() {
|
|
2088
2036
|
let s0;
|
|
2089
2037
|
s0 = peg$parseDQuotedString();
|
|
@@ -2095,7 +2043,7 @@ function peg$parse(input, options) {
|
|
|
2095
2043
|
}
|
|
2096
2044
|
return s0;
|
|
2097
2045
|
}
|
|
2098
|
-
|
|
2046
|
+
chunkJWF7I3Y2_js.__name(peg$parsequotedString, "peg$parsequotedString");
|
|
2099
2047
|
function peg$parseDQuotedString() {
|
|
2100
2048
|
let s0, s1, s2, s3;
|
|
2101
2049
|
s0 = peg$currPos;
|
|
@@ -2105,18 +2053,18 @@ function peg$parse(input, options) {
|
|
|
2105
2053
|
} else {
|
|
2106
2054
|
s1 = peg$FAILED;
|
|
2107
2055
|
if (peg$silentFails === 0) {
|
|
2108
|
-
peg$fail(peg$
|
|
2056
|
+
peg$fail(peg$e20);
|
|
2109
2057
|
}
|
|
2110
2058
|
}
|
|
2111
2059
|
if (s1 !== peg$FAILED) {
|
|
2112
2060
|
s2 = [];
|
|
2113
|
-
if (input.substr(peg$currPos, 2) === peg$
|
|
2114
|
-
s3 = peg$
|
|
2061
|
+
if (input.substr(peg$currPos, 2) === peg$c9) {
|
|
2062
|
+
s3 = peg$c9;
|
|
2115
2063
|
peg$currPos += 2;
|
|
2116
2064
|
} else {
|
|
2117
2065
|
s3 = peg$FAILED;
|
|
2118
2066
|
if (peg$silentFails === 0) {
|
|
2119
|
-
peg$fail(peg$
|
|
2067
|
+
peg$fail(peg$e21);
|
|
2120
2068
|
}
|
|
2121
2069
|
}
|
|
2122
2070
|
if (s3 === peg$FAILED) {
|
|
@@ -2126,19 +2074,19 @@ function peg$parse(input, options) {
|
|
|
2126
2074
|
} else {
|
|
2127
2075
|
s3 = peg$FAILED;
|
|
2128
2076
|
if (peg$silentFails === 0) {
|
|
2129
|
-
peg$fail(peg$
|
|
2077
|
+
peg$fail(peg$e22);
|
|
2130
2078
|
}
|
|
2131
2079
|
}
|
|
2132
2080
|
}
|
|
2133
2081
|
while (s3 !== peg$FAILED) {
|
|
2134
2082
|
s2.push(s3);
|
|
2135
|
-
if (input.substr(peg$currPos, 2) === peg$
|
|
2136
|
-
s3 = peg$
|
|
2083
|
+
if (input.substr(peg$currPos, 2) === peg$c9) {
|
|
2084
|
+
s3 = peg$c9;
|
|
2137
2085
|
peg$currPos += 2;
|
|
2138
2086
|
} else {
|
|
2139
2087
|
s3 = peg$FAILED;
|
|
2140
2088
|
if (peg$silentFails === 0) {
|
|
2141
|
-
peg$fail(peg$
|
|
2089
|
+
peg$fail(peg$e21);
|
|
2142
2090
|
}
|
|
2143
2091
|
}
|
|
2144
2092
|
if (s3 === peg$FAILED) {
|
|
@@ -2148,7 +2096,7 @@ function peg$parse(input, options) {
|
|
|
2148
2096
|
} else {
|
|
2149
2097
|
s3 = peg$FAILED;
|
|
2150
2098
|
if (peg$silentFails === 0) {
|
|
2151
|
-
peg$fail(peg$
|
|
2099
|
+
peg$fail(peg$e22);
|
|
2152
2100
|
}
|
|
2153
2101
|
}
|
|
2154
2102
|
}
|
|
@@ -2159,12 +2107,12 @@ function peg$parse(input, options) {
|
|
|
2159
2107
|
} else {
|
|
2160
2108
|
s3 = peg$FAILED;
|
|
2161
2109
|
if (peg$silentFails === 0) {
|
|
2162
|
-
peg$fail(peg$
|
|
2110
|
+
peg$fail(peg$e20);
|
|
2163
2111
|
}
|
|
2164
2112
|
}
|
|
2165
2113
|
if (s3 !== peg$FAILED) {
|
|
2166
2114
|
peg$savedPos = s0;
|
|
2167
|
-
s0 = peg$
|
|
2115
|
+
s0 = peg$f15(s1);
|
|
2168
2116
|
} else {
|
|
2169
2117
|
peg$currPos = s0;
|
|
2170
2118
|
s0 = peg$FAILED;
|
|
@@ -2175,7 +2123,7 @@ function peg$parse(input, options) {
|
|
|
2175
2123
|
}
|
|
2176
2124
|
return s0;
|
|
2177
2125
|
}
|
|
2178
|
-
|
|
2126
|
+
chunkJWF7I3Y2_js.__name(peg$parseDQuotedString, "peg$parseDQuotedString");
|
|
2179
2127
|
function peg$parseSQuotedString() {
|
|
2180
2128
|
let s0, s1, s2, s3;
|
|
2181
2129
|
s0 = peg$currPos;
|
|
@@ -2185,18 +2133,18 @@ function peg$parse(input, options) {
|
|
|
2185
2133
|
} else {
|
|
2186
2134
|
s1 = peg$FAILED;
|
|
2187
2135
|
if (peg$silentFails === 0) {
|
|
2188
|
-
peg$fail(peg$
|
|
2136
|
+
peg$fail(peg$e23);
|
|
2189
2137
|
}
|
|
2190
2138
|
}
|
|
2191
2139
|
if (s1 !== peg$FAILED) {
|
|
2192
2140
|
s2 = [];
|
|
2193
|
-
if (input.substr(peg$currPos, 2) === peg$
|
|
2194
|
-
s3 = peg$
|
|
2141
|
+
if (input.substr(peg$currPos, 2) === peg$c10) {
|
|
2142
|
+
s3 = peg$c10;
|
|
2195
2143
|
peg$currPos += 2;
|
|
2196
2144
|
} else {
|
|
2197
2145
|
s3 = peg$FAILED;
|
|
2198
2146
|
if (peg$silentFails === 0) {
|
|
2199
|
-
peg$fail(peg$
|
|
2147
|
+
peg$fail(peg$e24);
|
|
2200
2148
|
}
|
|
2201
2149
|
}
|
|
2202
2150
|
if (s3 === peg$FAILED) {
|
|
@@ -2206,19 +2154,19 @@ function peg$parse(input, options) {
|
|
|
2206
2154
|
} else {
|
|
2207
2155
|
s3 = peg$FAILED;
|
|
2208
2156
|
if (peg$silentFails === 0) {
|
|
2209
|
-
peg$fail(peg$
|
|
2157
|
+
peg$fail(peg$e25);
|
|
2210
2158
|
}
|
|
2211
2159
|
}
|
|
2212
2160
|
}
|
|
2213
2161
|
while (s3 !== peg$FAILED) {
|
|
2214
2162
|
s2.push(s3);
|
|
2215
|
-
if (input.substr(peg$currPos, 2) === peg$
|
|
2216
|
-
s3 = peg$
|
|
2163
|
+
if (input.substr(peg$currPos, 2) === peg$c10) {
|
|
2164
|
+
s3 = peg$c10;
|
|
2217
2165
|
peg$currPos += 2;
|
|
2218
2166
|
} else {
|
|
2219
2167
|
s3 = peg$FAILED;
|
|
2220
2168
|
if (peg$silentFails === 0) {
|
|
2221
|
-
peg$fail(peg$
|
|
2169
|
+
peg$fail(peg$e24);
|
|
2222
2170
|
}
|
|
2223
2171
|
}
|
|
2224
2172
|
if (s3 === peg$FAILED) {
|
|
@@ -2228,7 +2176,7 @@ function peg$parse(input, options) {
|
|
|
2228
2176
|
} else {
|
|
2229
2177
|
s3 = peg$FAILED;
|
|
2230
2178
|
if (peg$silentFails === 0) {
|
|
2231
|
-
peg$fail(peg$
|
|
2179
|
+
peg$fail(peg$e25);
|
|
2232
2180
|
}
|
|
2233
2181
|
}
|
|
2234
2182
|
}
|
|
@@ -2239,12 +2187,12 @@ function peg$parse(input, options) {
|
|
|
2239
2187
|
} else {
|
|
2240
2188
|
s3 = peg$FAILED;
|
|
2241
2189
|
if (peg$silentFails === 0) {
|
|
2242
|
-
peg$fail(peg$
|
|
2190
|
+
peg$fail(peg$e23);
|
|
2243
2191
|
}
|
|
2244
2192
|
}
|
|
2245
2193
|
if (s3 !== peg$FAILED) {
|
|
2246
2194
|
peg$savedPos = s0;
|
|
2247
|
-
s0 = peg$
|
|
2195
|
+
s0 = peg$f16(s1);
|
|
2248
2196
|
} else {
|
|
2249
2197
|
peg$currPos = s0;
|
|
2250
2198
|
s0 = peg$FAILED;
|
|
@@ -2255,7 +2203,7 @@ function peg$parse(input, options) {
|
|
|
2255
2203
|
}
|
|
2256
2204
|
return s0;
|
|
2257
2205
|
}
|
|
2258
|
-
|
|
2206
|
+
chunkJWF7I3Y2_js.__name(peg$parseSQuotedString, "peg$parseSQuotedString");
|
|
2259
2207
|
function peg$parseBQuotedString() {
|
|
2260
2208
|
let s0, s1, s2, s3;
|
|
2261
2209
|
s0 = peg$currPos;
|
|
@@ -2265,18 +2213,18 @@ function peg$parse(input, options) {
|
|
|
2265
2213
|
} else {
|
|
2266
2214
|
s1 = peg$FAILED;
|
|
2267
2215
|
if (peg$silentFails === 0) {
|
|
2268
|
-
peg$fail(peg$
|
|
2216
|
+
peg$fail(peg$e26);
|
|
2269
2217
|
}
|
|
2270
2218
|
}
|
|
2271
2219
|
if (s1 !== peg$FAILED) {
|
|
2272
2220
|
s2 = [];
|
|
2273
|
-
if (input.substr(peg$currPos, 2) === peg$
|
|
2274
|
-
s3 = peg$
|
|
2221
|
+
if (input.substr(peg$currPos, 2) === peg$c11) {
|
|
2222
|
+
s3 = peg$c11;
|
|
2275
2223
|
peg$currPos += 2;
|
|
2276
2224
|
} else {
|
|
2277
2225
|
s3 = peg$FAILED;
|
|
2278
2226
|
if (peg$silentFails === 0) {
|
|
2279
|
-
peg$fail(peg$
|
|
2227
|
+
peg$fail(peg$e27);
|
|
2280
2228
|
}
|
|
2281
2229
|
}
|
|
2282
2230
|
if (s3 === peg$FAILED) {
|
|
@@ -2286,19 +2234,19 @@ function peg$parse(input, options) {
|
|
|
2286
2234
|
} else {
|
|
2287
2235
|
s3 = peg$FAILED;
|
|
2288
2236
|
if (peg$silentFails === 0) {
|
|
2289
|
-
peg$fail(peg$
|
|
2237
|
+
peg$fail(peg$e28);
|
|
2290
2238
|
}
|
|
2291
2239
|
}
|
|
2292
2240
|
}
|
|
2293
2241
|
while (s3 !== peg$FAILED) {
|
|
2294
2242
|
s2.push(s3);
|
|
2295
|
-
if (input.substr(peg$currPos, 2) === peg$
|
|
2296
|
-
s3 = peg$
|
|
2243
|
+
if (input.substr(peg$currPos, 2) === peg$c11) {
|
|
2244
|
+
s3 = peg$c11;
|
|
2297
2245
|
peg$currPos += 2;
|
|
2298
2246
|
} else {
|
|
2299
2247
|
s3 = peg$FAILED;
|
|
2300
2248
|
if (peg$silentFails === 0) {
|
|
2301
|
-
peg$fail(peg$
|
|
2249
|
+
peg$fail(peg$e27);
|
|
2302
2250
|
}
|
|
2303
2251
|
}
|
|
2304
2252
|
if (s3 === peg$FAILED) {
|
|
@@ -2308,7 +2256,7 @@ function peg$parse(input, options) {
|
|
|
2308
2256
|
} else {
|
|
2309
2257
|
s3 = peg$FAILED;
|
|
2310
2258
|
if (peg$silentFails === 0) {
|
|
2311
|
-
peg$fail(peg$
|
|
2259
|
+
peg$fail(peg$e28);
|
|
2312
2260
|
}
|
|
2313
2261
|
}
|
|
2314
2262
|
}
|
|
@@ -2319,12 +2267,12 @@ function peg$parse(input, options) {
|
|
|
2319
2267
|
} else {
|
|
2320
2268
|
s3 = peg$FAILED;
|
|
2321
2269
|
if (peg$silentFails === 0) {
|
|
2322
|
-
peg$fail(peg$
|
|
2270
|
+
peg$fail(peg$e26);
|
|
2323
2271
|
}
|
|
2324
2272
|
}
|
|
2325
2273
|
if (s3 !== peg$FAILED) {
|
|
2326
2274
|
peg$savedPos = s0;
|
|
2327
|
-
s0 = peg$
|
|
2275
|
+
s0 = peg$f17(s1);
|
|
2328
2276
|
} else {
|
|
2329
2277
|
peg$currPos = s0;
|
|
2330
2278
|
s0 = peg$FAILED;
|
|
@@ -2335,7 +2283,7 @@ function peg$parse(input, options) {
|
|
|
2335
2283
|
}
|
|
2336
2284
|
return s0;
|
|
2337
2285
|
}
|
|
2338
|
-
|
|
2286
|
+
chunkJWF7I3Y2_js.__name(peg$parseBQuotedString, "peg$parseBQuotedString");
|
|
2339
2287
|
function peg$parsemultiLineString() {
|
|
2340
2288
|
let s0;
|
|
2341
2289
|
s0 = peg$parsesingleSQuotedMultiLineString();
|
|
@@ -2350,7 +2298,7 @@ function peg$parse(input, options) {
|
|
|
2350
2298
|
}
|
|
2351
2299
|
return s0;
|
|
2352
2300
|
}
|
|
2353
|
-
|
|
2301
|
+
chunkJWF7I3Y2_js.__name(peg$parsemultiLineString, "peg$parsemultiLineString");
|
|
2354
2302
|
function peg$parsesingleSQuotedMultiLineString() {
|
|
2355
2303
|
let s0, s1, s2, s3, s4, s5;
|
|
2356
2304
|
s0 = peg$currPos;
|
|
@@ -2360,20 +2308,20 @@ function peg$parse(input, options) {
|
|
|
2360
2308
|
} else {
|
|
2361
2309
|
s1 = peg$FAILED;
|
|
2362
2310
|
if (peg$silentFails === 0) {
|
|
2363
|
-
peg$fail(peg$
|
|
2311
|
+
peg$fail(peg$e23);
|
|
2364
2312
|
}
|
|
2365
2313
|
}
|
|
2366
2314
|
if (s1 !== peg$FAILED) {
|
|
2367
2315
|
s2 = [];
|
|
2368
2316
|
s3 = peg$currPos;
|
|
2369
2317
|
s4 = [];
|
|
2370
|
-
if (input.substr(peg$currPos, 2) === peg$
|
|
2371
|
-
s5 = peg$
|
|
2318
|
+
if (input.substr(peg$currPos, 2) === peg$c10) {
|
|
2319
|
+
s5 = peg$c10;
|
|
2372
2320
|
peg$currPos += 2;
|
|
2373
2321
|
} else {
|
|
2374
2322
|
s5 = peg$FAILED;
|
|
2375
2323
|
if (peg$silentFails === 0) {
|
|
2376
|
-
peg$fail(peg$
|
|
2324
|
+
peg$fail(peg$e24);
|
|
2377
2325
|
}
|
|
2378
2326
|
}
|
|
2379
2327
|
if (s5 === peg$FAILED) {
|
|
@@ -2383,19 +2331,19 @@ function peg$parse(input, options) {
|
|
|
2383
2331
|
} else {
|
|
2384
2332
|
s5 = peg$FAILED;
|
|
2385
2333
|
if (peg$silentFails === 0) {
|
|
2386
|
-
peg$fail(peg$
|
|
2334
|
+
peg$fail(peg$e25);
|
|
2387
2335
|
}
|
|
2388
2336
|
}
|
|
2389
2337
|
}
|
|
2390
2338
|
while (s5 !== peg$FAILED) {
|
|
2391
2339
|
s4.push(s5);
|
|
2392
|
-
if (input.substr(peg$currPos, 2) === peg$
|
|
2393
|
-
s5 = peg$
|
|
2340
|
+
if (input.substr(peg$currPos, 2) === peg$c10) {
|
|
2341
|
+
s5 = peg$c10;
|
|
2394
2342
|
peg$currPos += 2;
|
|
2395
2343
|
} else {
|
|
2396
2344
|
s5 = peg$FAILED;
|
|
2397
2345
|
if (peg$silentFails === 0) {
|
|
2398
|
-
peg$fail(peg$
|
|
2346
|
+
peg$fail(peg$e24);
|
|
2399
2347
|
}
|
|
2400
2348
|
}
|
|
2401
2349
|
if (s5 === peg$FAILED) {
|
|
@@ -2405,7 +2353,7 @@ function peg$parse(input, options) {
|
|
|
2405
2353
|
} else {
|
|
2406
2354
|
s5 = peg$FAILED;
|
|
2407
2355
|
if (peg$silentFails === 0) {
|
|
2408
|
-
peg$fail(peg$
|
|
2356
|
+
peg$fail(peg$e25);
|
|
2409
2357
|
}
|
|
2410
2358
|
}
|
|
2411
2359
|
}
|
|
@@ -2431,13 +2379,13 @@ function peg$parse(input, options) {
|
|
|
2431
2379
|
s2.push(s3);
|
|
2432
2380
|
s3 = peg$currPos;
|
|
2433
2381
|
s4 = [];
|
|
2434
|
-
if (input.substr(peg$currPos, 2) === peg$
|
|
2435
|
-
s5 = peg$
|
|
2382
|
+
if (input.substr(peg$currPos, 2) === peg$c10) {
|
|
2383
|
+
s5 = peg$c10;
|
|
2436
2384
|
peg$currPos += 2;
|
|
2437
2385
|
} else {
|
|
2438
2386
|
s5 = peg$FAILED;
|
|
2439
2387
|
if (peg$silentFails === 0) {
|
|
2440
|
-
peg$fail(peg$
|
|
2388
|
+
peg$fail(peg$e24);
|
|
2441
2389
|
}
|
|
2442
2390
|
}
|
|
2443
2391
|
if (s5 === peg$FAILED) {
|
|
@@ -2447,19 +2395,19 @@ function peg$parse(input, options) {
|
|
|
2447
2395
|
} else {
|
|
2448
2396
|
s5 = peg$FAILED;
|
|
2449
2397
|
if (peg$silentFails === 0) {
|
|
2450
|
-
peg$fail(peg$
|
|
2398
|
+
peg$fail(peg$e25);
|
|
2451
2399
|
}
|
|
2452
2400
|
}
|
|
2453
2401
|
}
|
|
2454
2402
|
while (s5 !== peg$FAILED) {
|
|
2455
2403
|
s4.push(s5);
|
|
2456
|
-
if (input.substr(peg$currPos, 2) === peg$
|
|
2457
|
-
s5 = peg$
|
|
2404
|
+
if (input.substr(peg$currPos, 2) === peg$c10) {
|
|
2405
|
+
s5 = peg$c10;
|
|
2458
2406
|
peg$currPos += 2;
|
|
2459
2407
|
} else {
|
|
2460
2408
|
s5 = peg$FAILED;
|
|
2461
2409
|
if (peg$silentFails === 0) {
|
|
2462
|
-
peg$fail(peg$
|
|
2410
|
+
peg$fail(peg$e24);
|
|
2463
2411
|
}
|
|
2464
2412
|
}
|
|
2465
2413
|
if (s5 === peg$FAILED) {
|
|
@@ -2469,7 +2417,7 @@ function peg$parse(input, options) {
|
|
|
2469
2417
|
} else {
|
|
2470
2418
|
s5 = peg$FAILED;
|
|
2471
2419
|
if (peg$silentFails === 0) {
|
|
2472
|
-
peg$fail(peg$
|
|
2420
|
+
peg$fail(peg$e25);
|
|
2473
2421
|
}
|
|
2474
2422
|
}
|
|
2475
2423
|
}
|
|
@@ -2496,13 +2444,13 @@ function peg$parse(input, options) {
|
|
|
2496
2444
|
}
|
|
2497
2445
|
if (s2 !== peg$FAILED) {
|
|
2498
2446
|
s3 = [];
|
|
2499
|
-
if (input.substr(peg$currPos, 2) === peg$
|
|
2500
|
-
s4 = peg$
|
|
2447
|
+
if (input.substr(peg$currPos, 2) === peg$c10) {
|
|
2448
|
+
s4 = peg$c10;
|
|
2501
2449
|
peg$currPos += 2;
|
|
2502
2450
|
} else {
|
|
2503
2451
|
s4 = peg$FAILED;
|
|
2504
2452
|
if (peg$silentFails === 0) {
|
|
2505
|
-
peg$fail(peg$
|
|
2453
|
+
peg$fail(peg$e24);
|
|
2506
2454
|
}
|
|
2507
2455
|
}
|
|
2508
2456
|
if (s4 === peg$FAILED) {
|
|
@@ -2512,19 +2460,19 @@ function peg$parse(input, options) {
|
|
|
2512
2460
|
} else {
|
|
2513
2461
|
s4 = peg$FAILED;
|
|
2514
2462
|
if (peg$silentFails === 0) {
|
|
2515
|
-
peg$fail(peg$
|
|
2463
|
+
peg$fail(peg$e25);
|
|
2516
2464
|
}
|
|
2517
2465
|
}
|
|
2518
2466
|
}
|
|
2519
2467
|
while (s4 !== peg$FAILED) {
|
|
2520
2468
|
s3.push(s4);
|
|
2521
|
-
if (input.substr(peg$currPos, 2) === peg$
|
|
2522
|
-
s4 = peg$
|
|
2469
|
+
if (input.substr(peg$currPos, 2) === peg$c10) {
|
|
2470
|
+
s4 = peg$c10;
|
|
2523
2471
|
peg$currPos += 2;
|
|
2524
2472
|
} else {
|
|
2525
2473
|
s4 = peg$FAILED;
|
|
2526
2474
|
if (peg$silentFails === 0) {
|
|
2527
|
-
peg$fail(peg$
|
|
2475
|
+
peg$fail(peg$e24);
|
|
2528
2476
|
}
|
|
2529
2477
|
}
|
|
2530
2478
|
if (s4 === peg$FAILED) {
|
|
@@ -2534,7 +2482,7 @@ function peg$parse(input, options) {
|
|
|
2534
2482
|
} else {
|
|
2535
2483
|
s4 = peg$FAILED;
|
|
2536
2484
|
if (peg$silentFails === 0) {
|
|
2537
|
-
peg$fail(peg$
|
|
2485
|
+
peg$fail(peg$e25);
|
|
2538
2486
|
}
|
|
2539
2487
|
}
|
|
2540
2488
|
}
|
|
@@ -2545,12 +2493,12 @@ function peg$parse(input, options) {
|
|
|
2545
2493
|
} else {
|
|
2546
2494
|
s4 = peg$FAILED;
|
|
2547
2495
|
if (peg$silentFails === 0) {
|
|
2548
|
-
peg$fail(peg$
|
|
2496
|
+
peg$fail(peg$e23);
|
|
2549
2497
|
}
|
|
2550
2498
|
}
|
|
2551
2499
|
if (s4 !== peg$FAILED) {
|
|
2552
2500
|
peg$savedPos = s0;
|
|
2553
|
-
s0 = peg$
|
|
2501
|
+
s0 = peg$f18(s1);
|
|
2554
2502
|
} else {
|
|
2555
2503
|
peg$currPos = s0;
|
|
2556
2504
|
s0 = peg$FAILED;
|
|
@@ -2565,7 +2513,7 @@ function peg$parse(input, options) {
|
|
|
2565
2513
|
}
|
|
2566
2514
|
return s0;
|
|
2567
2515
|
}
|
|
2568
|
-
|
|
2516
|
+
chunkJWF7I3Y2_js.__name(peg$parsesingleSQuotedMultiLineString, "peg$parsesingleSQuotedMultiLineString");
|
|
2569
2517
|
function peg$parsesingleDQuotedMultiLineString() {
|
|
2570
2518
|
let s0, s1, s2, s3, s4, s5;
|
|
2571
2519
|
s0 = peg$currPos;
|
|
@@ -2575,20 +2523,20 @@ function peg$parse(input, options) {
|
|
|
2575
2523
|
} else {
|
|
2576
2524
|
s1 = peg$FAILED;
|
|
2577
2525
|
if (peg$silentFails === 0) {
|
|
2578
|
-
peg$fail(peg$
|
|
2526
|
+
peg$fail(peg$e20);
|
|
2579
2527
|
}
|
|
2580
2528
|
}
|
|
2581
2529
|
if (s1 !== peg$FAILED) {
|
|
2582
2530
|
s2 = [];
|
|
2583
2531
|
s3 = peg$currPos;
|
|
2584
2532
|
s4 = [];
|
|
2585
|
-
if (input.substr(peg$currPos, 2) === peg$
|
|
2586
|
-
s5 = peg$
|
|
2533
|
+
if (input.substr(peg$currPos, 2) === peg$c9) {
|
|
2534
|
+
s5 = peg$c9;
|
|
2587
2535
|
peg$currPos += 2;
|
|
2588
2536
|
} else {
|
|
2589
2537
|
s5 = peg$FAILED;
|
|
2590
2538
|
if (peg$silentFails === 0) {
|
|
2591
|
-
peg$fail(peg$
|
|
2539
|
+
peg$fail(peg$e21);
|
|
2592
2540
|
}
|
|
2593
2541
|
}
|
|
2594
2542
|
if (s5 === peg$FAILED) {
|
|
@@ -2598,19 +2546,19 @@ function peg$parse(input, options) {
|
|
|
2598
2546
|
} else {
|
|
2599
2547
|
s5 = peg$FAILED;
|
|
2600
2548
|
if (peg$silentFails === 0) {
|
|
2601
|
-
peg$fail(peg$
|
|
2549
|
+
peg$fail(peg$e22);
|
|
2602
2550
|
}
|
|
2603
2551
|
}
|
|
2604
2552
|
}
|
|
2605
2553
|
while (s5 !== peg$FAILED) {
|
|
2606
2554
|
s4.push(s5);
|
|
2607
|
-
if (input.substr(peg$currPos, 2) === peg$
|
|
2608
|
-
s5 = peg$
|
|
2555
|
+
if (input.substr(peg$currPos, 2) === peg$c9) {
|
|
2556
|
+
s5 = peg$c9;
|
|
2609
2557
|
peg$currPos += 2;
|
|
2610
2558
|
} else {
|
|
2611
2559
|
s5 = peg$FAILED;
|
|
2612
2560
|
if (peg$silentFails === 0) {
|
|
2613
|
-
peg$fail(peg$
|
|
2561
|
+
peg$fail(peg$e21);
|
|
2614
2562
|
}
|
|
2615
2563
|
}
|
|
2616
2564
|
if (s5 === peg$FAILED) {
|
|
@@ -2620,7 +2568,7 @@ function peg$parse(input, options) {
|
|
|
2620
2568
|
} else {
|
|
2621
2569
|
s5 = peg$FAILED;
|
|
2622
2570
|
if (peg$silentFails === 0) {
|
|
2623
|
-
peg$fail(peg$
|
|
2571
|
+
peg$fail(peg$e22);
|
|
2624
2572
|
}
|
|
2625
2573
|
}
|
|
2626
2574
|
}
|
|
@@ -2646,13 +2594,13 @@ function peg$parse(input, options) {
|
|
|
2646
2594
|
s2.push(s3);
|
|
2647
2595
|
s3 = peg$currPos;
|
|
2648
2596
|
s4 = [];
|
|
2649
|
-
if (input.substr(peg$currPos, 2) === peg$
|
|
2650
|
-
s5 = peg$
|
|
2597
|
+
if (input.substr(peg$currPos, 2) === peg$c9) {
|
|
2598
|
+
s5 = peg$c9;
|
|
2651
2599
|
peg$currPos += 2;
|
|
2652
2600
|
} else {
|
|
2653
2601
|
s5 = peg$FAILED;
|
|
2654
2602
|
if (peg$silentFails === 0) {
|
|
2655
|
-
peg$fail(peg$
|
|
2603
|
+
peg$fail(peg$e21);
|
|
2656
2604
|
}
|
|
2657
2605
|
}
|
|
2658
2606
|
if (s5 === peg$FAILED) {
|
|
@@ -2662,19 +2610,19 @@ function peg$parse(input, options) {
|
|
|
2662
2610
|
} else {
|
|
2663
2611
|
s5 = peg$FAILED;
|
|
2664
2612
|
if (peg$silentFails === 0) {
|
|
2665
|
-
peg$fail(peg$
|
|
2613
|
+
peg$fail(peg$e22);
|
|
2666
2614
|
}
|
|
2667
2615
|
}
|
|
2668
2616
|
}
|
|
2669
2617
|
while (s5 !== peg$FAILED) {
|
|
2670
2618
|
s4.push(s5);
|
|
2671
|
-
if (input.substr(peg$currPos, 2) === peg$
|
|
2672
|
-
s5 = peg$
|
|
2619
|
+
if (input.substr(peg$currPos, 2) === peg$c9) {
|
|
2620
|
+
s5 = peg$c9;
|
|
2673
2621
|
peg$currPos += 2;
|
|
2674
2622
|
} else {
|
|
2675
2623
|
s5 = peg$FAILED;
|
|
2676
2624
|
if (peg$silentFails === 0) {
|
|
2677
|
-
peg$fail(peg$
|
|
2625
|
+
peg$fail(peg$e21);
|
|
2678
2626
|
}
|
|
2679
2627
|
}
|
|
2680
2628
|
if (s5 === peg$FAILED) {
|
|
@@ -2684,7 +2632,7 @@ function peg$parse(input, options) {
|
|
|
2684
2632
|
} else {
|
|
2685
2633
|
s5 = peg$FAILED;
|
|
2686
2634
|
if (peg$silentFails === 0) {
|
|
2687
|
-
peg$fail(peg$
|
|
2635
|
+
peg$fail(peg$e22);
|
|
2688
2636
|
}
|
|
2689
2637
|
}
|
|
2690
2638
|
}
|
|
@@ -2711,13 +2659,13 @@ function peg$parse(input, options) {
|
|
|
2711
2659
|
}
|
|
2712
2660
|
if (s2 !== peg$FAILED) {
|
|
2713
2661
|
s3 = [];
|
|
2714
|
-
if (input.substr(peg$currPos, 2) === peg$
|
|
2715
|
-
s4 = peg$
|
|
2662
|
+
if (input.substr(peg$currPos, 2) === peg$c9) {
|
|
2663
|
+
s4 = peg$c9;
|
|
2716
2664
|
peg$currPos += 2;
|
|
2717
2665
|
} else {
|
|
2718
2666
|
s4 = peg$FAILED;
|
|
2719
2667
|
if (peg$silentFails === 0) {
|
|
2720
|
-
peg$fail(peg$
|
|
2668
|
+
peg$fail(peg$e21);
|
|
2721
2669
|
}
|
|
2722
2670
|
}
|
|
2723
2671
|
if (s4 === peg$FAILED) {
|
|
@@ -2727,19 +2675,19 @@ function peg$parse(input, options) {
|
|
|
2727
2675
|
} else {
|
|
2728
2676
|
s4 = peg$FAILED;
|
|
2729
2677
|
if (peg$silentFails === 0) {
|
|
2730
|
-
peg$fail(peg$
|
|
2678
|
+
peg$fail(peg$e22);
|
|
2731
2679
|
}
|
|
2732
2680
|
}
|
|
2733
2681
|
}
|
|
2734
2682
|
while (s4 !== peg$FAILED) {
|
|
2735
2683
|
s3.push(s4);
|
|
2736
|
-
if (input.substr(peg$currPos, 2) === peg$
|
|
2737
|
-
s4 = peg$
|
|
2684
|
+
if (input.substr(peg$currPos, 2) === peg$c9) {
|
|
2685
|
+
s4 = peg$c9;
|
|
2738
2686
|
peg$currPos += 2;
|
|
2739
2687
|
} else {
|
|
2740
2688
|
s4 = peg$FAILED;
|
|
2741
2689
|
if (peg$silentFails === 0) {
|
|
2742
|
-
peg$fail(peg$
|
|
2690
|
+
peg$fail(peg$e21);
|
|
2743
2691
|
}
|
|
2744
2692
|
}
|
|
2745
2693
|
if (s4 === peg$FAILED) {
|
|
@@ -2749,7 +2697,7 @@ function peg$parse(input, options) {
|
|
|
2749
2697
|
} else {
|
|
2750
2698
|
s4 = peg$FAILED;
|
|
2751
2699
|
if (peg$silentFails === 0) {
|
|
2752
|
-
peg$fail(peg$
|
|
2700
|
+
peg$fail(peg$e22);
|
|
2753
2701
|
}
|
|
2754
2702
|
}
|
|
2755
2703
|
}
|
|
@@ -2760,12 +2708,12 @@ function peg$parse(input, options) {
|
|
|
2760
2708
|
} else {
|
|
2761
2709
|
s4 = peg$FAILED;
|
|
2762
2710
|
if (peg$silentFails === 0) {
|
|
2763
|
-
peg$fail(peg$
|
|
2711
|
+
peg$fail(peg$e20);
|
|
2764
2712
|
}
|
|
2765
2713
|
}
|
|
2766
2714
|
if (s4 !== peg$FAILED) {
|
|
2767
2715
|
peg$savedPos = s0;
|
|
2768
|
-
s0 = peg$
|
|
2716
|
+
s0 = peg$f19(s1);
|
|
2769
2717
|
} else {
|
|
2770
2718
|
peg$currPos = s0;
|
|
2771
2719
|
s0 = peg$FAILED;
|
|
@@ -2780,43 +2728,43 @@ function peg$parse(input, options) {
|
|
|
2780
2728
|
}
|
|
2781
2729
|
return s0;
|
|
2782
2730
|
}
|
|
2783
|
-
|
|
2731
|
+
chunkJWF7I3Y2_js.__name(peg$parsesingleDQuotedMultiLineString, "peg$parsesingleDQuotedMultiLineString");
|
|
2784
2732
|
function peg$parsetripleDQuotedMultiLineString() {
|
|
2785
2733
|
let s0, s1, s2, s3, s4, s5, s6, s7;
|
|
2786
2734
|
s0 = peg$currPos;
|
|
2787
|
-
if (input.substr(peg$currPos, 3) === peg$
|
|
2788
|
-
s1 = peg$
|
|
2735
|
+
if (input.substr(peg$currPos, 3) === peg$c12) {
|
|
2736
|
+
s1 = peg$c12;
|
|
2789
2737
|
peg$currPos += 3;
|
|
2790
2738
|
} else {
|
|
2791
2739
|
s1 = peg$FAILED;
|
|
2792
2740
|
if (peg$silentFails === 0) {
|
|
2793
|
-
peg$fail(peg$
|
|
2741
|
+
peg$fail(peg$e29);
|
|
2794
2742
|
}
|
|
2795
2743
|
}
|
|
2796
2744
|
if (s1 !== peg$FAILED) {
|
|
2797
2745
|
s2 = [];
|
|
2798
2746
|
s3 = peg$currPos;
|
|
2799
2747
|
s4 = [];
|
|
2800
|
-
if (input.substr(peg$currPos, 4) === peg$
|
|
2801
|
-
s5 = peg$
|
|
2748
|
+
if (input.substr(peg$currPos, 4) === peg$c13) {
|
|
2749
|
+
s5 = peg$c13;
|
|
2802
2750
|
peg$currPos += 4;
|
|
2803
2751
|
} else {
|
|
2804
2752
|
s5 = peg$FAILED;
|
|
2805
2753
|
if (peg$silentFails === 0) {
|
|
2806
|
-
peg$fail(peg$
|
|
2754
|
+
peg$fail(peg$e30);
|
|
2807
2755
|
}
|
|
2808
2756
|
}
|
|
2809
2757
|
if (s5 === peg$FAILED) {
|
|
2810
2758
|
s5 = peg$currPos;
|
|
2811
2759
|
s6 = peg$currPos;
|
|
2812
2760
|
peg$silentFails++;
|
|
2813
|
-
if (input.substr(peg$currPos, 3) === peg$
|
|
2814
|
-
s7 = peg$
|
|
2761
|
+
if (input.substr(peg$currPos, 3) === peg$c12) {
|
|
2762
|
+
s7 = peg$c12;
|
|
2815
2763
|
peg$currPos += 3;
|
|
2816
2764
|
} else {
|
|
2817
2765
|
s7 = peg$FAILED;
|
|
2818
2766
|
if (peg$silentFails === 0) {
|
|
2819
|
-
peg$fail(peg$
|
|
2767
|
+
peg$fail(peg$e29);
|
|
2820
2768
|
}
|
|
2821
2769
|
}
|
|
2822
2770
|
peg$silentFails--;
|
|
@@ -2850,26 +2798,26 @@ function peg$parse(input, options) {
|
|
|
2850
2798
|
}
|
|
2851
2799
|
while (s5 !== peg$FAILED) {
|
|
2852
2800
|
s4.push(s5);
|
|
2853
|
-
if (input.substr(peg$currPos, 4) === peg$
|
|
2854
|
-
s5 = peg$
|
|
2801
|
+
if (input.substr(peg$currPos, 4) === peg$c13) {
|
|
2802
|
+
s5 = peg$c13;
|
|
2855
2803
|
peg$currPos += 4;
|
|
2856
2804
|
} else {
|
|
2857
2805
|
s5 = peg$FAILED;
|
|
2858
2806
|
if (peg$silentFails === 0) {
|
|
2859
|
-
peg$fail(peg$
|
|
2807
|
+
peg$fail(peg$e30);
|
|
2860
2808
|
}
|
|
2861
2809
|
}
|
|
2862
2810
|
if (s5 === peg$FAILED) {
|
|
2863
2811
|
s5 = peg$currPos;
|
|
2864
2812
|
s6 = peg$currPos;
|
|
2865
2813
|
peg$silentFails++;
|
|
2866
|
-
if (input.substr(peg$currPos, 3) === peg$
|
|
2867
|
-
s7 = peg$
|
|
2814
|
+
if (input.substr(peg$currPos, 3) === peg$c12) {
|
|
2815
|
+
s7 = peg$c12;
|
|
2868
2816
|
peg$currPos += 3;
|
|
2869
2817
|
} else {
|
|
2870
2818
|
s7 = peg$FAILED;
|
|
2871
2819
|
if (peg$silentFails === 0) {
|
|
2872
|
-
peg$fail(peg$
|
|
2820
|
+
peg$fail(peg$e29);
|
|
2873
2821
|
}
|
|
2874
2822
|
}
|
|
2875
2823
|
peg$silentFails--;
|
|
@@ -2923,26 +2871,26 @@ function peg$parse(input, options) {
|
|
|
2923
2871
|
s2.push(s3);
|
|
2924
2872
|
s3 = peg$currPos;
|
|
2925
2873
|
s4 = [];
|
|
2926
|
-
if (input.substr(peg$currPos, 4) === peg$
|
|
2927
|
-
s5 = peg$
|
|
2874
|
+
if (input.substr(peg$currPos, 4) === peg$c13) {
|
|
2875
|
+
s5 = peg$c13;
|
|
2928
2876
|
peg$currPos += 4;
|
|
2929
2877
|
} else {
|
|
2930
2878
|
s5 = peg$FAILED;
|
|
2931
2879
|
if (peg$silentFails === 0) {
|
|
2932
|
-
peg$fail(peg$
|
|
2880
|
+
peg$fail(peg$e30);
|
|
2933
2881
|
}
|
|
2934
2882
|
}
|
|
2935
2883
|
if (s5 === peg$FAILED) {
|
|
2936
2884
|
s5 = peg$currPos;
|
|
2937
2885
|
s6 = peg$currPos;
|
|
2938
2886
|
peg$silentFails++;
|
|
2939
|
-
if (input.substr(peg$currPos, 3) === peg$
|
|
2940
|
-
s7 = peg$
|
|
2887
|
+
if (input.substr(peg$currPos, 3) === peg$c12) {
|
|
2888
|
+
s7 = peg$c12;
|
|
2941
2889
|
peg$currPos += 3;
|
|
2942
2890
|
} else {
|
|
2943
2891
|
s7 = peg$FAILED;
|
|
2944
2892
|
if (peg$silentFails === 0) {
|
|
2945
|
-
peg$fail(peg$
|
|
2893
|
+
peg$fail(peg$e29);
|
|
2946
2894
|
}
|
|
2947
2895
|
}
|
|
2948
2896
|
peg$silentFails--;
|
|
@@ -2976,26 +2924,26 @@ function peg$parse(input, options) {
|
|
|
2976
2924
|
}
|
|
2977
2925
|
while (s5 !== peg$FAILED) {
|
|
2978
2926
|
s4.push(s5);
|
|
2979
|
-
if (input.substr(peg$currPos, 4) === peg$
|
|
2980
|
-
s5 = peg$
|
|
2927
|
+
if (input.substr(peg$currPos, 4) === peg$c13) {
|
|
2928
|
+
s5 = peg$c13;
|
|
2981
2929
|
peg$currPos += 4;
|
|
2982
2930
|
} else {
|
|
2983
2931
|
s5 = peg$FAILED;
|
|
2984
2932
|
if (peg$silentFails === 0) {
|
|
2985
|
-
peg$fail(peg$
|
|
2933
|
+
peg$fail(peg$e30);
|
|
2986
2934
|
}
|
|
2987
2935
|
}
|
|
2988
2936
|
if (s5 === peg$FAILED) {
|
|
2989
2937
|
s5 = peg$currPos;
|
|
2990
2938
|
s6 = peg$currPos;
|
|
2991
2939
|
peg$silentFails++;
|
|
2992
|
-
if (input.substr(peg$currPos, 3) === peg$
|
|
2993
|
-
s7 = peg$
|
|
2940
|
+
if (input.substr(peg$currPos, 3) === peg$c12) {
|
|
2941
|
+
s7 = peg$c12;
|
|
2994
2942
|
peg$currPos += 3;
|
|
2995
2943
|
} else {
|
|
2996
2944
|
s7 = peg$FAILED;
|
|
2997
2945
|
if (peg$silentFails === 0) {
|
|
2998
|
-
peg$fail(peg$
|
|
2946
|
+
peg$fail(peg$e29);
|
|
2999
2947
|
}
|
|
3000
2948
|
}
|
|
3001
2949
|
peg$silentFails--;
|
|
@@ -3050,26 +2998,26 @@ function peg$parse(input, options) {
|
|
|
3050
2998
|
}
|
|
3051
2999
|
if (s2 !== peg$FAILED) {
|
|
3052
3000
|
s3 = [];
|
|
3053
|
-
if (input.substr(peg$currPos, 4) === peg$
|
|
3054
|
-
s4 = peg$
|
|
3001
|
+
if (input.substr(peg$currPos, 4) === peg$c13) {
|
|
3002
|
+
s4 = peg$c13;
|
|
3055
3003
|
peg$currPos += 4;
|
|
3056
3004
|
} else {
|
|
3057
3005
|
s4 = peg$FAILED;
|
|
3058
3006
|
if (peg$silentFails === 0) {
|
|
3059
|
-
peg$fail(peg$
|
|
3007
|
+
peg$fail(peg$e30);
|
|
3060
3008
|
}
|
|
3061
3009
|
}
|
|
3062
3010
|
if (s4 === peg$FAILED) {
|
|
3063
3011
|
s4 = peg$currPos;
|
|
3064
3012
|
s5 = peg$currPos;
|
|
3065
3013
|
peg$silentFails++;
|
|
3066
|
-
if (input.substr(peg$currPos, 3) === peg$
|
|
3067
|
-
s6 = peg$
|
|
3014
|
+
if (input.substr(peg$currPos, 3) === peg$c12) {
|
|
3015
|
+
s6 = peg$c12;
|
|
3068
3016
|
peg$currPos += 3;
|
|
3069
3017
|
} else {
|
|
3070
3018
|
s6 = peg$FAILED;
|
|
3071
3019
|
if (peg$silentFails === 0) {
|
|
3072
|
-
peg$fail(peg$
|
|
3020
|
+
peg$fail(peg$e29);
|
|
3073
3021
|
}
|
|
3074
3022
|
}
|
|
3075
3023
|
peg$silentFails--;
|
|
@@ -3103,26 +3051,26 @@ function peg$parse(input, options) {
|
|
|
3103
3051
|
}
|
|
3104
3052
|
while (s4 !== peg$FAILED) {
|
|
3105
3053
|
s3.push(s4);
|
|
3106
|
-
if (input.substr(peg$currPos, 4) === peg$
|
|
3107
|
-
s4 = peg$
|
|
3054
|
+
if (input.substr(peg$currPos, 4) === peg$c13) {
|
|
3055
|
+
s4 = peg$c13;
|
|
3108
3056
|
peg$currPos += 4;
|
|
3109
3057
|
} else {
|
|
3110
3058
|
s4 = peg$FAILED;
|
|
3111
3059
|
if (peg$silentFails === 0) {
|
|
3112
|
-
peg$fail(peg$
|
|
3060
|
+
peg$fail(peg$e30);
|
|
3113
3061
|
}
|
|
3114
3062
|
}
|
|
3115
3063
|
if (s4 === peg$FAILED) {
|
|
3116
3064
|
s4 = peg$currPos;
|
|
3117
3065
|
s5 = peg$currPos;
|
|
3118
3066
|
peg$silentFails++;
|
|
3119
|
-
if (input.substr(peg$currPos, 3) === peg$
|
|
3120
|
-
s6 = peg$
|
|
3067
|
+
if (input.substr(peg$currPos, 3) === peg$c12) {
|
|
3068
|
+
s6 = peg$c12;
|
|
3121
3069
|
peg$currPos += 3;
|
|
3122
3070
|
} else {
|
|
3123
3071
|
s6 = peg$FAILED;
|
|
3124
3072
|
if (peg$silentFails === 0) {
|
|
3125
|
-
peg$fail(peg$
|
|
3073
|
+
peg$fail(peg$e29);
|
|
3126
3074
|
}
|
|
3127
3075
|
}
|
|
3128
3076
|
peg$silentFails--;
|
|
@@ -3155,18 +3103,18 @@ function peg$parse(input, options) {
|
|
|
3155
3103
|
}
|
|
3156
3104
|
}
|
|
3157
3105
|
}
|
|
3158
|
-
if (input.substr(peg$currPos, 3) === peg$
|
|
3159
|
-
s4 = peg$
|
|
3106
|
+
if (input.substr(peg$currPos, 3) === peg$c12) {
|
|
3107
|
+
s4 = peg$c12;
|
|
3160
3108
|
peg$currPos += 3;
|
|
3161
3109
|
} else {
|
|
3162
3110
|
s4 = peg$FAILED;
|
|
3163
3111
|
if (peg$silentFails === 0) {
|
|
3164
|
-
peg$fail(peg$
|
|
3112
|
+
peg$fail(peg$e29);
|
|
3165
3113
|
}
|
|
3166
3114
|
}
|
|
3167
3115
|
if (s4 !== peg$FAILED) {
|
|
3168
3116
|
peg$savedPos = s0;
|
|
3169
|
-
s0 = peg$
|
|
3117
|
+
s0 = peg$f20(s1);
|
|
3170
3118
|
} else {
|
|
3171
3119
|
peg$currPos = s0;
|
|
3172
3120
|
s0 = peg$FAILED;
|
|
@@ -3181,43 +3129,43 @@ function peg$parse(input, options) {
|
|
|
3181
3129
|
}
|
|
3182
3130
|
return s0;
|
|
3183
3131
|
}
|
|
3184
|
-
|
|
3132
|
+
chunkJWF7I3Y2_js.__name(peg$parsetripleDQuotedMultiLineString, "peg$parsetripleDQuotedMultiLineString");
|
|
3185
3133
|
function peg$parsetripleBQuotedMultiLineString() {
|
|
3186
3134
|
let s0, s1, s2, s3, s4, s5, s6, s7;
|
|
3187
3135
|
s0 = peg$currPos;
|
|
3188
|
-
if (input.substr(peg$currPos, 3) === peg$
|
|
3189
|
-
s1 = peg$
|
|
3136
|
+
if (input.substr(peg$currPos, 3) === peg$c14) {
|
|
3137
|
+
s1 = peg$c14;
|
|
3190
3138
|
peg$currPos += 3;
|
|
3191
3139
|
} else {
|
|
3192
3140
|
s1 = peg$FAILED;
|
|
3193
3141
|
if (peg$silentFails === 0) {
|
|
3194
|
-
peg$fail(peg$
|
|
3142
|
+
peg$fail(peg$e31);
|
|
3195
3143
|
}
|
|
3196
3144
|
}
|
|
3197
3145
|
if (s1 !== peg$FAILED) {
|
|
3198
3146
|
s2 = [];
|
|
3199
3147
|
s3 = peg$currPos;
|
|
3200
3148
|
s4 = [];
|
|
3201
|
-
if (input.substr(peg$currPos, 4) === peg$
|
|
3202
|
-
s5 = peg$
|
|
3149
|
+
if (input.substr(peg$currPos, 4) === peg$c15) {
|
|
3150
|
+
s5 = peg$c15;
|
|
3203
3151
|
peg$currPos += 4;
|
|
3204
3152
|
} else {
|
|
3205
3153
|
s5 = peg$FAILED;
|
|
3206
3154
|
if (peg$silentFails === 0) {
|
|
3207
|
-
peg$fail(peg$
|
|
3155
|
+
peg$fail(peg$e32);
|
|
3208
3156
|
}
|
|
3209
3157
|
}
|
|
3210
3158
|
if (s5 === peg$FAILED) {
|
|
3211
3159
|
s5 = peg$currPos;
|
|
3212
3160
|
s6 = peg$currPos;
|
|
3213
3161
|
peg$silentFails++;
|
|
3214
|
-
if (input.substr(peg$currPos, 3) === peg$
|
|
3215
|
-
s7 = peg$
|
|
3162
|
+
if (input.substr(peg$currPos, 3) === peg$c14) {
|
|
3163
|
+
s7 = peg$c14;
|
|
3216
3164
|
peg$currPos += 3;
|
|
3217
3165
|
} else {
|
|
3218
3166
|
s7 = peg$FAILED;
|
|
3219
3167
|
if (peg$silentFails === 0) {
|
|
3220
|
-
peg$fail(peg$
|
|
3168
|
+
peg$fail(peg$e31);
|
|
3221
3169
|
}
|
|
3222
3170
|
}
|
|
3223
3171
|
peg$silentFails--;
|
|
@@ -3251,26 +3199,26 @@ function peg$parse(input, options) {
|
|
|
3251
3199
|
}
|
|
3252
3200
|
while (s5 !== peg$FAILED) {
|
|
3253
3201
|
s4.push(s5);
|
|
3254
|
-
if (input.substr(peg$currPos, 4) === peg$
|
|
3255
|
-
s5 = peg$
|
|
3202
|
+
if (input.substr(peg$currPos, 4) === peg$c15) {
|
|
3203
|
+
s5 = peg$c15;
|
|
3256
3204
|
peg$currPos += 4;
|
|
3257
3205
|
} else {
|
|
3258
3206
|
s5 = peg$FAILED;
|
|
3259
3207
|
if (peg$silentFails === 0) {
|
|
3260
|
-
peg$fail(peg$
|
|
3208
|
+
peg$fail(peg$e32);
|
|
3261
3209
|
}
|
|
3262
3210
|
}
|
|
3263
3211
|
if (s5 === peg$FAILED) {
|
|
3264
3212
|
s5 = peg$currPos;
|
|
3265
3213
|
s6 = peg$currPos;
|
|
3266
3214
|
peg$silentFails++;
|
|
3267
|
-
if (input.substr(peg$currPos, 3) === peg$
|
|
3268
|
-
s7 = peg$
|
|
3215
|
+
if (input.substr(peg$currPos, 3) === peg$c14) {
|
|
3216
|
+
s7 = peg$c14;
|
|
3269
3217
|
peg$currPos += 3;
|
|
3270
3218
|
} else {
|
|
3271
3219
|
s7 = peg$FAILED;
|
|
3272
3220
|
if (peg$silentFails === 0) {
|
|
3273
|
-
peg$fail(peg$
|
|
3221
|
+
peg$fail(peg$e31);
|
|
3274
3222
|
}
|
|
3275
3223
|
}
|
|
3276
3224
|
peg$silentFails--;
|
|
@@ -3324,26 +3272,26 @@ function peg$parse(input, options) {
|
|
|
3324
3272
|
s2.push(s3);
|
|
3325
3273
|
s3 = peg$currPos;
|
|
3326
3274
|
s4 = [];
|
|
3327
|
-
if (input.substr(peg$currPos, 4) === peg$
|
|
3328
|
-
s5 = peg$
|
|
3275
|
+
if (input.substr(peg$currPos, 4) === peg$c15) {
|
|
3276
|
+
s5 = peg$c15;
|
|
3329
3277
|
peg$currPos += 4;
|
|
3330
3278
|
} else {
|
|
3331
3279
|
s5 = peg$FAILED;
|
|
3332
3280
|
if (peg$silentFails === 0) {
|
|
3333
|
-
peg$fail(peg$
|
|
3281
|
+
peg$fail(peg$e32);
|
|
3334
3282
|
}
|
|
3335
3283
|
}
|
|
3336
3284
|
if (s5 === peg$FAILED) {
|
|
3337
3285
|
s5 = peg$currPos;
|
|
3338
3286
|
s6 = peg$currPos;
|
|
3339
3287
|
peg$silentFails++;
|
|
3340
|
-
if (input.substr(peg$currPos, 3) === peg$
|
|
3341
|
-
s7 = peg$
|
|
3288
|
+
if (input.substr(peg$currPos, 3) === peg$c14) {
|
|
3289
|
+
s7 = peg$c14;
|
|
3342
3290
|
peg$currPos += 3;
|
|
3343
3291
|
} else {
|
|
3344
3292
|
s7 = peg$FAILED;
|
|
3345
3293
|
if (peg$silentFails === 0) {
|
|
3346
|
-
peg$fail(peg$
|
|
3294
|
+
peg$fail(peg$e31);
|
|
3347
3295
|
}
|
|
3348
3296
|
}
|
|
3349
3297
|
peg$silentFails--;
|
|
@@ -3377,26 +3325,26 @@ function peg$parse(input, options) {
|
|
|
3377
3325
|
}
|
|
3378
3326
|
while (s5 !== peg$FAILED) {
|
|
3379
3327
|
s4.push(s5);
|
|
3380
|
-
if (input.substr(peg$currPos, 4) === peg$
|
|
3381
|
-
s5 = peg$
|
|
3328
|
+
if (input.substr(peg$currPos, 4) === peg$c15) {
|
|
3329
|
+
s5 = peg$c15;
|
|
3382
3330
|
peg$currPos += 4;
|
|
3383
3331
|
} else {
|
|
3384
3332
|
s5 = peg$FAILED;
|
|
3385
3333
|
if (peg$silentFails === 0) {
|
|
3386
|
-
peg$fail(peg$
|
|
3334
|
+
peg$fail(peg$e32);
|
|
3387
3335
|
}
|
|
3388
3336
|
}
|
|
3389
3337
|
if (s5 === peg$FAILED) {
|
|
3390
3338
|
s5 = peg$currPos;
|
|
3391
3339
|
s6 = peg$currPos;
|
|
3392
3340
|
peg$silentFails++;
|
|
3393
|
-
if (input.substr(peg$currPos, 3) === peg$
|
|
3394
|
-
s7 = peg$
|
|
3341
|
+
if (input.substr(peg$currPos, 3) === peg$c14) {
|
|
3342
|
+
s7 = peg$c14;
|
|
3395
3343
|
peg$currPos += 3;
|
|
3396
3344
|
} else {
|
|
3397
3345
|
s7 = peg$FAILED;
|
|
3398
3346
|
if (peg$silentFails === 0) {
|
|
3399
|
-
peg$fail(peg$
|
|
3347
|
+
peg$fail(peg$e31);
|
|
3400
3348
|
}
|
|
3401
3349
|
}
|
|
3402
3350
|
peg$silentFails--;
|
|
@@ -3451,26 +3399,26 @@ function peg$parse(input, options) {
|
|
|
3451
3399
|
}
|
|
3452
3400
|
if (s2 !== peg$FAILED) {
|
|
3453
3401
|
s3 = [];
|
|
3454
|
-
if (input.substr(peg$currPos, 4) === peg$
|
|
3455
|
-
s4 = peg$
|
|
3402
|
+
if (input.substr(peg$currPos, 4) === peg$c15) {
|
|
3403
|
+
s4 = peg$c15;
|
|
3456
3404
|
peg$currPos += 4;
|
|
3457
3405
|
} else {
|
|
3458
3406
|
s4 = peg$FAILED;
|
|
3459
3407
|
if (peg$silentFails === 0) {
|
|
3460
|
-
peg$fail(peg$
|
|
3408
|
+
peg$fail(peg$e32);
|
|
3461
3409
|
}
|
|
3462
3410
|
}
|
|
3463
3411
|
if (s4 === peg$FAILED) {
|
|
3464
3412
|
s4 = peg$currPos;
|
|
3465
3413
|
s5 = peg$currPos;
|
|
3466
3414
|
peg$silentFails++;
|
|
3467
|
-
if (input.substr(peg$currPos, 3) === peg$
|
|
3468
|
-
s6 = peg$
|
|
3415
|
+
if (input.substr(peg$currPos, 3) === peg$c14) {
|
|
3416
|
+
s6 = peg$c14;
|
|
3469
3417
|
peg$currPos += 3;
|
|
3470
3418
|
} else {
|
|
3471
3419
|
s6 = peg$FAILED;
|
|
3472
3420
|
if (peg$silentFails === 0) {
|
|
3473
|
-
peg$fail(peg$
|
|
3421
|
+
peg$fail(peg$e31);
|
|
3474
3422
|
}
|
|
3475
3423
|
}
|
|
3476
3424
|
peg$silentFails--;
|
|
@@ -3504,26 +3452,26 @@ function peg$parse(input, options) {
|
|
|
3504
3452
|
}
|
|
3505
3453
|
while (s4 !== peg$FAILED) {
|
|
3506
3454
|
s3.push(s4);
|
|
3507
|
-
if (input.substr(peg$currPos, 4) === peg$
|
|
3508
|
-
s4 = peg$
|
|
3455
|
+
if (input.substr(peg$currPos, 4) === peg$c15) {
|
|
3456
|
+
s4 = peg$c15;
|
|
3509
3457
|
peg$currPos += 4;
|
|
3510
3458
|
} else {
|
|
3511
3459
|
s4 = peg$FAILED;
|
|
3512
3460
|
if (peg$silentFails === 0) {
|
|
3513
|
-
peg$fail(peg$
|
|
3461
|
+
peg$fail(peg$e32);
|
|
3514
3462
|
}
|
|
3515
3463
|
}
|
|
3516
3464
|
if (s4 === peg$FAILED) {
|
|
3517
3465
|
s4 = peg$currPos;
|
|
3518
3466
|
s5 = peg$currPos;
|
|
3519
3467
|
peg$silentFails++;
|
|
3520
|
-
if (input.substr(peg$currPos, 3) === peg$
|
|
3521
|
-
s6 = peg$
|
|
3468
|
+
if (input.substr(peg$currPos, 3) === peg$c14) {
|
|
3469
|
+
s6 = peg$c14;
|
|
3522
3470
|
peg$currPos += 3;
|
|
3523
3471
|
} else {
|
|
3524
3472
|
s6 = peg$FAILED;
|
|
3525
3473
|
if (peg$silentFails === 0) {
|
|
3526
|
-
peg$fail(peg$
|
|
3474
|
+
peg$fail(peg$e31);
|
|
3527
3475
|
}
|
|
3528
3476
|
}
|
|
3529
3477
|
peg$silentFails--;
|
|
@@ -3556,18 +3504,18 @@ function peg$parse(input, options) {
|
|
|
3556
3504
|
}
|
|
3557
3505
|
}
|
|
3558
3506
|
}
|
|
3559
|
-
if (input.substr(peg$currPos, 3) === peg$
|
|
3560
|
-
s4 = peg$
|
|
3507
|
+
if (input.substr(peg$currPos, 3) === peg$c14) {
|
|
3508
|
+
s4 = peg$c14;
|
|
3561
3509
|
peg$currPos += 3;
|
|
3562
3510
|
} else {
|
|
3563
3511
|
s4 = peg$FAILED;
|
|
3564
3512
|
if (peg$silentFails === 0) {
|
|
3565
|
-
peg$fail(peg$
|
|
3513
|
+
peg$fail(peg$e31);
|
|
3566
3514
|
}
|
|
3567
3515
|
}
|
|
3568
3516
|
if (s4 !== peg$FAILED) {
|
|
3569
3517
|
peg$savedPos = s0;
|
|
3570
|
-
s0 = peg$
|
|
3518
|
+
s0 = peg$f21(s1);
|
|
3571
3519
|
} else {
|
|
3572
3520
|
peg$currPos = s0;
|
|
3573
3521
|
s0 = peg$FAILED;
|
|
@@ -3582,7 +3530,7 @@ function peg$parse(input, options) {
|
|
|
3582
3530
|
}
|
|
3583
3531
|
return s0;
|
|
3584
3532
|
}
|
|
3585
|
-
|
|
3533
|
+
chunkJWF7I3Y2_js.__name(peg$parsetripleBQuotedMultiLineString, "peg$parsetripleBQuotedMultiLineString");
|
|
3586
3534
|
function peg$parse_n() {
|
|
3587
3535
|
let s0, s1;
|
|
3588
3536
|
if (input.charCodeAt(peg$currPos) === 10) {
|
|
@@ -3603,7 +3551,7 @@ function peg$parse(input, options) {
|
|
|
3603
3551
|
} else {
|
|
3604
3552
|
s1 = peg$FAILED;
|
|
3605
3553
|
if (peg$silentFails === 0) {
|
|
3606
|
-
peg$fail(peg$
|
|
3554
|
+
peg$fail(peg$e33);
|
|
3607
3555
|
}
|
|
3608
3556
|
}
|
|
3609
3557
|
peg$silentFails--;
|
|
@@ -3616,7 +3564,7 @@ function peg$parse(input, options) {
|
|
|
3616
3564
|
}
|
|
3617
3565
|
return s0;
|
|
3618
3566
|
}
|
|
3619
|
-
|
|
3567
|
+
chunkJWF7I3Y2_js.__name(peg$parse_n, "peg$parse_n");
|
|
3620
3568
|
function peg$parse_() {
|
|
3621
3569
|
let s0, s1;
|
|
3622
3570
|
s0 = [];
|
|
@@ -3626,7 +3574,7 @@ function peg$parse(input, options) {
|
|
|
3626
3574
|
} else {
|
|
3627
3575
|
s1 = peg$FAILED;
|
|
3628
3576
|
if (peg$silentFails === 0) {
|
|
3629
|
-
peg$fail(peg$
|
|
3577
|
+
peg$fail(peg$e34);
|
|
3630
3578
|
}
|
|
3631
3579
|
}
|
|
3632
3580
|
while (s1 !== peg$FAILED) {
|
|
@@ -3637,13 +3585,13 @@ function peg$parse(input, options) {
|
|
|
3637
3585
|
} else {
|
|
3638
3586
|
s1 = peg$FAILED;
|
|
3639
3587
|
if (peg$silentFails === 0) {
|
|
3640
|
-
peg$fail(peg$
|
|
3588
|
+
peg$fail(peg$e34);
|
|
3641
3589
|
}
|
|
3642
3590
|
}
|
|
3643
3591
|
}
|
|
3644
3592
|
return s0;
|
|
3645
3593
|
}
|
|
3646
|
-
|
|
3594
|
+
chunkJWF7I3Y2_js.__name(peg$parse_, "peg$parse_");
|
|
3647
3595
|
function peg$parse__() {
|
|
3648
3596
|
let s0, s1;
|
|
3649
3597
|
s0 = [];
|
|
@@ -3653,7 +3601,7 @@ function peg$parse(input, options) {
|
|
|
3653
3601
|
} else {
|
|
3654
3602
|
s1 = peg$FAILED;
|
|
3655
3603
|
if (peg$silentFails === 0) {
|
|
3656
|
-
peg$fail(peg$
|
|
3604
|
+
peg$fail(peg$e34);
|
|
3657
3605
|
}
|
|
3658
3606
|
}
|
|
3659
3607
|
if (s1 !== peg$FAILED) {
|
|
@@ -3665,7 +3613,7 @@ function peg$parse(input, options) {
|
|
|
3665
3613
|
} else {
|
|
3666
3614
|
s1 = peg$FAILED;
|
|
3667
3615
|
if (peg$silentFails === 0) {
|
|
3668
|
-
peg$fail(peg$
|
|
3616
|
+
peg$fail(peg$e34);
|
|
3669
3617
|
}
|
|
3670
3618
|
}
|
|
3671
3619
|
}
|
|
@@ -3674,7 +3622,7 @@ function peg$parse(input, options) {
|
|
|
3674
3622
|
}
|
|
3675
3623
|
return s0;
|
|
3676
3624
|
}
|
|
3677
|
-
|
|
3625
|
+
chunkJWF7I3Y2_js.__name(peg$parse__, "peg$parse__");
|
|
3678
3626
|
peg$result = peg$startRuleFunction();
|
|
3679
3627
|
const peg$success = peg$result !== peg$FAILED && peg$currPos === input.length;
|
|
3680
3628
|
function peg$throw() {
|
|
@@ -3687,7 +3635,7 @@ function peg$parse(input, options) {
|
|
|
3687
3635
|
peg$maxFailPos < input.length ? peg$computeLocation(peg$maxFailPos, peg$maxFailPos + 1) : peg$computeLocation(peg$maxFailPos, peg$maxFailPos)
|
|
3688
3636
|
);
|
|
3689
3637
|
}
|
|
3690
|
-
|
|
3638
|
+
chunkJWF7I3Y2_js.__name(peg$throw, "peg$throw");
|
|
3691
3639
|
if (options.peg$library) {
|
|
3692
3640
|
return (
|
|
3693
3641
|
/** @type {any} */
|
|
@@ -3708,65 +3656,65 @@ function peg$parse(input, options) {
|
|
|
3708
3656
|
peg$throw();
|
|
3709
3657
|
}
|
|
3710
3658
|
}
|
|
3711
|
-
|
|
3659
|
+
chunkJWF7I3Y2_js.__name(peg$parse, "peg$parse");
|
|
3712
3660
|
|
|
3713
3661
|
// src/index.ts
|
|
3714
3662
|
function parseEnvSpecDotEnvFile(source) {
|
|
3715
3663
|
return peg$parse(source.replaceAll("\r\n", "\n"));
|
|
3716
3664
|
}
|
|
3717
|
-
|
|
3665
|
+
chunkJWF7I3Y2_js.__name(parseEnvSpecDotEnvFile, "parseEnvSpecDotEnvFile");
|
|
3718
3666
|
|
|
3719
3667
|
Object.defineProperty(exports, "ParsedEnvSpecBlankLine", {
|
|
3720
3668
|
enumerable: true,
|
|
3721
|
-
get: function () { return
|
|
3669
|
+
get: function () { return chunkJWF7I3Y2_js.ParsedEnvSpecBlankLine; }
|
|
3722
3670
|
});
|
|
3723
3671
|
Object.defineProperty(exports, "ParsedEnvSpecComment", {
|
|
3724
3672
|
enumerable: true,
|
|
3725
|
-
get: function () { return
|
|
3673
|
+
get: function () { return chunkJWF7I3Y2_js.ParsedEnvSpecComment; }
|
|
3726
3674
|
});
|
|
3727
3675
|
Object.defineProperty(exports, "ParsedEnvSpecCommentBlock", {
|
|
3728
3676
|
enumerable: true,
|
|
3729
|
-
get: function () { return
|
|
3677
|
+
get: function () { return chunkJWF7I3Y2_js.ParsedEnvSpecCommentBlock; }
|
|
3730
3678
|
});
|
|
3731
3679
|
Object.defineProperty(exports, "ParsedEnvSpecConfigItem", {
|
|
3732
3680
|
enumerable: true,
|
|
3733
|
-
get: function () { return
|
|
3681
|
+
get: function () { return chunkJWF7I3Y2_js.ParsedEnvSpecConfigItem; }
|
|
3734
3682
|
});
|
|
3735
3683
|
Object.defineProperty(exports, "ParsedEnvSpecDecorator", {
|
|
3736
3684
|
enumerable: true,
|
|
3737
|
-
get: function () { return
|
|
3685
|
+
get: function () { return chunkJWF7I3Y2_js.ParsedEnvSpecDecorator; }
|
|
3738
3686
|
});
|
|
3739
3687
|
Object.defineProperty(exports, "ParsedEnvSpecDecoratorComment", {
|
|
3740
3688
|
enumerable: true,
|
|
3741
|
-
get: function () { return
|
|
3689
|
+
get: function () { return chunkJWF7I3Y2_js.ParsedEnvSpecDecoratorComment; }
|
|
3742
3690
|
});
|
|
3743
3691
|
Object.defineProperty(exports, "ParsedEnvSpecDivider", {
|
|
3744
3692
|
enumerable: true,
|
|
3745
|
-
get: function () { return
|
|
3693
|
+
get: function () { return chunkJWF7I3Y2_js.ParsedEnvSpecDivider; }
|
|
3746
3694
|
});
|
|
3747
3695
|
Object.defineProperty(exports, "ParsedEnvSpecFile", {
|
|
3748
3696
|
enumerable: true,
|
|
3749
|
-
get: function () { return
|
|
3697
|
+
get: function () { return chunkJWF7I3Y2_js.ParsedEnvSpecFile; }
|
|
3750
3698
|
});
|
|
3751
3699
|
Object.defineProperty(exports, "ParsedEnvSpecFunctionArgs", {
|
|
3752
3700
|
enumerable: true,
|
|
3753
|
-
get: function () { return
|
|
3701
|
+
get: function () { return chunkJWF7I3Y2_js.ParsedEnvSpecFunctionArgs; }
|
|
3754
3702
|
});
|
|
3755
3703
|
Object.defineProperty(exports, "ParsedEnvSpecFunctionCall", {
|
|
3756
3704
|
enumerable: true,
|
|
3757
|
-
get: function () { return
|
|
3705
|
+
get: function () { return chunkJWF7I3Y2_js.ParsedEnvSpecFunctionCall; }
|
|
3758
3706
|
});
|
|
3759
3707
|
Object.defineProperty(exports, "ParsedEnvSpecKeyValuePair", {
|
|
3760
3708
|
enumerable: true,
|
|
3761
|
-
get: function () { return
|
|
3709
|
+
get: function () { return chunkJWF7I3Y2_js.ParsedEnvSpecKeyValuePair; }
|
|
3762
3710
|
});
|
|
3763
3711
|
Object.defineProperty(exports, "ParsedEnvSpecStaticValue", {
|
|
3764
3712
|
enumerable: true,
|
|
3765
|
-
get: function () { return
|
|
3713
|
+
get: function () { return chunkJWF7I3Y2_js.ParsedEnvSpecStaticValue; }
|
|
3766
3714
|
});
|
|
3767
3715
|
Object.defineProperty(exports, "expand", {
|
|
3768
3716
|
enumerable: true,
|
|
3769
|
-
get: function () { return
|
|
3717
|
+
get: function () { return chunkJWF7I3Y2_js.expand; }
|
|
3770
3718
|
});
|
|
3771
3719
|
exports.envSpecUpdater = envSpecUpdater;
|
|
3772
3720
|
exports.parseEnvSpecDotEnvFile = parseEnvSpecDotEnvFile;
|