@env-spec/parser 0.3.2 → 0.3.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{chunk-N4D6RSUR.mjs → chunk-5ODZC3GU.mjs} +4 -4
- package/dist/{chunk-N4D6RSUR.mjs.map → chunk-5ODZC3GU.mjs.map} +1 -1
- package/dist/{chunk-X4PJ2KLO.js → chunk-EWY3F3XT.js} +4 -4
- package/dist/{chunk-X4PJ2KLO.js.map → chunk-EWY3F3XT.js.map} +1 -1
- package/dist/{classes-BhsV2JNw.d.mts → classes-BlcAw7bS.d.mts} +3 -3
- package/dist/{classes-BhsV2JNw.d.ts → classes-BlcAw7bS.d.ts} +3 -3
- package/dist/index.d.mts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +625 -483
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +498 -356
- 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 -11
- package/dist/simple-resolver.mjs +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkEWY3F3XT_js = require('./chunk-EWY3F3XT.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 any comment block(s) before the first config item; we add a divider for clarity
|
|
11
|
-
new
|
|
11
|
+
new chunkEWY3F3XT_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 chunkEWY3F3XT_js.ParsedEnvSpecComment({ contents: line, leadingSpace: " " })),
|
|
14
|
+
divider: new chunkEWY3F3XT_js.ParsedEnvSpecDivider({ contents: "----------", leadingSpace: " " })
|
|
15
15
|
}),
|
|
16
|
-
new
|
|
16
|
+
new chunkEWY3F3XT_js.ParsedEnvSpecBlankLine({})
|
|
17
17
|
// add extra blank line after header
|
|
18
18
|
);
|
|
19
19
|
}
|
|
20
20
|
}
|
|
21
|
-
|
|
21
|
+
chunkEWY3F3XT_js.__name(ensureHeader, "ensureHeader");
|
|
22
22
|
function createDummyDecoratorNode(decoratorName, valueStr, opts) {
|
|
23
23
|
let decStr = `@${decoratorName}`;
|
|
24
24
|
if (opts?.bareFnArgs) decStr += `(${valueStr})`;
|
|
@@ -31,7 +31,7 @@ function createDummyDecoratorNode(decoratorName, valueStr, opts) {
|
|
|
31
31
|
if (!newDecNode) throw new Error("Creating new decorator failed");
|
|
32
32
|
return newDecNode;
|
|
33
33
|
}
|
|
34
|
-
|
|
34
|
+
chunkEWY3F3XT_js.__name(createDummyDecoratorNode, "createDummyDecoratorNode");
|
|
35
35
|
function setRootDecorator(file, decoratorName, valueStr, opts) {
|
|
36
36
|
ensureHeader(file);
|
|
37
37
|
const newDecNode = createDummyDecoratorNode(decoratorName, valueStr, opts);
|
|
@@ -42,10 +42,10 @@ function setRootDecorator(file, decoratorName, valueStr, opts) {
|
|
|
42
42
|
if (!file.header) throw new Error("No header found");
|
|
43
43
|
const lastComment = file.header.data.comments[file.header.data.comments.length - 1];
|
|
44
44
|
let decCommentLine;
|
|
45
|
-
if (lastComment instanceof
|
|
45
|
+
if (lastComment instanceof chunkEWY3F3XT_js.ParsedEnvSpecDecoratorComment && lastComment.toString().length < 40) {
|
|
46
46
|
decCommentLine = lastComment;
|
|
47
47
|
} else {
|
|
48
|
-
decCommentLine = new
|
|
48
|
+
decCommentLine = new chunkEWY3F3XT_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
|
+
chunkEWY3F3XT_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 chunkEWY3F3XT_js.ParsedEnvSpecConfigItem({
|
|
63
63
|
key,
|
|
64
64
|
value: void 0,
|
|
65
65
|
preComments: [],
|
|
@@ -74,10 +74,10 @@ function setItemDecorator(file, key, decoratorName, valueStr, opts) {
|
|
|
74
74
|
} else {
|
|
75
75
|
const lastComment = item.data.preComments[item.data.preComments.length - 1];
|
|
76
76
|
let decCommentLine;
|
|
77
|
-
if (lastComment instanceof
|
|
77
|
+
if (lastComment instanceof chunkEWY3F3XT_js.ParsedEnvSpecDecoratorComment && lastComment.toString().length < 40) {
|
|
78
78
|
decCommentLine = lastComment;
|
|
79
79
|
} else {
|
|
80
|
-
decCommentLine = new
|
|
80
|
+
decCommentLine = new chunkEWY3F3XT_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
|
+
chunkEWY3F3XT_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
|
+
chunkEWY3F3XT_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
|
+
chunkEWY3F3XT_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
|
+
chunkEWY3F3XT_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
|
+
chunkEWY3F3XT_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
|
+
chunkEWY3F3XT_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
|
+
chunkEWY3F3XT_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
|
+
chunkEWY3F3XT_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
|
+
chunkEWY3F3XT_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
|
+
chunkEWY3F3XT_js.__name(describeExpected, "describeExpected");
|
|
230
230
|
function describeFound(found2) {
|
|
231
231
|
return found2 ? '"' + literalEscape(found2) + '"' : "end of input";
|
|
232
232
|
}
|
|
233
|
-
|
|
233
|
+
chunkEWY3F3XT_js.__name(describeFound, "describeFound");
|
|
234
234
|
return "Expected " + describeExpected(expected) + " but " + describeFound(found) + " found.";
|
|
235
235
|
}
|
|
236
236
|
};
|
|
@@ -260,22 +260,24 @@ function peg$parse(input, options) {
|
|
|
260
260
|
const peg$r0 = /^[a-zA-Z_]/;
|
|
261
261
|
const peg$r1 = /^[a-zA-Z0-9_.\-]/;
|
|
262
262
|
const peg$r2 = /^[^\n]/;
|
|
263
|
-
const peg$r3 = /^[
|
|
264
|
-
const peg$r4 = /^[^ \t
|
|
265
|
-
const peg$r5 = /^[
|
|
266
|
-
const peg$r6 = /^[ \t]/;
|
|
267
|
-
const peg$r7 = /^[
|
|
268
|
-
const peg$r8 = /^[ \t
|
|
269
|
-
const peg$r9 = /^[
|
|
270
|
-
const peg$r10 = /^[
|
|
271
|
-
const peg$r11 = /^[
|
|
272
|
-
const peg$r12 = /^[
|
|
273
|
-
const peg$r13 = /^[
|
|
274
|
-
const peg$r14 = /^[
|
|
275
|
-
const peg$r15 = /^[
|
|
276
|
-
const peg$r16 = /^[^
|
|
277
|
-
const peg$r17 = /^[
|
|
278
|
-
const peg$r18 = /^[
|
|
263
|
+
const peg$r3 = /^[^ \t@#\n]/;
|
|
264
|
+
const peg$r4 = /^[^ \t@\n]/;
|
|
265
|
+
const peg$r5 = /^[a-zA-Z]/;
|
|
266
|
+
const peg$r6 = /^[^ \t\n=()#@]/;
|
|
267
|
+
const peg$r7 = /^[^ \n,)]/;
|
|
268
|
+
const peg$r8 = /^[ \t]/;
|
|
269
|
+
const peg$r9 = /^[a-zA-Z0-9_]/;
|
|
270
|
+
const peg$r10 = /^[ \t\n]/;
|
|
271
|
+
const peg$r11 = /^[\-=*#]/;
|
|
272
|
+
const peg$r12 = /^['"`]/;
|
|
273
|
+
const peg$r13 = /^[^#\n]/;
|
|
274
|
+
const peg$r14 = /^[^# \n]/;
|
|
275
|
+
const peg$r15 = /^["]/;
|
|
276
|
+
const peg$r16 = /^[^"\n]/;
|
|
277
|
+
const peg$r17 = /^[']/;
|
|
278
|
+
const peg$r18 = /^[^'\n]/;
|
|
279
|
+
const peg$r19 = /^[`]/;
|
|
280
|
+
const peg$r20 = /^[^`\n]/;
|
|
279
281
|
const peg$e0 = peg$literalExpectation("\n", false);
|
|
280
282
|
const peg$e1 = peg$literalExpectation("export ", false);
|
|
281
283
|
const peg$e2 = peg$literalExpectation("=", false);
|
|
@@ -284,43 +286,45 @@ function peg$parse(input, options) {
|
|
|
284
286
|
const peg$e5 = peg$literalExpectation("#", false);
|
|
285
287
|
const peg$e6 = peg$literalExpectation("@", false);
|
|
286
288
|
const peg$e7 = peg$classExpectation(["\n"], true, false, false);
|
|
287
|
-
const peg$e8 = peg$classExpectation([
|
|
288
|
-
const peg$e9 = peg$classExpectation([" ", " ", "
|
|
289
|
-
const peg$e10 = peg$
|
|
290
|
-
const peg$e11 = peg$
|
|
291
|
-
const peg$e12 = peg$literalExpectation("
|
|
292
|
-
const peg$e13 = peg$
|
|
293
|
-
const peg$e14 = peg$
|
|
294
|
-
const peg$e15 = peg$classExpectation([
|
|
295
|
-
const peg$e16 = peg$classExpectation([" ", " "
|
|
296
|
-
const peg$e17 = peg$classExpectation(["
|
|
297
|
-
const peg$e18 = peg$classExpectation(["
|
|
298
|
-
const peg$e19 = peg$classExpectation(["
|
|
299
|
-
const peg$e20 = peg$classExpectation(["
|
|
300
|
-
const peg$e21 = peg$classExpectation([
|
|
301
|
-
const peg$e22 = peg$
|
|
302
|
-
const peg$e23 = peg$classExpectation(['"'
|
|
303
|
-
const peg$e24 = peg$
|
|
304
|
-
const peg$e25 = peg$
|
|
305
|
-
const peg$e26 = peg$classExpectation(["'"
|
|
306
|
-
const peg$e27 = peg$
|
|
307
|
-
const peg$e28 = peg$
|
|
308
|
-
const peg$e29 = peg$classExpectation(["`"
|
|
309
|
-
const peg$e30 = peg$literalExpectation(
|
|
310
|
-
const peg$e31 = peg$
|
|
311
|
-
const peg$e32 = peg$literalExpectation("
|
|
312
|
-
const peg$e33 = peg$literalExpectation("
|
|
313
|
-
const peg$e34 = peg$
|
|
289
|
+
const peg$e8 = peg$classExpectation([" ", " ", "@", "#", "\n"], true, false, false);
|
|
290
|
+
const peg$e9 = peg$classExpectation([" ", " ", "@", "\n"], true, false, false);
|
|
291
|
+
const peg$e10 = peg$classExpectation([["a", "z"], ["A", "Z"]], false, false, false);
|
|
292
|
+
const peg$e11 = peg$classExpectation([" ", " ", "\n", "=", "(", ")", "#", "@"], true, false, false);
|
|
293
|
+
const peg$e12 = peg$literalExpectation("(", false);
|
|
294
|
+
const peg$e13 = peg$literalExpectation(",", false);
|
|
295
|
+
const peg$e14 = peg$literalExpectation(")", false);
|
|
296
|
+
const peg$e15 = peg$classExpectation([" ", "\n", ",", ")"], true, false, false);
|
|
297
|
+
const peg$e16 = peg$classExpectation([" ", " "], false, false, false);
|
|
298
|
+
const peg$e17 = peg$classExpectation([["a", "z"], ["A", "Z"], ["0", "9"], "_"], false, false, false);
|
|
299
|
+
const peg$e18 = peg$classExpectation([" ", " ", "\n"], false, false, false);
|
|
300
|
+
const peg$e19 = peg$classExpectation(["-", "=", "*", "#"], false, false, false);
|
|
301
|
+
const peg$e20 = peg$classExpectation(["'", '"', "`"], false, false, false);
|
|
302
|
+
const peg$e21 = peg$classExpectation(["#", "\n"], true, false, false);
|
|
303
|
+
const peg$e22 = peg$classExpectation(["#", " ", "\n"], true, false, false);
|
|
304
|
+
const peg$e23 = peg$classExpectation(['"'], false, false, false);
|
|
305
|
+
const peg$e24 = peg$literalExpectation('\\"', false);
|
|
306
|
+
const peg$e25 = peg$classExpectation(['"', "\n"], true, false, false);
|
|
307
|
+
const peg$e26 = peg$classExpectation(["'"], false, false, false);
|
|
308
|
+
const peg$e27 = peg$literalExpectation("\\'", false);
|
|
309
|
+
const peg$e28 = peg$classExpectation(["'", "\n"], true, false, false);
|
|
310
|
+
const peg$e29 = peg$classExpectation(["`"], false, false, false);
|
|
311
|
+
const peg$e30 = peg$literalExpectation("\\`", false);
|
|
312
|
+
const peg$e31 = peg$classExpectation(["`", "\n"], true, false, false);
|
|
313
|
+
const peg$e32 = peg$literalExpectation('"""', false);
|
|
314
|
+
const peg$e33 = peg$literalExpectation('\\"""', false);
|
|
315
|
+
const peg$e34 = peg$literalExpectation("```", false);
|
|
316
|
+
const peg$e35 = peg$literalExpectation("\\```", false);
|
|
317
|
+
const peg$e36 = peg$anyExpectation();
|
|
314
318
|
function peg$f0() {
|
|
315
|
-
return new
|
|
319
|
+
return new chunkEWY3F3XT_js.ParsedEnvSpecBlankLine({ _location: location() });
|
|
316
320
|
}
|
|
317
|
-
|
|
321
|
+
chunkEWY3F3XT_js.__name(peg$f0, "peg$f0");
|
|
318
322
|
function peg$f1(contents) {
|
|
319
|
-
return new
|
|
323
|
+
return new chunkEWY3F3XT_js.ParsedEnvSpecFile(contents);
|
|
320
324
|
}
|
|
321
|
-
|
|
325
|
+
chunkEWY3F3XT_js.__name(peg$f1, "peg$f1");
|
|
322
326
|
function peg$f2(preComments, key, value, postComment) {
|
|
323
|
-
return new
|
|
327
|
+
return new chunkEWY3F3XT_js.ParsedEnvSpecConfigItem({
|
|
324
328
|
key,
|
|
325
329
|
preComments,
|
|
326
330
|
postComment,
|
|
@@ -328,142 +332,145 @@ function peg$parse(input, options) {
|
|
|
328
332
|
_location: location()
|
|
329
333
|
});
|
|
330
334
|
}
|
|
331
|
-
|
|
335
|
+
chunkEWY3F3XT_js.__name(peg$f2, "peg$f2");
|
|
332
336
|
function peg$f3(comments, end) {
|
|
333
|
-
return new
|
|
337
|
+
return new chunkEWY3F3XT_js.ParsedEnvSpecCommentBlock({
|
|
334
338
|
comments,
|
|
335
|
-
divider: end instanceof
|
|
339
|
+
divider: end instanceof chunkEWY3F3XT_js.ParsedEnvSpecDivider ? end : void 0,
|
|
336
340
|
_location: location()
|
|
337
341
|
});
|
|
338
342
|
}
|
|
339
|
-
|
|
343
|
+
chunkEWY3F3XT_js.__name(peg$f3, "peg$f3");
|
|
340
344
|
function peg$f4(leadingSpace, contents) {
|
|
341
|
-
return new
|
|
345
|
+
return new chunkEWY3F3XT_js.ParsedEnvSpecComment({
|
|
342
346
|
contents,
|
|
343
347
|
leadingSpace,
|
|
344
348
|
_location: location()
|
|
345
349
|
});
|
|
346
350
|
}
|
|
347
|
-
|
|
348
|
-
function peg$f5(leadingSpace, first, rest,
|
|
349
|
-
const allDecorators = [first
|
|
350
|
-
let
|
|
351
|
-
|
|
352
|
-
if (
|
|
353
|
-
|
|
351
|
+
chunkEWY3F3XT_js.__name(peg$f4, "peg$f4");
|
|
352
|
+
function peg$f5(leadingSpace, first, rest, postComment) {
|
|
353
|
+
const allDecorators = [first];
|
|
354
|
+
let lastDecorator = first;
|
|
355
|
+
for (const item of rest) {
|
|
356
|
+
if (item instanceof chunkEWY3F3XT_js.ParsedEnvSpecDecorator) {
|
|
357
|
+
allDecorators.push(item);
|
|
358
|
+
lastDecorator = item;
|
|
354
359
|
} else {
|
|
355
|
-
|
|
356
|
-
lastDec.data.warning = `Unexpected trailing text after @${lastDec.name}`;
|
|
357
|
-
postComment = trailingText;
|
|
360
|
+
lastDecorator.data.strayText = item;
|
|
358
361
|
}
|
|
359
362
|
}
|
|
360
|
-
return new
|
|
363
|
+
return new chunkEWY3F3XT_js.ParsedEnvSpecDecoratorComment({
|
|
361
364
|
decorators: allDecorators,
|
|
362
365
|
leadingSpace,
|
|
363
366
|
postComment,
|
|
364
367
|
_location: location()
|
|
365
368
|
});
|
|
366
369
|
}
|
|
367
|
-
|
|
368
|
-
function peg$f6(
|
|
369
|
-
return
|
|
370
|
+
chunkEWY3F3XT_js.__name(peg$f5, "peg$f5");
|
|
371
|
+
function peg$f6(first, rest) {
|
|
372
|
+
return [first, ...rest].join(" ");
|
|
373
|
+
}
|
|
374
|
+
chunkEWY3F3XT_js.__name(peg$f6, "peg$f6");
|
|
375
|
+
function peg$f7(name, val) {
|
|
376
|
+
return new chunkEWY3F3XT_js.ParsedEnvSpecDecorator({
|
|
370
377
|
name,
|
|
371
378
|
value: Array.isArray(val) ? val[1] : val,
|
|
372
379
|
isBareFnCall: val && !Array.isArray(val),
|
|
373
380
|
_location: location()
|
|
374
381
|
});
|
|
375
382
|
}
|
|
376
|
-
|
|
377
|
-
function peg$
|
|
378
|
-
return new
|
|
383
|
+
chunkEWY3F3XT_js.__name(peg$f7, "peg$f7");
|
|
384
|
+
function peg$f8(name, args) {
|
|
385
|
+
return new chunkEWY3F3XT_js.ParsedEnvSpecFunctionCall({
|
|
379
386
|
name,
|
|
380
387
|
args,
|
|
381
388
|
_location: location()
|
|
382
389
|
});
|
|
383
390
|
}
|
|
384
|
-
|
|
385
|
-
function peg$
|
|
386
|
-
return new
|
|
391
|
+
chunkEWY3F3XT_js.__name(peg$f8, "peg$f8");
|
|
392
|
+
function peg$f9(key, val) {
|
|
393
|
+
return new chunkEWY3F3XT_js.ParsedEnvSpecKeyValuePair({ key, val });
|
|
387
394
|
}
|
|
388
|
-
|
|
389
|
-
function peg$
|
|
390
|
-
return new
|
|
395
|
+
chunkEWY3F3XT_js.__name(peg$f9, "peg$f9");
|
|
396
|
+
function peg$f10(values) {
|
|
397
|
+
return new chunkEWY3F3XT_js.ParsedEnvSpecFunctionArgs({
|
|
391
398
|
values: values || [],
|
|
392
399
|
_location: location()
|
|
393
400
|
});
|
|
394
401
|
}
|
|
395
|
-
|
|
396
|
-
function peg$
|
|
397
|
-
return new
|
|
402
|
+
chunkEWY3F3XT_js.__name(peg$f10, "peg$f10");
|
|
403
|
+
function peg$f11() {
|
|
404
|
+
return new chunkEWY3F3XT_js.ParsedEnvSpecStaticValue({ rawValue: text(), _location: location() });
|
|
398
405
|
}
|
|
399
|
-
|
|
400
|
-
function peg$
|
|
401
|
-
return new
|
|
406
|
+
chunkEWY3F3XT_js.__name(peg$f11, "peg$f11");
|
|
407
|
+
function peg$f12(name, args) {
|
|
408
|
+
return new chunkEWY3F3XT_js.ParsedEnvSpecFunctionCall({
|
|
402
409
|
name,
|
|
403
410
|
args,
|
|
404
411
|
_location: location()
|
|
405
412
|
});
|
|
406
413
|
}
|
|
407
|
-
|
|
408
|
-
function peg$
|
|
409
|
-
return new
|
|
414
|
+
chunkEWY3F3XT_js.__name(peg$f12, "peg$f12");
|
|
415
|
+
function peg$f13(key, val) {
|
|
416
|
+
return new chunkEWY3F3XT_js.ParsedEnvSpecKeyValuePair({ key, val });
|
|
410
417
|
}
|
|
411
|
-
|
|
412
|
-
function peg$
|
|
413
|
-
return new
|
|
418
|
+
chunkEWY3F3XT_js.__name(peg$f13, "peg$f13");
|
|
419
|
+
function peg$f14(values) {
|
|
420
|
+
return new chunkEWY3F3XT_js.ParsedEnvSpecFunctionArgs({
|
|
414
421
|
values: values || [],
|
|
415
422
|
_location: location()
|
|
416
423
|
});
|
|
417
424
|
}
|
|
418
|
-
|
|
419
|
-
function peg$
|
|
420
|
-
return new
|
|
425
|
+
chunkEWY3F3XT_js.__name(peg$f14, "peg$f14");
|
|
426
|
+
function peg$f15() {
|
|
427
|
+
return new chunkEWY3F3XT_js.ParsedEnvSpecStaticValue({ rawValue: text(), _location: location() });
|
|
421
428
|
}
|
|
422
|
-
|
|
423
|
-
function peg$
|
|
424
|
-
return new
|
|
429
|
+
chunkEWY3F3XT_js.__name(peg$f15, "peg$f15");
|
|
430
|
+
function peg$f16(leadingSpace, contents) {
|
|
431
|
+
return new chunkEWY3F3XT_js.ParsedEnvSpecDivider({
|
|
425
432
|
contents,
|
|
426
433
|
leadingSpace,
|
|
427
434
|
_location: location()
|
|
428
435
|
});
|
|
429
436
|
}
|
|
430
|
-
|
|
431
|
-
function peg$f16() {
|
|
432
|
-
return new chunkX4PJ2KLO_js.ParsedEnvSpecStaticValue({ rawValue: text(), _location: location() });
|
|
433
|
-
}
|
|
434
|
-
chunkX4PJ2KLO_js.__name(peg$f16, "peg$f16");
|
|
437
|
+
chunkEWY3F3XT_js.__name(peg$f16, "peg$f16");
|
|
435
438
|
function peg$f17() {
|
|
436
|
-
return new
|
|
439
|
+
return new chunkEWY3F3XT_js.ParsedEnvSpecStaticValue({ rawValue: text(), _location: location() });
|
|
437
440
|
}
|
|
438
|
-
|
|
439
|
-
function peg$f18(
|
|
440
|
-
return new
|
|
441
|
+
chunkEWY3F3XT_js.__name(peg$f17, "peg$f17");
|
|
442
|
+
function peg$f18() {
|
|
443
|
+
return new chunkEWY3F3XT_js.ParsedEnvSpecStaticValue({ rawValue: text(), _location: location() });
|
|
441
444
|
}
|
|
442
|
-
|
|
445
|
+
chunkEWY3F3XT_js.__name(peg$f18, "peg$f18");
|
|
443
446
|
function peg$f19(quote) {
|
|
444
|
-
return new
|
|
447
|
+
return new chunkEWY3F3XT_js.ParsedEnvSpecStaticValue({ quote, rawValue: text(), _location: location() });
|
|
445
448
|
}
|
|
446
|
-
|
|
449
|
+
chunkEWY3F3XT_js.__name(peg$f19, "peg$f19");
|
|
447
450
|
function peg$f20(quote) {
|
|
448
|
-
return new
|
|
451
|
+
return new chunkEWY3F3XT_js.ParsedEnvSpecStaticValue({ quote, rawValue: text(), _location: location() });
|
|
449
452
|
}
|
|
450
|
-
|
|
453
|
+
chunkEWY3F3XT_js.__name(peg$f20, "peg$f20");
|
|
451
454
|
function peg$f21(quote) {
|
|
452
|
-
return new
|
|
455
|
+
return new chunkEWY3F3XT_js.ParsedEnvSpecStaticValue({ quote, rawValue: text(), _location: location() });
|
|
453
456
|
}
|
|
454
|
-
|
|
457
|
+
chunkEWY3F3XT_js.__name(peg$f21, "peg$f21");
|
|
455
458
|
function peg$f22(quote) {
|
|
456
|
-
return new
|
|
459
|
+
return new chunkEWY3F3XT_js.ParsedEnvSpecStaticValue({ quote, isMultiLine: true, rawValue: text(), _location: location() });
|
|
457
460
|
}
|
|
458
|
-
|
|
461
|
+
chunkEWY3F3XT_js.__name(peg$f22, "peg$f22");
|
|
459
462
|
function peg$f23(quote) {
|
|
460
|
-
return new
|
|
463
|
+
return new chunkEWY3F3XT_js.ParsedEnvSpecStaticValue({ quote, isMultiLine: true, rawValue: text(), _location: location() });
|
|
461
464
|
}
|
|
462
|
-
|
|
465
|
+
chunkEWY3F3XT_js.__name(peg$f23, "peg$f23");
|
|
463
466
|
function peg$f24(quote) {
|
|
464
|
-
return new
|
|
467
|
+
return new chunkEWY3F3XT_js.ParsedEnvSpecStaticValue({ quote, isMultiLine: true, rawValue: text(), _location: location() });
|
|
468
|
+
}
|
|
469
|
+
chunkEWY3F3XT_js.__name(peg$f24, "peg$f24");
|
|
470
|
+
function peg$f25(quote) {
|
|
471
|
+
return new chunkEWY3F3XT_js.ParsedEnvSpecStaticValue({ quote, isMultiLine: true, rawValue: text(), _location: location() });
|
|
465
472
|
}
|
|
466
|
-
|
|
473
|
+
chunkEWY3F3XT_js.__name(peg$f25, "peg$f25");
|
|
467
474
|
let peg$currPos = options.peg$currPos | 0;
|
|
468
475
|
let peg$savedPos = peg$currPos;
|
|
469
476
|
const peg$posDetailsCache = [{ line: 1, column: 1 }];
|
|
@@ -480,11 +487,11 @@ function peg$parse(input, options) {
|
|
|
480
487
|
function text() {
|
|
481
488
|
return input.substring(peg$savedPos, peg$currPos);
|
|
482
489
|
}
|
|
483
|
-
|
|
490
|
+
chunkEWY3F3XT_js.__name(text, "text");
|
|
484
491
|
function offset() {
|
|
485
492
|
return peg$savedPos;
|
|
486
493
|
}
|
|
487
|
-
|
|
494
|
+
chunkEWY3F3XT_js.__name(offset, "offset");
|
|
488
495
|
function range() {
|
|
489
496
|
return {
|
|
490
497
|
source: peg$source,
|
|
@@ -492,11 +499,11 @@ function peg$parse(input, options) {
|
|
|
492
499
|
end: peg$currPos
|
|
493
500
|
};
|
|
494
501
|
}
|
|
495
|
-
|
|
502
|
+
chunkEWY3F3XT_js.__name(range, "range");
|
|
496
503
|
function location() {
|
|
497
504
|
return peg$computeLocation(peg$savedPos, peg$currPos);
|
|
498
505
|
}
|
|
499
|
-
|
|
506
|
+
chunkEWY3F3XT_js.__name(location, "location");
|
|
500
507
|
function expected(description, location2) {
|
|
501
508
|
location2 = location2 !== void 0 ? location2 : peg$computeLocation(peg$savedPos, peg$currPos);
|
|
502
509
|
throw peg$buildStructuredError(
|
|
@@ -505,12 +512,12 @@ function peg$parse(input, options) {
|
|
|
505
512
|
location2
|
|
506
513
|
);
|
|
507
514
|
}
|
|
508
|
-
|
|
515
|
+
chunkEWY3F3XT_js.__name(expected, "expected");
|
|
509
516
|
function error(message, location2) {
|
|
510
517
|
location2 = location2 !== void 0 ? location2 : peg$computeLocation(peg$savedPos, peg$currPos);
|
|
511
518
|
throw peg$buildSimpleError(message, location2);
|
|
512
519
|
}
|
|
513
|
-
|
|
520
|
+
chunkEWY3F3XT_js.__name(error, "error");
|
|
514
521
|
function peg$getUnicode(pos = peg$currPos) {
|
|
515
522
|
const cp = input.codePointAt(pos);
|
|
516
523
|
if (cp === void 0) {
|
|
@@ -518,27 +525,27 @@ function peg$parse(input, options) {
|
|
|
518
525
|
}
|
|
519
526
|
return String.fromCodePoint(cp);
|
|
520
527
|
}
|
|
521
|
-
|
|
528
|
+
chunkEWY3F3XT_js.__name(peg$getUnicode, "peg$getUnicode");
|
|
522
529
|
function peg$literalExpectation(text2, ignoreCase) {
|
|
523
530
|
return { type: "literal", text: text2, ignoreCase };
|
|
524
531
|
}
|
|
525
|
-
|
|
532
|
+
chunkEWY3F3XT_js.__name(peg$literalExpectation, "peg$literalExpectation");
|
|
526
533
|
function peg$classExpectation(parts, inverted, ignoreCase, unicode) {
|
|
527
534
|
return { type: "class", parts, inverted, ignoreCase, unicode };
|
|
528
535
|
}
|
|
529
|
-
|
|
536
|
+
chunkEWY3F3XT_js.__name(peg$classExpectation, "peg$classExpectation");
|
|
530
537
|
function peg$anyExpectation() {
|
|
531
538
|
return { type: "any" };
|
|
532
539
|
}
|
|
533
|
-
|
|
540
|
+
chunkEWY3F3XT_js.__name(peg$anyExpectation, "peg$anyExpectation");
|
|
534
541
|
function peg$endExpectation() {
|
|
535
542
|
return { type: "end" };
|
|
536
543
|
}
|
|
537
|
-
|
|
544
|
+
chunkEWY3F3XT_js.__name(peg$endExpectation, "peg$endExpectation");
|
|
538
545
|
function peg$otherExpectation(description) {
|
|
539
546
|
return { type: "other", description };
|
|
540
547
|
}
|
|
541
|
-
|
|
548
|
+
chunkEWY3F3XT_js.__name(peg$otherExpectation, "peg$otherExpectation");
|
|
542
549
|
function peg$computePosDetails(pos) {
|
|
543
550
|
let details = peg$posDetailsCache[pos];
|
|
544
551
|
let p;
|
|
@@ -570,7 +577,7 @@ function peg$parse(input, options) {
|
|
|
570
577
|
return details;
|
|
571
578
|
}
|
|
572
579
|
}
|
|
573
|
-
|
|
580
|
+
chunkEWY3F3XT_js.__name(peg$computePosDetails, "peg$computePosDetails");
|
|
574
581
|
function peg$computeLocation(startPos, endPos, offset2) {
|
|
575
582
|
const startPosDetails = peg$computePosDetails(startPos);
|
|
576
583
|
const endPosDetails = peg$computePosDetails(endPos);
|
|
@@ -593,7 +600,7 @@ function peg$parse(input, options) {
|
|
|
593
600
|
}
|
|
594
601
|
return res;
|
|
595
602
|
}
|
|
596
|
-
|
|
603
|
+
chunkEWY3F3XT_js.__name(peg$computeLocation, "peg$computeLocation");
|
|
597
604
|
function peg$fail(expected2) {
|
|
598
605
|
if (peg$currPos < peg$maxFailPos) {
|
|
599
606
|
return;
|
|
@@ -604,11 +611,11 @@ function peg$parse(input, options) {
|
|
|
604
611
|
}
|
|
605
612
|
peg$maxFailExpected.push(expected2);
|
|
606
613
|
}
|
|
607
|
-
|
|
614
|
+
chunkEWY3F3XT_js.__name(peg$fail, "peg$fail");
|
|
608
615
|
function peg$buildSimpleError(message, location2) {
|
|
609
616
|
return new peg$SyntaxError(message, null, null, location2);
|
|
610
617
|
}
|
|
611
|
-
|
|
618
|
+
chunkEWY3F3XT_js.__name(peg$buildSimpleError, "peg$buildSimpleError");
|
|
612
619
|
function peg$buildStructuredError(expected2, found, location2) {
|
|
613
620
|
return new peg$SyntaxError(
|
|
614
621
|
peg$SyntaxError.buildMessage(expected2, found),
|
|
@@ -617,7 +624,7 @@ function peg$parse(input, options) {
|
|
|
617
624
|
location2
|
|
618
625
|
);
|
|
619
626
|
}
|
|
620
|
-
|
|
627
|
+
chunkEWY3F3XT_js.__name(peg$buildStructuredError, "peg$buildStructuredError");
|
|
621
628
|
function peg$parseEnvSpecFile() {
|
|
622
629
|
let s0, s1, s2, s3;
|
|
623
630
|
s0 = peg$currPos;
|
|
@@ -678,7 +685,7 @@ function peg$parse(input, options) {
|
|
|
678
685
|
s0 = s1;
|
|
679
686
|
return s0;
|
|
680
687
|
}
|
|
681
|
-
|
|
688
|
+
chunkEWY3F3XT_js.__name(peg$parseEnvSpecFile, "peg$parseEnvSpecFile");
|
|
682
689
|
function peg$parseConfigItem() {
|
|
683
690
|
let s0, s1, s2, s3, s4, s5, s6, s7, s9, s10;
|
|
684
691
|
s0 = peg$currPos;
|
|
@@ -809,7 +816,7 @@ function peg$parse(input, options) {
|
|
|
809
816
|
}
|
|
810
817
|
return s0;
|
|
811
818
|
}
|
|
812
|
-
|
|
819
|
+
chunkEWY3F3XT_js.__name(peg$parseConfigItem, "peg$parseConfigItem");
|
|
813
820
|
function peg$parseConfigItemKey() {
|
|
814
821
|
let s0, s1, s2, s3, s4;
|
|
815
822
|
s0 = peg$currPos;
|
|
@@ -859,7 +866,7 @@ function peg$parse(input, options) {
|
|
|
859
866
|
}
|
|
860
867
|
return s0;
|
|
861
868
|
}
|
|
862
|
-
|
|
869
|
+
chunkEWY3F3XT_js.__name(peg$parseConfigItemKey, "peg$parseConfigItemKey");
|
|
863
870
|
function peg$parseConfigItemValue() {
|
|
864
871
|
let s0;
|
|
865
872
|
s0 = peg$parseFunctionCall();
|
|
@@ -874,7 +881,7 @@ function peg$parse(input, options) {
|
|
|
874
881
|
}
|
|
875
882
|
return s0;
|
|
876
883
|
}
|
|
877
|
-
|
|
884
|
+
chunkEWY3F3XT_js.__name(peg$parseConfigItemValue, "peg$parseConfigItemValue");
|
|
878
885
|
function peg$parseCommentBlock() {
|
|
879
886
|
let s0, s1, s2, s3, s4;
|
|
880
887
|
s0 = peg$currPos;
|
|
@@ -938,7 +945,7 @@ function peg$parse(input, options) {
|
|
|
938
945
|
}
|
|
939
946
|
return s0;
|
|
940
947
|
}
|
|
941
|
-
|
|
948
|
+
chunkEWY3F3XT_js.__name(peg$parseCommentBlock, "peg$parseCommentBlock");
|
|
942
949
|
function peg$parseComment() {
|
|
943
950
|
let s0, s1, s2, s3, s4, s5, s6, s7, s8, s9;
|
|
944
951
|
s0 = peg$currPos;
|
|
@@ -1033,9 +1040,9 @@ function peg$parse(input, options) {
|
|
|
1033
1040
|
}
|
|
1034
1041
|
return s0;
|
|
1035
1042
|
}
|
|
1036
|
-
|
|
1043
|
+
chunkEWY3F3XT_js.__name(peg$parseComment, "peg$parseComment");
|
|
1037
1044
|
function peg$parseDecoratorComment() {
|
|
1038
|
-
let s0, s1, s2, s3, s4, s5, s6, s7, s8, s9, s10;
|
|
1045
|
+
let s0, s1, s2, s3, s4, s5, s6, s7, s8, s9, s10, s11;
|
|
1039
1046
|
s0 = peg$currPos;
|
|
1040
1047
|
if (input.charCodeAt(peg$currPos) === 35) {
|
|
1041
1048
|
s1 = peg$c3;
|
|
@@ -1056,7 +1063,7 @@ function peg$parse(input, options) {
|
|
|
1056
1063
|
s5 = peg$currPos;
|
|
1057
1064
|
s6 = peg$parse__();
|
|
1058
1065
|
if (s6 !== peg$FAILED) {
|
|
1059
|
-
s7 = peg$
|
|
1066
|
+
s7 = peg$parseDecoratorOrText();
|
|
1060
1067
|
if (s7 !== peg$FAILED) {
|
|
1061
1068
|
s5 = s7;
|
|
1062
1069
|
} else {
|
|
@@ -1072,7 +1079,7 @@ function peg$parse(input, options) {
|
|
|
1072
1079
|
s5 = peg$currPos;
|
|
1073
1080
|
s6 = peg$parse__();
|
|
1074
1081
|
if (s6 !== peg$FAILED) {
|
|
1075
|
-
s7 = peg$
|
|
1082
|
+
s7 = peg$parseDecoratorOrText();
|
|
1076
1083
|
if (s7 !== peg$FAILED) {
|
|
1077
1084
|
s5 = s7;
|
|
1078
1085
|
} else {
|
|
@@ -1085,121 +1092,256 @@ function peg$parse(input, options) {
|
|
|
1085
1092
|
}
|
|
1086
1093
|
}
|
|
1087
1094
|
s5 = peg$currPos;
|
|
1088
|
-
s6 = peg$
|
|
1089
|
-
|
|
1090
|
-
|
|
1091
|
-
|
|
1092
|
-
s9 =
|
|
1093
|
-
|
|
1095
|
+
s6 = peg$parse_();
|
|
1096
|
+
s7 = peg$currPos;
|
|
1097
|
+
s8 = peg$currPos;
|
|
1098
|
+
if (input.charCodeAt(peg$currPos) === 35) {
|
|
1099
|
+
s9 = peg$c3;
|
|
1100
|
+
peg$currPos++;
|
|
1101
|
+
} else {
|
|
1102
|
+
s9 = peg$FAILED;
|
|
1103
|
+
if (peg$silentFails === 0) {
|
|
1104
|
+
peg$fail(peg$e5);
|
|
1105
|
+
}
|
|
1106
|
+
}
|
|
1107
|
+
if (s9 !== peg$FAILED) {
|
|
1108
|
+
s10 = [];
|
|
1109
|
+
s11 = input.charAt(peg$currPos);
|
|
1110
|
+
if (peg$r2.test(s11)) {
|
|
1094
1111
|
peg$currPos++;
|
|
1095
1112
|
} else {
|
|
1096
|
-
|
|
1113
|
+
s11 = peg$FAILED;
|
|
1097
1114
|
if (peg$silentFails === 0) {
|
|
1098
1115
|
peg$fail(peg$e7);
|
|
1099
1116
|
}
|
|
1100
1117
|
}
|
|
1101
|
-
|
|
1102
|
-
|
|
1103
|
-
|
|
1104
|
-
|
|
1105
|
-
|
|
1106
|
-
|
|
1107
|
-
|
|
1108
|
-
|
|
1109
|
-
|
|
1110
|
-
peg$fail(peg$e7);
|
|
1111
|
-
}
|
|
1118
|
+
while (s11 !== peg$FAILED) {
|
|
1119
|
+
s10.push(s11);
|
|
1120
|
+
s11 = input.charAt(peg$currPos);
|
|
1121
|
+
if (peg$r2.test(s11)) {
|
|
1122
|
+
peg$currPos++;
|
|
1123
|
+
} else {
|
|
1124
|
+
s11 = peg$FAILED;
|
|
1125
|
+
if (peg$silentFails === 0) {
|
|
1126
|
+
peg$fail(peg$e7);
|
|
1112
1127
|
}
|
|
1113
1128
|
}
|
|
1114
|
-
} else {
|
|
1115
|
-
s8 = peg$FAILED;
|
|
1116
|
-
}
|
|
1117
|
-
if (s8 !== peg$FAILED) {
|
|
1118
|
-
s7 = input.substring(s7, peg$currPos);
|
|
1119
|
-
} else {
|
|
1120
|
-
s7 = s8;
|
|
1121
|
-
}
|
|
1122
|
-
if (s7 !== peg$FAILED) {
|
|
1123
|
-
s5 = s7;
|
|
1124
|
-
} else {
|
|
1125
|
-
peg$currPos = s5;
|
|
1126
|
-
s5 = peg$FAILED;
|
|
1127
1129
|
}
|
|
1130
|
+
s9 = [s9, s10];
|
|
1131
|
+
s8 = s9;
|
|
1132
|
+
} else {
|
|
1133
|
+
peg$currPos = s8;
|
|
1134
|
+
s8 = peg$FAILED;
|
|
1135
|
+
}
|
|
1136
|
+
if (s8 !== peg$FAILED) {
|
|
1137
|
+
s7 = input.substring(s7, peg$currPos);
|
|
1138
|
+
} else {
|
|
1139
|
+
s7 = s8;
|
|
1140
|
+
}
|
|
1141
|
+
if (s7 !== peg$FAILED) {
|
|
1142
|
+
s5 = s7;
|
|
1128
1143
|
} else {
|
|
1129
1144
|
peg$currPos = s5;
|
|
1130
1145
|
s5 = peg$FAILED;
|
|
1131
1146
|
}
|
|
1132
1147
|
if (s5 === peg$FAILED) {
|
|
1148
|
+
s5 = null;
|
|
1149
|
+
}
|
|
1150
|
+
s6 = peg$parse_();
|
|
1151
|
+
peg$savedPos = s0;
|
|
1152
|
+
s0 = peg$f5(s2, s3, s4, s5);
|
|
1153
|
+
} else {
|
|
1154
|
+
peg$currPos = s0;
|
|
1155
|
+
s0 = peg$FAILED;
|
|
1156
|
+
}
|
|
1157
|
+
} else {
|
|
1158
|
+
peg$currPos = s0;
|
|
1159
|
+
s0 = peg$FAILED;
|
|
1160
|
+
}
|
|
1161
|
+
return s0;
|
|
1162
|
+
}
|
|
1163
|
+
chunkEWY3F3XT_js.__name(peg$parseDecoratorComment, "peg$parseDecoratorComment");
|
|
1164
|
+
function peg$parseDecoratorOrText() {
|
|
1165
|
+
let s0, s1, s2, s3, s4, s5, s6, s7, s8, s9;
|
|
1166
|
+
s0 = peg$parseDecorator();
|
|
1167
|
+
if (s0 === peg$FAILED) {
|
|
1168
|
+
s0 = peg$currPos;
|
|
1169
|
+
s1 = peg$currPos;
|
|
1170
|
+
s2 = peg$currPos;
|
|
1171
|
+
s3 = input.charAt(peg$currPos);
|
|
1172
|
+
if (peg$r3.test(s3)) {
|
|
1173
|
+
peg$currPos++;
|
|
1174
|
+
} else {
|
|
1175
|
+
s3 = peg$FAILED;
|
|
1176
|
+
if (peg$silentFails === 0) {
|
|
1177
|
+
peg$fail(peg$e8);
|
|
1178
|
+
}
|
|
1179
|
+
}
|
|
1180
|
+
if (s3 !== peg$FAILED) {
|
|
1181
|
+
s4 = [];
|
|
1182
|
+
s5 = input.charAt(peg$currPos);
|
|
1183
|
+
if (peg$r4.test(s5)) {
|
|
1184
|
+
peg$currPos++;
|
|
1185
|
+
} else {
|
|
1186
|
+
s5 = peg$FAILED;
|
|
1187
|
+
if (peg$silentFails === 0) {
|
|
1188
|
+
peg$fail(peg$e9);
|
|
1189
|
+
}
|
|
1190
|
+
}
|
|
1191
|
+
while (s5 !== peg$FAILED) {
|
|
1192
|
+
s4.push(s5);
|
|
1193
|
+
s5 = input.charAt(peg$currPos);
|
|
1194
|
+
if (peg$r4.test(s5)) {
|
|
1195
|
+
peg$currPos++;
|
|
1196
|
+
} else {
|
|
1197
|
+
s5 = peg$FAILED;
|
|
1198
|
+
if (peg$silentFails === 0) {
|
|
1199
|
+
peg$fail(peg$e9);
|
|
1200
|
+
}
|
|
1201
|
+
}
|
|
1202
|
+
}
|
|
1203
|
+
s3 = [s3, s4];
|
|
1204
|
+
s2 = s3;
|
|
1205
|
+
} else {
|
|
1206
|
+
peg$currPos = s2;
|
|
1207
|
+
s2 = peg$FAILED;
|
|
1208
|
+
}
|
|
1209
|
+
if (s2 !== peg$FAILED) {
|
|
1210
|
+
s1 = input.substring(s1, peg$currPos);
|
|
1211
|
+
} else {
|
|
1212
|
+
s1 = s2;
|
|
1213
|
+
}
|
|
1214
|
+
if (s1 !== peg$FAILED) {
|
|
1215
|
+
s2 = [];
|
|
1216
|
+
s3 = peg$currPos;
|
|
1217
|
+
s4 = peg$parse__();
|
|
1218
|
+
if (s4 !== peg$FAILED) {
|
|
1133
1219
|
s5 = peg$currPos;
|
|
1134
1220
|
s6 = peg$currPos;
|
|
1135
|
-
s7 = peg$currPos;
|
|
1136
|
-
if (
|
|
1137
|
-
s8 = peg$c3;
|
|
1221
|
+
s7 = input.charAt(peg$currPos);
|
|
1222
|
+
if (peg$r3.test(s7)) {
|
|
1138
1223
|
peg$currPos++;
|
|
1139
1224
|
} else {
|
|
1140
|
-
|
|
1225
|
+
s7 = peg$FAILED;
|
|
1141
1226
|
if (peg$silentFails === 0) {
|
|
1142
|
-
peg$fail(peg$
|
|
1227
|
+
peg$fail(peg$e8);
|
|
1143
1228
|
}
|
|
1144
1229
|
}
|
|
1145
|
-
if (
|
|
1146
|
-
|
|
1147
|
-
|
|
1148
|
-
if (peg$
|
|
1230
|
+
if (s7 !== peg$FAILED) {
|
|
1231
|
+
s8 = [];
|
|
1232
|
+
s9 = input.charAt(peg$currPos);
|
|
1233
|
+
if (peg$r4.test(s9)) {
|
|
1149
1234
|
peg$currPos++;
|
|
1150
1235
|
} else {
|
|
1151
|
-
|
|
1236
|
+
s9 = peg$FAILED;
|
|
1152
1237
|
if (peg$silentFails === 0) {
|
|
1153
|
-
peg$fail(peg$
|
|
1238
|
+
peg$fail(peg$e9);
|
|
1154
1239
|
}
|
|
1155
1240
|
}
|
|
1156
|
-
while (
|
|
1157
|
-
|
|
1158
|
-
|
|
1159
|
-
if (peg$
|
|
1241
|
+
while (s9 !== peg$FAILED) {
|
|
1242
|
+
s8.push(s9);
|
|
1243
|
+
s9 = input.charAt(peg$currPos);
|
|
1244
|
+
if (peg$r4.test(s9)) {
|
|
1160
1245
|
peg$currPos++;
|
|
1161
1246
|
} else {
|
|
1162
|
-
|
|
1247
|
+
s9 = peg$FAILED;
|
|
1163
1248
|
if (peg$silentFails === 0) {
|
|
1164
|
-
peg$fail(peg$
|
|
1249
|
+
peg$fail(peg$e9);
|
|
1165
1250
|
}
|
|
1166
1251
|
}
|
|
1167
1252
|
}
|
|
1168
|
-
|
|
1169
|
-
s7 = s8;
|
|
1170
|
-
} else {
|
|
1171
|
-
peg$currPos = s7;
|
|
1172
|
-
s7 = peg$FAILED;
|
|
1173
|
-
}
|
|
1174
|
-
if (s7 !== peg$FAILED) {
|
|
1175
|
-
s6 = input.substring(s6, peg$currPos);
|
|
1176
|
-
} else {
|
|
1253
|
+
s7 = [s7, s8];
|
|
1177
1254
|
s6 = s7;
|
|
1255
|
+
} else {
|
|
1256
|
+
peg$currPos = s6;
|
|
1257
|
+
s6 = peg$FAILED;
|
|
1178
1258
|
}
|
|
1179
1259
|
if (s6 !== peg$FAILED) {
|
|
1260
|
+
s5 = input.substring(s5, peg$currPos);
|
|
1261
|
+
} else {
|
|
1180
1262
|
s5 = s6;
|
|
1263
|
+
}
|
|
1264
|
+
if (s5 !== peg$FAILED) {
|
|
1265
|
+
s3 = s5;
|
|
1181
1266
|
} else {
|
|
1182
|
-
peg$currPos =
|
|
1183
|
-
|
|
1267
|
+
peg$currPos = s3;
|
|
1268
|
+
s3 = peg$FAILED;
|
|
1184
1269
|
}
|
|
1270
|
+
} else {
|
|
1271
|
+
peg$currPos = s3;
|
|
1272
|
+
s3 = peg$FAILED;
|
|
1185
1273
|
}
|
|
1186
|
-
|
|
1187
|
-
|
|
1274
|
+
while (s3 !== peg$FAILED) {
|
|
1275
|
+
s2.push(s3);
|
|
1276
|
+
s3 = peg$currPos;
|
|
1277
|
+
s4 = peg$parse__();
|
|
1278
|
+
if (s4 !== peg$FAILED) {
|
|
1279
|
+
s5 = peg$currPos;
|
|
1280
|
+
s6 = peg$currPos;
|
|
1281
|
+
s7 = input.charAt(peg$currPos);
|
|
1282
|
+
if (peg$r3.test(s7)) {
|
|
1283
|
+
peg$currPos++;
|
|
1284
|
+
} else {
|
|
1285
|
+
s7 = peg$FAILED;
|
|
1286
|
+
if (peg$silentFails === 0) {
|
|
1287
|
+
peg$fail(peg$e8);
|
|
1288
|
+
}
|
|
1289
|
+
}
|
|
1290
|
+
if (s7 !== peg$FAILED) {
|
|
1291
|
+
s8 = [];
|
|
1292
|
+
s9 = input.charAt(peg$currPos);
|
|
1293
|
+
if (peg$r4.test(s9)) {
|
|
1294
|
+
peg$currPos++;
|
|
1295
|
+
} else {
|
|
1296
|
+
s9 = peg$FAILED;
|
|
1297
|
+
if (peg$silentFails === 0) {
|
|
1298
|
+
peg$fail(peg$e9);
|
|
1299
|
+
}
|
|
1300
|
+
}
|
|
1301
|
+
while (s9 !== peg$FAILED) {
|
|
1302
|
+
s8.push(s9);
|
|
1303
|
+
s9 = input.charAt(peg$currPos);
|
|
1304
|
+
if (peg$r4.test(s9)) {
|
|
1305
|
+
peg$currPos++;
|
|
1306
|
+
} else {
|
|
1307
|
+
s9 = peg$FAILED;
|
|
1308
|
+
if (peg$silentFails === 0) {
|
|
1309
|
+
peg$fail(peg$e9);
|
|
1310
|
+
}
|
|
1311
|
+
}
|
|
1312
|
+
}
|
|
1313
|
+
s7 = [s7, s8];
|
|
1314
|
+
s6 = s7;
|
|
1315
|
+
} else {
|
|
1316
|
+
peg$currPos = s6;
|
|
1317
|
+
s6 = peg$FAILED;
|
|
1318
|
+
}
|
|
1319
|
+
if (s6 !== peg$FAILED) {
|
|
1320
|
+
s5 = input.substring(s5, peg$currPos);
|
|
1321
|
+
} else {
|
|
1322
|
+
s5 = s6;
|
|
1323
|
+
}
|
|
1324
|
+
if (s5 !== peg$FAILED) {
|
|
1325
|
+
s3 = s5;
|
|
1326
|
+
} else {
|
|
1327
|
+
peg$currPos = s3;
|
|
1328
|
+
s3 = peg$FAILED;
|
|
1329
|
+
}
|
|
1330
|
+
} else {
|
|
1331
|
+
peg$currPos = s3;
|
|
1332
|
+
s3 = peg$FAILED;
|
|
1333
|
+
}
|
|
1188
1334
|
}
|
|
1189
|
-
s6 = peg$parse_();
|
|
1190
1335
|
peg$savedPos = s0;
|
|
1191
|
-
s0 = peg$
|
|
1336
|
+
s0 = peg$f6(s1, s2);
|
|
1192
1337
|
} else {
|
|
1193
1338
|
peg$currPos = s0;
|
|
1194
1339
|
s0 = peg$FAILED;
|
|
1195
1340
|
}
|
|
1196
|
-
} else {
|
|
1197
|
-
peg$currPos = s0;
|
|
1198
|
-
s0 = peg$FAILED;
|
|
1199
1341
|
}
|
|
1200
1342
|
return s0;
|
|
1201
1343
|
}
|
|
1202
|
-
|
|
1344
|
+
chunkEWY3F3XT_js.__name(peg$parseDecoratorOrText, "peg$parseDecoratorOrText");
|
|
1203
1345
|
function peg$parseDecorator() {
|
|
1204
1346
|
let s0, s1, s2, s3, s4, s5;
|
|
1205
1347
|
s0 = peg$currPos;
|
|
@@ -1245,7 +1387,7 @@ function peg$parse(input, options) {
|
|
|
1245
1387
|
s3 = null;
|
|
1246
1388
|
}
|
|
1247
1389
|
peg$savedPos = s0;
|
|
1248
|
-
s0 = peg$
|
|
1390
|
+
s0 = peg$f7(s2, s3);
|
|
1249
1391
|
} else {
|
|
1250
1392
|
peg$currPos = s0;
|
|
1251
1393
|
s0 = peg$FAILED;
|
|
@@ -1256,40 +1398,40 @@ function peg$parse(input, options) {
|
|
|
1256
1398
|
}
|
|
1257
1399
|
return s0;
|
|
1258
1400
|
}
|
|
1259
|
-
|
|
1401
|
+
chunkEWY3F3XT_js.__name(peg$parseDecorator, "peg$parseDecorator");
|
|
1260
1402
|
function peg$parseDecoratorName() {
|
|
1261
1403
|
let s0, s1, s2, s3, s4;
|
|
1262
1404
|
s0 = peg$currPos;
|
|
1263
1405
|
s1 = peg$currPos;
|
|
1264
1406
|
s2 = input.charAt(peg$currPos);
|
|
1265
|
-
if (peg$
|
|
1407
|
+
if (peg$r5.test(s2)) {
|
|
1266
1408
|
peg$currPos++;
|
|
1267
1409
|
} else {
|
|
1268
1410
|
s2 = peg$FAILED;
|
|
1269
1411
|
if (peg$silentFails === 0) {
|
|
1270
|
-
peg$fail(peg$
|
|
1412
|
+
peg$fail(peg$e10);
|
|
1271
1413
|
}
|
|
1272
1414
|
}
|
|
1273
1415
|
if (s2 !== peg$FAILED) {
|
|
1274
1416
|
s3 = [];
|
|
1275
1417
|
s4 = input.charAt(peg$currPos);
|
|
1276
|
-
if (peg$
|
|
1418
|
+
if (peg$r6.test(s4)) {
|
|
1277
1419
|
peg$currPos++;
|
|
1278
1420
|
} else {
|
|
1279
1421
|
s4 = peg$FAILED;
|
|
1280
1422
|
if (peg$silentFails === 0) {
|
|
1281
|
-
peg$fail(peg$
|
|
1423
|
+
peg$fail(peg$e11);
|
|
1282
1424
|
}
|
|
1283
1425
|
}
|
|
1284
1426
|
while (s4 !== peg$FAILED) {
|
|
1285
1427
|
s3.push(s4);
|
|
1286
1428
|
s4 = input.charAt(peg$currPos);
|
|
1287
|
-
if (peg$
|
|
1429
|
+
if (peg$r6.test(s4)) {
|
|
1288
1430
|
peg$currPos++;
|
|
1289
1431
|
} else {
|
|
1290
1432
|
s4 = peg$FAILED;
|
|
1291
1433
|
if (peg$silentFails === 0) {
|
|
1292
|
-
peg$fail(peg$
|
|
1434
|
+
peg$fail(peg$e11);
|
|
1293
1435
|
}
|
|
1294
1436
|
}
|
|
1295
1437
|
}
|
|
@@ -1306,7 +1448,7 @@ function peg$parse(input, options) {
|
|
|
1306
1448
|
}
|
|
1307
1449
|
return s0;
|
|
1308
1450
|
}
|
|
1309
|
-
|
|
1451
|
+
chunkEWY3F3XT_js.__name(peg$parseDecoratorName, "peg$parseDecoratorName");
|
|
1310
1452
|
function peg$parseDecoratorValue() {
|
|
1311
1453
|
let s0;
|
|
1312
1454
|
s0 = peg$parseDecoratorFunctionCall();
|
|
@@ -1318,7 +1460,7 @@ function peg$parse(input, options) {
|
|
|
1318
1460
|
}
|
|
1319
1461
|
return s0;
|
|
1320
1462
|
}
|
|
1321
|
-
|
|
1463
|
+
chunkEWY3F3XT_js.__name(peg$parseDecoratorValue, "peg$parseDecoratorValue");
|
|
1322
1464
|
function peg$parseDecoratorFunctionCall() {
|
|
1323
1465
|
let s0, s1, s2;
|
|
1324
1466
|
s0 = peg$currPos;
|
|
@@ -1327,7 +1469,7 @@ function peg$parse(input, options) {
|
|
|
1327
1469
|
s2 = peg$parseDecoratorFunctionArgs();
|
|
1328
1470
|
if (s2 !== peg$FAILED) {
|
|
1329
1471
|
peg$savedPos = s0;
|
|
1330
|
-
s0 = peg$
|
|
1472
|
+
s0 = peg$f8(s1, s2);
|
|
1331
1473
|
} else {
|
|
1332
1474
|
peg$currPos = s0;
|
|
1333
1475
|
s0 = peg$FAILED;
|
|
@@ -1338,7 +1480,7 @@ function peg$parse(input, options) {
|
|
|
1338
1480
|
}
|
|
1339
1481
|
return s0;
|
|
1340
1482
|
}
|
|
1341
|
-
|
|
1483
|
+
chunkEWY3F3XT_js.__name(peg$parseDecoratorFunctionCall, "peg$parseDecoratorFunctionCall");
|
|
1342
1484
|
function peg$parseDecoratorFunctionArgs() {
|
|
1343
1485
|
let s0, s1, s3, s4, s5, s6, s7, s8, s9;
|
|
1344
1486
|
s0 = peg$currPos;
|
|
@@ -1348,7 +1490,7 @@ function peg$parse(input, options) {
|
|
|
1348
1490
|
} else {
|
|
1349
1491
|
s1 = peg$FAILED;
|
|
1350
1492
|
if (peg$silentFails === 0) {
|
|
1351
|
-
peg$fail(peg$
|
|
1493
|
+
peg$fail(peg$e12);
|
|
1352
1494
|
}
|
|
1353
1495
|
}
|
|
1354
1496
|
if (s1 !== peg$FAILED) {
|
|
@@ -1371,7 +1513,7 @@ function peg$parse(input, options) {
|
|
|
1371
1513
|
s8 = peg$parseDecoratorFunctionArgValue();
|
|
1372
1514
|
if (s8 !== peg$FAILED) {
|
|
1373
1515
|
peg$savedPos = s5;
|
|
1374
|
-
s5 = peg$
|
|
1516
|
+
s5 = peg$f9(s6, s8);
|
|
1375
1517
|
} else {
|
|
1376
1518
|
peg$currPos = s5;
|
|
1377
1519
|
s5 = peg$FAILED;
|
|
@@ -1398,7 +1540,7 @@ function peg$parse(input, options) {
|
|
|
1398
1540
|
} else {
|
|
1399
1541
|
s8 = peg$FAILED;
|
|
1400
1542
|
if (peg$silentFails === 0) {
|
|
1401
|
-
peg$fail(peg$
|
|
1543
|
+
peg$fail(peg$e13);
|
|
1402
1544
|
}
|
|
1403
1545
|
}
|
|
1404
1546
|
if (s8 !== peg$FAILED) {
|
|
@@ -1426,7 +1568,7 @@ function peg$parse(input, options) {
|
|
|
1426
1568
|
s9 = peg$parseDecoratorFunctionArgValue();
|
|
1427
1569
|
if (s9 !== peg$FAILED) {
|
|
1428
1570
|
peg$savedPos = s6;
|
|
1429
|
-
s6 = peg$
|
|
1571
|
+
s6 = peg$f9(s7, s9);
|
|
1430
1572
|
} else {
|
|
1431
1573
|
peg$currPos = s6;
|
|
1432
1574
|
s6 = peg$FAILED;
|
|
@@ -1469,7 +1611,7 @@ function peg$parse(input, options) {
|
|
|
1469
1611
|
} else {
|
|
1470
1612
|
s6 = peg$FAILED;
|
|
1471
1613
|
if (peg$silentFails === 0) {
|
|
1472
|
-
peg$fail(peg$
|
|
1614
|
+
peg$fail(peg$e13);
|
|
1473
1615
|
}
|
|
1474
1616
|
}
|
|
1475
1617
|
if (s6 !== peg$FAILED) {
|
|
@@ -1489,12 +1631,12 @@ function peg$parse(input, options) {
|
|
|
1489
1631
|
} else {
|
|
1490
1632
|
s6 = peg$FAILED;
|
|
1491
1633
|
if (peg$silentFails === 0) {
|
|
1492
|
-
peg$fail(peg$
|
|
1634
|
+
peg$fail(peg$e14);
|
|
1493
1635
|
}
|
|
1494
1636
|
}
|
|
1495
1637
|
if (s6 !== peg$FAILED) {
|
|
1496
1638
|
peg$savedPos = s0;
|
|
1497
|
-
s0 = peg$
|
|
1639
|
+
s0 = peg$f10(s3);
|
|
1498
1640
|
} else {
|
|
1499
1641
|
peg$currPos = s0;
|
|
1500
1642
|
s0 = peg$FAILED;
|
|
@@ -1505,7 +1647,7 @@ function peg$parse(input, options) {
|
|
|
1505
1647
|
}
|
|
1506
1648
|
return s0;
|
|
1507
1649
|
}
|
|
1508
|
-
|
|
1650
|
+
chunkEWY3F3XT_js.__name(peg$parseDecoratorFunctionArgs, "peg$parseDecoratorFunctionArgs");
|
|
1509
1651
|
function peg$parseDecoratorFunctionArgValue() {
|
|
1510
1652
|
let s0, s1, s2, s3;
|
|
1511
1653
|
s0 = peg$parseDecoratorFunctionCall();
|
|
@@ -1516,24 +1658,24 @@ function peg$parse(input, options) {
|
|
|
1516
1658
|
s1 = peg$currPos;
|
|
1517
1659
|
s2 = [];
|
|
1518
1660
|
s3 = input.charAt(peg$currPos);
|
|
1519
|
-
if (peg$
|
|
1661
|
+
if (peg$r7.test(s3)) {
|
|
1520
1662
|
peg$currPos++;
|
|
1521
1663
|
} else {
|
|
1522
1664
|
s3 = peg$FAILED;
|
|
1523
1665
|
if (peg$silentFails === 0) {
|
|
1524
|
-
peg$fail(peg$
|
|
1666
|
+
peg$fail(peg$e15);
|
|
1525
1667
|
}
|
|
1526
1668
|
}
|
|
1527
1669
|
if (s3 !== peg$FAILED) {
|
|
1528
1670
|
while (s3 !== peg$FAILED) {
|
|
1529
1671
|
s2.push(s3);
|
|
1530
1672
|
s3 = input.charAt(peg$currPos);
|
|
1531
|
-
if (peg$
|
|
1673
|
+
if (peg$r7.test(s3)) {
|
|
1532
1674
|
peg$currPos++;
|
|
1533
1675
|
} else {
|
|
1534
1676
|
s3 = peg$FAILED;
|
|
1535
1677
|
if (peg$silentFails === 0) {
|
|
1536
|
-
peg$fail(peg$
|
|
1678
|
+
peg$fail(peg$e15);
|
|
1537
1679
|
}
|
|
1538
1680
|
}
|
|
1539
1681
|
}
|
|
@@ -1547,24 +1689,24 @@ function peg$parse(input, options) {
|
|
|
1547
1689
|
}
|
|
1548
1690
|
if (s1 !== peg$FAILED) {
|
|
1549
1691
|
peg$savedPos = s0;
|
|
1550
|
-
s1 = peg$
|
|
1692
|
+
s1 = peg$f11();
|
|
1551
1693
|
}
|
|
1552
1694
|
s0 = s1;
|
|
1553
1695
|
}
|
|
1554
1696
|
}
|
|
1555
1697
|
return s0;
|
|
1556
1698
|
}
|
|
1557
|
-
|
|
1699
|
+
chunkEWY3F3XT_js.__name(peg$parseDecoratorFunctionArgValue, "peg$parseDecoratorFunctionArgValue");
|
|
1558
1700
|
function peg$parse_decWs() {
|
|
1559
1701
|
let s0, s1, s2, s3, s4, s5, s6;
|
|
1560
1702
|
s0 = [];
|
|
1561
1703
|
s1 = input.charAt(peg$currPos);
|
|
1562
|
-
if (peg$
|
|
1704
|
+
if (peg$r8.test(s1)) {
|
|
1563
1705
|
peg$currPos++;
|
|
1564
1706
|
} else {
|
|
1565
1707
|
s1 = peg$FAILED;
|
|
1566
1708
|
if (peg$silentFails === 0) {
|
|
1567
|
-
peg$fail(peg$
|
|
1709
|
+
peg$fail(peg$e16);
|
|
1568
1710
|
}
|
|
1569
1711
|
}
|
|
1570
1712
|
if (s1 === peg$FAILED) {
|
|
@@ -1581,23 +1723,23 @@ function peg$parse(input, options) {
|
|
|
1581
1723
|
if (s2 !== peg$FAILED) {
|
|
1582
1724
|
s3 = [];
|
|
1583
1725
|
s4 = input.charAt(peg$currPos);
|
|
1584
|
-
if (peg$
|
|
1726
|
+
if (peg$r8.test(s4)) {
|
|
1585
1727
|
peg$currPos++;
|
|
1586
1728
|
} else {
|
|
1587
1729
|
s4 = peg$FAILED;
|
|
1588
1730
|
if (peg$silentFails === 0) {
|
|
1589
|
-
peg$fail(peg$
|
|
1731
|
+
peg$fail(peg$e16);
|
|
1590
1732
|
}
|
|
1591
1733
|
}
|
|
1592
1734
|
while (s4 !== peg$FAILED) {
|
|
1593
1735
|
s3.push(s4);
|
|
1594
1736
|
s4 = input.charAt(peg$currPos);
|
|
1595
|
-
if (peg$
|
|
1737
|
+
if (peg$r8.test(s4)) {
|
|
1596
1738
|
peg$currPos++;
|
|
1597
1739
|
} else {
|
|
1598
1740
|
s4 = peg$FAILED;
|
|
1599
1741
|
if (peg$silentFails === 0) {
|
|
1600
|
-
peg$fail(peg$
|
|
1742
|
+
peg$fail(peg$e16);
|
|
1601
1743
|
}
|
|
1602
1744
|
}
|
|
1603
1745
|
}
|
|
@@ -1613,23 +1755,23 @@ function peg$parse(input, options) {
|
|
|
1613
1755
|
if (s4 !== peg$FAILED) {
|
|
1614
1756
|
s5 = [];
|
|
1615
1757
|
s6 = input.charAt(peg$currPos);
|
|
1616
|
-
if (peg$
|
|
1758
|
+
if (peg$r8.test(s6)) {
|
|
1617
1759
|
peg$currPos++;
|
|
1618
1760
|
} else {
|
|
1619
1761
|
s6 = peg$FAILED;
|
|
1620
1762
|
if (peg$silentFails === 0) {
|
|
1621
|
-
peg$fail(peg$
|
|
1763
|
+
peg$fail(peg$e16);
|
|
1622
1764
|
}
|
|
1623
1765
|
}
|
|
1624
1766
|
while (s6 !== peg$FAILED) {
|
|
1625
1767
|
s5.push(s6);
|
|
1626
1768
|
s6 = input.charAt(peg$currPos);
|
|
1627
|
-
if (peg$
|
|
1769
|
+
if (peg$r8.test(s6)) {
|
|
1628
1770
|
peg$currPos++;
|
|
1629
1771
|
} else {
|
|
1630
1772
|
s6 = peg$FAILED;
|
|
1631
1773
|
if (peg$silentFails === 0) {
|
|
1632
|
-
peg$fail(peg$
|
|
1774
|
+
peg$fail(peg$e16);
|
|
1633
1775
|
}
|
|
1634
1776
|
}
|
|
1635
1777
|
}
|
|
@@ -1647,12 +1789,12 @@ function peg$parse(input, options) {
|
|
|
1647
1789
|
while (s1 !== peg$FAILED) {
|
|
1648
1790
|
s0.push(s1);
|
|
1649
1791
|
s1 = input.charAt(peg$currPos);
|
|
1650
|
-
if (peg$
|
|
1792
|
+
if (peg$r8.test(s1)) {
|
|
1651
1793
|
peg$currPos++;
|
|
1652
1794
|
} else {
|
|
1653
1795
|
s1 = peg$FAILED;
|
|
1654
1796
|
if (peg$silentFails === 0) {
|
|
1655
|
-
peg$fail(peg$
|
|
1797
|
+
peg$fail(peg$e16);
|
|
1656
1798
|
}
|
|
1657
1799
|
}
|
|
1658
1800
|
if (s1 === peg$FAILED) {
|
|
@@ -1669,23 +1811,23 @@ function peg$parse(input, options) {
|
|
|
1669
1811
|
if (s2 !== peg$FAILED) {
|
|
1670
1812
|
s3 = [];
|
|
1671
1813
|
s4 = input.charAt(peg$currPos);
|
|
1672
|
-
if (peg$
|
|
1814
|
+
if (peg$r8.test(s4)) {
|
|
1673
1815
|
peg$currPos++;
|
|
1674
1816
|
} else {
|
|
1675
1817
|
s4 = peg$FAILED;
|
|
1676
1818
|
if (peg$silentFails === 0) {
|
|
1677
|
-
peg$fail(peg$
|
|
1819
|
+
peg$fail(peg$e16);
|
|
1678
1820
|
}
|
|
1679
1821
|
}
|
|
1680
1822
|
while (s4 !== peg$FAILED) {
|
|
1681
1823
|
s3.push(s4);
|
|
1682
1824
|
s4 = input.charAt(peg$currPos);
|
|
1683
|
-
if (peg$
|
|
1825
|
+
if (peg$r8.test(s4)) {
|
|
1684
1826
|
peg$currPos++;
|
|
1685
1827
|
} else {
|
|
1686
1828
|
s4 = peg$FAILED;
|
|
1687
1829
|
if (peg$silentFails === 0) {
|
|
1688
|
-
peg$fail(peg$
|
|
1830
|
+
peg$fail(peg$e16);
|
|
1689
1831
|
}
|
|
1690
1832
|
}
|
|
1691
1833
|
}
|
|
@@ -1701,23 +1843,23 @@ function peg$parse(input, options) {
|
|
|
1701
1843
|
if (s4 !== peg$FAILED) {
|
|
1702
1844
|
s5 = [];
|
|
1703
1845
|
s6 = input.charAt(peg$currPos);
|
|
1704
|
-
if (peg$
|
|
1846
|
+
if (peg$r8.test(s6)) {
|
|
1705
1847
|
peg$currPos++;
|
|
1706
1848
|
} else {
|
|
1707
1849
|
s6 = peg$FAILED;
|
|
1708
1850
|
if (peg$silentFails === 0) {
|
|
1709
|
-
peg$fail(peg$
|
|
1851
|
+
peg$fail(peg$e16);
|
|
1710
1852
|
}
|
|
1711
1853
|
}
|
|
1712
1854
|
while (s6 !== peg$FAILED) {
|
|
1713
1855
|
s5.push(s6);
|
|
1714
1856
|
s6 = input.charAt(peg$currPos);
|
|
1715
|
-
if (peg$
|
|
1857
|
+
if (peg$r8.test(s6)) {
|
|
1716
1858
|
peg$currPos++;
|
|
1717
1859
|
} else {
|
|
1718
1860
|
s6 = peg$FAILED;
|
|
1719
1861
|
if (peg$silentFails === 0) {
|
|
1720
|
-
peg$fail(peg$
|
|
1862
|
+
peg$fail(peg$e16);
|
|
1721
1863
|
}
|
|
1722
1864
|
}
|
|
1723
1865
|
}
|
|
@@ -1735,7 +1877,7 @@ function peg$parse(input, options) {
|
|
|
1735
1877
|
}
|
|
1736
1878
|
return s0;
|
|
1737
1879
|
}
|
|
1738
|
-
|
|
1880
|
+
chunkEWY3F3XT_js.__name(peg$parse_decWs, "peg$parse_decWs");
|
|
1739
1881
|
function peg$parseFunctionCall() {
|
|
1740
1882
|
let s0, s1, s2;
|
|
1741
1883
|
s0 = peg$currPos;
|
|
@@ -1744,7 +1886,7 @@ function peg$parse(input, options) {
|
|
|
1744
1886
|
s2 = peg$parseFunctionArgs();
|
|
1745
1887
|
if (s2 !== peg$FAILED) {
|
|
1746
1888
|
peg$savedPos = s0;
|
|
1747
|
-
s0 = peg$
|
|
1889
|
+
s0 = peg$f12(s1, s2);
|
|
1748
1890
|
} else {
|
|
1749
1891
|
peg$currPos = s0;
|
|
1750
1892
|
s0 = peg$FAILED;
|
|
@@ -1755,40 +1897,40 @@ function peg$parse(input, options) {
|
|
|
1755
1897
|
}
|
|
1756
1898
|
return s0;
|
|
1757
1899
|
}
|
|
1758
|
-
|
|
1900
|
+
chunkEWY3F3XT_js.__name(peg$parseFunctionCall, "peg$parseFunctionCall");
|
|
1759
1901
|
function peg$parseFunctionName() {
|
|
1760
1902
|
let s0, s1, s2, s3, s4;
|
|
1761
1903
|
s0 = peg$currPos;
|
|
1762
1904
|
s1 = peg$currPos;
|
|
1763
1905
|
s2 = input.charAt(peg$currPos);
|
|
1764
|
-
if (peg$
|
|
1906
|
+
if (peg$r5.test(s2)) {
|
|
1765
1907
|
peg$currPos++;
|
|
1766
1908
|
} else {
|
|
1767
1909
|
s2 = peg$FAILED;
|
|
1768
1910
|
if (peg$silentFails === 0) {
|
|
1769
|
-
peg$fail(peg$
|
|
1911
|
+
peg$fail(peg$e10);
|
|
1770
1912
|
}
|
|
1771
1913
|
}
|
|
1772
1914
|
if (s2 !== peg$FAILED) {
|
|
1773
1915
|
s3 = [];
|
|
1774
1916
|
s4 = input.charAt(peg$currPos);
|
|
1775
|
-
if (peg$
|
|
1917
|
+
if (peg$r9.test(s4)) {
|
|
1776
1918
|
peg$currPos++;
|
|
1777
1919
|
} else {
|
|
1778
1920
|
s4 = peg$FAILED;
|
|
1779
1921
|
if (peg$silentFails === 0) {
|
|
1780
|
-
peg$fail(peg$
|
|
1922
|
+
peg$fail(peg$e17);
|
|
1781
1923
|
}
|
|
1782
1924
|
}
|
|
1783
1925
|
while (s4 !== peg$FAILED) {
|
|
1784
1926
|
s3.push(s4);
|
|
1785
1927
|
s4 = input.charAt(peg$currPos);
|
|
1786
|
-
if (peg$
|
|
1928
|
+
if (peg$r9.test(s4)) {
|
|
1787
1929
|
peg$currPos++;
|
|
1788
1930
|
} else {
|
|
1789
1931
|
s4 = peg$FAILED;
|
|
1790
1932
|
if (peg$silentFails === 0) {
|
|
1791
|
-
peg$fail(peg$
|
|
1933
|
+
peg$fail(peg$e17);
|
|
1792
1934
|
}
|
|
1793
1935
|
}
|
|
1794
1936
|
}
|
|
@@ -1805,7 +1947,7 @@ function peg$parse(input, options) {
|
|
|
1805
1947
|
}
|
|
1806
1948
|
return s0;
|
|
1807
1949
|
}
|
|
1808
|
-
|
|
1950
|
+
chunkEWY3F3XT_js.__name(peg$parseFunctionName, "peg$parseFunctionName");
|
|
1809
1951
|
function peg$parseFunctionArgs() {
|
|
1810
1952
|
let s0, s1, s3, s4, s5, s6, s7, s8, s9;
|
|
1811
1953
|
s0 = peg$currPos;
|
|
@@ -1815,7 +1957,7 @@ function peg$parse(input, options) {
|
|
|
1815
1957
|
} else {
|
|
1816
1958
|
s1 = peg$FAILED;
|
|
1817
1959
|
if (peg$silentFails === 0) {
|
|
1818
|
-
peg$fail(peg$
|
|
1960
|
+
peg$fail(peg$e12);
|
|
1819
1961
|
}
|
|
1820
1962
|
}
|
|
1821
1963
|
if (s1 !== peg$FAILED) {
|
|
@@ -1838,7 +1980,7 @@ function peg$parse(input, options) {
|
|
|
1838
1980
|
s8 = peg$parseFunctionArgValue();
|
|
1839
1981
|
if (s8 !== peg$FAILED) {
|
|
1840
1982
|
peg$savedPos = s5;
|
|
1841
|
-
s5 = peg$
|
|
1983
|
+
s5 = peg$f13(s6, s8);
|
|
1842
1984
|
} else {
|
|
1843
1985
|
peg$currPos = s5;
|
|
1844
1986
|
s5 = peg$FAILED;
|
|
@@ -1865,7 +2007,7 @@ function peg$parse(input, options) {
|
|
|
1865
2007
|
} else {
|
|
1866
2008
|
s8 = peg$FAILED;
|
|
1867
2009
|
if (peg$silentFails === 0) {
|
|
1868
|
-
peg$fail(peg$
|
|
2010
|
+
peg$fail(peg$e13);
|
|
1869
2011
|
}
|
|
1870
2012
|
}
|
|
1871
2013
|
if (s8 !== peg$FAILED) {
|
|
@@ -1893,7 +2035,7 @@ function peg$parse(input, options) {
|
|
|
1893
2035
|
s9 = peg$parseFunctionArgValue();
|
|
1894
2036
|
if (s9 !== peg$FAILED) {
|
|
1895
2037
|
peg$savedPos = s6;
|
|
1896
|
-
s6 = peg$
|
|
2038
|
+
s6 = peg$f13(s7, s9);
|
|
1897
2039
|
} else {
|
|
1898
2040
|
peg$currPos = s6;
|
|
1899
2041
|
s6 = peg$FAILED;
|
|
@@ -1936,7 +2078,7 @@ function peg$parse(input, options) {
|
|
|
1936
2078
|
} else {
|
|
1937
2079
|
s6 = peg$FAILED;
|
|
1938
2080
|
if (peg$silentFails === 0) {
|
|
1939
|
-
peg$fail(peg$
|
|
2081
|
+
peg$fail(peg$e13);
|
|
1940
2082
|
}
|
|
1941
2083
|
}
|
|
1942
2084
|
if (s6 !== peg$FAILED) {
|
|
@@ -1956,12 +2098,12 @@ function peg$parse(input, options) {
|
|
|
1956
2098
|
} else {
|
|
1957
2099
|
s6 = peg$FAILED;
|
|
1958
2100
|
if (peg$silentFails === 0) {
|
|
1959
|
-
peg$fail(peg$
|
|
2101
|
+
peg$fail(peg$e14);
|
|
1960
2102
|
}
|
|
1961
2103
|
}
|
|
1962
2104
|
if (s6 !== peg$FAILED) {
|
|
1963
2105
|
peg$savedPos = s0;
|
|
1964
|
-
s0 = peg$
|
|
2106
|
+
s0 = peg$f14(s3);
|
|
1965
2107
|
} else {
|
|
1966
2108
|
peg$currPos = s0;
|
|
1967
2109
|
s0 = peg$FAILED;
|
|
@@ -1972,40 +2114,40 @@ function peg$parse(input, options) {
|
|
|
1972
2114
|
}
|
|
1973
2115
|
return s0;
|
|
1974
2116
|
}
|
|
1975
|
-
|
|
2117
|
+
chunkEWY3F3XT_js.__name(peg$parseFunctionArgs, "peg$parseFunctionArgs");
|
|
1976
2118
|
function peg$parseFunctionArgKeyName() {
|
|
1977
2119
|
let s0, s1, s2, s3, s4;
|
|
1978
2120
|
s0 = peg$currPos;
|
|
1979
2121
|
s1 = peg$currPos;
|
|
1980
2122
|
s2 = input.charAt(peg$currPos);
|
|
1981
|
-
if (peg$
|
|
2123
|
+
if (peg$r5.test(s2)) {
|
|
1982
2124
|
peg$currPos++;
|
|
1983
2125
|
} else {
|
|
1984
2126
|
s2 = peg$FAILED;
|
|
1985
2127
|
if (peg$silentFails === 0) {
|
|
1986
|
-
peg$fail(peg$
|
|
2128
|
+
peg$fail(peg$e10);
|
|
1987
2129
|
}
|
|
1988
2130
|
}
|
|
1989
2131
|
if (s2 !== peg$FAILED) {
|
|
1990
2132
|
s3 = [];
|
|
1991
2133
|
s4 = input.charAt(peg$currPos);
|
|
1992
|
-
if (peg$
|
|
2134
|
+
if (peg$r9.test(s4)) {
|
|
1993
2135
|
peg$currPos++;
|
|
1994
2136
|
} else {
|
|
1995
2137
|
s4 = peg$FAILED;
|
|
1996
2138
|
if (peg$silentFails === 0) {
|
|
1997
|
-
peg$fail(peg$
|
|
2139
|
+
peg$fail(peg$e17);
|
|
1998
2140
|
}
|
|
1999
2141
|
}
|
|
2000
2142
|
while (s4 !== peg$FAILED) {
|
|
2001
2143
|
s3.push(s4);
|
|
2002
2144
|
s4 = input.charAt(peg$currPos);
|
|
2003
|
-
if (peg$
|
|
2145
|
+
if (peg$r9.test(s4)) {
|
|
2004
2146
|
peg$currPos++;
|
|
2005
2147
|
} else {
|
|
2006
2148
|
s4 = peg$FAILED;
|
|
2007
2149
|
if (peg$silentFails === 0) {
|
|
2008
|
-
peg$fail(peg$
|
|
2150
|
+
peg$fail(peg$e17);
|
|
2009
2151
|
}
|
|
2010
2152
|
}
|
|
2011
2153
|
}
|
|
@@ -2022,7 +2164,7 @@ function peg$parse(input, options) {
|
|
|
2022
2164
|
}
|
|
2023
2165
|
return s0;
|
|
2024
2166
|
}
|
|
2025
|
-
|
|
2167
|
+
chunkEWY3F3XT_js.__name(peg$parseFunctionArgKeyName, "peg$parseFunctionArgKeyName");
|
|
2026
2168
|
function peg$parseFunctionArgValue() {
|
|
2027
2169
|
let s0, s1, s2, s3;
|
|
2028
2170
|
s0 = peg$parseFunctionCall();
|
|
@@ -2033,24 +2175,24 @@ function peg$parse(input, options) {
|
|
|
2033
2175
|
s1 = peg$currPos;
|
|
2034
2176
|
s2 = [];
|
|
2035
2177
|
s3 = input.charAt(peg$currPos);
|
|
2036
|
-
if (peg$
|
|
2178
|
+
if (peg$r7.test(s3)) {
|
|
2037
2179
|
peg$currPos++;
|
|
2038
2180
|
} else {
|
|
2039
2181
|
s3 = peg$FAILED;
|
|
2040
2182
|
if (peg$silentFails === 0) {
|
|
2041
|
-
peg$fail(peg$
|
|
2183
|
+
peg$fail(peg$e15);
|
|
2042
2184
|
}
|
|
2043
2185
|
}
|
|
2044
2186
|
if (s3 !== peg$FAILED) {
|
|
2045
2187
|
while (s3 !== peg$FAILED) {
|
|
2046
2188
|
s2.push(s3);
|
|
2047
2189
|
s3 = input.charAt(peg$currPos);
|
|
2048
|
-
if (peg$
|
|
2190
|
+
if (peg$r7.test(s3)) {
|
|
2049
2191
|
peg$currPos++;
|
|
2050
2192
|
} else {
|
|
2051
2193
|
s3 = peg$FAILED;
|
|
2052
2194
|
if (peg$silentFails === 0) {
|
|
2053
|
-
peg$fail(peg$
|
|
2195
|
+
peg$fail(peg$e15);
|
|
2054
2196
|
}
|
|
2055
2197
|
}
|
|
2056
2198
|
}
|
|
@@ -2064,41 +2206,41 @@ function peg$parse(input, options) {
|
|
|
2064
2206
|
}
|
|
2065
2207
|
if (s1 !== peg$FAILED) {
|
|
2066
2208
|
peg$savedPos = s0;
|
|
2067
|
-
s1 = peg$
|
|
2209
|
+
s1 = peg$f15();
|
|
2068
2210
|
}
|
|
2069
2211
|
s0 = s1;
|
|
2070
2212
|
}
|
|
2071
2213
|
}
|
|
2072
2214
|
return s0;
|
|
2073
2215
|
}
|
|
2074
|
-
|
|
2216
|
+
chunkEWY3F3XT_js.__name(peg$parseFunctionArgValue, "peg$parseFunctionArgValue");
|
|
2075
2217
|
function peg$parse_valWs() {
|
|
2076
2218
|
let s0, s1;
|
|
2077
2219
|
s0 = [];
|
|
2078
2220
|
s1 = input.charAt(peg$currPos);
|
|
2079
|
-
if (peg$
|
|
2221
|
+
if (peg$r10.test(s1)) {
|
|
2080
2222
|
peg$currPos++;
|
|
2081
2223
|
} else {
|
|
2082
2224
|
s1 = peg$FAILED;
|
|
2083
2225
|
if (peg$silentFails === 0) {
|
|
2084
|
-
peg$fail(peg$
|
|
2226
|
+
peg$fail(peg$e18);
|
|
2085
2227
|
}
|
|
2086
2228
|
}
|
|
2087
2229
|
while (s1 !== peg$FAILED) {
|
|
2088
2230
|
s0.push(s1);
|
|
2089
2231
|
s1 = input.charAt(peg$currPos);
|
|
2090
|
-
if (peg$
|
|
2232
|
+
if (peg$r10.test(s1)) {
|
|
2091
2233
|
peg$currPos++;
|
|
2092
2234
|
} else {
|
|
2093
2235
|
s1 = peg$FAILED;
|
|
2094
2236
|
if (peg$silentFails === 0) {
|
|
2095
|
-
peg$fail(peg$
|
|
2237
|
+
peg$fail(peg$e18);
|
|
2096
2238
|
}
|
|
2097
2239
|
}
|
|
2098
2240
|
}
|
|
2099
2241
|
return s0;
|
|
2100
2242
|
}
|
|
2101
|
-
|
|
2243
|
+
chunkEWY3F3XT_js.__name(peg$parse_valWs, "peg$parse_valWs");
|
|
2102
2244
|
function peg$parseDivider() {
|
|
2103
2245
|
let s0, s1, s2, s3, s4, s5, s6, s7;
|
|
2104
2246
|
s0 = peg$currPos;
|
|
@@ -2120,23 +2262,23 @@ function peg$parse(input, options) {
|
|
|
2120
2262
|
s5 = peg$currPos;
|
|
2121
2263
|
s6 = [];
|
|
2122
2264
|
s7 = input.charAt(peg$currPos);
|
|
2123
|
-
if (peg$
|
|
2265
|
+
if (peg$r11.test(s7)) {
|
|
2124
2266
|
peg$currPos++;
|
|
2125
2267
|
} else {
|
|
2126
2268
|
s7 = peg$FAILED;
|
|
2127
2269
|
if (peg$silentFails === 0) {
|
|
2128
|
-
peg$fail(peg$
|
|
2270
|
+
peg$fail(peg$e19);
|
|
2129
2271
|
}
|
|
2130
2272
|
}
|
|
2131
2273
|
while (s7 !== peg$FAILED) {
|
|
2132
2274
|
s6.push(s7);
|
|
2133
2275
|
s7 = input.charAt(peg$currPos);
|
|
2134
|
-
if (peg$
|
|
2276
|
+
if (peg$r11.test(s7)) {
|
|
2135
2277
|
peg$currPos++;
|
|
2136
2278
|
} else {
|
|
2137
2279
|
s7 = peg$FAILED;
|
|
2138
2280
|
if (peg$silentFails === 0) {
|
|
2139
|
-
peg$fail(peg$
|
|
2281
|
+
peg$fail(peg$e19);
|
|
2140
2282
|
}
|
|
2141
2283
|
}
|
|
2142
2284
|
}
|
|
@@ -2184,7 +2326,7 @@ function peg$parse(input, options) {
|
|
|
2184
2326
|
s4 = peg$parse_n();
|
|
2185
2327
|
if (s4 !== peg$FAILED) {
|
|
2186
2328
|
peg$savedPos = s0;
|
|
2187
|
-
s0 = peg$
|
|
2329
|
+
s0 = peg$f16(s2, s3);
|
|
2188
2330
|
} else {
|
|
2189
2331
|
peg$currPos = s0;
|
|
2190
2332
|
s0 = peg$FAILED;
|
|
@@ -2199,7 +2341,7 @@ function peg$parse(input, options) {
|
|
|
2199
2341
|
}
|
|
2200
2342
|
return s0;
|
|
2201
2343
|
}
|
|
2202
|
-
|
|
2344
|
+
chunkEWY3F3XT_js.__name(peg$parseDivider, "peg$parseDivider");
|
|
2203
2345
|
function peg$parseunquotedString() {
|
|
2204
2346
|
let s0, s1, s2, s3, s4, s5, s6;
|
|
2205
2347
|
s0 = peg$currPos;
|
|
@@ -2209,12 +2351,12 @@ function peg$parse(input, options) {
|
|
|
2209
2351
|
s4 = peg$currPos;
|
|
2210
2352
|
peg$silentFails++;
|
|
2211
2353
|
s5 = input.charAt(peg$currPos);
|
|
2212
|
-
if (peg$
|
|
2354
|
+
if (peg$r12.test(s5)) {
|
|
2213
2355
|
peg$currPos++;
|
|
2214
2356
|
} else {
|
|
2215
2357
|
s5 = peg$FAILED;
|
|
2216
2358
|
if (peg$silentFails === 0) {
|
|
2217
|
-
peg$fail(peg$
|
|
2359
|
+
peg$fail(peg$e20);
|
|
2218
2360
|
}
|
|
2219
2361
|
}
|
|
2220
2362
|
peg$silentFails--;
|
|
@@ -2227,24 +2369,24 @@ function peg$parse(input, options) {
|
|
|
2227
2369
|
if (s4 !== peg$FAILED) {
|
|
2228
2370
|
s5 = [];
|
|
2229
2371
|
s6 = input.charAt(peg$currPos);
|
|
2230
|
-
if (peg$
|
|
2372
|
+
if (peg$r13.test(s6)) {
|
|
2231
2373
|
peg$currPos++;
|
|
2232
2374
|
} else {
|
|
2233
2375
|
s6 = peg$FAILED;
|
|
2234
2376
|
if (peg$silentFails === 0) {
|
|
2235
|
-
peg$fail(peg$
|
|
2377
|
+
peg$fail(peg$e21);
|
|
2236
2378
|
}
|
|
2237
2379
|
}
|
|
2238
2380
|
if (s6 !== peg$FAILED) {
|
|
2239
2381
|
while (s6 !== peg$FAILED) {
|
|
2240
2382
|
s5.push(s6);
|
|
2241
2383
|
s6 = input.charAt(peg$currPos);
|
|
2242
|
-
if (peg$
|
|
2384
|
+
if (peg$r13.test(s6)) {
|
|
2243
2385
|
peg$currPos++;
|
|
2244
2386
|
} else {
|
|
2245
2387
|
s6 = peg$FAILED;
|
|
2246
2388
|
if (peg$silentFails === 0) {
|
|
2247
|
-
peg$fail(peg$
|
|
2389
|
+
peg$fail(peg$e21);
|
|
2248
2390
|
}
|
|
2249
2391
|
}
|
|
2250
2392
|
}
|
|
@@ -2269,12 +2411,12 @@ function peg$parse(input, options) {
|
|
|
2269
2411
|
}
|
|
2270
2412
|
if (s1 !== peg$FAILED) {
|
|
2271
2413
|
peg$savedPos = s0;
|
|
2272
|
-
s1 = peg$
|
|
2414
|
+
s1 = peg$f17();
|
|
2273
2415
|
}
|
|
2274
2416
|
s0 = s1;
|
|
2275
2417
|
return s0;
|
|
2276
2418
|
}
|
|
2277
|
-
|
|
2419
|
+
chunkEWY3F3XT_js.__name(peg$parseunquotedString, "peg$parseunquotedString");
|
|
2278
2420
|
function peg$parseunquotedStringWithoutSpaces() {
|
|
2279
2421
|
let s0, s1, s2, s3, s4, s5;
|
|
2280
2422
|
s0 = peg$currPos;
|
|
@@ -2283,12 +2425,12 @@ function peg$parse(input, options) {
|
|
|
2283
2425
|
s3 = peg$currPos;
|
|
2284
2426
|
peg$silentFails++;
|
|
2285
2427
|
s4 = input.charAt(peg$currPos);
|
|
2286
|
-
if (peg$
|
|
2428
|
+
if (peg$r12.test(s4)) {
|
|
2287
2429
|
peg$currPos++;
|
|
2288
2430
|
} else {
|
|
2289
2431
|
s4 = peg$FAILED;
|
|
2290
2432
|
if (peg$silentFails === 0) {
|
|
2291
|
-
peg$fail(peg$
|
|
2433
|
+
peg$fail(peg$e20);
|
|
2292
2434
|
}
|
|
2293
2435
|
}
|
|
2294
2436
|
peg$silentFails--;
|
|
@@ -2301,24 +2443,24 @@ function peg$parse(input, options) {
|
|
|
2301
2443
|
if (s3 !== peg$FAILED) {
|
|
2302
2444
|
s4 = [];
|
|
2303
2445
|
s5 = input.charAt(peg$currPos);
|
|
2304
|
-
if (peg$
|
|
2446
|
+
if (peg$r14.test(s5)) {
|
|
2305
2447
|
peg$currPos++;
|
|
2306
2448
|
} else {
|
|
2307
2449
|
s5 = peg$FAILED;
|
|
2308
2450
|
if (peg$silentFails === 0) {
|
|
2309
|
-
peg$fail(peg$
|
|
2451
|
+
peg$fail(peg$e22);
|
|
2310
2452
|
}
|
|
2311
2453
|
}
|
|
2312
2454
|
if (s5 !== peg$FAILED) {
|
|
2313
2455
|
while (s5 !== peg$FAILED) {
|
|
2314
2456
|
s4.push(s5);
|
|
2315
2457
|
s5 = input.charAt(peg$currPos);
|
|
2316
|
-
if (peg$
|
|
2458
|
+
if (peg$r14.test(s5)) {
|
|
2317
2459
|
peg$currPos++;
|
|
2318
2460
|
} else {
|
|
2319
2461
|
s5 = peg$FAILED;
|
|
2320
2462
|
if (peg$silentFails === 0) {
|
|
2321
|
-
peg$fail(peg$
|
|
2463
|
+
peg$fail(peg$e22);
|
|
2322
2464
|
}
|
|
2323
2465
|
}
|
|
2324
2466
|
}
|
|
@@ -2343,12 +2485,12 @@ function peg$parse(input, options) {
|
|
|
2343
2485
|
}
|
|
2344
2486
|
if (s1 !== peg$FAILED) {
|
|
2345
2487
|
peg$savedPos = s0;
|
|
2346
|
-
s1 = peg$
|
|
2488
|
+
s1 = peg$f18();
|
|
2347
2489
|
}
|
|
2348
2490
|
s0 = s1;
|
|
2349
2491
|
return s0;
|
|
2350
2492
|
}
|
|
2351
|
-
|
|
2493
|
+
chunkEWY3F3XT_js.__name(peg$parseunquotedStringWithoutSpaces, "peg$parseunquotedStringWithoutSpaces");
|
|
2352
2494
|
function peg$parsequotedString() {
|
|
2353
2495
|
let s0;
|
|
2354
2496
|
s0 = peg$parseDQuotedString();
|
|
@@ -2360,17 +2502,17 @@ function peg$parse(input, options) {
|
|
|
2360
2502
|
}
|
|
2361
2503
|
return s0;
|
|
2362
2504
|
}
|
|
2363
|
-
|
|
2505
|
+
chunkEWY3F3XT_js.__name(peg$parsequotedString, "peg$parsequotedString");
|
|
2364
2506
|
function peg$parseDQuotedString() {
|
|
2365
2507
|
let s0, s1, s2, s3;
|
|
2366
2508
|
s0 = peg$currPos;
|
|
2367
2509
|
s1 = input.charAt(peg$currPos);
|
|
2368
|
-
if (peg$
|
|
2510
|
+
if (peg$r15.test(s1)) {
|
|
2369
2511
|
peg$currPos++;
|
|
2370
2512
|
} else {
|
|
2371
2513
|
s1 = peg$FAILED;
|
|
2372
2514
|
if (peg$silentFails === 0) {
|
|
2373
|
-
peg$fail(peg$
|
|
2515
|
+
peg$fail(peg$e23);
|
|
2374
2516
|
}
|
|
2375
2517
|
}
|
|
2376
2518
|
if (s1 !== peg$FAILED) {
|
|
@@ -2381,17 +2523,17 @@ function peg$parse(input, options) {
|
|
|
2381
2523
|
} else {
|
|
2382
2524
|
s3 = peg$FAILED;
|
|
2383
2525
|
if (peg$silentFails === 0) {
|
|
2384
|
-
peg$fail(peg$
|
|
2526
|
+
peg$fail(peg$e24);
|
|
2385
2527
|
}
|
|
2386
2528
|
}
|
|
2387
2529
|
if (s3 === peg$FAILED) {
|
|
2388
2530
|
s3 = input.charAt(peg$currPos);
|
|
2389
|
-
if (peg$
|
|
2531
|
+
if (peg$r16.test(s3)) {
|
|
2390
2532
|
peg$currPos++;
|
|
2391
2533
|
} else {
|
|
2392
2534
|
s3 = peg$FAILED;
|
|
2393
2535
|
if (peg$silentFails === 0) {
|
|
2394
|
-
peg$fail(peg$
|
|
2536
|
+
peg$fail(peg$e25);
|
|
2395
2537
|
}
|
|
2396
2538
|
}
|
|
2397
2539
|
}
|
|
@@ -2403,33 +2545,33 @@ function peg$parse(input, options) {
|
|
|
2403
2545
|
} else {
|
|
2404
2546
|
s3 = peg$FAILED;
|
|
2405
2547
|
if (peg$silentFails === 0) {
|
|
2406
|
-
peg$fail(peg$
|
|
2548
|
+
peg$fail(peg$e24);
|
|
2407
2549
|
}
|
|
2408
2550
|
}
|
|
2409
2551
|
if (s3 === peg$FAILED) {
|
|
2410
2552
|
s3 = input.charAt(peg$currPos);
|
|
2411
|
-
if (peg$
|
|
2553
|
+
if (peg$r16.test(s3)) {
|
|
2412
2554
|
peg$currPos++;
|
|
2413
2555
|
} else {
|
|
2414
2556
|
s3 = peg$FAILED;
|
|
2415
2557
|
if (peg$silentFails === 0) {
|
|
2416
|
-
peg$fail(peg$
|
|
2558
|
+
peg$fail(peg$e25);
|
|
2417
2559
|
}
|
|
2418
2560
|
}
|
|
2419
2561
|
}
|
|
2420
2562
|
}
|
|
2421
2563
|
s3 = input.charAt(peg$currPos);
|
|
2422
|
-
if (peg$
|
|
2564
|
+
if (peg$r15.test(s3)) {
|
|
2423
2565
|
peg$currPos++;
|
|
2424
2566
|
} else {
|
|
2425
2567
|
s3 = peg$FAILED;
|
|
2426
2568
|
if (peg$silentFails === 0) {
|
|
2427
|
-
peg$fail(peg$
|
|
2569
|
+
peg$fail(peg$e23);
|
|
2428
2570
|
}
|
|
2429
2571
|
}
|
|
2430
2572
|
if (s3 !== peg$FAILED) {
|
|
2431
2573
|
peg$savedPos = s0;
|
|
2432
|
-
s0 = peg$
|
|
2574
|
+
s0 = peg$f19(s1);
|
|
2433
2575
|
} else {
|
|
2434
2576
|
peg$currPos = s0;
|
|
2435
2577
|
s0 = peg$FAILED;
|
|
@@ -2440,17 +2582,17 @@ function peg$parse(input, options) {
|
|
|
2440
2582
|
}
|
|
2441
2583
|
return s0;
|
|
2442
2584
|
}
|
|
2443
|
-
|
|
2585
|
+
chunkEWY3F3XT_js.__name(peg$parseDQuotedString, "peg$parseDQuotedString");
|
|
2444
2586
|
function peg$parseSQuotedString() {
|
|
2445
2587
|
let s0, s1, s2, s3;
|
|
2446
2588
|
s0 = peg$currPos;
|
|
2447
2589
|
s1 = input.charAt(peg$currPos);
|
|
2448
|
-
if (peg$
|
|
2590
|
+
if (peg$r17.test(s1)) {
|
|
2449
2591
|
peg$currPos++;
|
|
2450
2592
|
} else {
|
|
2451
2593
|
s1 = peg$FAILED;
|
|
2452
2594
|
if (peg$silentFails === 0) {
|
|
2453
|
-
peg$fail(peg$
|
|
2595
|
+
peg$fail(peg$e26);
|
|
2454
2596
|
}
|
|
2455
2597
|
}
|
|
2456
2598
|
if (s1 !== peg$FAILED) {
|
|
@@ -2461,17 +2603,17 @@ function peg$parse(input, options) {
|
|
|
2461
2603
|
} else {
|
|
2462
2604
|
s3 = peg$FAILED;
|
|
2463
2605
|
if (peg$silentFails === 0) {
|
|
2464
|
-
peg$fail(peg$
|
|
2606
|
+
peg$fail(peg$e27);
|
|
2465
2607
|
}
|
|
2466
2608
|
}
|
|
2467
2609
|
if (s3 === peg$FAILED) {
|
|
2468
2610
|
s3 = input.charAt(peg$currPos);
|
|
2469
|
-
if (peg$
|
|
2611
|
+
if (peg$r18.test(s3)) {
|
|
2470
2612
|
peg$currPos++;
|
|
2471
2613
|
} else {
|
|
2472
2614
|
s3 = peg$FAILED;
|
|
2473
2615
|
if (peg$silentFails === 0) {
|
|
2474
|
-
peg$fail(peg$
|
|
2616
|
+
peg$fail(peg$e28);
|
|
2475
2617
|
}
|
|
2476
2618
|
}
|
|
2477
2619
|
}
|
|
@@ -2483,33 +2625,33 @@ function peg$parse(input, options) {
|
|
|
2483
2625
|
} else {
|
|
2484
2626
|
s3 = peg$FAILED;
|
|
2485
2627
|
if (peg$silentFails === 0) {
|
|
2486
|
-
peg$fail(peg$
|
|
2628
|
+
peg$fail(peg$e27);
|
|
2487
2629
|
}
|
|
2488
2630
|
}
|
|
2489
2631
|
if (s3 === peg$FAILED) {
|
|
2490
2632
|
s3 = input.charAt(peg$currPos);
|
|
2491
|
-
if (peg$
|
|
2633
|
+
if (peg$r18.test(s3)) {
|
|
2492
2634
|
peg$currPos++;
|
|
2493
2635
|
} else {
|
|
2494
2636
|
s3 = peg$FAILED;
|
|
2495
2637
|
if (peg$silentFails === 0) {
|
|
2496
|
-
peg$fail(peg$
|
|
2638
|
+
peg$fail(peg$e28);
|
|
2497
2639
|
}
|
|
2498
2640
|
}
|
|
2499
2641
|
}
|
|
2500
2642
|
}
|
|
2501
2643
|
s3 = input.charAt(peg$currPos);
|
|
2502
|
-
if (peg$
|
|
2644
|
+
if (peg$r17.test(s3)) {
|
|
2503
2645
|
peg$currPos++;
|
|
2504
2646
|
} else {
|
|
2505
2647
|
s3 = peg$FAILED;
|
|
2506
2648
|
if (peg$silentFails === 0) {
|
|
2507
|
-
peg$fail(peg$
|
|
2649
|
+
peg$fail(peg$e26);
|
|
2508
2650
|
}
|
|
2509
2651
|
}
|
|
2510
2652
|
if (s3 !== peg$FAILED) {
|
|
2511
2653
|
peg$savedPos = s0;
|
|
2512
|
-
s0 = peg$
|
|
2654
|
+
s0 = peg$f20(s1);
|
|
2513
2655
|
} else {
|
|
2514
2656
|
peg$currPos = s0;
|
|
2515
2657
|
s0 = peg$FAILED;
|
|
@@ -2520,17 +2662,17 @@ function peg$parse(input, options) {
|
|
|
2520
2662
|
}
|
|
2521
2663
|
return s0;
|
|
2522
2664
|
}
|
|
2523
|
-
|
|
2665
|
+
chunkEWY3F3XT_js.__name(peg$parseSQuotedString, "peg$parseSQuotedString");
|
|
2524
2666
|
function peg$parseBQuotedString() {
|
|
2525
2667
|
let s0, s1, s2, s3;
|
|
2526
2668
|
s0 = peg$currPos;
|
|
2527
2669
|
s1 = input.charAt(peg$currPos);
|
|
2528
|
-
if (peg$
|
|
2670
|
+
if (peg$r19.test(s1)) {
|
|
2529
2671
|
peg$currPos++;
|
|
2530
2672
|
} else {
|
|
2531
2673
|
s1 = peg$FAILED;
|
|
2532
2674
|
if (peg$silentFails === 0) {
|
|
2533
|
-
peg$fail(peg$
|
|
2675
|
+
peg$fail(peg$e29);
|
|
2534
2676
|
}
|
|
2535
2677
|
}
|
|
2536
2678
|
if (s1 !== peg$FAILED) {
|
|
@@ -2541,17 +2683,17 @@ function peg$parse(input, options) {
|
|
|
2541
2683
|
} else {
|
|
2542
2684
|
s3 = peg$FAILED;
|
|
2543
2685
|
if (peg$silentFails === 0) {
|
|
2544
|
-
peg$fail(peg$
|
|
2686
|
+
peg$fail(peg$e30);
|
|
2545
2687
|
}
|
|
2546
2688
|
}
|
|
2547
2689
|
if (s3 === peg$FAILED) {
|
|
2548
2690
|
s3 = input.charAt(peg$currPos);
|
|
2549
|
-
if (peg$
|
|
2691
|
+
if (peg$r20.test(s3)) {
|
|
2550
2692
|
peg$currPos++;
|
|
2551
2693
|
} else {
|
|
2552
2694
|
s3 = peg$FAILED;
|
|
2553
2695
|
if (peg$silentFails === 0) {
|
|
2554
|
-
peg$fail(peg$
|
|
2696
|
+
peg$fail(peg$e31);
|
|
2555
2697
|
}
|
|
2556
2698
|
}
|
|
2557
2699
|
}
|
|
@@ -2563,33 +2705,33 @@ function peg$parse(input, options) {
|
|
|
2563
2705
|
} else {
|
|
2564
2706
|
s3 = peg$FAILED;
|
|
2565
2707
|
if (peg$silentFails === 0) {
|
|
2566
|
-
peg$fail(peg$
|
|
2708
|
+
peg$fail(peg$e30);
|
|
2567
2709
|
}
|
|
2568
2710
|
}
|
|
2569
2711
|
if (s3 === peg$FAILED) {
|
|
2570
2712
|
s3 = input.charAt(peg$currPos);
|
|
2571
|
-
if (peg$
|
|
2713
|
+
if (peg$r20.test(s3)) {
|
|
2572
2714
|
peg$currPos++;
|
|
2573
2715
|
} else {
|
|
2574
2716
|
s3 = peg$FAILED;
|
|
2575
2717
|
if (peg$silentFails === 0) {
|
|
2576
|
-
peg$fail(peg$
|
|
2718
|
+
peg$fail(peg$e31);
|
|
2577
2719
|
}
|
|
2578
2720
|
}
|
|
2579
2721
|
}
|
|
2580
2722
|
}
|
|
2581
2723
|
s3 = input.charAt(peg$currPos);
|
|
2582
|
-
if (peg$
|
|
2724
|
+
if (peg$r19.test(s3)) {
|
|
2583
2725
|
peg$currPos++;
|
|
2584
2726
|
} else {
|
|
2585
2727
|
s3 = peg$FAILED;
|
|
2586
2728
|
if (peg$silentFails === 0) {
|
|
2587
|
-
peg$fail(peg$
|
|
2729
|
+
peg$fail(peg$e29);
|
|
2588
2730
|
}
|
|
2589
2731
|
}
|
|
2590
2732
|
if (s3 !== peg$FAILED) {
|
|
2591
2733
|
peg$savedPos = s0;
|
|
2592
|
-
s0 = peg$
|
|
2734
|
+
s0 = peg$f21(s1);
|
|
2593
2735
|
} else {
|
|
2594
2736
|
peg$currPos = s0;
|
|
2595
2737
|
s0 = peg$FAILED;
|
|
@@ -2600,7 +2742,7 @@ function peg$parse(input, options) {
|
|
|
2600
2742
|
}
|
|
2601
2743
|
return s0;
|
|
2602
2744
|
}
|
|
2603
|
-
|
|
2745
|
+
chunkEWY3F3XT_js.__name(peg$parseBQuotedString, "peg$parseBQuotedString");
|
|
2604
2746
|
function peg$parsemultiLineString() {
|
|
2605
2747
|
let s0;
|
|
2606
2748
|
s0 = peg$parsesingleSQuotedMultiLineString();
|
|
@@ -2615,17 +2757,17 @@ function peg$parse(input, options) {
|
|
|
2615
2757
|
}
|
|
2616
2758
|
return s0;
|
|
2617
2759
|
}
|
|
2618
|
-
|
|
2760
|
+
chunkEWY3F3XT_js.__name(peg$parsemultiLineString, "peg$parsemultiLineString");
|
|
2619
2761
|
function peg$parsesingleSQuotedMultiLineString() {
|
|
2620
2762
|
let s0, s1, s2, s3, s4, s5;
|
|
2621
2763
|
s0 = peg$currPos;
|
|
2622
2764
|
s1 = input.charAt(peg$currPos);
|
|
2623
|
-
if (peg$
|
|
2765
|
+
if (peg$r17.test(s1)) {
|
|
2624
2766
|
peg$currPos++;
|
|
2625
2767
|
} else {
|
|
2626
2768
|
s1 = peg$FAILED;
|
|
2627
2769
|
if (peg$silentFails === 0) {
|
|
2628
|
-
peg$fail(peg$
|
|
2770
|
+
peg$fail(peg$e26);
|
|
2629
2771
|
}
|
|
2630
2772
|
}
|
|
2631
2773
|
if (s1 !== peg$FAILED) {
|
|
@@ -2638,17 +2780,17 @@ function peg$parse(input, options) {
|
|
|
2638
2780
|
} else {
|
|
2639
2781
|
s5 = peg$FAILED;
|
|
2640
2782
|
if (peg$silentFails === 0) {
|
|
2641
|
-
peg$fail(peg$
|
|
2783
|
+
peg$fail(peg$e27);
|
|
2642
2784
|
}
|
|
2643
2785
|
}
|
|
2644
2786
|
if (s5 === peg$FAILED) {
|
|
2645
2787
|
s5 = input.charAt(peg$currPos);
|
|
2646
|
-
if (peg$
|
|
2788
|
+
if (peg$r18.test(s5)) {
|
|
2647
2789
|
peg$currPos++;
|
|
2648
2790
|
} else {
|
|
2649
2791
|
s5 = peg$FAILED;
|
|
2650
2792
|
if (peg$silentFails === 0) {
|
|
2651
|
-
peg$fail(peg$
|
|
2793
|
+
peg$fail(peg$e28);
|
|
2652
2794
|
}
|
|
2653
2795
|
}
|
|
2654
2796
|
}
|
|
@@ -2660,17 +2802,17 @@ function peg$parse(input, options) {
|
|
|
2660
2802
|
} else {
|
|
2661
2803
|
s5 = peg$FAILED;
|
|
2662
2804
|
if (peg$silentFails === 0) {
|
|
2663
|
-
peg$fail(peg$
|
|
2805
|
+
peg$fail(peg$e27);
|
|
2664
2806
|
}
|
|
2665
2807
|
}
|
|
2666
2808
|
if (s5 === peg$FAILED) {
|
|
2667
2809
|
s5 = input.charAt(peg$currPos);
|
|
2668
|
-
if (peg$
|
|
2810
|
+
if (peg$r18.test(s5)) {
|
|
2669
2811
|
peg$currPos++;
|
|
2670
2812
|
} else {
|
|
2671
2813
|
s5 = peg$FAILED;
|
|
2672
2814
|
if (peg$silentFails === 0) {
|
|
2673
|
-
peg$fail(peg$
|
|
2815
|
+
peg$fail(peg$e28);
|
|
2674
2816
|
}
|
|
2675
2817
|
}
|
|
2676
2818
|
}
|
|
@@ -2702,17 +2844,17 @@ function peg$parse(input, options) {
|
|
|
2702
2844
|
} else {
|
|
2703
2845
|
s5 = peg$FAILED;
|
|
2704
2846
|
if (peg$silentFails === 0) {
|
|
2705
|
-
peg$fail(peg$
|
|
2847
|
+
peg$fail(peg$e27);
|
|
2706
2848
|
}
|
|
2707
2849
|
}
|
|
2708
2850
|
if (s5 === peg$FAILED) {
|
|
2709
2851
|
s5 = input.charAt(peg$currPos);
|
|
2710
|
-
if (peg$
|
|
2852
|
+
if (peg$r18.test(s5)) {
|
|
2711
2853
|
peg$currPos++;
|
|
2712
2854
|
} else {
|
|
2713
2855
|
s5 = peg$FAILED;
|
|
2714
2856
|
if (peg$silentFails === 0) {
|
|
2715
|
-
peg$fail(peg$
|
|
2857
|
+
peg$fail(peg$e28);
|
|
2716
2858
|
}
|
|
2717
2859
|
}
|
|
2718
2860
|
}
|
|
@@ -2724,17 +2866,17 @@ function peg$parse(input, options) {
|
|
|
2724
2866
|
} else {
|
|
2725
2867
|
s5 = peg$FAILED;
|
|
2726
2868
|
if (peg$silentFails === 0) {
|
|
2727
|
-
peg$fail(peg$
|
|
2869
|
+
peg$fail(peg$e27);
|
|
2728
2870
|
}
|
|
2729
2871
|
}
|
|
2730
2872
|
if (s5 === peg$FAILED) {
|
|
2731
2873
|
s5 = input.charAt(peg$currPos);
|
|
2732
|
-
if (peg$
|
|
2874
|
+
if (peg$r18.test(s5)) {
|
|
2733
2875
|
peg$currPos++;
|
|
2734
2876
|
} else {
|
|
2735
2877
|
s5 = peg$FAILED;
|
|
2736
2878
|
if (peg$silentFails === 0) {
|
|
2737
|
-
peg$fail(peg$
|
|
2879
|
+
peg$fail(peg$e28);
|
|
2738
2880
|
}
|
|
2739
2881
|
}
|
|
2740
2882
|
}
|
|
@@ -2767,17 +2909,17 @@ function peg$parse(input, options) {
|
|
|
2767
2909
|
} else {
|
|
2768
2910
|
s4 = peg$FAILED;
|
|
2769
2911
|
if (peg$silentFails === 0) {
|
|
2770
|
-
peg$fail(peg$
|
|
2912
|
+
peg$fail(peg$e27);
|
|
2771
2913
|
}
|
|
2772
2914
|
}
|
|
2773
2915
|
if (s4 === peg$FAILED) {
|
|
2774
2916
|
s4 = input.charAt(peg$currPos);
|
|
2775
|
-
if (peg$
|
|
2917
|
+
if (peg$r18.test(s4)) {
|
|
2776
2918
|
peg$currPos++;
|
|
2777
2919
|
} else {
|
|
2778
2920
|
s4 = peg$FAILED;
|
|
2779
2921
|
if (peg$silentFails === 0) {
|
|
2780
|
-
peg$fail(peg$
|
|
2922
|
+
peg$fail(peg$e28);
|
|
2781
2923
|
}
|
|
2782
2924
|
}
|
|
2783
2925
|
}
|
|
@@ -2789,33 +2931,33 @@ function peg$parse(input, options) {
|
|
|
2789
2931
|
} else {
|
|
2790
2932
|
s4 = peg$FAILED;
|
|
2791
2933
|
if (peg$silentFails === 0) {
|
|
2792
|
-
peg$fail(peg$
|
|
2934
|
+
peg$fail(peg$e27);
|
|
2793
2935
|
}
|
|
2794
2936
|
}
|
|
2795
2937
|
if (s4 === peg$FAILED) {
|
|
2796
2938
|
s4 = input.charAt(peg$currPos);
|
|
2797
|
-
if (peg$
|
|
2939
|
+
if (peg$r18.test(s4)) {
|
|
2798
2940
|
peg$currPos++;
|
|
2799
2941
|
} else {
|
|
2800
2942
|
s4 = peg$FAILED;
|
|
2801
2943
|
if (peg$silentFails === 0) {
|
|
2802
|
-
peg$fail(peg$
|
|
2944
|
+
peg$fail(peg$e28);
|
|
2803
2945
|
}
|
|
2804
2946
|
}
|
|
2805
2947
|
}
|
|
2806
2948
|
}
|
|
2807
2949
|
s4 = input.charAt(peg$currPos);
|
|
2808
|
-
if (peg$
|
|
2950
|
+
if (peg$r17.test(s4)) {
|
|
2809
2951
|
peg$currPos++;
|
|
2810
2952
|
} else {
|
|
2811
2953
|
s4 = peg$FAILED;
|
|
2812
2954
|
if (peg$silentFails === 0) {
|
|
2813
|
-
peg$fail(peg$
|
|
2955
|
+
peg$fail(peg$e26);
|
|
2814
2956
|
}
|
|
2815
2957
|
}
|
|
2816
2958
|
if (s4 !== peg$FAILED) {
|
|
2817
2959
|
peg$savedPos = s0;
|
|
2818
|
-
s0 = peg$
|
|
2960
|
+
s0 = peg$f22(s1);
|
|
2819
2961
|
} else {
|
|
2820
2962
|
peg$currPos = s0;
|
|
2821
2963
|
s0 = peg$FAILED;
|
|
@@ -2830,17 +2972,17 @@ function peg$parse(input, options) {
|
|
|
2830
2972
|
}
|
|
2831
2973
|
return s0;
|
|
2832
2974
|
}
|
|
2833
|
-
|
|
2975
|
+
chunkEWY3F3XT_js.__name(peg$parsesingleSQuotedMultiLineString, "peg$parsesingleSQuotedMultiLineString");
|
|
2834
2976
|
function peg$parsesingleDQuotedMultiLineString() {
|
|
2835
2977
|
let s0, s1, s2, s3, s4, s5;
|
|
2836
2978
|
s0 = peg$currPos;
|
|
2837
2979
|
s1 = input.charAt(peg$currPos);
|
|
2838
|
-
if (peg$
|
|
2980
|
+
if (peg$r15.test(s1)) {
|
|
2839
2981
|
peg$currPos++;
|
|
2840
2982
|
} else {
|
|
2841
2983
|
s1 = peg$FAILED;
|
|
2842
2984
|
if (peg$silentFails === 0) {
|
|
2843
|
-
peg$fail(peg$
|
|
2985
|
+
peg$fail(peg$e23);
|
|
2844
2986
|
}
|
|
2845
2987
|
}
|
|
2846
2988
|
if (s1 !== peg$FAILED) {
|
|
@@ -2853,17 +2995,17 @@ function peg$parse(input, options) {
|
|
|
2853
2995
|
} else {
|
|
2854
2996
|
s5 = peg$FAILED;
|
|
2855
2997
|
if (peg$silentFails === 0) {
|
|
2856
|
-
peg$fail(peg$
|
|
2998
|
+
peg$fail(peg$e24);
|
|
2857
2999
|
}
|
|
2858
3000
|
}
|
|
2859
3001
|
if (s5 === peg$FAILED) {
|
|
2860
3002
|
s5 = input.charAt(peg$currPos);
|
|
2861
|
-
if (peg$
|
|
3003
|
+
if (peg$r16.test(s5)) {
|
|
2862
3004
|
peg$currPos++;
|
|
2863
3005
|
} else {
|
|
2864
3006
|
s5 = peg$FAILED;
|
|
2865
3007
|
if (peg$silentFails === 0) {
|
|
2866
|
-
peg$fail(peg$
|
|
3008
|
+
peg$fail(peg$e25);
|
|
2867
3009
|
}
|
|
2868
3010
|
}
|
|
2869
3011
|
}
|
|
@@ -2875,17 +3017,17 @@ function peg$parse(input, options) {
|
|
|
2875
3017
|
} else {
|
|
2876
3018
|
s5 = peg$FAILED;
|
|
2877
3019
|
if (peg$silentFails === 0) {
|
|
2878
|
-
peg$fail(peg$
|
|
3020
|
+
peg$fail(peg$e24);
|
|
2879
3021
|
}
|
|
2880
3022
|
}
|
|
2881
3023
|
if (s5 === peg$FAILED) {
|
|
2882
3024
|
s5 = input.charAt(peg$currPos);
|
|
2883
|
-
if (peg$
|
|
3025
|
+
if (peg$r16.test(s5)) {
|
|
2884
3026
|
peg$currPos++;
|
|
2885
3027
|
} else {
|
|
2886
3028
|
s5 = peg$FAILED;
|
|
2887
3029
|
if (peg$silentFails === 0) {
|
|
2888
|
-
peg$fail(peg$
|
|
3030
|
+
peg$fail(peg$e25);
|
|
2889
3031
|
}
|
|
2890
3032
|
}
|
|
2891
3033
|
}
|
|
@@ -2917,17 +3059,17 @@ function peg$parse(input, options) {
|
|
|
2917
3059
|
} else {
|
|
2918
3060
|
s5 = peg$FAILED;
|
|
2919
3061
|
if (peg$silentFails === 0) {
|
|
2920
|
-
peg$fail(peg$
|
|
3062
|
+
peg$fail(peg$e24);
|
|
2921
3063
|
}
|
|
2922
3064
|
}
|
|
2923
3065
|
if (s5 === peg$FAILED) {
|
|
2924
3066
|
s5 = input.charAt(peg$currPos);
|
|
2925
|
-
if (peg$
|
|
3067
|
+
if (peg$r16.test(s5)) {
|
|
2926
3068
|
peg$currPos++;
|
|
2927
3069
|
} else {
|
|
2928
3070
|
s5 = peg$FAILED;
|
|
2929
3071
|
if (peg$silentFails === 0) {
|
|
2930
|
-
peg$fail(peg$
|
|
3072
|
+
peg$fail(peg$e25);
|
|
2931
3073
|
}
|
|
2932
3074
|
}
|
|
2933
3075
|
}
|
|
@@ -2939,17 +3081,17 @@ function peg$parse(input, options) {
|
|
|
2939
3081
|
} else {
|
|
2940
3082
|
s5 = peg$FAILED;
|
|
2941
3083
|
if (peg$silentFails === 0) {
|
|
2942
|
-
peg$fail(peg$
|
|
3084
|
+
peg$fail(peg$e24);
|
|
2943
3085
|
}
|
|
2944
3086
|
}
|
|
2945
3087
|
if (s5 === peg$FAILED) {
|
|
2946
3088
|
s5 = input.charAt(peg$currPos);
|
|
2947
|
-
if (peg$
|
|
3089
|
+
if (peg$r16.test(s5)) {
|
|
2948
3090
|
peg$currPos++;
|
|
2949
3091
|
} else {
|
|
2950
3092
|
s5 = peg$FAILED;
|
|
2951
3093
|
if (peg$silentFails === 0) {
|
|
2952
|
-
peg$fail(peg$
|
|
3094
|
+
peg$fail(peg$e25);
|
|
2953
3095
|
}
|
|
2954
3096
|
}
|
|
2955
3097
|
}
|
|
@@ -2982,17 +3124,17 @@ function peg$parse(input, options) {
|
|
|
2982
3124
|
} else {
|
|
2983
3125
|
s4 = peg$FAILED;
|
|
2984
3126
|
if (peg$silentFails === 0) {
|
|
2985
|
-
peg$fail(peg$
|
|
3127
|
+
peg$fail(peg$e24);
|
|
2986
3128
|
}
|
|
2987
3129
|
}
|
|
2988
3130
|
if (s4 === peg$FAILED) {
|
|
2989
3131
|
s4 = input.charAt(peg$currPos);
|
|
2990
|
-
if (peg$
|
|
3132
|
+
if (peg$r16.test(s4)) {
|
|
2991
3133
|
peg$currPos++;
|
|
2992
3134
|
} else {
|
|
2993
3135
|
s4 = peg$FAILED;
|
|
2994
3136
|
if (peg$silentFails === 0) {
|
|
2995
|
-
peg$fail(peg$
|
|
3137
|
+
peg$fail(peg$e25);
|
|
2996
3138
|
}
|
|
2997
3139
|
}
|
|
2998
3140
|
}
|
|
@@ -3004,33 +3146,33 @@ function peg$parse(input, options) {
|
|
|
3004
3146
|
} else {
|
|
3005
3147
|
s4 = peg$FAILED;
|
|
3006
3148
|
if (peg$silentFails === 0) {
|
|
3007
|
-
peg$fail(peg$
|
|
3149
|
+
peg$fail(peg$e24);
|
|
3008
3150
|
}
|
|
3009
3151
|
}
|
|
3010
3152
|
if (s4 === peg$FAILED) {
|
|
3011
3153
|
s4 = input.charAt(peg$currPos);
|
|
3012
|
-
if (peg$
|
|
3154
|
+
if (peg$r16.test(s4)) {
|
|
3013
3155
|
peg$currPos++;
|
|
3014
3156
|
} else {
|
|
3015
3157
|
s4 = peg$FAILED;
|
|
3016
3158
|
if (peg$silentFails === 0) {
|
|
3017
|
-
peg$fail(peg$
|
|
3159
|
+
peg$fail(peg$e25);
|
|
3018
3160
|
}
|
|
3019
3161
|
}
|
|
3020
3162
|
}
|
|
3021
3163
|
}
|
|
3022
3164
|
s4 = input.charAt(peg$currPos);
|
|
3023
|
-
if (peg$
|
|
3165
|
+
if (peg$r15.test(s4)) {
|
|
3024
3166
|
peg$currPos++;
|
|
3025
3167
|
} else {
|
|
3026
3168
|
s4 = peg$FAILED;
|
|
3027
3169
|
if (peg$silentFails === 0) {
|
|
3028
|
-
peg$fail(peg$
|
|
3170
|
+
peg$fail(peg$e23);
|
|
3029
3171
|
}
|
|
3030
3172
|
}
|
|
3031
3173
|
if (s4 !== peg$FAILED) {
|
|
3032
3174
|
peg$savedPos = s0;
|
|
3033
|
-
s0 = peg$
|
|
3175
|
+
s0 = peg$f23(s1);
|
|
3034
3176
|
} else {
|
|
3035
3177
|
peg$currPos = s0;
|
|
3036
3178
|
s0 = peg$FAILED;
|
|
@@ -3045,7 +3187,7 @@ function peg$parse(input, options) {
|
|
|
3045
3187
|
}
|
|
3046
3188
|
return s0;
|
|
3047
3189
|
}
|
|
3048
|
-
|
|
3190
|
+
chunkEWY3F3XT_js.__name(peg$parsesingleDQuotedMultiLineString, "peg$parsesingleDQuotedMultiLineString");
|
|
3049
3191
|
function peg$parsetripleDQuotedMultiLineString() {
|
|
3050
3192
|
let s0, s1, s2, s3, s4, s5, s6, s7;
|
|
3051
3193
|
s0 = peg$currPos;
|
|
@@ -3055,7 +3197,7 @@ function peg$parse(input, options) {
|
|
|
3055
3197
|
} else {
|
|
3056
3198
|
s1 = peg$FAILED;
|
|
3057
3199
|
if (peg$silentFails === 0) {
|
|
3058
|
-
peg$fail(peg$
|
|
3200
|
+
peg$fail(peg$e32);
|
|
3059
3201
|
}
|
|
3060
3202
|
}
|
|
3061
3203
|
if (s1 !== peg$FAILED) {
|
|
@@ -3068,7 +3210,7 @@ function peg$parse(input, options) {
|
|
|
3068
3210
|
} else {
|
|
3069
3211
|
s5 = peg$FAILED;
|
|
3070
3212
|
if (peg$silentFails === 0) {
|
|
3071
|
-
peg$fail(peg$
|
|
3213
|
+
peg$fail(peg$e33);
|
|
3072
3214
|
}
|
|
3073
3215
|
}
|
|
3074
3216
|
if (s5 === peg$FAILED) {
|
|
@@ -3081,7 +3223,7 @@ function peg$parse(input, options) {
|
|
|
3081
3223
|
} else {
|
|
3082
3224
|
s7 = peg$FAILED;
|
|
3083
3225
|
if (peg$silentFails === 0) {
|
|
3084
|
-
peg$fail(peg$
|
|
3226
|
+
peg$fail(peg$e32);
|
|
3085
3227
|
}
|
|
3086
3228
|
}
|
|
3087
3229
|
peg$silentFails--;
|
|
@@ -3121,7 +3263,7 @@ function peg$parse(input, options) {
|
|
|
3121
3263
|
} else {
|
|
3122
3264
|
s5 = peg$FAILED;
|
|
3123
3265
|
if (peg$silentFails === 0) {
|
|
3124
|
-
peg$fail(peg$
|
|
3266
|
+
peg$fail(peg$e33);
|
|
3125
3267
|
}
|
|
3126
3268
|
}
|
|
3127
3269
|
if (s5 === peg$FAILED) {
|
|
@@ -3134,7 +3276,7 @@ function peg$parse(input, options) {
|
|
|
3134
3276
|
} else {
|
|
3135
3277
|
s7 = peg$FAILED;
|
|
3136
3278
|
if (peg$silentFails === 0) {
|
|
3137
|
-
peg$fail(peg$
|
|
3279
|
+
peg$fail(peg$e32);
|
|
3138
3280
|
}
|
|
3139
3281
|
}
|
|
3140
3282
|
peg$silentFails--;
|
|
@@ -3194,7 +3336,7 @@ function peg$parse(input, options) {
|
|
|
3194
3336
|
} else {
|
|
3195
3337
|
s5 = peg$FAILED;
|
|
3196
3338
|
if (peg$silentFails === 0) {
|
|
3197
|
-
peg$fail(peg$
|
|
3339
|
+
peg$fail(peg$e33);
|
|
3198
3340
|
}
|
|
3199
3341
|
}
|
|
3200
3342
|
if (s5 === peg$FAILED) {
|
|
@@ -3207,7 +3349,7 @@ function peg$parse(input, options) {
|
|
|
3207
3349
|
} else {
|
|
3208
3350
|
s7 = peg$FAILED;
|
|
3209
3351
|
if (peg$silentFails === 0) {
|
|
3210
|
-
peg$fail(peg$
|
|
3352
|
+
peg$fail(peg$e32);
|
|
3211
3353
|
}
|
|
3212
3354
|
}
|
|
3213
3355
|
peg$silentFails--;
|
|
@@ -3247,7 +3389,7 @@ function peg$parse(input, options) {
|
|
|
3247
3389
|
} else {
|
|
3248
3390
|
s5 = peg$FAILED;
|
|
3249
3391
|
if (peg$silentFails === 0) {
|
|
3250
|
-
peg$fail(peg$
|
|
3392
|
+
peg$fail(peg$e33);
|
|
3251
3393
|
}
|
|
3252
3394
|
}
|
|
3253
3395
|
if (s5 === peg$FAILED) {
|
|
@@ -3260,7 +3402,7 @@ function peg$parse(input, options) {
|
|
|
3260
3402
|
} else {
|
|
3261
3403
|
s7 = peg$FAILED;
|
|
3262
3404
|
if (peg$silentFails === 0) {
|
|
3263
|
-
peg$fail(peg$
|
|
3405
|
+
peg$fail(peg$e32);
|
|
3264
3406
|
}
|
|
3265
3407
|
}
|
|
3266
3408
|
peg$silentFails--;
|
|
@@ -3321,7 +3463,7 @@ function peg$parse(input, options) {
|
|
|
3321
3463
|
} else {
|
|
3322
3464
|
s4 = peg$FAILED;
|
|
3323
3465
|
if (peg$silentFails === 0) {
|
|
3324
|
-
peg$fail(peg$
|
|
3466
|
+
peg$fail(peg$e33);
|
|
3325
3467
|
}
|
|
3326
3468
|
}
|
|
3327
3469
|
if (s4 === peg$FAILED) {
|
|
@@ -3334,7 +3476,7 @@ function peg$parse(input, options) {
|
|
|
3334
3476
|
} else {
|
|
3335
3477
|
s6 = peg$FAILED;
|
|
3336
3478
|
if (peg$silentFails === 0) {
|
|
3337
|
-
peg$fail(peg$
|
|
3479
|
+
peg$fail(peg$e32);
|
|
3338
3480
|
}
|
|
3339
3481
|
}
|
|
3340
3482
|
peg$silentFails--;
|
|
@@ -3374,7 +3516,7 @@ function peg$parse(input, options) {
|
|
|
3374
3516
|
} else {
|
|
3375
3517
|
s4 = peg$FAILED;
|
|
3376
3518
|
if (peg$silentFails === 0) {
|
|
3377
|
-
peg$fail(peg$
|
|
3519
|
+
peg$fail(peg$e33);
|
|
3378
3520
|
}
|
|
3379
3521
|
}
|
|
3380
3522
|
if (s4 === peg$FAILED) {
|
|
@@ -3387,7 +3529,7 @@ function peg$parse(input, options) {
|
|
|
3387
3529
|
} else {
|
|
3388
3530
|
s6 = peg$FAILED;
|
|
3389
3531
|
if (peg$silentFails === 0) {
|
|
3390
|
-
peg$fail(peg$
|
|
3532
|
+
peg$fail(peg$e32);
|
|
3391
3533
|
}
|
|
3392
3534
|
}
|
|
3393
3535
|
peg$silentFails--;
|
|
@@ -3426,12 +3568,12 @@ function peg$parse(input, options) {
|
|
|
3426
3568
|
} else {
|
|
3427
3569
|
s4 = peg$FAILED;
|
|
3428
3570
|
if (peg$silentFails === 0) {
|
|
3429
|
-
peg$fail(peg$
|
|
3571
|
+
peg$fail(peg$e32);
|
|
3430
3572
|
}
|
|
3431
3573
|
}
|
|
3432
3574
|
if (s4 !== peg$FAILED) {
|
|
3433
3575
|
peg$savedPos = s0;
|
|
3434
|
-
s0 = peg$
|
|
3576
|
+
s0 = peg$f24(s1);
|
|
3435
3577
|
} else {
|
|
3436
3578
|
peg$currPos = s0;
|
|
3437
3579
|
s0 = peg$FAILED;
|
|
@@ -3446,7 +3588,7 @@ function peg$parse(input, options) {
|
|
|
3446
3588
|
}
|
|
3447
3589
|
return s0;
|
|
3448
3590
|
}
|
|
3449
|
-
|
|
3591
|
+
chunkEWY3F3XT_js.__name(peg$parsetripleDQuotedMultiLineString, "peg$parsetripleDQuotedMultiLineString");
|
|
3450
3592
|
function peg$parsetripleBQuotedMultiLineString() {
|
|
3451
3593
|
let s0, s1, s2, s3, s4, s5, s6, s7;
|
|
3452
3594
|
s0 = peg$currPos;
|
|
@@ -3456,7 +3598,7 @@ function peg$parse(input, options) {
|
|
|
3456
3598
|
} else {
|
|
3457
3599
|
s1 = peg$FAILED;
|
|
3458
3600
|
if (peg$silentFails === 0) {
|
|
3459
|
-
peg$fail(peg$
|
|
3601
|
+
peg$fail(peg$e34);
|
|
3460
3602
|
}
|
|
3461
3603
|
}
|
|
3462
3604
|
if (s1 !== peg$FAILED) {
|
|
@@ -3469,7 +3611,7 @@ function peg$parse(input, options) {
|
|
|
3469
3611
|
} else {
|
|
3470
3612
|
s5 = peg$FAILED;
|
|
3471
3613
|
if (peg$silentFails === 0) {
|
|
3472
|
-
peg$fail(peg$
|
|
3614
|
+
peg$fail(peg$e35);
|
|
3473
3615
|
}
|
|
3474
3616
|
}
|
|
3475
3617
|
if (s5 === peg$FAILED) {
|
|
@@ -3482,7 +3624,7 @@ function peg$parse(input, options) {
|
|
|
3482
3624
|
} else {
|
|
3483
3625
|
s7 = peg$FAILED;
|
|
3484
3626
|
if (peg$silentFails === 0) {
|
|
3485
|
-
peg$fail(peg$
|
|
3627
|
+
peg$fail(peg$e34);
|
|
3486
3628
|
}
|
|
3487
3629
|
}
|
|
3488
3630
|
peg$silentFails--;
|
|
@@ -3522,7 +3664,7 @@ function peg$parse(input, options) {
|
|
|
3522
3664
|
} else {
|
|
3523
3665
|
s5 = peg$FAILED;
|
|
3524
3666
|
if (peg$silentFails === 0) {
|
|
3525
|
-
peg$fail(peg$
|
|
3667
|
+
peg$fail(peg$e35);
|
|
3526
3668
|
}
|
|
3527
3669
|
}
|
|
3528
3670
|
if (s5 === peg$FAILED) {
|
|
@@ -3535,7 +3677,7 @@ function peg$parse(input, options) {
|
|
|
3535
3677
|
} else {
|
|
3536
3678
|
s7 = peg$FAILED;
|
|
3537
3679
|
if (peg$silentFails === 0) {
|
|
3538
|
-
peg$fail(peg$
|
|
3680
|
+
peg$fail(peg$e34);
|
|
3539
3681
|
}
|
|
3540
3682
|
}
|
|
3541
3683
|
peg$silentFails--;
|
|
@@ -3595,7 +3737,7 @@ function peg$parse(input, options) {
|
|
|
3595
3737
|
} else {
|
|
3596
3738
|
s5 = peg$FAILED;
|
|
3597
3739
|
if (peg$silentFails === 0) {
|
|
3598
|
-
peg$fail(peg$
|
|
3740
|
+
peg$fail(peg$e35);
|
|
3599
3741
|
}
|
|
3600
3742
|
}
|
|
3601
3743
|
if (s5 === peg$FAILED) {
|
|
@@ -3608,7 +3750,7 @@ function peg$parse(input, options) {
|
|
|
3608
3750
|
} else {
|
|
3609
3751
|
s7 = peg$FAILED;
|
|
3610
3752
|
if (peg$silentFails === 0) {
|
|
3611
|
-
peg$fail(peg$
|
|
3753
|
+
peg$fail(peg$e34);
|
|
3612
3754
|
}
|
|
3613
3755
|
}
|
|
3614
3756
|
peg$silentFails--;
|
|
@@ -3648,7 +3790,7 @@ function peg$parse(input, options) {
|
|
|
3648
3790
|
} else {
|
|
3649
3791
|
s5 = peg$FAILED;
|
|
3650
3792
|
if (peg$silentFails === 0) {
|
|
3651
|
-
peg$fail(peg$
|
|
3793
|
+
peg$fail(peg$e35);
|
|
3652
3794
|
}
|
|
3653
3795
|
}
|
|
3654
3796
|
if (s5 === peg$FAILED) {
|
|
@@ -3661,7 +3803,7 @@ function peg$parse(input, options) {
|
|
|
3661
3803
|
} else {
|
|
3662
3804
|
s7 = peg$FAILED;
|
|
3663
3805
|
if (peg$silentFails === 0) {
|
|
3664
|
-
peg$fail(peg$
|
|
3806
|
+
peg$fail(peg$e34);
|
|
3665
3807
|
}
|
|
3666
3808
|
}
|
|
3667
3809
|
peg$silentFails--;
|
|
@@ -3722,7 +3864,7 @@ function peg$parse(input, options) {
|
|
|
3722
3864
|
} else {
|
|
3723
3865
|
s4 = peg$FAILED;
|
|
3724
3866
|
if (peg$silentFails === 0) {
|
|
3725
|
-
peg$fail(peg$
|
|
3867
|
+
peg$fail(peg$e35);
|
|
3726
3868
|
}
|
|
3727
3869
|
}
|
|
3728
3870
|
if (s4 === peg$FAILED) {
|
|
@@ -3735,7 +3877,7 @@ function peg$parse(input, options) {
|
|
|
3735
3877
|
} else {
|
|
3736
3878
|
s6 = peg$FAILED;
|
|
3737
3879
|
if (peg$silentFails === 0) {
|
|
3738
|
-
peg$fail(peg$
|
|
3880
|
+
peg$fail(peg$e34);
|
|
3739
3881
|
}
|
|
3740
3882
|
}
|
|
3741
3883
|
peg$silentFails--;
|
|
@@ -3775,7 +3917,7 @@ function peg$parse(input, options) {
|
|
|
3775
3917
|
} else {
|
|
3776
3918
|
s4 = peg$FAILED;
|
|
3777
3919
|
if (peg$silentFails === 0) {
|
|
3778
|
-
peg$fail(peg$
|
|
3920
|
+
peg$fail(peg$e35);
|
|
3779
3921
|
}
|
|
3780
3922
|
}
|
|
3781
3923
|
if (s4 === peg$FAILED) {
|
|
@@ -3788,7 +3930,7 @@ function peg$parse(input, options) {
|
|
|
3788
3930
|
} else {
|
|
3789
3931
|
s6 = peg$FAILED;
|
|
3790
3932
|
if (peg$silentFails === 0) {
|
|
3791
|
-
peg$fail(peg$
|
|
3933
|
+
peg$fail(peg$e34);
|
|
3792
3934
|
}
|
|
3793
3935
|
}
|
|
3794
3936
|
peg$silentFails--;
|
|
@@ -3827,12 +3969,12 @@ function peg$parse(input, options) {
|
|
|
3827
3969
|
} else {
|
|
3828
3970
|
s4 = peg$FAILED;
|
|
3829
3971
|
if (peg$silentFails === 0) {
|
|
3830
|
-
peg$fail(peg$
|
|
3972
|
+
peg$fail(peg$e34);
|
|
3831
3973
|
}
|
|
3832
3974
|
}
|
|
3833
3975
|
if (s4 !== peg$FAILED) {
|
|
3834
3976
|
peg$savedPos = s0;
|
|
3835
|
-
s0 = peg$
|
|
3977
|
+
s0 = peg$f25(s1);
|
|
3836
3978
|
} else {
|
|
3837
3979
|
peg$currPos = s0;
|
|
3838
3980
|
s0 = peg$FAILED;
|
|
@@ -3847,7 +3989,7 @@ function peg$parse(input, options) {
|
|
|
3847
3989
|
}
|
|
3848
3990
|
return s0;
|
|
3849
3991
|
}
|
|
3850
|
-
|
|
3992
|
+
chunkEWY3F3XT_js.__name(peg$parsetripleBQuotedMultiLineString, "peg$parsetripleBQuotedMultiLineString");
|
|
3851
3993
|
function peg$parse_n() {
|
|
3852
3994
|
let s0, s1;
|
|
3853
3995
|
if (input.charCodeAt(peg$currPos) === 10) {
|
|
@@ -3868,7 +4010,7 @@ function peg$parse(input, options) {
|
|
|
3868
4010
|
} else {
|
|
3869
4011
|
s1 = peg$FAILED;
|
|
3870
4012
|
if (peg$silentFails === 0) {
|
|
3871
|
-
peg$fail(peg$
|
|
4013
|
+
peg$fail(peg$e36);
|
|
3872
4014
|
}
|
|
3873
4015
|
}
|
|
3874
4016
|
peg$silentFails--;
|
|
@@ -3881,56 +4023,56 @@ function peg$parse(input, options) {
|
|
|
3881
4023
|
}
|
|
3882
4024
|
return s0;
|
|
3883
4025
|
}
|
|
3884
|
-
|
|
4026
|
+
chunkEWY3F3XT_js.__name(peg$parse_n, "peg$parse_n");
|
|
3885
4027
|
function peg$parse_() {
|
|
3886
4028
|
let s0, s1;
|
|
3887
4029
|
s0 = [];
|
|
3888
4030
|
s1 = input.charAt(peg$currPos);
|
|
3889
|
-
if (peg$
|
|
4031
|
+
if (peg$r8.test(s1)) {
|
|
3890
4032
|
peg$currPos++;
|
|
3891
4033
|
} else {
|
|
3892
4034
|
s1 = peg$FAILED;
|
|
3893
4035
|
if (peg$silentFails === 0) {
|
|
3894
|
-
peg$fail(peg$
|
|
4036
|
+
peg$fail(peg$e16);
|
|
3895
4037
|
}
|
|
3896
4038
|
}
|
|
3897
4039
|
while (s1 !== peg$FAILED) {
|
|
3898
4040
|
s0.push(s1);
|
|
3899
4041
|
s1 = input.charAt(peg$currPos);
|
|
3900
|
-
if (peg$
|
|
4042
|
+
if (peg$r8.test(s1)) {
|
|
3901
4043
|
peg$currPos++;
|
|
3902
4044
|
} else {
|
|
3903
4045
|
s1 = peg$FAILED;
|
|
3904
4046
|
if (peg$silentFails === 0) {
|
|
3905
|
-
peg$fail(peg$
|
|
4047
|
+
peg$fail(peg$e16);
|
|
3906
4048
|
}
|
|
3907
4049
|
}
|
|
3908
4050
|
}
|
|
3909
4051
|
return s0;
|
|
3910
4052
|
}
|
|
3911
|
-
|
|
4053
|
+
chunkEWY3F3XT_js.__name(peg$parse_, "peg$parse_");
|
|
3912
4054
|
function peg$parse__() {
|
|
3913
4055
|
let s0, s1;
|
|
3914
4056
|
s0 = [];
|
|
3915
4057
|
s1 = input.charAt(peg$currPos);
|
|
3916
|
-
if (peg$
|
|
4058
|
+
if (peg$r8.test(s1)) {
|
|
3917
4059
|
peg$currPos++;
|
|
3918
4060
|
} else {
|
|
3919
4061
|
s1 = peg$FAILED;
|
|
3920
4062
|
if (peg$silentFails === 0) {
|
|
3921
|
-
peg$fail(peg$
|
|
4063
|
+
peg$fail(peg$e16);
|
|
3922
4064
|
}
|
|
3923
4065
|
}
|
|
3924
4066
|
if (s1 !== peg$FAILED) {
|
|
3925
4067
|
while (s1 !== peg$FAILED) {
|
|
3926
4068
|
s0.push(s1);
|
|
3927
4069
|
s1 = input.charAt(peg$currPos);
|
|
3928
|
-
if (peg$
|
|
4070
|
+
if (peg$r8.test(s1)) {
|
|
3929
4071
|
peg$currPos++;
|
|
3930
4072
|
} else {
|
|
3931
4073
|
s1 = peg$FAILED;
|
|
3932
4074
|
if (peg$silentFails === 0) {
|
|
3933
|
-
peg$fail(peg$
|
|
4075
|
+
peg$fail(peg$e16);
|
|
3934
4076
|
}
|
|
3935
4077
|
}
|
|
3936
4078
|
}
|
|
@@ -3939,7 +4081,7 @@ function peg$parse(input, options) {
|
|
|
3939
4081
|
}
|
|
3940
4082
|
return s0;
|
|
3941
4083
|
}
|
|
3942
|
-
|
|
4084
|
+
chunkEWY3F3XT_js.__name(peg$parse__, "peg$parse__");
|
|
3943
4085
|
peg$result = peg$startRuleFunction();
|
|
3944
4086
|
const peg$success = peg$result !== peg$FAILED && peg$currPos === input.length;
|
|
3945
4087
|
function peg$throw() {
|
|
@@ -3952,7 +4094,7 @@ function peg$parse(input, options) {
|
|
|
3952
4094
|
peg$maxFailPos < input.length ? peg$computeLocation(peg$maxFailPos, peg$maxFailPos + 1) : peg$computeLocation(peg$maxFailPos, peg$maxFailPos)
|
|
3953
4095
|
);
|
|
3954
4096
|
}
|
|
3955
|
-
|
|
4097
|
+
chunkEWY3F3XT_js.__name(peg$throw, "peg$throw");
|
|
3956
4098
|
if (options.peg$library) {
|
|
3957
4099
|
return (
|
|
3958
4100
|
/** @type {any} */
|
|
@@ -3973,65 +4115,65 @@ function peg$parse(input, options) {
|
|
|
3973
4115
|
peg$throw();
|
|
3974
4116
|
}
|
|
3975
4117
|
}
|
|
3976
|
-
|
|
4118
|
+
chunkEWY3F3XT_js.__name(peg$parse, "peg$parse");
|
|
3977
4119
|
|
|
3978
4120
|
// src/index.ts
|
|
3979
4121
|
function parseEnvSpecDotEnvFile(source) {
|
|
3980
4122
|
return peg$parse(source.replaceAll("\r\n", "\n"));
|
|
3981
4123
|
}
|
|
3982
|
-
|
|
4124
|
+
chunkEWY3F3XT_js.__name(parseEnvSpecDotEnvFile, "parseEnvSpecDotEnvFile");
|
|
3983
4125
|
|
|
3984
4126
|
Object.defineProperty(exports, "ParsedEnvSpecBlankLine", {
|
|
3985
4127
|
enumerable: true,
|
|
3986
|
-
get: function () { return
|
|
4128
|
+
get: function () { return chunkEWY3F3XT_js.ParsedEnvSpecBlankLine; }
|
|
3987
4129
|
});
|
|
3988
4130
|
Object.defineProperty(exports, "ParsedEnvSpecComment", {
|
|
3989
4131
|
enumerable: true,
|
|
3990
|
-
get: function () { return
|
|
4132
|
+
get: function () { return chunkEWY3F3XT_js.ParsedEnvSpecComment; }
|
|
3991
4133
|
});
|
|
3992
4134
|
Object.defineProperty(exports, "ParsedEnvSpecCommentBlock", {
|
|
3993
4135
|
enumerable: true,
|
|
3994
|
-
get: function () { return
|
|
4136
|
+
get: function () { return chunkEWY3F3XT_js.ParsedEnvSpecCommentBlock; }
|
|
3995
4137
|
});
|
|
3996
4138
|
Object.defineProperty(exports, "ParsedEnvSpecConfigItem", {
|
|
3997
4139
|
enumerable: true,
|
|
3998
|
-
get: function () { return
|
|
4140
|
+
get: function () { return chunkEWY3F3XT_js.ParsedEnvSpecConfigItem; }
|
|
3999
4141
|
});
|
|
4000
4142
|
Object.defineProperty(exports, "ParsedEnvSpecDecorator", {
|
|
4001
4143
|
enumerable: true,
|
|
4002
|
-
get: function () { return
|
|
4144
|
+
get: function () { return chunkEWY3F3XT_js.ParsedEnvSpecDecorator; }
|
|
4003
4145
|
});
|
|
4004
4146
|
Object.defineProperty(exports, "ParsedEnvSpecDecoratorComment", {
|
|
4005
4147
|
enumerable: true,
|
|
4006
|
-
get: function () { return
|
|
4148
|
+
get: function () { return chunkEWY3F3XT_js.ParsedEnvSpecDecoratorComment; }
|
|
4007
4149
|
});
|
|
4008
4150
|
Object.defineProperty(exports, "ParsedEnvSpecDivider", {
|
|
4009
4151
|
enumerable: true,
|
|
4010
|
-
get: function () { return
|
|
4152
|
+
get: function () { return chunkEWY3F3XT_js.ParsedEnvSpecDivider; }
|
|
4011
4153
|
});
|
|
4012
4154
|
Object.defineProperty(exports, "ParsedEnvSpecFile", {
|
|
4013
4155
|
enumerable: true,
|
|
4014
|
-
get: function () { return
|
|
4156
|
+
get: function () { return chunkEWY3F3XT_js.ParsedEnvSpecFile; }
|
|
4015
4157
|
});
|
|
4016
4158
|
Object.defineProperty(exports, "ParsedEnvSpecFunctionArgs", {
|
|
4017
4159
|
enumerable: true,
|
|
4018
|
-
get: function () { return
|
|
4160
|
+
get: function () { return chunkEWY3F3XT_js.ParsedEnvSpecFunctionArgs; }
|
|
4019
4161
|
});
|
|
4020
4162
|
Object.defineProperty(exports, "ParsedEnvSpecFunctionCall", {
|
|
4021
4163
|
enumerable: true,
|
|
4022
|
-
get: function () { return
|
|
4164
|
+
get: function () { return chunkEWY3F3XT_js.ParsedEnvSpecFunctionCall; }
|
|
4023
4165
|
});
|
|
4024
4166
|
Object.defineProperty(exports, "ParsedEnvSpecKeyValuePair", {
|
|
4025
4167
|
enumerable: true,
|
|
4026
|
-
get: function () { return
|
|
4168
|
+
get: function () { return chunkEWY3F3XT_js.ParsedEnvSpecKeyValuePair; }
|
|
4027
4169
|
});
|
|
4028
4170
|
Object.defineProperty(exports, "ParsedEnvSpecStaticValue", {
|
|
4029
4171
|
enumerable: true,
|
|
4030
|
-
get: function () { return
|
|
4172
|
+
get: function () { return chunkEWY3F3XT_js.ParsedEnvSpecStaticValue; }
|
|
4031
4173
|
});
|
|
4032
4174
|
Object.defineProperty(exports, "expand", {
|
|
4033
4175
|
enumerable: true,
|
|
4034
|
-
get: function () { return
|
|
4176
|
+
get: function () { return chunkEWY3F3XT_js.expand; }
|
|
4035
4177
|
});
|
|
4036
4178
|
exports.envSpecUpdater = envSpecUpdater;
|
|
4037
4179
|
exports.parseEnvSpecDotEnvFile = parseEnvSpecDotEnvFile;
|