@env-spec/parser 0.0.2 → 0.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{chunk-FWOHTEQS.mjs → chunk-RQYYQO3M.mjs} +2 -2
- package/dist/chunk-RQYYQO3M.mjs.map +1 -0
- package/dist/{chunk-JU4IPIOA.js → chunk-YM4E5JVI.js} +2 -2
- package/dist/chunk-YM4E5JVI.js.map +1 -0
- package/dist/{classes-BGrn6GBW.d.mts → classes-DuGa2utt.d.mts} +1 -1
- package/dist/{classes-BGrn6GBW.d.ts → classes-DuGa2utt.d.ts} +1 -1
- package/dist/index.d.mts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +421 -404
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +320 -303
- 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 +10 -10
- package/dist/simple-resolver.js.map +1 -1
- package/dist/simple-resolver.mjs +1 -1
- package/dist/simple-resolver.mjs.map +1 -1
- package/package.json +2 -2
- package/dist/chunk-FWOHTEQS.mjs.map +0 -1
- package/dist/chunk-JU4IPIOA.js.map +0 -1
package/dist/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkYM4E5JVI_js = require('./chunk-YM4E5JVI.js');
|
|
4
4
|
|
|
5
5
|
// src/updater.ts
|
|
6
6
|
function ensureHeader(file, newHeaderContents) {
|
|
@@ -8,17 +8,17 @@ function ensureHeader(file, newHeaderContents) {
|
|
|
8
8
|
newHeaderContents ||= "This env file uses @env-spec - see https://varlock.dev/env-spec for more info\n";
|
|
9
9
|
file.contents.unshift(
|
|
10
10
|
// header is a comment block at the beginning of the file and must end with a divider
|
|
11
|
-
new
|
|
11
|
+
new chunkYM4E5JVI_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 chunkYM4E5JVI_js.ParsedEnvSpecComment({ contents: line, leadingSpace: " " })),
|
|
14
|
+
divider: new chunkYM4E5JVI_js.ParsedEnvSpecDivider({ contents: "----------", leadingSpace: " " })
|
|
15
15
|
}),
|
|
16
|
-
new
|
|
16
|
+
new chunkYM4E5JVI_js.ParsedEnvSpecBlankLine({})
|
|
17
17
|
// add extra blank line after header
|
|
18
18
|
);
|
|
19
19
|
}
|
|
20
20
|
}
|
|
21
|
-
|
|
21
|
+
chunkYM4E5JVI_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
|
+
chunkYM4E5JVI_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 chunkYM4E5JVI_js.ParsedEnvSpecDecoratorComment && lastComment.toString().length < 40) {
|
|
46
46
|
decCommentLine = lastComment;
|
|
47
47
|
} else {
|
|
48
|
-
decCommentLine = new
|
|
48
|
+
decCommentLine = new chunkYM4E5JVI_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
|
+
chunkYM4E5JVI_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 chunkYM4E5JVI_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 chunkYM4E5JVI_js.ParsedEnvSpecDecoratorComment && lastComment.toString().length < 40) {
|
|
78
78
|
decCommentLine = lastComment;
|
|
79
79
|
} else {
|
|
80
|
-
decCommentLine = new
|
|
80
|
+
decCommentLine = new chunkYM4E5JVI_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
|
+
chunkYM4E5JVI_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
|
+
chunkYM4E5JVI_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
|
+
chunkYM4E5JVI_js.__name(deleteItem, "deleteItem");
|
|
118
118
|
var envSpecUpdater = {
|
|
119
119
|
ensureHeader,
|
|
120
120
|
setRootDecorator,
|
|
@@ -124,326 +124,328 @@ var envSpecUpdater = {
|
|
|
124
124
|
};
|
|
125
125
|
|
|
126
126
|
// src/grammar.js
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
this
|
|
130
|
-
}
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
127
|
+
var peg$SyntaxError = class extends SyntaxError {
|
|
128
|
+
static {
|
|
129
|
+
chunkYM4E5JVI_js.__name(this, "peg$SyntaxError");
|
|
130
|
+
}
|
|
131
|
+
constructor(message, expected, found, location) {
|
|
132
|
+
super(message);
|
|
133
|
+
this.expected = expected;
|
|
134
|
+
this.found = found;
|
|
135
|
+
this.location = location;
|
|
136
|
+
this.name = "SyntaxError";
|
|
137
|
+
}
|
|
138
|
+
format(sources) {
|
|
139
|
+
let str = "Error: " + this.message;
|
|
140
|
+
if (this.location) {
|
|
141
|
+
let src = null;
|
|
142
|
+
const st = sources.find((s2) => s2.source === this.location.source);
|
|
143
|
+
if (st) {
|
|
144
|
+
src = st.text.split(/\r\n|\n|\r/g);
|
|
145
|
+
}
|
|
146
|
+
const s = this.location.start;
|
|
147
|
+
const offset_s = this.location.source && typeof this.location.source.offset === "function" ? this.location.source.offset(s) : s;
|
|
148
|
+
const loc = this.location.source + ":" + offset_s.line + ":" + offset_s.column;
|
|
149
|
+
if (src) {
|
|
150
|
+
const e = this.location.end;
|
|
151
|
+
const filler = "".padEnd(offset_s.line.toString().length, " ");
|
|
152
|
+
const line = src[s.line - 1];
|
|
153
|
+
const last = s.line === e.line ? e.column : line.length + 1;
|
|
154
|
+
const hatLen = last - s.column || 1;
|
|
155
|
+
str += "\n --> " + loc + "\n" + filler + " |\n" + offset_s.line + " | " + line + "\n" + filler + " | " + "".padEnd(s.column - 1, " ") + "".padEnd(hatLen, "^");
|
|
156
|
+
} else {
|
|
157
|
+
str += "\n at " + loc;
|
|
158
|
+
}
|
|
159
|
+
}
|
|
152
160
|
return str;
|
|
153
161
|
}
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
}
|
|
158
|
-
chunkJU4IPIOA_js.__name(peg$padEnd, "peg$padEnd");
|
|
159
|
-
peg$SyntaxError.prototype.format = function(sources) {
|
|
160
|
-
var str = "Error: " + this.message;
|
|
161
|
-
if (this.location) {
|
|
162
|
-
var src = null;
|
|
163
|
-
var k;
|
|
164
|
-
for (k = 0; k < sources.length; k++) {
|
|
165
|
-
if (sources[k].source === this.location.source) {
|
|
166
|
-
src = sources[k].text.split(/\r\n|\n|\r/g);
|
|
167
|
-
break;
|
|
168
|
-
}
|
|
169
|
-
}
|
|
170
|
-
var s = this.location.start;
|
|
171
|
-
var offset_s = this.location.source && typeof this.location.source.offset === "function" ? this.location.source.offset(s) : s;
|
|
172
|
-
var loc = this.location.source + ":" + offset_s.line + ":" + offset_s.column;
|
|
173
|
-
if (src) {
|
|
174
|
-
var e = this.location.end;
|
|
175
|
-
var filler = peg$padEnd("", offset_s.line.toString().length, " ");
|
|
176
|
-
var line = src[s.line - 1];
|
|
177
|
-
var last = s.line === e.line ? e.column : line.length + 1;
|
|
178
|
-
var hatLen = last - s.column || 1;
|
|
179
|
-
str += "\n --> " + loc + "\n" + filler + " |\n" + offset_s.line + " | " + line + "\n" + filler + " | " + peg$padEnd("", s.column - 1, " ") + peg$padEnd("", hatLen, "^");
|
|
180
|
-
} else {
|
|
181
|
-
str += "\n at " + loc;
|
|
162
|
+
static buildMessage(expected, found) {
|
|
163
|
+
function hex(ch) {
|
|
164
|
+
return ch.codePointAt(0).toString(16).toUpperCase();
|
|
182
165
|
}
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
return
|
|
190
|
-
}
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
return
|
|
222
|
-
}
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
descriptions.sort();
|
|
235
|
-
if (descriptions.length > 0) {
|
|
236
|
-
for (i = 1, j = 1; i < descriptions.length; i++) {
|
|
237
|
-
if (descriptions[i - 1] !== descriptions[i]) {
|
|
238
|
-
descriptions[j] = descriptions[i];
|
|
239
|
-
j++;
|
|
166
|
+
chunkYM4E5JVI_js.__name(hex, "hex");
|
|
167
|
+
const nonPrintable = Object.prototype.hasOwnProperty.call(RegExp.prototype, "unicode") ? new RegExp("[\\p{C}\\p{Mn}\\p{Mc}]", "gu") : null;
|
|
168
|
+
function unicodeEscape(s) {
|
|
169
|
+
if (nonPrintable) {
|
|
170
|
+
return s.replace(nonPrintable, (ch) => "\\u{" + hex(ch) + "}");
|
|
171
|
+
}
|
|
172
|
+
return s;
|
|
173
|
+
}
|
|
174
|
+
chunkYM4E5JVI_js.__name(unicodeEscape, "unicodeEscape");
|
|
175
|
+
function literalEscape(s) {
|
|
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
|
+
}
|
|
178
|
+
chunkYM4E5JVI_js.__name(literalEscape, "literalEscape");
|
|
179
|
+
function classEscape(s) {
|
|
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
|
+
}
|
|
182
|
+
chunkYM4E5JVI_js.__name(classEscape, "classEscape");
|
|
183
|
+
const DESCRIBE_EXPECTATION_FNS = {
|
|
184
|
+
literal(expectation) {
|
|
185
|
+
return '"' + literalEscape(expectation.text) + '"';
|
|
186
|
+
},
|
|
187
|
+
class(expectation) {
|
|
188
|
+
const escapedParts = expectation.parts.map(
|
|
189
|
+
(part) => Array.isArray(part) ? classEscape(part[0]) + "-" + classEscape(part[1]) : classEscape(part)
|
|
190
|
+
);
|
|
191
|
+
return "[" + (expectation.inverted ? "^" : "") + escapedParts.join("") + "]" + (expectation.unicode ? "u" : "");
|
|
192
|
+
},
|
|
193
|
+
any() {
|
|
194
|
+
return "any character";
|
|
195
|
+
},
|
|
196
|
+
end() {
|
|
197
|
+
return "end of input";
|
|
198
|
+
},
|
|
199
|
+
other(expectation) {
|
|
200
|
+
return expectation.description;
|
|
201
|
+
}
|
|
202
|
+
};
|
|
203
|
+
function describeExpectation(expectation) {
|
|
204
|
+
return DESCRIBE_EXPECTATION_FNS[expectation.type](expectation);
|
|
205
|
+
}
|
|
206
|
+
chunkYM4E5JVI_js.__name(describeExpectation, "describeExpectation");
|
|
207
|
+
function describeExpected(expected2) {
|
|
208
|
+
const descriptions = expected2.map(describeExpectation);
|
|
209
|
+
descriptions.sort();
|
|
210
|
+
if (descriptions.length > 0) {
|
|
211
|
+
let j = 1;
|
|
212
|
+
for (let i = 1; i < descriptions.length; i++) {
|
|
213
|
+
if (descriptions[i - 1] !== descriptions[i]) {
|
|
214
|
+
descriptions[j] = descriptions[i];
|
|
215
|
+
j++;
|
|
216
|
+
}
|
|
240
217
|
}
|
|
218
|
+
descriptions.length = j;
|
|
219
|
+
}
|
|
220
|
+
switch (descriptions.length) {
|
|
221
|
+
case 1:
|
|
222
|
+
return descriptions[0];
|
|
223
|
+
case 2:
|
|
224
|
+
return descriptions[0] + " or " + descriptions[1];
|
|
225
|
+
default:
|
|
226
|
+
return descriptions.slice(0, -1).join(", ") + ", or " + descriptions[descriptions.length - 1];
|
|
241
227
|
}
|
|
242
|
-
descriptions.length = j;
|
|
243
228
|
}
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
case 2:
|
|
248
|
-
return descriptions[0] + " or " + descriptions[1];
|
|
249
|
-
default:
|
|
250
|
-
return descriptions.slice(0, -1).join(", ") + ", or " + descriptions[descriptions.length - 1];
|
|
229
|
+
chunkYM4E5JVI_js.__name(describeExpected, "describeExpected");
|
|
230
|
+
function describeFound(found2) {
|
|
231
|
+
return found2 ? '"' + literalEscape(found2) + '"' : "end of input";
|
|
251
232
|
}
|
|
233
|
+
chunkYM4E5JVI_js.__name(describeFound, "describeFound");
|
|
234
|
+
return "Expected " + describeExpected(expected) + " but " + describeFound(found) + " found.";
|
|
252
235
|
}
|
|
253
|
-
chunkJU4IPIOA_js.__name(describeExpected, "describeExpected");
|
|
254
|
-
function describeFound(found2) {
|
|
255
|
-
return found2 ? '"' + literalEscape(found2) + '"' : "end of input";
|
|
256
|
-
}
|
|
257
|
-
chunkJU4IPIOA_js.__name(describeFound, "describeFound");
|
|
258
|
-
return "Expected " + describeExpected(expected) + " but " + describeFound(found) + " found.";
|
|
259
236
|
};
|
|
260
237
|
function peg$parse(input, options) {
|
|
261
238
|
options = options !== void 0 ? options : {};
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
return new
|
|
239
|
+
const peg$FAILED = {};
|
|
240
|
+
const peg$source = options.grammarSource;
|
|
241
|
+
const peg$startRuleFunctions = {
|
|
242
|
+
EnvSpecFile: peg$parseEnvSpecFile
|
|
243
|
+
};
|
|
244
|
+
let peg$startRuleFunction = peg$parseEnvSpecFile;
|
|
245
|
+
const peg$c0 = "\n";
|
|
246
|
+
const peg$c1 = "export ";
|
|
247
|
+
const peg$c2 = "=";
|
|
248
|
+
const peg$c3 = "#";
|
|
249
|
+
const peg$c4 = "@";
|
|
250
|
+
const peg$c5 = ":";
|
|
251
|
+
const peg$c6 = "()";
|
|
252
|
+
const peg$c7 = "(";
|
|
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$r0 = /^[a-zA-Z_]/;
|
|
263
|
+
const peg$r1 = /^[a-zA-Z0-9_.\-]/;
|
|
264
|
+
const peg$r2 = /^[^\n]/;
|
|
265
|
+
const peg$r3 = /^[a-zA-Z]/;
|
|
266
|
+
const peg$r4 = /^[@#]/;
|
|
267
|
+
const peg$r5 = /^[a-zA-Z0-9_]/;
|
|
268
|
+
const peg$r6 = /^[^ \n,)]/;
|
|
269
|
+
const peg$r7 = /^[\-=*#]/;
|
|
270
|
+
const peg$r8 = /^['"`]/;
|
|
271
|
+
const peg$r9 = /^[^#\n]/;
|
|
272
|
+
const peg$r10 = /^[^# \n]/;
|
|
273
|
+
const peg$r11 = /^["]/;
|
|
274
|
+
const peg$r12 = /^[^"\n]/;
|
|
275
|
+
const peg$r13 = /^[']/;
|
|
276
|
+
const peg$r14 = /^[^'\n]/;
|
|
277
|
+
const peg$r15 = /^[`]/;
|
|
278
|
+
const peg$r16 = /^[^`\n]/;
|
|
279
|
+
const peg$r17 = /^[ \t]/;
|
|
280
|
+
const peg$e0 = peg$literalExpectation("\n", false);
|
|
281
|
+
const peg$e1 = peg$literalExpectation("export ", false);
|
|
282
|
+
const peg$e2 = peg$literalExpectation("=", false);
|
|
283
|
+
const peg$e3 = peg$classExpectation([["a", "z"], ["A", "Z"], "_"], false, false, false);
|
|
284
|
+
const peg$e4 = peg$classExpectation([["a", "z"], ["A", "Z"], ["0", "9"], "_", ".", "-"], false, false, false);
|
|
285
|
+
const peg$e5 = peg$literalExpectation("#", false);
|
|
286
|
+
const peg$e6 = peg$literalExpectation("@", false);
|
|
287
|
+
const peg$e7 = peg$classExpectation(["\n"], true, false, false);
|
|
288
|
+
const peg$e8 = peg$classExpectation([["a", "z"], ["A", "Z"]], false, false, false);
|
|
289
|
+
const peg$e9 = peg$literalExpectation(":", false);
|
|
290
|
+
const peg$e10 = peg$classExpectation(["@", "#"], false, false, false);
|
|
291
|
+
const peg$e11 = peg$literalExpectation("()", false);
|
|
292
|
+
const peg$e12 = peg$literalExpectation("(", false);
|
|
293
|
+
const peg$e13 = peg$literalExpectation(")", false);
|
|
294
|
+
const peg$e14 = peg$classExpectation([["a", "z"], ["A", "Z"], ["0", "9"], "_"], false, false, false);
|
|
295
|
+
const peg$e15 = peg$literalExpectation(",", false);
|
|
296
|
+
const peg$e16 = peg$classExpectation([" ", "\n", ",", ")"], true, false, false);
|
|
297
|
+
const peg$e17 = peg$classExpectation(["-", "=", "*", "#"], false, false, false);
|
|
298
|
+
const peg$e18 = peg$classExpectation(["'", '"', "`"], false, false, false);
|
|
299
|
+
const peg$e19 = peg$classExpectation(["#", "\n"], true, false, false);
|
|
300
|
+
const peg$e20 = peg$classExpectation(["#", " ", "\n"], true, false, false);
|
|
301
|
+
const peg$e21 = peg$classExpectation(['"'], false, false, false);
|
|
302
|
+
const peg$e22 = peg$literalExpectation('\\"', false);
|
|
303
|
+
const peg$e23 = peg$classExpectation(['"', "\n"], true, false, false);
|
|
304
|
+
const peg$e24 = peg$classExpectation(["'"], false, false, false);
|
|
305
|
+
const peg$e25 = peg$literalExpectation("\\'", false);
|
|
306
|
+
const peg$e26 = peg$classExpectation(["'", "\n"], true, false, false);
|
|
307
|
+
const peg$e27 = peg$classExpectation(["`"], false, false, false);
|
|
308
|
+
const peg$e28 = peg$literalExpectation("\\`", false);
|
|
309
|
+
const peg$e29 = peg$classExpectation(["`", "\n"], true, false, false);
|
|
310
|
+
const peg$e30 = peg$literalExpectation('"""', 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$anyExpectation();
|
|
315
|
+
const peg$e35 = peg$classExpectation([" ", " "], false, false, false);
|
|
316
|
+
function peg$f0() {
|
|
317
|
+
return new chunkYM4E5JVI_js.ParsedEnvSpecBlankLine({ _location: location() });
|
|
318
|
+
}
|
|
319
|
+
chunkYM4E5JVI_js.__name(peg$f0, "peg$f0");
|
|
320
|
+
function peg$f1(contents) {
|
|
321
|
+
return new chunkYM4E5JVI_js.ParsedEnvSpecFile(contents);
|
|
322
|
+
}
|
|
323
|
+
chunkYM4E5JVI_js.__name(peg$f1, "peg$f1");
|
|
324
|
+
function peg$f2(preComments, key, value, postComment) {
|
|
325
|
+
return new chunkYM4E5JVI_js.ParsedEnvSpecConfigItem({
|
|
345
326
|
key,
|
|
346
327
|
preComments,
|
|
347
328
|
postComment,
|
|
348
329
|
value,
|
|
349
330
|
_location: location()
|
|
350
331
|
});
|
|
351
|
-
}
|
|
352
|
-
|
|
353
|
-
|
|
332
|
+
}
|
|
333
|
+
chunkYM4E5JVI_js.__name(peg$f2, "peg$f2");
|
|
334
|
+
function peg$f3(comments, end) {
|
|
335
|
+
return new chunkYM4E5JVI_js.ParsedEnvSpecCommentBlock({
|
|
354
336
|
comments,
|
|
355
|
-
divider: end instanceof
|
|
337
|
+
divider: end instanceof chunkYM4E5JVI_js.ParsedEnvSpecDivider ? end : void 0,
|
|
356
338
|
_location: location()
|
|
357
339
|
});
|
|
358
|
-
}
|
|
359
|
-
|
|
360
|
-
|
|
340
|
+
}
|
|
341
|
+
chunkYM4E5JVI_js.__name(peg$f3, "peg$f3");
|
|
342
|
+
function peg$f4(leadingSpace, contents) {
|
|
343
|
+
return new chunkYM4E5JVI_js.ParsedEnvSpecComment({
|
|
361
344
|
contents,
|
|
362
345
|
leadingSpace,
|
|
363
346
|
_location: location()
|
|
364
347
|
});
|
|
365
|
-
}
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
348
|
+
}
|
|
349
|
+
chunkYM4E5JVI_js.__name(peg$f4, "peg$f4");
|
|
350
|
+
function peg$f5(leadingSpace, contents) {
|
|
351
|
+
return new chunkYM4E5JVI_js.ParsedEnvSpecComment({ contents, leadingSpace, _location: location() });
|
|
352
|
+
}
|
|
353
|
+
chunkYM4E5JVI_js.__name(peg$f5, "peg$f5");
|
|
354
|
+
function peg$f6(leadingSpace, first, rest, postComment) {
|
|
355
|
+
return new chunkYM4E5JVI_js.ParsedEnvSpecDecoratorComment({
|
|
371
356
|
decorators: [first, ...rest],
|
|
372
357
|
leadingSpace,
|
|
373
358
|
postComment,
|
|
374
359
|
_location: location()
|
|
375
360
|
});
|
|
376
|
-
}
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
361
|
+
}
|
|
362
|
+
chunkYM4E5JVI_js.__name(peg$f6, "peg$f6");
|
|
363
|
+
function peg$f7(name) {
|
|
364
|
+
return new chunkYM4E5JVI_js.ParsedEnvSpecFunctionArgs({ values: [] });
|
|
365
|
+
}
|
|
366
|
+
chunkYM4E5JVI_js.__name(peg$f7, "peg$f7");
|
|
367
|
+
function peg$f8(name, valueOrFnArgs) {
|
|
368
|
+
return new chunkYM4E5JVI_js.ParsedEnvSpecDecorator({
|
|
382
369
|
name,
|
|
383
370
|
valueOrFnArgs,
|
|
384
371
|
_location: location()
|
|
385
372
|
});
|
|
386
|
-
}
|
|
387
|
-
|
|
388
|
-
|
|
373
|
+
}
|
|
374
|
+
chunkYM4E5JVI_js.__name(peg$f8, "peg$f8");
|
|
375
|
+
function peg$f9(name, args) {
|
|
376
|
+
return new chunkYM4E5JVI_js.ParsedEnvSpecFunctionCall({
|
|
389
377
|
name,
|
|
390
|
-
args: args || new
|
|
378
|
+
args: args || new chunkYM4E5JVI_js.ParsedEnvSpecFunctionArgs({ values: [] }),
|
|
391
379
|
_location: location()
|
|
392
380
|
});
|
|
393
|
-
}
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
381
|
+
}
|
|
382
|
+
chunkYM4E5JVI_js.__name(peg$f9, "peg$f9");
|
|
383
|
+
function peg$f10(key, val) {
|
|
384
|
+
return new chunkYM4E5JVI_js.ParsedEnvSpecKeyValuePair({ key, val });
|
|
385
|
+
}
|
|
386
|
+
chunkYM4E5JVI_js.__name(peg$f10, "peg$f10");
|
|
387
|
+
function peg$f11(values) {
|
|
388
|
+
return new chunkYM4E5JVI_js.ParsedEnvSpecFunctionArgs({
|
|
399
389
|
values,
|
|
400
390
|
_location: location()
|
|
401
391
|
});
|
|
402
|
-
}
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
392
|
+
}
|
|
393
|
+
chunkYM4E5JVI_js.__name(peg$f11, "peg$f11");
|
|
394
|
+
function peg$f12() {
|
|
395
|
+
return new chunkYM4E5JVI_js.ParsedEnvSpecStaticValue({ rawValue: text(), _location: location() });
|
|
396
|
+
}
|
|
397
|
+
chunkYM4E5JVI_js.__name(peg$f12, "peg$f12");
|
|
398
|
+
function peg$f13(leadingSpace, contents) {
|
|
399
|
+
return new chunkYM4E5JVI_js.ParsedEnvSpecDivider({
|
|
408
400
|
contents,
|
|
409
401
|
leadingSpace,
|
|
410
402
|
_location: location()
|
|
411
403
|
});
|
|
412
|
-
}
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
return new
|
|
424
|
-
}
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
return new
|
|
436
|
-
}
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
404
|
+
}
|
|
405
|
+
chunkYM4E5JVI_js.__name(peg$f13, "peg$f13");
|
|
406
|
+
function peg$f14() {
|
|
407
|
+
return new chunkYM4E5JVI_js.ParsedEnvSpecStaticValue({ rawValue: text(), _location: location() });
|
|
408
|
+
}
|
|
409
|
+
chunkYM4E5JVI_js.__name(peg$f14, "peg$f14");
|
|
410
|
+
function peg$f15() {
|
|
411
|
+
return new chunkYM4E5JVI_js.ParsedEnvSpecStaticValue({ rawValue: text(), _location: location() });
|
|
412
|
+
}
|
|
413
|
+
chunkYM4E5JVI_js.__name(peg$f15, "peg$f15");
|
|
414
|
+
function peg$f16(quote) {
|
|
415
|
+
return new chunkYM4E5JVI_js.ParsedEnvSpecStaticValue({ quote, rawValue: text(), _location: location() });
|
|
416
|
+
}
|
|
417
|
+
chunkYM4E5JVI_js.__name(peg$f16, "peg$f16");
|
|
418
|
+
function peg$f17(quote) {
|
|
419
|
+
return new chunkYM4E5JVI_js.ParsedEnvSpecStaticValue({ quote, rawValue: text(), _location: location() });
|
|
420
|
+
}
|
|
421
|
+
chunkYM4E5JVI_js.__name(peg$f17, "peg$f17");
|
|
422
|
+
function peg$f18(quote) {
|
|
423
|
+
return new chunkYM4E5JVI_js.ParsedEnvSpecStaticValue({ quote, rawValue: text(), _location: location() });
|
|
424
|
+
}
|
|
425
|
+
chunkYM4E5JVI_js.__name(peg$f18, "peg$f18");
|
|
426
|
+
function peg$f19(quote) {
|
|
427
|
+
return new chunkYM4E5JVI_js.ParsedEnvSpecStaticValue({ quote, isMultiLine: true, rawValue: text(), _location: location() });
|
|
428
|
+
}
|
|
429
|
+
chunkYM4E5JVI_js.__name(peg$f19, "peg$f19");
|
|
430
|
+
function peg$f20(quote) {
|
|
431
|
+
return new chunkYM4E5JVI_js.ParsedEnvSpecStaticValue({ quote, isMultiLine: true, rawValue: text(), _location: location() });
|
|
432
|
+
}
|
|
433
|
+
chunkYM4E5JVI_js.__name(peg$f20, "peg$f20");
|
|
434
|
+
function peg$f21(quote) {
|
|
435
|
+
return new chunkYM4E5JVI_js.ParsedEnvSpecStaticValue({ quote, isMultiLine: true, rawValue: text(), _location: location() });
|
|
436
|
+
}
|
|
437
|
+
chunkYM4E5JVI_js.__name(peg$f21, "peg$f21");
|
|
438
|
+
function peg$f22(quote) {
|
|
439
|
+
return new chunkYM4E5JVI_js.ParsedEnvSpecStaticValue({ quote, isMultiLine: true, rawValue: text(), _location: location() });
|
|
440
|
+
}
|
|
441
|
+
chunkYM4E5JVI_js.__name(peg$f22, "peg$f22");
|
|
442
|
+
let peg$currPos = options.peg$currPos | 0;
|
|
443
|
+
let peg$savedPos = peg$currPos;
|
|
444
|
+
const peg$posDetailsCache = [{ line: 1, column: 1 }];
|
|
445
|
+
let peg$maxFailPos = peg$currPos;
|
|
446
|
+
let peg$maxFailExpected = options.peg$maxFailExpected || [];
|
|
447
|
+
let peg$silentFails = options.peg$silentFails | 0;
|
|
448
|
+
let peg$result;
|
|
447
449
|
if (options.startRule) {
|
|
448
450
|
if (!(options.startRule in peg$startRuleFunctions)) {
|
|
449
451
|
throw new Error(`Can't start parsing from rule "` + options.startRule + '".');
|
|
@@ -453,11 +455,11 @@ function peg$parse(input, options) {
|
|
|
453
455
|
function text() {
|
|
454
456
|
return input.substring(peg$savedPos, peg$currPos);
|
|
455
457
|
}
|
|
456
|
-
|
|
458
|
+
chunkYM4E5JVI_js.__name(text, "text");
|
|
457
459
|
function offset() {
|
|
458
460
|
return peg$savedPos;
|
|
459
461
|
}
|
|
460
|
-
|
|
462
|
+
chunkYM4E5JVI_js.__name(offset, "offset");
|
|
461
463
|
function range() {
|
|
462
464
|
return {
|
|
463
465
|
source: peg$source,
|
|
@@ -465,11 +467,11 @@ function peg$parse(input, options) {
|
|
|
465
467
|
end: peg$currPos
|
|
466
468
|
};
|
|
467
469
|
}
|
|
468
|
-
|
|
470
|
+
chunkYM4E5JVI_js.__name(range, "range");
|
|
469
471
|
function location() {
|
|
470
472
|
return peg$computeLocation(peg$savedPos, peg$currPos);
|
|
471
473
|
}
|
|
472
|
-
|
|
474
|
+
chunkYM4E5JVI_js.__name(location, "location");
|
|
473
475
|
function expected(description, location2) {
|
|
474
476
|
location2 = location2 !== void 0 ? location2 : peg$computeLocation(peg$savedPos, peg$currPos);
|
|
475
477
|
throw peg$buildStructuredError(
|
|
@@ -478,35 +480,43 @@ function peg$parse(input, options) {
|
|
|
478
480
|
location2
|
|
479
481
|
);
|
|
480
482
|
}
|
|
481
|
-
|
|
483
|
+
chunkYM4E5JVI_js.__name(expected, "expected");
|
|
482
484
|
function error(message, location2) {
|
|
483
485
|
location2 = location2 !== void 0 ? location2 : peg$computeLocation(peg$savedPos, peg$currPos);
|
|
484
486
|
throw peg$buildSimpleError(message, location2);
|
|
485
487
|
}
|
|
486
|
-
|
|
488
|
+
chunkYM4E5JVI_js.__name(error, "error");
|
|
489
|
+
function peg$getUnicode(pos = peg$currPos) {
|
|
490
|
+
const cp = input.codePointAt(pos);
|
|
491
|
+
if (cp === void 0) {
|
|
492
|
+
return "";
|
|
493
|
+
}
|
|
494
|
+
return String.fromCodePoint(cp);
|
|
495
|
+
}
|
|
496
|
+
chunkYM4E5JVI_js.__name(peg$getUnicode, "peg$getUnicode");
|
|
487
497
|
function peg$literalExpectation(text2, ignoreCase) {
|
|
488
498
|
return { type: "literal", text: text2, ignoreCase };
|
|
489
499
|
}
|
|
490
|
-
|
|
491
|
-
function peg$classExpectation(parts, inverted, ignoreCase) {
|
|
492
|
-
return { type: "class", parts, inverted, ignoreCase };
|
|
500
|
+
chunkYM4E5JVI_js.__name(peg$literalExpectation, "peg$literalExpectation");
|
|
501
|
+
function peg$classExpectation(parts, inverted, ignoreCase, unicode) {
|
|
502
|
+
return { type: "class", parts, inverted, ignoreCase, unicode };
|
|
493
503
|
}
|
|
494
|
-
|
|
504
|
+
chunkYM4E5JVI_js.__name(peg$classExpectation, "peg$classExpectation");
|
|
495
505
|
function peg$anyExpectation() {
|
|
496
506
|
return { type: "any" };
|
|
497
507
|
}
|
|
498
|
-
|
|
508
|
+
chunkYM4E5JVI_js.__name(peg$anyExpectation, "peg$anyExpectation");
|
|
499
509
|
function peg$endExpectation() {
|
|
500
510
|
return { type: "end" };
|
|
501
511
|
}
|
|
502
|
-
|
|
512
|
+
chunkYM4E5JVI_js.__name(peg$endExpectation, "peg$endExpectation");
|
|
503
513
|
function peg$otherExpectation(description) {
|
|
504
514
|
return { type: "other", description };
|
|
505
515
|
}
|
|
506
|
-
|
|
516
|
+
chunkYM4E5JVI_js.__name(peg$otherExpectation, "peg$otherExpectation");
|
|
507
517
|
function peg$computePosDetails(pos) {
|
|
508
|
-
|
|
509
|
-
|
|
518
|
+
let details = peg$posDetailsCache[pos];
|
|
519
|
+
let p;
|
|
510
520
|
if (details) {
|
|
511
521
|
return details;
|
|
512
522
|
} else {
|
|
@@ -535,11 +545,11 @@ function peg$parse(input, options) {
|
|
|
535
545
|
return details;
|
|
536
546
|
}
|
|
537
547
|
}
|
|
538
|
-
|
|
548
|
+
chunkYM4E5JVI_js.__name(peg$computePosDetails, "peg$computePosDetails");
|
|
539
549
|
function peg$computeLocation(startPos, endPos, offset2) {
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
|
|
550
|
+
const startPosDetails = peg$computePosDetails(startPos);
|
|
551
|
+
const endPosDetails = peg$computePosDetails(endPos);
|
|
552
|
+
const res = {
|
|
543
553
|
source: peg$source,
|
|
544
554
|
start: {
|
|
545
555
|
offset: startPos,
|
|
@@ -558,7 +568,7 @@ function peg$parse(input, options) {
|
|
|
558
568
|
}
|
|
559
569
|
return res;
|
|
560
570
|
}
|
|
561
|
-
|
|
571
|
+
chunkYM4E5JVI_js.__name(peg$computeLocation, "peg$computeLocation");
|
|
562
572
|
function peg$fail(expected2) {
|
|
563
573
|
if (peg$currPos < peg$maxFailPos) {
|
|
564
574
|
return;
|
|
@@ -569,11 +579,11 @@ function peg$parse(input, options) {
|
|
|
569
579
|
}
|
|
570
580
|
peg$maxFailExpected.push(expected2);
|
|
571
581
|
}
|
|
572
|
-
|
|
582
|
+
chunkYM4E5JVI_js.__name(peg$fail, "peg$fail");
|
|
573
583
|
function peg$buildSimpleError(message, location2) {
|
|
574
584
|
return new peg$SyntaxError(message, null, null, location2);
|
|
575
585
|
}
|
|
576
|
-
|
|
586
|
+
chunkYM4E5JVI_js.__name(peg$buildSimpleError, "peg$buildSimpleError");
|
|
577
587
|
function peg$buildStructuredError(expected2, found, location2) {
|
|
578
588
|
return new peg$SyntaxError(
|
|
579
589
|
peg$SyntaxError.buildMessage(expected2, found),
|
|
@@ -582,9 +592,9 @@ function peg$parse(input, options) {
|
|
|
582
592
|
location2
|
|
583
593
|
);
|
|
584
594
|
}
|
|
585
|
-
|
|
595
|
+
chunkYM4E5JVI_js.__name(peg$buildStructuredError, "peg$buildStructuredError");
|
|
586
596
|
function peg$parseEnvSpecFile() {
|
|
587
|
-
|
|
597
|
+
let s0, s1, s2, s3;
|
|
588
598
|
s0 = peg$currPos;
|
|
589
599
|
s1 = [];
|
|
590
600
|
s2 = peg$parseConfigItem();
|
|
@@ -643,9 +653,9 @@ function peg$parse(input, options) {
|
|
|
643
653
|
s0 = s1;
|
|
644
654
|
return s0;
|
|
645
655
|
}
|
|
646
|
-
|
|
656
|
+
chunkYM4E5JVI_js.__name(peg$parseEnvSpecFile, "peg$parseEnvSpecFile");
|
|
647
657
|
function peg$parseConfigItem() {
|
|
648
|
-
|
|
658
|
+
let s0, s1, s2, s3, s4, s5, s6, s7, s9, s10;
|
|
649
659
|
s0 = peg$currPos;
|
|
650
660
|
s1 = [];
|
|
651
661
|
s2 = peg$currPos;
|
|
@@ -783,9 +793,9 @@ function peg$parse(input, options) {
|
|
|
783
793
|
}
|
|
784
794
|
return s0;
|
|
785
795
|
}
|
|
786
|
-
|
|
796
|
+
chunkYM4E5JVI_js.__name(peg$parseConfigItem, "peg$parseConfigItem");
|
|
787
797
|
function peg$parseConfigItemKey() {
|
|
788
|
-
|
|
798
|
+
let s0, s1, s2, s3, s4;
|
|
789
799
|
s0 = peg$currPos;
|
|
790
800
|
s1 = peg$currPos;
|
|
791
801
|
s2 = input.charAt(peg$currPos);
|
|
@@ -833,9 +843,9 @@ function peg$parse(input, options) {
|
|
|
833
843
|
}
|
|
834
844
|
return s0;
|
|
835
845
|
}
|
|
836
|
-
|
|
846
|
+
chunkYM4E5JVI_js.__name(peg$parseConfigItemKey, "peg$parseConfigItemKey");
|
|
837
847
|
function peg$parseConfigItemValue() {
|
|
838
|
-
|
|
848
|
+
let s0;
|
|
839
849
|
s0 = peg$parseFunctionCall();
|
|
840
850
|
if (s0 === peg$FAILED) {
|
|
841
851
|
s0 = peg$parsemultiLineString();
|
|
@@ -848,9 +858,9 @@ function peg$parse(input, options) {
|
|
|
848
858
|
}
|
|
849
859
|
return s0;
|
|
850
860
|
}
|
|
851
|
-
|
|
861
|
+
chunkYM4E5JVI_js.__name(peg$parseConfigItemValue, "peg$parseConfigItemValue");
|
|
852
862
|
function peg$parseCommentBlock() {
|
|
853
|
-
|
|
863
|
+
let s0, s1, s2, s3, s4;
|
|
854
864
|
s0 = peg$currPos;
|
|
855
865
|
s1 = [];
|
|
856
866
|
s2 = peg$currPos;
|
|
@@ -918,9 +928,9 @@ function peg$parse(input, options) {
|
|
|
918
928
|
}
|
|
919
929
|
return s0;
|
|
920
930
|
}
|
|
921
|
-
|
|
931
|
+
chunkYM4E5JVI_js.__name(peg$parseCommentBlock, "peg$parseCommentBlock");
|
|
922
932
|
function peg$parseComment() {
|
|
923
|
-
|
|
933
|
+
let s0, s1, s2, s3, s4, s5, s6, s7, s8, s9;
|
|
924
934
|
s0 = peg$currPos;
|
|
925
935
|
s1 = peg$currPos;
|
|
926
936
|
peg$silentFails++;
|
|
@@ -1013,9 +1023,9 @@ function peg$parse(input, options) {
|
|
|
1013
1023
|
}
|
|
1014
1024
|
return s0;
|
|
1015
1025
|
}
|
|
1016
|
-
|
|
1026
|
+
chunkYM4E5JVI_js.__name(peg$parseComment, "peg$parseComment");
|
|
1017
1027
|
function peg$parseIgnoredDecoratorComment() {
|
|
1018
|
-
|
|
1028
|
+
let s0, s1, s2, s3, s4, s5, s6, s7, s8, s9, s10;
|
|
1019
1029
|
s0 = peg$currPos;
|
|
1020
1030
|
if (input.charCodeAt(peg$currPos) === 35) {
|
|
1021
1031
|
s1 = peg$c3;
|
|
@@ -1234,9 +1244,9 @@ function peg$parse(input, options) {
|
|
|
1234
1244
|
}
|
|
1235
1245
|
return s0;
|
|
1236
1246
|
}
|
|
1237
|
-
|
|
1247
|
+
chunkYM4E5JVI_js.__name(peg$parseIgnoredDecoratorComment, "peg$parseIgnoredDecoratorComment");
|
|
1238
1248
|
function peg$parseDecoratorComment() {
|
|
1239
|
-
|
|
1249
|
+
let s0, s1, s2, s3, s4, s5, s6, s7, s8, s9, s10;
|
|
1240
1250
|
s0 = peg$currPos;
|
|
1241
1251
|
if (input.charCodeAt(peg$currPos) === 35) {
|
|
1242
1252
|
s1 = peg$c3;
|
|
@@ -1342,9 +1352,9 @@ function peg$parse(input, options) {
|
|
|
1342
1352
|
}
|
|
1343
1353
|
return s0;
|
|
1344
1354
|
}
|
|
1345
|
-
|
|
1355
|
+
chunkYM4E5JVI_js.__name(peg$parseDecoratorComment, "peg$parseDecoratorComment");
|
|
1346
1356
|
function peg$parseDecorator() {
|
|
1347
|
-
|
|
1357
|
+
let s0, s1, s2, s3, s4, s5, s6;
|
|
1348
1358
|
s0 = peg$currPos;
|
|
1349
1359
|
if (input.charCodeAt(peg$currPos) === 64) {
|
|
1350
1360
|
s1 = peg$c4;
|
|
@@ -1370,7 +1380,7 @@ function peg$parse(input, options) {
|
|
|
1370
1380
|
}
|
|
1371
1381
|
if (s4 !== peg$FAILED) {
|
|
1372
1382
|
peg$savedPos = s3;
|
|
1373
|
-
s4 = peg$f7(
|
|
1383
|
+
s4 = peg$f7();
|
|
1374
1384
|
}
|
|
1375
1385
|
s3 = s4;
|
|
1376
1386
|
if (s3 === peg$FAILED) {
|
|
@@ -1448,9 +1458,9 @@ function peg$parse(input, options) {
|
|
|
1448
1458
|
}
|
|
1449
1459
|
return s0;
|
|
1450
1460
|
}
|
|
1451
|
-
|
|
1461
|
+
chunkYM4E5JVI_js.__name(peg$parseDecorator, "peg$parseDecorator");
|
|
1452
1462
|
function peg$parseDecoratorName() {
|
|
1453
|
-
|
|
1463
|
+
let s0, s1, s2, s3, s4;
|
|
1454
1464
|
s0 = peg$currPos;
|
|
1455
1465
|
s1 = peg$currPos;
|
|
1456
1466
|
s2 = input.charAt(peg$currPos);
|
|
@@ -1498,9 +1508,9 @@ function peg$parse(input, options) {
|
|
|
1498
1508
|
}
|
|
1499
1509
|
return s0;
|
|
1500
1510
|
}
|
|
1501
|
-
|
|
1511
|
+
chunkYM4E5JVI_js.__name(peg$parseDecoratorName, "peg$parseDecoratorName");
|
|
1502
1512
|
function peg$parseDecoratorValue() {
|
|
1503
|
-
|
|
1513
|
+
let s0;
|
|
1504
1514
|
s0 = peg$parseFunctionCall();
|
|
1505
1515
|
if (s0 === peg$FAILED) {
|
|
1506
1516
|
s0 = peg$parsequotedString();
|
|
@@ -1510,9 +1520,9 @@ function peg$parse(input, options) {
|
|
|
1510
1520
|
}
|
|
1511
1521
|
return s0;
|
|
1512
1522
|
}
|
|
1513
|
-
|
|
1523
|
+
chunkYM4E5JVI_js.__name(peg$parseDecoratorValue, "peg$parseDecoratorValue");
|
|
1514
1524
|
function peg$parseFunctionCall() {
|
|
1515
|
-
|
|
1525
|
+
let s0, s1, s2, s4, s6;
|
|
1516
1526
|
s0 = peg$currPos;
|
|
1517
1527
|
s1 = peg$parseFunctionName();
|
|
1518
1528
|
if (s1 !== peg$FAILED) {
|
|
@@ -1558,9 +1568,9 @@ function peg$parse(input, options) {
|
|
|
1558
1568
|
}
|
|
1559
1569
|
return s0;
|
|
1560
1570
|
}
|
|
1561
|
-
|
|
1571
|
+
chunkYM4E5JVI_js.__name(peg$parseFunctionCall, "peg$parseFunctionCall");
|
|
1562
1572
|
function peg$parseFunctionName() {
|
|
1563
|
-
|
|
1573
|
+
let s0, s1, s2, s3, s4;
|
|
1564
1574
|
s0 = peg$currPos;
|
|
1565
1575
|
s1 = peg$currPos;
|
|
1566
1576
|
s2 = input.charAt(peg$currPos);
|
|
@@ -1608,9 +1618,9 @@ function peg$parse(input, options) {
|
|
|
1608
1618
|
}
|
|
1609
1619
|
return s0;
|
|
1610
1620
|
}
|
|
1611
|
-
|
|
1621
|
+
chunkYM4E5JVI_js.__name(peg$parseFunctionName, "peg$parseFunctionName");
|
|
1612
1622
|
function peg$parseFunctionArgs() {
|
|
1613
|
-
|
|
1623
|
+
let s0, s1, s2, s3, s4, s5, s6, s7;
|
|
1614
1624
|
s0 = peg$currPos;
|
|
1615
1625
|
s1 = peg$currPos;
|
|
1616
1626
|
s2 = [];
|
|
@@ -1724,9 +1734,9 @@ function peg$parse(input, options) {
|
|
|
1724
1734
|
s0 = s1;
|
|
1725
1735
|
return s0;
|
|
1726
1736
|
}
|
|
1727
|
-
|
|
1737
|
+
chunkYM4E5JVI_js.__name(peg$parseFunctionArgs, "peg$parseFunctionArgs");
|
|
1728
1738
|
function peg$parseFunctionArgKeyName() {
|
|
1729
|
-
|
|
1739
|
+
let s0, s1, s2, s3, s4;
|
|
1730
1740
|
s0 = peg$currPos;
|
|
1731
1741
|
s1 = peg$currPos;
|
|
1732
1742
|
s2 = input.charAt(peg$currPos);
|
|
@@ -1774,9 +1784,9 @@ function peg$parse(input, options) {
|
|
|
1774
1784
|
}
|
|
1775
1785
|
return s0;
|
|
1776
1786
|
}
|
|
1777
|
-
|
|
1787
|
+
chunkYM4E5JVI_js.__name(peg$parseFunctionArgKeyName, "peg$parseFunctionArgKeyName");
|
|
1778
1788
|
function peg$parseFunctionArgValue() {
|
|
1779
|
-
|
|
1789
|
+
let s0, s1, s2, s3;
|
|
1780
1790
|
s0 = peg$parseFunctionCall();
|
|
1781
1791
|
if (s0 === peg$FAILED) {
|
|
1782
1792
|
s0 = peg$parsequotedString();
|
|
@@ -1823,9 +1833,9 @@ function peg$parse(input, options) {
|
|
|
1823
1833
|
}
|
|
1824
1834
|
return s0;
|
|
1825
1835
|
}
|
|
1826
|
-
|
|
1836
|
+
chunkYM4E5JVI_js.__name(peg$parseFunctionArgValue, "peg$parseFunctionArgValue");
|
|
1827
1837
|
function peg$parseDivider() {
|
|
1828
|
-
|
|
1838
|
+
let s0, s1, s2, s3, s4, s5, s6, s7;
|
|
1829
1839
|
s0 = peg$currPos;
|
|
1830
1840
|
if (input.charCodeAt(peg$currPos) === 35) {
|
|
1831
1841
|
s1 = peg$c3;
|
|
@@ -1924,9 +1934,9 @@ function peg$parse(input, options) {
|
|
|
1924
1934
|
}
|
|
1925
1935
|
return s0;
|
|
1926
1936
|
}
|
|
1927
|
-
|
|
1937
|
+
chunkYM4E5JVI_js.__name(peg$parseDivider, "peg$parseDivider");
|
|
1928
1938
|
function peg$parseunquotedString() {
|
|
1929
|
-
|
|
1939
|
+
let s0, s1, s2, s3, s4, s5, s6;
|
|
1930
1940
|
s0 = peg$currPos;
|
|
1931
1941
|
s1 = peg$currPos;
|
|
1932
1942
|
s2 = peg$currPos;
|
|
@@ -1999,9 +2009,9 @@ function peg$parse(input, options) {
|
|
|
1999
2009
|
s0 = s1;
|
|
2000
2010
|
return s0;
|
|
2001
2011
|
}
|
|
2002
|
-
|
|
2012
|
+
chunkYM4E5JVI_js.__name(peg$parseunquotedString, "peg$parseunquotedString");
|
|
2003
2013
|
function peg$parseunquotedStringWithoutSpaces() {
|
|
2004
|
-
|
|
2014
|
+
let s0, s1, s2, s3, s4, s5;
|
|
2005
2015
|
s0 = peg$currPos;
|
|
2006
2016
|
s1 = peg$currPos;
|
|
2007
2017
|
s2 = peg$currPos;
|
|
@@ -2073,9 +2083,9 @@ function peg$parse(input, options) {
|
|
|
2073
2083
|
s0 = s1;
|
|
2074
2084
|
return s0;
|
|
2075
2085
|
}
|
|
2076
|
-
|
|
2086
|
+
chunkYM4E5JVI_js.__name(peg$parseunquotedStringWithoutSpaces, "peg$parseunquotedStringWithoutSpaces");
|
|
2077
2087
|
function peg$parsequotedString() {
|
|
2078
|
-
|
|
2088
|
+
let s0;
|
|
2079
2089
|
s0 = peg$parseDQuotedString();
|
|
2080
2090
|
if (s0 === peg$FAILED) {
|
|
2081
2091
|
s0 = peg$parseSQuotedString();
|
|
@@ -2085,9 +2095,9 @@ function peg$parse(input, options) {
|
|
|
2085
2095
|
}
|
|
2086
2096
|
return s0;
|
|
2087
2097
|
}
|
|
2088
|
-
|
|
2098
|
+
chunkYM4E5JVI_js.__name(peg$parsequotedString, "peg$parsequotedString");
|
|
2089
2099
|
function peg$parseDQuotedString() {
|
|
2090
|
-
|
|
2100
|
+
let s0, s1, s2, s3;
|
|
2091
2101
|
s0 = peg$currPos;
|
|
2092
2102
|
s1 = input.charAt(peg$currPos);
|
|
2093
2103
|
if (peg$r11.test(s1)) {
|
|
@@ -2165,9 +2175,9 @@ function peg$parse(input, options) {
|
|
|
2165
2175
|
}
|
|
2166
2176
|
return s0;
|
|
2167
2177
|
}
|
|
2168
|
-
|
|
2178
|
+
chunkYM4E5JVI_js.__name(peg$parseDQuotedString, "peg$parseDQuotedString");
|
|
2169
2179
|
function peg$parseSQuotedString() {
|
|
2170
|
-
|
|
2180
|
+
let s0, s1, s2, s3;
|
|
2171
2181
|
s0 = peg$currPos;
|
|
2172
2182
|
s1 = input.charAt(peg$currPos);
|
|
2173
2183
|
if (peg$r13.test(s1)) {
|
|
@@ -2245,9 +2255,9 @@ function peg$parse(input, options) {
|
|
|
2245
2255
|
}
|
|
2246
2256
|
return s0;
|
|
2247
2257
|
}
|
|
2248
|
-
|
|
2258
|
+
chunkYM4E5JVI_js.__name(peg$parseSQuotedString, "peg$parseSQuotedString");
|
|
2249
2259
|
function peg$parseBQuotedString() {
|
|
2250
|
-
|
|
2260
|
+
let s0, s1, s2, s3;
|
|
2251
2261
|
s0 = peg$currPos;
|
|
2252
2262
|
s1 = input.charAt(peg$currPos);
|
|
2253
2263
|
if (peg$r15.test(s1)) {
|
|
@@ -2325,9 +2335,9 @@ function peg$parse(input, options) {
|
|
|
2325
2335
|
}
|
|
2326
2336
|
return s0;
|
|
2327
2337
|
}
|
|
2328
|
-
|
|
2338
|
+
chunkYM4E5JVI_js.__name(peg$parseBQuotedString, "peg$parseBQuotedString");
|
|
2329
2339
|
function peg$parsemultiLineString() {
|
|
2330
|
-
|
|
2340
|
+
let s0;
|
|
2331
2341
|
s0 = peg$parsesingleSQuotedMultiLineString();
|
|
2332
2342
|
if (s0 === peg$FAILED) {
|
|
2333
2343
|
s0 = peg$parsesingleDQuotedMultiLineString();
|
|
@@ -2340,9 +2350,9 @@ function peg$parse(input, options) {
|
|
|
2340
2350
|
}
|
|
2341
2351
|
return s0;
|
|
2342
2352
|
}
|
|
2343
|
-
|
|
2353
|
+
chunkYM4E5JVI_js.__name(peg$parsemultiLineString, "peg$parsemultiLineString");
|
|
2344
2354
|
function peg$parsesingleSQuotedMultiLineString() {
|
|
2345
|
-
|
|
2355
|
+
let s0, s1, s2, s3, s4, s5;
|
|
2346
2356
|
s0 = peg$currPos;
|
|
2347
2357
|
s1 = input.charAt(peg$currPos);
|
|
2348
2358
|
if (peg$r13.test(s1)) {
|
|
@@ -2555,9 +2565,9 @@ function peg$parse(input, options) {
|
|
|
2555
2565
|
}
|
|
2556
2566
|
return s0;
|
|
2557
2567
|
}
|
|
2558
|
-
|
|
2568
|
+
chunkYM4E5JVI_js.__name(peg$parsesingleSQuotedMultiLineString, "peg$parsesingleSQuotedMultiLineString");
|
|
2559
2569
|
function peg$parsesingleDQuotedMultiLineString() {
|
|
2560
|
-
|
|
2570
|
+
let s0, s1, s2, s3, s4, s5;
|
|
2561
2571
|
s0 = peg$currPos;
|
|
2562
2572
|
s1 = input.charAt(peg$currPos);
|
|
2563
2573
|
if (peg$r11.test(s1)) {
|
|
@@ -2770,9 +2780,9 @@ function peg$parse(input, options) {
|
|
|
2770
2780
|
}
|
|
2771
2781
|
return s0;
|
|
2772
2782
|
}
|
|
2773
|
-
|
|
2783
|
+
chunkYM4E5JVI_js.__name(peg$parsesingleDQuotedMultiLineString, "peg$parsesingleDQuotedMultiLineString");
|
|
2774
2784
|
function peg$parsetripleDQuotedMultiLineString() {
|
|
2775
|
-
|
|
2785
|
+
let s0, s1, s2, s3, s4, s5, s6, s7;
|
|
2776
2786
|
s0 = peg$currPos;
|
|
2777
2787
|
if (input.substr(peg$currPos, 3) === peg$c13) {
|
|
2778
2788
|
s1 = peg$c13;
|
|
@@ -3171,9 +3181,9 @@ function peg$parse(input, options) {
|
|
|
3171
3181
|
}
|
|
3172
3182
|
return s0;
|
|
3173
3183
|
}
|
|
3174
|
-
|
|
3184
|
+
chunkYM4E5JVI_js.__name(peg$parsetripleDQuotedMultiLineString, "peg$parsetripleDQuotedMultiLineString");
|
|
3175
3185
|
function peg$parsetripleBQuotedMultiLineString() {
|
|
3176
|
-
|
|
3186
|
+
let s0, s1, s2, s3, s4, s5, s6, s7;
|
|
3177
3187
|
s0 = peg$currPos;
|
|
3178
3188
|
if (input.substr(peg$currPos, 3) === peg$c15) {
|
|
3179
3189
|
s1 = peg$c15;
|
|
@@ -3572,9 +3582,9 @@ function peg$parse(input, options) {
|
|
|
3572
3582
|
}
|
|
3573
3583
|
return s0;
|
|
3574
3584
|
}
|
|
3575
|
-
|
|
3585
|
+
chunkYM4E5JVI_js.__name(peg$parsetripleBQuotedMultiLineString, "peg$parsetripleBQuotedMultiLineString");
|
|
3576
3586
|
function peg$parse_n() {
|
|
3577
|
-
|
|
3587
|
+
let s0, s1;
|
|
3578
3588
|
if (input.charCodeAt(peg$currPos) === 10) {
|
|
3579
3589
|
s0 = peg$c0;
|
|
3580
3590
|
peg$currPos++;
|
|
@@ -3606,9 +3616,9 @@ function peg$parse(input, options) {
|
|
|
3606
3616
|
}
|
|
3607
3617
|
return s0;
|
|
3608
3618
|
}
|
|
3609
|
-
|
|
3619
|
+
chunkYM4E5JVI_js.__name(peg$parse_n, "peg$parse_n");
|
|
3610
3620
|
function peg$parse_() {
|
|
3611
|
-
|
|
3621
|
+
let s0, s1;
|
|
3612
3622
|
s0 = [];
|
|
3613
3623
|
s1 = input.charAt(peg$currPos);
|
|
3614
3624
|
if (peg$r17.test(s1)) {
|
|
@@ -3633,9 +3643,9 @@ function peg$parse(input, options) {
|
|
|
3633
3643
|
}
|
|
3634
3644
|
return s0;
|
|
3635
3645
|
}
|
|
3636
|
-
|
|
3646
|
+
chunkYM4E5JVI_js.__name(peg$parse_, "peg$parse_");
|
|
3637
3647
|
function peg$parse__() {
|
|
3638
|
-
|
|
3648
|
+
let s0, s1;
|
|
3639
3649
|
s0 = [];
|
|
3640
3650
|
s1 = input.charAt(peg$currPos);
|
|
3641
3651
|
if (peg$r17.test(s1)) {
|
|
@@ -3664,8 +3674,20 @@ function peg$parse(input, options) {
|
|
|
3664
3674
|
}
|
|
3665
3675
|
return s0;
|
|
3666
3676
|
}
|
|
3667
|
-
|
|
3677
|
+
chunkYM4E5JVI_js.__name(peg$parse__, "peg$parse__");
|
|
3668
3678
|
peg$result = peg$startRuleFunction();
|
|
3679
|
+
const peg$success = peg$result !== peg$FAILED && peg$currPos === input.length;
|
|
3680
|
+
function peg$throw() {
|
|
3681
|
+
if (peg$result !== peg$FAILED && peg$currPos < input.length) {
|
|
3682
|
+
peg$fail(peg$endExpectation());
|
|
3683
|
+
}
|
|
3684
|
+
throw peg$buildStructuredError(
|
|
3685
|
+
peg$maxFailExpected,
|
|
3686
|
+
peg$maxFailPos < input.length ? peg$getUnicode(peg$maxFailPos) : null,
|
|
3687
|
+
peg$maxFailPos < input.length ? peg$computeLocation(peg$maxFailPos, peg$maxFailPos + 1) : peg$computeLocation(peg$maxFailPos, peg$maxFailPos)
|
|
3688
|
+
);
|
|
3689
|
+
}
|
|
3690
|
+
chunkYM4E5JVI_js.__name(peg$throw, "peg$throw");
|
|
3669
3691
|
if (options.peg$library) {
|
|
3670
3692
|
return (
|
|
3671
3693
|
/** @type {any} */
|
|
@@ -3674,82 +3696,77 @@ function peg$parse(input, options) {
|
|
|
3674
3696
|
peg$currPos,
|
|
3675
3697
|
peg$FAILED,
|
|
3676
3698
|
peg$maxFailExpected,
|
|
3677
|
-
peg$maxFailPos
|
|
3699
|
+
peg$maxFailPos,
|
|
3700
|
+
peg$success,
|
|
3701
|
+
peg$throw: peg$success ? void 0 : peg$throw
|
|
3678
3702
|
}
|
|
3679
3703
|
);
|
|
3680
3704
|
}
|
|
3681
|
-
if (peg$
|
|
3705
|
+
if (peg$success) {
|
|
3682
3706
|
return peg$result;
|
|
3683
3707
|
} else {
|
|
3684
|
-
|
|
3685
|
-
peg$fail(peg$endExpectation());
|
|
3686
|
-
}
|
|
3687
|
-
throw peg$buildStructuredError(
|
|
3688
|
-
peg$maxFailExpected,
|
|
3689
|
-
peg$maxFailPos < input.length ? input.charAt(peg$maxFailPos) : null,
|
|
3690
|
-
peg$maxFailPos < input.length ? peg$computeLocation(peg$maxFailPos, peg$maxFailPos + 1) : peg$computeLocation(peg$maxFailPos, peg$maxFailPos)
|
|
3691
|
-
);
|
|
3708
|
+
peg$throw();
|
|
3692
3709
|
}
|
|
3693
3710
|
}
|
|
3694
|
-
|
|
3711
|
+
chunkYM4E5JVI_js.__name(peg$parse, "peg$parse");
|
|
3695
3712
|
|
|
3696
3713
|
// src/index.ts
|
|
3697
3714
|
function parseEnvSpecDotEnvFile(source) {
|
|
3698
3715
|
return peg$parse(source);
|
|
3699
3716
|
}
|
|
3700
|
-
|
|
3717
|
+
chunkYM4E5JVI_js.__name(parseEnvSpecDotEnvFile, "parseEnvSpecDotEnvFile");
|
|
3701
3718
|
|
|
3702
3719
|
Object.defineProperty(exports, "ParsedEnvSpecBlankLine", {
|
|
3703
3720
|
enumerable: true,
|
|
3704
|
-
get: function () { return
|
|
3721
|
+
get: function () { return chunkYM4E5JVI_js.ParsedEnvSpecBlankLine; }
|
|
3705
3722
|
});
|
|
3706
3723
|
Object.defineProperty(exports, "ParsedEnvSpecComment", {
|
|
3707
3724
|
enumerable: true,
|
|
3708
|
-
get: function () { return
|
|
3725
|
+
get: function () { return chunkYM4E5JVI_js.ParsedEnvSpecComment; }
|
|
3709
3726
|
});
|
|
3710
3727
|
Object.defineProperty(exports, "ParsedEnvSpecCommentBlock", {
|
|
3711
3728
|
enumerable: true,
|
|
3712
|
-
get: function () { return
|
|
3729
|
+
get: function () { return chunkYM4E5JVI_js.ParsedEnvSpecCommentBlock; }
|
|
3713
3730
|
});
|
|
3714
3731
|
Object.defineProperty(exports, "ParsedEnvSpecConfigItem", {
|
|
3715
3732
|
enumerable: true,
|
|
3716
|
-
get: function () { return
|
|
3733
|
+
get: function () { return chunkYM4E5JVI_js.ParsedEnvSpecConfigItem; }
|
|
3717
3734
|
});
|
|
3718
3735
|
Object.defineProperty(exports, "ParsedEnvSpecDecorator", {
|
|
3719
3736
|
enumerable: true,
|
|
3720
|
-
get: function () { return
|
|
3737
|
+
get: function () { return chunkYM4E5JVI_js.ParsedEnvSpecDecorator; }
|
|
3721
3738
|
});
|
|
3722
3739
|
Object.defineProperty(exports, "ParsedEnvSpecDecoratorComment", {
|
|
3723
3740
|
enumerable: true,
|
|
3724
|
-
get: function () { return
|
|
3741
|
+
get: function () { return chunkYM4E5JVI_js.ParsedEnvSpecDecoratorComment; }
|
|
3725
3742
|
});
|
|
3726
3743
|
Object.defineProperty(exports, "ParsedEnvSpecDivider", {
|
|
3727
3744
|
enumerable: true,
|
|
3728
|
-
get: function () { return
|
|
3745
|
+
get: function () { return chunkYM4E5JVI_js.ParsedEnvSpecDivider; }
|
|
3729
3746
|
});
|
|
3730
3747
|
Object.defineProperty(exports, "ParsedEnvSpecFile", {
|
|
3731
3748
|
enumerable: true,
|
|
3732
|
-
get: function () { return
|
|
3749
|
+
get: function () { return chunkYM4E5JVI_js.ParsedEnvSpecFile; }
|
|
3733
3750
|
});
|
|
3734
3751
|
Object.defineProperty(exports, "ParsedEnvSpecFunctionArgs", {
|
|
3735
3752
|
enumerable: true,
|
|
3736
|
-
get: function () { return
|
|
3753
|
+
get: function () { return chunkYM4E5JVI_js.ParsedEnvSpecFunctionArgs; }
|
|
3737
3754
|
});
|
|
3738
3755
|
Object.defineProperty(exports, "ParsedEnvSpecFunctionCall", {
|
|
3739
3756
|
enumerable: true,
|
|
3740
|
-
get: function () { return
|
|
3757
|
+
get: function () { return chunkYM4E5JVI_js.ParsedEnvSpecFunctionCall; }
|
|
3741
3758
|
});
|
|
3742
3759
|
Object.defineProperty(exports, "ParsedEnvSpecKeyValuePair", {
|
|
3743
3760
|
enumerable: true,
|
|
3744
|
-
get: function () { return
|
|
3761
|
+
get: function () { return chunkYM4E5JVI_js.ParsedEnvSpecKeyValuePair; }
|
|
3745
3762
|
});
|
|
3746
3763
|
Object.defineProperty(exports, "ParsedEnvSpecStaticValue", {
|
|
3747
3764
|
enumerable: true,
|
|
3748
|
-
get: function () { return
|
|
3765
|
+
get: function () { return chunkYM4E5JVI_js.ParsedEnvSpecStaticValue; }
|
|
3749
3766
|
});
|
|
3750
3767
|
Object.defineProperty(exports, "expand", {
|
|
3751
3768
|
enumerable: true,
|
|
3752
|
-
get: function () { return
|
|
3769
|
+
get: function () { return chunkYM4E5JVI_js.expand; }
|
|
3753
3770
|
});
|
|
3754
3771
|
exports.envSpecUpdater = envSpecUpdater;
|
|
3755
3772
|
exports.parseEnvSpecDotEnvFile = parseEnvSpecDotEnvFile;
|