@weborigami/language 0.0.64 → 0.0.65-beta.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.
@@ -12,16 +12,14 @@
12
12
  //
13
13
 
14
14
  import * as ops from "../runtime/ops.js";
15
- import { makeArray, makeFunctionCall, makeObject, makePipeline, makeTemplate } from "./parserHelpers.js";
16
-
17
- // If a parse result is an object that will be evaluated at runtime, attach the
18
- // location of the source code that produced it for debugging and error messages.
19
- function annotate(parseResult, location) {
20
- if (typeof parseResult === "object" && parseResult !== null) {
21
- parseResult.location = location;
22
- }
23
- return parseResult;
24
- }
15
+ import {
16
+ annotate,
17
+ makeArray,
18
+ makeFunctionCall,
19
+ makeObject,
20
+ makePipeline,
21
+ makeTemplate
22
+ } from "./parserHelpers.js";
25
23
 
26
24
 
27
25
  function peg$subclass(child, parent) {
@@ -206,36 +204,43 @@ function peg$parse(input, options) {
206
204
  var peg$c7 = "\"";
207
205
  var peg$c8 = "...";
208
206
  var peg$c9 = "\u2026";
209
- var peg$c10 = "\\";
210
- var peg$c11 = ".";
211
- var peg$c12 = "(";
212
- var peg$c13 = "\xAB";
213
- var peg$c14 = "\xBB";
214
- var peg$c15 = ":";
215
- var peg$c16 = "-";
216
- var peg$c17 = ">";
217
- var peg$c18 = "=";
218
- var peg$c19 = "/";
219
- var peg$c20 = "/*";
220
- var peg$c21 = "*/";
221
- var peg$c22 = "\n";
222
- var peg$c23 = "\r\n";
223
- var peg$c24 = "\r";
224
- var peg$c25 = "{";
225
- var peg$c26 = "https";
226
- var peg$c27 = "http";
227
- var peg$c28 = "new";
228
- var peg$c29 = "package";
229
- var peg$c30 = "treehttps";
230
- var peg$c31 = "treehttp";
231
- var peg$c32 = "tree";
232
- var peg$c33 = ",";
233
- var peg$c34 = "#!";
234
- var peg$c35 = "\u2192";
235
- var peg$c36 = "->";
236
- var peg$c37 = "'";
237
- var peg$c38 = "${";
238
- var peg$c39 = "`";
207
+ var peg$c10 = "\\0";
208
+ var peg$c11 = "\\b";
209
+ var peg$c12 = "\\f";
210
+ var peg$c13 = "\\n";
211
+ var peg$c14 = "\\r";
212
+ var peg$c15 = "\\t";
213
+ var peg$c16 = "\\v";
214
+ var peg$c17 = "\\";
215
+ var peg$c18 = ".";
216
+ var peg$c19 = "(";
217
+ var peg$c20 = "\xAB";
218
+ var peg$c21 = "\xBB";
219
+ var peg$c22 = ":";
220
+ var peg$c23 = "-";
221
+ var peg$c24 = ">";
222
+ var peg$c25 = "=";
223
+ var peg$c26 = "/";
224
+ var peg$c27 = "/*";
225
+ var peg$c28 = "*/";
226
+ var peg$c29 = "\n";
227
+ var peg$c30 = "\r\n";
228
+ var peg$c31 = "\r";
229
+ var peg$c32 = "{";
230
+ var peg$c33 = "https";
231
+ var peg$c34 = "http";
232
+ var peg$c35 = "new";
233
+ var peg$c36 = "package";
234
+ var peg$c37 = "treehttps";
235
+ var peg$c38 = "treehttp";
236
+ var peg$c39 = "tree";
237
+ var peg$c40 = ",";
238
+ var peg$c41 = "#!";
239
+ var peg$c42 = "\u2192";
240
+ var peg$c43 = "->";
241
+ var peg$c44 = "'";
242
+ var peg$c45 = "${";
243
+ var peg$c46 = "`";
239
244
 
240
245
  var peg$r0 = /^[0-9]/;
241
246
  var peg$r1 = /^[^(){}[\]<>\-=,\/:`"'\xAB\xBB\\ \u2192\u21D2\t\n\r]/;
@@ -263,72 +268,79 @@ function peg$parse(input, options) {
263
268
  var peg$e16 = peg$literalExpectation("...", false);
264
269
  var peg$e17 = peg$literalExpectation("\u2026", false);
265
270
  var peg$e18 = peg$otherExpectation("backslash-escaped character");
266
- var peg$e19 = peg$literalExpectation("\\", false);
267
- var peg$e20 = peg$otherExpectation("Origami expression");
268
- var peg$e21 = peg$otherExpectation("floating-point number");
269
- var peg$e22 = peg$literalExpectation(".", false);
270
- var peg$e23 = peg$otherExpectation("function composition");
271
- var peg$e24 = peg$otherExpectation("parenthetical group");
272
- var peg$e25 = peg$literalExpectation("(", false);
273
- var peg$e26 = peg$otherExpectation("guillemet string");
274
- var peg$e27 = peg$literalExpectation("\xAB", false);
275
- var peg$e28 = peg$literalExpectation("\xBB", false);
276
- var peg$e29 = peg$otherExpectation("HTTP/HTTPS host");
277
- var peg$e30 = peg$literalExpectation(":", false);
278
- var peg$e31 = peg$otherExpectation("identifier");
279
- var peg$e32 = peg$classExpectation(["(", ")", "{", "}", "[", "]", "<", ">", "-", "=", ",", "/", ":", "`", "\"", "'", "\xAB", "\xBB", "\\", " ", "\u2192", "\u21D2", "\t", "\n", "\r"], true, false);
280
- var peg$e33 = peg$literalExpectation("-", false);
281
- var peg$e34 = peg$literalExpectation(">", false);
282
- var peg$e35 = peg$otherExpectation("arguments with implicit parentheses");
283
- var peg$e36 = peg$classExpectation([" ", "\t"], false, false);
284
- var peg$e37 = peg$otherExpectation("integer");
285
- var peg$e38 = peg$otherExpectation("lambda function");
286
- var peg$e39 = peg$literalExpectation("=", false);
287
- var peg$e40 = peg$otherExpectation("path with a leading slash");
288
- var peg$e41 = peg$literalExpectation("/", false);
289
- var peg$e42 = peg$otherExpectation("list");
290
- var peg$e43 = peg$literalExpectation("/*", false);
291
- var peg$e44 = peg$literalExpectation("*/", false);
292
- var peg$e45 = peg$literalExpectation("\n", false);
293
- var peg$e46 = peg$literalExpectation("\r\n", false);
294
- var peg$e47 = peg$literalExpectation("\r", false);
295
- var peg$e48 = peg$otherExpectation("number");
296
- var peg$e49 = peg$otherExpectation("object literal");
297
- var peg$e50 = peg$literalExpectation("{", false);
298
- var peg$e51 = peg$otherExpectation("object getter");
299
- var peg$e52 = peg$otherExpectation("object identifier");
300
- var peg$e53 = peg$otherExpectation("object key");
301
- var peg$e54 = peg$otherExpectation("object property");
302
- var peg$e55 = peg$otherExpectation("function arguments in parentheses");
303
- var peg$e56 = peg$otherExpectation("slash-separated path");
304
- var peg$e57 = peg$otherExpectation("path element");
305
- var peg$e58 = peg$classExpectation(["(", ")", "{", "}", "[", "]", ",", ":", "/", "\\", " ", "\t", "\n", "\r"], true, false);
306
- var peg$e59 = peg$otherExpectation("function call using protocol: syntax");
307
- var peg$e60 = peg$otherExpectation("protocol");
308
- var peg$e61 = peg$otherExpectation("reserved protocol");
309
- var peg$e62 = peg$literalExpectation("https", false);
310
- var peg$e63 = peg$literalExpectation("http", false);
311
- var peg$e64 = peg$literalExpectation("new", false);
312
- var peg$e65 = peg$literalExpectation("package", false);
313
- var peg$e66 = peg$literalExpectation("treehttps", false);
314
- var peg$e67 = peg$literalExpectation("treehttp", false);
315
- var peg$e68 = peg$literalExpectation("tree", false);
316
- var peg$e69 = peg$otherExpectation("scope reference");
317
- var peg$e70 = peg$literalExpectation(",", false);
318
- var peg$e71 = peg$literalExpectation("#!", false);
319
- var peg$e72 = peg$classExpectation(["\n", "\r"], true, false);
320
- var peg$e73 = peg$classExpectation(["+", "-"], false, false);
321
- var peg$e74 = peg$literalExpectation("\u2192", false);
322
- var peg$e75 = peg$literalExpectation("->", false);
323
- var peg$e76 = peg$otherExpectation("single quote string");
324
- var peg$e77 = peg$literalExpectation("'", false);
325
- var peg$e78 = peg$otherExpectation("string");
326
- var peg$e79 = peg$otherExpectation("template");
327
- var peg$e80 = peg$literalExpectation("${", false);
328
- var peg$e81 = peg$otherExpectation("template text");
329
- var peg$e82 = peg$otherExpectation("template literal");
330
- var peg$e83 = peg$literalExpectation("`", false);
331
- var peg$e84 = peg$otherExpectation("template substitution");
271
+ var peg$e19 = peg$literalExpectation("\\0", false);
272
+ var peg$e20 = peg$literalExpectation("\\b", false);
273
+ var peg$e21 = peg$literalExpectation("\\f", false);
274
+ var peg$e22 = peg$literalExpectation("\\n", false);
275
+ var peg$e23 = peg$literalExpectation("\\r", false);
276
+ var peg$e24 = peg$literalExpectation("\\t", false);
277
+ var peg$e25 = peg$literalExpectation("\\v", false);
278
+ var peg$e26 = peg$literalExpectation("\\", false);
279
+ var peg$e27 = peg$otherExpectation("Origami expression");
280
+ var peg$e28 = peg$otherExpectation("floating-point number");
281
+ var peg$e29 = peg$literalExpectation(".", false);
282
+ var peg$e30 = peg$otherExpectation("function composition");
283
+ var peg$e31 = peg$otherExpectation("parenthetical group");
284
+ var peg$e32 = peg$literalExpectation("(", false);
285
+ var peg$e33 = peg$otherExpectation("guillemet string");
286
+ var peg$e34 = peg$literalExpectation("\xAB", false);
287
+ var peg$e35 = peg$literalExpectation("\xBB", false);
288
+ var peg$e36 = peg$otherExpectation("HTTP/HTTPS host");
289
+ var peg$e37 = peg$literalExpectation(":", false);
290
+ var peg$e38 = peg$otherExpectation("identifier");
291
+ var peg$e39 = peg$classExpectation(["(", ")", "{", "}", "[", "]", "<", ">", "-", "=", ",", "/", ":", "`", "\"", "'", "\xAB", "\xBB", "\\", " ", "\u2192", "\u21D2", "\t", "\n", "\r"], true, false);
292
+ var peg$e40 = peg$literalExpectation("-", false);
293
+ var peg$e41 = peg$literalExpectation(">", false);
294
+ var peg$e42 = peg$otherExpectation("arguments with implicit parentheses");
295
+ var peg$e43 = peg$classExpectation([" ", "\t"], false, false);
296
+ var peg$e44 = peg$otherExpectation("integer");
297
+ var peg$e45 = peg$otherExpectation("lambda function");
298
+ var peg$e46 = peg$literalExpectation("=", false);
299
+ var peg$e47 = peg$otherExpectation("path with a leading slash");
300
+ var peg$e48 = peg$literalExpectation("/", false);
301
+ var peg$e49 = peg$otherExpectation("list");
302
+ var peg$e50 = peg$literalExpectation("/*", false);
303
+ var peg$e51 = peg$literalExpectation("*/", false);
304
+ var peg$e52 = peg$literalExpectation("\n", false);
305
+ var peg$e53 = peg$literalExpectation("\r\n", false);
306
+ var peg$e54 = peg$literalExpectation("\r", false);
307
+ var peg$e55 = peg$otherExpectation("number");
308
+ var peg$e56 = peg$otherExpectation("object literal");
309
+ var peg$e57 = peg$literalExpectation("{", false);
310
+ var peg$e58 = peg$otherExpectation("object getter");
311
+ var peg$e59 = peg$otherExpectation("object identifier");
312
+ var peg$e60 = peg$otherExpectation("object key");
313
+ var peg$e61 = peg$otherExpectation("object property");
314
+ var peg$e62 = peg$otherExpectation("function arguments in parentheses");
315
+ var peg$e63 = peg$otherExpectation("slash-separated path");
316
+ var peg$e64 = peg$otherExpectation("path element");
317
+ var peg$e65 = peg$classExpectation(["(", ")", "{", "}", "[", "]", ",", ":", "/", "\\", " ", "\t", "\n", "\r"], true, false);
318
+ var peg$e66 = peg$otherExpectation("function call using protocol: syntax");
319
+ var peg$e67 = peg$otherExpectation("protocol");
320
+ var peg$e68 = peg$otherExpectation("reserved protocol");
321
+ var peg$e69 = peg$literalExpectation("https", false);
322
+ var peg$e70 = peg$literalExpectation("http", false);
323
+ var peg$e71 = peg$literalExpectation("new", false);
324
+ var peg$e72 = peg$literalExpectation("package", false);
325
+ var peg$e73 = peg$literalExpectation("treehttps", false);
326
+ var peg$e74 = peg$literalExpectation("treehttp", false);
327
+ var peg$e75 = peg$literalExpectation("tree", false);
328
+ var peg$e76 = peg$otherExpectation("scope reference");
329
+ var peg$e77 = peg$literalExpectation(",", false);
330
+ var peg$e78 = peg$literalExpectation("#!", false);
331
+ var peg$e79 = peg$classExpectation(["\n", "\r"], true, false);
332
+ var peg$e80 = peg$classExpectation(["+", "-"], false, false);
333
+ var peg$e81 = peg$literalExpectation("\u2192", false);
334
+ var peg$e82 = peg$literalExpectation("->", false);
335
+ var peg$e83 = peg$otherExpectation("single quote string");
336
+ var peg$e84 = peg$literalExpectation("'", false);
337
+ var peg$e85 = peg$otherExpectation("string");
338
+ var peg$e86 = peg$otherExpectation("template");
339
+ var peg$e87 = peg$literalExpectation("${", false);
340
+ var peg$e88 = peg$otherExpectation("template text");
341
+ var peg$e89 = peg$otherExpectation("template literal");
342
+ var peg$e90 = peg$literalExpectation("`", false);
343
+ var peg$e91 = peg$otherExpectation("template substitution");
332
344
 
333
345
  var peg$f0 = function() { return ""; };
334
346
  var peg$f1 = function(path) {
@@ -340,84 +352,129 @@ function peg$parse(input, options) {
340
352
  var peg$f3 = function(entries) {
341
353
  return annotate(makeArray(entries ?? []), location());
342
354
  };
343
- var peg$f4 = function() {
344
- error("Expected right curly brace");
345
- };
355
+ var peg$f4 = function(entries) {
356
+ return annotate(entries, location());
357
+ };
346
358
  var peg$f5 = function() {
347
- error("Expected right bracket");
348
- };
359
+ error("Expected right curly brace");
360
+ };
349
361
  var peg$f6 = function() {
350
- error("Expected right parenthesis");
351
- };
352
- var peg$f7 = function(chars) { return chars.join(""); };
353
- var peg$f8 = function() {
362
+ error("Expected right bracket");
363
+ };
364
+ var peg$f7 = function() {
365
+ error("Expected right parenthesis");
366
+ };
367
+ var peg$f8 = function(chars) { return chars.join(""); };
368
+ var peg$f9 = function() { return "\0"; };
369
+ var peg$f10 = function() { return "\b"; };
370
+ var peg$f11 = function() { return "\f"; };
371
+ var peg$f12 = function() { return "\n"; };
372
+ var peg$f13 = function() { return "\r"; };
373
+ var peg$f14 = function() { return "\t"; };
374
+ var peg$f15 = function() { return "\v"; };
375
+ var peg$f16 = function() {
354
376
  return parseFloat(text());
355
377
  };
356
- var peg$f9 = function(target, chain, end) {
357
- if (end) {
358
- chain.push(end);
359
- }
360
- return annotate(makeFunctionCall(target, chain), location());
361
- };
362
- var peg$f10 = function(chars) { return chars.join(""); };
363
- var peg$f11 = function() { return text(); };
364
- var peg$f12 = function(chars) { return chars.join(""); };
365
- var peg$f13 = function() {
378
+ var peg$f17 = function(target, chain, end) {
379
+ if (end) {
380
+ chain.push(end);
381
+ }
382
+ return annotate(makeFunctionCall(target, chain), location());
383
+ };
384
+ var peg$f18 = function(expr) {
385
+ return annotate(expr, location());
386
+ };
387
+ var peg$f19 = function(chars) { return chars.join(""); };
388
+ var peg$f20 = function() { return text(); };
389
+ var peg$f21 = function(chars) { return chars.join(""); };
390
+ var peg$f22 = function(list) {
391
+ return annotate(list, location());
392
+ };
393
+ var peg$f23 = function(args) {
394
+ /* Stuff */
395
+ return annotate(args, location());
396
+ };
397
+ var peg$f24 = function() {
366
398
  return parseInt(text());
367
399
  };
368
- var peg$f14 = function(expr) {
400
+ var peg$f25 = function(expr) {
369
401
  return annotate([ops.lambda, null, expr], location());
370
402
  };
371
- var peg$f15 = function() { return annotate([""], location()); };
372
- var peg$f16 = function() { return null; };
373
- var peg$f17 = function(entries) {
403
+ var peg$f26 = function(path) {
404
+ return annotate(path, location());
405
+ };
406
+ var peg$f27 = function() {
407
+ return annotate([""], location());
408
+ };
409
+ var peg$f28 = function(list) {
410
+ return annotate(list, location());
411
+ };
412
+ var peg$f29 = function() { return null; };
413
+ var peg$f30 = function(entries) {
374
414
  return annotate(makeObject(entries ?? [], ops.object), location());
375
415
  };
376
- var peg$f18 = function(key, value) {
377
- return annotate([key, [ops.getter, value]], location());
378
- };
379
- var peg$f19 = function(key) {
416
+ var peg$f31 = function(entries) {
417
+ return annotate(entries, location());
418
+ };
419
+ var peg$f32 = function(key, value) {
420
+ return annotate([key, [ops.getter, value]], location());
421
+ };
422
+ var peg$f33 = function(key) {
380
423
  return annotate([key, [ops.inherited, key]], location());
381
424
  };
382
- var peg$f20 = function(hiddenKey) { return hiddenKey.join(""); };
383
- var peg$f21 = function(parameters, expr) {
384
- return annotate([ops.lambda, parameters ?? [], expr], location());
385
- };
386
- var peg$f22 = function(list) {
387
- return list ?? annotate([undefined], location());
425
+ var peg$f34 = function(hiddenKey) { return hiddenKey.join(""); };
426
+ var peg$f35 = function(key, value) {
427
+ return annotate([key, value], location());
428
+ };
429
+ var peg$f36 = function(parameters, expr) {
430
+ return annotate([ops.lambda, parameters ?? [], expr], location());
431
+ };
432
+ var peg$f37 = function(list) {
433
+ return annotate(list ?? [undefined], location());
388
434
  };
389
- var peg$f23 = function(steps) {
435
+ var peg$f38 = function(steps) {
390
436
  return annotate(makePipeline(steps), location());
391
437
  };
392
- var peg$f24 = function(chars) { return chars.join(""); };
393
- var peg$f25 = function(protocol, host, path) {
438
+ var peg$f39 = function(path) {
439
+ return annotate(path, location());
440
+ };
441
+ var peg$f40 = function(chars) { return chars.join(""); };
442
+ var peg$f41 = function(protocol, host, path) {
394
443
  return annotate([protocol, host, ...(path ?? [])], location());
395
444
  };
396
- var peg$f26 = function() { return ops.https; };
397
- var peg$f27 = function() { return ops.http; };
398
- var peg$f28 = function() { return ops.constructor; };
399
- var peg$f29 = function() { return [ops.scope, "@package"] };
400
- var peg$f30 = function() { return ops.treeHttps; };
401
- var peg$f31 = function() { return ops.treeHttp; };
402
- var peg$f32 = function() { return ops.treeHttps; };
403
- var peg$f33 = function(key) {
445
+ var peg$f42 = function() { return ops.https; };
446
+ var peg$f43 = function() { return ops.http; };
447
+ var peg$f44 = function() { return ops.constructor; };
448
+ var peg$f45 = function() { return [ops.scope, "@package"] };
449
+ var peg$f46 = function() { return ops.treeHttps; };
450
+ var peg$f47 = function() { return ops.treeHttp; };
451
+ var peg$f48 = function() { return ops.treeHttps; };
452
+ var peg$f49 = function(key) {
404
453
  return annotate([ops.scope, key], location());
405
454
  };
406
- var peg$f34 = function() { return null; };
407
- var peg$f35 = function() { return null; };
408
- var peg$f36 = function(chars) { return chars.join(""); };
409
- var peg$f37 = function(expr) { return [ops.spread, expr]; };
410
- var peg$f38 = function(contents) {
455
+ var peg$f50 = function() { return null; };
456
+ var peg$f51 = function() { return null; };
457
+ var peg$f52 = function(chars) { return chars.join(""); };
458
+ var peg$f53 = function(expr) {
459
+ return annotate([ops.spread, expr], location());
460
+ };
461
+ var peg$f54 = function(contents) {
411
462
  return annotate([ops.lambda, null, contents], location());
412
463
  };
413
- var peg$f39 = function(parts) {
464
+ var peg$f55 = function(parts) {
414
465
  return annotate(makeTemplate(parts), location());
415
466
  };
416
- var peg$f40 = function(chars) { return chars.join(""); };
417
- var peg$f41 = function(parts) {
467
+ var peg$f56 = function(chars) { return chars.join(""); };
468
+ var peg$f57 = function(contents) {
469
+ return annotate(contents, location());
470
+ };
471
+ var peg$f58 = function(parts) {
418
472
  return annotate(makeTemplate(parts), location());
419
473
  };
420
- var peg$f42 = function(chars) { return chars.join(""); };
474
+ var peg$f59 = function(chars) { return chars.join(""); };
475
+ var peg$f60 = function(expr) {
476
+ return annotate(expr, location());
477
+ };
421
478
  var peg$currPos = options.peg$currPos | 0;
422
479
  var peg$savedPos = peg$currPos;
423
480
  var peg$posDetailsCache = [{ line: 1, column: 1 }];
@@ -749,7 +806,8 @@ function peg$parse(input, options) {
749
806
  if (s2 === peg$FAILED) {
750
807
  s2 = null;
751
808
  }
752
- s0 = s1;
809
+ peg$savedPos = s0;
810
+ s0 = peg$f4(s1);
753
811
  } else {
754
812
  peg$currPos = s0;
755
813
  s0 = peg$FAILED;
@@ -827,7 +885,7 @@ function peg$parse(input, options) {
827
885
  s1 = null;
828
886
  }
829
887
  peg$savedPos = s0;
830
- s1 = peg$f4();
888
+ s1 = peg$f5();
831
889
  s0 = s1;
832
890
  }
833
891
 
@@ -857,7 +915,7 @@ function peg$parse(input, options) {
857
915
  s1 = null;
858
916
  }
859
917
  peg$savedPos = s0;
860
- s1 = peg$f5();
918
+ s1 = peg$f6();
861
919
  s0 = s1;
862
920
  }
863
921
 
@@ -887,7 +945,7 @@ function peg$parse(input, options) {
887
945
  s1 = null;
888
946
  }
889
947
  peg$savedPos = s0;
890
- s1 = peg$f6();
948
+ s1 = peg$f7();
891
949
  s0 = s1;
892
950
  }
893
951
 
@@ -998,7 +1056,7 @@ function peg$parse(input, options) {
998
1056
  }
999
1057
  if (s3 !== peg$FAILED) {
1000
1058
  peg$savedPos = s0;
1001
- s0 = peg$f7(s2);
1059
+ s0 = peg$f8(s2);
1002
1060
  } else {
1003
1061
  peg$currPos = s0;
1004
1062
  s0 = peg$FAILED;
@@ -1083,30 +1141,135 @@ function peg$parse(input, options) {
1083
1141
 
1084
1142
  peg$silentFails++;
1085
1143
  s0 = peg$currPos;
1086
- if (input.charCodeAt(peg$currPos) === 92) {
1144
+ if (input.substr(peg$currPos, 2) === peg$c10) {
1087
1145
  s1 = peg$c10;
1088
- peg$currPos++;
1146
+ peg$currPos += 2;
1089
1147
  } else {
1090
1148
  s1 = peg$FAILED;
1091
1149
  if (peg$silentFails === 0) { peg$fail(peg$e19); }
1092
1150
  }
1093
1151
  if (s1 !== peg$FAILED) {
1094
- if (input.length > peg$currPos) {
1095
- s2 = input.charAt(peg$currPos);
1096
- peg$currPos++;
1152
+ peg$savedPos = s0;
1153
+ s1 = peg$f9();
1154
+ }
1155
+ s0 = s1;
1156
+ if (s0 === peg$FAILED) {
1157
+ s0 = peg$currPos;
1158
+ if (input.substr(peg$currPos, 2) === peg$c11) {
1159
+ s1 = peg$c11;
1160
+ peg$currPos += 2;
1097
1161
  } else {
1098
- s2 = peg$FAILED;
1099
- if (peg$silentFails === 0) { peg$fail(peg$e7); }
1162
+ s1 = peg$FAILED;
1163
+ if (peg$silentFails === 0) { peg$fail(peg$e20); }
1100
1164
  }
1101
- if (s2 !== peg$FAILED) {
1102
- s0 = s2;
1103
- } else {
1104
- peg$currPos = s0;
1105
- s0 = peg$FAILED;
1165
+ if (s1 !== peg$FAILED) {
1166
+ peg$savedPos = s0;
1167
+ s1 = peg$f10();
1168
+ }
1169
+ s0 = s1;
1170
+ if (s0 === peg$FAILED) {
1171
+ s0 = peg$currPos;
1172
+ if (input.substr(peg$currPos, 2) === peg$c12) {
1173
+ s1 = peg$c12;
1174
+ peg$currPos += 2;
1175
+ } else {
1176
+ s1 = peg$FAILED;
1177
+ if (peg$silentFails === 0) { peg$fail(peg$e21); }
1178
+ }
1179
+ if (s1 !== peg$FAILED) {
1180
+ peg$savedPos = s0;
1181
+ s1 = peg$f11();
1182
+ }
1183
+ s0 = s1;
1184
+ if (s0 === peg$FAILED) {
1185
+ s0 = peg$currPos;
1186
+ if (input.substr(peg$currPos, 2) === peg$c13) {
1187
+ s1 = peg$c13;
1188
+ peg$currPos += 2;
1189
+ } else {
1190
+ s1 = peg$FAILED;
1191
+ if (peg$silentFails === 0) { peg$fail(peg$e22); }
1192
+ }
1193
+ if (s1 !== peg$FAILED) {
1194
+ peg$savedPos = s0;
1195
+ s1 = peg$f12();
1196
+ }
1197
+ s0 = s1;
1198
+ if (s0 === peg$FAILED) {
1199
+ s0 = peg$currPos;
1200
+ if (input.substr(peg$currPos, 2) === peg$c14) {
1201
+ s1 = peg$c14;
1202
+ peg$currPos += 2;
1203
+ } else {
1204
+ s1 = peg$FAILED;
1205
+ if (peg$silentFails === 0) { peg$fail(peg$e23); }
1206
+ }
1207
+ if (s1 !== peg$FAILED) {
1208
+ peg$savedPos = s0;
1209
+ s1 = peg$f13();
1210
+ }
1211
+ s0 = s1;
1212
+ if (s0 === peg$FAILED) {
1213
+ s0 = peg$currPos;
1214
+ if (input.substr(peg$currPos, 2) === peg$c15) {
1215
+ s1 = peg$c15;
1216
+ peg$currPos += 2;
1217
+ } else {
1218
+ s1 = peg$FAILED;
1219
+ if (peg$silentFails === 0) { peg$fail(peg$e24); }
1220
+ }
1221
+ if (s1 !== peg$FAILED) {
1222
+ peg$savedPos = s0;
1223
+ s1 = peg$f14();
1224
+ }
1225
+ s0 = s1;
1226
+ if (s0 === peg$FAILED) {
1227
+ s0 = peg$currPos;
1228
+ if (input.substr(peg$currPos, 2) === peg$c16) {
1229
+ s1 = peg$c16;
1230
+ peg$currPos += 2;
1231
+ } else {
1232
+ s1 = peg$FAILED;
1233
+ if (peg$silentFails === 0) { peg$fail(peg$e25); }
1234
+ }
1235
+ if (s1 !== peg$FAILED) {
1236
+ peg$savedPos = s0;
1237
+ s1 = peg$f15();
1238
+ }
1239
+ s0 = s1;
1240
+ if (s0 === peg$FAILED) {
1241
+ s0 = peg$currPos;
1242
+ if (input.charCodeAt(peg$currPos) === 92) {
1243
+ s1 = peg$c17;
1244
+ peg$currPos++;
1245
+ } else {
1246
+ s1 = peg$FAILED;
1247
+ if (peg$silentFails === 0) { peg$fail(peg$e26); }
1248
+ }
1249
+ if (s1 !== peg$FAILED) {
1250
+ if (input.length > peg$currPos) {
1251
+ s2 = input.charAt(peg$currPos);
1252
+ peg$currPos++;
1253
+ } else {
1254
+ s2 = peg$FAILED;
1255
+ if (peg$silentFails === 0) { peg$fail(peg$e7); }
1256
+ }
1257
+ if (s2 !== peg$FAILED) {
1258
+ s0 = s2;
1259
+ } else {
1260
+ peg$currPos = s0;
1261
+ s0 = peg$FAILED;
1262
+ }
1263
+ } else {
1264
+ peg$currPos = s0;
1265
+ s0 = peg$FAILED;
1266
+ }
1267
+ }
1268
+ }
1269
+ }
1270
+ }
1271
+ }
1106
1272
  }
1107
- } else {
1108
- peg$currPos = s0;
1109
- s0 = peg$FAILED;
1110
1273
  }
1111
1274
  peg$silentFails--;
1112
1275
  if (s0 === peg$FAILED) {
@@ -1146,7 +1309,7 @@ function peg$parse(input, options) {
1146
1309
  peg$silentFails--;
1147
1310
  if (s0 === peg$FAILED) {
1148
1311
  s1 = peg$FAILED;
1149
- if (peg$silentFails === 0) { peg$fail(peg$e20); }
1312
+ if (peg$silentFails === 0) { peg$fail(peg$e27); }
1150
1313
  }
1151
1314
 
1152
1315
  return s0;
@@ -1166,17 +1329,17 @@ function peg$parse(input, options) {
1166
1329
  s2 = null;
1167
1330
  }
1168
1331
  if (input.charCodeAt(peg$currPos) === 46) {
1169
- s3 = peg$c11;
1332
+ s3 = peg$c18;
1170
1333
  peg$currPos++;
1171
1334
  } else {
1172
1335
  s3 = peg$FAILED;
1173
- if (peg$silentFails === 0) { peg$fail(peg$e22); }
1336
+ if (peg$silentFails === 0) { peg$fail(peg$e29); }
1174
1337
  }
1175
1338
  if (s3 !== peg$FAILED) {
1176
1339
  s4 = peg$parsedigits();
1177
1340
  if (s4 !== peg$FAILED) {
1178
1341
  peg$savedPos = s0;
1179
- s0 = peg$f8();
1342
+ s0 = peg$f16();
1180
1343
  } else {
1181
1344
  peg$currPos = s0;
1182
1345
  s0 = peg$FAILED;
@@ -1188,7 +1351,7 @@ function peg$parse(input, options) {
1188
1351
  peg$silentFails--;
1189
1352
  if (s0 === peg$FAILED) {
1190
1353
  s1 = peg$FAILED;
1191
- if (peg$silentFails === 0) { peg$fail(peg$e21); }
1354
+ if (peg$silentFails === 0) { peg$fail(peg$e28); }
1192
1355
  }
1193
1356
 
1194
1357
  return s0;
@@ -1212,7 +1375,7 @@ function peg$parse(input, options) {
1212
1375
  s3 = null;
1213
1376
  }
1214
1377
  peg$savedPos = s0;
1215
- s0 = peg$f9(s1, s2, s3);
1378
+ s0 = peg$f17(s1, s2, s3);
1216
1379
  } else {
1217
1380
  peg$currPos = s0;
1218
1381
  s0 = peg$FAILED;
@@ -1220,7 +1383,7 @@ function peg$parse(input, options) {
1220
1383
  peg$silentFails--;
1221
1384
  if (s0 === peg$FAILED) {
1222
1385
  s1 = peg$FAILED;
1223
- if (peg$silentFails === 0) { peg$fail(peg$e23); }
1386
+ if (peg$silentFails === 0) { peg$fail(peg$e30); }
1224
1387
  }
1225
1388
 
1226
1389
  return s0;
@@ -1232,11 +1395,11 @@ function peg$parse(input, options) {
1232
1395
  peg$silentFails++;
1233
1396
  s0 = peg$currPos;
1234
1397
  if (input.charCodeAt(peg$currPos) === 40) {
1235
- s1 = peg$c12;
1398
+ s1 = peg$c19;
1236
1399
  peg$currPos++;
1237
1400
  } else {
1238
1401
  s1 = peg$FAILED;
1239
- if (peg$silentFails === 0) { peg$fail(peg$e25); }
1402
+ if (peg$silentFails === 0) { peg$fail(peg$e32); }
1240
1403
  }
1241
1404
  if (s1 !== peg$FAILED) {
1242
1405
  s2 = peg$parse__();
@@ -1245,7 +1408,8 @@ function peg$parse(input, options) {
1245
1408
  s4 = peg$parse__();
1246
1409
  s5 = peg$parseclosingParen();
1247
1410
  if (s5 !== peg$FAILED) {
1248
- s0 = s3;
1411
+ peg$savedPos = s0;
1412
+ s0 = peg$f18(s3);
1249
1413
  } else {
1250
1414
  peg$currPos = s0;
1251
1415
  s0 = peg$FAILED;
@@ -1261,7 +1425,7 @@ function peg$parse(input, options) {
1261
1425
  peg$silentFails--;
1262
1426
  if (s0 === peg$FAILED) {
1263
1427
  s1 = peg$FAILED;
1264
- if (peg$silentFails === 0) { peg$fail(peg$e24); }
1428
+ if (peg$silentFails === 0) { peg$fail(peg$e31); }
1265
1429
  }
1266
1430
 
1267
1431
  return s0;
@@ -1273,11 +1437,11 @@ function peg$parse(input, options) {
1273
1437
  peg$silentFails++;
1274
1438
  s0 = peg$currPos;
1275
1439
  if (input.charCodeAt(peg$currPos) === 171) {
1276
- s1 = peg$c13;
1440
+ s1 = peg$c20;
1277
1441
  peg$currPos++;
1278
1442
  } else {
1279
1443
  s1 = peg$FAILED;
1280
- if (peg$silentFails === 0) { peg$fail(peg$e27); }
1444
+ if (peg$silentFails === 0) { peg$fail(peg$e34); }
1281
1445
  }
1282
1446
  if (s1 !== peg$FAILED) {
1283
1447
  s2 = [];
@@ -1287,15 +1451,15 @@ function peg$parse(input, options) {
1287
1451
  s3 = peg$parseguillemetStringChar();
1288
1452
  }
1289
1453
  if (input.charCodeAt(peg$currPos) === 187) {
1290
- s3 = peg$c14;
1454
+ s3 = peg$c21;
1291
1455
  peg$currPos++;
1292
1456
  } else {
1293
1457
  s3 = peg$FAILED;
1294
- if (peg$silentFails === 0) { peg$fail(peg$e28); }
1458
+ if (peg$silentFails === 0) { peg$fail(peg$e35); }
1295
1459
  }
1296
1460
  if (s3 !== peg$FAILED) {
1297
1461
  peg$savedPos = s0;
1298
- s0 = peg$f10(s2);
1462
+ s0 = peg$f19(s2);
1299
1463
  } else {
1300
1464
  peg$currPos = s0;
1301
1465
  s0 = peg$FAILED;
@@ -1307,7 +1471,7 @@ function peg$parse(input, options) {
1307
1471
  peg$silentFails--;
1308
1472
  if (s0 === peg$FAILED) {
1309
1473
  s1 = peg$FAILED;
1310
- if (peg$silentFails === 0) { peg$fail(peg$e26); }
1474
+ if (peg$silentFails === 0) { peg$fail(peg$e33); }
1311
1475
  }
1312
1476
 
1313
1477
  return s0;
@@ -1320,11 +1484,11 @@ function peg$parse(input, options) {
1320
1484
  s1 = peg$currPos;
1321
1485
  peg$silentFails++;
1322
1486
  if (input.charCodeAt(peg$currPos) === 187) {
1323
- s2 = peg$c14;
1487
+ s2 = peg$c21;
1324
1488
  peg$currPos++;
1325
1489
  } else {
1326
1490
  s2 = peg$FAILED;
1327
- if (peg$silentFails === 0) { peg$fail(peg$e28); }
1491
+ if (peg$silentFails === 0) { peg$fail(peg$e35); }
1328
1492
  }
1329
1493
  if (s2 === peg$FAILED) {
1330
1494
  s2 = peg$parsenewLine();
@@ -1361,11 +1525,11 @@ function peg$parse(input, options) {
1361
1525
  if (s1 !== peg$FAILED) {
1362
1526
  s2 = peg$currPos;
1363
1527
  if (input.charCodeAt(peg$currPos) === 58) {
1364
- s3 = peg$c15;
1528
+ s3 = peg$c22;
1365
1529
  peg$currPos++;
1366
1530
  } else {
1367
1531
  s3 = peg$FAILED;
1368
- if (peg$silentFails === 0) { peg$fail(peg$e30); }
1532
+ if (peg$silentFails === 0) { peg$fail(peg$e37); }
1369
1533
  }
1370
1534
  if (s3 !== peg$FAILED) {
1371
1535
  s4 = peg$parsenumber();
@@ -1384,7 +1548,7 @@ function peg$parse(input, options) {
1384
1548
  s2 = null;
1385
1549
  }
1386
1550
  peg$savedPos = s0;
1387
- s0 = peg$f11();
1551
+ s0 = peg$f20();
1388
1552
  } else {
1389
1553
  peg$currPos = s0;
1390
1554
  s0 = peg$FAILED;
@@ -1392,7 +1556,7 @@ function peg$parse(input, options) {
1392
1556
  peg$silentFails--;
1393
1557
  if (s0 === peg$FAILED) {
1394
1558
  s1 = peg$FAILED;
1395
- if (peg$silentFails === 0) { peg$fail(peg$e29); }
1559
+ if (peg$silentFails === 0) { peg$fail(peg$e36); }
1396
1560
  }
1397
1561
 
1398
1562
  return s0;
@@ -1415,13 +1579,13 @@ function peg$parse(input, options) {
1415
1579
  }
1416
1580
  if (s1 !== peg$FAILED) {
1417
1581
  peg$savedPos = s0;
1418
- s1 = peg$f12(s1);
1582
+ s1 = peg$f21(s1);
1419
1583
  }
1420
1584
  s0 = s1;
1421
1585
  peg$silentFails--;
1422
1586
  if (s0 === peg$FAILED) {
1423
1587
  s1 = peg$FAILED;
1424
- if (peg$silentFails === 0) { peg$fail(peg$e31); }
1588
+ if (peg$silentFails === 0) { peg$fail(peg$e38); }
1425
1589
  }
1426
1590
 
1427
1591
  return s0;
@@ -1435,26 +1599,26 @@ function peg$parse(input, options) {
1435
1599
  peg$currPos++;
1436
1600
  } else {
1437
1601
  s0 = peg$FAILED;
1438
- if (peg$silentFails === 0) { peg$fail(peg$e32); }
1602
+ if (peg$silentFails === 0) { peg$fail(peg$e39); }
1439
1603
  }
1440
1604
  if (s0 === peg$FAILED) {
1441
1605
  s0 = peg$currPos;
1442
1606
  if (input.charCodeAt(peg$currPos) === 45) {
1443
- s1 = peg$c16;
1607
+ s1 = peg$c23;
1444
1608
  peg$currPos++;
1445
1609
  } else {
1446
1610
  s1 = peg$FAILED;
1447
- if (peg$silentFails === 0) { peg$fail(peg$e33); }
1611
+ if (peg$silentFails === 0) { peg$fail(peg$e40); }
1448
1612
  }
1449
1613
  if (s1 !== peg$FAILED) {
1450
1614
  s2 = peg$currPos;
1451
1615
  peg$silentFails++;
1452
1616
  if (input.charCodeAt(peg$currPos) === 62) {
1453
- s3 = peg$c17;
1617
+ s3 = peg$c24;
1454
1618
  peg$currPos++;
1455
1619
  } else {
1456
1620
  s3 = peg$FAILED;
1457
- if (peg$silentFails === 0) { peg$fail(peg$e34); }
1621
+ if (peg$silentFails === 0) { peg$fail(peg$e41); }
1458
1622
  }
1459
1623
  peg$silentFails--;
1460
1624
  if (s3 === peg$FAILED) {
@@ -1515,7 +1679,8 @@ function peg$parse(input, options) {
1515
1679
  if (s2 === peg$FAILED) {
1516
1680
  s2 = null;
1517
1681
  }
1518
- s0 = s1;
1682
+ peg$savedPos = s0;
1683
+ s0 = peg$f22(s1);
1519
1684
  } else {
1520
1685
  peg$currPos = s0;
1521
1686
  s0 = peg$FAILED;
@@ -1581,7 +1746,8 @@ function peg$parse(input, options) {
1581
1746
  if (s3 === peg$FAILED) {
1582
1747
  s3 = null;
1583
1748
  }
1584
- s0 = s2;
1749
+ peg$savedPos = s0;
1750
+ s0 = peg$f23(s2);
1585
1751
  } else {
1586
1752
  peg$currPos = s0;
1587
1753
  s0 = peg$FAILED;
@@ -1593,7 +1759,7 @@ function peg$parse(input, options) {
1593
1759
  peg$silentFails--;
1594
1760
  if (s0 === peg$FAILED) {
1595
1761
  s1 = peg$FAILED;
1596
- if (peg$silentFails === 0) { peg$fail(peg$e35); }
1762
+ if (peg$silentFails === 0) { peg$fail(peg$e42); }
1597
1763
  }
1598
1764
 
1599
1765
  return s0;
@@ -1607,7 +1773,7 @@ function peg$parse(input, options) {
1607
1773
  peg$currPos++;
1608
1774
  } else {
1609
1775
  s0 = peg$FAILED;
1610
- if (peg$silentFails === 0) { peg$fail(peg$e36); }
1776
+ if (peg$silentFails === 0) { peg$fail(peg$e43); }
1611
1777
  }
1612
1778
 
1613
1779
  return s0;
@@ -1625,7 +1791,7 @@ function peg$parse(input, options) {
1625
1791
  s2 = peg$parsedigits();
1626
1792
  if (s2 !== peg$FAILED) {
1627
1793
  peg$savedPos = s0;
1628
- s0 = peg$f13();
1794
+ s0 = peg$f24();
1629
1795
  } else {
1630
1796
  peg$currPos = s0;
1631
1797
  s0 = peg$FAILED;
@@ -1633,7 +1799,7 @@ function peg$parse(input, options) {
1633
1799
  peg$silentFails--;
1634
1800
  if (s0 === peg$FAILED) {
1635
1801
  s1 = peg$FAILED;
1636
- if (peg$silentFails === 0) { peg$fail(peg$e37); }
1802
+ if (peg$silentFails === 0) { peg$fail(peg$e44); }
1637
1803
  }
1638
1804
 
1639
1805
  return s0;
@@ -1645,18 +1811,18 @@ function peg$parse(input, options) {
1645
1811
  peg$silentFails++;
1646
1812
  s0 = peg$currPos;
1647
1813
  if (input.charCodeAt(peg$currPos) === 61) {
1648
- s1 = peg$c18;
1814
+ s1 = peg$c25;
1649
1815
  peg$currPos++;
1650
1816
  } else {
1651
1817
  s1 = peg$FAILED;
1652
- if (peg$silentFails === 0) { peg$fail(peg$e39); }
1818
+ if (peg$silentFails === 0) { peg$fail(peg$e46); }
1653
1819
  }
1654
1820
  if (s1 !== peg$FAILED) {
1655
1821
  s2 = peg$parse__();
1656
1822
  s3 = peg$parsepipeline();
1657
1823
  if (s3 !== peg$FAILED) {
1658
1824
  peg$savedPos = s0;
1659
- s0 = peg$f14(s3);
1825
+ s0 = peg$f25(s3);
1660
1826
  } else {
1661
1827
  peg$currPos = s0;
1662
1828
  s0 = peg$FAILED;
@@ -1668,7 +1834,7 @@ function peg$parse(input, options) {
1668
1834
  peg$silentFails--;
1669
1835
  if (s0 === peg$FAILED) {
1670
1836
  s1 = peg$FAILED;
1671
- if (peg$silentFails === 0) { peg$fail(peg$e38); }
1837
+ if (peg$silentFails === 0) { peg$fail(peg$e45); }
1672
1838
  }
1673
1839
 
1674
1840
  return s0;
@@ -1680,15 +1846,16 @@ function peg$parse(input, options) {
1680
1846
  peg$silentFails++;
1681
1847
  s0 = peg$currPos;
1682
1848
  if (input.charCodeAt(peg$currPos) === 47) {
1683
- s1 = peg$c19;
1849
+ s1 = peg$c26;
1684
1850
  peg$currPos++;
1685
1851
  } else {
1686
1852
  s1 = peg$FAILED;
1687
- if (peg$silentFails === 0) { peg$fail(peg$e41); }
1853
+ if (peg$silentFails === 0) { peg$fail(peg$e48); }
1688
1854
  }
1689
1855
  if (s1 !== peg$FAILED) {
1690
1856
  s2 = peg$parsepath();
1691
- s0 = s2;
1857
+ peg$savedPos = s0;
1858
+ s0 = peg$f26(s2);
1692
1859
  } else {
1693
1860
  peg$currPos = s0;
1694
1861
  s0 = peg$FAILED;
@@ -1696,22 +1863,22 @@ function peg$parse(input, options) {
1696
1863
  if (s0 === peg$FAILED) {
1697
1864
  s0 = peg$currPos;
1698
1865
  if (input.charCodeAt(peg$currPos) === 47) {
1699
- s1 = peg$c19;
1866
+ s1 = peg$c26;
1700
1867
  peg$currPos++;
1701
1868
  } else {
1702
1869
  s1 = peg$FAILED;
1703
- if (peg$silentFails === 0) { peg$fail(peg$e41); }
1870
+ if (peg$silentFails === 0) { peg$fail(peg$e48); }
1704
1871
  }
1705
1872
  if (s1 !== peg$FAILED) {
1706
1873
  peg$savedPos = s0;
1707
- s1 = peg$f15();
1874
+ s1 = peg$f27();
1708
1875
  }
1709
1876
  s0 = s1;
1710
1877
  }
1711
1878
  peg$silentFails--;
1712
1879
  if (s0 === peg$FAILED) {
1713
1880
  s1 = peg$FAILED;
1714
- if (peg$silentFails === 0) { peg$fail(peg$e40); }
1881
+ if (peg$silentFails === 0) { peg$fail(peg$e47); }
1715
1882
  }
1716
1883
 
1717
1884
  return s0;
@@ -1752,7 +1919,8 @@ function peg$parse(input, options) {
1752
1919
  if (s2 === peg$FAILED) {
1753
1920
  s2 = null;
1754
1921
  }
1755
- s0 = s1;
1922
+ peg$savedPos = s0;
1923
+ s0 = peg$f28(s1);
1756
1924
  } else {
1757
1925
  peg$currPos = s0;
1758
1926
  s0 = peg$FAILED;
@@ -1760,7 +1928,7 @@ function peg$parse(input, options) {
1760
1928
  peg$silentFails--;
1761
1929
  if (s0 === peg$FAILED) {
1762
1930
  s1 = peg$FAILED;
1763
- if (peg$silentFails === 0) { peg$fail(peg$e42); }
1931
+ if (peg$silentFails === 0) { peg$fail(peg$e49); }
1764
1932
  }
1765
1933
 
1766
1934
  return s0;
@@ -1770,24 +1938,24 @@ function peg$parse(input, options) {
1770
1938
  var s0, s1, s2, s3, s4, s5;
1771
1939
 
1772
1940
  s0 = peg$currPos;
1773
- if (input.substr(peg$currPos, 2) === peg$c20) {
1774
- s1 = peg$c20;
1941
+ if (input.substr(peg$currPos, 2) === peg$c27) {
1942
+ s1 = peg$c27;
1775
1943
  peg$currPos += 2;
1776
1944
  } else {
1777
1945
  s1 = peg$FAILED;
1778
- if (peg$silentFails === 0) { peg$fail(peg$e43); }
1946
+ if (peg$silentFails === 0) { peg$fail(peg$e50); }
1779
1947
  }
1780
1948
  if (s1 !== peg$FAILED) {
1781
1949
  s2 = [];
1782
1950
  s3 = peg$currPos;
1783
1951
  s4 = peg$currPos;
1784
1952
  peg$silentFails++;
1785
- if (input.substr(peg$currPos, 2) === peg$c21) {
1786
- s5 = peg$c21;
1953
+ if (input.substr(peg$currPos, 2) === peg$c28) {
1954
+ s5 = peg$c28;
1787
1955
  peg$currPos += 2;
1788
1956
  } else {
1789
1957
  s5 = peg$FAILED;
1790
- if (peg$silentFails === 0) { peg$fail(peg$e44); }
1958
+ if (peg$silentFails === 0) { peg$fail(peg$e51); }
1791
1959
  }
1792
1960
  peg$silentFails--;
1793
1961
  if (s5 === peg$FAILED) {
@@ -1820,12 +1988,12 @@ function peg$parse(input, options) {
1820
1988
  s3 = peg$currPos;
1821
1989
  s4 = peg$currPos;
1822
1990
  peg$silentFails++;
1823
- if (input.substr(peg$currPos, 2) === peg$c21) {
1824
- s5 = peg$c21;
1991
+ if (input.substr(peg$currPos, 2) === peg$c28) {
1992
+ s5 = peg$c28;
1825
1993
  peg$currPos += 2;
1826
1994
  } else {
1827
1995
  s5 = peg$FAILED;
1828
- if (peg$silentFails === 0) { peg$fail(peg$e44); }
1996
+ if (peg$silentFails === 0) { peg$fail(peg$e51); }
1829
1997
  }
1830
1998
  peg$silentFails--;
1831
1999
  if (s5 === peg$FAILED) {
@@ -1854,16 +2022,16 @@ function peg$parse(input, options) {
1854
2022
  s3 = peg$FAILED;
1855
2023
  }
1856
2024
  }
1857
- if (input.substr(peg$currPos, 2) === peg$c21) {
1858
- s3 = peg$c21;
2025
+ if (input.substr(peg$currPos, 2) === peg$c28) {
2026
+ s3 = peg$c28;
1859
2027
  peg$currPos += 2;
1860
2028
  } else {
1861
2029
  s3 = peg$FAILED;
1862
- if (peg$silentFails === 0) { peg$fail(peg$e44); }
2030
+ if (peg$silentFails === 0) { peg$fail(peg$e51); }
1863
2031
  }
1864
2032
  if (s3 !== peg$FAILED) {
1865
2033
  peg$savedPos = s0;
1866
- s0 = peg$f16();
2034
+ s0 = peg$f29();
1867
2035
  } else {
1868
2036
  peg$currPos = s0;
1869
2037
  s0 = peg$FAILED;
@@ -1880,27 +2048,27 @@ function peg$parse(input, options) {
1880
2048
  var s0;
1881
2049
 
1882
2050
  if (input.charCodeAt(peg$currPos) === 10) {
1883
- s0 = peg$c22;
2051
+ s0 = peg$c29;
1884
2052
  peg$currPos++;
1885
2053
  } else {
1886
2054
  s0 = peg$FAILED;
1887
- if (peg$silentFails === 0) { peg$fail(peg$e45); }
2055
+ if (peg$silentFails === 0) { peg$fail(peg$e52); }
1888
2056
  }
1889
2057
  if (s0 === peg$FAILED) {
1890
- if (input.substr(peg$currPos, 2) === peg$c23) {
1891
- s0 = peg$c23;
2058
+ if (input.substr(peg$currPos, 2) === peg$c30) {
2059
+ s0 = peg$c30;
1892
2060
  peg$currPos += 2;
1893
2061
  } else {
1894
2062
  s0 = peg$FAILED;
1895
- if (peg$silentFails === 0) { peg$fail(peg$e46); }
2063
+ if (peg$silentFails === 0) { peg$fail(peg$e53); }
1896
2064
  }
1897
2065
  if (s0 === peg$FAILED) {
1898
2066
  if (input.charCodeAt(peg$currPos) === 13) {
1899
- s0 = peg$c24;
2067
+ s0 = peg$c31;
1900
2068
  peg$currPos++;
1901
2069
  } else {
1902
2070
  s0 = peg$FAILED;
1903
- if (peg$silentFails === 0) { peg$fail(peg$e47); }
2071
+ if (peg$silentFails === 0) { peg$fail(peg$e54); }
1904
2072
  }
1905
2073
  }
1906
2074
  }
@@ -1919,7 +2087,7 @@ function peg$parse(input, options) {
1919
2087
  peg$silentFails--;
1920
2088
  if (s0 === peg$FAILED) {
1921
2089
  s1 = peg$FAILED;
1922
- if (peg$silentFails === 0) { peg$fail(peg$e48); }
2090
+ if (peg$silentFails === 0) { peg$fail(peg$e55); }
1923
2091
  }
1924
2092
 
1925
2093
  return s0;
@@ -1931,11 +2099,11 @@ function peg$parse(input, options) {
1931
2099
  peg$silentFails++;
1932
2100
  s0 = peg$currPos;
1933
2101
  if (input.charCodeAt(peg$currPos) === 123) {
1934
- s1 = peg$c25;
2102
+ s1 = peg$c32;
1935
2103
  peg$currPos++;
1936
2104
  } else {
1937
2105
  s1 = peg$FAILED;
1938
- if (peg$silentFails === 0) { peg$fail(peg$e50); }
2106
+ if (peg$silentFails === 0) { peg$fail(peg$e57); }
1939
2107
  }
1940
2108
  if (s1 !== peg$FAILED) {
1941
2109
  s2 = peg$parse__();
@@ -1947,7 +2115,7 @@ function peg$parse(input, options) {
1947
2115
  s5 = peg$parseclosingBrace();
1948
2116
  if (s5 !== peg$FAILED) {
1949
2117
  peg$savedPos = s0;
1950
- s0 = peg$f17(s3);
2118
+ s0 = peg$f30(s3);
1951
2119
  } else {
1952
2120
  peg$currPos = s0;
1953
2121
  s0 = peg$FAILED;
@@ -1959,7 +2127,7 @@ function peg$parse(input, options) {
1959
2127
  peg$silentFails--;
1960
2128
  if (s0 === peg$FAILED) {
1961
2129
  s1 = peg$FAILED;
1962
- if (peg$silentFails === 0) { peg$fail(peg$e49); }
2130
+ if (peg$silentFails === 0) { peg$fail(peg$e56); }
1963
2131
  }
1964
2132
 
1965
2133
  return s0;
@@ -1999,7 +2167,8 @@ function peg$parse(input, options) {
1999
2167
  if (s2 === peg$FAILED) {
2000
2168
  s2 = null;
2001
2169
  }
2002
- s0 = s1;
2170
+ peg$savedPos = s0;
2171
+ s0 = peg$f31(s1);
2003
2172
  } else {
2004
2173
  peg$currPos = s0;
2005
2174
  s0 = peg$FAILED;
@@ -2034,18 +2203,18 @@ function peg$parse(input, options) {
2034
2203
  if (s1 !== peg$FAILED) {
2035
2204
  s2 = peg$parse__();
2036
2205
  if (input.charCodeAt(peg$currPos) === 61) {
2037
- s3 = peg$c18;
2206
+ s3 = peg$c25;
2038
2207
  peg$currPos++;
2039
2208
  } else {
2040
2209
  s3 = peg$FAILED;
2041
- if (peg$silentFails === 0) { peg$fail(peg$e39); }
2210
+ if (peg$silentFails === 0) { peg$fail(peg$e46); }
2042
2211
  }
2043
2212
  if (s3 !== peg$FAILED) {
2044
2213
  s4 = peg$parse__();
2045
2214
  s5 = peg$parsepipeline();
2046
2215
  if (s5 !== peg$FAILED) {
2047
2216
  peg$savedPos = s0;
2048
- s0 = peg$f18(s1, s5);
2217
+ s0 = peg$f32(s1, s5);
2049
2218
  } else {
2050
2219
  peg$currPos = s0;
2051
2220
  s0 = peg$FAILED;
@@ -2061,7 +2230,7 @@ function peg$parse(input, options) {
2061
2230
  peg$silentFails--;
2062
2231
  if (s0 === peg$FAILED) {
2063
2232
  s1 = peg$FAILED;
2064
- if (peg$silentFails === 0) { peg$fail(peg$e51); }
2233
+ if (peg$silentFails === 0) { peg$fail(peg$e58); }
2065
2234
  }
2066
2235
 
2067
2236
  return s0;
@@ -2075,13 +2244,13 @@ function peg$parse(input, options) {
2075
2244
  s1 = peg$parseidentifierOrString();
2076
2245
  if (s1 !== peg$FAILED) {
2077
2246
  peg$savedPos = s0;
2078
- s1 = peg$f19(s1);
2247
+ s1 = peg$f33(s1);
2079
2248
  }
2080
2249
  s0 = s1;
2081
2250
  peg$silentFails--;
2082
2251
  if (s0 === peg$FAILED) {
2083
2252
  s1 = peg$FAILED;
2084
- if (peg$silentFails === 0) { peg$fail(peg$e52); }
2253
+ if (peg$silentFails === 0) { peg$fail(peg$e59); }
2085
2254
  }
2086
2255
 
2087
2256
  return s0;
@@ -2094,11 +2263,11 @@ function peg$parse(input, options) {
2094
2263
  s0 = peg$currPos;
2095
2264
  s1 = peg$currPos;
2096
2265
  if (input.charCodeAt(peg$currPos) === 40) {
2097
- s2 = peg$c12;
2266
+ s2 = peg$c19;
2098
2267
  peg$currPos++;
2099
2268
  } else {
2100
2269
  s2 = peg$FAILED;
2101
- if (peg$silentFails === 0) { peg$fail(peg$e25); }
2270
+ if (peg$silentFails === 0) { peg$fail(peg$e32); }
2102
2271
  }
2103
2272
  if (s2 !== peg$FAILED) {
2104
2273
  s3 = peg$parseidentifierOrString();
@@ -2127,7 +2296,7 @@ function peg$parse(input, options) {
2127
2296
  }
2128
2297
  if (s1 !== peg$FAILED) {
2129
2298
  peg$savedPos = s0;
2130
- s1 = peg$f20(s1);
2299
+ s1 = peg$f34(s1);
2131
2300
  }
2132
2301
  s0 = s1;
2133
2302
  if (s0 === peg$FAILED) {
@@ -2136,7 +2305,7 @@ function peg$parse(input, options) {
2136
2305
  peg$silentFails--;
2137
2306
  if (s0 === peg$FAILED) {
2138
2307
  s1 = peg$FAILED;
2139
- if (peg$silentFails === 0) { peg$fail(peg$e53); }
2308
+ if (peg$silentFails === 0) { peg$fail(peg$e60); }
2140
2309
  }
2141
2310
 
2142
2311
  return s0;
@@ -2151,17 +2320,18 @@ function peg$parse(input, options) {
2151
2320
  if (s1 !== peg$FAILED) {
2152
2321
  s2 = peg$parse__();
2153
2322
  if (input.charCodeAt(peg$currPos) === 58) {
2154
- s3 = peg$c15;
2323
+ s3 = peg$c22;
2155
2324
  peg$currPos++;
2156
2325
  } else {
2157
2326
  s3 = peg$FAILED;
2158
- if (peg$silentFails === 0) { peg$fail(peg$e30); }
2327
+ if (peg$silentFails === 0) { peg$fail(peg$e37); }
2159
2328
  }
2160
2329
  if (s3 !== peg$FAILED) {
2161
2330
  s4 = peg$parse__();
2162
2331
  s5 = peg$parsepipeline();
2163
2332
  if (s5 !== peg$FAILED) {
2164
- s0 = [ s1, s5 ];
2333
+ peg$savedPos = s0;
2334
+ s0 = peg$f35(s1, s5);
2165
2335
  } else {
2166
2336
  peg$currPos = s0;
2167
2337
  s0 = peg$FAILED;
@@ -2177,7 +2347,7 @@ function peg$parse(input, options) {
2177
2347
  peg$silentFails--;
2178
2348
  if (s0 === peg$FAILED) {
2179
2349
  s1 = peg$FAILED;
2180
- if (peg$silentFails === 0) { peg$fail(peg$e54); }
2350
+ if (peg$silentFails === 0) { peg$fail(peg$e61); }
2181
2351
  }
2182
2352
 
2183
2353
  return s0;
@@ -2188,11 +2358,11 @@ function peg$parse(input, options) {
2188
2358
 
2189
2359
  s0 = peg$currPos;
2190
2360
  if (input.charCodeAt(peg$currPos) === 40) {
2191
- s1 = peg$c12;
2361
+ s1 = peg$c19;
2192
2362
  peg$currPos++;
2193
2363
  } else {
2194
2364
  s1 = peg$FAILED;
2195
- if (peg$silentFails === 0) { peg$fail(peg$e25); }
2365
+ if (peg$silentFails === 0) { peg$fail(peg$e32); }
2196
2366
  }
2197
2367
  if (s1 !== peg$FAILED) {
2198
2368
  s2 = peg$parse__();
@@ -2216,7 +2386,7 @@ function peg$parse(input, options) {
2216
2386
  s9 = peg$parsepipeline();
2217
2387
  if (s9 !== peg$FAILED) {
2218
2388
  peg$savedPos = s0;
2219
- s0 = peg$f21(s3, s9);
2389
+ s0 = peg$f36(s3, s9);
2220
2390
  } else {
2221
2391
  peg$currPos = s0;
2222
2392
  s0 = peg$FAILED;
@@ -2243,11 +2413,11 @@ function peg$parse(input, options) {
2243
2413
  peg$silentFails++;
2244
2414
  s0 = peg$currPos;
2245
2415
  if (input.charCodeAt(peg$currPos) === 40) {
2246
- s1 = peg$c12;
2416
+ s1 = peg$c19;
2247
2417
  peg$currPos++;
2248
2418
  } else {
2249
2419
  s1 = peg$FAILED;
2250
- if (peg$silentFails === 0) { peg$fail(peg$e25); }
2420
+ if (peg$silentFails === 0) { peg$fail(peg$e32); }
2251
2421
  }
2252
2422
  if (s1 !== peg$FAILED) {
2253
2423
  s2 = peg$parse__();
@@ -2265,7 +2435,7 @@ function peg$parse(input, options) {
2265
2435
  }
2266
2436
  if (s5 !== peg$FAILED) {
2267
2437
  peg$savedPos = s0;
2268
- s0 = peg$f22(s3);
2438
+ s0 = peg$f37(s3);
2269
2439
  } else {
2270
2440
  peg$currPos = s0;
2271
2441
  s0 = peg$FAILED;
@@ -2277,7 +2447,7 @@ function peg$parse(input, options) {
2277
2447
  peg$silentFails--;
2278
2448
  if (s0 === peg$FAILED) {
2279
2449
  s1 = peg$FAILED;
2280
- if (peg$silentFails === 0) { peg$fail(peg$e55); }
2450
+ if (peg$silentFails === 0) { peg$fail(peg$e62); }
2281
2451
  }
2282
2452
 
2283
2453
  return s0;
@@ -2331,7 +2501,7 @@ function peg$parse(input, options) {
2331
2501
  }
2332
2502
  if (s1 !== peg$FAILED) {
2333
2503
  peg$savedPos = s0;
2334
- s1 = peg$f23(s1);
2504
+ s1 = peg$f38(s1);
2335
2505
  }
2336
2506
  s0 = s1;
2337
2507
 
@@ -2339,38 +2509,42 @@ function peg$parse(input, options) {
2339
2509
  }
2340
2510
 
2341
2511
  function peg$parsepath() {
2342
- var s0, s1, s2, s3;
2512
+ var s0, s1, s2, s3, s4;
2343
2513
 
2344
2514
  peg$silentFails++;
2345
2515
  s0 = peg$currPos;
2346
- s1 = [];
2347
- s2 = peg$parsepathKey();
2348
- while (s2 !== peg$FAILED) {
2349
- s1.push(s2);
2350
- s2 = peg$currPos;
2516
+ s1 = peg$currPos;
2517
+ s2 = [];
2518
+ s3 = peg$parsepathKey();
2519
+ while (s3 !== peg$FAILED) {
2520
+ s2.push(s3);
2521
+ s3 = peg$currPos;
2351
2522
  if (input.charCodeAt(peg$currPos) === 47) {
2352
- s3 = peg$c19;
2523
+ s4 = peg$c26;
2353
2524
  peg$currPos++;
2354
2525
  } else {
2355
- s3 = peg$FAILED;
2356
- if (peg$silentFails === 0) { peg$fail(peg$e41); }
2526
+ s4 = peg$FAILED;
2527
+ if (peg$silentFails === 0) { peg$fail(peg$e48); }
2357
2528
  }
2358
- if (s3 !== peg$FAILED) {
2359
- s3 = peg$parsepathKey();
2360
- s2 = s3;
2529
+ if (s4 !== peg$FAILED) {
2530
+ s4 = peg$parsepathKey();
2531
+ s3 = s4;
2361
2532
  } else {
2362
- s2 = s3;
2533
+ s3 = s4;
2363
2534
  }
2364
2535
  }
2365
- if (s1.length < 1) {
2366
- peg$currPos = s0;
2367
- s0 = peg$FAILED;
2536
+ if (s2.length < 1) {
2537
+ peg$currPos = s1;
2538
+ s1 = peg$FAILED;
2368
2539
  } else {
2369
- s0 = s1;
2540
+ s1 = s2;
2370
2541
  }
2542
+ peg$savedPos = s0;
2543
+ s1 = peg$f39(s1);
2544
+ s0 = s1;
2371
2545
  peg$silentFails--;
2372
2546
  s1 = peg$FAILED;
2373
- if (peg$silentFails === 0) { peg$fail(peg$e56); }
2547
+ if (peg$silentFails === 0) { peg$fail(peg$e63); }
2374
2548
 
2375
2549
  return s0;
2376
2550
  }
@@ -2387,11 +2561,11 @@ function peg$parse(input, options) {
2387
2561
  s2 = peg$parsepathKeyChar();
2388
2562
  }
2389
2563
  peg$savedPos = s0;
2390
- s1 = peg$f24(s1);
2564
+ s1 = peg$f40(s1);
2391
2565
  s0 = s1;
2392
2566
  peg$silentFails--;
2393
2567
  s1 = peg$FAILED;
2394
- if (peg$silentFails === 0) { peg$fail(peg$e57); }
2568
+ if (peg$silentFails === 0) { peg$fail(peg$e64); }
2395
2569
 
2396
2570
  return s0;
2397
2571
  }
@@ -2404,7 +2578,7 @@ function peg$parse(input, options) {
2404
2578
  peg$currPos++;
2405
2579
  } else {
2406
2580
  s0 = peg$FAILED;
2407
- if (peg$silentFails === 0) { peg$fail(peg$e58); }
2581
+ if (peg$silentFails === 0) { peg$fail(peg$e65); }
2408
2582
  }
2409
2583
  if (s0 === peg$FAILED) {
2410
2584
  s0 = peg$parseescapedChar();
@@ -2421,20 +2595,20 @@ function peg$parse(input, options) {
2421
2595
  s1 = peg$parseprotocol();
2422
2596
  if (s1 !== peg$FAILED) {
2423
2597
  if (input.charCodeAt(peg$currPos) === 58) {
2424
- s2 = peg$c15;
2598
+ s2 = peg$c22;
2425
2599
  peg$currPos++;
2426
2600
  } else {
2427
2601
  s2 = peg$FAILED;
2428
- if (peg$silentFails === 0) { peg$fail(peg$e30); }
2602
+ if (peg$silentFails === 0) { peg$fail(peg$e37); }
2429
2603
  }
2430
2604
  if (s2 !== peg$FAILED) {
2431
2605
  s3 = [];
2432
2606
  if (input.charCodeAt(peg$currPos) === 47) {
2433
- s4 = peg$c19;
2607
+ s4 = peg$c26;
2434
2608
  peg$currPos++;
2435
2609
  } else {
2436
2610
  s4 = peg$FAILED;
2437
- if (peg$silentFails === 0) { peg$fail(peg$e41); }
2611
+ if (peg$silentFails === 0) { peg$fail(peg$e48); }
2438
2612
  }
2439
2613
  while (s4 !== peg$FAILED) {
2440
2614
  s3.push(s4);
@@ -2442,11 +2616,11 @@ function peg$parse(input, options) {
2442
2616
  s4 = peg$FAILED;
2443
2617
  } else {
2444
2618
  if (input.charCodeAt(peg$currPos) === 47) {
2445
- s4 = peg$c19;
2619
+ s4 = peg$c26;
2446
2620
  peg$currPos++;
2447
2621
  } else {
2448
2622
  s4 = peg$FAILED;
2449
- if (peg$silentFails === 0) { peg$fail(peg$e41); }
2623
+ if (peg$silentFails === 0) { peg$fail(peg$e48); }
2450
2624
  }
2451
2625
  }
2452
2626
  }
@@ -2457,7 +2631,7 @@ function peg$parse(input, options) {
2457
2631
  s5 = null;
2458
2632
  }
2459
2633
  peg$savedPos = s0;
2460
- s0 = peg$f25(s1, s4, s5);
2634
+ s0 = peg$f41(s1, s4, s5);
2461
2635
  } else {
2462
2636
  peg$currPos = s0;
2463
2637
  s0 = peg$FAILED;
@@ -2473,7 +2647,7 @@ function peg$parse(input, options) {
2473
2647
  peg$silentFails--;
2474
2648
  if (s0 === peg$FAILED) {
2475
2649
  s1 = peg$FAILED;
2476
- if (peg$silentFails === 0) { peg$fail(peg$e59); }
2650
+ if (peg$silentFails === 0) { peg$fail(peg$e66); }
2477
2651
  }
2478
2652
 
2479
2653
  return s0;
@@ -2490,7 +2664,7 @@ function peg$parse(input, options) {
2490
2664
  peg$silentFails--;
2491
2665
  if (s0 === peg$FAILED) {
2492
2666
  s1 = peg$FAILED;
2493
- if (peg$silentFails === 0) { peg$fail(peg$e60); }
2667
+ if (peg$silentFails === 0) { peg$fail(peg$e67); }
2494
2668
  }
2495
2669
 
2496
2670
  return s0;
@@ -2501,100 +2675,100 @@ function peg$parse(input, options) {
2501
2675
 
2502
2676
  peg$silentFails++;
2503
2677
  s0 = peg$currPos;
2504
- if (input.substr(peg$currPos, 5) === peg$c26) {
2505
- s1 = peg$c26;
2678
+ if (input.substr(peg$currPos, 5) === peg$c33) {
2679
+ s1 = peg$c33;
2506
2680
  peg$currPos += 5;
2507
2681
  } else {
2508
2682
  s1 = peg$FAILED;
2509
- if (peg$silentFails === 0) { peg$fail(peg$e62); }
2683
+ if (peg$silentFails === 0) { peg$fail(peg$e69); }
2510
2684
  }
2511
2685
  if (s1 !== peg$FAILED) {
2512
2686
  peg$savedPos = s0;
2513
- s1 = peg$f26();
2687
+ s1 = peg$f42();
2514
2688
  }
2515
2689
  s0 = s1;
2516
2690
  if (s0 === peg$FAILED) {
2517
2691
  s0 = peg$currPos;
2518
- if (input.substr(peg$currPos, 4) === peg$c27) {
2519
- s1 = peg$c27;
2692
+ if (input.substr(peg$currPos, 4) === peg$c34) {
2693
+ s1 = peg$c34;
2520
2694
  peg$currPos += 4;
2521
2695
  } else {
2522
2696
  s1 = peg$FAILED;
2523
- if (peg$silentFails === 0) { peg$fail(peg$e63); }
2697
+ if (peg$silentFails === 0) { peg$fail(peg$e70); }
2524
2698
  }
2525
2699
  if (s1 !== peg$FAILED) {
2526
2700
  peg$savedPos = s0;
2527
- s1 = peg$f27();
2701
+ s1 = peg$f43();
2528
2702
  }
2529
2703
  s0 = s1;
2530
2704
  if (s0 === peg$FAILED) {
2531
2705
  s0 = peg$currPos;
2532
- if (input.substr(peg$currPos, 3) === peg$c28) {
2533
- s1 = peg$c28;
2706
+ if (input.substr(peg$currPos, 3) === peg$c35) {
2707
+ s1 = peg$c35;
2534
2708
  peg$currPos += 3;
2535
2709
  } else {
2536
2710
  s1 = peg$FAILED;
2537
- if (peg$silentFails === 0) { peg$fail(peg$e64); }
2711
+ if (peg$silentFails === 0) { peg$fail(peg$e71); }
2538
2712
  }
2539
2713
  if (s1 !== peg$FAILED) {
2540
2714
  peg$savedPos = s0;
2541
- s1 = peg$f28();
2715
+ s1 = peg$f44();
2542
2716
  }
2543
2717
  s0 = s1;
2544
2718
  if (s0 === peg$FAILED) {
2545
2719
  s0 = peg$currPos;
2546
- if (input.substr(peg$currPos, 7) === peg$c29) {
2547
- s1 = peg$c29;
2720
+ if (input.substr(peg$currPos, 7) === peg$c36) {
2721
+ s1 = peg$c36;
2548
2722
  peg$currPos += 7;
2549
2723
  } else {
2550
2724
  s1 = peg$FAILED;
2551
- if (peg$silentFails === 0) { peg$fail(peg$e65); }
2725
+ if (peg$silentFails === 0) { peg$fail(peg$e72); }
2552
2726
  }
2553
2727
  if (s1 !== peg$FAILED) {
2554
2728
  peg$savedPos = s0;
2555
- s1 = peg$f29();
2729
+ s1 = peg$f45();
2556
2730
  }
2557
2731
  s0 = s1;
2558
2732
  if (s0 === peg$FAILED) {
2559
2733
  s0 = peg$currPos;
2560
- if (input.substr(peg$currPos, 9) === peg$c30) {
2561
- s1 = peg$c30;
2734
+ if (input.substr(peg$currPos, 9) === peg$c37) {
2735
+ s1 = peg$c37;
2562
2736
  peg$currPos += 9;
2563
2737
  } else {
2564
2738
  s1 = peg$FAILED;
2565
- if (peg$silentFails === 0) { peg$fail(peg$e66); }
2739
+ if (peg$silentFails === 0) { peg$fail(peg$e73); }
2566
2740
  }
2567
2741
  if (s1 !== peg$FAILED) {
2568
2742
  peg$savedPos = s0;
2569
- s1 = peg$f30();
2743
+ s1 = peg$f46();
2570
2744
  }
2571
2745
  s0 = s1;
2572
2746
  if (s0 === peg$FAILED) {
2573
2747
  s0 = peg$currPos;
2574
- if (input.substr(peg$currPos, 8) === peg$c31) {
2575
- s1 = peg$c31;
2748
+ if (input.substr(peg$currPos, 8) === peg$c38) {
2749
+ s1 = peg$c38;
2576
2750
  peg$currPos += 8;
2577
2751
  } else {
2578
2752
  s1 = peg$FAILED;
2579
- if (peg$silentFails === 0) { peg$fail(peg$e67); }
2753
+ if (peg$silentFails === 0) { peg$fail(peg$e74); }
2580
2754
  }
2581
2755
  if (s1 !== peg$FAILED) {
2582
2756
  peg$savedPos = s0;
2583
- s1 = peg$f31();
2757
+ s1 = peg$f47();
2584
2758
  }
2585
2759
  s0 = s1;
2586
2760
  if (s0 === peg$FAILED) {
2587
2761
  s0 = peg$currPos;
2588
- if (input.substr(peg$currPos, 4) === peg$c32) {
2589
- s1 = peg$c32;
2762
+ if (input.substr(peg$currPos, 4) === peg$c39) {
2763
+ s1 = peg$c39;
2590
2764
  peg$currPos += 4;
2591
2765
  } else {
2592
2766
  s1 = peg$FAILED;
2593
- if (peg$silentFails === 0) { peg$fail(peg$e68); }
2767
+ if (peg$silentFails === 0) { peg$fail(peg$e75); }
2594
2768
  }
2595
2769
  if (s1 !== peg$FAILED) {
2596
2770
  peg$savedPos = s0;
2597
- s1 = peg$f32();
2771
+ s1 = peg$f48();
2598
2772
  }
2599
2773
  s0 = s1;
2600
2774
  }
@@ -2606,7 +2780,7 @@ function peg$parse(input, options) {
2606
2780
  peg$silentFails--;
2607
2781
  if (s0 === peg$FAILED) {
2608
2782
  s1 = peg$FAILED;
2609
- if (peg$silentFails === 0) { peg$fail(peg$e61); }
2783
+ if (peg$silentFails === 0) { peg$fail(peg$e68); }
2610
2784
  }
2611
2785
 
2612
2786
  return s0;
@@ -2620,13 +2794,13 @@ function peg$parse(input, options) {
2620
2794
  s1 = peg$parseidentifier();
2621
2795
  if (s1 !== peg$FAILED) {
2622
2796
  peg$savedPos = s0;
2623
- s1 = peg$f33(s1);
2797
+ s1 = peg$f49(s1);
2624
2798
  }
2625
2799
  s0 = s1;
2626
2800
  peg$silentFails--;
2627
2801
  if (s0 === peg$FAILED) {
2628
2802
  s1 = peg$FAILED;
2629
- if (peg$silentFails === 0) { peg$fail(peg$e69); }
2803
+ if (peg$silentFails === 0) { peg$fail(peg$e76); }
2630
2804
  }
2631
2805
 
2632
2806
  return s0;
@@ -2638,11 +2812,11 @@ function peg$parse(input, options) {
2638
2812
  s0 = peg$currPos;
2639
2813
  s1 = peg$parse__();
2640
2814
  if (input.charCodeAt(peg$currPos) === 44) {
2641
- s2 = peg$c33;
2815
+ s2 = peg$c40;
2642
2816
  peg$currPos++;
2643
2817
  } else {
2644
2818
  s2 = peg$FAILED;
2645
- if (peg$silentFails === 0) { peg$fail(peg$e70); }
2819
+ if (peg$silentFails === 0) { peg$fail(peg$e77); }
2646
2820
  }
2647
2821
  if (s2 !== peg$FAILED) {
2648
2822
  s3 = peg$parse__();
@@ -2663,12 +2837,12 @@ function peg$parse(input, options) {
2663
2837
  var s0, s1, s2, s3;
2664
2838
 
2665
2839
  s0 = peg$currPos;
2666
- if (input.substr(peg$currPos, 2) === peg$c34) {
2667
- s1 = peg$c34;
2840
+ if (input.substr(peg$currPos, 2) === peg$c41) {
2841
+ s1 = peg$c41;
2668
2842
  peg$currPos += 2;
2669
2843
  } else {
2670
2844
  s1 = peg$FAILED;
2671
- if (peg$silentFails === 0) { peg$fail(peg$e71); }
2845
+ if (peg$silentFails === 0) { peg$fail(peg$e78); }
2672
2846
  }
2673
2847
  if (s1 !== peg$FAILED) {
2674
2848
  s2 = [];
@@ -2677,7 +2851,7 @@ function peg$parse(input, options) {
2677
2851
  peg$currPos++;
2678
2852
  } else {
2679
2853
  s3 = peg$FAILED;
2680
- if (peg$silentFails === 0) { peg$fail(peg$e72); }
2854
+ if (peg$silentFails === 0) { peg$fail(peg$e79); }
2681
2855
  }
2682
2856
  while (s3 !== peg$FAILED) {
2683
2857
  s2.push(s3);
@@ -2686,11 +2860,11 @@ function peg$parse(input, options) {
2686
2860
  peg$currPos++;
2687
2861
  } else {
2688
2862
  s3 = peg$FAILED;
2689
- if (peg$silentFails === 0) { peg$fail(peg$e72); }
2863
+ if (peg$silentFails === 0) { peg$fail(peg$e79); }
2690
2864
  }
2691
2865
  }
2692
2866
  peg$savedPos = s0;
2693
- s0 = peg$f34();
2867
+ s0 = peg$f50();
2694
2868
  } else {
2695
2869
  peg$currPos = s0;
2696
2870
  s0 = peg$FAILED;
@@ -2707,7 +2881,7 @@ function peg$parse(input, options) {
2707
2881
  peg$currPos++;
2708
2882
  } else {
2709
2883
  s0 = peg$FAILED;
2710
- if (peg$silentFails === 0) { peg$fail(peg$e73); }
2884
+ if (peg$silentFails === 0) { peg$fail(peg$e80); }
2711
2885
  }
2712
2886
 
2713
2887
  return s0;
@@ -2717,19 +2891,19 @@ function peg$parse(input, options) {
2717
2891
  var s0;
2718
2892
 
2719
2893
  if (input.charCodeAt(peg$currPos) === 8594) {
2720
- s0 = peg$c35;
2894
+ s0 = peg$c42;
2721
2895
  peg$currPos++;
2722
2896
  } else {
2723
2897
  s0 = peg$FAILED;
2724
- if (peg$silentFails === 0) { peg$fail(peg$e74); }
2898
+ if (peg$silentFails === 0) { peg$fail(peg$e81); }
2725
2899
  }
2726
2900
  if (s0 === peg$FAILED) {
2727
- if (input.substr(peg$currPos, 2) === peg$c36) {
2728
- s0 = peg$c36;
2901
+ if (input.substr(peg$currPos, 2) === peg$c43) {
2902
+ s0 = peg$c43;
2729
2903
  peg$currPos += 2;
2730
2904
  } else {
2731
2905
  s0 = peg$FAILED;
2732
- if (peg$silentFails === 0) { peg$fail(peg$e75); }
2906
+ if (peg$silentFails === 0) { peg$fail(peg$e82); }
2733
2907
  }
2734
2908
  }
2735
2909
 
@@ -2754,7 +2928,7 @@ function peg$parse(input, options) {
2754
2928
  peg$currPos++;
2755
2929
  } else {
2756
2930
  s3 = peg$FAILED;
2757
- if (peg$silentFails === 0) { peg$fail(peg$e72); }
2931
+ if (peg$silentFails === 0) { peg$fail(peg$e79); }
2758
2932
  }
2759
2933
  while (s3 !== peg$FAILED) {
2760
2934
  s2.push(s3);
@@ -2763,11 +2937,11 @@ function peg$parse(input, options) {
2763
2937
  peg$currPos++;
2764
2938
  } else {
2765
2939
  s3 = peg$FAILED;
2766
- if (peg$silentFails === 0) { peg$fail(peg$e72); }
2940
+ if (peg$silentFails === 0) { peg$fail(peg$e79); }
2767
2941
  }
2768
2942
  }
2769
2943
  peg$savedPos = s0;
2770
- s0 = peg$f35();
2944
+ s0 = peg$f51();
2771
2945
  } else {
2772
2946
  peg$currPos = s0;
2773
2947
  s0 = peg$FAILED;
@@ -2782,11 +2956,11 @@ function peg$parse(input, options) {
2782
2956
  peg$silentFails++;
2783
2957
  s0 = peg$currPos;
2784
2958
  if (input.charCodeAt(peg$currPos) === 39) {
2785
- s1 = peg$c37;
2959
+ s1 = peg$c44;
2786
2960
  peg$currPos++;
2787
2961
  } else {
2788
2962
  s1 = peg$FAILED;
2789
- if (peg$silentFails === 0) { peg$fail(peg$e77); }
2963
+ if (peg$silentFails === 0) { peg$fail(peg$e84); }
2790
2964
  }
2791
2965
  if (s1 !== peg$FAILED) {
2792
2966
  s2 = [];
@@ -2796,15 +2970,15 @@ function peg$parse(input, options) {
2796
2970
  s3 = peg$parsesingleQuoteStringChar();
2797
2971
  }
2798
2972
  if (input.charCodeAt(peg$currPos) === 39) {
2799
- s3 = peg$c37;
2973
+ s3 = peg$c44;
2800
2974
  peg$currPos++;
2801
2975
  } else {
2802
2976
  s3 = peg$FAILED;
2803
- if (peg$silentFails === 0) { peg$fail(peg$e77); }
2977
+ if (peg$silentFails === 0) { peg$fail(peg$e84); }
2804
2978
  }
2805
2979
  if (s3 !== peg$FAILED) {
2806
2980
  peg$savedPos = s0;
2807
- s0 = peg$f36(s2);
2981
+ s0 = peg$f52(s2);
2808
2982
  } else {
2809
2983
  peg$currPos = s0;
2810
2984
  s0 = peg$FAILED;
@@ -2816,7 +2990,7 @@ function peg$parse(input, options) {
2816
2990
  peg$silentFails--;
2817
2991
  if (s0 === peg$FAILED) {
2818
2992
  s1 = peg$FAILED;
2819
- if (peg$silentFails === 0) { peg$fail(peg$e76); }
2993
+ if (peg$silentFails === 0) { peg$fail(peg$e83); }
2820
2994
  }
2821
2995
 
2822
2996
  return s0;
@@ -2829,11 +3003,11 @@ function peg$parse(input, options) {
2829
3003
  s1 = peg$currPos;
2830
3004
  peg$silentFails++;
2831
3005
  if (input.charCodeAt(peg$currPos) === 39) {
2832
- s2 = peg$c37;
3006
+ s2 = peg$c44;
2833
3007
  peg$currPos++;
2834
3008
  } else {
2835
3009
  s2 = peg$FAILED;
2836
- if (peg$silentFails === 0) { peg$fail(peg$e77); }
3010
+ if (peg$silentFails === 0) { peg$fail(peg$e84); }
2837
3011
  }
2838
3012
  if (s2 === peg$FAILED) {
2839
3013
  s2 = peg$parsenewLine();
@@ -2870,7 +3044,7 @@ function peg$parse(input, options) {
2870
3044
  s2 = peg$parsepipeline();
2871
3045
  if (s2 !== peg$FAILED) {
2872
3046
  peg$savedPos = s0;
2873
- s0 = peg$f37(s2);
3047
+ s0 = peg$f53(s2);
2874
3048
  } else {
2875
3049
  peg$currPos = s0;
2876
3050
  s0 = peg$FAILED;
@@ -2946,7 +3120,7 @@ function peg$parse(input, options) {
2946
3120
  peg$silentFails--;
2947
3121
  if (s0 === peg$FAILED) {
2948
3122
  s1 = peg$FAILED;
2949
- if (peg$silentFails === 0) { peg$fail(peg$e78); }
3123
+ if (peg$silentFails === 0) { peg$fail(peg$e85); }
2950
3124
  }
2951
3125
 
2952
3126
  return s0;
@@ -2959,11 +3133,11 @@ function peg$parse(input, options) {
2959
3133
  s0 = peg$currPos;
2960
3134
  s1 = peg$parsetemplateDocumentContents();
2961
3135
  peg$savedPos = s0;
2962
- s1 = peg$f38(s1);
3136
+ s1 = peg$f54(s1);
2963
3137
  s0 = s1;
2964
3138
  peg$silentFails--;
2965
3139
  s1 = peg$FAILED;
2966
- if (peg$silentFails === 0) { peg$fail(peg$e79); }
3140
+ if (peg$silentFails === 0) { peg$fail(peg$e86); }
2967
3141
 
2968
3142
  return s0;
2969
3143
  }
@@ -2974,12 +3148,12 @@ function peg$parse(input, options) {
2974
3148
  s0 = peg$currPos;
2975
3149
  s1 = peg$currPos;
2976
3150
  peg$silentFails++;
2977
- if (input.substr(peg$currPos, 2) === peg$c38) {
2978
- s2 = peg$c38;
3151
+ if (input.substr(peg$currPos, 2) === peg$c45) {
3152
+ s2 = peg$c45;
2979
3153
  peg$currPos += 2;
2980
3154
  } else {
2981
3155
  s2 = peg$FAILED;
2982
- if (peg$silentFails === 0) { peg$fail(peg$e80); }
3156
+ if (peg$silentFails === 0) { peg$fail(peg$e87); }
2983
3157
  }
2984
3158
  peg$silentFails--;
2985
3159
  if (s2 === peg$FAILED) {
@@ -3021,7 +3195,7 @@ function peg$parse(input, options) {
3021
3195
  }
3022
3196
  }
3023
3197
  peg$savedPos = s0;
3024
- s1 = peg$f39(s1);
3198
+ s1 = peg$f55(s1);
3025
3199
  s0 = s1;
3026
3200
 
3027
3201
  return s0;
@@ -3044,13 +3218,13 @@ function peg$parse(input, options) {
3044
3218
  }
3045
3219
  if (s1 !== peg$FAILED) {
3046
3220
  peg$savedPos = s0;
3047
- s1 = peg$f40(s1);
3221
+ s1 = peg$f56(s1);
3048
3222
  }
3049
3223
  s0 = s1;
3050
3224
  peg$silentFails--;
3051
3225
  if (s0 === peg$FAILED) {
3052
3226
  s1 = peg$FAILED;
3053
- if (peg$silentFails === 0) { peg$fail(peg$e81); }
3227
+ if (peg$silentFails === 0) { peg$fail(peg$e88); }
3054
3228
  }
3055
3229
 
3056
3230
  return s0;
@@ -3062,23 +3236,24 @@ function peg$parse(input, options) {
3062
3236
  peg$silentFails++;
3063
3237
  s0 = peg$currPos;
3064
3238
  if (input.charCodeAt(peg$currPos) === 96) {
3065
- s1 = peg$c39;
3239
+ s1 = peg$c46;
3066
3240
  peg$currPos++;
3067
3241
  } else {
3068
3242
  s1 = peg$FAILED;
3069
- if (peg$silentFails === 0) { peg$fail(peg$e83); }
3243
+ if (peg$silentFails === 0) { peg$fail(peg$e90); }
3070
3244
  }
3071
3245
  if (s1 !== peg$FAILED) {
3072
3246
  s2 = peg$parsetemplateLiteralContents();
3073
3247
  if (input.charCodeAt(peg$currPos) === 96) {
3074
- s3 = peg$c39;
3248
+ s3 = peg$c46;
3075
3249
  peg$currPos++;
3076
3250
  } else {
3077
3251
  s3 = peg$FAILED;
3078
- if (peg$silentFails === 0) { peg$fail(peg$e83); }
3252
+ if (peg$silentFails === 0) { peg$fail(peg$e90); }
3079
3253
  }
3080
3254
  if (s3 !== peg$FAILED) {
3081
- s0 = s2;
3255
+ peg$savedPos = s0;
3256
+ s0 = peg$f57(s2);
3082
3257
  } else {
3083
3258
  peg$currPos = s0;
3084
3259
  s0 = peg$FAILED;
@@ -3090,7 +3265,7 @@ function peg$parse(input, options) {
3090
3265
  peg$silentFails--;
3091
3266
  if (s0 === peg$FAILED) {
3092
3267
  s1 = peg$FAILED;
3093
- if (peg$silentFails === 0) { peg$fail(peg$e82); }
3268
+ if (peg$silentFails === 0) { peg$fail(peg$e89); }
3094
3269
  }
3095
3270
 
3096
3271
  return s0;
@@ -3103,19 +3278,19 @@ function peg$parse(input, options) {
3103
3278
  s1 = peg$currPos;
3104
3279
  peg$silentFails++;
3105
3280
  if (input.charCodeAt(peg$currPos) === 96) {
3106
- s2 = peg$c39;
3281
+ s2 = peg$c46;
3107
3282
  peg$currPos++;
3108
3283
  } else {
3109
3284
  s2 = peg$FAILED;
3110
- if (peg$silentFails === 0) { peg$fail(peg$e83); }
3285
+ if (peg$silentFails === 0) { peg$fail(peg$e90); }
3111
3286
  }
3112
3287
  if (s2 === peg$FAILED) {
3113
- if (input.substr(peg$currPos, 2) === peg$c38) {
3114
- s2 = peg$c38;
3288
+ if (input.substr(peg$currPos, 2) === peg$c45) {
3289
+ s2 = peg$c45;
3115
3290
  peg$currPos += 2;
3116
3291
  } else {
3117
3292
  s2 = peg$FAILED;
3118
- if (peg$silentFails === 0) { peg$fail(peg$e80); }
3293
+ if (peg$silentFails === 0) { peg$fail(peg$e87); }
3119
3294
  }
3120
3295
  }
3121
3296
  peg$silentFails--;
@@ -3158,7 +3333,7 @@ function peg$parse(input, options) {
3158
3333
  }
3159
3334
  }
3160
3335
  peg$savedPos = s0;
3161
- s1 = peg$f41(s1);
3336
+ s1 = peg$f58(s1);
3162
3337
  s0 = s1;
3163
3338
 
3164
3339
  return s0;
@@ -3180,7 +3355,7 @@ function peg$parse(input, options) {
3180
3355
  }
3181
3356
  if (s1 !== peg$FAILED) {
3182
3357
  peg$savedPos = s0;
3183
- s1 = peg$f42(s1);
3358
+ s1 = peg$f59(s1);
3184
3359
  }
3185
3360
  s0 = s1;
3186
3361
 
@@ -3192,12 +3367,12 @@ function peg$parse(input, options) {
3192
3367
 
3193
3368
  peg$silentFails++;
3194
3369
  s0 = peg$currPos;
3195
- if (input.substr(peg$currPos, 2) === peg$c38) {
3196
- s1 = peg$c38;
3370
+ if (input.substr(peg$currPos, 2) === peg$c45) {
3371
+ s1 = peg$c45;
3197
3372
  peg$currPos += 2;
3198
3373
  } else {
3199
3374
  s1 = peg$FAILED;
3200
- if (peg$silentFails === 0) { peg$fail(peg$e80); }
3375
+ if (peg$silentFails === 0) { peg$fail(peg$e87); }
3201
3376
  }
3202
3377
  if (s1 !== peg$FAILED) {
3203
3378
  s2 = peg$parse__();
@@ -3212,7 +3387,8 @@ function peg$parse(input, options) {
3212
3387
  if (peg$silentFails === 0) { peg$fail(peg$e6); }
3213
3388
  }
3214
3389
  if (s5 !== peg$FAILED) {
3215
- s0 = s3;
3390
+ peg$savedPos = s0;
3391
+ s0 = peg$f60(s3);
3216
3392
  } else {
3217
3393
  peg$currPos = s0;
3218
3394
  s0 = peg$FAILED;
@@ -3228,7 +3404,7 @@ function peg$parse(input, options) {
3228
3404
  peg$silentFails--;
3229
3405
  if (s0 === peg$FAILED) {
3230
3406
  s1 = peg$FAILED;
3231
- if (peg$silentFails === 0) { peg$fail(peg$e84); }
3407
+ if (peg$silentFails === 0) { peg$fail(peg$e91); }
3232
3408
  }
3233
3409
 
3234
3410
  return s0;