@balena/odata-parser 4.3.13 → 4.3.14
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/.versionbot/CHANGELOG.yml +15 -1
- package/CHANGELOG.md +5 -0
- package/odata-parser.js +442 -836
- package/odata-parser.pegjs +4 -48
- package/package.json +2 -2
package/odata-parser.js
CHANGED
|
@@ -268,82 +268,40 @@ function peg$parse(input, options) {
|
|
|
268
268
|
const peg$c31 = "in";
|
|
269
269
|
const peg$c32 = "(";
|
|
270
270
|
const peg$c33 = ")";
|
|
271
|
-
const peg$c34 = "
|
|
272
|
-
const peg$c35 = "
|
|
273
|
-
const peg$c36 = "
|
|
274
|
-
const peg$c37 = "
|
|
275
|
-
const peg$c38 = "
|
|
276
|
-
const peg$c39 = "
|
|
277
|
-
const peg$c40 = "
|
|
278
|
-
const peg$c41 = "
|
|
279
|
-
const peg$c42 = "
|
|
280
|
-
const peg$c43 = "
|
|
281
|
-
const peg$c44 = "
|
|
282
|
-
const peg$c45 = "
|
|
283
|
-
const peg$c46 = "
|
|
284
|
-
const peg$c47 = "
|
|
285
|
-
const peg$c48 = "
|
|
286
|
-
const peg$c49 = "
|
|
287
|
-
const peg$c50 = "
|
|
288
|
-
const peg$c51 = "
|
|
289
|
-
const peg$c52 = "
|
|
290
|
-
const peg$c53 = "
|
|
291
|
-
const peg$c54 = "
|
|
292
|
-
const peg$c55 = "
|
|
293
|
-
const peg$c56 = "
|
|
294
|
-
const peg$c57 = "
|
|
295
|
-
const peg$c58 = "
|
|
296
|
-
const peg$c59 = "
|
|
297
|
-
const peg$c60 = "length";
|
|
298
|
-
const peg$c61 = "maxdatetime";
|
|
299
|
-
const peg$c62 = "mindatetime";
|
|
300
|
-
const peg$c63 = "minute";
|
|
301
|
-
const peg$c64 = "month";
|
|
302
|
-
const peg$c65 = "now";
|
|
303
|
-
const peg$c66 = "replace";
|
|
304
|
-
const peg$c67 = "round";
|
|
305
|
-
const peg$c68 = "second";
|
|
306
|
-
const peg$c69 = "startswith";
|
|
307
|
-
const peg$c70 = "substringof";
|
|
308
|
-
const peg$c71 = "substring";
|
|
309
|
-
const peg$c72 = "time";
|
|
310
|
-
const peg$c73 = "tolower";
|
|
311
|
-
const peg$c74 = "totaloffsetminutes";
|
|
312
|
-
const peg$c75 = "totalseconds";
|
|
313
|
-
const peg$c76 = "toupper";
|
|
314
|
-
const peg$c77 = "trim";
|
|
315
|
-
const peg$c78 = "year";
|
|
316
|
-
const peg$c79 = "any";
|
|
317
|
-
const peg$c80 = "all";
|
|
318
|
-
const peg$c81 = ":";
|
|
319
|
-
const peg$c82 = "/$count";
|
|
320
|
-
const peg$c83 = "/$links";
|
|
321
|
-
const peg$c84 = "?";
|
|
322
|
-
const peg$c85 = ".";
|
|
323
|
-
const peg$c86 = "null";
|
|
324
|
-
const peg$c87 = "true";
|
|
325
|
-
const peg$c88 = "false";
|
|
326
|
-
const peg$c89 = "duration";
|
|
327
|
-
const peg$c90 = "P";
|
|
328
|
-
const peg$c91 = "D";
|
|
329
|
-
const peg$c92 = "T";
|
|
330
|
-
const peg$c93 = "H";
|
|
331
|
-
const peg$c94 = "M";
|
|
332
|
-
const peg$c95 = "S";
|
|
333
|
-
const peg$c96 = "%2B";
|
|
334
|
-
const peg$c97 = "-";
|
|
335
|
-
const peg$c98 = "'";
|
|
336
|
-
const peg$c99 = "%27";
|
|
337
|
-
const peg$c100 = "datetime";
|
|
338
|
-
const peg$c101 = " ";
|
|
339
|
-
const peg$c102 = "%20";
|
|
271
|
+
const peg$c34 = "not";
|
|
272
|
+
const peg$c35 = "any";
|
|
273
|
+
const peg$c36 = "all";
|
|
274
|
+
const peg$c37 = ":";
|
|
275
|
+
const peg$c38 = "/$count";
|
|
276
|
+
const peg$c39 = "/$links";
|
|
277
|
+
const peg$c40 = "?";
|
|
278
|
+
const peg$c41 = ".";
|
|
279
|
+
const peg$c42 = "null";
|
|
280
|
+
const peg$c43 = "true";
|
|
281
|
+
const peg$c44 = "false";
|
|
282
|
+
const peg$c45 = "duration";
|
|
283
|
+
const peg$c46 = "P";
|
|
284
|
+
const peg$c47 = "D";
|
|
285
|
+
const peg$c48 = "T";
|
|
286
|
+
const peg$c49 = "H";
|
|
287
|
+
const peg$c50 = "M";
|
|
288
|
+
const peg$c51 = "S";
|
|
289
|
+
const peg$c52 = "%2B";
|
|
290
|
+
const peg$c53 = "-";
|
|
291
|
+
const peg$c54 = "'";
|
|
292
|
+
const peg$c55 = "%27";
|
|
293
|
+
const peg$c56 = "datetime";
|
|
294
|
+
const peg$c57 = "date";
|
|
295
|
+
const peg$c58 = " ";
|
|
296
|
+
const peg$c59 = "%20";
|
|
340
297
|
|
|
341
298
|
const peg$r0 = /^[a-z]/i;
|
|
342
|
-
const peg$r1 = /^[
|
|
343
|
-
const peg$r2 = /^[
|
|
344
|
-
const peg$r3 = /^[
|
|
345
|
-
const peg$r4 = /^[
|
|
346
|
-
const peg$r5 = /^[
|
|
299
|
+
const peg$r1 = /^[a-z]/;
|
|
300
|
+
const peg$r2 = /^[&;]/;
|
|
301
|
+
const peg$r3 = /^[^:\/?#[\]@!$*&()+,;= %]/;
|
|
302
|
+
const peg$r4 = /^[0-9]/;
|
|
303
|
+
const peg$r5 = /^[^:\/?#[\]@!$*&()+,;=]/;
|
|
304
|
+
const peg$r6 = /^[^'%]/;
|
|
347
305
|
|
|
348
306
|
const peg$e0 = peg$literalExpectation("/$metadata", false);
|
|
349
307
|
const peg$e1 = peg$literalExpectation("/", false);
|
|
@@ -381,81 +339,39 @@ function peg$parse(input, options) {
|
|
|
381
339
|
const peg$e33 = peg$literalExpectation("in", false);
|
|
382
340
|
const peg$e34 = peg$literalExpectation("(", false);
|
|
383
341
|
const peg$e35 = peg$literalExpectation(")", false);
|
|
384
|
-
const peg$e36 = peg$
|
|
385
|
-
const peg$e37 = peg$literalExpectation("
|
|
386
|
-
const peg$e38 = peg$literalExpectation("
|
|
387
|
-
const peg$e39 = peg$literalExpectation("
|
|
388
|
-
const peg$e40 = peg$literalExpectation("
|
|
389
|
-
const peg$e41 = peg$literalExpectation("
|
|
390
|
-
const peg$e42 = peg$
|
|
391
|
-
const peg$e43 = peg$literalExpectation("
|
|
392
|
-
const peg$e44 = peg$literalExpectation("
|
|
393
|
-
const peg$e45 = peg$
|
|
394
|
-
const peg$e46 = peg$
|
|
395
|
-
const peg$e47 = peg$literalExpectation("
|
|
396
|
-
const peg$e48 = peg$literalExpectation("
|
|
397
|
-
const peg$e49 = peg$literalExpectation("
|
|
398
|
-
const peg$e50 = peg$literalExpectation("
|
|
399
|
-
const peg$e51 = peg$literalExpectation("
|
|
400
|
-
const peg$e52 = peg$literalExpectation("
|
|
401
|
-
const peg$e53 = peg$literalExpectation("
|
|
402
|
-
const peg$e54 = peg$literalExpectation("
|
|
403
|
-
const peg$e55 = peg$literalExpectation("
|
|
404
|
-
const peg$e56 = peg$literalExpectation("
|
|
405
|
-
const peg$e57 = peg$literalExpectation("
|
|
406
|
-
const peg$e58 = peg$
|
|
407
|
-
const peg$e59 = peg$literalExpectation("
|
|
408
|
-
const peg$e60 = peg$literalExpectation("
|
|
409
|
-
const peg$e61 = peg$literalExpectation("
|
|
410
|
-
const peg$e62 = peg$literalExpectation("
|
|
411
|
-
const peg$e63 = peg$
|
|
412
|
-
const peg$e64 = peg$
|
|
413
|
-
const peg$e65 = peg$literalExpectation("
|
|
414
|
-
const peg$e66 = peg$literalExpectation("
|
|
415
|
-
const peg$e67 = peg$literalExpectation("
|
|
416
|
-
const peg$e68 = peg$literalExpectation("
|
|
417
|
-
const peg$e69 = peg$literalExpectation("round", false);
|
|
418
|
-
const peg$e70 = peg$literalExpectation("second", false);
|
|
419
|
-
const peg$e71 = peg$literalExpectation("startswith", false);
|
|
420
|
-
const peg$e72 = peg$literalExpectation("substringof", false);
|
|
421
|
-
const peg$e73 = peg$literalExpectation("substring", false);
|
|
422
|
-
const peg$e74 = peg$literalExpectation("time", false);
|
|
423
|
-
const peg$e75 = peg$literalExpectation("tolower", false);
|
|
424
|
-
const peg$e76 = peg$literalExpectation("totaloffsetminutes", false);
|
|
425
|
-
const peg$e77 = peg$literalExpectation("totalseconds", false);
|
|
426
|
-
const peg$e78 = peg$literalExpectation("toupper", false);
|
|
427
|
-
const peg$e79 = peg$literalExpectation("trim", false);
|
|
428
|
-
const peg$e80 = peg$literalExpectation("year", false);
|
|
429
|
-
const peg$e81 = peg$literalExpectation("any", false);
|
|
430
|
-
const peg$e82 = peg$literalExpectation("all", false);
|
|
431
|
-
const peg$e83 = peg$literalExpectation(":", false);
|
|
432
|
-
const peg$e84 = peg$literalExpectation("/$count", false);
|
|
433
|
-
const peg$e85 = peg$classExpectation(["&", ";"], false, false, false);
|
|
434
|
-
const peg$e86 = peg$literalExpectation("/$links", false);
|
|
435
|
-
const peg$e87 = peg$literalExpectation("?", false);
|
|
436
|
-
const peg$e88 = peg$classExpectation([":", "/", "?", "#", "[", "]", "@", "!", "$", "*", "&", "(", ")", "+", ",", ";", "=", " ", "%"], true, false, false);
|
|
437
|
-
const peg$e89 = peg$classExpectation([["0", "9"]], false, false, false);
|
|
438
|
-
const peg$e90 = peg$literalExpectation(".", false);
|
|
439
|
-
const peg$e91 = peg$literalExpectation("null", false);
|
|
440
|
-
const peg$e92 = peg$literalExpectation("true", false);
|
|
441
|
-
const peg$e93 = peg$literalExpectation("false", false);
|
|
442
|
-
const peg$e94 = peg$literalExpectation("duration", false);
|
|
443
|
-
const peg$e95 = peg$literalExpectation("P", false);
|
|
444
|
-
const peg$e96 = peg$literalExpectation("D", false);
|
|
445
|
-
const peg$e97 = peg$literalExpectation("T", false);
|
|
446
|
-
const peg$e98 = peg$literalExpectation("H", false);
|
|
447
|
-
const peg$e99 = peg$literalExpectation("M", false);
|
|
448
|
-
const peg$e100 = peg$literalExpectation("S", false);
|
|
449
|
-
const peg$e101 = peg$classExpectation([":", "/", "?", "#", "[", "]", "@", "!", "$", "*", "&", "(", ")", "+", ",", ";", "="], true, false, false);
|
|
450
|
-
const peg$e102 = peg$literalExpectation("%2B", false);
|
|
451
|
-
const peg$e103 = peg$literalExpectation("-", false);
|
|
452
|
-
const peg$e104 = peg$literalExpectation("'", false);
|
|
453
|
-
const peg$e105 = peg$literalExpectation("%27", false);
|
|
454
|
-
const peg$e106 = peg$classExpectation(["'", "%"], true, false, false);
|
|
455
|
-
const peg$e107 = peg$anyExpectation();
|
|
456
|
-
const peg$e108 = peg$literalExpectation("datetime", false);
|
|
457
|
-
const peg$e109 = peg$literalExpectation(" ", false);
|
|
458
|
-
const peg$e110 = peg$literalExpectation("%20", false);
|
|
342
|
+
const peg$e36 = peg$classExpectation([["a", "z"]], false, false, false);
|
|
343
|
+
const peg$e37 = peg$literalExpectation("not", false);
|
|
344
|
+
const peg$e38 = peg$literalExpectation("any", false);
|
|
345
|
+
const peg$e39 = peg$literalExpectation("all", false);
|
|
346
|
+
const peg$e40 = peg$literalExpectation(":", false);
|
|
347
|
+
const peg$e41 = peg$literalExpectation("/$count", false);
|
|
348
|
+
const peg$e42 = peg$classExpectation(["&", ";"], false, false, false);
|
|
349
|
+
const peg$e43 = peg$literalExpectation("/$links", false);
|
|
350
|
+
const peg$e44 = peg$literalExpectation("?", false);
|
|
351
|
+
const peg$e45 = peg$classExpectation([":", "/", "?", "#", "[", "]", "@", "!", "$", "*", "&", "(", ")", "+", ",", ";", "=", " ", "%"], true, false, false);
|
|
352
|
+
const peg$e46 = peg$classExpectation([["0", "9"]], false, false, false);
|
|
353
|
+
const peg$e47 = peg$literalExpectation(".", false);
|
|
354
|
+
const peg$e48 = peg$literalExpectation("null", false);
|
|
355
|
+
const peg$e49 = peg$literalExpectation("true", false);
|
|
356
|
+
const peg$e50 = peg$literalExpectation("false", false);
|
|
357
|
+
const peg$e51 = peg$literalExpectation("duration", false);
|
|
358
|
+
const peg$e52 = peg$literalExpectation("P", false);
|
|
359
|
+
const peg$e53 = peg$literalExpectation("D", false);
|
|
360
|
+
const peg$e54 = peg$literalExpectation("T", false);
|
|
361
|
+
const peg$e55 = peg$literalExpectation("H", false);
|
|
362
|
+
const peg$e56 = peg$literalExpectation("M", false);
|
|
363
|
+
const peg$e57 = peg$literalExpectation("S", false);
|
|
364
|
+
const peg$e58 = peg$classExpectation([":", "/", "?", "#", "[", "]", "@", "!", "$", "*", "&", "(", ")", "+", ",", ";", "="], true, false, false);
|
|
365
|
+
const peg$e59 = peg$literalExpectation("%2B", false);
|
|
366
|
+
const peg$e60 = peg$literalExpectation("-", false);
|
|
367
|
+
const peg$e61 = peg$literalExpectation("'", false);
|
|
368
|
+
const peg$e62 = peg$literalExpectation("%27", false);
|
|
369
|
+
const peg$e63 = peg$classExpectation(["'", "%"], true, false, false);
|
|
370
|
+
const peg$e64 = peg$anyExpectation();
|
|
371
|
+
const peg$e65 = peg$literalExpectation("datetime", false);
|
|
372
|
+
const peg$e66 = peg$literalExpectation("date", false);
|
|
373
|
+
const peg$e67 = peg$literalExpectation(" ", false);
|
|
374
|
+
const peg$e68 = peg$literalExpectation("%20", false);
|
|
459
375
|
|
|
460
376
|
function peg$f0(tree) { return { tree, binds } }
|
|
461
377
|
function peg$f1() {
|
|
@@ -515,7 +431,8 @@ function peg$parse(input, options) {
|
|
|
515
431
|
}
|
|
516
432
|
function peg$f31(minPrecedence, lhs, rhs) {lhs[0] = [ 'eqany', lhs[0], rhs ] }
|
|
517
433
|
function peg$f32(minPrecedence, lhs) { return lhs[0] }
|
|
518
|
-
function peg$f33(
|
|
434
|
+
function peg$f33(op) { return operatorPrecedence.has(op) }
|
|
435
|
+
function peg$f34(bindings) {
|
|
519
436
|
const bindValues = [];
|
|
520
437
|
let firstNonNullIndex = null;
|
|
521
438
|
let totalBoundIndexes = 0;
|
|
@@ -533,90 +450,91 @@ function peg$parse(input, options) {
|
|
|
533
450
|
}
|
|
534
451
|
return Bind(['List', bindValues]);
|
|
535
452
|
}
|
|
536
|
-
function peg$
|
|
453
|
+
function peg$f35(methodName) { return methods.has(methodName) }
|
|
454
|
+
function peg$f36(methodName, args) {
|
|
537
455
|
const arity = methods.get(methodName);
|
|
538
456
|
return args.length === arity || (Array.isArray(arity) && arity.includes(args.length))
|
|
539
457
|
}
|
|
540
|
-
function peg$
|
|
541
|
-
function peg$
|
|
542
|
-
function peg$
|
|
543
|
-
function peg$
|
|
544
|
-
function peg$
|
|
545
|
-
function peg$
|
|
546
|
-
function peg$
|
|
547
|
-
function peg$
|
|
548
|
-
function peg$
|
|
549
|
-
function peg$
|
|
550
|
-
function peg$
|
|
551
|
-
function peg$
|
|
552
|
-
function peg$
|
|
553
|
-
function peg$
|
|
554
|
-
function peg$
|
|
555
|
-
function peg$
|
|
556
|
-
function peg$
|
|
557
|
-
function peg$
|
|
558
|
-
function peg$
|
|
559
|
-
function peg$
|
|
560
|
-
function peg$
|
|
561
|
-
function peg$
|
|
562
|
-
function peg$
|
|
563
|
-
function peg$
|
|
564
|
-
function peg$
|
|
565
|
-
function peg$
|
|
566
|
-
function peg$
|
|
567
|
-
function peg$
|
|
568
|
-
function peg$
|
|
569
|
-
function peg$f64(result) { return result }
|
|
570
|
-
function peg$f65(result, options) {result.options = options }
|
|
458
|
+
function peg$f37(methodName, args) { return [ 'call', { args, method: methodName } ] }
|
|
459
|
+
function peg$f38(name, identifier, expression) { return { expression, identifier, method: name } }
|
|
460
|
+
function peg$f39(methodName) { return [] }
|
|
461
|
+
function peg$f40(methodName, args) { return [ 'call', { args, method: methodName } ] }
|
|
462
|
+
function peg$f41(name) { return { name } }
|
|
463
|
+
function peg$f42(result, property) { result.property = property }
|
|
464
|
+
function peg$f43(result, option) { result.options = Object.fromEntries([option]) }
|
|
465
|
+
function peg$f44(result) { result.count = true }
|
|
466
|
+
function peg$f45(result, key) { result.key = key }
|
|
467
|
+
function peg$f46(result, property) { result.property = property }
|
|
468
|
+
function peg$f47(result) { return result }
|
|
469
|
+
function peg$f48(name) { return { name } }
|
|
470
|
+
function peg$f49(result) { result.count = true }
|
|
471
|
+
function peg$f50(result, options) { result.options = Object.fromEntries(options) }
|
|
472
|
+
function peg$f51(result, next) { result.property = next }
|
|
473
|
+
function peg$f52(result) { return result }
|
|
474
|
+
function peg$f53(resource, next) { return { name: resource, property: next } }
|
|
475
|
+
function peg$f54(resource, lambda) { return { name: resource, lambda } }
|
|
476
|
+
function peg$f55(resource, method) { return { name: resource, method } }
|
|
477
|
+
function peg$f56(keyBinds) { return Object.fromEntries(keyBinds) }
|
|
478
|
+
function peg$f57(name, value) { return [ name, value ] }
|
|
479
|
+
function peg$f58(resource) { return { resource } }
|
|
480
|
+
function peg$f59(result, key) { result.key = key }
|
|
481
|
+
function peg$f60(result, link) {result.link = link }
|
|
482
|
+
function peg$f61(result, property) {result.property = property }
|
|
483
|
+
function peg$f62(result) {result.count = true }
|
|
484
|
+
function peg$f63(result) { return result }
|
|
485
|
+
function peg$f64(result, link) {result.link = link }
|
|
486
|
+
function peg$f65(result, property) {result.property = property }
|
|
571
487
|
function peg$f66(result) { return result }
|
|
572
|
-
function peg$f67(
|
|
573
|
-
function peg$f68(result
|
|
574
|
-
function peg$f69(
|
|
575
|
-
function peg$f70(result,
|
|
576
|
-
function peg$f71(result) {result.
|
|
577
|
-
function peg$f72(result,
|
|
578
|
-
function peg$f73(result) {
|
|
579
|
-
function peg$f74(
|
|
580
|
-
function peg$f75(
|
|
581
|
-
function peg$f76() { return
|
|
582
|
-
function peg$f77() { return
|
|
583
|
-
function peg$f78() { return
|
|
584
|
-
function peg$f79(
|
|
585
|
-
function peg$f80(
|
|
488
|
+
function peg$f67(result, options) {result.options = options }
|
|
489
|
+
function peg$f68(result) { return result }
|
|
490
|
+
function peg$f69(resource) { return { resource } }
|
|
491
|
+
function peg$f70(result, key) { result.key = key }
|
|
492
|
+
function peg$f71(result, link) {result.link = link }
|
|
493
|
+
function peg$f72(result, property) {result.property = property }
|
|
494
|
+
function peg$f73(result) {result.count = true }
|
|
495
|
+
function peg$f74(result, options) {result.options = options }
|
|
496
|
+
function peg$f75(result) { return result }
|
|
497
|
+
function peg$f76(sign, d) { return Number(sign + d) }
|
|
498
|
+
function peg$f77(d) { return parseInt(d, 10) }
|
|
499
|
+
function peg$f78() { return null }
|
|
500
|
+
function peg$f79() { return true }
|
|
501
|
+
function peg$f80() { return false }
|
|
502
|
+
function peg$f81(sign, day, hour, minute, second) {return hour || minute || second }
|
|
503
|
+
function peg$f82(sign, day, hour, minute, second) {
|
|
586
504
|
return {
|
|
587
505
|
hour: hour || undefined,
|
|
588
506
|
minute: minute || undefined,
|
|
589
507
|
second: second || undefined
|
|
590
508
|
}
|
|
591
509
|
}
|
|
592
|
-
function peg$
|
|
593
|
-
function peg$
|
|
510
|
+
function peg$f83(sign, day, time) {return day || time }
|
|
511
|
+
function peg$f84(sign, day, time) { return {
|
|
594
512
|
negative: sign === '-',
|
|
595
513
|
day: day || undefined,
|
|
596
514
|
hour: time?.hour,
|
|
597
515
|
minute: time?.minute,
|
|
598
516
|
second: time?.second,
|
|
599
517
|
} }
|
|
600
|
-
function peg$
|
|
601
|
-
function peg$
|
|
602
|
-
function peg$
|
|
603
|
-
function peg$
|
|
604
|
-
function peg$
|
|
605
|
-
function peg$
|
|
606
|
-
function peg$
|
|
607
|
-
function peg$
|
|
608
|
-
function peg$
|
|
609
|
-
function peg$
|
|
610
|
-
function peg$
|
|
611
|
-
function peg$
|
|
612
|
-
function peg$
|
|
613
|
-
function peg$
|
|
614
|
-
function peg$
|
|
615
|
-
function peg$
|
|
518
|
+
function peg$f85(d) { return Number(d) }
|
|
519
|
+
function peg$f86(text) { return decodeURIComponent(text) }
|
|
520
|
+
function peg$f87() { return '+' }
|
|
521
|
+
function peg$f88() { return '\'' }
|
|
522
|
+
function peg$f89(text) { return decodeURIComponent(text.join('')) }
|
|
523
|
+
function peg$f90(param) { return { bind: '@' + param } }
|
|
524
|
+
function peg$f91(n) { return Bind(['Real', n]) }
|
|
525
|
+
function peg$f92(n) { return Bind(['Integer', n]) }
|
|
526
|
+
function peg$f93() { return 'Date Time' }
|
|
527
|
+
function peg$f94() { return 'Date' }
|
|
528
|
+
function peg$f95(type, date) { return Date.parse(date) }
|
|
529
|
+
function peg$f96(type, date) { return isNaN(date) }
|
|
530
|
+
function peg$f97(type, date) { return [type, date] }
|
|
531
|
+
function peg$f98(d) { return Bind(d) }
|
|
532
|
+
function peg$f99(b) { return Bind(['Boolean', b]) }
|
|
533
|
+
function peg$f100(resource) {
|
|
616
534
|
const bind = Bind(['ContentReference', resource])
|
|
617
535
|
return { resource: bind, key: bind }
|
|
618
536
|
}
|
|
619
|
-
function peg$
|
|
537
|
+
function peg$f101(t) { return Bind(['Text', t]) }
|
|
620
538
|
let peg$currPos = options.peg$currPos | 0;
|
|
621
539
|
let peg$savedPos = peg$currPos;
|
|
622
540
|
const peg$posDetailsCache = [{ line: 1, column: 1 }];
|
|
@@ -2280,7 +2198,7 @@ function peg$parse(input, options) {
|
|
|
2280
2198
|
}
|
|
2281
2199
|
|
|
2282
2200
|
function peg$parseFilterByOperand() {
|
|
2283
|
-
let s0, s1, s2, s3;
|
|
2201
|
+
let s0, s1, s2, s3, s4;
|
|
2284
2202
|
|
|
2285
2203
|
const key = peg$currPos * 64 + 25;
|
|
2286
2204
|
const cached = peg$resultsCache[key];
|
|
@@ -2293,125 +2211,50 @@ function peg$parse(input, options) {
|
|
|
2293
2211
|
|
|
2294
2212
|
s0 = peg$currPos;
|
|
2295
2213
|
s1 = peg$parsespaces();
|
|
2296
|
-
|
|
2297
|
-
|
|
2298
|
-
|
|
2214
|
+
s2 = peg$currPos;
|
|
2215
|
+
s3 = [];
|
|
2216
|
+
s4 = input.charAt(peg$currPos);
|
|
2217
|
+
if (peg$r1.test(s4)) {
|
|
2218
|
+
peg$currPos++;
|
|
2299
2219
|
} else {
|
|
2300
|
-
|
|
2220
|
+
s4 = peg$FAILED;
|
|
2301
2221
|
if (peg$silentFails === 0) { peg$fail(peg$e36); }
|
|
2302
2222
|
}
|
|
2303
|
-
if (
|
|
2304
|
-
|
|
2305
|
-
|
|
2306
|
-
peg$currPos
|
|
2307
|
-
|
|
2308
|
-
|
|
2309
|
-
if (peg$silentFails === 0) { peg$fail(peg$e37); }
|
|
2310
|
-
}
|
|
2311
|
-
if (s2 === peg$FAILED) {
|
|
2312
|
-
if (input.substr(peg$currPos, 2) === peg$c36) {
|
|
2313
|
-
s2 = peg$c36;
|
|
2314
|
-
peg$currPos += 2;
|
|
2223
|
+
if (s4 !== peg$FAILED) {
|
|
2224
|
+
while (s4 !== peg$FAILED) {
|
|
2225
|
+
s3.push(s4);
|
|
2226
|
+
s4 = input.charAt(peg$currPos);
|
|
2227
|
+
if (peg$r1.test(s4)) {
|
|
2228
|
+
peg$currPos++;
|
|
2315
2229
|
} else {
|
|
2316
|
-
|
|
2317
|
-
if (peg$silentFails === 0) { peg$fail(peg$
|
|
2318
|
-
}
|
|
2319
|
-
if (s2 === peg$FAILED) {
|
|
2320
|
-
if (input.substr(peg$currPos, 2) === peg$c37) {
|
|
2321
|
-
s2 = peg$c37;
|
|
2322
|
-
peg$currPos += 2;
|
|
2323
|
-
} else {
|
|
2324
|
-
s2 = peg$FAILED;
|
|
2325
|
-
if (peg$silentFails === 0) { peg$fail(peg$e39); }
|
|
2326
|
-
}
|
|
2327
|
-
if (s2 === peg$FAILED) {
|
|
2328
|
-
if (input.substr(peg$currPos, 2) === peg$c38) {
|
|
2329
|
-
s2 = peg$c38;
|
|
2330
|
-
peg$currPos += 2;
|
|
2331
|
-
} else {
|
|
2332
|
-
s2 = peg$FAILED;
|
|
2333
|
-
if (peg$silentFails === 0) { peg$fail(peg$e40); }
|
|
2334
|
-
}
|
|
2335
|
-
if (s2 === peg$FAILED) {
|
|
2336
|
-
if (input.substr(peg$currPos, 2) === peg$c39) {
|
|
2337
|
-
s2 = peg$c39;
|
|
2338
|
-
peg$currPos += 2;
|
|
2339
|
-
} else {
|
|
2340
|
-
s2 = peg$FAILED;
|
|
2341
|
-
if (peg$silentFails === 0) { peg$fail(peg$e41); }
|
|
2342
|
-
}
|
|
2343
|
-
if (s2 === peg$FAILED) {
|
|
2344
|
-
if (input.substr(peg$currPos, 3) === peg$c40) {
|
|
2345
|
-
s2 = peg$c40;
|
|
2346
|
-
peg$currPos += 3;
|
|
2347
|
-
} else {
|
|
2348
|
-
s2 = peg$FAILED;
|
|
2349
|
-
if (peg$silentFails === 0) { peg$fail(peg$e42); }
|
|
2350
|
-
}
|
|
2351
|
-
if (s2 === peg$FAILED) {
|
|
2352
|
-
if (input.substr(peg$currPos, 2) === peg$c41) {
|
|
2353
|
-
s2 = peg$c41;
|
|
2354
|
-
peg$currPos += 2;
|
|
2355
|
-
} else {
|
|
2356
|
-
s2 = peg$FAILED;
|
|
2357
|
-
if (peg$silentFails === 0) { peg$fail(peg$e43); }
|
|
2358
|
-
}
|
|
2359
|
-
if (s2 === peg$FAILED) {
|
|
2360
|
-
if (input.substr(peg$currPos, 3) === peg$c42) {
|
|
2361
|
-
s2 = peg$c42;
|
|
2362
|
-
peg$currPos += 3;
|
|
2363
|
-
} else {
|
|
2364
|
-
s2 = peg$FAILED;
|
|
2365
|
-
if (peg$silentFails === 0) { peg$fail(peg$e44); }
|
|
2366
|
-
}
|
|
2367
|
-
if (s2 === peg$FAILED) {
|
|
2368
|
-
if (input.substr(peg$currPos, 3) === peg$c43) {
|
|
2369
|
-
s2 = peg$c43;
|
|
2370
|
-
peg$currPos += 3;
|
|
2371
|
-
} else {
|
|
2372
|
-
s2 = peg$FAILED;
|
|
2373
|
-
if (peg$silentFails === 0) { peg$fail(peg$e45); }
|
|
2374
|
-
}
|
|
2375
|
-
if (s2 === peg$FAILED) {
|
|
2376
|
-
if (input.substr(peg$currPos, 3) === peg$c44) {
|
|
2377
|
-
s2 = peg$c44;
|
|
2378
|
-
peg$currPos += 3;
|
|
2379
|
-
} else {
|
|
2380
|
-
s2 = peg$FAILED;
|
|
2381
|
-
if (peg$silentFails === 0) { peg$fail(peg$e46); }
|
|
2382
|
-
}
|
|
2383
|
-
if (s2 === peg$FAILED) {
|
|
2384
|
-
if (input.substr(peg$currPos, 3) === peg$c45) {
|
|
2385
|
-
s2 = peg$c45;
|
|
2386
|
-
peg$currPos += 3;
|
|
2387
|
-
} else {
|
|
2388
|
-
s2 = peg$FAILED;
|
|
2389
|
-
if (peg$silentFails === 0) { peg$fail(peg$e47); }
|
|
2390
|
-
}
|
|
2391
|
-
if (s2 === peg$FAILED) {
|
|
2392
|
-
if (input.substr(peg$currPos, 3) === peg$c46) {
|
|
2393
|
-
s2 = peg$c46;
|
|
2394
|
-
peg$currPos += 3;
|
|
2395
|
-
} else {
|
|
2396
|
-
s2 = peg$FAILED;
|
|
2397
|
-
if (peg$silentFails === 0) { peg$fail(peg$e48); }
|
|
2398
|
-
}
|
|
2399
|
-
}
|
|
2400
|
-
}
|
|
2401
|
-
}
|
|
2402
|
-
}
|
|
2403
|
-
}
|
|
2404
|
-
}
|
|
2405
|
-
}
|
|
2406
|
-
}
|
|
2407
|
-
}
|
|
2230
|
+
s4 = peg$FAILED;
|
|
2231
|
+
if (peg$silentFails === 0) { peg$fail(peg$e36); }
|
|
2408
2232
|
}
|
|
2409
2233
|
}
|
|
2234
|
+
} else {
|
|
2235
|
+
s3 = peg$FAILED;
|
|
2236
|
+
}
|
|
2237
|
+
if (s3 !== peg$FAILED) {
|
|
2238
|
+
s2 = input.substring(s2, peg$currPos);
|
|
2239
|
+
} else {
|
|
2240
|
+
s2 = s3;
|
|
2410
2241
|
}
|
|
2411
2242
|
if (s2 !== peg$FAILED) {
|
|
2412
|
-
|
|
2243
|
+
peg$savedPos = peg$currPos;
|
|
2244
|
+
s3 = peg$f33(s2);
|
|
2245
|
+
if (s3) {
|
|
2246
|
+
s3 = undefined;
|
|
2247
|
+
} else {
|
|
2248
|
+
s3 = peg$FAILED;
|
|
2249
|
+
}
|
|
2413
2250
|
if (s3 !== peg$FAILED) {
|
|
2414
|
-
|
|
2251
|
+
s4 = peg$parseboundary();
|
|
2252
|
+
if (s4 !== peg$FAILED) {
|
|
2253
|
+
s0 = s2;
|
|
2254
|
+
} else {
|
|
2255
|
+
peg$currPos = s0;
|
|
2256
|
+
s0 = peg$FAILED;
|
|
2257
|
+
}
|
|
2415
2258
|
} else {
|
|
2416
2259
|
peg$currPos = s0;
|
|
2417
2260
|
s0 = peg$FAILED;
|
|
@@ -2440,12 +2283,12 @@ function peg$parse(input, options) {
|
|
|
2440
2283
|
|
|
2441
2284
|
s0 = peg$currPos;
|
|
2442
2285
|
s1 = peg$parsespaces();
|
|
2443
|
-
if (input.substr(peg$currPos, 3) === peg$
|
|
2444
|
-
s2 = peg$
|
|
2286
|
+
if (input.substr(peg$currPos, 3) === peg$c34) {
|
|
2287
|
+
s2 = peg$c34;
|
|
2445
2288
|
peg$currPos += 3;
|
|
2446
2289
|
} else {
|
|
2447
2290
|
s2 = peg$FAILED;
|
|
2448
|
-
if (peg$silentFails === 0) { peg$fail(peg$
|
|
2291
|
+
if (peg$silentFails === 0) { peg$fail(peg$e37); }
|
|
2449
2292
|
}
|
|
2450
2293
|
if (s2 !== peg$FAILED) {
|
|
2451
2294
|
s3 = peg$parseboundary();
|
|
@@ -2551,7 +2394,7 @@ function peg$parse(input, options) {
|
|
|
2551
2394
|
}
|
|
2552
2395
|
if (s5 !== peg$FAILED) {
|
|
2553
2396
|
peg$savedPos = s0;
|
|
2554
|
-
s0 = peg$
|
|
2397
|
+
s0 = peg$f34(s3);
|
|
2555
2398
|
} else {
|
|
2556
2399
|
peg$currPos = s0;
|
|
2557
2400
|
s0 = peg$FAILED;
|
|
@@ -2571,7 +2414,7 @@ function peg$parse(input, options) {
|
|
|
2571
2414
|
}
|
|
2572
2415
|
|
|
2573
2416
|
function peg$parseFilterMethodCallExpression() {
|
|
2574
|
-
let s0, s1, s2, s3, s4, s5, s6, s7, s8, s9;
|
|
2417
|
+
let s0, s1, s2, s3, s4, s5, s6, s7, s8, s9, s10;
|
|
2575
2418
|
|
|
2576
2419
|
const key = peg$currPos * 64 + 28;
|
|
2577
2420
|
const cached = peg$resultsCache[key];
|
|
@@ -2583,346 +2426,109 @@ function peg$parse(input, options) {
|
|
|
2583
2426
|
}
|
|
2584
2427
|
|
|
2585
2428
|
s0 = peg$currPos;
|
|
2586
|
-
|
|
2587
|
-
|
|
2588
|
-
|
|
2429
|
+
s1 = peg$currPos;
|
|
2430
|
+
s2 = [];
|
|
2431
|
+
s3 = input.charAt(peg$currPos);
|
|
2432
|
+
if (peg$r1.test(s3)) {
|
|
2433
|
+
peg$currPos++;
|
|
2589
2434
|
} else {
|
|
2590
|
-
|
|
2591
|
-
if (peg$silentFails === 0) { peg$fail(peg$
|
|
2435
|
+
s3 = peg$FAILED;
|
|
2436
|
+
if (peg$silentFails === 0) { peg$fail(peg$e36); }
|
|
2592
2437
|
}
|
|
2593
|
-
if (
|
|
2594
|
-
|
|
2595
|
-
|
|
2596
|
-
peg$currPos
|
|
2597
|
-
|
|
2598
|
-
|
|
2599
|
-
if (peg$silentFails === 0) { peg$fail(peg$e51); }
|
|
2600
|
-
}
|
|
2601
|
-
if (s1 === peg$FAILED) {
|
|
2602
|
-
if (input.substr(peg$currPos, 6) === peg$c50) {
|
|
2603
|
-
s1 = peg$c50;
|
|
2604
|
-
peg$currPos += 6;
|
|
2438
|
+
if (s3 !== peg$FAILED) {
|
|
2439
|
+
while (s3 !== peg$FAILED) {
|
|
2440
|
+
s2.push(s3);
|
|
2441
|
+
s3 = input.charAt(peg$currPos);
|
|
2442
|
+
if (peg$r1.test(s3)) {
|
|
2443
|
+
peg$currPos++;
|
|
2605
2444
|
} else {
|
|
2606
|
-
|
|
2607
|
-
if (peg$silentFails === 0) { peg$fail(peg$
|
|
2608
|
-
}
|
|
2609
|
-
if (s1 === peg$FAILED) {
|
|
2610
|
-
if (input.substr(peg$currPos, 8) === peg$c51) {
|
|
2611
|
-
s1 = peg$c51;
|
|
2612
|
-
peg$currPos += 8;
|
|
2613
|
-
} else {
|
|
2614
|
-
s1 = peg$FAILED;
|
|
2615
|
-
if (peg$silentFails === 0) { peg$fail(peg$e53); }
|
|
2616
|
-
}
|
|
2617
|
-
if (s1 === peg$FAILED) {
|
|
2618
|
-
if (input.substr(peg$currPos, 4) === peg$c52) {
|
|
2619
|
-
s1 = peg$c52;
|
|
2620
|
-
peg$currPos += 4;
|
|
2621
|
-
} else {
|
|
2622
|
-
s1 = peg$FAILED;
|
|
2623
|
-
if (peg$silentFails === 0) { peg$fail(peg$e54); }
|
|
2624
|
-
}
|
|
2625
|
-
if (s1 === peg$FAILED) {
|
|
2626
|
-
if (input.substr(peg$currPos, 3) === peg$c53) {
|
|
2627
|
-
s1 = peg$c53;
|
|
2628
|
-
peg$currPos += 3;
|
|
2629
|
-
} else {
|
|
2630
|
-
s1 = peg$FAILED;
|
|
2631
|
-
if (peg$silentFails === 0) { peg$fail(peg$e55); }
|
|
2632
|
-
}
|
|
2633
|
-
if (s1 === peg$FAILED) {
|
|
2634
|
-
if (input.substr(peg$currPos, 8) === peg$c54) {
|
|
2635
|
-
s1 = peg$c54;
|
|
2636
|
-
peg$currPos += 8;
|
|
2637
|
-
} else {
|
|
2638
|
-
s1 = peg$FAILED;
|
|
2639
|
-
if (peg$silentFails === 0) { peg$fail(peg$e56); }
|
|
2640
|
-
}
|
|
2641
|
-
if (s1 === peg$FAILED) {
|
|
2642
|
-
if (input.substr(peg$currPos, 5) === peg$c55) {
|
|
2643
|
-
s1 = peg$c55;
|
|
2644
|
-
peg$currPos += 5;
|
|
2645
|
-
} else {
|
|
2646
|
-
s1 = peg$FAILED;
|
|
2647
|
-
if (peg$silentFails === 0) { peg$fail(peg$e57); }
|
|
2648
|
-
}
|
|
2649
|
-
if (s1 === peg$FAILED) {
|
|
2650
|
-
if (input.substr(peg$currPos, 17) === peg$c56) {
|
|
2651
|
-
s1 = peg$c56;
|
|
2652
|
-
peg$currPos += 17;
|
|
2653
|
-
} else {
|
|
2654
|
-
s1 = peg$FAILED;
|
|
2655
|
-
if (peg$silentFails === 0) { peg$fail(peg$e58); }
|
|
2656
|
-
}
|
|
2657
|
-
if (s1 === peg$FAILED) {
|
|
2658
|
-
if (input.substr(peg$currPos, 4) === peg$c57) {
|
|
2659
|
-
s1 = peg$c57;
|
|
2660
|
-
peg$currPos += 4;
|
|
2661
|
-
} else {
|
|
2662
|
-
s1 = peg$FAILED;
|
|
2663
|
-
if (peg$silentFails === 0) { peg$fail(peg$e59); }
|
|
2664
|
-
}
|
|
2665
|
-
if (s1 === peg$FAILED) {
|
|
2666
|
-
if (input.substr(peg$currPos, 7) === peg$c58) {
|
|
2667
|
-
s1 = peg$c58;
|
|
2668
|
-
peg$currPos += 7;
|
|
2669
|
-
} else {
|
|
2670
|
-
s1 = peg$FAILED;
|
|
2671
|
-
if (peg$silentFails === 0) { peg$fail(peg$e60); }
|
|
2672
|
-
}
|
|
2673
|
-
if (s1 === peg$FAILED) {
|
|
2674
|
-
if (input.substr(peg$currPos, 4) === peg$c59) {
|
|
2675
|
-
s1 = peg$c59;
|
|
2676
|
-
peg$currPos += 4;
|
|
2677
|
-
} else {
|
|
2678
|
-
s1 = peg$FAILED;
|
|
2679
|
-
if (peg$silentFails === 0) { peg$fail(peg$e61); }
|
|
2680
|
-
}
|
|
2681
|
-
if (s1 === peg$FAILED) {
|
|
2682
|
-
if (input.substr(peg$currPos, 6) === peg$c60) {
|
|
2683
|
-
s1 = peg$c60;
|
|
2684
|
-
peg$currPos += 6;
|
|
2685
|
-
} else {
|
|
2686
|
-
s1 = peg$FAILED;
|
|
2687
|
-
if (peg$silentFails === 0) { peg$fail(peg$e62); }
|
|
2688
|
-
}
|
|
2689
|
-
if (s1 === peg$FAILED) {
|
|
2690
|
-
if (input.substr(peg$currPos, 11) === peg$c61) {
|
|
2691
|
-
s1 = peg$c61;
|
|
2692
|
-
peg$currPos += 11;
|
|
2693
|
-
} else {
|
|
2694
|
-
s1 = peg$FAILED;
|
|
2695
|
-
if (peg$silentFails === 0) { peg$fail(peg$e63); }
|
|
2696
|
-
}
|
|
2697
|
-
if (s1 === peg$FAILED) {
|
|
2698
|
-
if (input.substr(peg$currPos, 11) === peg$c62) {
|
|
2699
|
-
s1 = peg$c62;
|
|
2700
|
-
peg$currPos += 11;
|
|
2701
|
-
} else {
|
|
2702
|
-
s1 = peg$FAILED;
|
|
2703
|
-
if (peg$silentFails === 0) { peg$fail(peg$e64); }
|
|
2704
|
-
}
|
|
2705
|
-
if (s1 === peg$FAILED) {
|
|
2706
|
-
if (input.substr(peg$currPos, 6) === peg$c63) {
|
|
2707
|
-
s1 = peg$c63;
|
|
2708
|
-
peg$currPos += 6;
|
|
2709
|
-
} else {
|
|
2710
|
-
s1 = peg$FAILED;
|
|
2711
|
-
if (peg$silentFails === 0) { peg$fail(peg$e65); }
|
|
2712
|
-
}
|
|
2713
|
-
if (s1 === peg$FAILED) {
|
|
2714
|
-
if (input.substr(peg$currPos, 5) === peg$c64) {
|
|
2715
|
-
s1 = peg$c64;
|
|
2716
|
-
peg$currPos += 5;
|
|
2717
|
-
} else {
|
|
2718
|
-
s1 = peg$FAILED;
|
|
2719
|
-
if (peg$silentFails === 0) { peg$fail(peg$e66); }
|
|
2720
|
-
}
|
|
2721
|
-
if (s1 === peg$FAILED) {
|
|
2722
|
-
if (input.substr(peg$currPos, 3) === peg$c65) {
|
|
2723
|
-
s1 = peg$c65;
|
|
2724
|
-
peg$currPos += 3;
|
|
2725
|
-
} else {
|
|
2726
|
-
s1 = peg$FAILED;
|
|
2727
|
-
if (peg$silentFails === 0) { peg$fail(peg$e67); }
|
|
2728
|
-
}
|
|
2729
|
-
if (s1 === peg$FAILED) {
|
|
2730
|
-
if (input.substr(peg$currPos, 7) === peg$c66) {
|
|
2731
|
-
s1 = peg$c66;
|
|
2732
|
-
peg$currPos += 7;
|
|
2733
|
-
} else {
|
|
2734
|
-
s1 = peg$FAILED;
|
|
2735
|
-
if (peg$silentFails === 0) { peg$fail(peg$e68); }
|
|
2736
|
-
}
|
|
2737
|
-
if (s1 === peg$FAILED) {
|
|
2738
|
-
if (input.substr(peg$currPos, 5) === peg$c67) {
|
|
2739
|
-
s1 = peg$c67;
|
|
2740
|
-
peg$currPos += 5;
|
|
2741
|
-
} else {
|
|
2742
|
-
s1 = peg$FAILED;
|
|
2743
|
-
if (peg$silentFails === 0) { peg$fail(peg$e69); }
|
|
2744
|
-
}
|
|
2745
|
-
if (s1 === peg$FAILED) {
|
|
2746
|
-
if (input.substr(peg$currPos, 6) === peg$c68) {
|
|
2747
|
-
s1 = peg$c68;
|
|
2748
|
-
peg$currPos += 6;
|
|
2749
|
-
} else {
|
|
2750
|
-
s1 = peg$FAILED;
|
|
2751
|
-
if (peg$silentFails === 0) { peg$fail(peg$e70); }
|
|
2752
|
-
}
|
|
2753
|
-
if (s1 === peg$FAILED) {
|
|
2754
|
-
if (input.substr(peg$currPos, 10) === peg$c69) {
|
|
2755
|
-
s1 = peg$c69;
|
|
2756
|
-
peg$currPos += 10;
|
|
2757
|
-
} else {
|
|
2758
|
-
s1 = peg$FAILED;
|
|
2759
|
-
if (peg$silentFails === 0) { peg$fail(peg$e71); }
|
|
2760
|
-
}
|
|
2761
|
-
if (s1 === peg$FAILED) {
|
|
2762
|
-
if (input.substr(peg$currPos, 11) === peg$c70) {
|
|
2763
|
-
s1 = peg$c70;
|
|
2764
|
-
peg$currPos += 11;
|
|
2765
|
-
} else {
|
|
2766
|
-
s1 = peg$FAILED;
|
|
2767
|
-
if (peg$silentFails === 0) { peg$fail(peg$e72); }
|
|
2768
|
-
}
|
|
2769
|
-
if (s1 === peg$FAILED) {
|
|
2770
|
-
if (input.substr(peg$currPos, 9) === peg$c71) {
|
|
2771
|
-
s1 = peg$c71;
|
|
2772
|
-
peg$currPos += 9;
|
|
2773
|
-
} else {
|
|
2774
|
-
s1 = peg$FAILED;
|
|
2775
|
-
if (peg$silentFails === 0) { peg$fail(peg$e73); }
|
|
2776
|
-
}
|
|
2777
|
-
if (s1 === peg$FAILED) {
|
|
2778
|
-
if (input.substr(peg$currPos, 4) === peg$c72) {
|
|
2779
|
-
s1 = peg$c72;
|
|
2780
|
-
peg$currPos += 4;
|
|
2781
|
-
} else {
|
|
2782
|
-
s1 = peg$FAILED;
|
|
2783
|
-
if (peg$silentFails === 0) { peg$fail(peg$e74); }
|
|
2784
|
-
}
|
|
2785
|
-
if (s1 === peg$FAILED) {
|
|
2786
|
-
if (input.substr(peg$currPos, 7) === peg$c73) {
|
|
2787
|
-
s1 = peg$c73;
|
|
2788
|
-
peg$currPos += 7;
|
|
2789
|
-
} else {
|
|
2790
|
-
s1 = peg$FAILED;
|
|
2791
|
-
if (peg$silentFails === 0) { peg$fail(peg$e75); }
|
|
2792
|
-
}
|
|
2793
|
-
if (s1 === peg$FAILED) {
|
|
2794
|
-
if (input.substr(peg$currPos, 18) === peg$c74) {
|
|
2795
|
-
s1 = peg$c74;
|
|
2796
|
-
peg$currPos += 18;
|
|
2797
|
-
} else {
|
|
2798
|
-
s1 = peg$FAILED;
|
|
2799
|
-
if (peg$silentFails === 0) { peg$fail(peg$e76); }
|
|
2800
|
-
}
|
|
2801
|
-
if (s1 === peg$FAILED) {
|
|
2802
|
-
if (input.substr(peg$currPos, 12) === peg$c75) {
|
|
2803
|
-
s1 = peg$c75;
|
|
2804
|
-
peg$currPos += 12;
|
|
2805
|
-
} else {
|
|
2806
|
-
s1 = peg$FAILED;
|
|
2807
|
-
if (peg$silentFails === 0) { peg$fail(peg$e77); }
|
|
2808
|
-
}
|
|
2809
|
-
if (s1 === peg$FAILED) {
|
|
2810
|
-
if (input.substr(peg$currPos, 7) === peg$c76) {
|
|
2811
|
-
s1 = peg$c76;
|
|
2812
|
-
peg$currPos += 7;
|
|
2813
|
-
} else {
|
|
2814
|
-
s1 = peg$FAILED;
|
|
2815
|
-
if (peg$silentFails === 0) { peg$fail(peg$e78); }
|
|
2816
|
-
}
|
|
2817
|
-
if (s1 === peg$FAILED) {
|
|
2818
|
-
if (input.substr(peg$currPos, 4) === peg$c77) {
|
|
2819
|
-
s1 = peg$c77;
|
|
2820
|
-
peg$currPos += 4;
|
|
2821
|
-
} else {
|
|
2822
|
-
s1 = peg$FAILED;
|
|
2823
|
-
if (peg$silentFails === 0) { peg$fail(peg$e79); }
|
|
2824
|
-
}
|
|
2825
|
-
if (s1 === peg$FAILED) {
|
|
2826
|
-
if (input.substr(peg$currPos, 4) === peg$c78) {
|
|
2827
|
-
s1 = peg$c78;
|
|
2828
|
-
peg$currPos += 4;
|
|
2829
|
-
} else {
|
|
2830
|
-
s1 = peg$FAILED;
|
|
2831
|
-
if (peg$silentFails === 0) { peg$fail(peg$e80); }
|
|
2832
|
-
}
|
|
2833
|
-
}
|
|
2834
|
-
}
|
|
2835
|
-
}
|
|
2836
|
-
}
|
|
2837
|
-
}
|
|
2838
|
-
}
|
|
2839
|
-
}
|
|
2840
|
-
}
|
|
2841
|
-
}
|
|
2842
|
-
}
|
|
2843
|
-
}
|
|
2844
|
-
}
|
|
2845
|
-
}
|
|
2846
|
-
}
|
|
2847
|
-
}
|
|
2848
|
-
}
|
|
2849
|
-
}
|
|
2850
|
-
}
|
|
2851
|
-
}
|
|
2852
|
-
}
|
|
2853
|
-
}
|
|
2854
|
-
}
|
|
2855
|
-
}
|
|
2856
|
-
}
|
|
2857
|
-
}
|
|
2858
|
-
}
|
|
2859
|
-
}
|
|
2445
|
+
s3 = peg$FAILED;
|
|
2446
|
+
if (peg$silentFails === 0) { peg$fail(peg$e36); }
|
|
2860
2447
|
}
|
|
2861
2448
|
}
|
|
2449
|
+
} else {
|
|
2450
|
+
s2 = peg$FAILED;
|
|
2451
|
+
}
|
|
2452
|
+
if (s2 !== peg$FAILED) {
|
|
2453
|
+
s1 = input.substring(s1, peg$currPos);
|
|
2454
|
+
} else {
|
|
2455
|
+
s1 = s2;
|
|
2862
2456
|
}
|
|
2863
2457
|
if (s1 !== peg$FAILED) {
|
|
2864
|
-
|
|
2865
|
-
|
|
2866
|
-
|
|
2458
|
+
peg$savedPos = peg$currPos;
|
|
2459
|
+
s2 = peg$f35(s1);
|
|
2460
|
+
if (s2) {
|
|
2461
|
+
s2 = undefined;
|
|
2867
2462
|
} else {
|
|
2868
2463
|
s2 = peg$FAILED;
|
|
2869
|
-
if (peg$silentFails === 0) { peg$fail(peg$e34); }
|
|
2870
2464
|
}
|
|
2871
2465
|
if (s2 !== peg$FAILED) {
|
|
2872
|
-
|
|
2873
|
-
|
|
2874
|
-
|
|
2875
|
-
|
|
2876
|
-
|
|
2877
|
-
|
|
2878
|
-
|
|
2879
|
-
|
|
2880
|
-
|
|
2881
|
-
|
|
2882
|
-
|
|
2883
|
-
|
|
2884
|
-
|
|
2885
|
-
|
|
2886
|
-
|
|
2887
|
-
|
|
2888
|
-
|
|
2889
|
-
|
|
2890
|
-
|
|
2891
|
-
} else {
|
|
2892
|
-
peg$currPos = s6;
|
|
2893
|
-
s6 = peg$FAILED;
|
|
2894
|
-
}
|
|
2895
|
-
if (s6 !== peg$FAILED) {
|
|
2896
|
-
s6 = peg$parseFilterByExpression();
|
|
2897
|
-
if (s6 === peg$FAILED) {
|
|
2898
|
-
peg$currPos = s5;
|
|
2899
|
-
s5 = peg$FAILED;
|
|
2466
|
+
if (input.charCodeAt(peg$currPos) === 40) {
|
|
2467
|
+
s3 = peg$c32;
|
|
2468
|
+
peg$currPos++;
|
|
2469
|
+
} else {
|
|
2470
|
+
s3 = peg$FAILED;
|
|
2471
|
+
if (peg$silentFails === 0) { peg$fail(peg$e34); }
|
|
2472
|
+
}
|
|
2473
|
+
if (s3 !== peg$FAILED) {
|
|
2474
|
+
s4 = peg$parsespaces();
|
|
2475
|
+
s5 = [];
|
|
2476
|
+
s6 = peg$parseFilterByExpression();
|
|
2477
|
+
while (s6 !== peg$FAILED) {
|
|
2478
|
+
s5.push(s6);
|
|
2479
|
+
s6 = peg$currPos;
|
|
2480
|
+
s7 = peg$currPos;
|
|
2481
|
+
s8 = peg$parsespaces();
|
|
2482
|
+
if (input.charCodeAt(peg$currPos) === 44) {
|
|
2483
|
+
s9 = peg$c8;
|
|
2484
|
+
peg$currPos++;
|
|
2900
2485
|
} else {
|
|
2901
|
-
|
|
2486
|
+
s9 = peg$FAILED;
|
|
2487
|
+
if (peg$silentFails === 0) { peg$fail(peg$e9); }
|
|
2488
|
+
}
|
|
2489
|
+
if (s9 !== peg$FAILED) {
|
|
2490
|
+
s10 = peg$parsespaces();
|
|
2491
|
+
s8 = [s8, s9, s10];
|
|
2492
|
+
s7 = s8;
|
|
2493
|
+
} else {
|
|
2494
|
+
peg$currPos = s7;
|
|
2495
|
+
s7 = peg$FAILED;
|
|
2496
|
+
}
|
|
2497
|
+
if (s7 !== peg$FAILED) {
|
|
2498
|
+
s7 = peg$parseFilterByExpression();
|
|
2499
|
+
if (s7 === peg$FAILED) {
|
|
2500
|
+
peg$currPos = s6;
|
|
2501
|
+
s6 = peg$FAILED;
|
|
2502
|
+
} else {
|
|
2503
|
+
s6 = s7;
|
|
2504
|
+
}
|
|
2505
|
+
} else {
|
|
2506
|
+
s6 = s7;
|
|
2902
2507
|
}
|
|
2903
|
-
} else {
|
|
2904
|
-
s5 = s6;
|
|
2905
2508
|
}
|
|
2906
|
-
|
|
2907
|
-
|
|
2908
|
-
|
|
2909
|
-
|
|
2910
|
-
|
|
2911
|
-
s6 = undefined;
|
|
2912
|
-
} else {
|
|
2913
|
-
s6 = peg$FAILED;
|
|
2914
|
-
}
|
|
2915
|
-
if (s6 !== peg$FAILED) {
|
|
2916
|
-
if (input.charCodeAt(peg$currPos) === 41) {
|
|
2917
|
-
s7 = peg$c33;
|
|
2918
|
-
peg$currPos++;
|
|
2509
|
+
s6 = peg$parsespaces();
|
|
2510
|
+
peg$savedPos = peg$currPos;
|
|
2511
|
+
s7 = peg$f36(s1, s5);
|
|
2512
|
+
if (s7) {
|
|
2513
|
+
s7 = undefined;
|
|
2919
2514
|
} else {
|
|
2920
2515
|
s7 = peg$FAILED;
|
|
2921
|
-
if (peg$silentFails === 0) { peg$fail(peg$e35); }
|
|
2922
2516
|
}
|
|
2923
2517
|
if (s7 !== peg$FAILED) {
|
|
2924
|
-
peg$
|
|
2925
|
-
|
|
2518
|
+
if (input.charCodeAt(peg$currPos) === 41) {
|
|
2519
|
+
s8 = peg$c33;
|
|
2520
|
+
peg$currPos++;
|
|
2521
|
+
} else {
|
|
2522
|
+
s8 = peg$FAILED;
|
|
2523
|
+
if (peg$silentFails === 0) { peg$fail(peg$e35); }
|
|
2524
|
+
}
|
|
2525
|
+
if (s8 !== peg$FAILED) {
|
|
2526
|
+
peg$savedPos = s0;
|
|
2527
|
+
s0 = peg$f37(s1, s5);
|
|
2528
|
+
} else {
|
|
2529
|
+
peg$currPos = s0;
|
|
2530
|
+
s0 = peg$FAILED;
|
|
2531
|
+
}
|
|
2926
2532
|
} else {
|
|
2927
2533
|
peg$currPos = s0;
|
|
2928
2534
|
s0 = peg$FAILED;
|
|
@@ -2958,20 +2564,20 @@ function peg$parse(input, options) {
|
|
|
2958
2564
|
}
|
|
2959
2565
|
|
|
2960
2566
|
s0 = peg$currPos;
|
|
2961
|
-
if (input.substr(peg$currPos, 3) === peg$
|
|
2962
|
-
s1 = peg$
|
|
2567
|
+
if (input.substr(peg$currPos, 3) === peg$c35) {
|
|
2568
|
+
s1 = peg$c35;
|
|
2963
2569
|
peg$currPos += 3;
|
|
2964
2570
|
} else {
|
|
2965
2571
|
s1 = peg$FAILED;
|
|
2966
|
-
if (peg$silentFails === 0) { peg$fail(peg$
|
|
2572
|
+
if (peg$silentFails === 0) { peg$fail(peg$e38); }
|
|
2967
2573
|
}
|
|
2968
2574
|
if (s1 === peg$FAILED) {
|
|
2969
|
-
if (input.substr(peg$currPos, 3) === peg$
|
|
2970
|
-
s1 = peg$
|
|
2575
|
+
if (input.substr(peg$currPos, 3) === peg$c36) {
|
|
2576
|
+
s1 = peg$c36;
|
|
2971
2577
|
peg$currPos += 3;
|
|
2972
2578
|
} else {
|
|
2973
2579
|
s1 = peg$FAILED;
|
|
2974
|
-
if (peg$silentFails === 0) { peg$fail(peg$
|
|
2580
|
+
if (peg$silentFails === 0) { peg$fail(peg$e39); }
|
|
2975
2581
|
}
|
|
2976
2582
|
}
|
|
2977
2583
|
if (s1 !== peg$FAILED) {
|
|
@@ -2987,11 +2593,11 @@ function peg$parse(input, options) {
|
|
|
2987
2593
|
s4 = peg$parseResourceName();
|
|
2988
2594
|
if (s4 !== peg$FAILED) {
|
|
2989
2595
|
if (input.charCodeAt(peg$currPos) === 58) {
|
|
2990
|
-
s5 = peg$
|
|
2596
|
+
s5 = peg$c37;
|
|
2991
2597
|
peg$currPos++;
|
|
2992
2598
|
} else {
|
|
2993
2599
|
s5 = peg$FAILED;
|
|
2994
|
-
if (peg$silentFails === 0) { peg$fail(peg$
|
|
2600
|
+
if (peg$silentFails === 0) { peg$fail(peg$e40); }
|
|
2995
2601
|
}
|
|
2996
2602
|
if (s5 !== peg$FAILED) {
|
|
2997
2603
|
s6 = peg$parseFilterByExpression();
|
|
@@ -3006,7 +2612,7 @@ function peg$parse(input, options) {
|
|
|
3006
2612
|
}
|
|
3007
2613
|
if (s8 !== peg$FAILED) {
|
|
3008
2614
|
peg$savedPos = s0;
|
|
3009
|
-
s0 = peg$
|
|
2615
|
+
s0 = peg$f38(s1, s4, s6);
|
|
3010
2616
|
} else {
|
|
3011
2617
|
peg$currPos = s0;
|
|
3012
2618
|
s0 = peg$FAILED;
|
|
@@ -3114,7 +2720,7 @@ function peg$parse(input, options) {
|
|
|
3114
2720
|
s4 = peg$currPos;
|
|
3115
2721
|
s5 = '';
|
|
3116
2722
|
peg$savedPos = s4;
|
|
3117
|
-
s5 = peg$
|
|
2723
|
+
s5 = peg$f39(s1);
|
|
3118
2724
|
s4 = s5;
|
|
3119
2725
|
}
|
|
3120
2726
|
if (s4 !== peg$FAILED) {
|
|
@@ -3127,7 +2733,7 @@ function peg$parse(input, options) {
|
|
|
3127
2733
|
}
|
|
3128
2734
|
if (s5 !== peg$FAILED) {
|
|
3129
2735
|
peg$savedPos = s0;
|
|
3130
|
-
s0 = peg$
|
|
2736
|
+
s0 = peg$f40(s1, s4);
|
|
3131
2737
|
} else {
|
|
3132
2738
|
peg$currPos = s0;
|
|
3133
2739
|
s0 = peg$FAILED;
|
|
@@ -3216,7 +2822,7 @@ function peg$parse(input, options) {
|
|
|
3216
2822
|
s2 = peg$parseResourceName();
|
|
3217
2823
|
if (s2 !== peg$FAILED) {
|
|
3218
2824
|
peg$savedPos = s1;
|
|
3219
|
-
s2 = peg$
|
|
2825
|
+
s2 = peg$f41(s2);
|
|
3220
2826
|
}
|
|
3221
2827
|
s1 = s2;
|
|
3222
2828
|
if (s1 !== peg$FAILED) {
|
|
@@ -3232,7 +2838,7 @@ function peg$parse(input, options) {
|
|
|
3232
2838
|
s4 = peg$parsePropertyPath();
|
|
3233
2839
|
if (s4 !== peg$FAILED) {
|
|
3234
2840
|
peg$savedPos = s2;
|
|
3235
|
-
s2 = peg$
|
|
2841
|
+
s2 = peg$f42(s1, s4);
|
|
3236
2842
|
} else {
|
|
3237
2843
|
peg$currPos = s2;
|
|
3238
2844
|
s2 = peg$FAILED;
|
|
@@ -3243,12 +2849,12 @@ function peg$parse(input, options) {
|
|
|
3243
2849
|
}
|
|
3244
2850
|
if (s2 === peg$FAILED) {
|
|
3245
2851
|
s2 = peg$currPos;
|
|
3246
|
-
if (input.substr(peg$currPos, 7) === peg$
|
|
3247
|
-
s3 = peg$
|
|
2852
|
+
if (input.substr(peg$currPos, 7) === peg$c38) {
|
|
2853
|
+
s3 = peg$c38;
|
|
3248
2854
|
peg$currPos += 7;
|
|
3249
2855
|
} else {
|
|
3250
2856
|
s3 = peg$FAILED;
|
|
3251
|
-
if (peg$silentFails === 0) { peg$fail(peg$
|
|
2857
|
+
if (peg$silentFails === 0) { peg$fail(peg$e41); }
|
|
3252
2858
|
}
|
|
3253
2859
|
if (s3 !== peg$FAILED) {
|
|
3254
2860
|
s4 = peg$currPos;
|
|
@@ -3266,7 +2872,7 @@ function peg$parse(input, options) {
|
|
|
3266
2872
|
s8 = peg$parseFilterByOption();
|
|
3267
2873
|
if (s8 !== peg$FAILED) {
|
|
3268
2874
|
peg$savedPos = s6;
|
|
3269
|
-
s6 = peg$
|
|
2875
|
+
s6 = peg$f43(s1, s8);
|
|
3270
2876
|
} else {
|
|
3271
2877
|
peg$currPos = s6;
|
|
3272
2878
|
s6 = peg$FAILED;
|
|
@@ -3302,7 +2908,7 @@ function peg$parse(input, options) {
|
|
|
3302
2908
|
s4 = null;
|
|
3303
2909
|
}
|
|
3304
2910
|
peg$savedPos = s2;
|
|
3305
|
-
s2 = peg$
|
|
2911
|
+
s2 = peg$f44(s1);
|
|
3306
2912
|
} else {
|
|
3307
2913
|
peg$currPos = s2;
|
|
3308
2914
|
s2 = peg$FAILED;
|
|
@@ -3313,7 +2919,7 @@ function peg$parse(input, options) {
|
|
|
3313
2919
|
s4 = peg$parseKey();
|
|
3314
2920
|
if (s4 !== peg$FAILED) {
|
|
3315
2921
|
peg$savedPos = s3;
|
|
3316
|
-
s4 = peg$
|
|
2922
|
+
s4 = peg$f45(s1, s4);
|
|
3317
2923
|
}
|
|
3318
2924
|
s3 = s4;
|
|
3319
2925
|
if (s3 !== peg$FAILED) {
|
|
@@ -3329,7 +2935,7 @@ function peg$parse(input, options) {
|
|
|
3329
2935
|
s6 = peg$parsePropertyPath();
|
|
3330
2936
|
if (s6 !== peg$FAILED) {
|
|
3331
2937
|
peg$savedPos = s4;
|
|
3332
|
-
s4 = peg$
|
|
2938
|
+
s4 = peg$f46(s1, s6);
|
|
3333
2939
|
} else {
|
|
3334
2940
|
peg$currPos = s4;
|
|
3335
2941
|
s4 = peg$FAILED;
|
|
@@ -3353,7 +2959,7 @@ function peg$parse(input, options) {
|
|
|
3353
2959
|
s2 = null;
|
|
3354
2960
|
}
|
|
3355
2961
|
peg$savedPos = s0;
|
|
3356
|
-
s0 = peg$
|
|
2962
|
+
s0 = peg$f47(s1);
|
|
3357
2963
|
} else {
|
|
3358
2964
|
peg$currPos = s0;
|
|
3359
2965
|
s0 = peg$FAILED;
|
|
@@ -3430,21 +3036,21 @@ function peg$parse(input, options) {
|
|
|
3430
3036
|
s2 = peg$parseResourceName();
|
|
3431
3037
|
if (s2 !== peg$FAILED) {
|
|
3432
3038
|
peg$savedPos = s1;
|
|
3433
|
-
s2 = peg$
|
|
3039
|
+
s2 = peg$f48(s2);
|
|
3434
3040
|
}
|
|
3435
3041
|
s1 = s2;
|
|
3436
3042
|
if (s1 !== peg$FAILED) {
|
|
3437
3043
|
s2 = peg$currPos;
|
|
3438
|
-
if (input.substr(peg$currPos, 7) === peg$
|
|
3439
|
-
s3 = peg$
|
|
3044
|
+
if (input.substr(peg$currPos, 7) === peg$c38) {
|
|
3045
|
+
s3 = peg$c38;
|
|
3440
3046
|
peg$currPos += 7;
|
|
3441
3047
|
} else {
|
|
3442
3048
|
s3 = peg$FAILED;
|
|
3443
|
-
if (peg$silentFails === 0) { peg$fail(peg$
|
|
3049
|
+
if (peg$silentFails === 0) { peg$fail(peg$e41); }
|
|
3444
3050
|
}
|
|
3445
3051
|
if (s3 !== peg$FAILED) {
|
|
3446
3052
|
peg$savedPos = s2;
|
|
3447
|
-
s3 = peg$
|
|
3053
|
+
s3 = peg$f49(s1);
|
|
3448
3054
|
}
|
|
3449
3055
|
s2 = s3;
|
|
3450
3056
|
if (s2 === peg$FAILED) {
|
|
@@ -3467,11 +3073,11 @@ function peg$parse(input, options) {
|
|
|
3467
3073
|
s7.push(s8);
|
|
3468
3074
|
s8 = peg$currPos;
|
|
3469
3075
|
s9 = input.charAt(peg$currPos);
|
|
3470
|
-
if (peg$
|
|
3076
|
+
if (peg$r2.test(s9)) {
|
|
3471
3077
|
peg$currPos++;
|
|
3472
3078
|
} else {
|
|
3473
3079
|
s9 = peg$FAILED;
|
|
3474
|
-
if (peg$silentFails === 0) { peg$fail(peg$
|
|
3080
|
+
if (peg$silentFails === 0) { peg$fail(peg$e42); }
|
|
3475
3081
|
}
|
|
3476
3082
|
if (s9 !== peg$FAILED) {
|
|
3477
3083
|
s9 = peg$parseQueryOption();
|
|
@@ -3493,7 +3099,7 @@ function peg$parse(input, options) {
|
|
|
3493
3099
|
}
|
|
3494
3100
|
if (s6 !== peg$FAILED) {
|
|
3495
3101
|
peg$savedPos = s5;
|
|
3496
|
-
s6 = peg$
|
|
3102
|
+
s6 = peg$f50(s1, s6);
|
|
3497
3103
|
}
|
|
3498
3104
|
s5 = s6;
|
|
3499
3105
|
if (s5 === peg$FAILED) {
|
|
@@ -3537,7 +3143,7 @@ function peg$parse(input, options) {
|
|
|
3537
3143
|
s6 = peg$parsePropertyPath();
|
|
3538
3144
|
if (s6 !== peg$FAILED) {
|
|
3539
3145
|
peg$savedPos = s4;
|
|
3540
|
-
s4 = peg$
|
|
3146
|
+
s4 = peg$f51(s1, s6);
|
|
3541
3147
|
} else {
|
|
3542
3148
|
peg$currPos = s4;
|
|
3543
3149
|
s4 = peg$FAILED;
|
|
@@ -3550,7 +3156,7 @@ function peg$parse(input, options) {
|
|
|
3550
3156
|
s4 = null;
|
|
3551
3157
|
}
|
|
3552
3158
|
peg$savedPos = s0;
|
|
3553
|
-
s0 = peg$
|
|
3159
|
+
s0 = peg$f52(s1);
|
|
3554
3160
|
} else {
|
|
3555
3161
|
peg$currPos = s0;
|
|
3556
3162
|
s0 = peg$FAILED;
|
|
@@ -3588,7 +3194,7 @@ function peg$parse(input, options) {
|
|
|
3588
3194
|
s4 = peg$parseLambdaPropertyPath();
|
|
3589
3195
|
if (s4 !== peg$FAILED) {
|
|
3590
3196
|
peg$savedPos = s3;
|
|
3591
|
-
s4 = peg$
|
|
3197
|
+
s4 = peg$f53(s1, s4);
|
|
3592
3198
|
}
|
|
3593
3199
|
s3 = s4;
|
|
3594
3200
|
if (s3 === peg$FAILED) {
|
|
@@ -3596,7 +3202,7 @@ function peg$parse(input, options) {
|
|
|
3596
3202
|
s4 = peg$parseLambdaMethodCall();
|
|
3597
3203
|
if (s4 !== peg$FAILED) {
|
|
3598
3204
|
peg$savedPos = s3;
|
|
3599
|
-
s4 = peg$
|
|
3205
|
+
s4 = peg$f54(s1, s4);
|
|
3600
3206
|
}
|
|
3601
3207
|
s3 = s4;
|
|
3602
3208
|
if (s3 === peg$FAILED) {
|
|
@@ -3604,7 +3210,7 @@ function peg$parse(input, options) {
|
|
|
3604
3210
|
s4 = peg$parseResourceMethodCall();
|
|
3605
3211
|
if (s4 !== peg$FAILED) {
|
|
3606
3212
|
peg$savedPos = s3;
|
|
3607
|
-
s4 = peg$
|
|
3213
|
+
s4 = peg$f55(s1, s4);
|
|
3608
3214
|
}
|
|
3609
3215
|
s3 = s4;
|
|
3610
3216
|
}
|
|
@@ -3686,7 +3292,7 @@ function peg$parse(input, options) {
|
|
|
3686
3292
|
}
|
|
3687
3293
|
if (s3 !== peg$FAILED) {
|
|
3688
3294
|
peg$savedPos = s2;
|
|
3689
|
-
s3 = peg$
|
|
3295
|
+
s3 = peg$f56(s3);
|
|
3690
3296
|
}
|
|
3691
3297
|
s2 = s3;
|
|
3692
3298
|
}
|
|
@@ -3744,7 +3350,7 @@ function peg$parse(input, options) {
|
|
|
3744
3350
|
s3 = peg$parseKeyBind();
|
|
3745
3351
|
if (s3 !== peg$FAILED) {
|
|
3746
3352
|
peg$savedPos = s0;
|
|
3747
|
-
s0 = peg$
|
|
3353
|
+
s0 = peg$f57(s1, s3);
|
|
3748
3354
|
} else {
|
|
3749
3355
|
peg$currPos = s0;
|
|
3750
3356
|
s0 = peg$FAILED;
|
|
@@ -3801,12 +3407,12 @@ function peg$parse(input, options) {
|
|
|
3801
3407
|
}
|
|
3802
3408
|
|
|
3803
3409
|
s0 = peg$currPos;
|
|
3804
|
-
if (input.substr(peg$currPos, 7) === peg$
|
|
3805
|
-
s1 = peg$
|
|
3410
|
+
if (input.substr(peg$currPos, 7) === peg$c39) {
|
|
3411
|
+
s1 = peg$c39;
|
|
3806
3412
|
peg$currPos += 7;
|
|
3807
3413
|
} else {
|
|
3808
3414
|
s1 = peg$FAILED;
|
|
3809
|
-
if (peg$silentFails === 0) { peg$fail(peg$
|
|
3415
|
+
if (peg$silentFails === 0) { peg$fail(peg$e43); }
|
|
3810
3416
|
}
|
|
3811
3417
|
if (s1 !== peg$FAILED) {
|
|
3812
3418
|
s2 = peg$parseSubPathSegment();
|
|
@@ -3852,7 +3458,7 @@ function peg$parse(input, options) {
|
|
|
3852
3458
|
s4 = peg$parseResourceName();
|
|
3853
3459
|
if (s4 !== peg$FAILED) {
|
|
3854
3460
|
peg$savedPos = s3;
|
|
3855
|
-
s4 = peg$
|
|
3461
|
+
s4 = peg$f58(s4);
|
|
3856
3462
|
}
|
|
3857
3463
|
s3 = s4;
|
|
3858
3464
|
if (s3 !== peg$FAILED) {
|
|
@@ -3861,7 +3467,7 @@ function peg$parse(input, options) {
|
|
|
3861
3467
|
s6 = peg$parseKey();
|
|
3862
3468
|
if (s6 !== peg$FAILED) {
|
|
3863
3469
|
peg$savedPos = s5;
|
|
3864
|
-
s6 = peg$
|
|
3470
|
+
s6 = peg$f59(s3, s6);
|
|
3865
3471
|
}
|
|
3866
3472
|
s5 = s6;
|
|
3867
3473
|
if (s5 !== peg$FAILED) {
|
|
@@ -3869,7 +3475,7 @@ function peg$parse(input, options) {
|
|
|
3869
3475
|
s7 = peg$parseLinks();
|
|
3870
3476
|
if (s7 !== peg$FAILED) {
|
|
3871
3477
|
peg$savedPos = s6;
|
|
3872
|
-
s7 = peg$
|
|
3478
|
+
s7 = peg$f60(s3, s7);
|
|
3873
3479
|
}
|
|
3874
3480
|
s6 = s7;
|
|
3875
3481
|
if (s6 === peg$FAILED) {
|
|
@@ -3877,7 +3483,7 @@ function peg$parse(input, options) {
|
|
|
3877
3483
|
s7 = peg$parseSubPathSegment();
|
|
3878
3484
|
if (s7 !== peg$FAILED) {
|
|
3879
3485
|
peg$savedPos = s6;
|
|
3880
|
-
s7 = peg$
|
|
3486
|
+
s7 = peg$f61(s3, s7);
|
|
3881
3487
|
}
|
|
3882
3488
|
s6 = s7;
|
|
3883
3489
|
}
|
|
@@ -3892,16 +3498,16 @@ function peg$parse(input, options) {
|
|
|
3892
3498
|
}
|
|
3893
3499
|
if (s4 === peg$FAILED) {
|
|
3894
3500
|
s4 = peg$currPos;
|
|
3895
|
-
if (input.substr(peg$currPos, 7) === peg$
|
|
3896
|
-
s5 = peg$
|
|
3501
|
+
if (input.substr(peg$currPos, 7) === peg$c38) {
|
|
3502
|
+
s5 = peg$c38;
|
|
3897
3503
|
peg$currPos += 7;
|
|
3898
3504
|
} else {
|
|
3899
3505
|
s5 = peg$FAILED;
|
|
3900
|
-
if (peg$silentFails === 0) { peg$fail(peg$
|
|
3506
|
+
if (peg$silentFails === 0) { peg$fail(peg$e41); }
|
|
3901
3507
|
}
|
|
3902
3508
|
if (s5 !== peg$FAILED) {
|
|
3903
3509
|
peg$savedPos = s4;
|
|
3904
|
-
s5 = peg$
|
|
3510
|
+
s5 = peg$f62(s3);
|
|
3905
3511
|
}
|
|
3906
3512
|
s4 = s5;
|
|
3907
3513
|
}
|
|
@@ -3909,7 +3515,7 @@ function peg$parse(input, options) {
|
|
|
3909
3515
|
s4 = null;
|
|
3910
3516
|
}
|
|
3911
3517
|
peg$savedPos = s1;
|
|
3912
|
-
s1 = peg$
|
|
3518
|
+
s1 = peg$f63(s3);
|
|
3913
3519
|
} else {
|
|
3914
3520
|
peg$currPos = s1;
|
|
3915
3521
|
s1 = peg$FAILED;
|
|
@@ -3926,7 +3532,7 @@ function peg$parse(input, options) {
|
|
|
3926
3532
|
s4 = peg$parseLinks();
|
|
3927
3533
|
if (s4 !== peg$FAILED) {
|
|
3928
3534
|
peg$savedPos = s3;
|
|
3929
|
-
s4 = peg$
|
|
3535
|
+
s4 = peg$f64(s2, s4);
|
|
3930
3536
|
}
|
|
3931
3537
|
s3 = s4;
|
|
3932
3538
|
if (s3 === peg$FAILED) {
|
|
@@ -3934,7 +3540,7 @@ function peg$parse(input, options) {
|
|
|
3934
3540
|
s4 = peg$parseSubPathSegment();
|
|
3935
3541
|
if (s4 !== peg$FAILED) {
|
|
3936
3542
|
peg$savedPos = s3;
|
|
3937
|
-
s4 = peg$
|
|
3543
|
+
s4 = peg$f65(s2, s4);
|
|
3938
3544
|
}
|
|
3939
3545
|
s3 = s4;
|
|
3940
3546
|
}
|
|
@@ -3942,7 +3548,7 @@ function peg$parse(input, options) {
|
|
|
3942
3548
|
s3 = null;
|
|
3943
3549
|
}
|
|
3944
3550
|
peg$savedPos = s1;
|
|
3945
|
-
s1 = peg$
|
|
3551
|
+
s1 = peg$f66(s2);
|
|
3946
3552
|
} else {
|
|
3947
3553
|
peg$currPos = s1;
|
|
3948
3554
|
s1 = peg$FAILED;
|
|
@@ -3951,18 +3557,18 @@ function peg$parse(input, options) {
|
|
|
3951
3557
|
if (s1 !== peg$FAILED) {
|
|
3952
3558
|
s2 = peg$currPos;
|
|
3953
3559
|
if (input.charCodeAt(peg$currPos) === 63) {
|
|
3954
|
-
s3 = peg$
|
|
3560
|
+
s3 = peg$c40;
|
|
3955
3561
|
peg$currPos++;
|
|
3956
3562
|
} else {
|
|
3957
3563
|
s3 = peg$FAILED;
|
|
3958
|
-
if (peg$silentFails === 0) { peg$fail(peg$
|
|
3564
|
+
if (peg$silentFails === 0) { peg$fail(peg$e44); }
|
|
3959
3565
|
}
|
|
3960
3566
|
if (s3 !== peg$FAILED) {
|
|
3961
3567
|
s4 = peg$currPos;
|
|
3962
3568
|
s5 = peg$parseQueryOptions();
|
|
3963
3569
|
if (s5 !== peg$FAILED) {
|
|
3964
3570
|
peg$savedPos = s4;
|
|
3965
|
-
s5 = peg$
|
|
3571
|
+
s5 = peg$f67(s1, s5);
|
|
3966
3572
|
}
|
|
3967
3573
|
s4 = s5;
|
|
3968
3574
|
if (s4 === peg$FAILED) {
|
|
@@ -3978,7 +3584,7 @@ function peg$parse(input, options) {
|
|
|
3978
3584
|
s2 = null;
|
|
3979
3585
|
}
|
|
3980
3586
|
peg$savedPos = s0;
|
|
3981
|
-
s0 = peg$
|
|
3587
|
+
s0 = peg$f68(s1);
|
|
3982
3588
|
} else {
|
|
3983
3589
|
peg$currPos = s0;
|
|
3984
3590
|
s0 = peg$FAILED;
|
|
@@ -4014,7 +3620,7 @@ function peg$parse(input, options) {
|
|
|
4014
3620
|
s3 = peg$parseResourceName();
|
|
4015
3621
|
if (s3 !== peg$FAILED) {
|
|
4016
3622
|
peg$savedPos = s2;
|
|
4017
|
-
s3 = peg$
|
|
3623
|
+
s3 = peg$f69(s3);
|
|
4018
3624
|
}
|
|
4019
3625
|
s2 = s3;
|
|
4020
3626
|
if (s2 !== peg$FAILED) {
|
|
@@ -4022,25 +3628,25 @@ function peg$parse(input, options) {
|
|
|
4022
3628
|
s4 = peg$parseKey();
|
|
4023
3629
|
if (s4 !== peg$FAILED) {
|
|
4024
3630
|
peg$savedPos = s3;
|
|
4025
|
-
s4 = peg$
|
|
3631
|
+
s4 = peg$f70(s2, s4);
|
|
4026
3632
|
}
|
|
4027
3633
|
s3 = s4;
|
|
4028
3634
|
if (s3 === peg$FAILED) {
|
|
4029
3635
|
s3 = null;
|
|
4030
3636
|
}
|
|
4031
3637
|
s4 = peg$currPos;
|
|
4032
|
-
if (input.substr(peg$currPos, 7) === peg$
|
|
4033
|
-
s5 = peg$
|
|
3638
|
+
if (input.substr(peg$currPos, 7) === peg$c39) {
|
|
3639
|
+
s5 = peg$c39;
|
|
4034
3640
|
peg$currPos += 7;
|
|
4035
3641
|
} else {
|
|
4036
3642
|
s5 = peg$FAILED;
|
|
4037
|
-
if (peg$silentFails === 0) { peg$fail(peg$
|
|
3643
|
+
if (peg$silentFails === 0) { peg$fail(peg$e43); }
|
|
4038
3644
|
}
|
|
4039
3645
|
if (s5 !== peg$FAILED) {
|
|
4040
3646
|
s6 = peg$parseSubPathSegment();
|
|
4041
3647
|
if (s6 !== peg$FAILED) {
|
|
4042
3648
|
peg$savedPos = s4;
|
|
4043
|
-
s4 = peg$
|
|
3649
|
+
s4 = peg$f71(s2, s6);
|
|
4044
3650
|
} else {
|
|
4045
3651
|
peg$currPos = s4;
|
|
4046
3652
|
s4 = peg$FAILED;
|
|
@@ -4054,7 +3660,7 @@ function peg$parse(input, options) {
|
|
|
4054
3660
|
s5 = peg$parseSubPathSegment();
|
|
4055
3661
|
if (s5 !== peg$FAILED) {
|
|
4056
3662
|
peg$savedPos = s4;
|
|
4057
|
-
s5 = peg$
|
|
3663
|
+
s5 = peg$f72(s2, s5);
|
|
4058
3664
|
}
|
|
4059
3665
|
s4 = s5;
|
|
4060
3666
|
}
|
|
@@ -4062,16 +3668,16 @@ function peg$parse(input, options) {
|
|
|
4062
3668
|
s4 = null;
|
|
4063
3669
|
}
|
|
4064
3670
|
s5 = peg$currPos;
|
|
4065
|
-
if (input.substr(peg$currPos, 7) === peg$
|
|
4066
|
-
s6 = peg$
|
|
3671
|
+
if (input.substr(peg$currPos, 7) === peg$c38) {
|
|
3672
|
+
s6 = peg$c38;
|
|
4067
3673
|
peg$currPos += 7;
|
|
4068
3674
|
} else {
|
|
4069
3675
|
s6 = peg$FAILED;
|
|
4070
|
-
if (peg$silentFails === 0) { peg$fail(peg$
|
|
3676
|
+
if (peg$silentFails === 0) { peg$fail(peg$e41); }
|
|
4071
3677
|
}
|
|
4072
3678
|
if (s6 !== peg$FAILED) {
|
|
4073
3679
|
peg$savedPos = s5;
|
|
4074
|
-
s6 = peg$
|
|
3680
|
+
s6 = peg$f73(s2);
|
|
4075
3681
|
}
|
|
4076
3682
|
s5 = s6;
|
|
4077
3683
|
if (s5 === peg$FAILED) {
|
|
@@ -4079,18 +3685,18 @@ function peg$parse(input, options) {
|
|
|
4079
3685
|
}
|
|
4080
3686
|
s6 = peg$currPos;
|
|
4081
3687
|
if (input.charCodeAt(peg$currPos) === 63) {
|
|
4082
|
-
s7 = peg$
|
|
3688
|
+
s7 = peg$c40;
|
|
4083
3689
|
peg$currPos++;
|
|
4084
3690
|
} else {
|
|
4085
3691
|
s7 = peg$FAILED;
|
|
4086
|
-
if (peg$silentFails === 0) { peg$fail(peg$
|
|
3692
|
+
if (peg$silentFails === 0) { peg$fail(peg$e44); }
|
|
4087
3693
|
}
|
|
4088
3694
|
if (s7 !== peg$FAILED) {
|
|
4089
3695
|
s8 = peg$currPos;
|
|
4090
3696
|
s9 = peg$parseQueryOptions();
|
|
4091
3697
|
if (s9 !== peg$FAILED) {
|
|
4092
3698
|
peg$savedPos = s8;
|
|
4093
|
-
s9 = peg$
|
|
3699
|
+
s9 = peg$f74(s2, s9);
|
|
4094
3700
|
}
|
|
4095
3701
|
s8 = s9;
|
|
4096
3702
|
if (s8 === peg$FAILED) {
|
|
@@ -4106,7 +3712,7 @@ function peg$parse(input, options) {
|
|
|
4106
3712
|
s6 = null;
|
|
4107
3713
|
}
|
|
4108
3714
|
peg$savedPos = s0;
|
|
4109
|
-
s0 = peg$
|
|
3715
|
+
s0 = peg$f75(s2);
|
|
4110
3716
|
} else {
|
|
4111
3717
|
peg$currPos = s0;
|
|
4112
3718
|
s0 = peg$FAILED;
|
|
@@ -4136,21 +3742,21 @@ function peg$parse(input, options) {
|
|
|
4136
3742
|
s0 = peg$currPos;
|
|
4137
3743
|
s1 = [];
|
|
4138
3744
|
s2 = input.charAt(peg$currPos);
|
|
4139
|
-
if (peg$
|
|
3745
|
+
if (peg$r3.test(s2)) {
|
|
4140
3746
|
peg$currPos++;
|
|
4141
3747
|
} else {
|
|
4142
3748
|
s2 = peg$FAILED;
|
|
4143
|
-
if (peg$silentFails === 0) { peg$fail(peg$
|
|
3749
|
+
if (peg$silentFails === 0) { peg$fail(peg$e45); }
|
|
4144
3750
|
}
|
|
4145
3751
|
if (s2 !== peg$FAILED) {
|
|
4146
3752
|
while (s2 !== peg$FAILED) {
|
|
4147
3753
|
s1.push(s2);
|
|
4148
3754
|
s2 = input.charAt(peg$currPos);
|
|
4149
|
-
if (peg$
|
|
3755
|
+
if (peg$r3.test(s2)) {
|
|
4150
3756
|
peg$currPos++;
|
|
4151
3757
|
} else {
|
|
4152
3758
|
s2 = peg$FAILED;
|
|
4153
|
-
if (peg$silentFails === 0) { peg$fail(peg$
|
|
3759
|
+
if (peg$silentFails === 0) { peg$fail(peg$e45); }
|
|
4154
3760
|
}
|
|
4155
3761
|
}
|
|
4156
3762
|
} else {
|
|
@@ -4186,21 +3792,21 @@ function peg$parse(input, options) {
|
|
|
4186
3792
|
s3 = peg$currPos;
|
|
4187
3793
|
s4 = [];
|
|
4188
3794
|
s5 = input.charAt(peg$currPos);
|
|
4189
|
-
if (peg$
|
|
3795
|
+
if (peg$r4.test(s5)) {
|
|
4190
3796
|
peg$currPos++;
|
|
4191
3797
|
} else {
|
|
4192
3798
|
s5 = peg$FAILED;
|
|
4193
|
-
if (peg$silentFails === 0) { peg$fail(peg$
|
|
3799
|
+
if (peg$silentFails === 0) { peg$fail(peg$e46); }
|
|
4194
3800
|
}
|
|
4195
3801
|
if (s5 !== peg$FAILED) {
|
|
4196
3802
|
while (s5 !== peg$FAILED) {
|
|
4197
3803
|
s4.push(s5);
|
|
4198
3804
|
s5 = input.charAt(peg$currPos);
|
|
4199
|
-
if (peg$
|
|
3805
|
+
if (peg$r4.test(s5)) {
|
|
4200
3806
|
peg$currPos++;
|
|
4201
3807
|
} else {
|
|
4202
3808
|
s5 = peg$FAILED;
|
|
4203
|
-
if (peg$silentFails === 0) { peg$fail(peg$
|
|
3809
|
+
if (peg$silentFails === 0) { peg$fail(peg$e46); }
|
|
4204
3810
|
}
|
|
4205
3811
|
}
|
|
4206
3812
|
} else {
|
|
@@ -4209,30 +3815,30 @@ function peg$parse(input, options) {
|
|
|
4209
3815
|
if (s4 !== peg$FAILED) {
|
|
4210
3816
|
s5 = peg$currPos;
|
|
4211
3817
|
if (input.charCodeAt(peg$currPos) === 46) {
|
|
4212
|
-
s6 = peg$
|
|
3818
|
+
s6 = peg$c41;
|
|
4213
3819
|
peg$currPos++;
|
|
4214
3820
|
} else {
|
|
4215
3821
|
s6 = peg$FAILED;
|
|
4216
|
-
if (peg$silentFails === 0) { peg$fail(peg$
|
|
3822
|
+
if (peg$silentFails === 0) { peg$fail(peg$e47); }
|
|
4217
3823
|
}
|
|
4218
3824
|
if (s6 !== peg$FAILED) {
|
|
4219
3825
|
s7 = [];
|
|
4220
3826
|
s8 = input.charAt(peg$currPos);
|
|
4221
|
-
if (peg$
|
|
3827
|
+
if (peg$r4.test(s8)) {
|
|
4222
3828
|
peg$currPos++;
|
|
4223
3829
|
} else {
|
|
4224
3830
|
s8 = peg$FAILED;
|
|
4225
|
-
if (peg$silentFails === 0) { peg$fail(peg$
|
|
3831
|
+
if (peg$silentFails === 0) { peg$fail(peg$e46); }
|
|
4226
3832
|
}
|
|
4227
3833
|
if (s8 !== peg$FAILED) {
|
|
4228
3834
|
while (s8 !== peg$FAILED) {
|
|
4229
3835
|
s7.push(s8);
|
|
4230
3836
|
s8 = input.charAt(peg$currPos);
|
|
4231
|
-
if (peg$
|
|
3837
|
+
if (peg$r4.test(s8)) {
|
|
4232
3838
|
peg$currPos++;
|
|
4233
3839
|
} else {
|
|
4234
3840
|
s8 = peg$FAILED;
|
|
4235
|
-
if (peg$silentFails === 0) { peg$fail(peg$
|
|
3841
|
+
if (peg$silentFails === 0) { peg$fail(peg$e46); }
|
|
4236
3842
|
}
|
|
4237
3843
|
}
|
|
4238
3844
|
} else {
|
|
@@ -4265,7 +3871,7 @@ function peg$parse(input, options) {
|
|
|
4265
3871
|
}
|
|
4266
3872
|
if (s2 !== peg$FAILED) {
|
|
4267
3873
|
peg$savedPos = s0;
|
|
4268
|
-
s0 = peg$
|
|
3874
|
+
s0 = peg$f76(s1, s2);
|
|
4269
3875
|
} else {
|
|
4270
3876
|
peg$currPos = s0;
|
|
4271
3877
|
s0 = peg$FAILED;
|
|
@@ -4296,21 +3902,21 @@ function peg$parse(input, options) {
|
|
|
4296
3902
|
s1 = peg$currPos;
|
|
4297
3903
|
s2 = [];
|
|
4298
3904
|
s3 = input.charAt(peg$currPos);
|
|
4299
|
-
if (peg$
|
|
3905
|
+
if (peg$r4.test(s3)) {
|
|
4300
3906
|
peg$currPos++;
|
|
4301
3907
|
} else {
|
|
4302
3908
|
s3 = peg$FAILED;
|
|
4303
|
-
if (peg$silentFails === 0) { peg$fail(peg$
|
|
3909
|
+
if (peg$silentFails === 0) { peg$fail(peg$e46); }
|
|
4304
3910
|
}
|
|
4305
3911
|
if (s3 !== peg$FAILED) {
|
|
4306
3912
|
while (s3 !== peg$FAILED) {
|
|
4307
3913
|
s2.push(s3);
|
|
4308
3914
|
s3 = input.charAt(peg$currPos);
|
|
4309
|
-
if (peg$
|
|
3915
|
+
if (peg$r4.test(s3)) {
|
|
4310
3916
|
peg$currPos++;
|
|
4311
3917
|
} else {
|
|
4312
3918
|
s3 = peg$FAILED;
|
|
4313
|
-
if (peg$silentFails === 0) { peg$fail(peg$
|
|
3919
|
+
if (peg$silentFails === 0) { peg$fail(peg$e46); }
|
|
4314
3920
|
}
|
|
4315
3921
|
}
|
|
4316
3922
|
} else {
|
|
@@ -4323,7 +3929,7 @@ function peg$parse(input, options) {
|
|
|
4323
3929
|
}
|
|
4324
3930
|
if (s1 !== peg$FAILED) {
|
|
4325
3931
|
peg$savedPos = s0;
|
|
4326
|
-
s1 = peg$
|
|
3932
|
+
s1 = peg$f77(s1);
|
|
4327
3933
|
}
|
|
4328
3934
|
s0 = s1;
|
|
4329
3935
|
|
|
@@ -4345,16 +3951,16 @@ function peg$parse(input, options) {
|
|
|
4345
3951
|
}
|
|
4346
3952
|
|
|
4347
3953
|
s0 = peg$currPos;
|
|
4348
|
-
if (input.substr(peg$currPos, 4) === peg$
|
|
4349
|
-
s1 = peg$
|
|
3954
|
+
if (input.substr(peg$currPos, 4) === peg$c42) {
|
|
3955
|
+
s1 = peg$c42;
|
|
4350
3956
|
peg$currPos += 4;
|
|
4351
3957
|
} else {
|
|
4352
3958
|
s1 = peg$FAILED;
|
|
4353
|
-
if (peg$silentFails === 0) { peg$fail(peg$
|
|
3959
|
+
if (peg$silentFails === 0) { peg$fail(peg$e48); }
|
|
4354
3960
|
}
|
|
4355
3961
|
if (s1 !== peg$FAILED) {
|
|
4356
3962
|
peg$savedPos = s0;
|
|
4357
|
-
s1 = peg$
|
|
3963
|
+
s1 = peg$f78();
|
|
4358
3964
|
}
|
|
4359
3965
|
s0 = s1;
|
|
4360
3966
|
|
|
@@ -4376,30 +3982,30 @@ function peg$parse(input, options) {
|
|
|
4376
3982
|
}
|
|
4377
3983
|
|
|
4378
3984
|
s0 = peg$currPos;
|
|
4379
|
-
if (input.substr(peg$currPos, 4) === peg$
|
|
4380
|
-
s1 = peg$
|
|
3985
|
+
if (input.substr(peg$currPos, 4) === peg$c43) {
|
|
3986
|
+
s1 = peg$c43;
|
|
4381
3987
|
peg$currPos += 4;
|
|
4382
3988
|
} else {
|
|
4383
3989
|
s1 = peg$FAILED;
|
|
4384
|
-
if (peg$silentFails === 0) { peg$fail(peg$
|
|
3990
|
+
if (peg$silentFails === 0) { peg$fail(peg$e49); }
|
|
4385
3991
|
}
|
|
4386
3992
|
if (s1 !== peg$FAILED) {
|
|
4387
3993
|
peg$savedPos = s0;
|
|
4388
|
-
s1 = peg$
|
|
3994
|
+
s1 = peg$f79();
|
|
4389
3995
|
}
|
|
4390
3996
|
s0 = s1;
|
|
4391
3997
|
if (s0 === peg$FAILED) {
|
|
4392
3998
|
s0 = peg$currPos;
|
|
4393
|
-
if (input.substr(peg$currPos, 5) === peg$
|
|
4394
|
-
s1 = peg$
|
|
3999
|
+
if (input.substr(peg$currPos, 5) === peg$c44) {
|
|
4000
|
+
s1 = peg$c44;
|
|
4395
4001
|
peg$currPos += 5;
|
|
4396
4002
|
} else {
|
|
4397
4003
|
s1 = peg$FAILED;
|
|
4398
|
-
if (peg$silentFails === 0) { peg$fail(peg$
|
|
4004
|
+
if (peg$silentFails === 0) { peg$fail(peg$e50); }
|
|
4399
4005
|
}
|
|
4400
4006
|
if (s1 !== peg$FAILED) {
|
|
4401
4007
|
peg$savedPos = s0;
|
|
4402
|
-
s1 = peg$
|
|
4008
|
+
s1 = peg$f80();
|
|
4403
4009
|
}
|
|
4404
4010
|
s0 = s1;
|
|
4405
4011
|
}
|
|
@@ -4422,12 +4028,12 @@ function peg$parse(input, options) {
|
|
|
4422
4028
|
}
|
|
4423
4029
|
|
|
4424
4030
|
s0 = peg$currPos;
|
|
4425
|
-
if (input.substr(peg$currPos, 8) === peg$
|
|
4426
|
-
s1 = peg$
|
|
4031
|
+
if (input.substr(peg$currPos, 8) === peg$c45) {
|
|
4032
|
+
s1 = peg$c45;
|
|
4427
4033
|
peg$currPos += 8;
|
|
4428
4034
|
} else {
|
|
4429
4035
|
s1 = peg$FAILED;
|
|
4430
|
-
if (peg$silentFails === 0) { peg$fail(peg$
|
|
4036
|
+
if (peg$silentFails === 0) { peg$fail(peg$e51); }
|
|
4431
4037
|
}
|
|
4432
4038
|
if (s1 !== peg$FAILED) {
|
|
4433
4039
|
s2 = peg$parseApostrophe();
|
|
@@ -4435,22 +4041,22 @@ function peg$parse(input, options) {
|
|
|
4435
4041
|
s3 = peg$parseSign();
|
|
4436
4042
|
if (s3 !== peg$FAILED) {
|
|
4437
4043
|
if (input.charCodeAt(peg$currPos) === 80) {
|
|
4438
|
-
s4 = peg$
|
|
4044
|
+
s4 = peg$c46;
|
|
4439
4045
|
peg$currPos++;
|
|
4440
4046
|
} else {
|
|
4441
4047
|
s4 = peg$FAILED;
|
|
4442
|
-
if (peg$silentFails === 0) { peg$fail(peg$
|
|
4048
|
+
if (peg$silentFails === 0) { peg$fail(peg$e52); }
|
|
4443
4049
|
}
|
|
4444
4050
|
if (s4 !== peg$FAILED) {
|
|
4445
4051
|
s5 = peg$currPos;
|
|
4446
4052
|
s6 = peg$parseUnsignedInteger();
|
|
4447
4053
|
if (s6 !== peg$FAILED) {
|
|
4448
4054
|
if (input.charCodeAt(peg$currPos) === 68) {
|
|
4449
|
-
s7 = peg$
|
|
4055
|
+
s7 = peg$c47;
|
|
4450
4056
|
peg$currPos++;
|
|
4451
4057
|
} else {
|
|
4452
4058
|
s7 = peg$FAILED;
|
|
4453
|
-
if (peg$silentFails === 0) { peg$fail(peg$
|
|
4059
|
+
if (peg$silentFails === 0) { peg$fail(peg$e53); }
|
|
4454
4060
|
}
|
|
4455
4061
|
if (s7 !== peg$FAILED) {
|
|
4456
4062
|
s5 = s6;
|
|
@@ -4467,22 +4073,22 @@ function peg$parse(input, options) {
|
|
|
4467
4073
|
}
|
|
4468
4074
|
s6 = peg$currPos;
|
|
4469
4075
|
if (input.charCodeAt(peg$currPos) === 84) {
|
|
4470
|
-
s7 = peg$
|
|
4076
|
+
s7 = peg$c48;
|
|
4471
4077
|
peg$currPos++;
|
|
4472
4078
|
} else {
|
|
4473
4079
|
s7 = peg$FAILED;
|
|
4474
|
-
if (peg$silentFails === 0) { peg$fail(peg$
|
|
4080
|
+
if (peg$silentFails === 0) { peg$fail(peg$e54); }
|
|
4475
4081
|
}
|
|
4476
4082
|
if (s7 !== peg$FAILED) {
|
|
4477
4083
|
s8 = peg$currPos;
|
|
4478
4084
|
s9 = peg$parseUnsignedInteger();
|
|
4479
4085
|
if (s9 !== peg$FAILED) {
|
|
4480
4086
|
if (input.charCodeAt(peg$currPos) === 72) {
|
|
4481
|
-
s10 = peg$
|
|
4087
|
+
s10 = peg$c49;
|
|
4482
4088
|
peg$currPos++;
|
|
4483
4089
|
} else {
|
|
4484
4090
|
s10 = peg$FAILED;
|
|
4485
|
-
if (peg$silentFails === 0) { peg$fail(peg$
|
|
4091
|
+
if (peg$silentFails === 0) { peg$fail(peg$e55); }
|
|
4486
4092
|
}
|
|
4487
4093
|
if (s10 !== peg$FAILED) {
|
|
4488
4094
|
s8 = s9;
|
|
@@ -4501,11 +4107,11 @@ function peg$parse(input, options) {
|
|
|
4501
4107
|
s10 = peg$parseUnsignedInteger();
|
|
4502
4108
|
if (s10 !== peg$FAILED) {
|
|
4503
4109
|
if (input.charCodeAt(peg$currPos) === 77) {
|
|
4504
|
-
s11 = peg$
|
|
4110
|
+
s11 = peg$c50;
|
|
4505
4111
|
peg$currPos++;
|
|
4506
4112
|
} else {
|
|
4507
4113
|
s11 = peg$FAILED;
|
|
4508
|
-
if (peg$silentFails === 0) { peg$fail(peg$
|
|
4114
|
+
if (peg$silentFails === 0) { peg$fail(peg$e56); }
|
|
4509
4115
|
}
|
|
4510
4116
|
if (s11 !== peg$FAILED) {
|
|
4511
4117
|
s9 = s10;
|
|
@@ -4524,11 +4130,11 @@ function peg$parse(input, options) {
|
|
|
4524
4130
|
s11 = peg$parseDurationNumber();
|
|
4525
4131
|
if (s11 !== peg$FAILED) {
|
|
4526
4132
|
if (input.charCodeAt(peg$currPos) === 83) {
|
|
4527
|
-
s12 = peg$
|
|
4133
|
+
s12 = peg$c51;
|
|
4528
4134
|
peg$currPos++;
|
|
4529
4135
|
} else {
|
|
4530
4136
|
s12 = peg$FAILED;
|
|
4531
|
-
if (peg$silentFails === 0) { peg$fail(peg$
|
|
4137
|
+
if (peg$silentFails === 0) { peg$fail(peg$e57); }
|
|
4532
4138
|
}
|
|
4533
4139
|
if (s12 !== peg$FAILED) {
|
|
4534
4140
|
s10 = s11;
|
|
@@ -4544,7 +4150,7 @@ function peg$parse(input, options) {
|
|
|
4544
4150
|
s10 = null;
|
|
4545
4151
|
}
|
|
4546
4152
|
peg$savedPos = peg$currPos;
|
|
4547
|
-
s11 = peg$
|
|
4153
|
+
s11 = peg$f81(s3, s5, s8, s9, s10);
|
|
4548
4154
|
if (s11) {
|
|
4549
4155
|
s11 = undefined;
|
|
4550
4156
|
} else {
|
|
@@ -4552,7 +4158,7 @@ function peg$parse(input, options) {
|
|
|
4552
4158
|
}
|
|
4553
4159
|
if (s11 !== peg$FAILED) {
|
|
4554
4160
|
peg$savedPos = s6;
|
|
4555
|
-
s6 = peg$
|
|
4161
|
+
s6 = peg$f82(s3, s5, s8, s9, s10);
|
|
4556
4162
|
} else {
|
|
4557
4163
|
peg$currPos = s6;
|
|
4558
4164
|
s6 = peg$FAILED;
|
|
@@ -4565,7 +4171,7 @@ function peg$parse(input, options) {
|
|
|
4565
4171
|
s6 = null;
|
|
4566
4172
|
}
|
|
4567
4173
|
peg$savedPos = peg$currPos;
|
|
4568
|
-
s7 = peg$
|
|
4174
|
+
s7 = peg$f83(s3, s5, s6);
|
|
4569
4175
|
if (s7) {
|
|
4570
4176
|
s7 = undefined;
|
|
4571
4177
|
} else {
|
|
@@ -4575,7 +4181,7 @@ function peg$parse(input, options) {
|
|
|
4575
4181
|
s8 = peg$parseApostrophe();
|
|
4576
4182
|
if (s8 !== peg$FAILED) {
|
|
4577
4183
|
peg$savedPos = s0;
|
|
4578
|
-
s0 = peg$
|
|
4184
|
+
s0 = peg$f84(s3, s5, s6);
|
|
4579
4185
|
} else {
|
|
4580
4186
|
peg$currPos = s0;
|
|
4581
4187
|
s0 = peg$FAILED;
|
|
@@ -4623,21 +4229,21 @@ function peg$parse(input, options) {
|
|
|
4623
4229
|
s2 = peg$currPos;
|
|
4624
4230
|
s3 = [];
|
|
4625
4231
|
s4 = input.charAt(peg$currPos);
|
|
4626
|
-
if (peg$
|
|
4232
|
+
if (peg$r4.test(s4)) {
|
|
4627
4233
|
peg$currPos++;
|
|
4628
4234
|
} else {
|
|
4629
4235
|
s4 = peg$FAILED;
|
|
4630
|
-
if (peg$silentFails === 0) { peg$fail(peg$
|
|
4236
|
+
if (peg$silentFails === 0) { peg$fail(peg$e46); }
|
|
4631
4237
|
}
|
|
4632
4238
|
if (s4 !== peg$FAILED) {
|
|
4633
4239
|
while (s4 !== peg$FAILED) {
|
|
4634
4240
|
s3.push(s4);
|
|
4635
4241
|
s4 = input.charAt(peg$currPos);
|
|
4636
|
-
if (peg$
|
|
4242
|
+
if (peg$r4.test(s4)) {
|
|
4637
4243
|
peg$currPos++;
|
|
4638
4244
|
} else {
|
|
4639
4245
|
s4 = peg$FAILED;
|
|
4640
|
-
if (peg$silentFails === 0) { peg$fail(peg$
|
|
4246
|
+
if (peg$silentFails === 0) { peg$fail(peg$e46); }
|
|
4641
4247
|
}
|
|
4642
4248
|
}
|
|
4643
4249
|
} else {
|
|
@@ -4645,30 +4251,30 @@ function peg$parse(input, options) {
|
|
|
4645
4251
|
}
|
|
4646
4252
|
if (s3 !== peg$FAILED) {
|
|
4647
4253
|
if (input.charCodeAt(peg$currPos) === 46) {
|
|
4648
|
-
s4 = peg$
|
|
4254
|
+
s4 = peg$c41;
|
|
4649
4255
|
peg$currPos++;
|
|
4650
4256
|
} else {
|
|
4651
4257
|
s4 = peg$FAILED;
|
|
4652
|
-
if (peg$silentFails === 0) { peg$fail(peg$
|
|
4258
|
+
if (peg$silentFails === 0) { peg$fail(peg$e47); }
|
|
4653
4259
|
}
|
|
4654
4260
|
if (s4 !== peg$FAILED) {
|
|
4655
4261
|
s5 = [];
|
|
4656
4262
|
s6 = input.charAt(peg$currPos);
|
|
4657
|
-
if (peg$
|
|
4263
|
+
if (peg$r4.test(s6)) {
|
|
4658
4264
|
peg$currPos++;
|
|
4659
4265
|
} else {
|
|
4660
4266
|
s6 = peg$FAILED;
|
|
4661
|
-
if (peg$silentFails === 0) { peg$fail(peg$
|
|
4267
|
+
if (peg$silentFails === 0) { peg$fail(peg$e46); }
|
|
4662
4268
|
}
|
|
4663
4269
|
if (s6 !== peg$FAILED) {
|
|
4664
4270
|
while (s6 !== peg$FAILED) {
|
|
4665
4271
|
s5.push(s6);
|
|
4666
4272
|
s6 = input.charAt(peg$currPos);
|
|
4667
|
-
if (peg$
|
|
4273
|
+
if (peg$r4.test(s6)) {
|
|
4668
4274
|
peg$currPos++;
|
|
4669
4275
|
} else {
|
|
4670
4276
|
s6 = peg$FAILED;
|
|
4671
|
-
if (peg$silentFails === 0) { peg$fail(peg$
|
|
4277
|
+
if (peg$silentFails === 0) { peg$fail(peg$e46); }
|
|
4672
4278
|
}
|
|
4673
4279
|
}
|
|
4674
4280
|
} else {
|
|
@@ -4696,7 +4302,7 @@ function peg$parse(input, options) {
|
|
|
4696
4302
|
}
|
|
4697
4303
|
if (s1 !== peg$FAILED) {
|
|
4698
4304
|
peg$savedPos = s0;
|
|
4699
|
-
s1 = peg$
|
|
4305
|
+
s1 = peg$f85(s1);
|
|
4700
4306
|
}
|
|
4701
4307
|
s0 = s1;
|
|
4702
4308
|
if (s0 === peg$FAILED) {
|
|
@@ -4724,25 +4330,25 @@ function peg$parse(input, options) {
|
|
|
4724
4330
|
s1 = peg$currPos;
|
|
4725
4331
|
s2 = [];
|
|
4726
4332
|
s3 = input.charAt(peg$currPos);
|
|
4727
|
-
if (peg$
|
|
4333
|
+
if (peg$r5.test(s3)) {
|
|
4728
4334
|
peg$currPos++;
|
|
4729
4335
|
} else {
|
|
4730
4336
|
s3 = peg$FAILED;
|
|
4731
|
-
if (peg$silentFails === 0) { peg$fail(peg$
|
|
4337
|
+
if (peg$silentFails === 0) { peg$fail(peg$e58); }
|
|
4732
4338
|
}
|
|
4733
4339
|
while (s3 !== peg$FAILED) {
|
|
4734
4340
|
s2.push(s3);
|
|
4735
4341
|
s3 = input.charAt(peg$currPos);
|
|
4736
|
-
if (peg$
|
|
4342
|
+
if (peg$r5.test(s3)) {
|
|
4737
4343
|
peg$currPos++;
|
|
4738
4344
|
} else {
|
|
4739
4345
|
s3 = peg$FAILED;
|
|
4740
|
-
if (peg$silentFails === 0) { peg$fail(peg$
|
|
4346
|
+
if (peg$silentFails === 0) { peg$fail(peg$e58); }
|
|
4741
4347
|
}
|
|
4742
4348
|
}
|
|
4743
4349
|
s1 = input.substring(s1, peg$currPos);
|
|
4744
4350
|
peg$savedPos = s0;
|
|
4745
|
-
s1 = peg$
|
|
4351
|
+
s1 = peg$f86(s1);
|
|
4746
4352
|
s0 = s1;
|
|
4747
4353
|
|
|
4748
4354
|
peg$resultsCache[key] = { nextPos: peg$currPos, result: s0 };
|
|
@@ -4771,25 +4377,25 @@ function peg$parse(input, options) {
|
|
|
4771
4377
|
}
|
|
4772
4378
|
if (s0 === peg$FAILED) {
|
|
4773
4379
|
s0 = peg$currPos;
|
|
4774
|
-
if (input.substr(peg$currPos, 3) === peg$
|
|
4775
|
-
s1 = peg$
|
|
4380
|
+
if (input.substr(peg$currPos, 3) === peg$c52) {
|
|
4381
|
+
s1 = peg$c52;
|
|
4776
4382
|
peg$currPos += 3;
|
|
4777
4383
|
} else {
|
|
4778
4384
|
s1 = peg$FAILED;
|
|
4779
|
-
if (peg$silentFails === 0) { peg$fail(peg$
|
|
4385
|
+
if (peg$silentFails === 0) { peg$fail(peg$e59); }
|
|
4780
4386
|
}
|
|
4781
4387
|
if (s1 !== peg$FAILED) {
|
|
4782
4388
|
peg$savedPos = s0;
|
|
4783
|
-
s1 = peg$
|
|
4389
|
+
s1 = peg$f87();
|
|
4784
4390
|
}
|
|
4785
4391
|
s0 = s1;
|
|
4786
4392
|
if (s0 === peg$FAILED) {
|
|
4787
4393
|
if (input.charCodeAt(peg$currPos) === 45) {
|
|
4788
|
-
s0 = peg$
|
|
4394
|
+
s0 = peg$c53;
|
|
4789
4395
|
peg$currPos++;
|
|
4790
4396
|
} else {
|
|
4791
4397
|
s0 = peg$FAILED;
|
|
4792
|
-
if (peg$silentFails === 0) { peg$fail(peg$
|
|
4398
|
+
if (peg$silentFails === 0) { peg$fail(peg$e60); }
|
|
4793
4399
|
}
|
|
4794
4400
|
if (s0 === peg$FAILED) {
|
|
4795
4401
|
s0 = '';
|
|
@@ -4815,24 +4421,24 @@ function peg$parse(input, options) {
|
|
|
4815
4421
|
}
|
|
4816
4422
|
|
|
4817
4423
|
if (input.charCodeAt(peg$currPos) === 39) {
|
|
4818
|
-
s0 = peg$
|
|
4424
|
+
s0 = peg$c54;
|
|
4819
4425
|
peg$currPos++;
|
|
4820
4426
|
} else {
|
|
4821
4427
|
s0 = peg$FAILED;
|
|
4822
|
-
if (peg$silentFails === 0) { peg$fail(peg$
|
|
4428
|
+
if (peg$silentFails === 0) { peg$fail(peg$e61); }
|
|
4823
4429
|
}
|
|
4824
4430
|
if (s0 === peg$FAILED) {
|
|
4825
4431
|
s0 = peg$currPos;
|
|
4826
|
-
if (input.substr(peg$currPos, 3) === peg$
|
|
4827
|
-
s1 = peg$
|
|
4432
|
+
if (input.substr(peg$currPos, 3) === peg$c55) {
|
|
4433
|
+
s1 = peg$c55;
|
|
4828
4434
|
peg$currPos += 3;
|
|
4829
4435
|
} else {
|
|
4830
4436
|
s1 = peg$FAILED;
|
|
4831
|
-
if (peg$silentFails === 0) { peg$fail(peg$
|
|
4437
|
+
if (peg$silentFails === 0) { peg$fail(peg$e62); }
|
|
4832
4438
|
}
|
|
4833
4439
|
if (s1 !== peg$FAILED) {
|
|
4834
4440
|
peg$savedPos = s0;
|
|
4835
|
-
s1 = peg$
|
|
4441
|
+
s1 = peg$f88();
|
|
4836
4442
|
}
|
|
4837
4443
|
s0 = s1;
|
|
4838
4444
|
}
|
|
@@ -4861,21 +4467,21 @@ function peg$parse(input, options) {
|
|
|
4861
4467
|
s3 = peg$currPos;
|
|
4862
4468
|
s4 = [];
|
|
4863
4469
|
s5 = input.charAt(peg$currPos);
|
|
4864
|
-
if (peg$
|
|
4470
|
+
if (peg$r6.test(s5)) {
|
|
4865
4471
|
peg$currPos++;
|
|
4866
4472
|
} else {
|
|
4867
4473
|
s5 = peg$FAILED;
|
|
4868
|
-
if (peg$silentFails === 0) { peg$fail(peg$
|
|
4474
|
+
if (peg$silentFails === 0) { peg$fail(peg$e63); }
|
|
4869
4475
|
}
|
|
4870
4476
|
if (s5 !== peg$FAILED) {
|
|
4871
4477
|
while (s5 !== peg$FAILED) {
|
|
4872
4478
|
s4.push(s5);
|
|
4873
4479
|
s5 = input.charAt(peg$currPos);
|
|
4874
|
-
if (peg$
|
|
4480
|
+
if (peg$r6.test(s5)) {
|
|
4875
4481
|
peg$currPos++;
|
|
4876
4482
|
} else {
|
|
4877
4483
|
s5 = peg$FAILED;
|
|
4878
|
-
if (peg$silentFails === 0) { peg$fail(peg$
|
|
4484
|
+
if (peg$silentFails === 0) { peg$fail(peg$e63); }
|
|
4879
4485
|
}
|
|
4880
4486
|
}
|
|
4881
4487
|
} else {
|
|
@@ -4904,7 +4510,7 @@ function peg$parse(input, options) {
|
|
|
4904
4510
|
peg$currPos++;
|
|
4905
4511
|
} else {
|
|
4906
4512
|
s5 = peg$FAILED;
|
|
4907
|
-
if (peg$silentFails === 0) { peg$fail(peg$
|
|
4513
|
+
if (peg$silentFails === 0) { peg$fail(peg$e64); }
|
|
4908
4514
|
}
|
|
4909
4515
|
if (s5 !== peg$FAILED) {
|
|
4910
4516
|
s3 = s5;
|
|
@@ -4938,21 +4544,21 @@ function peg$parse(input, options) {
|
|
|
4938
4544
|
s3 = peg$currPos;
|
|
4939
4545
|
s4 = [];
|
|
4940
4546
|
s5 = input.charAt(peg$currPos);
|
|
4941
|
-
if (peg$
|
|
4547
|
+
if (peg$r6.test(s5)) {
|
|
4942
4548
|
peg$currPos++;
|
|
4943
4549
|
} else {
|
|
4944
4550
|
s5 = peg$FAILED;
|
|
4945
|
-
if (peg$silentFails === 0) { peg$fail(peg$
|
|
4551
|
+
if (peg$silentFails === 0) { peg$fail(peg$e63); }
|
|
4946
4552
|
}
|
|
4947
4553
|
if (s5 !== peg$FAILED) {
|
|
4948
4554
|
while (s5 !== peg$FAILED) {
|
|
4949
4555
|
s4.push(s5);
|
|
4950
4556
|
s5 = input.charAt(peg$currPos);
|
|
4951
|
-
if (peg$
|
|
4557
|
+
if (peg$r6.test(s5)) {
|
|
4952
4558
|
peg$currPos++;
|
|
4953
4559
|
} else {
|
|
4954
4560
|
s5 = peg$FAILED;
|
|
4955
|
-
if (peg$silentFails === 0) { peg$fail(peg$
|
|
4561
|
+
if (peg$silentFails === 0) { peg$fail(peg$e63); }
|
|
4956
4562
|
}
|
|
4957
4563
|
}
|
|
4958
4564
|
} else {
|
|
@@ -4981,7 +4587,7 @@ function peg$parse(input, options) {
|
|
|
4981
4587
|
peg$currPos++;
|
|
4982
4588
|
} else {
|
|
4983
4589
|
s5 = peg$FAILED;
|
|
4984
|
-
if (peg$silentFails === 0) { peg$fail(peg$
|
|
4590
|
+
if (peg$silentFails === 0) { peg$fail(peg$e64); }
|
|
4985
4591
|
}
|
|
4986
4592
|
if (s5 !== peg$FAILED) {
|
|
4987
4593
|
s3 = s5;
|
|
@@ -5014,7 +4620,7 @@ function peg$parse(input, options) {
|
|
|
5014
4620
|
s3 = peg$parseApostrophe();
|
|
5015
4621
|
if (s3 !== peg$FAILED) {
|
|
5016
4622
|
peg$savedPos = s0;
|
|
5017
|
-
s0 = peg$
|
|
4623
|
+
s0 = peg$f89(s2);
|
|
5018
4624
|
} else {
|
|
5019
4625
|
peg$currPos = s0;
|
|
5020
4626
|
s0 = peg$FAILED;
|
|
@@ -5053,7 +4659,7 @@ function peg$parse(input, options) {
|
|
|
5053
4659
|
s2 = peg$parseResourceName();
|
|
5054
4660
|
if (s2 !== peg$FAILED) {
|
|
5055
4661
|
peg$savedPos = s0;
|
|
5056
|
-
s0 = peg$
|
|
4662
|
+
s0 = peg$f90(s2);
|
|
5057
4663
|
} else {
|
|
5058
4664
|
peg$currPos = s0;
|
|
5059
4665
|
s0 = peg$FAILED;
|
|
@@ -5084,7 +4690,7 @@ function peg$parse(input, options) {
|
|
|
5084
4690
|
s1 = peg$parseNumber();
|
|
5085
4691
|
if (s1 !== peg$FAILED) {
|
|
5086
4692
|
peg$savedPos = s0;
|
|
5087
|
-
s1 = peg$
|
|
4693
|
+
s1 = peg$f91(s1);
|
|
5088
4694
|
}
|
|
5089
4695
|
s0 = s1;
|
|
5090
4696
|
|
|
@@ -5109,7 +4715,7 @@ function peg$parse(input, options) {
|
|
|
5109
4715
|
s1 = peg$parseUnsignedInteger();
|
|
5110
4716
|
if (s1 !== peg$FAILED) {
|
|
5111
4717
|
peg$savedPos = s0;
|
|
5112
|
-
s1 = peg$
|
|
4718
|
+
s1 = peg$f92(s1);
|
|
5113
4719
|
}
|
|
5114
4720
|
s0 = s1;
|
|
5115
4721
|
|
|
@@ -5132,30 +4738,30 @@ function peg$parse(input, options) {
|
|
|
5132
4738
|
|
|
5133
4739
|
s0 = peg$currPos;
|
|
5134
4740
|
s1 = peg$currPos;
|
|
5135
|
-
if (input.substr(peg$currPos, 8) === peg$
|
|
5136
|
-
s2 = peg$
|
|
4741
|
+
if (input.substr(peg$currPos, 8) === peg$c56) {
|
|
4742
|
+
s2 = peg$c56;
|
|
5137
4743
|
peg$currPos += 8;
|
|
5138
4744
|
} else {
|
|
5139
4745
|
s2 = peg$FAILED;
|
|
5140
|
-
if (peg$silentFails === 0) { peg$fail(peg$
|
|
4746
|
+
if (peg$silentFails === 0) { peg$fail(peg$e65); }
|
|
5141
4747
|
}
|
|
5142
4748
|
if (s2 !== peg$FAILED) {
|
|
5143
4749
|
peg$savedPos = s1;
|
|
5144
|
-
s2 = peg$
|
|
4750
|
+
s2 = peg$f93();
|
|
5145
4751
|
}
|
|
5146
4752
|
s1 = s2;
|
|
5147
4753
|
if (s1 === peg$FAILED) {
|
|
5148
4754
|
s1 = peg$currPos;
|
|
5149
|
-
if (input.substr(peg$currPos, 4) === peg$
|
|
5150
|
-
s2 = peg$
|
|
4755
|
+
if (input.substr(peg$currPos, 4) === peg$c57) {
|
|
4756
|
+
s2 = peg$c57;
|
|
5151
4757
|
peg$currPos += 4;
|
|
5152
4758
|
} else {
|
|
5153
4759
|
s2 = peg$FAILED;
|
|
5154
|
-
if (peg$silentFails === 0) { peg$fail(peg$
|
|
4760
|
+
if (peg$silentFails === 0) { peg$fail(peg$e66); }
|
|
5155
4761
|
}
|
|
5156
4762
|
if (s2 !== peg$FAILED) {
|
|
5157
4763
|
peg$savedPos = s1;
|
|
5158
|
-
s2 = peg$
|
|
4764
|
+
s2 = peg$f94();
|
|
5159
4765
|
}
|
|
5160
4766
|
s1 = s2;
|
|
5161
4767
|
}
|
|
@@ -5164,12 +4770,12 @@ function peg$parse(input, options) {
|
|
|
5164
4770
|
s3 = peg$parseQuotedText();
|
|
5165
4771
|
if (s3 !== peg$FAILED) {
|
|
5166
4772
|
peg$savedPos = s2;
|
|
5167
|
-
s3 = peg$
|
|
4773
|
+
s3 = peg$f95(s1, s3);
|
|
5168
4774
|
}
|
|
5169
4775
|
s2 = s3;
|
|
5170
4776
|
if (s2 !== peg$FAILED) {
|
|
5171
4777
|
peg$savedPos = peg$currPos;
|
|
5172
|
-
s3 = peg$
|
|
4778
|
+
s3 = peg$f96(s1, s2);
|
|
5173
4779
|
if (s3) {
|
|
5174
4780
|
s3 = peg$FAILED;
|
|
5175
4781
|
} else {
|
|
@@ -5177,7 +4783,7 @@ function peg$parse(input, options) {
|
|
|
5177
4783
|
}
|
|
5178
4784
|
if (s3 !== peg$FAILED) {
|
|
5179
4785
|
peg$savedPos = s0;
|
|
5180
|
-
s0 = peg$
|
|
4786
|
+
s0 = peg$f97(s1, s2);
|
|
5181
4787
|
} else {
|
|
5182
4788
|
peg$currPos = s0;
|
|
5183
4789
|
s0 = peg$FAILED;
|
|
@@ -5212,7 +4818,7 @@ function peg$parse(input, options) {
|
|
|
5212
4818
|
s1 = peg$parseDate();
|
|
5213
4819
|
if (s1 !== peg$FAILED) {
|
|
5214
4820
|
peg$savedPos = s0;
|
|
5215
|
-
s1 = peg$
|
|
4821
|
+
s1 = peg$f98(s1);
|
|
5216
4822
|
}
|
|
5217
4823
|
s0 = s1;
|
|
5218
4824
|
|
|
@@ -5237,7 +4843,7 @@ function peg$parse(input, options) {
|
|
|
5237
4843
|
s1 = peg$parseBoolean();
|
|
5238
4844
|
if (s1 !== peg$FAILED) {
|
|
5239
4845
|
peg$savedPos = s0;
|
|
5240
|
-
s1 = peg$
|
|
4846
|
+
s1 = peg$f99(s1);
|
|
5241
4847
|
}
|
|
5242
4848
|
s0 = s1;
|
|
5243
4849
|
|
|
@@ -5270,7 +4876,7 @@ function peg$parse(input, options) {
|
|
|
5270
4876
|
s2 = peg$parseResourceName();
|
|
5271
4877
|
if (s2 !== peg$FAILED) {
|
|
5272
4878
|
peg$savedPos = s0;
|
|
5273
|
-
s0 = peg$
|
|
4879
|
+
s0 = peg$f100(s2);
|
|
5274
4880
|
} else {
|
|
5275
4881
|
peg$currPos = s0;
|
|
5276
4882
|
s0 = peg$FAILED;
|
|
@@ -5301,7 +4907,7 @@ function peg$parse(input, options) {
|
|
|
5301
4907
|
s1 = peg$parseQuotedText();
|
|
5302
4908
|
if (s1 !== peg$FAILED) {
|
|
5303
4909
|
peg$savedPos = s0;
|
|
5304
|
-
s1 = peg$
|
|
4910
|
+
s1 = peg$f101(s1);
|
|
5305
4911
|
}
|
|
5306
4912
|
s0 = s1;
|
|
5307
4913
|
|
|
@@ -5393,19 +4999,19 @@ function peg$parse(input, options) {
|
|
|
5393
4999
|
}
|
|
5394
5000
|
|
|
5395
5001
|
if (input.charCodeAt(peg$currPos) === 32) {
|
|
5396
|
-
s0 = peg$
|
|
5002
|
+
s0 = peg$c58;
|
|
5397
5003
|
peg$currPos++;
|
|
5398
5004
|
} else {
|
|
5399
5005
|
s0 = peg$FAILED;
|
|
5400
|
-
if (peg$silentFails === 0) { peg$fail(peg$
|
|
5006
|
+
if (peg$silentFails === 0) { peg$fail(peg$e67); }
|
|
5401
5007
|
}
|
|
5402
5008
|
if (s0 === peg$FAILED) {
|
|
5403
|
-
if (input.substr(peg$currPos, 3) === peg$
|
|
5404
|
-
s0 = peg$
|
|
5009
|
+
if (input.substr(peg$currPos, 3) === peg$c59) {
|
|
5010
|
+
s0 = peg$c59;
|
|
5405
5011
|
peg$currPos += 3;
|
|
5406
5012
|
} else {
|
|
5407
5013
|
s0 = peg$FAILED;
|
|
5408
|
-
if (peg$silentFails === 0) { peg$fail(peg$
|
|
5014
|
+
if (peg$silentFails === 0) { peg$fail(peg$e68); }
|
|
5409
5015
|
}
|
|
5410
5016
|
if (s0 === peg$FAILED) {
|
|
5411
5017
|
if (input.charCodeAt(peg$currPos) === 43) {
|