@env-spec/parser 0.3.0 → 0.3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{chunk-RRVAHNIY.mjs → chunk-AVMDB47P.mjs} +11 -39
- package/dist/chunk-AVMDB47P.mjs.map +1 -0
- package/dist/{chunk-CHM43IJO.js → chunk-KJP2NVDR.js} +10 -39
- package/dist/chunk-KJP2NVDR.js.map +1 -0
- package/dist/{classes-CgmCxTZQ.d.mts → classes-DHueAliY.d.mts} +13 -31
- package/dist/{classes-CgmCxTZQ.d.ts → classes-DHueAliY.d.ts} +13 -31
- package/dist/index.d.mts +4 -4
- package/dist/index.d.ts +4 -4
- package/dist/index.js +470 -609
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +329 -464
- package/dist/index.mjs.map +1 -1
- package/dist/simple-resolver.d.mts +1 -1
- package/dist/simple-resolver.d.ts +1 -1
- package/dist/simple-resolver.js +11 -12
- package/dist/simple-resolver.js.map +1 -1
- package/dist/simple-resolver.mjs +1 -2
- package/dist/simple-resolver.mjs.map +1 -1
- package/package.json +1 -1
- package/dist/chunk-CHM43IJO.js.map +0 -1
- package/dist/chunk-RRVAHNIY.mjs.map +0 -1
package/dist/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkKJP2NVDR_js = require('./chunk-KJP2NVDR.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 chunkKJP2NVDR_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 chunkKJP2NVDR_js.ParsedEnvSpecComment({ contents: line, leadingSpace: " " })),
|
|
14
|
+
divider: new chunkKJP2NVDR_js.ParsedEnvSpecDivider({ contents: "----------", leadingSpace: " " })
|
|
15
15
|
}),
|
|
16
|
-
new
|
|
16
|
+
new chunkKJP2NVDR_js.ParsedEnvSpecBlankLine({})
|
|
17
17
|
// add extra blank line after header
|
|
18
18
|
);
|
|
19
19
|
}
|
|
20
20
|
}
|
|
21
|
-
|
|
21
|
+
chunkKJP2NVDR_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
|
+
chunkKJP2NVDR_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 chunkKJP2NVDR_js.ParsedEnvSpecDecoratorComment && lastComment.toString().length < 40) {
|
|
46
46
|
decCommentLine = lastComment;
|
|
47
47
|
} else {
|
|
48
|
-
decCommentLine = new
|
|
48
|
+
decCommentLine = new chunkKJP2NVDR_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
|
+
chunkKJP2NVDR_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 chunkKJP2NVDR_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 chunkKJP2NVDR_js.ParsedEnvSpecDecoratorComment && lastComment.toString().length < 40) {
|
|
78
78
|
decCommentLine = lastComment;
|
|
79
79
|
} else {
|
|
80
|
-
decCommentLine = new
|
|
80
|
+
decCommentLine = new chunkKJP2NVDR_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
|
+
chunkKJP2NVDR_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
|
+
chunkKJP2NVDR_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
|
+
chunkKJP2NVDR_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
|
+
chunkKJP2NVDR_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
|
+
chunkKJP2NVDR_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
|
+
chunkKJP2NVDR_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
|
+
chunkKJP2NVDR_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
|
+
chunkKJP2NVDR_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
|
+
chunkKJP2NVDR_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
|
+
chunkKJP2NVDR_js.__name(describeExpected, "describeExpected");
|
|
230
230
|
function describeFound(found2) {
|
|
231
231
|
return found2 ? '"' + literalEscape(found2) + '"' : "end of input";
|
|
232
232
|
}
|
|
233
|
-
|
|
233
|
+
chunkKJP2NVDR_js.__name(describeFound, "describeFound");
|
|
234
234
|
return "Expected " + describeExpected(expected) + " but " + describeFound(found) + " found.";
|
|
235
235
|
}
|
|
236
236
|
};
|
|
@@ -251,15 +251,13 @@ function peg$parse(input, options) {
|
|
|
251
251
|
const peg$c6 = "(";
|
|
252
252
|
const peg$c7 = ",";
|
|
253
253
|
const peg$c8 = ")";
|
|
254
|
-
const peg$c9 = "
|
|
255
|
-
const peg$c10 = "
|
|
256
|
-
const peg$c11 =
|
|
257
|
-
const peg$c12 = "
|
|
258
|
-
const peg$c13 = "
|
|
259
|
-
const peg$c14 =
|
|
260
|
-
const peg$c15 =
|
|
261
|
-
const peg$c16 = "```";
|
|
262
|
-
const peg$c17 = "\\```";
|
|
254
|
+
const peg$c9 = '\\"';
|
|
255
|
+
const peg$c10 = "\\'";
|
|
256
|
+
const peg$c11 = "\\`";
|
|
257
|
+
const peg$c12 = '"""';
|
|
258
|
+
const peg$c13 = '\\"""';
|
|
259
|
+
const peg$c14 = "```";
|
|
260
|
+
const peg$c15 = "\\```";
|
|
263
261
|
const peg$r0 = /^[a-zA-Z_]/;
|
|
264
262
|
const peg$r1 = /^[a-zA-Z0-9_.\-]/;
|
|
265
263
|
const peg$r2 = /^[^\n]/;
|
|
@@ -270,17 +268,15 @@ function peg$parse(input, options) {
|
|
|
270
268
|
const peg$r7 = /^[ \t]/;
|
|
271
269
|
const peg$r8 = /^[ \t\n]/;
|
|
272
270
|
const peg$r9 = /^[\-=*#]/;
|
|
273
|
-
const peg$r10 = /^[
|
|
274
|
-
const peg$r11 = /^[
|
|
275
|
-
const peg$r12 = /^[
|
|
276
|
-
const peg$r13 = /^[
|
|
277
|
-
const peg$r14 = /^[
|
|
278
|
-
const peg$r15 = /^[
|
|
279
|
-
const peg$r16 = /^[^
|
|
280
|
-
const peg$r17 = /^[
|
|
281
|
-
const peg$r18 = /^[
|
|
282
|
-
const peg$r19 = /^[`]/;
|
|
283
|
-
const peg$r20 = /^[^`\n]/;
|
|
271
|
+
const peg$r10 = /^['"`]/;
|
|
272
|
+
const peg$r11 = /^[^#\n]/;
|
|
273
|
+
const peg$r12 = /^[^# \n]/;
|
|
274
|
+
const peg$r13 = /^["]/;
|
|
275
|
+
const peg$r14 = /^[^"\n]/;
|
|
276
|
+
const peg$r15 = /^[']/;
|
|
277
|
+
const peg$r16 = /^[^'\n]/;
|
|
278
|
+
const peg$r17 = /^[`]/;
|
|
279
|
+
const peg$r18 = /^[^`\n]/;
|
|
284
280
|
const peg$e0 = peg$literalExpectation("\n", false);
|
|
285
281
|
const peg$e1 = peg$literalExpectation("export ", false);
|
|
286
282
|
const peg$e2 = peg$literalExpectation("=", false);
|
|
@@ -300,37 +296,33 @@ function peg$parse(input, options) {
|
|
|
300
296
|
const peg$e16 = peg$classExpectation([" ", " "], false, false, false);
|
|
301
297
|
const peg$e17 = peg$classExpectation([" ", " ", "\n"], false, false, false);
|
|
302
298
|
const peg$e18 = peg$classExpectation(["-", "=", "*", "#"], false, false, false);
|
|
303
|
-
const peg$e19 = peg$
|
|
304
|
-
const peg$e20 = peg$
|
|
305
|
-
const peg$e21 = peg$classExpectation(["
|
|
306
|
-
const peg$e22 = peg$classExpectation(["
|
|
307
|
-
const peg$e23 = peg$
|
|
308
|
-
const peg$e24 = peg$classExpectation(["
|
|
309
|
-
const peg$e25 = peg$classExpectation(["
|
|
310
|
-
const peg$e26 = peg$
|
|
311
|
-
const peg$e27 = peg$
|
|
312
|
-
const peg$e28 = peg$classExpectation([
|
|
313
|
-
const peg$e29 = peg$
|
|
314
|
-
const peg$e30 = peg$
|
|
315
|
-
const peg$e31 = peg$
|
|
316
|
-
const peg$e32 = peg$
|
|
317
|
-
const peg$e33 = peg$literalExpectation("
|
|
318
|
-
const peg$e34 = peg$
|
|
319
|
-
const peg$e35 = peg$
|
|
320
|
-
const peg$e36 = peg$literalExpectation('\\"""', false);
|
|
321
|
-
const peg$e37 = peg$literalExpectation("```", false);
|
|
322
|
-
const peg$e38 = peg$literalExpectation("\\```", false);
|
|
323
|
-
const peg$e39 = peg$anyExpectation();
|
|
299
|
+
const peg$e19 = peg$classExpectation(["'", '"', "`"], false, false, false);
|
|
300
|
+
const peg$e20 = peg$classExpectation(["#", "\n"], true, false, false);
|
|
301
|
+
const peg$e21 = peg$classExpectation(["#", " ", "\n"], true, false, false);
|
|
302
|
+
const peg$e22 = peg$classExpectation(['"'], false, false, false);
|
|
303
|
+
const peg$e23 = peg$literalExpectation('\\"', false);
|
|
304
|
+
const peg$e24 = peg$classExpectation(['"', "\n"], true, false, false);
|
|
305
|
+
const peg$e25 = peg$classExpectation(["'"], false, false, false);
|
|
306
|
+
const peg$e26 = peg$literalExpectation("\\'", false);
|
|
307
|
+
const peg$e27 = peg$classExpectation(["'", "\n"], true, false, false);
|
|
308
|
+
const peg$e28 = peg$classExpectation(["`"], false, false, false);
|
|
309
|
+
const peg$e29 = peg$literalExpectation("\\`", false);
|
|
310
|
+
const peg$e30 = peg$classExpectation(["`", "\n"], true, false, false);
|
|
311
|
+
const peg$e31 = peg$literalExpectation('"""', false);
|
|
312
|
+
const peg$e32 = peg$literalExpectation('\\"""', false);
|
|
313
|
+
const peg$e33 = peg$literalExpectation("```", false);
|
|
314
|
+
const peg$e34 = peg$literalExpectation("\\```", false);
|
|
315
|
+
const peg$e35 = peg$anyExpectation();
|
|
324
316
|
function peg$f0() {
|
|
325
|
-
return new
|
|
317
|
+
return new chunkKJP2NVDR_js.ParsedEnvSpecBlankLine({ _location: location() });
|
|
326
318
|
}
|
|
327
|
-
|
|
319
|
+
chunkKJP2NVDR_js.__name(peg$f0, "peg$f0");
|
|
328
320
|
function peg$f1(contents) {
|
|
329
|
-
return new
|
|
321
|
+
return new chunkKJP2NVDR_js.ParsedEnvSpecFile(contents);
|
|
330
322
|
}
|
|
331
|
-
|
|
323
|
+
chunkKJP2NVDR_js.__name(peg$f1, "peg$f1");
|
|
332
324
|
function peg$f2(preComments, key, value, postComment) {
|
|
333
|
-
return new
|
|
325
|
+
return new chunkKJP2NVDR_js.ParsedEnvSpecConfigItem({
|
|
334
326
|
key,
|
|
335
327
|
preComments,
|
|
336
328
|
postComment,
|
|
@@ -338,144 +330,135 @@ function peg$parse(input, options) {
|
|
|
338
330
|
_location: location()
|
|
339
331
|
});
|
|
340
332
|
}
|
|
341
|
-
|
|
333
|
+
chunkKJP2NVDR_js.__name(peg$f2, "peg$f2");
|
|
342
334
|
function peg$f3(comments, end) {
|
|
343
|
-
return new
|
|
335
|
+
return new chunkKJP2NVDR_js.ParsedEnvSpecCommentBlock({
|
|
344
336
|
comments,
|
|
345
|
-
divider: end instanceof
|
|
337
|
+
divider: end instanceof chunkKJP2NVDR_js.ParsedEnvSpecDivider ? end : void 0,
|
|
346
338
|
_location: location()
|
|
347
339
|
});
|
|
348
340
|
}
|
|
349
|
-
|
|
341
|
+
chunkKJP2NVDR_js.__name(peg$f3, "peg$f3");
|
|
350
342
|
function peg$f4(leadingSpace, contents) {
|
|
351
|
-
return new
|
|
343
|
+
return new chunkKJP2NVDR_js.ParsedEnvSpecComment({
|
|
352
344
|
contents,
|
|
353
345
|
leadingSpace,
|
|
354
346
|
_location: location()
|
|
355
347
|
});
|
|
356
348
|
}
|
|
357
|
-
|
|
349
|
+
chunkKJP2NVDR_js.__name(peg$f4, "peg$f4");
|
|
358
350
|
function peg$f5(leadingSpace, contents) {
|
|
359
|
-
return new
|
|
351
|
+
return new chunkKJP2NVDR_js.ParsedEnvSpecComment({ contents, leadingSpace, _location: location() });
|
|
360
352
|
}
|
|
361
|
-
|
|
353
|
+
chunkKJP2NVDR_js.__name(peg$f5, "peg$f5");
|
|
362
354
|
function peg$f6(leadingSpace, first, rest, postComment) {
|
|
363
|
-
return new
|
|
355
|
+
return new chunkKJP2NVDR_js.ParsedEnvSpecDecoratorComment({
|
|
364
356
|
decorators: [first, ...rest],
|
|
365
357
|
leadingSpace,
|
|
366
358
|
postComment,
|
|
367
359
|
_location: location()
|
|
368
360
|
});
|
|
369
361
|
}
|
|
370
|
-
|
|
362
|
+
chunkKJP2NVDR_js.__name(peg$f6, "peg$f6");
|
|
371
363
|
function peg$f7(name, val) {
|
|
372
|
-
return new
|
|
364
|
+
return new chunkKJP2NVDR_js.ParsedEnvSpecDecorator({
|
|
373
365
|
name,
|
|
374
366
|
value: Array.isArray(val) ? val[1] : val,
|
|
375
367
|
isBareFnCall: val && !Array.isArray(val),
|
|
376
368
|
_location: location()
|
|
377
369
|
});
|
|
378
370
|
}
|
|
379
|
-
|
|
371
|
+
chunkKJP2NVDR_js.__name(peg$f7, "peg$f7");
|
|
380
372
|
function peg$f8(name, args) {
|
|
381
|
-
return new
|
|
373
|
+
return new chunkKJP2NVDR_js.ParsedEnvSpecFunctionCall({
|
|
382
374
|
name,
|
|
383
375
|
args,
|
|
384
376
|
_location: location()
|
|
385
377
|
});
|
|
386
378
|
}
|
|
387
|
-
|
|
379
|
+
chunkKJP2NVDR_js.__name(peg$f8, "peg$f8");
|
|
388
380
|
function peg$f9(key, val) {
|
|
389
|
-
return new
|
|
381
|
+
return new chunkKJP2NVDR_js.ParsedEnvSpecKeyValuePair({ key, val });
|
|
390
382
|
}
|
|
391
|
-
|
|
383
|
+
chunkKJP2NVDR_js.__name(peg$f9, "peg$f9");
|
|
392
384
|
function peg$f10(values) {
|
|
393
|
-
return new
|
|
385
|
+
return new chunkKJP2NVDR_js.ParsedEnvSpecFunctionArgs({
|
|
394
386
|
values: values || [],
|
|
395
387
|
_location: location()
|
|
396
388
|
});
|
|
397
389
|
}
|
|
398
|
-
|
|
390
|
+
chunkKJP2NVDR_js.__name(peg$f10, "peg$f10");
|
|
399
391
|
function peg$f11() {
|
|
400
|
-
return new
|
|
392
|
+
return new chunkKJP2NVDR_js.ParsedEnvSpecStaticValue({ rawValue: text(), _location: location() });
|
|
401
393
|
}
|
|
402
|
-
|
|
394
|
+
chunkKJP2NVDR_js.__name(peg$f11, "peg$f11");
|
|
403
395
|
function peg$f12(name, args) {
|
|
404
|
-
return new
|
|
396
|
+
return new chunkKJP2NVDR_js.ParsedEnvSpecFunctionCall({
|
|
405
397
|
name,
|
|
406
398
|
args,
|
|
407
399
|
_location: location()
|
|
408
400
|
});
|
|
409
401
|
}
|
|
410
|
-
|
|
402
|
+
chunkKJP2NVDR_js.__name(peg$f12, "peg$f12");
|
|
411
403
|
function peg$f13(key, val) {
|
|
412
|
-
return new
|
|
404
|
+
return new chunkKJP2NVDR_js.ParsedEnvSpecKeyValuePair({ key, val });
|
|
413
405
|
}
|
|
414
|
-
|
|
406
|
+
chunkKJP2NVDR_js.__name(peg$f13, "peg$f13");
|
|
415
407
|
function peg$f14(values) {
|
|
416
|
-
return new
|
|
408
|
+
return new chunkKJP2NVDR_js.ParsedEnvSpecFunctionArgs({
|
|
417
409
|
values: values || [],
|
|
418
410
|
_location: location()
|
|
419
411
|
});
|
|
420
412
|
}
|
|
421
|
-
|
|
413
|
+
chunkKJP2NVDR_js.__name(peg$f14, "peg$f14");
|
|
422
414
|
function peg$f15() {
|
|
423
|
-
return new
|
|
415
|
+
return new chunkKJP2NVDR_js.ParsedEnvSpecStaticValue({ rawValue: text(), _location: location() });
|
|
424
416
|
}
|
|
425
|
-
|
|
417
|
+
chunkKJP2NVDR_js.__name(peg$f15, "peg$f15");
|
|
426
418
|
function peg$f16(leadingSpace, contents) {
|
|
427
|
-
return new
|
|
419
|
+
return new chunkKJP2NVDR_js.ParsedEnvSpecDivider({
|
|
428
420
|
contents,
|
|
429
421
|
leadingSpace,
|
|
430
422
|
_location: location()
|
|
431
423
|
});
|
|
432
424
|
}
|
|
433
|
-
|
|
434
|
-
function peg$f17(
|
|
435
|
-
return new
|
|
436
|
-
rawValue: text(),
|
|
437
|
-
pattern: pattern.replaceAll("\\/", "/"),
|
|
438
|
-
flags,
|
|
439
|
-
_location: location()
|
|
440
|
-
});
|
|
425
|
+
chunkKJP2NVDR_js.__name(peg$f16, "peg$f16");
|
|
426
|
+
function peg$f17() {
|
|
427
|
+
return new chunkKJP2NVDR_js.ParsedEnvSpecStaticValue({ rawValue: text(), _location: location() });
|
|
441
428
|
}
|
|
442
|
-
|
|
429
|
+
chunkKJP2NVDR_js.__name(peg$f17, "peg$f17");
|
|
443
430
|
function peg$f18() {
|
|
444
|
-
return new
|
|
431
|
+
return new chunkKJP2NVDR_js.ParsedEnvSpecStaticValue({ rawValue: text(), _location: location() });
|
|
445
432
|
}
|
|
446
|
-
|
|
447
|
-
function peg$f19() {
|
|
448
|
-
return new
|
|
433
|
+
chunkKJP2NVDR_js.__name(peg$f18, "peg$f18");
|
|
434
|
+
function peg$f19(quote) {
|
|
435
|
+
return new chunkKJP2NVDR_js.ParsedEnvSpecStaticValue({ quote, rawValue: text(), _location: location() });
|
|
449
436
|
}
|
|
450
|
-
|
|
437
|
+
chunkKJP2NVDR_js.__name(peg$f19, "peg$f19");
|
|
451
438
|
function peg$f20(quote) {
|
|
452
|
-
return new
|
|
439
|
+
return new chunkKJP2NVDR_js.ParsedEnvSpecStaticValue({ quote, rawValue: text(), _location: location() });
|
|
453
440
|
}
|
|
454
|
-
|
|
441
|
+
chunkKJP2NVDR_js.__name(peg$f20, "peg$f20");
|
|
455
442
|
function peg$f21(quote) {
|
|
456
|
-
return new
|
|
443
|
+
return new chunkKJP2NVDR_js.ParsedEnvSpecStaticValue({ quote, rawValue: text(), _location: location() });
|
|
457
444
|
}
|
|
458
|
-
|
|
445
|
+
chunkKJP2NVDR_js.__name(peg$f21, "peg$f21");
|
|
459
446
|
function peg$f22(quote) {
|
|
460
|
-
return new
|
|
447
|
+
return new chunkKJP2NVDR_js.ParsedEnvSpecStaticValue({ quote, isMultiLine: true, rawValue: text(), _location: location() });
|
|
461
448
|
}
|
|
462
|
-
|
|
449
|
+
chunkKJP2NVDR_js.__name(peg$f22, "peg$f22");
|
|
463
450
|
function peg$f23(quote) {
|
|
464
|
-
return new
|
|
451
|
+
return new chunkKJP2NVDR_js.ParsedEnvSpecStaticValue({ quote, isMultiLine: true, rawValue: text(), _location: location() });
|
|
465
452
|
}
|
|
466
|
-
|
|
453
|
+
chunkKJP2NVDR_js.__name(peg$f23, "peg$f23");
|
|
467
454
|
function peg$f24(quote) {
|
|
468
|
-
return new
|
|
455
|
+
return new chunkKJP2NVDR_js.ParsedEnvSpecStaticValue({ quote, isMultiLine: true, rawValue: text(), _location: location() });
|
|
469
456
|
}
|
|
470
|
-
|
|
457
|
+
chunkKJP2NVDR_js.__name(peg$f24, "peg$f24");
|
|
471
458
|
function peg$f25(quote) {
|
|
472
|
-
return new
|
|
473
|
-
}
|
|
474
|
-
chunkCHM43IJO_js.__name(peg$f25, "peg$f25");
|
|
475
|
-
function peg$f26(quote) {
|
|
476
|
-
return new chunkCHM43IJO_js.ParsedEnvSpecStaticValue({ quote, isMultiLine: true, rawValue: text(), _location: location() });
|
|
459
|
+
return new chunkKJP2NVDR_js.ParsedEnvSpecStaticValue({ quote, isMultiLine: true, rawValue: text(), _location: location() });
|
|
477
460
|
}
|
|
478
|
-
|
|
461
|
+
chunkKJP2NVDR_js.__name(peg$f25, "peg$f25");
|
|
479
462
|
let peg$currPos = options.peg$currPos | 0;
|
|
480
463
|
let peg$savedPos = peg$currPos;
|
|
481
464
|
const peg$posDetailsCache = [{ line: 1, column: 1 }];
|
|
@@ -492,11 +475,11 @@ function peg$parse(input, options) {
|
|
|
492
475
|
function text() {
|
|
493
476
|
return input.substring(peg$savedPos, peg$currPos);
|
|
494
477
|
}
|
|
495
|
-
|
|
478
|
+
chunkKJP2NVDR_js.__name(text, "text");
|
|
496
479
|
function offset() {
|
|
497
480
|
return peg$savedPos;
|
|
498
481
|
}
|
|
499
|
-
|
|
482
|
+
chunkKJP2NVDR_js.__name(offset, "offset");
|
|
500
483
|
function range() {
|
|
501
484
|
return {
|
|
502
485
|
source: peg$source,
|
|
@@ -504,11 +487,11 @@ function peg$parse(input, options) {
|
|
|
504
487
|
end: peg$currPos
|
|
505
488
|
};
|
|
506
489
|
}
|
|
507
|
-
|
|
490
|
+
chunkKJP2NVDR_js.__name(range, "range");
|
|
508
491
|
function location() {
|
|
509
492
|
return peg$computeLocation(peg$savedPos, peg$currPos);
|
|
510
493
|
}
|
|
511
|
-
|
|
494
|
+
chunkKJP2NVDR_js.__name(location, "location");
|
|
512
495
|
function expected(description, location2) {
|
|
513
496
|
location2 = location2 !== void 0 ? location2 : peg$computeLocation(peg$savedPos, peg$currPos);
|
|
514
497
|
throw peg$buildStructuredError(
|
|
@@ -517,12 +500,12 @@ function peg$parse(input, options) {
|
|
|
517
500
|
location2
|
|
518
501
|
);
|
|
519
502
|
}
|
|
520
|
-
|
|
503
|
+
chunkKJP2NVDR_js.__name(expected, "expected");
|
|
521
504
|
function error(message, location2) {
|
|
522
505
|
location2 = location2 !== void 0 ? location2 : peg$computeLocation(peg$savedPos, peg$currPos);
|
|
523
506
|
throw peg$buildSimpleError(message, location2);
|
|
524
507
|
}
|
|
525
|
-
|
|
508
|
+
chunkKJP2NVDR_js.__name(error, "error");
|
|
526
509
|
function peg$getUnicode(pos = peg$currPos) {
|
|
527
510
|
const cp = input.codePointAt(pos);
|
|
528
511
|
if (cp === void 0) {
|
|
@@ -530,27 +513,27 @@ function peg$parse(input, options) {
|
|
|
530
513
|
}
|
|
531
514
|
return String.fromCodePoint(cp);
|
|
532
515
|
}
|
|
533
|
-
|
|
516
|
+
chunkKJP2NVDR_js.__name(peg$getUnicode, "peg$getUnicode");
|
|
534
517
|
function peg$literalExpectation(text2, ignoreCase) {
|
|
535
518
|
return { type: "literal", text: text2, ignoreCase };
|
|
536
519
|
}
|
|
537
|
-
|
|
520
|
+
chunkKJP2NVDR_js.__name(peg$literalExpectation, "peg$literalExpectation");
|
|
538
521
|
function peg$classExpectation(parts, inverted, ignoreCase, unicode) {
|
|
539
522
|
return { type: "class", parts, inverted, ignoreCase, unicode };
|
|
540
523
|
}
|
|
541
|
-
|
|
524
|
+
chunkKJP2NVDR_js.__name(peg$classExpectation, "peg$classExpectation");
|
|
542
525
|
function peg$anyExpectation() {
|
|
543
526
|
return { type: "any" };
|
|
544
527
|
}
|
|
545
|
-
|
|
528
|
+
chunkKJP2NVDR_js.__name(peg$anyExpectation, "peg$anyExpectation");
|
|
546
529
|
function peg$endExpectation() {
|
|
547
530
|
return { type: "end" };
|
|
548
531
|
}
|
|
549
|
-
|
|
532
|
+
chunkKJP2NVDR_js.__name(peg$endExpectation, "peg$endExpectation");
|
|
550
533
|
function peg$otherExpectation(description) {
|
|
551
534
|
return { type: "other", description };
|
|
552
535
|
}
|
|
553
|
-
|
|
536
|
+
chunkKJP2NVDR_js.__name(peg$otherExpectation, "peg$otherExpectation");
|
|
554
537
|
function peg$computePosDetails(pos) {
|
|
555
538
|
let details = peg$posDetailsCache[pos];
|
|
556
539
|
let p;
|
|
@@ -582,7 +565,7 @@ function peg$parse(input, options) {
|
|
|
582
565
|
return details;
|
|
583
566
|
}
|
|
584
567
|
}
|
|
585
|
-
|
|
568
|
+
chunkKJP2NVDR_js.__name(peg$computePosDetails, "peg$computePosDetails");
|
|
586
569
|
function peg$computeLocation(startPos, endPos, offset2) {
|
|
587
570
|
const startPosDetails = peg$computePosDetails(startPos);
|
|
588
571
|
const endPosDetails = peg$computePosDetails(endPos);
|
|
@@ -605,7 +588,7 @@ function peg$parse(input, options) {
|
|
|
605
588
|
}
|
|
606
589
|
return res;
|
|
607
590
|
}
|
|
608
|
-
|
|
591
|
+
chunkKJP2NVDR_js.__name(peg$computeLocation, "peg$computeLocation");
|
|
609
592
|
function peg$fail(expected2) {
|
|
610
593
|
if (peg$currPos < peg$maxFailPos) {
|
|
611
594
|
return;
|
|
@@ -616,11 +599,11 @@ function peg$parse(input, options) {
|
|
|
616
599
|
}
|
|
617
600
|
peg$maxFailExpected.push(expected2);
|
|
618
601
|
}
|
|
619
|
-
|
|
602
|
+
chunkKJP2NVDR_js.__name(peg$fail, "peg$fail");
|
|
620
603
|
function peg$buildSimpleError(message, location2) {
|
|
621
604
|
return new peg$SyntaxError(message, null, null, location2);
|
|
622
605
|
}
|
|
623
|
-
|
|
606
|
+
chunkKJP2NVDR_js.__name(peg$buildSimpleError, "peg$buildSimpleError");
|
|
624
607
|
function peg$buildStructuredError(expected2, found, location2) {
|
|
625
608
|
return new peg$SyntaxError(
|
|
626
609
|
peg$SyntaxError.buildMessage(expected2, found),
|
|
@@ -629,7 +612,7 @@ function peg$parse(input, options) {
|
|
|
629
612
|
location2
|
|
630
613
|
);
|
|
631
614
|
}
|
|
632
|
-
|
|
615
|
+
chunkKJP2NVDR_js.__name(peg$buildStructuredError, "peg$buildStructuredError");
|
|
633
616
|
function peg$parseEnvSpecFile() {
|
|
634
617
|
let s0, s1, s2, s3;
|
|
635
618
|
s0 = peg$currPos;
|
|
@@ -690,7 +673,7 @@ function peg$parse(input, options) {
|
|
|
690
673
|
s0 = s1;
|
|
691
674
|
return s0;
|
|
692
675
|
}
|
|
693
|
-
|
|
676
|
+
chunkKJP2NVDR_js.__name(peg$parseEnvSpecFile, "peg$parseEnvSpecFile");
|
|
694
677
|
function peg$parseConfigItem() {
|
|
695
678
|
let s0, s1, s2, s3, s4, s5, s6, s7, s9, s10;
|
|
696
679
|
s0 = peg$currPos;
|
|
@@ -830,7 +813,7 @@ function peg$parse(input, options) {
|
|
|
830
813
|
}
|
|
831
814
|
return s0;
|
|
832
815
|
}
|
|
833
|
-
|
|
816
|
+
chunkKJP2NVDR_js.__name(peg$parseConfigItem, "peg$parseConfigItem");
|
|
834
817
|
function peg$parseConfigItemKey() {
|
|
835
818
|
let s0, s1, s2, s3, s4;
|
|
836
819
|
s0 = peg$currPos;
|
|
@@ -880,25 +863,22 @@ function peg$parse(input, options) {
|
|
|
880
863
|
}
|
|
881
864
|
return s0;
|
|
882
865
|
}
|
|
883
|
-
|
|
866
|
+
chunkKJP2NVDR_js.__name(peg$parseConfigItemKey, "peg$parseConfigItemKey");
|
|
884
867
|
function peg$parseConfigItemValue() {
|
|
885
868
|
let s0;
|
|
886
869
|
s0 = peg$parseFunctionCall();
|
|
887
870
|
if (s0 === peg$FAILED) {
|
|
888
|
-
s0 = peg$
|
|
871
|
+
s0 = peg$parsemultiLineString();
|
|
889
872
|
if (s0 === peg$FAILED) {
|
|
890
|
-
s0 = peg$
|
|
873
|
+
s0 = peg$parsequotedString();
|
|
891
874
|
if (s0 === peg$FAILED) {
|
|
892
|
-
s0 = peg$
|
|
893
|
-
if (s0 === peg$FAILED) {
|
|
894
|
-
s0 = peg$parseunquotedString();
|
|
895
|
-
}
|
|
875
|
+
s0 = peg$parseunquotedString();
|
|
896
876
|
}
|
|
897
877
|
}
|
|
898
878
|
}
|
|
899
879
|
return s0;
|
|
900
880
|
}
|
|
901
|
-
|
|
881
|
+
chunkKJP2NVDR_js.__name(peg$parseConfigItemValue, "peg$parseConfigItemValue");
|
|
902
882
|
function peg$parseCommentBlock() {
|
|
903
883
|
let s0, s1, s2, s3, s4;
|
|
904
884
|
s0 = peg$currPos;
|
|
@@ -968,7 +948,7 @@ function peg$parse(input, options) {
|
|
|
968
948
|
}
|
|
969
949
|
return s0;
|
|
970
950
|
}
|
|
971
|
-
|
|
951
|
+
chunkKJP2NVDR_js.__name(peg$parseCommentBlock, "peg$parseCommentBlock");
|
|
972
952
|
function peg$parseComment() {
|
|
973
953
|
let s0, s1, s2, s3, s4, s5, s6, s7, s8, s9;
|
|
974
954
|
s0 = peg$currPos;
|
|
@@ -1063,7 +1043,7 @@ function peg$parse(input, options) {
|
|
|
1063
1043
|
}
|
|
1064
1044
|
return s0;
|
|
1065
1045
|
}
|
|
1066
|
-
|
|
1046
|
+
chunkKJP2NVDR_js.__name(peg$parseComment, "peg$parseComment");
|
|
1067
1047
|
function peg$parseIgnoredDecoratorComment() {
|
|
1068
1048
|
let s0, s1, s2, s3, s4, s5, s6, s7, s8, s9, s10;
|
|
1069
1049
|
s0 = peg$currPos;
|
|
@@ -1284,7 +1264,7 @@ function peg$parse(input, options) {
|
|
|
1284
1264
|
}
|
|
1285
1265
|
return s0;
|
|
1286
1266
|
}
|
|
1287
|
-
|
|
1267
|
+
chunkKJP2NVDR_js.__name(peg$parseIgnoredDecoratorComment, "peg$parseIgnoredDecoratorComment");
|
|
1288
1268
|
function peg$parseDecoratorComment() {
|
|
1289
1269
|
let s0, s1, s2, s3, s4, s5, s6, s7, s8, s9, s10;
|
|
1290
1270
|
s0 = peg$currPos;
|
|
@@ -1392,7 +1372,7 @@ function peg$parse(input, options) {
|
|
|
1392
1372
|
}
|
|
1393
1373
|
return s0;
|
|
1394
1374
|
}
|
|
1395
|
-
|
|
1375
|
+
chunkKJP2NVDR_js.__name(peg$parseDecoratorComment, "peg$parseDecoratorComment");
|
|
1396
1376
|
function peg$parseDecorator() {
|
|
1397
1377
|
let s0, s1, s2, s3, s4, s5;
|
|
1398
1378
|
s0 = peg$currPos;
|
|
@@ -1449,7 +1429,7 @@ function peg$parse(input, options) {
|
|
|
1449
1429
|
}
|
|
1450
1430
|
return s0;
|
|
1451
1431
|
}
|
|
1452
|
-
|
|
1432
|
+
chunkKJP2NVDR_js.__name(peg$parseDecorator, "peg$parseDecorator");
|
|
1453
1433
|
function peg$parseDecoratorName() {
|
|
1454
1434
|
let s0, s1, s2, s3, s4;
|
|
1455
1435
|
s0 = peg$currPos;
|
|
@@ -1499,22 +1479,19 @@ function peg$parse(input, options) {
|
|
|
1499
1479
|
}
|
|
1500
1480
|
return s0;
|
|
1501
1481
|
}
|
|
1502
|
-
|
|
1482
|
+
chunkKJP2NVDR_js.__name(peg$parseDecoratorName, "peg$parseDecoratorName");
|
|
1503
1483
|
function peg$parseDecoratorValue() {
|
|
1504
1484
|
let s0;
|
|
1505
1485
|
s0 = peg$parseDecoratorFunctionCall();
|
|
1506
1486
|
if (s0 === peg$FAILED) {
|
|
1507
|
-
s0 = peg$
|
|
1487
|
+
s0 = peg$parsequotedString();
|
|
1508
1488
|
if (s0 === peg$FAILED) {
|
|
1509
|
-
s0 = peg$
|
|
1510
|
-
if (s0 === peg$FAILED) {
|
|
1511
|
-
s0 = peg$parseunquotedStringWithoutSpaces();
|
|
1512
|
-
}
|
|
1489
|
+
s0 = peg$parseunquotedStringWithoutSpaces();
|
|
1513
1490
|
}
|
|
1514
1491
|
}
|
|
1515
1492
|
return s0;
|
|
1516
1493
|
}
|
|
1517
|
-
|
|
1494
|
+
chunkKJP2NVDR_js.__name(peg$parseDecoratorValue, "peg$parseDecoratorValue");
|
|
1518
1495
|
function peg$parseDecoratorFunctionCall() {
|
|
1519
1496
|
let s0, s1, s2;
|
|
1520
1497
|
s0 = peg$currPos;
|
|
@@ -1534,7 +1511,7 @@ function peg$parse(input, options) {
|
|
|
1534
1511
|
}
|
|
1535
1512
|
return s0;
|
|
1536
1513
|
}
|
|
1537
|
-
|
|
1514
|
+
chunkKJP2NVDR_js.__name(peg$parseDecoratorFunctionCall, "peg$parseDecoratorFunctionCall");
|
|
1538
1515
|
function peg$parseDecoratorFunctionArgs() {
|
|
1539
1516
|
let s0, s1, s3, s4, s5, s6, s7, s8, s9;
|
|
1540
1517
|
s0 = peg$currPos;
|
|
@@ -1701,59 +1678,56 @@ function peg$parse(input, options) {
|
|
|
1701
1678
|
}
|
|
1702
1679
|
return s0;
|
|
1703
1680
|
}
|
|
1704
|
-
|
|
1681
|
+
chunkKJP2NVDR_js.__name(peg$parseDecoratorFunctionArgs, "peg$parseDecoratorFunctionArgs");
|
|
1705
1682
|
function peg$parseDecoratorFunctionArgValue() {
|
|
1706
1683
|
let s0, s1, s2, s3;
|
|
1707
1684
|
s0 = peg$parseDecoratorFunctionCall();
|
|
1708
1685
|
if (s0 === peg$FAILED) {
|
|
1709
|
-
s0 = peg$
|
|
1686
|
+
s0 = peg$parsequotedString();
|
|
1710
1687
|
if (s0 === peg$FAILED) {
|
|
1711
|
-
s0 = peg$
|
|
1712
|
-
|
|
1713
|
-
|
|
1714
|
-
|
|
1715
|
-
|
|
1716
|
-
|
|
1717
|
-
|
|
1718
|
-
|
|
1719
|
-
|
|
1720
|
-
|
|
1721
|
-
if (peg$silentFails === 0) {
|
|
1722
|
-
peg$fail(peg$e15);
|
|
1723
|
-
}
|
|
1688
|
+
s0 = peg$currPos;
|
|
1689
|
+
s1 = peg$currPos;
|
|
1690
|
+
s2 = [];
|
|
1691
|
+
s3 = input.charAt(peg$currPos);
|
|
1692
|
+
if (peg$r6.test(s3)) {
|
|
1693
|
+
peg$currPos++;
|
|
1694
|
+
} else {
|
|
1695
|
+
s3 = peg$FAILED;
|
|
1696
|
+
if (peg$silentFails === 0) {
|
|
1697
|
+
peg$fail(peg$e15);
|
|
1724
1698
|
}
|
|
1725
|
-
|
|
1726
|
-
|
|
1727
|
-
|
|
1728
|
-
|
|
1729
|
-
|
|
1730
|
-
|
|
1731
|
-
|
|
1732
|
-
|
|
1733
|
-
|
|
1734
|
-
|
|
1735
|
-
|
|
1699
|
+
}
|
|
1700
|
+
if (s3 !== peg$FAILED) {
|
|
1701
|
+
while (s3 !== peg$FAILED) {
|
|
1702
|
+
s2.push(s3);
|
|
1703
|
+
s3 = input.charAt(peg$currPos);
|
|
1704
|
+
if (peg$r6.test(s3)) {
|
|
1705
|
+
peg$currPos++;
|
|
1706
|
+
} else {
|
|
1707
|
+
s3 = peg$FAILED;
|
|
1708
|
+
if (peg$silentFails === 0) {
|
|
1709
|
+
peg$fail(peg$e15);
|
|
1736
1710
|
}
|
|
1737
1711
|
}
|
|
1738
|
-
} else {
|
|
1739
|
-
s2 = peg$FAILED;
|
|
1740
1712
|
}
|
|
1741
|
-
|
|
1742
|
-
|
|
1743
|
-
|
|
1744
|
-
|
|
1745
|
-
|
|
1746
|
-
|
|
1747
|
-
|
|
1748
|
-
|
|
1749
|
-
|
|
1750
|
-
|
|
1713
|
+
} else {
|
|
1714
|
+
s2 = peg$FAILED;
|
|
1715
|
+
}
|
|
1716
|
+
if (s2 !== peg$FAILED) {
|
|
1717
|
+
s1 = input.substring(s1, peg$currPos);
|
|
1718
|
+
} else {
|
|
1719
|
+
s1 = s2;
|
|
1720
|
+
}
|
|
1721
|
+
if (s1 !== peg$FAILED) {
|
|
1722
|
+
peg$savedPos = s0;
|
|
1723
|
+
s1 = peg$f11();
|
|
1751
1724
|
}
|
|
1725
|
+
s0 = s1;
|
|
1752
1726
|
}
|
|
1753
1727
|
}
|
|
1754
1728
|
return s0;
|
|
1755
1729
|
}
|
|
1756
|
-
|
|
1730
|
+
chunkKJP2NVDR_js.__name(peg$parseDecoratorFunctionArgValue, "peg$parseDecoratorFunctionArgValue");
|
|
1757
1731
|
function peg$parse_decWs() {
|
|
1758
1732
|
let s0, s1, s2, s3, s4, s5, s6;
|
|
1759
1733
|
s0 = [];
|
|
@@ -1934,7 +1908,7 @@ function peg$parse(input, options) {
|
|
|
1934
1908
|
}
|
|
1935
1909
|
return s0;
|
|
1936
1910
|
}
|
|
1937
|
-
|
|
1911
|
+
chunkKJP2NVDR_js.__name(peg$parse_decWs, "peg$parse_decWs");
|
|
1938
1912
|
function peg$parseFunctionCall() {
|
|
1939
1913
|
let s0, s1, s2;
|
|
1940
1914
|
s0 = peg$currPos;
|
|
@@ -1954,7 +1928,7 @@ function peg$parse(input, options) {
|
|
|
1954
1928
|
}
|
|
1955
1929
|
return s0;
|
|
1956
1930
|
}
|
|
1957
|
-
|
|
1931
|
+
chunkKJP2NVDR_js.__name(peg$parseFunctionCall, "peg$parseFunctionCall");
|
|
1958
1932
|
function peg$parseFunctionName() {
|
|
1959
1933
|
let s0, s1, s2, s3, s4;
|
|
1960
1934
|
s0 = peg$currPos;
|
|
@@ -2004,7 +1978,7 @@ function peg$parse(input, options) {
|
|
|
2004
1978
|
}
|
|
2005
1979
|
return s0;
|
|
2006
1980
|
}
|
|
2007
|
-
|
|
1981
|
+
chunkKJP2NVDR_js.__name(peg$parseFunctionName, "peg$parseFunctionName");
|
|
2008
1982
|
function peg$parseFunctionArgs() {
|
|
2009
1983
|
let s0, s1, s3, s4, s5, s6, s7, s8, s9;
|
|
2010
1984
|
s0 = peg$currPos;
|
|
@@ -2171,7 +2145,7 @@ function peg$parse(input, options) {
|
|
|
2171
2145
|
}
|
|
2172
2146
|
return s0;
|
|
2173
2147
|
}
|
|
2174
|
-
|
|
2148
|
+
chunkKJP2NVDR_js.__name(peg$parseFunctionArgs, "peg$parseFunctionArgs");
|
|
2175
2149
|
function peg$parseFunctionArgKeyName() {
|
|
2176
2150
|
let s0, s1, s2, s3, s4;
|
|
2177
2151
|
s0 = peg$currPos;
|
|
@@ -2221,59 +2195,56 @@ function peg$parse(input, options) {
|
|
|
2221
2195
|
}
|
|
2222
2196
|
return s0;
|
|
2223
2197
|
}
|
|
2224
|
-
|
|
2198
|
+
chunkKJP2NVDR_js.__name(peg$parseFunctionArgKeyName, "peg$parseFunctionArgKeyName");
|
|
2225
2199
|
function peg$parseFunctionArgValue() {
|
|
2226
2200
|
let s0, s1, s2, s3;
|
|
2227
2201
|
s0 = peg$parseFunctionCall();
|
|
2228
2202
|
if (s0 === peg$FAILED) {
|
|
2229
|
-
s0 = peg$
|
|
2203
|
+
s0 = peg$parsequotedString();
|
|
2230
2204
|
if (s0 === peg$FAILED) {
|
|
2231
|
-
s0 = peg$
|
|
2232
|
-
|
|
2233
|
-
|
|
2234
|
-
|
|
2235
|
-
|
|
2236
|
-
|
|
2237
|
-
|
|
2238
|
-
|
|
2239
|
-
|
|
2240
|
-
|
|
2241
|
-
if (peg$silentFails === 0) {
|
|
2242
|
-
peg$fail(peg$e15);
|
|
2243
|
-
}
|
|
2205
|
+
s0 = peg$currPos;
|
|
2206
|
+
s1 = peg$currPos;
|
|
2207
|
+
s2 = [];
|
|
2208
|
+
s3 = input.charAt(peg$currPos);
|
|
2209
|
+
if (peg$r6.test(s3)) {
|
|
2210
|
+
peg$currPos++;
|
|
2211
|
+
} else {
|
|
2212
|
+
s3 = peg$FAILED;
|
|
2213
|
+
if (peg$silentFails === 0) {
|
|
2214
|
+
peg$fail(peg$e15);
|
|
2244
2215
|
}
|
|
2245
|
-
|
|
2246
|
-
|
|
2247
|
-
|
|
2248
|
-
|
|
2249
|
-
|
|
2250
|
-
|
|
2251
|
-
|
|
2252
|
-
|
|
2253
|
-
|
|
2254
|
-
|
|
2255
|
-
|
|
2216
|
+
}
|
|
2217
|
+
if (s3 !== peg$FAILED) {
|
|
2218
|
+
while (s3 !== peg$FAILED) {
|
|
2219
|
+
s2.push(s3);
|
|
2220
|
+
s3 = input.charAt(peg$currPos);
|
|
2221
|
+
if (peg$r6.test(s3)) {
|
|
2222
|
+
peg$currPos++;
|
|
2223
|
+
} else {
|
|
2224
|
+
s3 = peg$FAILED;
|
|
2225
|
+
if (peg$silentFails === 0) {
|
|
2226
|
+
peg$fail(peg$e15);
|
|
2256
2227
|
}
|
|
2257
2228
|
}
|
|
2258
|
-
} else {
|
|
2259
|
-
s2 = peg$FAILED;
|
|
2260
|
-
}
|
|
2261
|
-
if (s2 !== peg$FAILED) {
|
|
2262
|
-
s1 = input.substring(s1, peg$currPos);
|
|
2263
|
-
} else {
|
|
2264
|
-
s1 = s2;
|
|
2265
|
-
}
|
|
2266
|
-
if (s1 !== peg$FAILED) {
|
|
2267
|
-
peg$savedPos = s0;
|
|
2268
|
-
s1 = peg$f15();
|
|
2269
2229
|
}
|
|
2270
|
-
|
|
2230
|
+
} else {
|
|
2231
|
+
s2 = peg$FAILED;
|
|
2271
2232
|
}
|
|
2233
|
+
if (s2 !== peg$FAILED) {
|
|
2234
|
+
s1 = input.substring(s1, peg$currPos);
|
|
2235
|
+
} else {
|
|
2236
|
+
s1 = s2;
|
|
2237
|
+
}
|
|
2238
|
+
if (s1 !== peg$FAILED) {
|
|
2239
|
+
peg$savedPos = s0;
|
|
2240
|
+
s1 = peg$f15();
|
|
2241
|
+
}
|
|
2242
|
+
s0 = s1;
|
|
2272
2243
|
}
|
|
2273
2244
|
}
|
|
2274
2245
|
return s0;
|
|
2275
2246
|
}
|
|
2276
|
-
|
|
2247
|
+
chunkKJP2NVDR_js.__name(peg$parseFunctionArgValue, "peg$parseFunctionArgValue");
|
|
2277
2248
|
function peg$parse_valWs() {
|
|
2278
2249
|
let s0, s1;
|
|
2279
2250
|
s0 = [];
|
|
@@ -2300,7 +2271,7 @@ function peg$parse(input, options) {
|
|
|
2300
2271
|
}
|
|
2301
2272
|
return s0;
|
|
2302
2273
|
}
|
|
2303
|
-
|
|
2274
|
+
chunkKJP2NVDR_js.__name(peg$parse_valWs, "peg$parse_valWs");
|
|
2304
2275
|
function peg$parseDivider() {
|
|
2305
2276
|
let s0, s1, s2, s3, s4, s5, s6, s7;
|
|
2306
2277
|
s0 = peg$currPos;
|
|
@@ -2401,113 +2372,7 @@ function peg$parse(input, options) {
|
|
|
2401
2372
|
}
|
|
2402
2373
|
return s0;
|
|
2403
2374
|
}
|
|
2404
|
-
|
|
2405
|
-
function peg$parseRegexLiteral() {
|
|
2406
|
-
let s0, s1, s2, s3, s4, s5, s6;
|
|
2407
|
-
s0 = peg$currPos;
|
|
2408
|
-
if (input.charCodeAt(peg$currPos) === 47) {
|
|
2409
|
-
s1 = peg$c9;
|
|
2410
|
-
peg$currPos++;
|
|
2411
|
-
} else {
|
|
2412
|
-
s1 = peg$FAILED;
|
|
2413
|
-
if (peg$silentFails === 0) {
|
|
2414
|
-
peg$fail(peg$e19);
|
|
2415
|
-
}
|
|
2416
|
-
}
|
|
2417
|
-
if (s1 !== peg$FAILED) {
|
|
2418
|
-
s2 = peg$currPos;
|
|
2419
|
-
s3 = [];
|
|
2420
|
-
if (input.substr(peg$currPos, 2) === peg$c10) {
|
|
2421
|
-
s4 = peg$c10;
|
|
2422
|
-
peg$currPos += 2;
|
|
2423
|
-
} else {
|
|
2424
|
-
s4 = peg$FAILED;
|
|
2425
|
-
if (peg$silentFails === 0) {
|
|
2426
|
-
peg$fail(peg$e20);
|
|
2427
|
-
}
|
|
2428
|
-
}
|
|
2429
|
-
if (s4 === peg$FAILED) {
|
|
2430
|
-
s4 = input.charAt(peg$currPos);
|
|
2431
|
-
if (peg$r10.test(s4)) {
|
|
2432
|
-
peg$currPos++;
|
|
2433
|
-
} else {
|
|
2434
|
-
s4 = peg$FAILED;
|
|
2435
|
-
if (peg$silentFails === 0) {
|
|
2436
|
-
peg$fail(peg$e21);
|
|
2437
|
-
}
|
|
2438
|
-
}
|
|
2439
|
-
}
|
|
2440
|
-
while (s4 !== peg$FAILED) {
|
|
2441
|
-
s3.push(s4);
|
|
2442
|
-
if (input.substr(peg$currPos, 2) === peg$c10) {
|
|
2443
|
-
s4 = peg$c10;
|
|
2444
|
-
peg$currPos += 2;
|
|
2445
|
-
} else {
|
|
2446
|
-
s4 = peg$FAILED;
|
|
2447
|
-
if (peg$silentFails === 0) {
|
|
2448
|
-
peg$fail(peg$e20);
|
|
2449
|
-
}
|
|
2450
|
-
}
|
|
2451
|
-
if (s4 === peg$FAILED) {
|
|
2452
|
-
s4 = input.charAt(peg$currPos);
|
|
2453
|
-
if (peg$r10.test(s4)) {
|
|
2454
|
-
peg$currPos++;
|
|
2455
|
-
} else {
|
|
2456
|
-
s4 = peg$FAILED;
|
|
2457
|
-
if (peg$silentFails === 0) {
|
|
2458
|
-
peg$fail(peg$e21);
|
|
2459
|
-
}
|
|
2460
|
-
}
|
|
2461
|
-
}
|
|
2462
|
-
}
|
|
2463
|
-
s2 = input.substring(s2, peg$currPos);
|
|
2464
|
-
if (input.charCodeAt(peg$currPos) === 47) {
|
|
2465
|
-
s3 = peg$c9;
|
|
2466
|
-
peg$currPos++;
|
|
2467
|
-
} else {
|
|
2468
|
-
s3 = peg$FAILED;
|
|
2469
|
-
if (peg$silentFails === 0) {
|
|
2470
|
-
peg$fail(peg$e19);
|
|
2471
|
-
}
|
|
2472
|
-
}
|
|
2473
|
-
if (s3 !== peg$FAILED) {
|
|
2474
|
-
s4 = peg$currPos;
|
|
2475
|
-
s5 = [];
|
|
2476
|
-
s6 = input.charAt(peg$currPos);
|
|
2477
|
-
if (peg$r11.test(s6)) {
|
|
2478
|
-
peg$currPos++;
|
|
2479
|
-
} else {
|
|
2480
|
-
s6 = peg$FAILED;
|
|
2481
|
-
if (peg$silentFails === 0) {
|
|
2482
|
-
peg$fail(peg$e22);
|
|
2483
|
-
}
|
|
2484
|
-
}
|
|
2485
|
-
while (s6 !== peg$FAILED) {
|
|
2486
|
-
s5.push(s6);
|
|
2487
|
-
s6 = input.charAt(peg$currPos);
|
|
2488
|
-
if (peg$r11.test(s6)) {
|
|
2489
|
-
peg$currPos++;
|
|
2490
|
-
} else {
|
|
2491
|
-
s6 = peg$FAILED;
|
|
2492
|
-
if (peg$silentFails === 0) {
|
|
2493
|
-
peg$fail(peg$e22);
|
|
2494
|
-
}
|
|
2495
|
-
}
|
|
2496
|
-
}
|
|
2497
|
-
s4 = input.substring(s4, peg$currPos);
|
|
2498
|
-
peg$savedPos = s0;
|
|
2499
|
-
s0 = peg$f17(s2, s4);
|
|
2500
|
-
} else {
|
|
2501
|
-
peg$currPos = s0;
|
|
2502
|
-
s0 = peg$FAILED;
|
|
2503
|
-
}
|
|
2504
|
-
} else {
|
|
2505
|
-
peg$currPos = s0;
|
|
2506
|
-
s0 = peg$FAILED;
|
|
2507
|
-
}
|
|
2508
|
-
return s0;
|
|
2509
|
-
}
|
|
2510
|
-
chunkCHM43IJO_js.__name(peg$parseRegexLiteral, "peg$parseRegexLiteral");
|
|
2375
|
+
chunkKJP2NVDR_js.__name(peg$parseDivider, "peg$parseDivider");
|
|
2511
2376
|
function peg$parseunquotedString() {
|
|
2512
2377
|
let s0, s1, s2, s3, s4, s5, s6;
|
|
2513
2378
|
s0 = peg$currPos;
|
|
@@ -2517,12 +2382,12 @@ function peg$parse(input, options) {
|
|
|
2517
2382
|
s4 = peg$currPos;
|
|
2518
2383
|
peg$silentFails++;
|
|
2519
2384
|
s5 = input.charAt(peg$currPos);
|
|
2520
|
-
if (peg$
|
|
2385
|
+
if (peg$r10.test(s5)) {
|
|
2521
2386
|
peg$currPos++;
|
|
2522
2387
|
} else {
|
|
2523
2388
|
s5 = peg$FAILED;
|
|
2524
2389
|
if (peg$silentFails === 0) {
|
|
2525
|
-
peg$fail(peg$
|
|
2390
|
+
peg$fail(peg$e19);
|
|
2526
2391
|
}
|
|
2527
2392
|
}
|
|
2528
2393
|
peg$silentFails--;
|
|
@@ -2535,24 +2400,24 @@ function peg$parse(input, options) {
|
|
|
2535
2400
|
if (s4 !== peg$FAILED) {
|
|
2536
2401
|
s5 = [];
|
|
2537
2402
|
s6 = input.charAt(peg$currPos);
|
|
2538
|
-
if (peg$
|
|
2403
|
+
if (peg$r11.test(s6)) {
|
|
2539
2404
|
peg$currPos++;
|
|
2540
2405
|
} else {
|
|
2541
2406
|
s6 = peg$FAILED;
|
|
2542
2407
|
if (peg$silentFails === 0) {
|
|
2543
|
-
peg$fail(peg$
|
|
2408
|
+
peg$fail(peg$e20);
|
|
2544
2409
|
}
|
|
2545
2410
|
}
|
|
2546
2411
|
if (s6 !== peg$FAILED) {
|
|
2547
2412
|
while (s6 !== peg$FAILED) {
|
|
2548
2413
|
s5.push(s6);
|
|
2549
2414
|
s6 = input.charAt(peg$currPos);
|
|
2550
|
-
if (peg$
|
|
2415
|
+
if (peg$r11.test(s6)) {
|
|
2551
2416
|
peg$currPos++;
|
|
2552
2417
|
} else {
|
|
2553
2418
|
s6 = peg$FAILED;
|
|
2554
2419
|
if (peg$silentFails === 0) {
|
|
2555
|
-
peg$fail(peg$
|
|
2420
|
+
peg$fail(peg$e20);
|
|
2556
2421
|
}
|
|
2557
2422
|
}
|
|
2558
2423
|
}
|
|
@@ -2577,12 +2442,12 @@ function peg$parse(input, options) {
|
|
|
2577
2442
|
}
|
|
2578
2443
|
if (s1 !== peg$FAILED) {
|
|
2579
2444
|
peg$savedPos = s0;
|
|
2580
|
-
s1 = peg$
|
|
2445
|
+
s1 = peg$f17();
|
|
2581
2446
|
}
|
|
2582
2447
|
s0 = s1;
|
|
2583
2448
|
return s0;
|
|
2584
2449
|
}
|
|
2585
|
-
|
|
2450
|
+
chunkKJP2NVDR_js.__name(peg$parseunquotedString, "peg$parseunquotedString");
|
|
2586
2451
|
function peg$parseunquotedStringWithoutSpaces() {
|
|
2587
2452
|
let s0, s1, s2, s3, s4, s5;
|
|
2588
2453
|
s0 = peg$currPos;
|
|
@@ -2591,12 +2456,12 @@ function peg$parse(input, options) {
|
|
|
2591
2456
|
s3 = peg$currPos;
|
|
2592
2457
|
peg$silentFails++;
|
|
2593
2458
|
s4 = input.charAt(peg$currPos);
|
|
2594
|
-
if (peg$
|
|
2459
|
+
if (peg$r10.test(s4)) {
|
|
2595
2460
|
peg$currPos++;
|
|
2596
2461
|
} else {
|
|
2597
2462
|
s4 = peg$FAILED;
|
|
2598
2463
|
if (peg$silentFails === 0) {
|
|
2599
|
-
peg$fail(peg$
|
|
2464
|
+
peg$fail(peg$e19);
|
|
2600
2465
|
}
|
|
2601
2466
|
}
|
|
2602
2467
|
peg$silentFails--;
|
|
@@ -2609,24 +2474,24 @@ function peg$parse(input, options) {
|
|
|
2609
2474
|
if (s3 !== peg$FAILED) {
|
|
2610
2475
|
s4 = [];
|
|
2611
2476
|
s5 = input.charAt(peg$currPos);
|
|
2612
|
-
if (peg$
|
|
2477
|
+
if (peg$r12.test(s5)) {
|
|
2613
2478
|
peg$currPos++;
|
|
2614
2479
|
} else {
|
|
2615
2480
|
s5 = peg$FAILED;
|
|
2616
2481
|
if (peg$silentFails === 0) {
|
|
2617
|
-
peg$fail(peg$
|
|
2482
|
+
peg$fail(peg$e21);
|
|
2618
2483
|
}
|
|
2619
2484
|
}
|
|
2620
2485
|
if (s5 !== peg$FAILED) {
|
|
2621
2486
|
while (s5 !== peg$FAILED) {
|
|
2622
2487
|
s4.push(s5);
|
|
2623
2488
|
s5 = input.charAt(peg$currPos);
|
|
2624
|
-
if (peg$
|
|
2489
|
+
if (peg$r12.test(s5)) {
|
|
2625
2490
|
peg$currPos++;
|
|
2626
2491
|
} else {
|
|
2627
2492
|
s5 = peg$FAILED;
|
|
2628
2493
|
if (peg$silentFails === 0) {
|
|
2629
|
-
peg$fail(peg$
|
|
2494
|
+
peg$fail(peg$e21);
|
|
2630
2495
|
}
|
|
2631
2496
|
}
|
|
2632
2497
|
}
|
|
@@ -2651,12 +2516,12 @@ function peg$parse(input, options) {
|
|
|
2651
2516
|
}
|
|
2652
2517
|
if (s1 !== peg$FAILED) {
|
|
2653
2518
|
peg$savedPos = s0;
|
|
2654
|
-
s1 = peg$
|
|
2519
|
+
s1 = peg$f18();
|
|
2655
2520
|
}
|
|
2656
2521
|
s0 = s1;
|
|
2657
2522
|
return s0;
|
|
2658
2523
|
}
|
|
2659
|
-
|
|
2524
|
+
chunkKJP2NVDR_js.__name(peg$parseunquotedStringWithoutSpaces, "peg$parseunquotedStringWithoutSpaces");
|
|
2660
2525
|
function peg$parsequotedString() {
|
|
2661
2526
|
let s0;
|
|
2662
2527
|
s0 = peg$parseDQuotedString();
|
|
@@ -2668,76 +2533,76 @@ function peg$parse(input, options) {
|
|
|
2668
2533
|
}
|
|
2669
2534
|
return s0;
|
|
2670
2535
|
}
|
|
2671
|
-
|
|
2536
|
+
chunkKJP2NVDR_js.__name(peg$parsequotedString, "peg$parsequotedString");
|
|
2672
2537
|
function peg$parseDQuotedString() {
|
|
2673
2538
|
let s0, s1, s2, s3;
|
|
2674
2539
|
s0 = peg$currPos;
|
|
2675
2540
|
s1 = input.charAt(peg$currPos);
|
|
2676
|
-
if (peg$
|
|
2541
|
+
if (peg$r13.test(s1)) {
|
|
2677
2542
|
peg$currPos++;
|
|
2678
2543
|
} else {
|
|
2679
2544
|
s1 = peg$FAILED;
|
|
2680
2545
|
if (peg$silentFails === 0) {
|
|
2681
|
-
peg$fail(peg$
|
|
2546
|
+
peg$fail(peg$e22);
|
|
2682
2547
|
}
|
|
2683
2548
|
}
|
|
2684
2549
|
if (s1 !== peg$FAILED) {
|
|
2685
2550
|
s2 = [];
|
|
2686
|
-
if (input.substr(peg$currPos, 2) === peg$
|
|
2687
|
-
s3 = peg$
|
|
2551
|
+
if (input.substr(peg$currPos, 2) === peg$c9) {
|
|
2552
|
+
s3 = peg$c9;
|
|
2688
2553
|
peg$currPos += 2;
|
|
2689
2554
|
} else {
|
|
2690
2555
|
s3 = peg$FAILED;
|
|
2691
2556
|
if (peg$silentFails === 0) {
|
|
2692
|
-
peg$fail(peg$
|
|
2557
|
+
peg$fail(peg$e23);
|
|
2693
2558
|
}
|
|
2694
2559
|
}
|
|
2695
2560
|
if (s3 === peg$FAILED) {
|
|
2696
2561
|
s3 = input.charAt(peg$currPos);
|
|
2697
|
-
if (peg$
|
|
2562
|
+
if (peg$r14.test(s3)) {
|
|
2698
2563
|
peg$currPos++;
|
|
2699
2564
|
} else {
|
|
2700
2565
|
s3 = peg$FAILED;
|
|
2701
2566
|
if (peg$silentFails === 0) {
|
|
2702
|
-
peg$fail(peg$
|
|
2567
|
+
peg$fail(peg$e24);
|
|
2703
2568
|
}
|
|
2704
2569
|
}
|
|
2705
2570
|
}
|
|
2706
2571
|
while (s3 !== peg$FAILED) {
|
|
2707
2572
|
s2.push(s3);
|
|
2708
|
-
if (input.substr(peg$currPos, 2) === peg$
|
|
2709
|
-
s3 = peg$
|
|
2573
|
+
if (input.substr(peg$currPos, 2) === peg$c9) {
|
|
2574
|
+
s3 = peg$c9;
|
|
2710
2575
|
peg$currPos += 2;
|
|
2711
2576
|
} else {
|
|
2712
2577
|
s3 = peg$FAILED;
|
|
2713
2578
|
if (peg$silentFails === 0) {
|
|
2714
|
-
peg$fail(peg$
|
|
2579
|
+
peg$fail(peg$e23);
|
|
2715
2580
|
}
|
|
2716
2581
|
}
|
|
2717
2582
|
if (s3 === peg$FAILED) {
|
|
2718
2583
|
s3 = input.charAt(peg$currPos);
|
|
2719
|
-
if (peg$
|
|
2584
|
+
if (peg$r14.test(s3)) {
|
|
2720
2585
|
peg$currPos++;
|
|
2721
2586
|
} else {
|
|
2722
2587
|
s3 = peg$FAILED;
|
|
2723
2588
|
if (peg$silentFails === 0) {
|
|
2724
|
-
peg$fail(peg$
|
|
2589
|
+
peg$fail(peg$e24);
|
|
2725
2590
|
}
|
|
2726
2591
|
}
|
|
2727
2592
|
}
|
|
2728
2593
|
}
|
|
2729
2594
|
s3 = input.charAt(peg$currPos);
|
|
2730
|
-
if (peg$
|
|
2595
|
+
if (peg$r13.test(s3)) {
|
|
2731
2596
|
peg$currPos++;
|
|
2732
2597
|
} else {
|
|
2733
2598
|
s3 = peg$FAILED;
|
|
2734
2599
|
if (peg$silentFails === 0) {
|
|
2735
|
-
peg$fail(peg$
|
|
2600
|
+
peg$fail(peg$e22);
|
|
2736
2601
|
}
|
|
2737
2602
|
}
|
|
2738
2603
|
if (s3 !== peg$FAILED) {
|
|
2739
2604
|
peg$savedPos = s0;
|
|
2740
|
-
s0 = peg$
|
|
2605
|
+
s0 = peg$f19(s1);
|
|
2741
2606
|
} else {
|
|
2742
2607
|
peg$currPos = s0;
|
|
2743
2608
|
s0 = peg$FAILED;
|
|
@@ -2748,76 +2613,76 @@ function peg$parse(input, options) {
|
|
|
2748
2613
|
}
|
|
2749
2614
|
return s0;
|
|
2750
2615
|
}
|
|
2751
|
-
|
|
2616
|
+
chunkKJP2NVDR_js.__name(peg$parseDQuotedString, "peg$parseDQuotedString");
|
|
2752
2617
|
function peg$parseSQuotedString() {
|
|
2753
2618
|
let s0, s1, s2, s3;
|
|
2754
2619
|
s0 = peg$currPos;
|
|
2755
2620
|
s1 = input.charAt(peg$currPos);
|
|
2756
|
-
if (peg$
|
|
2621
|
+
if (peg$r15.test(s1)) {
|
|
2757
2622
|
peg$currPos++;
|
|
2758
2623
|
} else {
|
|
2759
2624
|
s1 = peg$FAILED;
|
|
2760
2625
|
if (peg$silentFails === 0) {
|
|
2761
|
-
peg$fail(peg$
|
|
2626
|
+
peg$fail(peg$e25);
|
|
2762
2627
|
}
|
|
2763
2628
|
}
|
|
2764
2629
|
if (s1 !== peg$FAILED) {
|
|
2765
2630
|
s2 = [];
|
|
2766
|
-
if (input.substr(peg$currPos, 2) === peg$
|
|
2767
|
-
s3 = peg$
|
|
2631
|
+
if (input.substr(peg$currPos, 2) === peg$c10) {
|
|
2632
|
+
s3 = peg$c10;
|
|
2768
2633
|
peg$currPos += 2;
|
|
2769
2634
|
} else {
|
|
2770
2635
|
s3 = peg$FAILED;
|
|
2771
2636
|
if (peg$silentFails === 0) {
|
|
2772
|
-
peg$fail(peg$
|
|
2637
|
+
peg$fail(peg$e26);
|
|
2773
2638
|
}
|
|
2774
2639
|
}
|
|
2775
2640
|
if (s3 === peg$FAILED) {
|
|
2776
2641
|
s3 = input.charAt(peg$currPos);
|
|
2777
|
-
if (peg$
|
|
2642
|
+
if (peg$r16.test(s3)) {
|
|
2778
2643
|
peg$currPos++;
|
|
2779
2644
|
} else {
|
|
2780
2645
|
s3 = peg$FAILED;
|
|
2781
2646
|
if (peg$silentFails === 0) {
|
|
2782
|
-
peg$fail(peg$
|
|
2647
|
+
peg$fail(peg$e27);
|
|
2783
2648
|
}
|
|
2784
2649
|
}
|
|
2785
2650
|
}
|
|
2786
2651
|
while (s3 !== peg$FAILED) {
|
|
2787
2652
|
s2.push(s3);
|
|
2788
|
-
if (input.substr(peg$currPos, 2) === peg$
|
|
2789
|
-
s3 = peg$
|
|
2653
|
+
if (input.substr(peg$currPos, 2) === peg$c10) {
|
|
2654
|
+
s3 = peg$c10;
|
|
2790
2655
|
peg$currPos += 2;
|
|
2791
2656
|
} else {
|
|
2792
2657
|
s3 = peg$FAILED;
|
|
2793
2658
|
if (peg$silentFails === 0) {
|
|
2794
|
-
peg$fail(peg$
|
|
2659
|
+
peg$fail(peg$e26);
|
|
2795
2660
|
}
|
|
2796
2661
|
}
|
|
2797
2662
|
if (s3 === peg$FAILED) {
|
|
2798
2663
|
s3 = input.charAt(peg$currPos);
|
|
2799
|
-
if (peg$
|
|
2664
|
+
if (peg$r16.test(s3)) {
|
|
2800
2665
|
peg$currPos++;
|
|
2801
2666
|
} else {
|
|
2802
2667
|
s3 = peg$FAILED;
|
|
2803
2668
|
if (peg$silentFails === 0) {
|
|
2804
|
-
peg$fail(peg$
|
|
2669
|
+
peg$fail(peg$e27);
|
|
2805
2670
|
}
|
|
2806
2671
|
}
|
|
2807
2672
|
}
|
|
2808
2673
|
}
|
|
2809
2674
|
s3 = input.charAt(peg$currPos);
|
|
2810
|
-
if (peg$
|
|
2675
|
+
if (peg$r15.test(s3)) {
|
|
2811
2676
|
peg$currPos++;
|
|
2812
2677
|
} else {
|
|
2813
2678
|
s3 = peg$FAILED;
|
|
2814
2679
|
if (peg$silentFails === 0) {
|
|
2815
|
-
peg$fail(peg$
|
|
2680
|
+
peg$fail(peg$e25);
|
|
2816
2681
|
}
|
|
2817
2682
|
}
|
|
2818
2683
|
if (s3 !== peg$FAILED) {
|
|
2819
2684
|
peg$savedPos = s0;
|
|
2820
|
-
s0 = peg$
|
|
2685
|
+
s0 = peg$f20(s1);
|
|
2821
2686
|
} else {
|
|
2822
2687
|
peg$currPos = s0;
|
|
2823
2688
|
s0 = peg$FAILED;
|
|
@@ -2828,76 +2693,76 @@ function peg$parse(input, options) {
|
|
|
2828
2693
|
}
|
|
2829
2694
|
return s0;
|
|
2830
2695
|
}
|
|
2831
|
-
|
|
2696
|
+
chunkKJP2NVDR_js.__name(peg$parseSQuotedString, "peg$parseSQuotedString");
|
|
2832
2697
|
function peg$parseBQuotedString() {
|
|
2833
2698
|
let s0, s1, s2, s3;
|
|
2834
2699
|
s0 = peg$currPos;
|
|
2835
2700
|
s1 = input.charAt(peg$currPos);
|
|
2836
|
-
if (peg$
|
|
2701
|
+
if (peg$r17.test(s1)) {
|
|
2837
2702
|
peg$currPos++;
|
|
2838
2703
|
} else {
|
|
2839
2704
|
s1 = peg$FAILED;
|
|
2840
2705
|
if (peg$silentFails === 0) {
|
|
2841
|
-
peg$fail(peg$
|
|
2706
|
+
peg$fail(peg$e28);
|
|
2842
2707
|
}
|
|
2843
2708
|
}
|
|
2844
2709
|
if (s1 !== peg$FAILED) {
|
|
2845
2710
|
s2 = [];
|
|
2846
|
-
if (input.substr(peg$currPos, 2) === peg$
|
|
2847
|
-
s3 = peg$
|
|
2711
|
+
if (input.substr(peg$currPos, 2) === peg$c11) {
|
|
2712
|
+
s3 = peg$c11;
|
|
2848
2713
|
peg$currPos += 2;
|
|
2849
2714
|
} else {
|
|
2850
2715
|
s3 = peg$FAILED;
|
|
2851
2716
|
if (peg$silentFails === 0) {
|
|
2852
|
-
peg$fail(peg$
|
|
2717
|
+
peg$fail(peg$e29);
|
|
2853
2718
|
}
|
|
2854
2719
|
}
|
|
2855
2720
|
if (s3 === peg$FAILED) {
|
|
2856
2721
|
s3 = input.charAt(peg$currPos);
|
|
2857
|
-
if (peg$
|
|
2722
|
+
if (peg$r18.test(s3)) {
|
|
2858
2723
|
peg$currPos++;
|
|
2859
2724
|
} else {
|
|
2860
2725
|
s3 = peg$FAILED;
|
|
2861
2726
|
if (peg$silentFails === 0) {
|
|
2862
|
-
peg$fail(peg$
|
|
2727
|
+
peg$fail(peg$e30);
|
|
2863
2728
|
}
|
|
2864
2729
|
}
|
|
2865
2730
|
}
|
|
2866
2731
|
while (s3 !== peg$FAILED) {
|
|
2867
2732
|
s2.push(s3);
|
|
2868
|
-
if (input.substr(peg$currPos, 2) === peg$
|
|
2869
|
-
s3 = peg$
|
|
2733
|
+
if (input.substr(peg$currPos, 2) === peg$c11) {
|
|
2734
|
+
s3 = peg$c11;
|
|
2870
2735
|
peg$currPos += 2;
|
|
2871
2736
|
} else {
|
|
2872
2737
|
s3 = peg$FAILED;
|
|
2873
2738
|
if (peg$silentFails === 0) {
|
|
2874
|
-
peg$fail(peg$
|
|
2739
|
+
peg$fail(peg$e29);
|
|
2875
2740
|
}
|
|
2876
2741
|
}
|
|
2877
2742
|
if (s3 === peg$FAILED) {
|
|
2878
2743
|
s3 = input.charAt(peg$currPos);
|
|
2879
|
-
if (peg$
|
|
2744
|
+
if (peg$r18.test(s3)) {
|
|
2880
2745
|
peg$currPos++;
|
|
2881
2746
|
} else {
|
|
2882
2747
|
s3 = peg$FAILED;
|
|
2883
2748
|
if (peg$silentFails === 0) {
|
|
2884
|
-
peg$fail(peg$
|
|
2749
|
+
peg$fail(peg$e30);
|
|
2885
2750
|
}
|
|
2886
2751
|
}
|
|
2887
2752
|
}
|
|
2888
2753
|
}
|
|
2889
2754
|
s3 = input.charAt(peg$currPos);
|
|
2890
|
-
if (peg$
|
|
2755
|
+
if (peg$r17.test(s3)) {
|
|
2891
2756
|
peg$currPos++;
|
|
2892
2757
|
} else {
|
|
2893
2758
|
s3 = peg$FAILED;
|
|
2894
2759
|
if (peg$silentFails === 0) {
|
|
2895
|
-
peg$fail(peg$
|
|
2760
|
+
peg$fail(peg$e28);
|
|
2896
2761
|
}
|
|
2897
2762
|
}
|
|
2898
2763
|
if (s3 !== peg$FAILED) {
|
|
2899
2764
|
peg$savedPos = s0;
|
|
2900
|
-
s0 = peg$
|
|
2765
|
+
s0 = peg$f21(s1);
|
|
2901
2766
|
} else {
|
|
2902
2767
|
peg$currPos = s0;
|
|
2903
2768
|
s0 = peg$FAILED;
|
|
@@ -2908,7 +2773,7 @@ function peg$parse(input, options) {
|
|
|
2908
2773
|
}
|
|
2909
2774
|
return s0;
|
|
2910
2775
|
}
|
|
2911
|
-
|
|
2776
|
+
chunkKJP2NVDR_js.__name(peg$parseBQuotedString, "peg$parseBQuotedString");
|
|
2912
2777
|
function peg$parsemultiLineString() {
|
|
2913
2778
|
let s0;
|
|
2914
2779
|
s0 = peg$parsesingleSQuotedMultiLineString();
|
|
@@ -2923,62 +2788,62 @@ function peg$parse(input, options) {
|
|
|
2923
2788
|
}
|
|
2924
2789
|
return s0;
|
|
2925
2790
|
}
|
|
2926
|
-
|
|
2791
|
+
chunkKJP2NVDR_js.__name(peg$parsemultiLineString, "peg$parsemultiLineString");
|
|
2927
2792
|
function peg$parsesingleSQuotedMultiLineString() {
|
|
2928
2793
|
let s0, s1, s2, s3, s4, s5;
|
|
2929
2794
|
s0 = peg$currPos;
|
|
2930
2795
|
s1 = input.charAt(peg$currPos);
|
|
2931
|
-
if (peg$
|
|
2796
|
+
if (peg$r15.test(s1)) {
|
|
2932
2797
|
peg$currPos++;
|
|
2933
2798
|
} else {
|
|
2934
2799
|
s1 = peg$FAILED;
|
|
2935
2800
|
if (peg$silentFails === 0) {
|
|
2936
|
-
peg$fail(peg$
|
|
2801
|
+
peg$fail(peg$e25);
|
|
2937
2802
|
}
|
|
2938
2803
|
}
|
|
2939
2804
|
if (s1 !== peg$FAILED) {
|
|
2940
2805
|
s2 = [];
|
|
2941
2806
|
s3 = peg$currPos;
|
|
2942
2807
|
s4 = [];
|
|
2943
|
-
if (input.substr(peg$currPos, 2) === peg$
|
|
2944
|
-
s5 = peg$
|
|
2808
|
+
if (input.substr(peg$currPos, 2) === peg$c10) {
|
|
2809
|
+
s5 = peg$c10;
|
|
2945
2810
|
peg$currPos += 2;
|
|
2946
2811
|
} else {
|
|
2947
2812
|
s5 = peg$FAILED;
|
|
2948
2813
|
if (peg$silentFails === 0) {
|
|
2949
|
-
peg$fail(peg$
|
|
2814
|
+
peg$fail(peg$e26);
|
|
2950
2815
|
}
|
|
2951
2816
|
}
|
|
2952
2817
|
if (s5 === peg$FAILED) {
|
|
2953
2818
|
s5 = input.charAt(peg$currPos);
|
|
2954
|
-
if (peg$
|
|
2819
|
+
if (peg$r16.test(s5)) {
|
|
2955
2820
|
peg$currPos++;
|
|
2956
2821
|
} else {
|
|
2957
2822
|
s5 = peg$FAILED;
|
|
2958
2823
|
if (peg$silentFails === 0) {
|
|
2959
|
-
peg$fail(peg$
|
|
2824
|
+
peg$fail(peg$e27);
|
|
2960
2825
|
}
|
|
2961
2826
|
}
|
|
2962
2827
|
}
|
|
2963
2828
|
while (s5 !== peg$FAILED) {
|
|
2964
2829
|
s4.push(s5);
|
|
2965
|
-
if (input.substr(peg$currPos, 2) === peg$
|
|
2966
|
-
s5 = peg$
|
|
2830
|
+
if (input.substr(peg$currPos, 2) === peg$c10) {
|
|
2831
|
+
s5 = peg$c10;
|
|
2967
2832
|
peg$currPos += 2;
|
|
2968
2833
|
} else {
|
|
2969
2834
|
s5 = peg$FAILED;
|
|
2970
2835
|
if (peg$silentFails === 0) {
|
|
2971
|
-
peg$fail(peg$
|
|
2836
|
+
peg$fail(peg$e26);
|
|
2972
2837
|
}
|
|
2973
2838
|
}
|
|
2974
2839
|
if (s5 === peg$FAILED) {
|
|
2975
2840
|
s5 = input.charAt(peg$currPos);
|
|
2976
|
-
if (peg$
|
|
2841
|
+
if (peg$r16.test(s5)) {
|
|
2977
2842
|
peg$currPos++;
|
|
2978
2843
|
} else {
|
|
2979
2844
|
s5 = peg$FAILED;
|
|
2980
2845
|
if (peg$silentFails === 0) {
|
|
2981
|
-
peg$fail(peg$
|
|
2846
|
+
peg$fail(peg$e27);
|
|
2982
2847
|
}
|
|
2983
2848
|
}
|
|
2984
2849
|
}
|
|
@@ -3004,45 +2869,45 @@ function peg$parse(input, options) {
|
|
|
3004
2869
|
s2.push(s3);
|
|
3005
2870
|
s3 = peg$currPos;
|
|
3006
2871
|
s4 = [];
|
|
3007
|
-
if (input.substr(peg$currPos, 2) === peg$
|
|
3008
|
-
s5 = peg$
|
|
2872
|
+
if (input.substr(peg$currPos, 2) === peg$c10) {
|
|
2873
|
+
s5 = peg$c10;
|
|
3009
2874
|
peg$currPos += 2;
|
|
3010
2875
|
} else {
|
|
3011
2876
|
s5 = peg$FAILED;
|
|
3012
2877
|
if (peg$silentFails === 0) {
|
|
3013
|
-
peg$fail(peg$
|
|
2878
|
+
peg$fail(peg$e26);
|
|
3014
2879
|
}
|
|
3015
2880
|
}
|
|
3016
2881
|
if (s5 === peg$FAILED) {
|
|
3017
2882
|
s5 = input.charAt(peg$currPos);
|
|
3018
|
-
if (peg$
|
|
2883
|
+
if (peg$r16.test(s5)) {
|
|
3019
2884
|
peg$currPos++;
|
|
3020
2885
|
} else {
|
|
3021
2886
|
s5 = peg$FAILED;
|
|
3022
2887
|
if (peg$silentFails === 0) {
|
|
3023
|
-
peg$fail(peg$
|
|
2888
|
+
peg$fail(peg$e27);
|
|
3024
2889
|
}
|
|
3025
2890
|
}
|
|
3026
2891
|
}
|
|
3027
2892
|
while (s5 !== peg$FAILED) {
|
|
3028
2893
|
s4.push(s5);
|
|
3029
|
-
if (input.substr(peg$currPos, 2) === peg$
|
|
3030
|
-
s5 = peg$
|
|
2894
|
+
if (input.substr(peg$currPos, 2) === peg$c10) {
|
|
2895
|
+
s5 = peg$c10;
|
|
3031
2896
|
peg$currPos += 2;
|
|
3032
2897
|
} else {
|
|
3033
2898
|
s5 = peg$FAILED;
|
|
3034
2899
|
if (peg$silentFails === 0) {
|
|
3035
|
-
peg$fail(peg$
|
|
2900
|
+
peg$fail(peg$e26);
|
|
3036
2901
|
}
|
|
3037
2902
|
}
|
|
3038
2903
|
if (s5 === peg$FAILED) {
|
|
3039
2904
|
s5 = input.charAt(peg$currPos);
|
|
3040
|
-
if (peg$
|
|
2905
|
+
if (peg$r16.test(s5)) {
|
|
3041
2906
|
peg$currPos++;
|
|
3042
2907
|
} else {
|
|
3043
2908
|
s5 = peg$FAILED;
|
|
3044
2909
|
if (peg$silentFails === 0) {
|
|
3045
|
-
peg$fail(peg$
|
|
2910
|
+
peg$fail(peg$e27);
|
|
3046
2911
|
}
|
|
3047
2912
|
}
|
|
3048
2913
|
}
|
|
@@ -3069,61 +2934,61 @@ function peg$parse(input, options) {
|
|
|
3069
2934
|
}
|
|
3070
2935
|
if (s2 !== peg$FAILED) {
|
|
3071
2936
|
s3 = [];
|
|
3072
|
-
if (input.substr(peg$currPos, 2) === peg$
|
|
3073
|
-
s4 = peg$
|
|
2937
|
+
if (input.substr(peg$currPos, 2) === peg$c10) {
|
|
2938
|
+
s4 = peg$c10;
|
|
3074
2939
|
peg$currPos += 2;
|
|
3075
2940
|
} else {
|
|
3076
2941
|
s4 = peg$FAILED;
|
|
3077
2942
|
if (peg$silentFails === 0) {
|
|
3078
|
-
peg$fail(peg$
|
|
2943
|
+
peg$fail(peg$e26);
|
|
3079
2944
|
}
|
|
3080
2945
|
}
|
|
3081
2946
|
if (s4 === peg$FAILED) {
|
|
3082
2947
|
s4 = input.charAt(peg$currPos);
|
|
3083
|
-
if (peg$
|
|
2948
|
+
if (peg$r16.test(s4)) {
|
|
3084
2949
|
peg$currPos++;
|
|
3085
2950
|
} else {
|
|
3086
2951
|
s4 = peg$FAILED;
|
|
3087
2952
|
if (peg$silentFails === 0) {
|
|
3088
|
-
peg$fail(peg$
|
|
2953
|
+
peg$fail(peg$e27);
|
|
3089
2954
|
}
|
|
3090
2955
|
}
|
|
3091
2956
|
}
|
|
3092
2957
|
while (s4 !== peg$FAILED) {
|
|
3093
2958
|
s3.push(s4);
|
|
3094
|
-
if (input.substr(peg$currPos, 2) === peg$
|
|
3095
|
-
s4 = peg$
|
|
2959
|
+
if (input.substr(peg$currPos, 2) === peg$c10) {
|
|
2960
|
+
s4 = peg$c10;
|
|
3096
2961
|
peg$currPos += 2;
|
|
3097
2962
|
} else {
|
|
3098
2963
|
s4 = peg$FAILED;
|
|
3099
2964
|
if (peg$silentFails === 0) {
|
|
3100
|
-
peg$fail(peg$
|
|
2965
|
+
peg$fail(peg$e26);
|
|
3101
2966
|
}
|
|
3102
2967
|
}
|
|
3103
2968
|
if (s4 === peg$FAILED) {
|
|
3104
2969
|
s4 = input.charAt(peg$currPos);
|
|
3105
|
-
if (peg$
|
|
2970
|
+
if (peg$r16.test(s4)) {
|
|
3106
2971
|
peg$currPos++;
|
|
3107
2972
|
} else {
|
|
3108
2973
|
s4 = peg$FAILED;
|
|
3109
2974
|
if (peg$silentFails === 0) {
|
|
3110
|
-
peg$fail(peg$
|
|
2975
|
+
peg$fail(peg$e27);
|
|
3111
2976
|
}
|
|
3112
2977
|
}
|
|
3113
2978
|
}
|
|
3114
2979
|
}
|
|
3115
2980
|
s4 = input.charAt(peg$currPos);
|
|
3116
|
-
if (peg$
|
|
2981
|
+
if (peg$r15.test(s4)) {
|
|
3117
2982
|
peg$currPos++;
|
|
3118
2983
|
} else {
|
|
3119
2984
|
s4 = peg$FAILED;
|
|
3120
2985
|
if (peg$silentFails === 0) {
|
|
3121
|
-
peg$fail(peg$
|
|
2986
|
+
peg$fail(peg$e25);
|
|
3122
2987
|
}
|
|
3123
2988
|
}
|
|
3124
2989
|
if (s4 !== peg$FAILED) {
|
|
3125
2990
|
peg$savedPos = s0;
|
|
3126
|
-
s0 = peg$
|
|
2991
|
+
s0 = peg$f22(s1);
|
|
3127
2992
|
} else {
|
|
3128
2993
|
peg$currPos = s0;
|
|
3129
2994
|
s0 = peg$FAILED;
|
|
@@ -3138,62 +3003,62 @@ function peg$parse(input, options) {
|
|
|
3138
3003
|
}
|
|
3139
3004
|
return s0;
|
|
3140
3005
|
}
|
|
3141
|
-
|
|
3006
|
+
chunkKJP2NVDR_js.__name(peg$parsesingleSQuotedMultiLineString, "peg$parsesingleSQuotedMultiLineString");
|
|
3142
3007
|
function peg$parsesingleDQuotedMultiLineString() {
|
|
3143
3008
|
let s0, s1, s2, s3, s4, s5;
|
|
3144
3009
|
s0 = peg$currPos;
|
|
3145
3010
|
s1 = input.charAt(peg$currPos);
|
|
3146
|
-
if (peg$
|
|
3011
|
+
if (peg$r13.test(s1)) {
|
|
3147
3012
|
peg$currPos++;
|
|
3148
3013
|
} else {
|
|
3149
3014
|
s1 = peg$FAILED;
|
|
3150
3015
|
if (peg$silentFails === 0) {
|
|
3151
|
-
peg$fail(peg$
|
|
3016
|
+
peg$fail(peg$e22);
|
|
3152
3017
|
}
|
|
3153
3018
|
}
|
|
3154
3019
|
if (s1 !== peg$FAILED) {
|
|
3155
3020
|
s2 = [];
|
|
3156
3021
|
s3 = peg$currPos;
|
|
3157
3022
|
s4 = [];
|
|
3158
|
-
if (input.substr(peg$currPos, 2) === peg$
|
|
3159
|
-
s5 = peg$
|
|
3023
|
+
if (input.substr(peg$currPos, 2) === peg$c9) {
|
|
3024
|
+
s5 = peg$c9;
|
|
3160
3025
|
peg$currPos += 2;
|
|
3161
3026
|
} else {
|
|
3162
3027
|
s5 = peg$FAILED;
|
|
3163
3028
|
if (peg$silentFails === 0) {
|
|
3164
|
-
peg$fail(peg$
|
|
3029
|
+
peg$fail(peg$e23);
|
|
3165
3030
|
}
|
|
3166
3031
|
}
|
|
3167
3032
|
if (s5 === peg$FAILED) {
|
|
3168
3033
|
s5 = input.charAt(peg$currPos);
|
|
3169
|
-
if (peg$
|
|
3034
|
+
if (peg$r14.test(s5)) {
|
|
3170
3035
|
peg$currPos++;
|
|
3171
3036
|
} else {
|
|
3172
3037
|
s5 = peg$FAILED;
|
|
3173
3038
|
if (peg$silentFails === 0) {
|
|
3174
|
-
peg$fail(peg$
|
|
3039
|
+
peg$fail(peg$e24);
|
|
3175
3040
|
}
|
|
3176
3041
|
}
|
|
3177
3042
|
}
|
|
3178
3043
|
while (s5 !== peg$FAILED) {
|
|
3179
3044
|
s4.push(s5);
|
|
3180
|
-
if (input.substr(peg$currPos, 2) === peg$
|
|
3181
|
-
s5 = peg$
|
|
3045
|
+
if (input.substr(peg$currPos, 2) === peg$c9) {
|
|
3046
|
+
s5 = peg$c9;
|
|
3182
3047
|
peg$currPos += 2;
|
|
3183
3048
|
} else {
|
|
3184
3049
|
s5 = peg$FAILED;
|
|
3185
3050
|
if (peg$silentFails === 0) {
|
|
3186
|
-
peg$fail(peg$
|
|
3051
|
+
peg$fail(peg$e23);
|
|
3187
3052
|
}
|
|
3188
3053
|
}
|
|
3189
3054
|
if (s5 === peg$FAILED) {
|
|
3190
3055
|
s5 = input.charAt(peg$currPos);
|
|
3191
|
-
if (peg$
|
|
3056
|
+
if (peg$r14.test(s5)) {
|
|
3192
3057
|
peg$currPos++;
|
|
3193
3058
|
} else {
|
|
3194
3059
|
s5 = peg$FAILED;
|
|
3195
3060
|
if (peg$silentFails === 0) {
|
|
3196
|
-
peg$fail(peg$
|
|
3061
|
+
peg$fail(peg$e24);
|
|
3197
3062
|
}
|
|
3198
3063
|
}
|
|
3199
3064
|
}
|
|
@@ -3219,45 +3084,45 @@ function peg$parse(input, options) {
|
|
|
3219
3084
|
s2.push(s3);
|
|
3220
3085
|
s3 = peg$currPos;
|
|
3221
3086
|
s4 = [];
|
|
3222
|
-
if (input.substr(peg$currPos, 2) === peg$
|
|
3223
|
-
s5 = peg$
|
|
3087
|
+
if (input.substr(peg$currPos, 2) === peg$c9) {
|
|
3088
|
+
s5 = peg$c9;
|
|
3224
3089
|
peg$currPos += 2;
|
|
3225
3090
|
} else {
|
|
3226
3091
|
s5 = peg$FAILED;
|
|
3227
3092
|
if (peg$silentFails === 0) {
|
|
3228
|
-
peg$fail(peg$
|
|
3093
|
+
peg$fail(peg$e23);
|
|
3229
3094
|
}
|
|
3230
3095
|
}
|
|
3231
3096
|
if (s5 === peg$FAILED) {
|
|
3232
3097
|
s5 = input.charAt(peg$currPos);
|
|
3233
|
-
if (peg$
|
|
3098
|
+
if (peg$r14.test(s5)) {
|
|
3234
3099
|
peg$currPos++;
|
|
3235
3100
|
} else {
|
|
3236
3101
|
s5 = peg$FAILED;
|
|
3237
3102
|
if (peg$silentFails === 0) {
|
|
3238
|
-
peg$fail(peg$
|
|
3103
|
+
peg$fail(peg$e24);
|
|
3239
3104
|
}
|
|
3240
3105
|
}
|
|
3241
3106
|
}
|
|
3242
3107
|
while (s5 !== peg$FAILED) {
|
|
3243
3108
|
s4.push(s5);
|
|
3244
|
-
if (input.substr(peg$currPos, 2) === peg$
|
|
3245
|
-
s5 = peg$
|
|
3109
|
+
if (input.substr(peg$currPos, 2) === peg$c9) {
|
|
3110
|
+
s5 = peg$c9;
|
|
3246
3111
|
peg$currPos += 2;
|
|
3247
3112
|
} else {
|
|
3248
3113
|
s5 = peg$FAILED;
|
|
3249
3114
|
if (peg$silentFails === 0) {
|
|
3250
|
-
peg$fail(peg$
|
|
3115
|
+
peg$fail(peg$e23);
|
|
3251
3116
|
}
|
|
3252
3117
|
}
|
|
3253
3118
|
if (s5 === peg$FAILED) {
|
|
3254
3119
|
s5 = input.charAt(peg$currPos);
|
|
3255
|
-
if (peg$
|
|
3120
|
+
if (peg$r14.test(s5)) {
|
|
3256
3121
|
peg$currPos++;
|
|
3257
3122
|
} else {
|
|
3258
3123
|
s5 = peg$FAILED;
|
|
3259
3124
|
if (peg$silentFails === 0) {
|
|
3260
|
-
peg$fail(peg$
|
|
3125
|
+
peg$fail(peg$e24);
|
|
3261
3126
|
}
|
|
3262
3127
|
}
|
|
3263
3128
|
}
|
|
@@ -3284,61 +3149,61 @@ function peg$parse(input, options) {
|
|
|
3284
3149
|
}
|
|
3285
3150
|
if (s2 !== peg$FAILED) {
|
|
3286
3151
|
s3 = [];
|
|
3287
|
-
if (input.substr(peg$currPos, 2) === peg$
|
|
3288
|
-
s4 = peg$
|
|
3152
|
+
if (input.substr(peg$currPos, 2) === peg$c9) {
|
|
3153
|
+
s4 = peg$c9;
|
|
3289
3154
|
peg$currPos += 2;
|
|
3290
3155
|
} else {
|
|
3291
3156
|
s4 = peg$FAILED;
|
|
3292
3157
|
if (peg$silentFails === 0) {
|
|
3293
|
-
peg$fail(peg$
|
|
3158
|
+
peg$fail(peg$e23);
|
|
3294
3159
|
}
|
|
3295
3160
|
}
|
|
3296
3161
|
if (s4 === peg$FAILED) {
|
|
3297
3162
|
s4 = input.charAt(peg$currPos);
|
|
3298
|
-
if (peg$
|
|
3163
|
+
if (peg$r14.test(s4)) {
|
|
3299
3164
|
peg$currPos++;
|
|
3300
3165
|
} else {
|
|
3301
3166
|
s4 = peg$FAILED;
|
|
3302
3167
|
if (peg$silentFails === 0) {
|
|
3303
|
-
peg$fail(peg$
|
|
3168
|
+
peg$fail(peg$e24);
|
|
3304
3169
|
}
|
|
3305
3170
|
}
|
|
3306
3171
|
}
|
|
3307
3172
|
while (s4 !== peg$FAILED) {
|
|
3308
3173
|
s3.push(s4);
|
|
3309
|
-
if (input.substr(peg$currPos, 2) === peg$
|
|
3310
|
-
s4 = peg$
|
|
3174
|
+
if (input.substr(peg$currPos, 2) === peg$c9) {
|
|
3175
|
+
s4 = peg$c9;
|
|
3311
3176
|
peg$currPos += 2;
|
|
3312
3177
|
} else {
|
|
3313
3178
|
s4 = peg$FAILED;
|
|
3314
3179
|
if (peg$silentFails === 0) {
|
|
3315
|
-
peg$fail(peg$
|
|
3180
|
+
peg$fail(peg$e23);
|
|
3316
3181
|
}
|
|
3317
3182
|
}
|
|
3318
3183
|
if (s4 === peg$FAILED) {
|
|
3319
3184
|
s4 = input.charAt(peg$currPos);
|
|
3320
|
-
if (peg$
|
|
3185
|
+
if (peg$r14.test(s4)) {
|
|
3321
3186
|
peg$currPos++;
|
|
3322
3187
|
} else {
|
|
3323
3188
|
s4 = peg$FAILED;
|
|
3324
3189
|
if (peg$silentFails === 0) {
|
|
3325
|
-
peg$fail(peg$
|
|
3190
|
+
peg$fail(peg$e24);
|
|
3326
3191
|
}
|
|
3327
3192
|
}
|
|
3328
3193
|
}
|
|
3329
3194
|
}
|
|
3330
3195
|
s4 = input.charAt(peg$currPos);
|
|
3331
|
-
if (peg$
|
|
3196
|
+
if (peg$r13.test(s4)) {
|
|
3332
3197
|
peg$currPos++;
|
|
3333
3198
|
} else {
|
|
3334
3199
|
s4 = peg$FAILED;
|
|
3335
3200
|
if (peg$silentFails === 0) {
|
|
3336
|
-
peg$fail(peg$
|
|
3201
|
+
peg$fail(peg$e22);
|
|
3337
3202
|
}
|
|
3338
3203
|
}
|
|
3339
3204
|
if (s4 !== peg$FAILED) {
|
|
3340
3205
|
peg$savedPos = s0;
|
|
3341
|
-
s0 = peg$
|
|
3206
|
+
s0 = peg$f23(s1);
|
|
3342
3207
|
} else {
|
|
3343
3208
|
peg$currPos = s0;
|
|
3344
3209
|
s0 = peg$FAILED;
|
|
@@ -3353,43 +3218,43 @@ function peg$parse(input, options) {
|
|
|
3353
3218
|
}
|
|
3354
3219
|
return s0;
|
|
3355
3220
|
}
|
|
3356
|
-
|
|
3221
|
+
chunkKJP2NVDR_js.__name(peg$parsesingleDQuotedMultiLineString, "peg$parsesingleDQuotedMultiLineString");
|
|
3357
3222
|
function peg$parsetripleDQuotedMultiLineString() {
|
|
3358
3223
|
let s0, s1, s2, s3, s4, s5, s6, s7;
|
|
3359
3224
|
s0 = peg$currPos;
|
|
3360
|
-
if (input.substr(peg$currPos, 3) === peg$
|
|
3361
|
-
s1 = peg$
|
|
3225
|
+
if (input.substr(peg$currPos, 3) === peg$c12) {
|
|
3226
|
+
s1 = peg$c12;
|
|
3362
3227
|
peg$currPos += 3;
|
|
3363
3228
|
} else {
|
|
3364
3229
|
s1 = peg$FAILED;
|
|
3365
3230
|
if (peg$silentFails === 0) {
|
|
3366
|
-
peg$fail(peg$
|
|
3231
|
+
peg$fail(peg$e31);
|
|
3367
3232
|
}
|
|
3368
3233
|
}
|
|
3369
3234
|
if (s1 !== peg$FAILED) {
|
|
3370
3235
|
s2 = [];
|
|
3371
3236
|
s3 = peg$currPos;
|
|
3372
3237
|
s4 = [];
|
|
3373
|
-
if (input.substr(peg$currPos, 4) === peg$
|
|
3374
|
-
s5 = peg$
|
|
3238
|
+
if (input.substr(peg$currPos, 4) === peg$c13) {
|
|
3239
|
+
s5 = peg$c13;
|
|
3375
3240
|
peg$currPos += 4;
|
|
3376
3241
|
} else {
|
|
3377
3242
|
s5 = peg$FAILED;
|
|
3378
3243
|
if (peg$silentFails === 0) {
|
|
3379
|
-
peg$fail(peg$
|
|
3244
|
+
peg$fail(peg$e32);
|
|
3380
3245
|
}
|
|
3381
3246
|
}
|
|
3382
3247
|
if (s5 === peg$FAILED) {
|
|
3383
3248
|
s5 = peg$currPos;
|
|
3384
3249
|
s6 = peg$currPos;
|
|
3385
3250
|
peg$silentFails++;
|
|
3386
|
-
if (input.substr(peg$currPos, 3) === peg$
|
|
3387
|
-
s7 = peg$
|
|
3251
|
+
if (input.substr(peg$currPos, 3) === peg$c12) {
|
|
3252
|
+
s7 = peg$c12;
|
|
3388
3253
|
peg$currPos += 3;
|
|
3389
3254
|
} else {
|
|
3390
3255
|
s7 = peg$FAILED;
|
|
3391
3256
|
if (peg$silentFails === 0) {
|
|
3392
|
-
peg$fail(peg$
|
|
3257
|
+
peg$fail(peg$e31);
|
|
3393
3258
|
}
|
|
3394
3259
|
}
|
|
3395
3260
|
peg$silentFails--;
|
|
@@ -3423,26 +3288,26 @@ function peg$parse(input, options) {
|
|
|
3423
3288
|
}
|
|
3424
3289
|
while (s5 !== peg$FAILED) {
|
|
3425
3290
|
s4.push(s5);
|
|
3426
|
-
if (input.substr(peg$currPos, 4) === peg$
|
|
3427
|
-
s5 = peg$
|
|
3291
|
+
if (input.substr(peg$currPos, 4) === peg$c13) {
|
|
3292
|
+
s5 = peg$c13;
|
|
3428
3293
|
peg$currPos += 4;
|
|
3429
3294
|
} else {
|
|
3430
3295
|
s5 = peg$FAILED;
|
|
3431
3296
|
if (peg$silentFails === 0) {
|
|
3432
|
-
peg$fail(peg$
|
|
3297
|
+
peg$fail(peg$e32);
|
|
3433
3298
|
}
|
|
3434
3299
|
}
|
|
3435
3300
|
if (s5 === peg$FAILED) {
|
|
3436
3301
|
s5 = peg$currPos;
|
|
3437
3302
|
s6 = peg$currPos;
|
|
3438
3303
|
peg$silentFails++;
|
|
3439
|
-
if (input.substr(peg$currPos, 3) === peg$
|
|
3440
|
-
s7 = peg$
|
|
3304
|
+
if (input.substr(peg$currPos, 3) === peg$c12) {
|
|
3305
|
+
s7 = peg$c12;
|
|
3441
3306
|
peg$currPos += 3;
|
|
3442
3307
|
} else {
|
|
3443
3308
|
s7 = peg$FAILED;
|
|
3444
3309
|
if (peg$silentFails === 0) {
|
|
3445
|
-
peg$fail(peg$
|
|
3310
|
+
peg$fail(peg$e31);
|
|
3446
3311
|
}
|
|
3447
3312
|
}
|
|
3448
3313
|
peg$silentFails--;
|
|
@@ -3496,26 +3361,26 @@ function peg$parse(input, options) {
|
|
|
3496
3361
|
s2.push(s3);
|
|
3497
3362
|
s3 = peg$currPos;
|
|
3498
3363
|
s4 = [];
|
|
3499
|
-
if (input.substr(peg$currPos, 4) === peg$
|
|
3500
|
-
s5 = peg$
|
|
3364
|
+
if (input.substr(peg$currPos, 4) === peg$c13) {
|
|
3365
|
+
s5 = peg$c13;
|
|
3501
3366
|
peg$currPos += 4;
|
|
3502
3367
|
} else {
|
|
3503
3368
|
s5 = peg$FAILED;
|
|
3504
3369
|
if (peg$silentFails === 0) {
|
|
3505
|
-
peg$fail(peg$
|
|
3370
|
+
peg$fail(peg$e32);
|
|
3506
3371
|
}
|
|
3507
3372
|
}
|
|
3508
3373
|
if (s5 === peg$FAILED) {
|
|
3509
3374
|
s5 = peg$currPos;
|
|
3510
3375
|
s6 = peg$currPos;
|
|
3511
3376
|
peg$silentFails++;
|
|
3512
|
-
if (input.substr(peg$currPos, 3) === peg$
|
|
3513
|
-
s7 = peg$
|
|
3377
|
+
if (input.substr(peg$currPos, 3) === peg$c12) {
|
|
3378
|
+
s7 = peg$c12;
|
|
3514
3379
|
peg$currPos += 3;
|
|
3515
3380
|
} else {
|
|
3516
3381
|
s7 = peg$FAILED;
|
|
3517
3382
|
if (peg$silentFails === 0) {
|
|
3518
|
-
peg$fail(peg$
|
|
3383
|
+
peg$fail(peg$e31);
|
|
3519
3384
|
}
|
|
3520
3385
|
}
|
|
3521
3386
|
peg$silentFails--;
|
|
@@ -3549,26 +3414,26 @@ function peg$parse(input, options) {
|
|
|
3549
3414
|
}
|
|
3550
3415
|
while (s5 !== peg$FAILED) {
|
|
3551
3416
|
s4.push(s5);
|
|
3552
|
-
if (input.substr(peg$currPos, 4) === peg$
|
|
3553
|
-
s5 = peg$
|
|
3417
|
+
if (input.substr(peg$currPos, 4) === peg$c13) {
|
|
3418
|
+
s5 = peg$c13;
|
|
3554
3419
|
peg$currPos += 4;
|
|
3555
3420
|
} else {
|
|
3556
3421
|
s5 = peg$FAILED;
|
|
3557
3422
|
if (peg$silentFails === 0) {
|
|
3558
|
-
peg$fail(peg$
|
|
3423
|
+
peg$fail(peg$e32);
|
|
3559
3424
|
}
|
|
3560
3425
|
}
|
|
3561
3426
|
if (s5 === peg$FAILED) {
|
|
3562
3427
|
s5 = peg$currPos;
|
|
3563
3428
|
s6 = peg$currPos;
|
|
3564
3429
|
peg$silentFails++;
|
|
3565
|
-
if (input.substr(peg$currPos, 3) === peg$
|
|
3566
|
-
s7 = peg$
|
|
3430
|
+
if (input.substr(peg$currPos, 3) === peg$c12) {
|
|
3431
|
+
s7 = peg$c12;
|
|
3567
3432
|
peg$currPos += 3;
|
|
3568
3433
|
} else {
|
|
3569
3434
|
s7 = peg$FAILED;
|
|
3570
3435
|
if (peg$silentFails === 0) {
|
|
3571
|
-
peg$fail(peg$
|
|
3436
|
+
peg$fail(peg$e31);
|
|
3572
3437
|
}
|
|
3573
3438
|
}
|
|
3574
3439
|
peg$silentFails--;
|
|
@@ -3623,26 +3488,26 @@ function peg$parse(input, options) {
|
|
|
3623
3488
|
}
|
|
3624
3489
|
if (s2 !== peg$FAILED) {
|
|
3625
3490
|
s3 = [];
|
|
3626
|
-
if (input.substr(peg$currPos, 4) === peg$
|
|
3627
|
-
s4 = peg$
|
|
3491
|
+
if (input.substr(peg$currPos, 4) === peg$c13) {
|
|
3492
|
+
s4 = peg$c13;
|
|
3628
3493
|
peg$currPos += 4;
|
|
3629
3494
|
} else {
|
|
3630
3495
|
s4 = peg$FAILED;
|
|
3631
3496
|
if (peg$silentFails === 0) {
|
|
3632
|
-
peg$fail(peg$
|
|
3497
|
+
peg$fail(peg$e32);
|
|
3633
3498
|
}
|
|
3634
3499
|
}
|
|
3635
3500
|
if (s4 === peg$FAILED) {
|
|
3636
3501
|
s4 = peg$currPos;
|
|
3637
3502
|
s5 = peg$currPos;
|
|
3638
3503
|
peg$silentFails++;
|
|
3639
|
-
if (input.substr(peg$currPos, 3) === peg$
|
|
3640
|
-
s6 = peg$
|
|
3504
|
+
if (input.substr(peg$currPos, 3) === peg$c12) {
|
|
3505
|
+
s6 = peg$c12;
|
|
3641
3506
|
peg$currPos += 3;
|
|
3642
3507
|
} else {
|
|
3643
3508
|
s6 = peg$FAILED;
|
|
3644
3509
|
if (peg$silentFails === 0) {
|
|
3645
|
-
peg$fail(peg$
|
|
3510
|
+
peg$fail(peg$e31);
|
|
3646
3511
|
}
|
|
3647
3512
|
}
|
|
3648
3513
|
peg$silentFails--;
|
|
@@ -3676,26 +3541,26 @@ function peg$parse(input, options) {
|
|
|
3676
3541
|
}
|
|
3677
3542
|
while (s4 !== peg$FAILED) {
|
|
3678
3543
|
s3.push(s4);
|
|
3679
|
-
if (input.substr(peg$currPos, 4) === peg$
|
|
3680
|
-
s4 = peg$
|
|
3544
|
+
if (input.substr(peg$currPos, 4) === peg$c13) {
|
|
3545
|
+
s4 = peg$c13;
|
|
3681
3546
|
peg$currPos += 4;
|
|
3682
3547
|
} else {
|
|
3683
3548
|
s4 = peg$FAILED;
|
|
3684
3549
|
if (peg$silentFails === 0) {
|
|
3685
|
-
peg$fail(peg$
|
|
3550
|
+
peg$fail(peg$e32);
|
|
3686
3551
|
}
|
|
3687
3552
|
}
|
|
3688
3553
|
if (s4 === peg$FAILED) {
|
|
3689
3554
|
s4 = peg$currPos;
|
|
3690
3555
|
s5 = peg$currPos;
|
|
3691
3556
|
peg$silentFails++;
|
|
3692
|
-
if (input.substr(peg$currPos, 3) === peg$
|
|
3693
|
-
s6 = peg$
|
|
3557
|
+
if (input.substr(peg$currPos, 3) === peg$c12) {
|
|
3558
|
+
s6 = peg$c12;
|
|
3694
3559
|
peg$currPos += 3;
|
|
3695
3560
|
} else {
|
|
3696
3561
|
s6 = peg$FAILED;
|
|
3697
3562
|
if (peg$silentFails === 0) {
|
|
3698
|
-
peg$fail(peg$
|
|
3563
|
+
peg$fail(peg$e31);
|
|
3699
3564
|
}
|
|
3700
3565
|
}
|
|
3701
3566
|
peg$silentFails--;
|
|
@@ -3728,18 +3593,18 @@ function peg$parse(input, options) {
|
|
|
3728
3593
|
}
|
|
3729
3594
|
}
|
|
3730
3595
|
}
|
|
3731
|
-
if (input.substr(peg$currPos, 3) === peg$
|
|
3732
|
-
s4 = peg$
|
|
3596
|
+
if (input.substr(peg$currPos, 3) === peg$c12) {
|
|
3597
|
+
s4 = peg$c12;
|
|
3733
3598
|
peg$currPos += 3;
|
|
3734
3599
|
} else {
|
|
3735
3600
|
s4 = peg$FAILED;
|
|
3736
3601
|
if (peg$silentFails === 0) {
|
|
3737
|
-
peg$fail(peg$
|
|
3602
|
+
peg$fail(peg$e31);
|
|
3738
3603
|
}
|
|
3739
3604
|
}
|
|
3740
3605
|
if (s4 !== peg$FAILED) {
|
|
3741
3606
|
peg$savedPos = s0;
|
|
3742
|
-
s0 = peg$
|
|
3607
|
+
s0 = peg$f24(s1);
|
|
3743
3608
|
} else {
|
|
3744
3609
|
peg$currPos = s0;
|
|
3745
3610
|
s0 = peg$FAILED;
|
|
@@ -3754,43 +3619,43 @@ function peg$parse(input, options) {
|
|
|
3754
3619
|
}
|
|
3755
3620
|
return s0;
|
|
3756
3621
|
}
|
|
3757
|
-
|
|
3622
|
+
chunkKJP2NVDR_js.__name(peg$parsetripleDQuotedMultiLineString, "peg$parsetripleDQuotedMultiLineString");
|
|
3758
3623
|
function peg$parsetripleBQuotedMultiLineString() {
|
|
3759
3624
|
let s0, s1, s2, s3, s4, s5, s6, s7;
|
|
3760
3625
|
s0 = peg$currPos;
|
|
3761
|
-
if (input.substr(peg$currPos, 3) === peg$
|
|
3762
|
-
s1 = peg$
|
|
3626
|
+
if (input.substr(peg$currPos, 3) === peg$c14) {
|
|
3627
|
+
s1 = peg$c14;
|
|
3763
3628
|
peg$currPos += 3;
|
|
3764
3629
|
} else {
|
|
3765
3630
|
s1 = peg$FAILED;
|
|
3766
3631
|
if (peg$silentFails === 0) {
|
|
3767
|
-
peg$fail(peg$
|
|
3632
|
+
peg$fail(peg$e33);
|
|
3768
3633
|
}
|
|
3769
3634
|
}
|
|
3770
3635
|
if (s1 !== peg$FAILED) {
|
|
3771
3636
|
s2 = [];
|
|
3772
3637
|
s3 = peg$currPos;
|
|
3773
3638
|
s4 = [];
|
|
3774
|
-
if (input.substr(peg$currPos, 4) === peg$
|
|
3775
|
-
s5 = peg$
|
|
3639
|
+
if (input.substr(peg$currPos, 4) === peg$c15) {
|
|
3640
|
+
s5 = peg$c15;
|
|
3776
3641
|
peg$currPos += 4;
|
|
3777
3642
|
} else {
|
|
3778
3643
|
s5 = peg$FAILED;
|
|
3779
3644
|
if (peg$silentFails === 0) {
|
|
3780
|
-
peg$fail(peg$
|
|
3645
|
+
peg$fail(peg$e34);
|
|
3781
3646
|
}
|
|
3782
3647
|
}
|
|
3783
3648
|
if (s5 === peg$FAILED) {
|
|
3784
3649
|
s5 = peg$currPos;
|
|
3785
3650
|
s6 = peg$currPos;
|
|
3786
3651
|
peg$silentFails++;
|
|
3787
|
-
if (input.substr(peg$currPos, 3) === peg$
|
|
3788
|
-
s7 = peg$
|
|
3652
|
+
if (input.substr(peg$currPos, 3) === peg$c14) {
|
|
3653
|
+
s7 = peg$c14;
|
|
3789
3654
|
peg$currPos += 3;
|
|
3790
3655
|
} else {
|
|
3791
3656
|
s7 = peg$FAILED;
|
|
3792
3657
|
if (peg$silentFails === 0) {
|
|
3793
|
-
peg$fail(peg$
|
|
3658
|
+
peg$fail(peg$e33);
|
|
3794
3659
|
}
|
|
3795
3660
|
}
|
|
3796
3661
|
peg$silentFails--;
|
|
@@ -3824,26 +3689,26 @@ function peg$parse(input, options) {
|
|
|
3824
3689
|
}
|
|
3825
3690
|
while (s5 !== peg$FAILED) {
|
|
3826
3691
|
s4.push(s5);
|
|
3827
|
-
if (input.substr(peg$currPos, 4) === peg$
|
|
3828
|
-
s5 = peg$
|
|
3692
|
+
if (input.substr(peg$currPos, 4) === peg$c15) {
|
|
3693
|
+
s5 = peg$c15;
|
|
3829
3694
|
peg$currPos += 4;
|
|
3830
3695
|
} else {
|
|
3831
3696
|
s5 = peg$FAILED;
|
|
3832
3697
|
if (peg$silentFails === 0) {
|
|
3833
|
-
peg$fail(peg$
|
|
3698
|
+
peg$fail(peg$e34);
|
|
3834
3699
|
}
|
|
3835
3700
|
}
|
|
3836
3701
|
if (s5 === peg$FAILED) {
|
|
3837
3702
|
s5 = peg$currPos;
|
|
3838
3703
|
s6 = peg$currPos;
|
|
3839
3704
|
peg$silentFails++;
|
|
3840
|
-
if (input.substr(peg$currPos, 3) === peg$
|
|
3841
|
-
s7 = peg$
|
|
3705
|
+
if (input.substr(peg$currPos, 3) === peg$c14) {
|
|
3706
|
+
s7 = peg$c14;
|
|
3842
3707
|
peg$currPos += 3;
|
|
3843
3708
|
} else {
|
|
3844
3709
|
s7 = peg$FAILED;
|
|
3845
3710
|
if (peg$silentFails === 0) {
|
|
3846
|
-
peg$fail(peg$
|
|
3711
|
+
peg$fail(peg$e33);
|
|
3847
3712
|
}
|
|
3848
3713
|
}
|
|
3849
3714
|
peg$silentFails--;
|
|
@@ -3897,26 +3762,26 @@ function peg$parse(input, options) {
|
|
|
3897
3762
|
s2.push(s3);
|
|
3898
3763
|
s3 = peg$currPos;
|
|
3899
3764
|
s4 = [];
|
|
3900
|
-
if (input.substr(peg$currPos, 4) === peg$
|
|
3901
|
-
s5 = peg$
|
|
3765
|
+
if (input.substr(peg$currPos, 4) === peg$c15) {
|
|
3766
|
+
s5 = peg$c15;
|
|
3902
3767
|
peg$currPos += 4;
|
|
3903
3768
|
} else {
|
|
3904
3769
|
s5 = peg$FAILED;
|
|
3905
3770
|
if (peg$silentFails === 0) {
|
|
3906
|
-
peg$fail(peg$
|
|
3771
|
+
peg$fail(peg$e34);
|
|
3907
3772
|
}
|
|
3908
3773
|
}
|
|
3909
3774
|
if (s5 === peg$FAILED) {
|
|
3910
3775
|
s5 = peg$currPos;
|
|
3911
3776
|
s6 = peg$currPos;
|
|
3912
3777
|
peg$silentFails++;
|
|
3913
|
-
if (input.substr(peg$currPos, 3) === peg$
|
|
3914
|
-
s7 = peg$
|
|
3778
|
+
if (input.substr(peg$currPos, 3) === peg$c14) {
|
|
3779
|
+
s7 = peg$c14;
|
|
3915
3780
|
peg$currPos += 3;
|
|
3916
3781
|
} else {
|
|
3917
3782
|
s7 = peg$FAILED;
|
|
3918
3783
|
if (peg$silentFails === 0) {
|
|
3919
|
-
peg$fail(peg$
|
|
3784
|
+
peg$fail(peg$e33);
|
|
3920
3785
|
}
|
|
3921
3786
|
}
|
|
3922
3787
|
peg$silentFails--;
|
|
@@ -3950,26 +3815,26 @@ function peg$parse(input, options) {
|
|
|
3950
3815
|
}
|
|
3951
3816
|
while (s5 !== peg$FAILED) {
|
|
3952
3817
|
s4.push(s5);
|
|
3953
|
-
if (input.substr(peg$currPos, 4) === peg$
|
|
3954
|
-
s5 = peg$
|
|
3818
|
+
if (input.substr(peg$currPos, 4) === peg$c15) {
|
|
3819
|
+
s5 = peg$c15;
|
|
3955
3820
|
peg$currPos += 4;
|
|
3956
3821
|
} else {
|
|
3957
3822
|
s5 = peg$FAILED;
|
|
3958
3823
|
if (peg$silentFails === 0) {
|
|
3959
|
-
peg$fail(peg$
|
|
3824
|
+
peg$fail(peg$e34);
|
|
3960
3825
|
}
|
|
3961
3826
|
}
|
|
3962
3827
|
if (s5 === peg$FAILED) {
|
|
3963
3828
|
s5 = peg$currPos;
|
|
3964
3829
|
s6 = peg$currPos;
|
|
3965
3830
|
peg$silentFails++;
|
|
3966
|
-
if (input.substr(peg$currPos, 3) === peg$
|
|
3967
|
-
s7 = peg$
|
|
3831
|
+
if (input.substr(peg$currPos, 3) === peg$c14) {
|
|
3832
|
+
s7 = peg$c14;
|
|
3968
3833
|
peg$currPos += 3;
|
|
3969
3834
|
} else {
|
|
3970
3835
|
s7 = peg$FAILED;
|
|
3971
3836
|
if (peg$silentFails === 0) {
|
|
3972
|
-
peg$fail(peg$
|
|
3837
|
+
peg$fail(peg$e33);
|
|
3973
3838
|
}
|
|
3974
3839
|
}
|
|
3975
3840
|
peg$silentFails--;
|
|
@@ -4024,26 +3889,26 @@ function peg$parse(input, options) {
|
|
|
4024
3889
|
}
|
|
4025
3890
|
if (s2 !== peg$FAILED) {
|
|
4026
3891
|
s3 = [];
|
|
4027
|
-
if (input.substr(peg$currPos, 4) === peg$
|
|
4028
|
-
s4 = peg$
|
|
3892
|
+
if (input.substr(peg$currPos, 4) === peg$c15) {
|
|
3893
|
+
s4 = peg$c15;
|
|
4029
3894
|
peg$currPos += 4;
|
|
4030
3895
|
} else {
|
|
4031
3896
|
s4 = peg$FAILED;
|
|
4032
3897
|
if (peg$silentFails === 0) {
|
|
4033
|
-
peg$fail(peg$
|
|
3898
|
+
peg$fail(peg$e34);
|
|
4034
3899
|
}
|
|
4035
3900
|
}
|
|
4036
3901
|
if (s4 === peg$FAILED) {
|
|
4037
3902
|
s4 = peg$currPos;
|
|
4038
3903
|
s5 = peg$currPos;
|
|
4039
3904
|
peg$silentFails++;
|
|
4040
|
-
if (input.substr(peg$currPos, 3) === peg$
|
|
4041
|
-
s6 = peg$
|
|
3905
|
+
if (input.substr(peg$currPos, 3) === peg$c14) {
|
|
3906
|
+
s6 = peg$c14;
|
|
4042
3907
|
peg$currPos += 3;
|
|
4043
3908
|
} else {
|
|
4044
3909
|
s6 = peg$FAILED;
|
|
4045
3910
|
if (peg$silentFails === 0) {
|
|
4046
|
-
peg$fail(peg$
|
|
3911
|
+
peg$fail(peg$e33);
|
|
4047
3912
|
}
|
|
4048
3913
|
}
|
|
4049
3914
|
peg$silentFails--;
|
|
@@ -4077,26 +3942,26 @@ function peg$parse(input, options) {
|
|
|
4077
3942
|
}
|
|
4078
3943
|
while (s4 !== peg$FAILED) {
|
|
4079
3944
|
s3.push(s4);
|
|
4080
|
-
if (input.substr(peg$currPos, 4) === peg$
|
|
4081
|
-
s4 = peg$
|
|
3945
|
+
if (input.substr(peg$currPos, 4) === peg$c15) {
|
|
3946
|
+
s4 = peg$c15;
|
|
4082
3947
|
peg$currPos += 4;
|
|
4083
3948
|
} else {
|
|
4084
3949
|
s4 = peg$FAILED;
|
|
4085
3950
|
if (peg$silentFails === 0) {
|
|
4086
|
-
peg$fail(peg$
|
|
3951
|
+
peg$fail(peg$e34);
|
|
4087
3952
|
}
|
|
4088
3953
|
}
|
|
4089
3954
|
if (s4 === peg$FAILED) {
|
|
4090
3955
|
s4 = peg$currPos;
|
|
4091
3956
|
s5 = peg$currPos;
|
|
4092
3957
|
peg$silentFails++;
|
|
4093
|
-
if (input.substr(peg$currPos, 3) === peg$
|
|
4094
|
-
s6 = peg$
|
|
3958
|
+
if (input.substr(peg$currPos, 3) === peg$c14) {
|
|
3959
|
+
s6 = peg$c14;
|
|
4095
3960
|
peg$currPos += 3;
|
|
4096
3961
|
} else {
|
|
4097
3962
|
s6 = peg$FAILED;
|
|
4098
3963
|
if (peg$silentFails === 0) {
|
|
4099
|
-
peg$fail(peg$
|
|
3964
|
+
peg$fail(peg$e33);
|
|
4100
3965
|
}
|
|
4101
3966
|
}
|
|
4102
3967
|
peg$silentFails--;
|
|
@@ -4129,18 +3994,18 @@ function peg$parse(input, options) {
|
|
|
4129
3994
|
}
|
|
4130
3995
|
}
|
|
4131
3996
|
}
|
|
4132
|
-
if (input.substr(peg$currPos, 3) === peg$
|
|
4133
|
-
s4 = peg$
|
|
3997
|
+
if (input.substr(peg$currPos, 3) === peg$c14) {
|
|
3998
|
+
s4 = peg$c14;
|
|
4134
3999
|
peg$currPos += 3;
|
|
4135
4000
|
} else {
|
|
4136
4001
|
s4 = peg$FAILED;
|
|
4137
4002
|
if (peg$silentFails === 0) {
|
|
4138
|
-
peg$fail(peg$
|
|
4003
|
+
peg$fail(peg$e33);
|
|
4139
4004
|
}
|
|
4140
4005
|
}
|
|
4141
4006
|
if (s4 !== peg$FAILED) {
|
|
4142
4007
|
peg$savedPos = s0;
|
|
4143
|
-
s0 = peg$
|
|
4008
|
+
s0 = peg$f25(s1);
|
|
4144
4009
|
} else {
|
|
4145
4010
|
peg$currPos = s0;
|
|
4146
4011
|
s0 = peg$FAILED;
|
|
@@ -4155,7 +4020,7 @@ function peg$parse(input, options) {
|
|
|
4155
4020
|
}
|
|
4156
4021
|
return s0;
|
|
4157
4022
|
}
|
|
4158
|
-
|
|
4023
|
+
chunkKJP2NVDR_js.__name(peg$parsetripleBQuotedMultiLineString, "peg$parsetripleBQuotedMultiLineString");
|
|
4159
4024
|
function peg$parse_n() {
|
|
4160
4025
|
let s0, s1;
|
|
4161
4026
|
if (input.charCodeAt(peg$currPos) === 10) {
|
|
@@ -4176,7 +4041,7 @@ function peg$parse(input, options) {
|
|
|
4176
4041
|
} else {
|
|
4177
4042
|
s1 = peg$FAILED;
|
|
4178
4043
|
if (peg$silentFails === 0) {
|
|
4179
|
-
peg$fail(peg$
|
|
4044
|
+
peg$fail(peg$e35);
|
|
4180
4045
|
}
|
|
4181
4046
|
}
|
|
4182
4047
|
peg$silentFails--;
|
|
@@ -4189,7 +4054,7 @@ function peg$parse(input, options) {
|
|
|
4189
4054
|
}
|
|
4190
4055
|
return s0;
|
|
4191
4056
|
}
|
|
4192
|
-
|
|
4057
|
+
chunkKJP2NVDR_js.__name(peg$parse_n, "peg$parse_n");
|
|
4193
4058
|
function peg$parse_() {
|
|
4194
4059
|
let s0, s1;
|
|
4195
4060
|
s0 = [];
|
|
@@ -4216,7 +4081,7 @@ function peg$parse(input, options) {
|
|
|
4216
4081
|
}
|
|
4217
4082
|
return s0;
|
|
4218
4083
|
}
|
|
4219
|
-
|
|
4084
|
+
chunkKJP2NVDR_js.__name(peg$parse_, "peg$parse_");
|
|
4220
4085
|
function peg$parse__() {
|
|
4221
4086
|
let s0, s1;
|
|
4222
4087
|
s0 = [];
|
|
@@ -4247,7 +4112,7 @@ function peg$parse(input, options) {
|
|
|
4247
4112
|
}
|
|
4248
4113
|
return s0;
|
|
4249
4114
|
}
|
|
4250
|
-
|
|
4115
|
+
chunkKJP2NVDR_js.__name(peg$parse__, "peg$parse__");
|
|
4251
4116
|
peg$result = peg$startRuleFunction();
|
|
4252
4117
|
const peg$success = peg$result !== peg$FAILED && peg$currPos === input.length;
|
|
4253
4118
|
function peg$throw() {
|
|
@@ -4260,7 +4125,7 @@ function peg$parse(input, options) {
|
|
|
4260
4125
|
peg$maxFailPos < input.length ? peg$computeLocation(peg$maxFailPos, peg$maxFailPos + 1) : peg$computeLocation(peg$maxFailPos, peg$maxFailPos)
|
|
4261
4126
|
);
|
|
4262
4127
|
}
|
|
4263
|
-
|
|
4128
|
+
chunkKJP2NVDR_js.__name(peg$throw, "peg$throw");
|
|
4264
4129
|
if (options.peg$library) {
|
|
4265
4130
|
return (
|
|
4266
4131
|
/** @type {any} */
|
|
@@ -4281,69 +4146,65 @@ function peg$parse(input, options) {
|
|
|
4281
4146
|
peg$throw();
|
|
4282
4147
|
}
|
|
4283
4148
|
}
|
|
4284
|
-
|
|
4149
|
+
chunkKJP2NVDR_js.__name(peg$parse, "peg$parse");
|
|
4285
4150
|
|
|
4286
4151
|
// src/index.ts
|
|
4287
4152
|
function parseEnvSpecDotEnvFile(source) {
|
|
4288
4153
|
return peg$parse(source.replaceAll("\r\n", "\n"));
|
|
4289
4154
|
}
|
|
4290
|
-
|
|
4155
|
+
chunkKJP2NVDR_js.__name(parseEnvSpecDotEnvFile, "parseEnvSpecDotEnvFile");
|
|
4291
4156
|
|
|
4292
4157
|
Object.defineProperty(exports, "ParsedEnvSpecBlankLine", {
|
|
4293
4158
|
enumerable: true,
|
|
4294
|
-
get: function () { return
|
|
4159
|
+
get: function () { return chunkKJP2NVDR_js.ParsedEnvSpecBlankLine; }
|
|
4295
4160
|
});
|
|
4296
4161
|
Object.defineProperty(exports, "ParsedEnvSpecComment", {
|
|
4297
4162
|
enumerable: true,
|
|
4298
|
-
get: function () { return
|
|
4163
|
+
get: function () { return chunkKJP2NVDR_js.ParsedEnvSpecComment; }
|
|
4299
4164
|
});
|
|
4300
4165
|
Object.defineProperty(exports, "ParsedEnvSpecCommentBlock", {
|
|
4301
4166
|
enumerable: true,
|
|
4302
|
-
get: function () { return
|
|
4167
|
+
get: function () { return chunkKJP2NVDR_js.ParsedEnvSpecCommentBlock; }
|
|
4303
4168
|
});
|
|
4304
4169
|
Object.defineProperty(exports, "ParsedEnvSpecConfigItem", {
|
|
4305
4170
|
enumerable: true,
|
|
4306
|
-
get: function () { return
|
|
4171
|
+
get: function () { return chunkKJP2NVDR_js.ParsedEnvSpecConfigItem; }
|
|
4307
4172
|
});
|
|
4308
4173
|
Object.defineProperty(exports, "ParsedEnvSpecDecorator", {
|
|
4309
4174
|
enumerable: true,
|
|
4310
|
-
get: function () { return
|
|
4175
|
+
get: function () { return chunkKJP2NVDR_js.ParsedEnvSpecDecorator; }
|
|
4311
4176
|
});
|
|
4312
4177
|
Object.defineProperty(exports, "ParsedEnvSpecDecoratorComment", {
|
|
4313
4178
|
enumerable: true,
|
|
4314
|
-
get: function () { return
|
|
4179
|
+
get: function () { return chunkKJP2NVDR_js.ParsedEnvSpecDecoratorComment; }
|
|
4315
4180
|
});
|
|
4316
4181
|
Object.defineProperty(exports, "ParsedEnvSpecDivider", {
|
|
4317
4182
|
enumerable: true,
|
|
4318
|
-
get: function () { return
|
|
4183
|
+
get: function () { return chunkKJP2NVDR_js.ParsedEnvSpecDivider; }
|
|
4319
4184
|
});
|
|
4320
4185
|
Object.defineProperty(exports, "ParsedEnvSpecFile", {
|
|
4321
4186
|
enumerable: true,
|
|
4322
|
-
get: function () { return
|
|
4187
|
+
get: function () { return chunkKJP2NVDR_js.ParsedEnvSpecFile; }
|
|
4323
4188
|
});
|
|
4324
4189
|
Object.defineProperty(exports, "ParsedEnvSpecFunctionArgs", {
|
|
4325
4190
|
enumerable: true,
|
|
4326
|
-
get: function () { return
|
|
4191
|
+
get: function () { return chunkKJP2NVDR_js.ParsedEnvSpecFunctionArgs; }
|
|
4327
4192
|
});
|
|
4328
4193
|
Object.defineProperty(exports, "ParsedEnvSpecFunctionCall", {
|
|
4329
4194
|
enumerable: true,
|
|
4330
|
-
get: function () { return
|
|
4195
|
+
get: function () { return chunkKJP2NVDR_js.ParsedEnvSpecFunctionCall; }
|
|
4331
4196
|
});
|
|
4332
4197
|
Object.defineProperty(exports, "ParsedEnvSpecKeyValuePair", {
|
|
4333
4198
|
enumerable: true,
|
|
4334
|
-
get: function () { return
|
|
4335
|
-
});
|
|
4336
|
-
Object.defineProperty(exports, "ParsedEnvSpecRegexLiteral", {
|
|
4337
|
-
enumerable: true,
|
|
4338
|
-
get: function () { return chunkCHM43IJO_js.ParsedEnvSpecRegexLiteral; }
|
|
4199
|
+
get: function () { return chunkKJP2NVDR_js.ParsedEnvSpecKeyValuePair; }
|
|
4339
4200
|
});
|
|
4340
4201
|
Object.defineProperty(exports, "ParsedEnvSpecStaticValue", {
|
|
4341
4202
|
enumerable: true,
|
|
4342
|
-
get: function () { return
|
|
4203
|
+
get: function () { return chunkKJP2NVDR_js.ParsedEnvSpecStaticValue; }
|
|
4343
4204
|
});
|
|
4344
4205
|
Object.defineProperty(exports, "expand", {
|
|
4345
4206
|
enumerable: true,
|
|
4346
|
-
get: function () { return
|
|
4207
|
+
get: function () { return chunkKJP2NVDR_js.expand; }
|
|
4347
4208
|
});
|
|
4348
4209
|
exports.envSpecUpdater = envSpecUpdater;
|
|
4349
4210
|
exports.parseEnvSpecDotEnvFile = parseEnvSpecDotEnvFile;
|