@frogcat/ttl2jsonld 0.0.9 → 0.0.11
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/README.md +3 -5
- package/package.json +4 -4
- package/ttl2jsonld.js +639 -614
package/ttl2jsonld.js
CHANGED
|
@@ -165,64 +165,66 @@
|
|
|
165
165
|
|
|
166
166
|
return jsonld;
|
|
167
167
|
},
|
|
168
|
-
peg$c1 = "
|
|
169
|
-
peg$c2 = peg$literalExpectation("
|
|
170
|
-
peg$c3 =
|
|
171
|
-
peg$c4 = "
|
|
172
|
-
peg$c5 =
|
|
173
|
-
peg$c6 =
|
|
174
|
-
peg$c7 = peg$
|
|
175
|
-
peg$c8 =
|
|
176
|
-
peg$c9 = peg$
|
|
177
|
-
peg$c10 =
|
|
178
|
-
peg$c11 = "
|
|
179
|
-
peg$c12 =
|
|
180
|
-
peg$c13 =
|
|
168
|
+
peg$c1 = "\uFEFF",
|
|
169
|
+
peg$c2 = peg$literalExpectation("\uFEFF", false),
|
|
170
|
+
peg$c3 = ".",
|
|
171
|
+
peg$c4 = peg$literalExpectation(".", false),
|
|
172
|
+
peg$c5 = function(a) {return a;},
|
|
173
|
+
peg$c6 = "#",
|
|
174
|
+
peg$c7 = peg$literalExpectation("#", false),
|
|
175
|
+
peg$c8 = /^[^\n]/,
|
|
176
|
+
peg$c9 = peg$classExpectation(["\n"], true, false),
|
|
177
|
+
peg$c10 = "\n",
|
|
178
|
+
peg$c11 = peg$literalExpectation("\n", false),
|
|
179
|
+
peg$c12 = function(a) {return a.join("");},
|
|
180
|
+
peg$c13 = "@prefix",
|
|
181
|
+
peg$c14 = peg$literalExpectation("@prefix", false),
|
|
182
|
+
peg$c15 = function(a, b) {
|
|
181
183
|
context.addPrefix(a==="" ? "0" : a,b);
|
|
182
184
|
return {};
|
|
183
185
|
},
|
|
184
|
-
peg$
|
|
185
|
-
peg$
|
|
186
|
-
peg$
|
|
186
|
+
peg$c16 = "@base",
|
|
187
|
+
peg$c17 = peg$literalExpectation("@base", false),
|
|
188
|
+
peg$c18 = function(a) {
|
|
187
189
|
context.addBase(a);
|
|
188
190
|
return {};
|
|
189
191
|
},
|
|
190
|
-
peg$
|
|
191
|
-
peg$
|
|
192
|
-
peg$
|
|
193
|
-
peg$
|
|
194
|
-
peg$
|
|
195
|
-
peg$
|
|
196
|
-
peg$
|
|
197
|
-
peg$
|
|
198
|
-
peg$
|
|
199
|
-
peg$
|
|
200
|
-
peg$
|
|
201
|
-
peg$
|
|
202
|
-
peg$
|
|
203
|
-
peg$
|
|
204
|
-
peg$
|
|
205
|
-
peg$
|
|
206
|
-
peg$
|
|
207
|
-
peg$
|
|
208
|
-
peg$
|
|
192
|
+
peg$c19 = /^[Bb]/,
|
|
193
|
+
peg$c20 = peg$classExpectation(["B", "b"], false, false),
|
|
194
|
+
peg$c21 = /^[Aa]/,
|
|
195
|
+
peg$c22 = peg$classExpectation(["A", "a"], false, false),
|
|
196
|
+
peg$c23 = /^[Ss]/,
|
|
197
|
+
peg$c24 = peg$classExpectation(["S", "s"], false, false),
|
|
198
|
+
peg$c25 = /^[Ee]/,
|
|
199
|
+
peg$c26 = peg$classExpectation(["E", "e"], false, false),
|
|
200
|
+
peg$c27 = /^[Pp]/,
|
|
201
|
+
peg$c28 = peg$classExpectation(["P", "p"], false, false),
|
|
202
|
+
peg$c29 = /^[Rr]/,
|
|
203
|
+
peg$c30 = peg$classExpectation(["R", "r"], false, false),
|
|
204
|
+
peg$c31 = /^[Ff]/,
|
|
205
|
+
peg$c32 = peg$classExpectation(["F", "f"], false, false),
|
|
206
|
+
peg$c33 = /^[Ii]/,
|
|
207
|
+
peg$c34 = peg$classExpectation(["I", "i"], false, false),
|
|
208
|
+
peg$c35 = /^[Xx]/,
|
|
209
|
+
peg$c36 = peg$classExpectation(["X", "x"], false, false),
|
|
210
|
+
peg$c37 = function(s, p) {
|
|
209
211
|
var x = {};
|
|
210
212
|
if(typeof s==='string' && s!=='[]') x["@id"] = s;
|
|
211
213
|
else if(typeof s==='object') Object.assign(x,s);
|
|
212
214
|
if(p) Object.assign(x,p);
|
|
213
215
|
return [x];
|
|
214
216
|
},
|
|
215
|
-
peg$
|
|
217
|
+
peg$c38 = function(s, p) {
|
|
216
218
|
var x = {};
|
|
217
219
|
if(s) Object.assign(x,s);
|
|
218
220
|
if(p) Object.assign(x,p);
|
|
219
221
|
return [x];
|
|
220
222
|
},
|
|
221
|
-
peg$
|
|
222
|
-
peg$
|
|
223
|
-
peg$
|
|
224
|
-
peg$
|
|
225
|
-
peg$
|
|
223
|
+
peg$c39 = ";",
|
|
224
|
+
peg$c40 = peg$literalExpectation(";", false),
|
|
225
|
+
peg$c41 = function(a, b, e, f) {var x={};x[e]=f;return x;},
|
|
226
|
+
peg$c42 = function(a, b, d) {return d;},
|
|
227
|
+
peg$c43 = function(a, b, c) {
|
|
226
228
|
var x = {};
|
|
227
229
|
c.unshift(createObject(a,b));
|
|
228
230
|
c.forEach(t=>{
|
|
@@ -238,33 +240,33 @@
|
|
|
238
240
|
});
|
|
239
241
|
return x;
|
|
240
242
|
},
|
|
241
|
-
peg$
|
|
242
|
-
peg$
|
|
243
|
-
peg$
|
|
244
|
-
peg$
|
|
243
|
+
peg$c44 = ",",
|
|
244
|
+
peg$c45 = peg$literalExpectation(",", false),
|
|
245
|
+
peg$c46 = function(a, c) {return c;},
|
|
246
|
+
peg$c47 = function(a, b) {
|
|
245
247
|
b.unshift(a);
|
|
246
248
|
return b;
|
|
247
249
|
},
|
|
248
|
-
peg$
|
|
249
|
-
peg$
|
|
250
|
-
peg$
|
|
251
|
-
peg$
|
|
252
|
-
peg$
|
|
253
|
-
peg$
|
|
254
|
-
peg$
|
|
255
|
-
peg$
|
|
256
|
-
peg$
|
|
257
|
-
peg$
|
|
258
|
-
peg$
|
|
259
|
-
peg$
|
|
260
|
-
peg$
|
|
261
|
-
peg$
|
|
262
|
-
peg$
|
|
263
|
-
peg$
|
|
264
|
-
peg$
|
|
265
|
-
peg$
|
|
266
|
-
peg$
|
|
267
|
-
peg$
|
|
250
|
+
peg$c48 = "a",
|
|
251
|
+
peg$c49 = peg$literalExpectation("a", false),
|
|
252
|
+
peg$c50 = function() {return '@type';},
|
|
253
|
+
peg$c51 = function(a) {return expandList(a,true);},
|
|
254
|
+
peg$c52 = function(a) {return expandList(a,false);},
|
|
255
|
+
peg$c53 = function(a) {return a==="[]" ? {} : {"@id":a};},
|
|
256
|
+
peg$c54 = function(a) {return {"@id":a};},
|
|
257
|
+
peg$c55 = "[",
|
|
258
|
+
peg$c56 = peg$literalExpectation("[", false),
|
|
259
|
+
peg$c57 = "]",
|
|
260
|
+
peg$c58 = peg$literalExpectation("]", false),
|
|
261
|
+
peg$c59 = "(",
|
|
262
|
+
peg$c60 = peg$literalExpectation("(", false),
|
|
263
|
+
peg$c61 = ")",
|
|
264
|
+
peg$c62 = peg$literalExpectation(")", false),
|
|
265
|
+
peg$c63 = function(a) {return {"@list":a};},
|
|
266
|
+
peg$c64 = function(a, b) {return {"@value":a,"@language":b};},
|
|
267
|
+
peg$c65 = "^^",
|
|
268
|
+
peg$c66 = peg$literalExpectation("^^", false),
|
|
269
|
+
peg$c67 = function(a, b) {
|
|
268
270
|
if(b==="http://www.w3.org/2001/XMLSchema#boolean" && a==="true") return true;
|
|
269
271
|
if(b==="http://www.w3.org/2001/XMLSchema#boolean" && a==="false") return false;
|
|
270
272
|
if(b==="http://www.w3.org/2001/XMLSchema#integer") return parseInt(a);
|
|
@@ -292,20 +294,20 @@
|
|
|
292
294
|
}
|
|
293
295
|
return {"@value":a,"@type":b};
|
|
294
296
|
},
|
|
295
|
-
peg$
|
|
296
|
-
peg$
|
|
297
|
-
peg$
|
|
298
|
-
peg$
|
|
299
|
-
peg$
|
|
300
|
-
peg$
|
|
301
|
-
peg$
|
|
302
|
-
peg$
|
|
303
|
-
peg$
|
|
304
|
-
peg$
|
|
305
|
-
peg$
|
|
306
|
-
peg$
|
|
307
|
-
peg$
|
|
308
|
-
peg$
|
|
297
|
+
peg$c68 = "true",
|
|
298
|
+
peg$c69 = peg$literalExpectation("true", false),
|
|
299
|
+
peg$c70 = function() {return true;},
|
|
300
|
+
peg$c71 = "false",
|
|
301
|
+
peg$c72 = peg$literalExpectation("false", false),
|
|
302
|
+
peg$c73 = function() {return false;},
|
|
303
|
+
peg$c74 = function(a) {return a+":";},
|
|
304
|
+
peg$c75 = "<",
|
|
305
|
+
peg$c76 = peg$literalExpectation("<", false),
|
|
306
|
+
peg$c77 = /^[^\0- <>"{}|\^`\\]/,
|
|
307
|
+
peg$c78 = peg$classExpectation([["\0", " "], "<", ">", "\"", "{", "}", "|", "^", "`", "\\"], true, false),
|
|
308
|
+
peg$c79 = ">",
|
|
309
|
+
peg$c80 = peg$literalExpectation(">", false),
|
|
310
|
+
peg$c81 = function(a) {
|
|
309
311
|
const decoded = a.map(s=> {
|
|
310
312
|
if(0x10000 <= s.codePointAt(0) && s.codePointAt(0) <= 0xeffff) return 'a';
|
|
311
313
|
if(s.length===1) return s;
|
|
@@ -323,36 +325,36 @@
|
|
|
323
325
|
}
|
|
324
326
|
else error("Invalid IRIREF "+a.join("")+" / "+decoded);
|
|
325
327
|
},
|
|
326
|
-
peg$
|
|
327
|
-
peg$
|
|
328
|
-
peg$
|
|
328
|
+
peg$c82 = ":",
|
|
329
|
+
peg$c83 = peg$literalExpectation(":", false),
|
|
330
|
+
peg$c84 = function(a) {
|
|
329
331
|
a = a || "0";
|
|
330
332
|
if(context.hasPrefix(a)===false)
|
|
331
333
|
error("undefined prefix "+a);
|
|
332
334
|
return a;
|
|
333
335
|
},
|
|
334
|
-
peg$
|
|
335
|
-
peg$
|
|
336
|
+
peg$c85 = function(a) {return (a||"");},
|
|
337
|
+
peg$c86 = function(a, b) {
|
|
336
338
|
context.increment(a);
|
|
337
339
|
return context.resolve(a+":"+b);
|
|
338
340
|
},
|
|
339
|
-
peg$
|
|
340
|
-
peg$
|
|
341
|
-
peg$
|
|
342
|
-
peg$
|
|
343
|
-
peg$
|
|
344
|
-
peg$
|
|
345
|
-
peg$
|
|
346
|
-
peg$
|
|
347
|
-
peg$
|
|
348
|
-
peg$
|
|
349
|
-
peg$
|
|
350
|
-
peg$
|
|
351
|
-
peg$
|
|
352
|
-
peg$
|
|
353
|
-
peg$
|
|
354
|
-
peg$
|
|
355
|
-
peg$
|
|
341
|
+
peg$c87 = "_:",
|
|
342
|
+
peg$c88 = peg$literalExpectation("_:", false),
|
|
343
|
+
peg$c89 = /^[0-9]/,
|
|
344
|
+
peg$c90 = peg$classExpectation([["0", "9"]], false, false),
|
|
345
|
+
peg$c91 = "@",
|
|
346
|
+
peg$c92 = peg$literalExpectation("@", false),
|
|
347
|
+
peg$c93 = /^[a-zA-Z]/,
|
|
348
|
+
peg$c94 = peg$classExpectation([["a", "z"], ["A", "Z"]], false, false),
|
|
349
|
+
peg$c95 = "-",
|
|
350
|
+
peg$c96 = peg$literalExpectation("-", false),
|
|
351
|
+
peg$c97 = /^[a-zA-Z0-9]/,
|
|
352
|
+
peg$c98 = peg$classExpectation([["a", "z"], ["A", "Z"], ["0", "9"]], false, false),
|
|
353
|
+
peg$c99 = function(a, s) {return '-'+s.join("");},
|
|
354
|
+
peg$c100 = function(a, b) {return a.join("")+b.join("");},
|
|
355
|
+
peg$c101 = /^[+\-]/,
|
|
356
|
+
peg$c102 = peg$classExpectation(["+", "-"], false, false),
|
|
357
|
+
peg$c103 = function(a) {
|
|
356
358
|
if(a.match(/^[0+][0-9]+$/))
|
|
357
359
|
return {
|
|
358
360
|
"@value" : a,
|
|
@@ -360,107 +362,107 @@
|
|
|
360
362
|
};
|
|
361
363
|
return parseInt(a);
|
|
362
364
|
},
|
|
363
|
-
peg$
|
|
365
|
+
peg$c104 = function(a) {
|
|
364
366
|
return {
|
|
365
367
|
"@value" : a,
|
|
366
368
|
"@type" : "http://www.w3.org/2001/XMLSchema#decimal"
|
|
367
369
|
}
|
|
368
370
|
},
|
|
369
|
-
peg$
|
|
371
|
+
peg$c105 = function(a) {
|
|
370
372
|
return {
|
|
371
373
|
"@value" : a,
|
|
372
374
|
"@type" : "http://www.w3.org/2001/XMLSchema#double"
|
|
373
375
|
};
|
|
374
376
|
},
|
|
375
|
-
peg$
|
|
376
|
-
peg$
|
|
377
|
-
peg$
|
|
378
|
-
peg$
|
|
379
|
-
peg$
|
|
380
|
-
peg$
|
|
381
|
-
peg$
|
|
382
|
-
peg$
|
|
383
|
-
peg$
|
|
384
|
-
peg$
|
|
385
|
-
peg$
|
|
386
|
-
peg$
|
|
387
|
-
peg$
|
|
388
|
-
peg$
|
|
389
|
-
peg$
|
|
390
|
-
peg$
|
|
391
|
-
peg$
|
|
392
|
-
peg$
|
|
393
|
-
peg$
|
|
394
|
-
peg$
|
|
395
|
-
peg$
|
|
396
|
-
peg$
|
|
397
|
-
peg$
|
|
398
|
-
peg$
|
|
399
|
-
peg$
|
|
400
|
-
peg$
|
|
401
|
-
peg$
|
|
402
|
-
peg$
|
|
403
|
-
peg$
|
|
404
|
-
peg$
|
|
377
|
+
peg$c106 = /^[eE]/,
|
|
378
|
+
peg$c107 = peg$classExpectation(["e", "E"], false, false),
|
|
379
|
+
peg$c108 = "\"",
|
|
380
|
+
peg$c109 = peg$literalExpectation("\"", false),
|
|
381
|
+
peg$c110 = /^[^"\\\n\r]/,
|
|
382
|
+
peg$c111 = peg$classExpectation(["\"", "\\", "\n", "\r"], true, false),
|
|
383
|
+
peg$c112 = "'",
|
|
384
|
+
peg$c113 = peg$literalExpectation("'", false),
|
|
385
|
+
peg$c114 = /^[^'\\\n\r]/,
|
|
386
|
+
peg$c115 = peg$classExpectation(["'", "\\", "\n", "\r"], true, false),
|
|
387
|
+
peg$c116 = "'''",
|
|
388
|
+
peg$c117 = peg$literalExpectation("'''", false),
|
|
389
|
+
peg$c118 = /^[^'\\]/,
|
|
390
|
+
peg$c119 = peg$classExpectation(["'", "\\"], true, false),
|
|
391
|
+
peg$c120 = "''",
|
|
392
|
+
peg$c121 = peg$literalExpectation("''", false),
|
|
393
|
+
peg$c122 = function(head, a) {return "''"+a.join("");},
|
|
394
|
+
peg$c123 = function(head, a) {return "'" +a.join("");},
|
|
395
|
+
peg$c124 = function(head, body) {return head.join("")+body.join("");},
|
|
396
|
+
peg$c125 = "\"\"\"",
|
|
397
|
+
peg$c126 = peg$literalExpectation("\"\"\"", false),
|
|
398
|
+
peg$c127 = /^[^"\\]/,
|
|
399
|
+
peg$c128 = peg$classExpectation(["\"", "\\"], true, false),
|
|
400
|
+
peg$c129 = "\"\"",
|
|
401
|
+
peg$c130 = peg$literalExpectation("\"\"", false),
|
|
402
|
+
peg$c131 = function(head, a) {return '""'+a.join("");},
|
|
403
|
+
peg$c132 = function(head, a) {return '"' +a.join("");},
|
|
404
|
+
peg$c133 = "\\U",
|
|
405
|
+
peg$c134 = peg$literalExpectation("\\U", false),
|
|
406
|
+
peg$c135 = function(hex) {
|
|
405
407
|
return String.fromCodePoint(parseInt(hex.join(""),16));
|
|
406
408
|
},
|
|
407
|
-
peg$
|
|
408
|
-
peg$
|
|
409
|
-
peg$
|
|
409
|
+
peg$c136 = "\\u",
|
|
410
|
+
peg$c137 = peg$literalExpectation("\\u", false),
|
|
411
|
+
peg$c138 = function(hex) {
|
|
410
412
|
return String.fromCharCode(parseInt(hex.join(""),16));
|
|
411
413
|
},
|
|
412
|
-
peg$
|
|
413
|
-
peg$
|
|
414
|
-
peg$
|
|
415
|
-
peg$
|
|
416
|
-
peg$
|
|
417
|
-
peg$
|
|
418
|
-
peg$
|
|
419
|
-
peg$
|
|
420
|
-
peg$
|
|
421
|
-
peg$
|
|
422
|
-
peg$
|
|
423
|
-
peg$
|
|
424
|
-
peg$
|
|
425
|
-
peg$
|
|
426
|
-
peg$
|
|
427
|
-
peg$
|
|
428
|
-
peg$
|
|
429
|
-
peg$
|
|
430
|
-
peg$
|
|
431
|
-
peg$
|
|
432
|
-
peg$
|
|
433
|
-
peg$
|
|
434
|
-
peg$
|
|
435
|
-
peg$
|
|
436
|
-
peg$
|
|
437
|
-
peg$
|
|
438
|
-
peg$
|
|
439
|
-
peg$
|
|
440
|
-
peg$
|
|
441
|
-
peg$
|
|
442
|
-
peg$
|
|
443
|
-
peg$
|
|
444
|
-
peg$
|
|
445
|
-
peg$
|
|
446
|
-
peg$
|
|
447
|
-
peg$
|
|
448
|
-
peg$
|
|
449
|
-
peg$
|
|
450
|
-
peg$
|
|
451
|
-
peg$
|
|
452
|
-
peg$
|
|
453
|
-
peg$
|
|
454
|
-
peg$
|
|
455
|
-
peg$
|
|
456
|
-
peg$
|
|
457
|
-
peg$
|
|
458
|
-
peg$
|
|
459
|
-
peg$
|
|
460
|
-
peg$
|
|
461
|
-
peg$
|
|
462
|
-
peg$
|
|
463
|
-
peg$
|
|
414
|
+
peg$c139 = "\\t",
|
|
415
|
+
peg$c140 = peg$literalExpectation("\\t", false),
|
|
416
|
+
peg$c141 = function() {return '\t';},
|
|
417
|
+
peg$c142 = "\\b",
|
|
418
|
+
peg$c143 = peg$literalExpectation("\\b", false),
|
|
419
|
+
peg$c144 = function() {return '\b';},
|
|
420
|
+
peg$c145 = "\\n",
|
|
421
|
+
peg$c146 = peg$literalExpectation("\\n", false),
|
|
422
|
+
peg$c147 = function() {return '\n';},
|
|
423
|
+
peg$c148 = "\\r",
|
|
424
|
+
peg$c149 = peg$literalExpectation("\\r", false),
|
|
425
|
+
peg$c150 = function() {return '\r';},
|
|
426
|
+
peg$c151 = "\\f",
|
|
427
|
+
peg$c152 = peg$literalExpectation("\\f", false),
|
|
428
|
+
peg$c153 = function() {return '\f';},
|
|
429
|
+
peg$c154 = "\\\"",
|
|
430
|
+
peg$c155 = peg$literalExpectation("\\\"", false),
|
|
431
|
+
peg$c156 = function() {return '"';},
|
|
432
|
+
peg$c157 = "\\'",
|
|
433
|
+
peg$c158 = peg$literalExpectation("\\'", false),
|
|
434
|
+
peg$c159 = function() {return "'";},
|
|
435
|
+
peg$c160 = "\\\\",
|
|
436
|
+
peg$c161 = peg$literalExpectation("\\\\", false),
|
|
437
|
+
peg$c162 = function() {return '\\';},
|
|
438
|
+
peg$c163 = /^[ \t\r\n]/,
|
|
439
|
+
peg$c164 = peg$classExpectation([" ", "\t", "\r", "\n"], false, false),
|
|
440
|
+
peg$c165 = function() {return "[]";},
|
|
441
|
+
peg$c166 = /^[\uD800-\uDBFF]/,
|
|
442
|
+
peg$c167 = peg$classExpectation([["\uD800", "\uDBFF"]], false, false),
|
|
443
|
+
peg$c168 = /^[\uDC00-\uDFFF]/,
|
|
444
|
+
peg$c169 = peg$classExpectation([["\uDC00", "\uDFFF"]], false, false),
|
|
445
|
+
peg$c170 = function(a, b) {return a+b;},
|
|
446
|
+
peg$c171 = /^[A-Za-z\xC0-\xD6\xD8-\xF6\xF8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]/,
|
|
447
|
+
peg$c172 = peg$classExpectation([["A", "Z"], ["a", "z"], ["\xC0", "\xD6"], ["\xD8", "\xF6"], ["\xF8", "\u02FF"], ["\u0370", "\u037D"], ["\u037F", "\u1FFF"], ["\u200C", "\u200D"], ["\u2070", "\u218F"], ["\u2C00", "\u2FEF"], ["\u3001", "\uD7FF"], ["\uF900", "\uFDCF"], ["\uFDF0", "\uFFFD"]], false, false),
|
|
448
|
+
peg$c173 = "_",
|
|
449
|
+
peg$c174 = peg$literalExpectation("_", false),
|
|
450
|
+
peg$c175 = "\xB7",
|
|
451
|
+
peg$c176 = peg$literalExpectation("\xB7", false),
|
|
452
|
+
peg$c177 = /^[\u0300-\u036F]/,
|
|
453
|
+
peg$c178 = peg$classExpectation([["\u0300", "\u036F"]], false, false),
|
|
454
|
+
peg$c179 = /^[\u203F-\u2040]/,
|
|
455
|
+
peg$c180 = peg$classExpectation([["\u203F", "\u2040"]], false, false),
|
|
456
|
+
peg$c181 = function(head, body, a, b) {return a.join("")+b.join("");},
|
|
457
|
+
peg$c182 = function(head, body, tail) {return head+body.join("")+tail.join("");},
|
|
458
|
+
peg$c183 = "%",
|
|
459
|
+
peg$c184 = peg$literalExpectation("%", false),
|
|
460
|
+
peg$c185 = /^[0-9A-Fa-f]/,
|
|
461
|
+
peg$c186 = peg$classExpectation([["0", "9"], ["A", "F"], ["a", "f"]], false, false),
|
|
462
|
+
peg$c187 = "\\",
|
|
463
|
+
peg$c188 = peg$literalExpectation("\\", false),
|
|
464
|
+
peg$c189 = /^[_~.!$&'()*+,;=\/?#@%\-]/,
|
|
465
|
+
peg$c190 = peg$classExpectation(["_", "~", ".", "!", "$", "&", "'", "(", ")", "*", "+", ",", ";", "=", "/", "?", "#", "@", "%", "-"], false, false),
|
|
464
466
|
|
|
465
467
|
peg$currPos = 0,
|
|
466
468
|
peg$savedPos = 0,
|
|
@@ -599,26 +601,37 @@
|
|
|
599
601
|
}
|
|
600
602
|
|
|
601
603
|
function peg$parseturtleDoc() {
|
|
602
|
-
var s0, s1, s2, s3;
|
|
604
|
+
var s0, s1, s2, s3, s4;
|
|
603
605
|
|
|
604
606
|
s0 = peg$currPos;
|
|
605
607
|
s1 = [];
|
|
606
|
-
s2 = peg$
|
|
608
|
+
s2 = peg$parseBOM();
|
|
607
609
|
while (s2 !== peg$FAILED) {
|
|
608
610
|
s1.push(s2);
|
|
609
|
-
s2 = peg$
|
|
611
|
+
s2 = peg$parseBOM();
|
|
610
612
|
}
|
|
611
613
|
if (s1 !== peg$FAILED) {
|
|
612
614
|
s2 = [];
|
|
613
|
-
s3 = peg$
|
|
615
|
+
s3 = peg$parsestatement();
|
|
614
616
|
while (s3 !== peg$FAILED) {
|
|
615
617
|
s2.push(s3);
|
|
616
|
-
s3 = peg$
|
|
618
|
+
s3 = peg$parsestatement();
|
|
617
619
|
}
|
|
618
620
|
if (s2 !== peg$FAILED) {
|
|
619
|
-
|
|
620
|
-
|
|
621
|
-
|
|
621
|
+
s3 = [];
|
|
622
|
+
s4 = peg$parseIGNORE();
|
|
623
|
+
while (s4 !== peg$FAILED) {
|
|
624
|
+
s3.push(s4);
|
|
625
|
+
s4 = peg$parseIGNORE();
|
|
626
|
+
}
|
|
627
|
+
if (s3 !== peg$FAILED) {
|
|
628
|
+
peg$savedPos = s0;
|
|
629
|
+
s1 = peg$c0(s2);
|
|
630
|
+
s0 = s1;
|
|
631
|
+
} else {
|
|
632
|
+
peg$currPos = s0;
|
|
633
|
+
s0 = peg$FAILED;
|
|
634
|
+
}
|
|
622
635
|
} else {
|
|
623
636
|
peg$currPos = s0;
|
|
624
637
|
s0 = peg$FAILED;
|
|
@@ -631,6 +644,20 @@
|
|
|
631
644
|
return s0;
|
|
632
645
|
}
|
|
633
646
|
|
|
647
|
+
function peg$parseBOM() {
|
|
648
|
+
var s0;
|
|
649
|
+
|
|
650
|
+
if (input.charCodeAt(peg$currPos) === 65279) {
|
|
651
|
+
s0 = peg$c1;
|
|
652
|
+
peg$currPos++;
|
|
653
|
+
} else {
|
|
654
|
+
s0 = peg$FAILED;
|
|
655
|
+
if (peg$silentFails === 0) { peg$fail(peg$c2); }
|
|
656
|
+
}
|
|
657
|
+
|
|
658
|
+
return s0;
|
|
659
|
+
}
|
|
660
|
+
|
|
634
661
|
function peg$parsestatement() {
|
|
635
662
|
var s0, s1, s2, s3;
|
|
636
663
|
|
|
@@ -647,15 +674,15 @@
|
|
|
647
674
|
}
|
|
648
675
|
if (s2 !== peg$FAILED) {
|
|
649
676
|
if (input.charCodeAt(peg$currPos) === 46) {
|
|
650
|
-
s3 = peg$
|
|
677
|
+
s3 = peg$c3;
|
|
651
678
|
peg$currPos++;
|
|
652
679
|
} else {
|
|
653
680
|
s3 = peg$FAILED;
|
|
654
|
-
if (peg$silentFails === 0) { peg$fail(peg$
|
|
681
|
+
if (peg$silentFails === 0) { peg$fail(peg$c4); }
|
|
655
682
|
}
|
|
656
683
|
if (s3 !== peg$FAILED) {
|
|
657
684
|
peg$savedPos = s0;
|
|
658
|
-
s1 = peg$
|
|
685
|
+
s1 = peg$c5(s1);
|
|
659
686
|
s0 = s1;
|
|
660
687
|
} else {
|
|
661
688
|
peg$currPos = s0;
|
|
@@ -679,42 +706,42 @@
|
|
|
679
706
|
|
|
680
707
|
s0 = peg$currPos;
|
|
681
708
|
if (input.charCodeAt(peg$currPos) === 35) {
|
|
682
|
-
s1 = peg$
|
|
709
|
+
s1 = peg$c6;
|
|
683
710
|
peg$currPos++;
|
|
684
711
|
} else {
|
|
685
712
|
s1 = peg$FAILED;
|
|
686
|
-
if (peg$silentFails === 0) { peg$fail(peg$
|
|
713
|
+
if (peg$silentFails === 0) { peg$fail(peg$c7); }
|
|
687
714
|
}
|
|
688
715
|
if (s1 !== peg$FAILED) {
|
|
689
716
|
s2 = [];
|
|
690
|
-
if (peg$
|
|
717
|
+
if (peg$c8.test(input.charAt(peg$currPos))) {
|
|
691
718
|
s3 = input.charAt(peg$currPos);
|
|
692
719
|
peg$currPos++;
|
|
693
720
|
} else {
|
|
694
721
|
s3 = peg$FAILED;
|
|
695
|
-
if (peg$silentFails === 0) { peg$fail(peg$
|
|
722
|
+
if (peg$silentFails === 0) { peg$fail(peg$c9); }
|
|
696
723
|
}
|
|
697
724
|
while (s3 !== peg$FAILED) {
|
|
698
725
|
s2.push(s3);
|
|
699
|
-
if (peg$
|
|
726
|
+
if (peg$c8.test(input.charAt(peg$currPos))) {
|
|
700
727
|
s3 = input.charAt(peg$currPos);
|
|
701
728
|
peg$currPos++;
|
|
702
729
|
} else {
|
|
703
730
|
s3 = peg$FAILED;
|
|
704
|
-
if (peg$silentFails === 0) { peg$fail(peg$
|
|
731
|
+
if (peg$silentFails === 0) { peg$fail(peg$c9); }
|
|
705
732
|
}
|
|
706
733
|
}
|
|
707
734
|
if (s2 !== peg$FAILED) {
|
|
708
735
|
if (input.charCodeAt(peg$currPos) === 10) {
|
|
709
|
-
s3 = peg$
|
|
736
|
+
s3 = peg$c10;
|
|
710
737
|
peg$currPos++;
|
|
711
738
|
} else {
|
|
712
739
|
s3 = peg$FAILED;
|
|
713
|
-
if (peg$silentFails === 0) { peg$fail(peg$
|
|
740
|
+
if (peg$silentFails === 0) { peg$fail(peg$c11); }
|
|
714
741
|
}
|
|
715
742
|
if (s3 !== peg$FAILED) {
|
|
716
743
|
peg$savedPos = s0;
|
|
717
|
-
s1 = peg$
|
|
744
|
+
s1 = peg$c12(s2);
|
|
718
745
|
s0 = s1;
|
|
719
746
|
} else {
|
|
720
747
|
peg$currPos = s0;
|
|
@@ -771,12 +798,12 @@
|
|
|
771
798
|
s2 = peg$parseIGNORE();
|
|
772
799
|
}
|
|
773
800
|
if (s1 !== peg$FAILED) {
|
|
774
|
-
if (input.substr(peg$currPos, 7) === peg$
|
|
775
|
-
s2 = peg$
|
|
801
|
+
if (input.substr(peg$currPos, 7) === peg$c13) {
|
|
802
|
+
s2 = peg$c13;
|
|
776
803
|
peg$currPos += 7;
|
|
777
804
|
} else {
|
|
778
805
|
s2 = peg$FAILED;
|
|
779
|
-
if (peg$silentFails === 0) { peg$fail(peg$
|
|
806
|
+
if (peg$silentFails === 0) { peg$fail(peg$c14); }
|
|
780
807
|
}
|
|
781
808
|
if (s2 !== peg$FAILED) {
|
|
782
809
|
s3 = [];
|
|
@@ -805,15 +832,15 @@
|
|
|
805
832
|
}
|
|
806
833
|
if (s7 !== peg$FAILED) {
|
|
807
834
|
if (input.charCodeAt(peg$currPos) === 46) {
|
|
808
|
-
s8 = peg$
|
|
835
|
+
s8 = peg$c3;
|
|
809
836
|
peg$currPos++;
|
|
810
837
|
} else {
|
|
811
838
|
s8 = peg$FAILED;
|
|
812
|
-
if (peg$silentFails === 0) { peg$fail(peg$
|
|
839
|
+
if (peg$silentFails === 0) { peg$fail(peg$c4); }
|
|
813
840
|
}
|
|
814
841
|
if (s8 !== peg$FAILED) {
|
|
815
842
|
peg$savedPos = s0;
|
|
816
|
-
s1 = peg$
|
|
843
|
+
s1 = peg$c15(s4, s6);
|
|
817
844
|
s0 = s1;
|
|
818
845
|
} else {
|
|
819
846
|
peg$currPos = s0;
|
|
@@ -862,12 +889,12 @@
|
|
|
862
889
|
s2 = peg$parseIGNORE();
|
|
863
890
|
}
|
|
864
891
|
if (s1 !== peg$FAILED) {
|
|
865
|
-
if (input.substr(peg$currPos, 5) === peg$
|
|
866
|
-
s2 = peg$
|
|
892
|
+
if (input.substr(peg$currPos, 5) === peg$c16) {
|
|
893
|
+
s2 = peg$c16;
|
|
867
894
|
peg$currPos += 5;
|
|
868
895
|
} else {
|
|
869
896
|
s2 = peg$FAILED;
|
|
870
|
-
if (peg$silentFails === 0) { peg$fail(peg$
|
|
897
|
+
if (peg$silentFails === 0) { peg$fail(peg$c17); }
|
|
871
898
|
}
|
|
872
899
|
if (s2 !== peg$FAILED) {
|
|
873
900
|
s3 = [];
|
|
@@ -887,15 +914,15 @@
|
|
|
887
914
|
}
|
|
888
915
|
if (s5 !== peg$FAILED) {
|
|
889
916
|
if (input.charCodeAt(peg$currPos) === 46) {
|
|
890
|
-
s6 = peg$
|
|
917
|
+
s6 = peg$c3;
|
|
891
918
|
peg$currPos++;
|
|
892
919
|
} else {
|
|
893
920
|
s6 = peg$FAILED;
|
|
894
|
-
if (peg$silentFails === 0) { peg$fail(peg$
|
|
921
|
+
if (peg$silentFails === 0) { peg$fail(peg$c4); }
|
|
895
922
|
}
|
|
896
923
|
if (s6 !== peg$FAILED) {
|
|
897
924
|
peg$savedPos = s0;
|
|
898
|
-
s1 = peg$
|
|
925
|
+
s1 = peg$c18(s4);
|
|
899
926
|
s0 = s1;
|
|
900
927
|
} else {
|
|
901
928
|
peg$currPos = s0;
|
|
@@ -936,36 +963,36 @@
|
|
|
936
963
|
s2 = peg$parseIGNORE();
|
|
937
964
|
}
|
|
938
965
|
if (s1 !== peg$FAILED) {
|
|
939
|
-
if (peg$
|
|
966
|
+
if (peg$c19.test(input.charAt(peg$currPos))) {
|
|
940
967
|
s2 = input.charAt(peg$currPos);
|
|
941
968
|
peg$currPos++;
|
|
942
969
|
} else {
|
|
943
970
|
s2 = peg$FAILED;
|
|
944
|
-
if (peg$silentFails === 0) { peg$fail(peg$
|
|
971
|
+
if (peg$silentFails === 0) { peg$fail(peg$c20); }
|
|
945
972
|
}
|
|
946
973
|
if (s2 !== peg$FAILED) {
|
|
947
|
-
if (peg$
|
|
974
|
+
if (peg$c21.test(input.charAt(peg$currPos))) {
|
|
948
975
|
s3 = input.charAt(peg$currPos);
|
|
949
976
|
peg$currPos++;
|
|
950
977
|
} else {
|
|
951
978
|
s3 = peg$FAILED;
|
|
952
|
-
if (peg$silentFails === 0) { peg$fail(peg$
|
|
979
|
+
if (peg$silentFails === 0) { peg$fail(peg$c22); }
|
|
953
980
|
}
|
|
954
981
|
if (s3 !== peg$FAILED) {
|
|
955
|
-
if (peg$
|
|
982
|
+
if (peg$c23.test(input.charAt(peg$currPos))) {
|
|
956
983
|
s4 = input.charAt(peg$currPos);
|
|
957
984
|
peg$currPos++;
|
|
958
985
|
} else {
|
|
959
986
|
s4 = peg$FAILED;
|
|
960
|
-
if (peg$silentFails === 0) { peg$fail(peg$
|
|
987
|
+
if (peg$silentFails === 0) { peg$fail(peg$c24); }
|
|
961
988
|
}
|
|
962
989
|
if (s4 !== peg$FAILED) {
|
|
963
|
-
if (peg$
|
|
990
|
+
if (peg$c25.test(input.charAt(peg$currPos))) {
|
|
964
991
|
s5 = input.charAt(peg$currPos);
|
|
965
992
|
peg$currPos++;
|
|
966
993
|
} else {
|
|
967
994
|
s5 = peg$FAILED;
|
|
968
|
-
if (peg$silentFails === 0) { peg$fail(peg$
|
|
995
|
+
if (peg$silentFails === 0) { peg$fail(peg$c26); }
|
|
969
996
|
}
|
|
970
997
|
if (s5 !== peg$FAILED) {
|
|
971
998
|
s6 = [];
|
|
@@ -978,7 +1005,7 @@
|
|
|
978
1005
|
s7 = peg$parseIRIREF();
|
|
979
1006
|
if (s7 !== peg$FAILED) {
|
|
980
1007
|
peg$savedPos = s0;
|
|
981
|
-
s1 = peg$
|
|
1008
|
+
s1 = peg$c18(s7);
|
|
982
1009
|
s0 = s1;
|
|
983
1010
|
} else {
|
|
984
1011
|
peg$currPos = s0;
|
|
@@ -1023,52 +1050,52 @@
|
|
|
1023
1050
|
s2 = peg$parseIGNORE();
|
|
1024
1051
|
}
|
|
1025
1052
|
if (s1 !== peg$FAILED) {
|
|
1026
|
-
if (peg$
|
|
1053
|
+
if (peg$c27.test(input.charAt(peg$currPos))) {
|
|
1027
1054
|
s2 = input.charAt(peg$currPos);
|
|
1028
1055
|
peg$currPos++;
|
|
1029
1056
|
} else {
|
|
1030
1057
|
s2 = peg$FAILED;
|
|
1031
|
-
if (peg$silentFails === 0) { peg$fail(peg$
|
|
1058
|
+
if (peg$silentFails === 0) { peg$fail(peg$c28); }
|
|
1032
1059
|
}
|
|
1033
1060
|
if (s2 !== peg$FAILED) {
|
|
1034
|
-
if (peg$
|
|
1061
|
+
if (peg$c29.test(input.charAt(peg$currPos))) {
|
|
1035
1062
|
s3 = input.charAt(peg$currPos);
|
|
1036
1063
|
peg$currPos++;
|
|
1037
1064
|
} else {
|
|
1038
1065
|
s3 = peg$FAILED;
|
|
1039
|
-
if (peg$silentFails === 0) { peg$fail(peg$
|
|
1066
|
+
if (peg$silentFails === 0) { peg$fail(peg$c30); }
|
|
1040
1067
|
}
|
|
1041
1068
|
if (s3 !== peg$FAILED) {
|
|
1042
|
-
if (peg$
|
|
1069
|
+
if (peg$c25.test(input.charAt(peg$currPos))) {
|
|
1043
1070
|
s4 = input.charAt(peg$currPos);
|
|
1044
1071
|
peg$currPos++;
|
|
1045
1072
|
} else {
|
|
1046
1073
|
s4 = peg$FAILED;
|
|
1047
|
-
if (peg$silentFails === 0) { peg$fail(peg$
|
|
1074
|
+
if (peg$silentFails === 0) { peg$fail(peg$c26); }
|
|
1048
1075
|
}
|
|
1049
1076
|
if (s4 !== peg$FAILED) {
|
|
1050
|
-
if (peg$
|
|
1077
|
+
if (peg$c31.test(input.charAt(peg$currPos))) {
|
|
1051
1078
|
s5 = input.charAt(peg$currPos);
|
|
1052
1079
|
peg$currPos++;
|
|
1053
1080
|
} else {
|
|
1054
1081
|
s5 = peg$FAILED;
|
|
1055
|
-
if (peg$silentFails === 0) { peg$fail(peg$
|
|
1082
|
+
if (peg$silentFails === 0) { peg$fail(peg$c32); }
|
|
1056
1083
|
}
|
|
1057
1084
|
if (s5 !== peg$FAILED) {
|
|
1058
|
-
if (peg$
|
|
1085
|
+
if (peg$c33.test(input.charAt(peg$currPos))) {
|
|
1059
1086
|
s6 = input.charAt(peg$currPos);
|
|
1060
1087
|
peg$currPos++;
|
|
1061
1088
|
} else {
|
|
1062
1089
|
s6 = peg$FAILED;
|
|
1063
|
-
if (peg$silentFails === 0) { peg$fail(peg$
|
|
1090
|
+
if (peg$silentFails === 0) { peg$fail(peg$c34); }
|
|
1064
1091
|
}
|
|
1065
1092
|
if (s6 !== peg$FAILED) {
|
|
1066
|
-
if (peg$
|
|
1093
|
+
if (peg$c35.test(input.charAt(peg$currPos))) {
|
|
1067
1094
|
s7 = input.charAt(peg$currPos);
|
|
1068
1095
|
peg$currPos++;
|
|
1069
1096
|
} else {
|
|
1070
1097
|
s7 = peg$FAILED;
|
|
1071
|
-
if (peg$silentFails === 0) { peg$fail(peg$
|
|
1098
|
+
if (peg$silentFails === 0) { peg$fail(peg$c36); }
|
|
1072
1099
|
}
|
|
1073
1100
|
if (s7 !== peg$FAILED) {
|
|
1074
1101
|
s8 = [];
|
|
@@ -1090,7 +1117,7 @@
|
|
|
1090
1117
|
s11 = peg$parseIRIREF();
|
|
1091
1118
|
if (s11 !== peg$FAILED) {
|
|
1092
1119
|
peg$savedPos = s0;
|
|
1093
|
-
s1 = peg$
|
|
1120
|
+
s1 = peg$c15(s9, s11);
|
|
1094
1121
|
s0 = s1;
|
|
1095
1122
|
} else {
|
|
1096
1123
|
peg$currPos = s0;
|
|
@@ -1149,7 +1176,7 @@
|
|
|
1149
1176
|
s2 = peg$parsepredicateObjectList();
|
|
1150
1177
|
if (s2 !== peg$FAILED) {
|
|
1151
1178
|
peg$savedPos = s0;
|
|
1152
|
-
s1 = peg$
|
|
1179
|
+
s1 = peg$c37(s1, s2);
|
|
1153
1180
|
s0 = s1;
|
|
1154
1181
|
} else {
|
|
1155
1182
|
peg$currPos = s0;
|
|
@@ -1169,7 +1196,7 @@
|
|
|
1169
1196
|
}
|
|
1170
1197
|
if (s2 !== peg$FAILED) {
|
|
1171
1198
|
peg$savedPos = s0;
|
|
1172
|
-
s1 = peg$
|
|
1199
|
+
s1 = peg$c38(s1, s2);
|
|
1173
1200
|
s0 = s1;
|
|
1174
1201
|
} else {
|
|
1175
1202
|
peg$currPos = s0;
|
|
@@ -1202,11 +1229,11 @@
|
|
|
1202
1229
|
}
|
|
1203
1230
|
if (s5 !== peg$FAILED) {
|
|
1204
1231
|
if (input.charCodeAt(peg$currPos) === 59) {
|
|
1205
|
-
s6 = peg$
|
|
1232
|
+
s6 = peg$c39;
|
|
1206
1233
|
peg$currPos++;
|
|
1207
1234
|
} else {
|
|
1208
1235
|
s6 = peg$FAILED;
|
|
1209
|
-
if (peg$silentFails === 0) { peg$fail(peg$
|
|
1236
|
+
if (peg$silentFails === 0) { peg$fail(peg$c40); }
|
|
1210
1237
|
}
|
|
1211
1238
|
if (s6 !== peg$FAILED) {
|
|
1212
1239
|
s7 = peg$currPos;
|
|
@@ -1215,7 +1242,7 @@
|
|
|
1215
1242
|
s9 = peg$parseobjectList();
|
|
1216
1243
|
if (s9 !== peg$FAILED) {
|
|
1217
1244
|
peg$savedPos = s7;
|
|
1218
|
-
s8 = peg$
|
|
1245
|
+
s8 = peg$c41(s1, s2, s8, s9);
|
|
1219
1246
|
s7 = s8;
|
|
1220
1247
|
} else {
|
|
1221
1248
|
peg$currPos = s7;
|
|
@@ -1230,7 +1257,7 @@
|
|
|
1230
1257
|
}
|
|
1231
1258
|
if (s7 !== peg$FAILED) {
|
|
1232
1259
|
peg$savedPos = s4;
|
|
1233
|
-
s5 = peg$
|
|
1260
|
+
s5 = peg$c42(s1, s2, s7);
|
|
1234
1261
|
s4 = s5;
|
|
1235
1262
|
} else {
|
|
1236
1263
|
peg$currPos = s4;
|
|
@@ -1255,11 +1282,11 @@
|
|
|
1255
1282
|
}
|
|
1256
1283
|
if (s5 !== peg$FAILED) {
|
|
1257
1284
|
if (input.charCodeAt(peg$currPos) === 59) {
|
|
1258
|
-
s6 = peg$
|
|
1285
|
+
s6 = peg$c39;
|
|
1259
1286
|
peg$currPos++;
|
|
1260
1287
|
} else {
|
|
1261
1288
|
s6 = peg$FAILED;
|
|
1262
|
-
if (peg$silentFails === 0) { peg$fail(peg$
|
|
1289
|
+
if (peg$silentFails === 0) { peg$fail(peg$c40); }
|
|
1263
1290
|
}
|
|
1264
1291
|
if (s6 !== peg$FAILED) {
|
|
1265
1292
|
s7 = peg$currPos;
|
|
@@ -1268,7 +1295,7 @@
|
|
|
1268
1295
|
s9 = peg$parseobjectList();
|
|
1269
1296
|
if (s9 !== peg$FAILED) {
|
|
1270
1297
|
peg$savedPos = s7;
|
|
1271
|
-
s8 = peg$
|
|
1298
|
+
s8 = peg$c41(s1, s2, s8, s9);
|
|
1272
1299
|
s7 = s8;
|
|
1273
1300
|
} else {
|
|
1274
1301
|
peg$currPos = s7;
|
|
@@ -1283,7 +1310,7 @@
|
|
|
1283
1310
|
}
|
|
1284
1311
|
if (s7 !== peg$FAILED) {
|
|
1285
1312
|
peg$savedPos = s4;
|
|
1286
|
-
s5 = peg$
|
|
1313
|
+
s5 = peg$c42(s1, s2, s7);
|
|
1287
1314
|
s4 = s5;
|
|
1288
1315
|
} else {
|
|
1289
1316
|
peg$currPos = s4;
|
|
@@ -1300,7 +1327,7 @@
|
|
|
1300
1327
|
}
|
|
1301
1328
|
if (s3 !== peg$FAILED) {
|
|
1302
1329
|
peg$savedPos = s0;
|
|
1303
|
-
s1 = peg$
|
|
1330
|
+
s1 = peg$c43(s1, s2, s3);
|
|
1304
1331
|
s0 = s1;
|
|
1305
1332
|
} else {
|
|
1306
1333
|
peg$currPos = s0;
|
|
@@ -1334,17 +1361,17 @@
|
|
|
1334
1361
|
}
|
|
1335
1362
|
if (s4 !== peg$FAILED) {
|
|
1336
1363
|
if (input.charCodeAt(peg$currPos) === 44) {
|
|
1337
|
-
s5 = peg$
|
|
1364
|
+
s5 = peg$c44;
|
|
1338
1365
|
peg$currPos++;
|
|
1339
1366
|
} else {
|
|
1340
1367
|
s5 = peg$FAILED;
|
|
1341
|
-
if (peg$silentFails === 0) { peg$fail(peg$
|
|
1368
|
+
if (peg$silentFails === 0) { peg$fail(peg$c45); }
|
|
1342
1369
|
}
|
|
1343
1370
|
if (s5 !== peg$FAILED) {
|
|
1344
1371
|
s6 = peg$parseobject();
|
|
1345
1372
|
if (s6 !== peg$FAILED) {
|
|
1346
1373
|
peg$savedPos = s3;
|
|
1347
|
-
s4 = peg$
|
|
1374
|
+
s4 = peg$c46(s1, s6);
|
|
1348
1375
|
s3 = s4;
|
|
1349
1376
|
} else {
|
|
1350
1377
|
peg$currPos = s3;
|
|
@@ -1369,17 +1396,17 @@
|
|
|
1369
1396
|
}
|
|
1370
1397
|
if (s4 !== peg$FAILED) {
|
|
1371
1398
|
if (input.charCodeAt(peg$currPos) === 44) {
|
|
1372
|
-
s5 = peg$
|
|
1399
|
+
s5 = peg$c44;
|
|
1373
1400
|
peg$currPos++;
|
|
1374
1401
|
} else {
|
|
1375
1402
|
s5 = peg$FAILED;
|
|
1376
|
-
if (peg$silentFails === 0) { peg$fail(peg$
|
|
1403
|
+
if (peg$silentFails === 0) { peg$fail(peg$c45); }
|
|
1377
1404
|
}
|
|
1378
1405
|
if (s5 !== peg$FAILED) {
|
|
1379
1406
|
s6 = peg$parseobject();
|
|
1380
1407
|
if (s6 !== peg$FAILED) {
|
|
1381
1408
|
peg$savedPos = s3;
|
|
1382
|
-
s4 = peg$
|
|
1409
|
+
s4 = peg$c46(s1, s6);
|
|
1383
1410
|
s3 = s4;
|
|
1384
1411
|
} else {
|
|
1385
1412
|
peg$currPos = s3;
|
|
@@ -1396,7 +1423,7 @@
|
|
|
1396
1423
|
}
|
|
1397
1424
|
if (s2 !== peg$FAILED) {
|
|
1398
1425
|
peg$savedPos = s0;
|
|
1399
|
-
s1 = peg$
|
|
1426
|
+
s1 = peg$c47(s1, s2);
|
|
1400
1427
|
s0 = s1;
|
|
1401
1428
|
} else {
|
|
1402
1429
|
peg$currPos = s0;
|
|
@@ -1417,7 +1444,7 @@
|
|
|
1417
1444
|
s1 = peg$parsepredicate();
|
|
1418
1445
|
if (s1 !== peg$FAILED) {
|
|
1419
1446
|
peg$savedPos = s0;
|
|
1420
|
-
s1 = peg$
|
|
1447
|
+
s1 = peg$c5(s1);
|
|
1421
1448
|
}
|
|
1422
1449
|
s0 = s1;
|
|
1423
1450
|
if (s0 === peg$FAILED) {
|
|
@@ -1430,15 +1457,15 @@
|
|
|
1430
1457
|
}
|
|
1431
1458
|
if (s1 !== peg$FAILED) {
|
|
1432
1459
|
if (input.charCodeAt(peg$currPos) === 97) {
|
|
1433
|
-
s2 = peg$
|
|
1460
|
+
s2 = peg$c48;
|
|
1434
1461
|
peg$currPos++;
|
|
1435
1462
|
} else {
|
|
1436
1463
|
s2 = peg$FAILED;
|
|
1437
|
-
if (peg$silentFails === 0) { peg$fail(peg$
|
|
1464
|
+
if (peg$silentFails === 0) { peg$fail(peg$c49); }
|
|
1438
1465
|
}
|
|
1439
1466
|
if (s2 !== peg$FAILED) {
|
|
1440
1467
|
peg$savedPos = s0;
|
|
1441
|
-
s1 = peg$
|
|
1468
|
+
s1 = peg$c50();
|
|
1442
1469
|
s0 = s1;
|
|
1443
1470
|
} else {
|
|
1444
1471
|
peg$currPos = s0;
|
|
@@ -1460,7 +1487,7 @@
|
|
|
1460
1487
|
s1 = peg$parsecollection();
|
|
1461
1488
|
if (s1 !== peg$FAILED) {
|
|
1462
1489
|
peg$savedPos = s0;
|
|
1463
|
-
s1 = peg$
|
|
1490
|
+
s1 = peg$c51(s1);
|
|
1464
1491
|
}
|
|
1465
1492
|
s0 = s1;
|
|
1466
1493
|
if (s0 === peg$FAILED) {
|
|
@@ -1487,7 +1514,7 @@
|
|
|
1487
1514
|
s2 = peg$parseiri();
|
|
1488
1515
|
if (s2 !== peg$FAILED) {
|
|
1489
1516
|
peg$savedPos = s0;
|
|
1490
|
-
s1 = peg$
|
|
1517
|
+
s1 = peg$c5(s2);
|
|
1491
1518
|
s0 = s1;
|
|
1492
1519
|
} else {
|
|
1493
1520
|
peg$currPos = s0;
|
|
@@ -1510,7 +1537,7 @@
|
|
|
1510
1537
|
s1 = peg$parsecollection();
|
|
1511
1538
|
if (s1 !== peg$FAILED) {
|
|
1512
1539
|
peg$savedPos = s0;
|
|
1513
|
-
s1 = peg$
|
|
1540
|
+
s1 = peg$c52(s1);
|
|
1514
1541
|
}
|
|
1515
1542
|
s0 = s1;
|
|
1516
1543
|
if (s0 === peg$FAILED) {
|
|
@@ -1518,7 +1545,7 @@
|
|
|
1518
1545
|
s1 = peg$parseBlankNode();
|
|
1519
1546
|
if (s1 !== peg$FAILED) {
|
|
1520
1547
|
peg$savedPos = s0;
|
|
1521
|
-
s1 = peg$
|
|
1548
|
+
s1 = peg$c53(s1);
|
|
1522
1549
|
}
|
|
1523
1550
|
s0 = s1;
|
|
1524
1551
|
if (s0 === peg$FAILED) {
|
|
@@ -1526,7 +1553,7 @@
|
|
|
1526
1553
|
s1 = peg$parseblankNodePropertyList();
|
|
1527
1554
|
if (s1 !== peg$FAILED) {
|
|
1528
1555
|
peg$savedPos = s0;
|
|
1529
|
-
s1 = peg$
|
|
1556
|
+
s1 = peg$c5(s1);
|
|
1530
1557
|
}
|
|
1531
1558
|
s0 = s1;
|
|
1532
1559
|
if (s0 === peg$FAILED) {
|
|
@@ -1534,7 +1561,7 @@
|
|
|
1534
1561
|
s1 = peg$parseiri();
|
|
1535
1562
|
if (s1 !== peg$FAILED) {
|
|
1536
1563
|
peg$savedPos = s0;
|
|
1537
|
-
s1 = peg$
|
|
1564
|
+
s1 = peg$c54(s1);
|
|
1538
1565
|
}
|
|
1539
1566
|
s0 = s1;
|
|
1540
1567
|
}
|
|
@@ -1571,11 +1598,11 @@
|
|
|
1571
1598
|
}
|
|
1572
1599
|
if (s1 !== peg$FAILED) {
|
|
1573
1600
|
if (input.charCodeAt(peg$currPos) === 91) {
|
|
1574
|
-
s2 = peg$
|
|
1601
|
+
s2 = peg$c55;
|
|
1575
1602
|
peg$currPos++;
|
|
1576
1603
|
} else {
|
|
1577
1604
|
s2 = peg$FAILED;
|
|
1578
|
-
if (peg$silentFails === 0) { peg$fail(peg$
|
|
1605
|
+
if (peg$silentFails === 0) { peg$fail(peg$c56); }
|
|
1579
1606
|
}
|
|
1580
1607
|
if (s2 !== peg$FAILED) {
|
|
1581
1608
|
s3 = peg$parsepredicateObjectList();
|
|
@@ -1588,15 +1615,15 @@
|
|
|
1588
1615
|
}
|
|
1589
1616
|
if (s4 !== peg$FAILED) {
|
|
1590
1617
|
if (input.charCodeAt(peg$currPos) === 93) {
|
|
1591
|
-
s5 = peg$
|
|
1618
|
+
s5 = peg$c57;
|
|
1592
1619
|
peg$currPos++;
|
|
1593
1620
|
} else {
|
|
1594
1621
|
s5 = peg$FAILED;
|
|
1595
|
-
if (peg$silentFails === 0) { peg$fail(peg$
|
|
1622
|
+
if (peg$silentFails === 0) { peg$fail(peg$c58); }
|
|
1596
1623
|
}
|
|
1597
1624
|
if (s5 !== peg$FAILED) {
|
|
1598
1625
|
peg$savedPos = s0;
|
|
1599
|
-
s1 = peg$
|
|
1626
|
+
s1 = peg$c5(s3);
|
|
1600
1627
|
s0 = s1;
|
|
1601
1628
|
} else {
|
|
1602
1629
|
peg$currPos = s0;
|
|
@@ -1634,11 +1661,11 @@
|
|
|
1634
1661
|
}
|
|
1635
1662
|
if (s1 !== peg$FAILED) {
|
|
1636
1663
|
if (input.charCodeAt(peg$currPos) === 40) {
|
|
1637
|
-
s2 = peg$
|
|
1664
|
+
s2 = peg$c59;
|
|
1638
1665
|
peg$currPos++;
|
|
1639
1666
|
} else {
|
|
1640
1667
|
s2 = peg$FAILED;
|
|
1641
|
-
if (peg$silentFails === 0) { peg$fail(peg$
|
|
1668
|
+
if (peg$silentFails === 0) { peg$fail(peg$c60); }
|
|
1642
1669
|
}
|
|
1643
1670
|
if (s2 !== peg$FAILED) {
|
|
1644
1671
|
s3 = [];
|
|
@@ -1656,15 +1683,15 @@
|
|
|
1656
1683
|
}
|
|
1657
1684
|
if (s4 !== peg$FAILED) {
|
|
1658
1685
|
if (input.charCodeAt(peg$currPos) === 41) {
|
|
1659
|
-
s5 = peg$
|
|
1686
|
+
s5 = peg$c61;
|
|
1660
1687
|
peg$currPos++;
|
|
1661
1688
|
} else {
|
|
1662
1689
|
s5 = peg$FAILED;
|
|
1663
|
-
if (peg$silentFails === 0) { peg$fail(peg$
|
|
1690
|
+
if (peg$silentFails === 0) { peg$fail(peg$c62); }
|
|
1664
1691
|
}
|
|
1665
1692
|
if (s5 !== peg$FAILED) {
|
|
1666
1693
|
peg$savedPos = s0;
|
|
1667
|
-
s1 = peg$
|
|
1694
|
+
s1 = peg$c63(s3);
|
|
1668
1695
|
s0 = s1;
|
|
1669
1696
|
} else {
|
|
1670
1697
|
peg$currPos = s0;
|
|
@@ -1710,7 +1737,7 @@
|
|
|
1710
1737
|
}
|
|
1711
1738
|
if (s2 !== peg$FAILED) {
|
|
1712
1739
|
peg$savedPos = s0;
|
|
1713
|
-
s1 = peg$
|
|
1740
|
+
s1 = peg$c5(s2);
|
|
1714
1741
|
s0 = s1;
|
|
1715
1742
|
} else {
|
|
1716
1743
|
peg$currPos = s0;
|
|
@@ -1747,7 +1774,7 @@
|
|
|
1747
1774
|
s4 = peg$parseLANGTAG();
|
|
1748
1775
|
if (s4 !== peg$FAILED) {
|
|
1749
1776
|
peg$savedPos = s0;
|
|
1750
|
-
s1 = peg$
|
|
1777
|
+
s1 = peg$c64(s2, s4);
|
|
1751
1778
|
s0 = s1;
|
|
1752
1779
|
} else {
|
|
1753
1780
|
peg$currPos = s0;
|
|
@@ -1783,12 +1810,12 @@
|
|
|
1783
1810
|
s4 = peg$parseIGNORE();
|
|
1784
1811
|
}
|
|
1785
1812
|
if (s3 !== peg$FAILED) {
|
|
1786
|
-
if (input.substr(peg$currPos, 2) === peg$
|
|
1787
|
-
s4 = peg$
|
|
1813
|
+
if (input.substr(peg$currPos, 2) === peg$c65) {
|
|
1814
|
+
s4 = peg$c65;
|
|
1788
1815
|
peg$currPos += 2;
|
|
1789
1816
|
} else {
|
|
1790
1817
|
s4 = peg$FAILED;
|
|
1791
|
-
if (peg$silentFails === 0) { peg$fail(peg$
|
|
1818
|
+
if (peg$silentFails === 0) { peg$fail(peg$c66); }
|
|
1792
1819
|
}
|
|
1793
1820
|
if (s4 !== peg$FAILED) {
|
|
1794
1821
|
s5 = [];
|
|
@@ -1801,7 +1828,7 @@
|
|
|
1801
1828
|
s6 = peg$parseiri();
|
|
1802
1829
|
if (s6 !== peg$FAILED) {
|
|
1803
1830
|
peg$savedPos = s0;
|
|
1804
|
-
s1 = peg$
|
|
1831
|
+
s1 = peg$c67(s2, s6);
|
|
1805
1832
|
s0 = s1;
|
|
1806
1833
|
} else {
|
|
1807
1834
|
peg$currPos = s0;
|
|
@@ -1839,7 +1866,7 @@
|
|
|
1839
1866
|
s2 = peg$parseString();
|
|
1840
1867
|
if (s2 !== peg$FAILED) {
|
|
1841
1868
|
peg$savedPos = s0;
|
|
1842
|
-
s1 = peg$
|
|
1869
|
+
s1 = peg$c5(s2);
|
|
1843
1870
|
s0 = s1;
|
|
1844
1871
|
} else {
|
|
1845
1872
|
peg$currPos = s0;
|
|
@@ -1866,16 +1893,16 @@
|
|
|
1866
1893
|
s2 = peg$parseIGNORE();
|
|
1867
1894
|
}
|
|
1868
1895
|
if (s1 !== peg$FAILED) {
|
|
1869
|
-
if (input.substr(peg$currPos, 4) === peg$
|
|
1870
|
-
s2 = peg$
|
|
1896
|
+
if (input.substr(peg$currPos, 4) === peg$c68) {
|
|
1897
|
+
s2 = peg$c68;
|
|
1871
1898
|
peg$currPos += 4;
|
|
1872
1899
|
} else {
|
|
1873
1900
|
s2 = peg$FAILED;
|
|
1874
|
-
if (peg$silentFails === 0) { peg$fail(peg$
|
|
1901
|
+
if (peg$silentFails === 0) { peg$fail(peg$c69); }
|
|
1875
1902
|
}
|
|
1876
1903
|
if (s2 !== peg$FAILED) {
|
|
1877
1904
|
peg$savedPos = s0;
|
|
1878
|
-
s1 = peg$
|
|
1905
|
+
s1 = peg$c70();
|
|
1879
1906
|
s0 = s1;
|
|
1880
1907
|
} else {
|
|
1881
1908
|
peg$currPos = s0;
|
|
@@ -1894,16 +1921,16 @@
|
|
|
1894
1921
|
s2 = peg$parseIGNORE();
|
|
1895
1922
|
}
|
|
1896
1923
|
if (s1 !== peg$FAILED) {
|
|
1897
|
-
if (input.substr(peg$currPos, 5) === peg$
|
|
1898
|
-
s2 = peg$
|
|
1924
|
+
if (input.substr(peg$currPos, 5) === peg$c71) {
|
|
1925
|
+
s2 = peg$c71;
|
|
1899
1926
|
peg$currPos += 5;
|
|
1900
1927
|
} else {
|
|
1901
1928
|
s2 = peg$FAILED;
|
|
1902
|
-
if (peg$silentFails === 0) { peg$fail(peg$
|
|
1929
|
+
if (peg$silentFails === 0) { peg$fail(peg$c72); }
|
|
1903
1930
|
}
|
|
1904
1931
|
if (s2 !== peg$FAILED) {
|
|
1905
1932
|
peg$savedPos = s0;
|
|
1906
|
-
s1 = peg$
|
|
1933
|
+
s1 = peg$c73();
|
|
1907
1934
|
s0 = s1;
|
|
1908
1935
|
} else {
|
|
1909
1936
|
peg$currPos = s0;
|
|
@@ -1941,7 +1968,7 @@
|
|
|
1941
1968
|
}
|
|
1942
1969
|
if (s2 !== peg$FAILED) {
|
|
1943
1970
|
peg$savedPos = s0;
|
|
1944
|
-
s1 = peg$
|
|
1971
|
+
s1 = peg$c5(s2);
|
|
1945
1972
|
s0 = s1;
|
|
1946
1973
|
} else {
|
|
1947
1974
|
peg$currPos = s0;
|
|
@@ -1969,7 +1996,7 @@
|
|
|
1969
1996
|
s2 = peg$parseIRIREF();
|
|
1970
1997
|
if (s2 !== peg$FAILED) {
|
|
1971
1998
|
peg$savedPos = s0;
|
|
1972
|
-
s1 = peg$
|
|
1999
|
+
s1 = peg$c5(s2);
|
|
1973
2000
|
s0 = s1;
|
|
1974
2001
|
} else {
|
|
1975
2002
|
peg$currPos = s0;
|
|
@@ -1991,7 +2018,7 @@
|
|
|
1991
2018
|
s2 = peg$parsePrefixedName();
|
|
1992
2019
|
if (s2 !== peg$FAILED) {
|
|
1993
2020
|
peg$savedPos = s0;
|
|
1994
|
-
s1 = peg$
|
|
2021
|
+
s1 = peg$c5(s2);
|
|
1995
2022
|
s0 = s1;
|
|
1996
2023
|
} else {
|
|
1997
2024
|
peg$currPos = s0;
|
|
@@ -2015,7 +2042,7 @@
|
|
|
2015
2042
|
s1 = peg$parsePNAME_NS();
|
|
2016
2043
|
if (s1 !== peg$FAILED) {
|
|
2017
2044
|
peg$savedPos = s0;
|
|
2018
|
-
s1 = peg$
|
|
2045
|
+
s1 = peg$c74(s1);
|
|
2019
2046
|
}
|
|
2020
2047
|
s0 = s1;
|
|
2021
2048
|
}
|
|
@@ -2037,7 +2064,7 @@
|
|
|
2037
2064
|
s2 = peg$parseBLANK_NODE_LABEL();
|
|
2038
2065
|
if (s2 !== peg$FAILED) {
|
|
2039
2066
|
peg$savedPos = s0;
|
|
2040
|
-
s1 = peg$
|
|
2067
|
+
s1 = peg$c5(s2);
|
|
2041
2068
|
s0 = s1;
|
|
2042
2069
|
} else {
|
|
2043
2070
|
peg$currPos = s0;
|
|
@@ -2059,7 +2086,7 @@
|
|
|
2059
2086
|
s2 = peg$parseANON();
|
|
2060
2087
|
if (s2 !== peg$FAILED) {
|
|
2061
2088
|
peg$savedPos = s0;
|
|
2062
|
-
s1 = peg$
|
|
2089
|
+
s1 = peg$c5(s2);
|
|
2063
2090
|
s0 = s1;
|
|
2064
2091
|
} else {
|
|
2065
2092
|
peg$currPos = s0;
|
|
@@ -2079,32 +2106,32 @@
|
|
|
2079
2106
|
|
|
2080
2107
|
s0 = peg$currPos;
|
|
2081
2108
|
if (input.charCodeAt(peg$currPos) === 60) {
|
|
2082
|
-
s1 = peg$
|
|
2109
|
+
s1 = peg$c75;
|
|
2083
2110
|
peg$currPos++;
|
|
2084
2111
|
} else {
|
|
2085
2112
|
s1 = peg$FAILED;
|
|
2086
|
-
if (peg$silentFails === 0) { peg$fail(peg$
|
|
2113
|
+
if (peg$silentFails === 0) { peg$fail(peg$c76); }
|
|
2087
2114
|
}
|
|
2088
2115
|
if (s1 !== peg$FAILED) {
|
|
2089
2116
|
s2 = [];
|
|
2090
|
-
if (peg$
|
|
2117
|
+
if (peg$c77.test(input.charAt(peg$currPos))) {
|
|
2091
2118
|
s3 = input.charAt(peg$currPos);
|
|
2092
2119
|
peg$currPos++;
|
|
2093
2120
|
} else {
|
|
2094
2121
|
s3 = peg$FAILED;
|
|
2095
|
-
if (peg$silentFails === 0) { peg$fail(peg$
|
|
2122
|
+
if (peg$silentFails === 0) { peg$fail(peg$c78); }
|
|
2096
2123
|
}
|
|
2097
2124
|
if (s3 === peg$FAILED) {
|
|
2098
2125
|
s3 = peg$parseUCHAR();
|
|
2099
2126
|
}
|
|
2100
2127
|
while (s3 !== peg$FAILED) {
|
|
2101
2128
|
s2.push(s3);
|
|
2102
|
-
if (peg$
|
|
2129
|
+
if (peg$c77.test(input.charAt(peg$currPos))) {
|
|
2103
2130
|
s3 = input.charAt(peg$currPos);
|
|
2104
2131
|
peg$currPos++;
|
|
2105
2132
|
} else {
|
|
2106
2133
|
s3 = peg$FAILED;
|
|
2107
|
-
if (peg$silentFails === 0) { peg$fail(peg$
|
|
2134
|
+
if (peg$silentFails === 0) { peg$fail(peg$c78); }
|
|
2108
2135
|
}
|
|
2109
2136
|
if (s3 === peg$FAILED) {
|
|
2110
2137
|
s3 = peg$parseUCHAR();
|
|
@@ -2112,15 +2139,15 @@
|
|
|
2112
2139
|
}
|
|
2113
2140
|
if (s2 !== peg$FAILED) {
|
|
2114
2141
|
if (input.charCodeAt(peg$currPos) === 62) {
|
|
2115
|
-
s3 = peg$
|
|
2142
|
+
s3 = peg$c79;
|
|
2116
2143
|
peg$currPos++;
|
|
2117
2144
|
} else {
|
|
2118
2145
|
s3 = peg$FAILED;
|
|
2119
|
-
if (peg$silentFails === 0) { peg$fail(peg$
|
|
2146
|
+
if (peg$silentFails === 0) { peg$fail(peg$c80); }
|
|
2120
2147
|
}
|
|
2121
2148
|
if (s3 !== peg$FAILED) {
|
|
2122
2149
|
peg$savedPos = s0;
|
|
2123
|
-
s1 = peg$
|
|
2150
|
+
s1 = peg$c81(s2);
|
|
2124
2151
|
s0 = s1;
|
|
2125
2152
|
} else {
|
|
2126
2153
|
peg$currPos = s0;
|
|
@@ -2148,15 +2175,15 @@
|
|
|
2148
2175
|
}
|
|
2149
2176
|
if (s1 !== peg$FAILED) {
|
|
2150
2177
|
if (input.charCodeAt(peg$currPos) === 58) {
|
|
2151
|
-
s2 = peg$
|
|
2178
|
+
s2 = peg$c82;
|
|
2152
2179
|
peg$currPos++;
|
|
2153
2180
|
} else {
|
|
2154
2181
|
s2 = peg$FAILED;
|
|
2155
|
-
if (peg$silentFails === 0) { peg$fail(peg$
|
|
2182
|
+
if (peg$silentFails === 0) { peg$fail(peg$c83); }
|
|
2156
2183
|
}
|
|
2157
2184
|
if (s2 !== peg$FAILED) {
|
|
2158
2185
|
peg$savedPos = s0;
|
|
2159
|
-
s1 = peg$
|
|
2186
|
+
s1 = peg$c84(s1);
|
|
2160
2187
|
s0 = s1;
|
|
2161
2188
|
} else {
|
|
2162
2189
|
peg$currPos = s0;
|
|
@@ -2180,15 +2207,15 @@
|
|
|
2180
2207
|
}
|
|
2181
2208
|
if (s1 !== peg$FAILED) {
|
|
2182
2209
|
if (input.charCodeAt(peg$currPos) === 58) {
|
|
2183
|
-
s2 = peg$
|
|
2210
|
+
s2 = peg$c82;
|
|
2184
2211
|
peg$currPos++;
|
|
2185
2212
|
} else {
|
|
2186
2213
|
s2 = peg$FAILED;
|
|
2187
|
-
if (peg$silentFails === 0) { peg$fail(peg$
|
|
2214
|
+
if (peg$silentFails === 0) { peg$fail(peg$c83); }
|
|
2188
2215
|
}
|
|
2189
2216
|
if (s2 !== peg$FAILED) {
|
|
2190
2217
|
peg$savedPos = s0;
|
|
2191
|
-
s1 = peg$
|
|
2218
|
+
s1 = peg$c85(s1);
|
|
2192
2219
|
s0 = s1;
|
|
2193
2220
|
} else {
|
|
2194
2221
|
peg$currPos = s0;
|
|
@@ -2211,7 +2238,7 @@
|
|
|
2211
2238
|
s2 = peg$parsePN_LOCAL();
|
|
2212
2239
|
if (s2 !== peg$FAILED) {
|
|
2213
2240
|
peg$savedPos = s0;
|
|
2214
|
-
s1 = peg$
|
|
2241
|
+
s1 = peg$c86(s1, s2);
|
|
2215
2242
|
s0 = s1;
|
|
2216
2243
|
} else {
|
|
2217
2244
|
peg$currPos = s0;
|
|
@@ -2230,22 +2257,22 @@
|
|
|
2230
2257
|
|
|
2231
2258
|
s0 = peg$currPos;
|
|
2232
2259
|
s1 = peg$currPos;
|
|
2233
|
-
if (input.substr(peg$currPos, 2) === peg$
|
|
2234
|
-
s2 = peg$
|
|
2260
|
+
if (input.substr(peg$currPos, 2) === peg$c87) {
|
|
2261
|
+
s2 = peg$c87;
|
|
2235
2262
|
peg$currPos += 2;
|
|
2236
2263
|
} else {
|
|
2237
2264
|
s2 = peg$FAILED;
|
|
2238
|
-
if (peg$silentFails === 0) { peg$fail(peg$
|
|
2265
|
+
if (peg$silentFails === 0) { peg$fail(peg$c88); }
|
|
2239
2266
|
}
|
|
2240
2267
|
if (s2 !== peg$FAILED) {
|
|
2241
2268
|
s3 = peg$parsePN_CHARS_U();
|
|
2242
2269
|
if (s3 === peg$FAILED) {
|
|
2243
|
-
if (peg$
|
|
2270
|
+
if (peg$c89.test(input.charAt(peg$currPos))) {
|
|
2244
2271
|
s3 = input.charAt(peg$currPos);
|
|
2245
2272
|
peg$currPos++;
|
|
2246
2273
|
} else {
|
|
2247
2274
|
s3 = peg$FAILED;
|
|
2248
|
-
if (peg$silentFails === 0) { peg$fail(peg$
|
|
2275
|
+
if (peg$silentFails === 0) { peg$fail(peg$c90); }
|
|
2249
2276
|
}
|
|
2250
2277
|
}
|
|
2251
2278
|
if (s3 !== peg$FAILED) {
|
|
@@ -2260,21 +2287,21 @@
|
|
|
2260
2287
|
s6 = peg$currPos;
|
|
2261
2288
|
s7 = [];
|
|
2262
2289
|
if (input.charCodeAt(peg$currPos) === 46) {
|
|
2263
|
-
s8 = peg$
|
|
2290
|
+
s8 = peg$c3;
|
|
2264
2291
|
peg$currPos++;
|
|
2265
2292
|
} else {
|
|
2266
2293
|
s8 = peg$FAILED;
|
|
2267
|
-
if (peg$silentFails === 0) { peg$fail(peg$
|
|
2294
|
+
if (peg$silentFails === 0) { peg$fail(peg$c4); }
|
|
2268
2295
|
}
|
|
2269
2296
|
if (s8 !== peg$FAILED) {
|
|
2270
2297
|
while (s8 !== peg$FAILED) {
|
|
2271
2298
|
s7.push(s8);
|
|
2272
2299
|
if (input.charCodeAt(peg$currPos) === 46) {
|
|
2273
|
-
s8 = peg$
|
|
2300
|
+
s8 = peg$c3;
|
|
2274
2301
|
peg$currPos++;
|
|
2275
2302
|
} else {
|
|
2276
2303
|
s8 = peg$FAILED;
|
|
2277
|
-
if (peg$silentFails === 0) { peg$fail(peg$
|
|
2304
|
+
if (peg$silentFails === 0) { peg$fail(peg$c4); }
|
|
2278
2305
|
}
|
|
2279
2306
|
}
|
|
2280
2307
|
} else {
|
|
@@ -2307,21 +2334,21 @@
|
|
|
2307
2334
|
s6 = peg$currPos;
|
|
2308
2335
|
s7 = [];
|
|
2309
2336
|
if (input.charCodeAt(peg$currPos) === 46) {
|
|
2310
|
-
s8 = peg$
|
|
2337
|
+
s8 = peg$c3;
|
|
2311
2338
|
peg$currPos++;
|
|
2312
2339
|
} else {
|
|
2313
2340
|
s8 = peg$FAILED;
|
|
2314
|
-
if (peg$silentFails === 0) { peg$fail(peg$
|
|
2341
|
+
if (peg$silentFails === 0) { peg$fail(peg$c4); }
|
|
2315
2342
|
}
|
|
2316
2343
|
if (s8 !== peg$FAILED) {
|
|
2317
2344
|
while (s8 !== peg$FAILED) {
|
|
2318
2345
|
s7.push(s8);
|
|
2319
2346
|
if (input.charCodeAt(peg$currPos) === 46) {
|
|
2320
|
-
s8 = peg$
|
|
2347
|
+
s8 = peg$c3;
|
|
2321
2348
|
peg$currPos++;
|
|
2322
2349
|
} else {
|
|
2323
2350
|
s8 = peg$FAILED;
|
|
2324
|
-
if (peg$silentFails === 0) { peg$fail(peg$
|
|
2351
|
+
if (peg$silentFails === 0) { peg$fail(peg$c4); }
|
|
2325
2352
|
}
|
|
2326
2353
|
}
|
|
2327
2354
|
} else {
|
|
@@ -2383,30 +2410,30 @@
|
|
|
2383
2410
|
|
|
2384
2411
|
s0 = peg$currPos;
|
|
2385
2412
|
if (input.charCodeAt(peg$currPos) === 64) {
|
|
2386
|
-
s1 = peg$
|
|
2413
|
+
s1 = peg$c91;
|
|
2387
2414
|
peg$currPos++;
|
|
2388
2415
|
} else {
|
|
2389
2416
|
s1 = peg$FAILED;
|
|
2390
|
-
if (peg$silentFails === 0) { peg$fail(peg$
|
|
2417
|
+
if (peg$silentFails === 0) { peg$fail(peg$c92); }
|
|
2391
2418
|
}
|
|
2392
2419
|
if (s1 !== peg$FAILED) {
|
|
2393
2420
|
s2 = [];
|
|
2394
|
-
if (peg$
|
|
2421
|
+
if (peg$c93.test(input.charAt(peg$currPos))) {
|
|
2395
2422
|
s3 = input.charAt(peg$currPos);
|
|
2396
2423
|
peg$currPos++;
|
|
2397
2424
|
} else {
|
|
2398
2425
|
s3 = peg$FAILED;
|
|
2399
|
-
if (peg$silentFails === 0) { peg$fail(peg$
|
|
2426
|
+
if (peg$silentFails === 0) { peg$fail(peg$c94); }
|
|
2400
2427
|
}
|
|
2401
2428
|
if (s3 !== peg$FAILED) {
|
|
2402
2429
|
while (s3 !== peg$FAILED) {
|
|
2403
2430
|
s2.push(s3);
|
|
2404
|
-
if (peg$
|
|
2431
|
+
if (peg$c93.test(input.charAt(peg$currPos))) {
|
|
2405
2432
|
s3 = input.charAt(peg$currPos);
|
|
2406
2433
|
peg$currPos++;
|
|
2407
2434
|
} else {
|
|
2408
2435
|
s3 = peg$FAILED;
|
|
2409
|
-
if (peg$silentFails === 0) { peg$fail(peg$
|
|
2436
|
+
if (peg$silentFails === 0) { peg$fail(peg$c94); }
|
|
2410
2437
|
}
|
|
2411
2438
|
}
|
|
2412
2439
|
} else {
|
|
@@ -2416,30 +2443,30 @@
|
|
|
2416
2443
|
s3 = [];
|
|
2417
2444
|
s4 = peg$currPos;
|
|
2418
2445
|
if (input.charCodeAt(peg$currPos) === 45) {
|
|
2419
|
-
s5 = peg$
|
|
2446
|
+
s5 = peg$c95;
|
|
2420
2447
|
peg$currPos++;
|
|
2421
2448
|
} else {
|
|
2422
2449
|
s5 = peg$FAILED;
|
|
2423
|
-
if (peg$silentFails === 0) { peg$fail(peg$
|
|
2450
|
+
if (peg$silentFails === 0) { peg$fail(peg$c96); }
|
|
2424
2451
|
}
|
|
2425
2452
|
if (s5 !== peg$FAILED) {
|
|
2426
2453
|
s6 = [];
|
|
2427
|
-
if (peg$
|
|
2454
|
+
if (peg$c97.test(input.charAt(peg$currPos))) {
|
|
2428
2455
|
s7 = input.charAt(peg$currPos);
|
|
2429
2456
|
peg$currPos++;
|
|
2430
2457
|
} else {
|
|
2431
2458
|
s7 = peg$FAILED;
|
|
2432
|
-
if (peg$silentFails === 0) { peg$fail(peg$
|
|
2459
|
+
if (peg$silentFails === 0) { peg$fail(peg$c98); }
|
|
2433
2460
|
}
|
|
2434
2461
|
if (s7 !== peg$FAILED) {
|
|
2435
2462
|
while (s7 !== peg$FAILED) {
|
|
2436
2463
|
s6.push(s7);
|
|
2437
|
-
if (peg$
|
|
2464
|
+
if (peg$c97.test(input.charAt(peg$currPos))) {
|
|
2438
2465
|
s7 = input.charAt(peg$currPos);
|
|
2439
2466
|
peg$currPos++;
|
|
2440
2467
|
} else {
|
|
2441
2468
|
s7 = peg$FAILED;
|
|
2442
|
-
if (peg$silentFails === 0) { peg$fail(peg$
|
|
2469
|
+
if (peg$silentFails === 0) { peg$fail(peg$c98); }
|
|
2443
2470
|
}
|
|
2444
2471
|
}
|
|
2445
2472
|
} else {
|
|
@@ -2447,7 +2474,7 @@
|
|
|
2447
2474
|
}
|
|
2448
2475
|
if (s6 !== peg$FAILED) {
|
|
2449
2476
|
peg$savedPos = s4;
|
|
2450
|
-
s5 = peg$
|
|
2477
|
+
s5 = peg$c99(s2, s6);
|
|
2451
2478
|
s4 = s5;
|
|
2452
2479
|
} else {
|
|
2453
2480
|
peg$currPos = s4;
|
|
@@ -2461,30 +2488,30 @@
|
|
|
2461
2488
|
s3.push(s4);
|
|
2462
2489
|
s4 = peg$currPos;
|
|
2463
2490
|
if (input.charCodeAt(peg$currPos) === 45) {
|
|
2464
|
-
s5 = peg$
|
|
2491
|
+
s5 = peg$c95;
|
|
2465
2492
|
peg$currPos++;
|
|
2466
2493
|
} else {
|
|
2467
2494
|
s5 = peg$FAILED;
|
|
2468
|
-
if (peg$silentFails === 0) { peg$fail(peg$
|
|
2495
|
+
if (peg$silentFails === 0) { peg$fail(peg$c96); }
|
|
2469
2496
|
}
|
|
2470
2497
|
if (s5 !== peg$FAILED) {
|
|
2471
2498
|
s6 = [];
|
|
2472
|
-
if (peg$
|
|
2499
|
+
if (peg$c97.test(input.charAt(peg$currPos))) {
|
|
2473
2500
|
s7 = input.charAt(peg$currPos);
|
|
2474
2501
|
peg$currPos++;
|
|
2475
2502
|
} else {
|
|
2476
2503
|
s7 = peg$FAILED;
|
|
2477
|
-
if (peg$silentFails === 0) { peg$fail(peg$
|
|
2504
|
+
if (peg$silentFails === 0) { peg$fail(peg$c98); }
|
|
2478
2505
|
}
|
|
2479
2506
|
if (s7 !== peg$FAILED) {
|
|
2480
2507
|
while (s7 !== peg$FAILED) {
|
|
2481
2508
|
s6.push(s7);
|
|
2482
|
-
if (peg$
|
|
2509
|
+
if (peg$c97.test(input.charAt(peg$currPos))) {
|
|
2483
2510
|
s7 = input.charAt(peg$currPos);
|
|
2484
2511
|
peg$currPos++;
|
|
2485
2512
|
} else {
|
|
2486
2513
|
s7 = peg$FAILED;
|
|
2487
|
-
if (peg$silentFails === 0) { peg$fail(peg$
|
|
2514
|
+
if (peg$silentFails === 0) { peg$fail(peg$c98); }
|
|
2488
2515
|
}
|
|
2489
2516
|
}
|
|
2490
2517
|
} else {
|
|
@@ -2492,7 +2519,7 @@
|
|
|
2492
2519
|
}
|
|
2493
2520
|
if (s6 !== peg$FAILED) {
|
|
2494
2521
|
peg$savedPos = s4;
|
|
2495
|
-
s5 = peg$
|
|
2522
|
+
s5 = peg$c99(s2, s6);
|
|
2496
2523
|
s4 = s5;
|
|
2497
2524
|
} else {
|
|
2498
2525
|
peg$currPos = s4;
|
|
@@ -2505,7 +2532,7 @@
|
|
|
2505
2532
|
}
|
|
2506
2533
|
if (s3 !== peg$FAILED) {
|
|
2507
2534
|
peg$savedPos = s0;
|
|
2508
|
-
s1 = peg$
|
|
2535
|
+
s1 = peg$c100(s2, s3);
|
|
2509
2536
|
s0 = s1;
|
|
2510
2537
|
} else {
|
|
2511
2538
|
peg$currPos = s0;
|
|
@@ -2529,34 +2556,34 @@
|
|
|
2529
2556
|
s0 = peg$currPos;
|
|
2530
2557
|
s1 = peg$currPos;
|
|
2531
2558
|
s2 = peg$currPos;
|
|
2532
|
-
if (peg$
|
|
2559
|
+
if (peg$c101.test(input.charAt(peg$currPos))) {
|
|
2533
2560
|
s3 = input.charAt(peg$currPos);
|
|
2534
2561
|
peg$currPos++;
|
|
2535
2562
|
} else {
|
|
2536
2563
|
s3 = peg$FAILED;
|
|
2537
|
-
if (peg$silentFails === 0) { peg$fail(peg$
|
|
2564
|
+
if (peg$silentFails === 0) { peg$fail(peg$c102); }
|
|
2538
2565
|
}
|
|
2539
2566
|
if (s3 === peg$FAILED) {
|
|
2540
2567
|
s3 = null;
|
|
2541
2568
|
}
|
|
2542
2569
|
if (s3 !== peg$FAILED) {
|
|
2543
2570
|
s4 = [];
|
|
2544
|
-
if (peg$
|
|
2571
|
+
if (peg$c89.test(input.charAt(peg$currPos))) {
|
|
2545
2572
|
s5 = input.charAt(peg$currPos);
|
|
2546
2573
|
peg$currPos++;
|
|
2547
2574
|
} else {
|
|
2548
2575
|
s5 = peg$FAILED;
|
|
2549
|
-
if (peg$silentFails === 0) { peg$fail(peg$
|
|
2576
|
+
if (peg$silentFails === 0) { peg$fail(peg$c90); }
|
|
2550
2577
|
}
|
|
2551
2578
|
if (s5 !== peg$FAILED) {
|
|
2552
2579
|
while (s5 !== peg$FAILED) {
|
|
2553
2580
|
s4.push(s5);
|
|
2554
|
-
if (peg$
|
|
2581
|
+
if (peg$c89.test(input.charAt(peg$currPos))) {
|
|
2555
2582
|
s5 = input.charAt(peg$currPos);
|
|
2556
2583
|
peg$currPos++;
|
|
2557
2584
|
} else {
|
|
2558
2585
|
s5 = peg$FAILED;
|
|
2559
|
-
if (peg$silentFails === 0) { peg$fail(peg$
|
|
2586
|
+
if (peg$silentFails === 0) { peg$fail(peg$c90); }
|
|
2560
2587
|
}
|
|
2561
2588
|
}
|
|
2562
2589
|
} else {
|
|
@@ -2580,7 +2607,7 @@
|
|
|
2580
2607
|
}
|
|
2581
2608
|
if (s1 !== peg$FAILED) {
|
|
2582
2609
|
peg$savedPos = s0;
|
|
2583
|
-
s1 = peg$
|
|
2610
|
+
s1 = peg$c103(s1);
|
|
2584
2611
|
}
|
|
2585
2612
|
s0 = s1;
|
|
2586
2613
|
|
|
@@ -2593,61 +2620,61 @@
|
|
|
2593
2620
|
s0 = peg$currPos;
|
|
2594
2621
|
s1 = peg$currPos;
|
|
2595
2622
|
s2 = peg$currPos;
|
|
2596
|
-
if (peg$
|
|
2623
|
+
if (peg$c101.test(input.charAt(peg$currPos))) {
|
|
2597
2624
|
s3 = input.charAt(peg$currPos);
|
|
2598
2625
|
peg$currPos++;
|
|
2599
2626
|
} else {
|
|
2600
2627
|
s3 = peg$FAILED;
|
|
2601
|
-
if (peg$silentFails === 0) { peg$fail(peg$
|
|
2628
|
+
if (peg$silentFails === 0) { peg$fail(peg$c102); }
|
|
2602
2629
|
}
|
|
2603
2630
|
if (s3 === peg$FAILED) {
|
|
2604
2631
|
s3 = null;
|
|
2605
2632
|
}
|
|
2606
2633
|
if (s3 !== peg$FAILED) {
|
|
2607
2634
|
s4 = [];
|
|
2608
|
-
if (peg$
|
|
2635
|
+
if (peg$c89.test(input.charAt(peg$currPos))) {
|
|
2609
2636
|
s5 = input.charAt(peg$currPos);
|
|
2610
2637
|
peg$currPos++;
|
|
2611
2638
|
} else {
|
|
2612
2639
|
s5 = peg$FAILED;
|
|
2613
|
-
if (peg$silentFails === 0) { peg$fail(peg$
|
|
2640
|
+
if (peg$silentFails === 0) { peg$fail(peg$c90); }
|
|
2614
2641
|
}
|
|
2615
2642
|
while (s5 !== peg$FAILED) {
|
|
2616
2643
|
s4.push(s5);
|
|
2617
|
-
if (peg$
|
|
2644
|
+
if (peg$c89.test(input.charAt(peg$currPos))) {
|
|
2618
2645
|
s5 = input.charAt(peg$currPos);
|
|
2619
2646
|
peg$currPos++;
|
|
2620
2647
|
} else {
|
|
2621
2648
|
s5 = peg$FAILED;
|
|
2622
|
-
if (peg$silentFails === 0) { peg$fail(peg$
|
|
2649
|
+
if (peg$silentFails === 0) { peg$fail(peg$c90); }
|
|
2623
2650
|
}
|
|
2624
2651
|
}
|
|
2625
2652
|
if (s4 !== peg$FAILED) {
|
|
2626
2653
|
if (input.charCodeAt(peg$currPos) === 46) {
|
|
2627
|
-
s5 = peg$
|
|
2654
|
+
s5 = peg$c3;
|
|
2628
2655
|
peg$currPos++;
|
|
2629
2656
|
} else {
|
|
2630
2657
|
s5 = peg$FAILED;
|
|
2631
|
-
if (peg$silentFails === 0) { peg$fail(peg$
|
|
2658
|
+
if (peg$silentFails === 0) { peg$fail(peg$c4); }
|
|
2632
2659
|
}
|
|
2633
2660
|
if (s5 !== peg$FAILED) {
|
|
2634
2661
|
s6 = [];
|
|
2635
|
-
if (peg$
|
|
2662
|
+
if (peg$c89.test(input.charAt(peg$currPos))) {
|
|
2636
2663
|
s7 = input.charAt(peg$currPos);
|
|
2637
2664
|
peg$currPos++;
|
|
2638
2665
|
} else {
|
|
2639
2666
|
s7 = peg$FAILED;
|
|
2640
|
-
if (peg$silentFails === 0) { peg$fail(peg$
|
|
2667
|
+
if (peg$silentFails === 0) { peg$fail(peg$c90); }
|
|
2641
2668
|
}
|
|
2642
2669
|
if (s7 !== peg$FAILED) {
|
|
2643
2670
|
while (s7 !== peg$FAILED) {
|
|
2644
2671
|
s6.push(s7);
|
|
2645
|
-
if (peg$
|
|
2672
|
+
if (peg$c89.test(input.charAt(peg$currPos))) {
|
|
2646
2673
|
s7 = input.charAt(peg$currPos);
|
|
2647
2674
|
peg$currPos++;
|
|
2648
2675
|
} else {
|
|
2649
2676
|
s7 = peg$FAILED;
|
|
2650
|
-
if (peg$silentFails === 0) { peg$fail(peg$
|
|
2677
|
+
if (peg$silentFails === 0) { peg$fail(peg$c90); }
|
|
2651
2678
|
}
|
|
2652
2679
|
}
|
|
2653
2680
|
} else {
|
|
@@ -2679,7 +2706,7 @@
|
|
|
2679
2706
|
}
|
|
2680
2707
|
if (s1 !== peg$FAILED) {
|
|
2681
2708
|
peg$savedPos = s0;
|
|
2682
|
-
s1 = peg$
|
|
2709
|
+
s1 = peg$c104(s1);
|
|
2683
2710
|
}
|
|
2684
2711
|
s0 = s1;
|
|
2685
2712
|
|
|
@@ -2692,12 +2719,12 @@
|
|
|
2692
2719
|
s0 = peg$currPos;
|
|
2693
2720
|
s1 = peg$currPos;
|
|
2694
2721
|
s2 = peg$currPos;
|
|
2695
|
-
if (peg$
|
|
2722
|
+
if (peg$c101.test(input.charAt(peg$currPos))) {
|
|
2696
2723
|
s3 = input.charAt(peg$currPos);
|
|
2697
2724
|
peg$currPos++;
|
|
2698
2725
|
} else {
|
|
2699
2726
|
s3 = peg$FAILED;
|
|
2700
|
-
if (peg$silentFails === 0) { peg$fail(peg$
|
|
2727
|
+
if (peg$silentFails === 0) { peg$fail(peg$c102); }
|
|
2701
2728
|
}
|
|
2702
2729
|
if (s3 === peg$FAILED) {
|
|
2703
2730
|
s3 = null;
|
|
@@ -2705,22 +2732,22 @@
|
|
|
2705
2732
|
if (s3 !== peg$FAILED) {
|
|
2706
2733
|
s4 = peg$currPos;
|
|
2707
2734
|
s5 = [];
|
|
2708
|
-
if (peg$
|
|
2735
|
+
if (peg$c89.test(input.charAt(peg$currPos))) {
|
|
2709
2736
|
s6 = input.charAt(peg$currPos);
|
|
2710
2737
|
peg$currPos++;
|
|
2711
2738
|
} else {
|
|
2712
2739
|
s6 = peg$FAILED;
|
|
2713
|
-
if (peg$silentFails === 0) { peg$fail(peg$
|
|
2740
|
+
if (peg$silentFails === 0) { peg$fail(peg$c90); }
|
|
2714
2741
|
}
|
|
2715
2742
|
if (s6 !== peg$FAILED) {
|
|
2716
2743
|
while (s6 !== peg$FAILED) {
|
|
2717
2744
|
s5.push(s6);
|
|
2718
|
-
if (peg$
|
|
2745
|
+
if (peg$c89.test(input.charAt(peg$currPos))) {
|
|
2719
2746
|
s6 = input.charAt(peg$currPos);
|
|
2720
2747
|
peg$currPos++;
|
|
2721
2748
|
} else {
|
|
2722
2749
|
s6 = peg$FAILED;
|
|
2723
|
-
if (peg$silentFails === 0) { peg$fail(peg$
|
|
2750
|
+
if (peg$silentFails === 0) { peg$fail(peg$c90); }
|
|
2724
2751
|
}
|
|
2725
2752
|
}
|
|
2726
2753
|
} else {
|
|
@@ -2728,29 +2755,29 @@
|
|
|
2728
2755
|
}
|
|
2729
2756
|
if (s5 !== peg$FAILED) {
|
|
2730
2757
|
if (input.charCodeAt(peg$currPos) === 46) {
|
|
2731
|
-
s6 = peg$
|
|
2758
|
+
s6 = peg$c3;
|
|
2732
2759
|
peg$currPos++;
|
|
2733
2760
|
} else {
|
|
2734
2761
|
s6 = peg$FAILED;
|
|
2735
|
-
if (peg$silentFails === 0) { peg$fail(peg$
|
|
2762
|
+
if (peg$silentFails === 0) { peg$fail(peg$c4); }
|
|
2736
2763
|
}
|
|
2737
2764
|
if (s6 !== peg$FAILED) {
|
|
2738
2765
|
s7 = [];
|
|
2739
|
-
if (peg$
|
|
2766
|
+
if (peg$c89.test(input.charAt(peg$currPos))) {
|
|
2740
2767
|
s8 = input.charAt(peg$currPos);
|
|
2741
2768
|
peg$currPos++;
|
|
2742
2769
|
} else {
|
|
2743
2770
|
s8 = peg$FAILED;
|
|
2744
|
-
if (peg$silentFails === 0) { peg$fail(peg$
|
|
2771
|
+
if (peg$silentFails === 0) { peg$fail(peg$c90); }
|
|
2745
2772
|
}
|
|
2746
2773
|
while (s8 !== peg$FAILED) {
|
|
2747
2774
|
s7.push(s8);
|
|
2748
|
-
if (peg$
|
|
2775
|
+
if (peg$c89.test(input.charAt(peg$currPos))) {
|
|
2749
2776
|
s8 = input.charAt(peg$currPos);
|
|
2750
2777
|
peg$currPos++;
|
|
2751
2778
|
} else {
|
|
2752
2779
|
s8 = peg$FAILED;
|
|
2753
|
-
if (peg$silentFails === 0) { peg$fail(peg$
|
|
2780
|
+
if (peg$silentFails === 0) { peg$fail(peg$c90); }
|
|
2754
2781
|
}
|
|
2755
2782
|
}
|
|
2756
2783
|
if (s7 !== peg$FAILED) {
|
|
@@ -2777,30 +2804,30 @@
|
|
|
2777
2804
|
if (s4 === peg$FAILED) {
|
|
2778
2805
|
s4 = peg$currPos;
|
|
2779
2806
|
if (input.charCodeAt(peg$currPos) === 46) {
|
|
2780
|
-
s5 = peg$
|
|
2807
|
+
s5 = peg$c3;
|
|
2781
2808
|
peg$currPos++;
|
|
2782
2809
|
} else {
|
|
2783
2810
|
s5 = peg$FAILED;
|
|
2784
|
-
if (peg$silentFails === 0) { peg$fail(peg$
|
|
2811
|
+
if (peg$silentFails === 0) { peg$fail(peg$c4); }
|
|
2785
2812
|
}
|
|
2786
2813
|
if (s5 !== peg$FAILED) {
|
|
2787
2814
|
s6 = [];
|
|
2788
|
-
if (peg$
|
|
2815
|
+
if (peg$c89.test(input.charAt(peg$currPos))) {
|
|
2789
2816
|
s7 = input.charAt(peg$currPos);
|
|
2790
2817
|
peg$currPos++;
|
|
2791
2818
|
} else {
|
|
2792
2819
|
s7 = peg$FAILED;
|
|
2793
|
-
if (peg$silentFails === 0) { peg$fail(peg$
|
|
2820
|
+
if (peg$silentFails === 0) { peg$fail(peg$c90); }
|
|
2794
2821
|
}
|
|
2795
2822
|
if (s7 !== peg$FAILED) {
|
|
2796
2823
|
while (s7 !== peg$FAILED) {
|
|
2797
2824
|
s6.push(s7);
|
|
2798
|
-
if (peg$
|
|
2825
|
+
if (peg$c89.test(input.charAt(peg$currPos))) {
|
|
2799
2826
|
s7 = input.charAt(peg$currPos);
|
|
2800
2827
|
peg$currPos++;
|
|
2801
2828
|
} else {
|
|
2802
2829
|
s7 = peg$FAILED;
|
|
2803
|
-
if (peg$silentFails === 0) { peg$fail(peg$
|
|
2830
|
+
if (peg$silentFails === 0) { peg$fail(peg$c90); }
|
|
2804
2831
|
}
|
|
2805
2832
|
}
|
|
2806
2833
|
} else {
|
|
@@ -2826,22 +2853,22 @@
|
|
|
2826
2853
|
if (s4 === peg$FAILED) {
|
|
2827
2854
|
s4 = peg$currPos;
|
|
2828
2855
|
s5 = [];
|
|
2829
|
-
if (peg$
|
|
2856
|
+
if (peg$c89.test(input.charAt(peg$currPos))) {
|
|
2830
2857
|
s6 = input.charAt(peg$currPos);
|
|
2831
2858
|
peg$currPos++;
|
|
2832
2859
|
} else {
|
|
2833
2860
|
s6 = peg$FAILED;
|
|
2834
|
-
if (peg$silentFails === 0) { peg$fail(peg$
|
|
2861
|
+
if (peg$silentFails === 0) { peg$fail(peg$c90); }
|
|
2835
2862
|
}
|
|
2836
2863
|
if (s6 !== peg$FAILED) {
|
|
2837
2864
|
while (s6 !== peg$FAILED) {
|
|
2838
2865
|
s5.push(s6);
|
|
2839
|
-
if (peg$
|
|
2866
|
+
if (peg$c89.test(input.charAt(peg$currPos))) {
|
|
2840
2867
|
s6 = input.charAt(peg$currPos);
|
|
2841
2868
|
peg$currPos++;
|
|
2842
2869
|
} else {
|
|
2843
2870
|
s6 = peg$FAILED;
|
|
2844
|
-
if (peg$silentFails === 0) { peg$fail(peg$
|
|
2871
|
+
if (peg$silentFails === 0) { peg$fail(peg$c90); }
|
|
2845
2872
|
}
|
|
2846
2873
|
}
|
|
2847
2874
|
} else {
|
|
@@ -2880,7 +2907,7 @@
|
|
|
2880
2907
|
}
|
|
2881
2908
|
if (s1 !== peg$FAILED) {
|
|
2882
2909
|
peg$savedPos = s0;
|
|
2883
|
-
s1 = peg$
|
|
2910
|
+
s1 = peg$c105(s1);
|
|
2884
2911
|
}
|
|
2885
2912
|
s0 = s1;
|
|
2886
2913
|
|
|
@@ -2892,42 +2919,42 @@
|
|
|
2892
2919
|
|
|
2893
2920
|
s0 = peg$currPos;
|
|
2894
2921
|
s1 = peg$currPos;
|
|
2895
|
-
if (peg$
|
|
2922
|
+
if (peg$c106.test(input.charAt(peg$currPos))) {
|
|
2896
2923
|
s2 = input.charAt(peg$currPos);
|
|
2897
2924
|
peg$currPos++;
|
|
2898
2925
|
} else {
|
|
2899
2926
|
s2 = peg$FAILED;
|
|
2900
|
-
if (peg$silentFails === 0) { peg$fail(peg$
|
|
2927
|
+
if (peg$silentFails === 0) { peg$fail(peg$c107); }
|
|
2901
2928
|
}
|
|
2902
2929
|
if (s2 !== peg$FAILED) {
|
|
2903
|
-
if (peg$
|
|
2930
|
+
if (peg$c101.test(input.charAt(peg$currPos))) {
|
|
2904
2931
|
s3 = input.charAt(peg$currPos);
|
|
2905
2932
|
peg$currPos++;
|
|
2906
2933
|
} else {
|
|
2907
2934
|
s3 = peg$FAILED;
|
|
2908
|
-
if (peg$silentFails === 0) { peg$fail(peg$
|
|
2935
|
+
if (peg$silentFails === 0) { peg$fail(peg$c102); }
|
|
2909
2936
|
}
|
|
2910
2937
|
if (s3 === peg$FAILED) {
|
|
2911
2938
|
s3 = null;
|
|
2912
2939
|
}
|
|
2913
2940
|
if (s3 !== peg$FAILED) {
|
|
2914
2941
|
s4 = [];
|
|
2915
|
-
if (peg$
|
|
2942
|
+
if (peg$c89.test(input.charAt(peg$currPos))) {
|
|
2916
2943
|
s5 = input.charAt(peg$currPos);
|
|
2917
2944
|
peg$currPos++;
|
|
2918
2945
|
} else {
|
|
2919
2946
|
s5 = peg$FAILED;
|
|
2920
|
-
if (peg$silentFails === 0) { peg$fail(peg$
|
|
2947
|
+
if (peg$silentFails === 0) { peg$fail(peg$c90); }
|
|
2921
2948
|
}
|
|
2922
2949
|
if (s5 !== peg$FAILED) {
|
|
2923
2950
|
while (s5 !== peg$FAILED) {
|
|
2924
2951
|
s4.push(s5);
|
|
2925
|
-
if (peg$
|
|
2952
|
+
if (peg$c89.test(input.charAt(peg$currPos))) {
|
|
2926
2953
|
s5 = input.charAt(peg$currPos);
|
|
2927
2954
|
peg$currPos++;
|
|
2928
2955
|
} else {
|
|
2929
2956
|
s5 = peg$FAILED;
|
|
2930
|
-
if (peg$silentFails === 0) { peg$fail(peg$
|
|
2957
|
+
if (peg$silentFails === 0) { peg$fail(peg$c90); }
|
|
2931
2958
|
}
|
|
2932
2959
|
}
|
|
2933
2960
|
} else {
|
|
@@ -2962,20 +2989,20 @@
|
|
|
2962
2989
|
|
|
2963
2990
|
s0 = peg$currPos;
|
|
2964
2991
|
if (input.charCodeAt(peg$currPos) === 34) {
|
|
2965
|
-
s1 = peg$
|
|
2992
|
+
s1 = peg$c108;
|
|
2966
2993
|
peg$currPos++;
|
|
2967
2994
|
} else {
|
|
2968
2995
|
s1 = peg$FAILED;
|
|
2969
|
-
if (peg$silentFails === 0) { peg$fail(peg$
|
|
2996
|
+
if (peg$silentFails === 0) { peg$fail(peg$c109); }
|
|
2970
2997
|
}
|
|
2971
2998
|
if (s1 !== peg$FAILED) {
|
|
2972
2999
|
s2 = [];
|
|
2973
|
-
if (peg$
|
|
3000
|
+
if (peg$c110.test(input.charAt(peg$currPos))) {
|
|
2974
3001
|
s3 = input.charAt(peg$currPos);
|
|
2975
3002
|
peg$currPos++;
|
|
2976
3003
|
} else {
|
|
2977
3004
|
s3 = peg$FAILED;
|
|
2978
|
-
if (peg$silentFails === 0) { peg$fail(peg$
|
|
3005
|
+
if (peg$silentFails === 0) { peg$fail(peg$c111); }
|
|
2979
3006
|
}
|
|
2980
3007
|
if (s3 === peg$FAILED) {
|
|
2981
3008
|
s3 = peg$parseECHAR();
|
|
@@ -2985,12 +3012,12 @@
|
|
|
2985
3012
|
}
|
|
2986
3013
|
while (s3 !== peg$FAILED) {
|
|
2987
3014
|
s2.push(s3);
|
|
2988
|
-
if (peg$
|
|
3015
|
+
if (peg$c110.test(input.charAt(peg$currPos))) {
|
|
2989
3016
|
s3 = input.charAt(peg$currPos);
|
|
2990
3017
|
peg$currPos++;
|
|
2991
3018
|
} else {
|
|
2992
3019
|
s3 = peg$FAILED;
|
|
2993
|
-
if (peg$silentFails === 0) { peg$fail(peg$
|
|
3020
|
+
if (peg$silentFails === 0) { peg$fail(peg$c111); }
|
|
2994
3021
|
}
|
|
2995
3022
|
if (s3 === peg$FAILED) {
|
|
2996
3023
|
s3 = peg$parseECHAR();
|
|
@@ -3001,15 +3028,15 @@
|
|
|
3001
3028
|
}
|
|
3002
3029
|
if (s2 !== peg$FAILED) {
|
|
3003
3030
|
if (input.charCodeAt(peg$currPos) === 34) {
|
|
3004
|
-
s3 = peg$
|
|
3031
|
+
s3 = peg$c108;
|
|
3005
3032
|
peg$currPos++;
|
|
3006
3033
|
} else {
|
|
3007
3034
|
s3 = peg$FAILED;
|
|
3008
|
-
if (peg$silentFails === 0) { peg$fail(peg$
|
|
3035
|
+
if (peg$silentFails === 0) { peg$fail(peg$c109); }
|
|
3009
3036
|
}
|
|
3010
3037
|
if (s3 !== peg$FAILED) {
|
|
3011
3038
|
peg$savedPos = s0;
|
|
3012
|
-
s1 = peg$
|
|
3039
|
+
s1 = peg$c12(s2);
|
|
3013
3040
|
s0 = s1;
|
|
3014
3041
|
} else {
|
|
3015
3042
|
peg$currPos = s0;
|
|
@@ -3032,20 +3059,20 @@
|
|
|
3032
3059
|
|
|
3033
3060
|
s0 = peg$currPos;
|
|
3034
3061
|
if (input.charCodeAt(peg$currPos) === 39) {
|
|
3035
|
-
s1 = peg$
|
|
3062
|
+
s1 = peg$c112;
|
|
3036
3063
|
peg$currPos++;
|
|
3037
3064
|
} else {
|
|
3038
3065
|
s1 = peg$FAILED;
|
|
3039
|
-
if (peg$silentFails === 0) { peg$fail(peg$
|
|
3066
|
+
if (peg$silentFails === 0) { peg$fail(peg$c113); }
|
|
3040
3067
|
}
|
|
3041
3068
|
if (s1 !== peg$FAILED) {
|
|
3042
3069
|
s2 = [];
|
|
3043
|
-
if (peg$
|
|
3070
|
+
if (peg$c114.test(input.charAt(peg$currPos))) {
|
|
3044
3071
|
s3 = input.charAt(peg$currPos);
|
|
3045
3072
|
peg$currPos++;
|
|
3046
3073
|
} else {
|
|
3047
3074
|
s3 = peg$FAILED;
|
|
3048
|
-
if (peg$silentFails === 0) { peg$fail(peg$
|
|
3075
|
+
if (peg$silentFails === 0) { peg$fail(peg$c115); }
|
|
3049
3076
|
}
|
|
3050
3077
|
if (s3 === peg$FAILED) {
|
|
3051
3078
|
s3 = peg$parseECHAR();
|
|
@@ -3055,12 +3082,12 @@
|
|
|
3055
3082
|
}
|
|
3056
3083
|
while (s3 !== peg$FAILED) {
|
|
3057
3084
|
s2.push(s3);
|
|
3058
|
-
if (peg$
|
|
3085
|
+
if (peg$c114.test(input.charAt(peg$currPos))) {
|
|
3059
3086
|
s3 = input.charAt(peg$currPos);
|
|
3060
3087
|
peg$currPos++;
|
|
3061
3088
|
} else {
|
|
3062
3089
|
s3 = peg$FAILED;
|
|
3063
|
-
if (peg$silentFails === 0) { peg$fail(peg$
|
|
3090
|
+
if (peg$silentFails === 0) { peg$fail(peg$c115); }
|
|
3064
3091
|
}
|
|
3065
3092
|
if (s3 === peg$FAILED) {
|
|
3066
3093
|
s3 = peg$parseECHAR();
|
|
@@ -3071,15 +3098,15 @@
|
|
|
3071
3098
|
}
|
|
3072
3099
|
if (s2 !== peg$FAILED) {
|
|
3073
3100
|
if (input.charCodeAt(peg$currPos) === 39) {
|
|
3074
|
-
s3 = peg$
|
|
3101
|
+
s3 = peg$c112;
|
|
3075
3102
|
peg$currPos++;
|
|
3076
3103
|
} else {
|
|
3077
3104
|
s3 = peg$FAILED;
|
|
3078
|
-
if (peg$silentFails === 0) { peg$fail(peg$
|
|
3105
|
+
if (peg$silentFails === 0) { peg$fail(peg$c113); }
|
|
3079
3106
|
}
|
|
3080
3107
|
if (s3 !== peg$FAILED) {
|
|
3081
3108
|
peg$savedPos = s0;
|
|
3082
|
-
s1 = peg$
|
|
3109
|
+
s1 = peg$c12(s2);
|
|
3083
3110
|
s0 = s1;
|
|
3084
3111
|
} else {
|
|
3085
3112
|
peg$currPos = s0;
|
|
@@ -3101,21 +3128,21 @@
|
|
|
3101
3128
|
var s0, s1, s2, s3, s4, s5, s6, s7;
|
|
3102
3129
|
|
|
3103
3130
|
s0 = peg$currPos;
|
|
3104
|
-
if (input.substr(peg$currPos, 3) === peg$
|
|
3105
|
-
s1 = peg$
|
|
3131
|
+
if (input.substr(peg$currPos, 3) === peg$c116) {
|
|
3132
|
+
s1 = peg$c116;
|
|
3106
3133
|
peg$currPos += 3;
|
|
3107
3134
|
} else {
|
|
3108
3135
|
s1 = peg$FAILED;
|
|
3109
|
-
if (peg$silentFails === 0) { peg$fail(peg$
|
|
3136
|
+
if (peg$silentFails === 0) { peg$fail(peg$c117); }
|
|
3110
3137
|
}
|
|
3111
3138
|
if (s1 !== peg$FAILED) {
|
|
3112
3139
|
s2 = [];
|
|
3113
|
-
if (peg$
|
|
3140
|
+
if (peg$c118.test(input.charAt(peg$currPos))) {
|
|
3114
3141
|
s3 = input.charAt(peg$currPos);
|
|
3115
3142
|
peg$currPos++;
|
|
3116
3143
|
} else {
|
|
3117
3144
|
s3 = peg$FAILED;
|
|
3118
|
-
if (peg$silentFails === 0) { peg$fail(peg$
|
|
3145
|
+
if (peg$silentFails === 0) { peg$fail(peg$c119); }
|
|
3119
3146
|
}
|
|
3120
3147
|
if (s3 === peg$FAILED) {
|
|
3121
3148
|
s3 = peg$parseECHAR();
|
|
@@ -3125,12 +3152,12 @@
|
|
|
3125
3152
|
}
|
|
3126
3153
|
while (s3 !== peg$FAILED) {
|
|
3127
3154
|
s2.push(s3);
|
|
3128
|
-
if (peg$
|
|
3155
|
+
if (peg$c118.test(input.charAt(peg$currPos))) {
|
|
3129
3156
|
s3 = input.charAt(peg$currPos);
|
|
3130
3157
|
peg$currPos++;
|
|
3131
3158
|
} else {
|
|
3132
3159
|
s3 = peg$FAILED;
|
|
3133
|
-
if (peg$silentFails === 0) { peg$fail(peg$
|
|
3160
|
+
if (peg$silentFails === 0) { peg$fail(peg$c119); }
|
|
3134
3161
|
}
|
|
3135
3162
|
if (s3 === peg$FAILED) {
|
|
3136
3163
|
s3 = peg$parseECHAR();
|
|
@@ -3142,21 +3169,21 @@
|
|
|
3142
3169
|
if (s2 !== peg$FAILED) {
|
|
3143
3170
|
s3 = [];
|
|
3144
3171
|
s4 = peg$currPos;
|
|
3145
|
-
if (input.substr(peg$currPos, 2) === peg$
|
|
3146
|
-
s5 = peg$
|
|
3172
|
+
if (input.substr(peg$currPos, 2) === peg$c120) {
|
|
3173
|
+
s5 = peg$c120;
|
|
3147
3174
|
peg$currPos += 2;
|
|
3148
3175
|
} else {
|
|
3149
3176
|
s5 = peg$FAILED;
|
|
3150
|
-
if (peg$silentFails === 0) { peg$fail(peg$
|
|
3177
|
+
if (peg$silentFails === 0) { peg$fail(peg$c121); }
|
|
3151
3178
|
}
|
|
3152
3179
|
if (s5 !== peg$FAILED) {
|
|
3153
3180
|
s6 = [];
|
|
3154
|
-
if (peg$
|
|
3181
|
+
if (peg$c118.test(input.charAt(peg$currPos))) {
|
|
3155
3182
|
s7 = input.charAt(peg$currPos);
|
|
3156
3183
|
peg$currPos++;
|
|
3157
3184
|
} else {
|
|
3158
3185
|
s7 = peg$FAILED;
|
|
3159
|
-
if (peg$silentFails === 0) { peg$fail(peg$
|
|
3186
|
+
if (peg$silentFails === 0) { peg$fail(peg$c119); }
|
|
3160
3187
|
}
|
|
3161
3188
|
if (s7 === peg$FAILED) {
|
|
3162
3189
|
s7 = peg$parseECHAR();
|
|
@@ -3167,12 +3194,12 @@
|
|
|
3167
3194
|
if (s7 !== peg$FAILED) {
|
|
3168
3195
|
while (s7 !== peg$FAILED) {
|
|
3169
3196
|
s6.push(s7);
|
|
3170
|
-
if (peg$
|
|
3197
|
+
if (peg$c118.test(input.charAt(peg$currPos))) {
|
|
3171
3198
|
s7 = input.charAt(peg$currPos);
|
|
3172
3199
|
peg$currPos++;
|
|
3173
3200
|
} else {
|
|
3174
3201
|
s7 = peg$FAILED;
|
|
3175
|
-
if (peg$silentFails === 0) { peg$fail(peg$
|
|
3202
|
+
if (peg$silentFails === 0) { peg$fail(peg$c119); }
|
|
3176
3203
|
}
|
|
3177
3204
|
if (s7 === peg$FAILED) {
|
|
3178
3205
|
s7 = peg$parseECHAR();
|
|
@@ -3186,7 +3213,7 @@
|
|
|
3186
3213
|
}
|
|
3187
3214
|
if (s6 !== peg$FAILED) {
|
|
3188
3215
|
peg$savedPos = s4;
|
|
3189
|
-
s5 = peg$
|
|
3216
|
+
s5 = peg$c122(s2, s6);
|
|
3190
3217
|
s4 = s5;
|
|
3191
3218
|
} else {
|
|
3192
3219
|
peg$currPos = s4;
|
|
@@ -3199,20 +3226,20 @@
|
|
|
3199
3226
|
if (s4 === peg$FAILED) {
|
|
3200
3227
|
s4 = peg$currPos;
|
|
3201
3228
|
if (input.charCodeAt(peg$currPos) === 39) {
|
|
3202
|
-
s5 = peg$
|
|
3229
|
+
s5 = peg$c112;
|
|
3203
3230
|
peg$currPos++;
|
|
3204
3231
|
} else {
|
|
3205
3232
|
s5 = peg$FAILED;
|
|
3206
|
-
if (peg$silentFails === 0) { peg$fail(peg$
|
|
3233
|
+
if (peg$silentFails === 0) { peg$fail(peg$c113); }
|
|
3207
3234
|
}
|
|
3208
3235
|
if (s5 !== peg$FAILED) {
|
|
3209
3236
|
s6 = [];
|
|
3210
|
-
if (peg$
|
|
3237
|
+
if (peg$c118.test(input.charAt(peg$currPos))) {
|
|
3211
3238
|
s7 = input.charAt(peg$currPos);
|
|
3212
3239
|
peg$currPos++;
|
|
3213
3240
|
} else {
|
|
3214
3241
|
s7 = peg$FAILED;
|
|
3215
|
-
if (peg$silentFails === 0) { peg$fail(peg$
|
|
3242
|
+
if (peg$silentFails === 0) { peg$fail(peg$c119); }
|
|
3216
3243
|
}
|
|
3217
3244
|
if (s7 === peg$FAILED) {
|
|
3218
3245
|
s7 = peg$parseECHAR();
|
|
@@ -3223,12 +3250,12 @@
|
|
|
3223
3250
|
if (s7 !== peg$FAILED) {
|
|
3224
3251
|
while (s7 !== peg$FAILED) {
|
|
3225
3252
|
s6.push(s7);
|
|
3226
|
-
if (peg$
|
|
3253
|
+
if (peg$c118.test(input.charAt(peg$currPos))) {
|
|
3227
3254
|
s7 = input.charAt(peg$currPos);
|
|
3228
3255
|
peg$currPos++;
|
|
3229
3256
|
} else {
|
|
3230
3257
|
s7 = peg$FAILED;
|
|
3231
|
-
if (peg$silentFails === 0) { peg$fail(peg$
|
|
3258
|
+
if (peg$silentFails === 0) { peg$fail(peg$c119); }
|
|
3232
3259
|
}
|
|
3233
3260
|
if (s7 === peg$FAILED) {
|
|
3234
3261
|
s7 = peg$parseECHAR();
|
|
@@ -3242,7 +3269,7 @@
|
|
|
3242
3269
|
}
|
|
3243
3270
|
if (s6 !== peg$FAILED) {
|
|
3244
3271
|
peg$savedPos = s4;
|
|
3245
|
-
s5 = peg$
|
|
3272
|
+
s5 = peg$c123(s2, s6);
|
|
3246
3273
|
s4 = s5;
|
|
3247
3274
|
} else {
|
|
3248
3275
|
peg$currPos = s4;
|
|
@@ -3256,21 +3283,21 @@
|
|
|
3256
3283
|
while (s4 !== peg$FAILED) {
|
|
3257
3284
|
s3.push(s4);
|
|
3258
3285
|
s4 = peg$currPos;
|
|
3259
|
-
if (input.substr(peg$currPos, 2) === peg$
|
|
3260
|
-
s5 = peg$
|
|
3286
|
+
if (input.substr(peg$currPos, 2) === peg$c120) {
|
|
3287
|
+
s5 = peg$c120;
|
|
3261
3288
|
peg$currPos += 2;
|
|
3262
3289
|
} else {
|
|
3263
3290
|
s5 = peg$FAILED;
|
|
3264
|
-
if (peg$silentFails === 0) { peg$fail(peg$
|
|
3291
|
+
if (peg$silentFails === 0) { peg$fail(peg$c121); }
|
|
3265
3292
|
}
|
|
3266
3293
|
if (s5 !== peg$FAILED) {
|
|
3267
3294
|
s6 = [];
|
|
3268
|
-
if (peg$
|
|
3295
|
+
if (peg$c118.test(input.charAt(peg$currPos))) {
|
|
3269
3296
|
s7 = input.charAt(peg$currPos);
|
|
3270
3297
|
peg$currPos++;
|
|
3271
3298
|
} else {
|
|
3272
3299
|
s7 = peg$FAILED;
|
|
3273
|
-
if (peg$silentFails === 0) { peg$fail(peg$
|
|
3300
|
+
if (peg$silentFails === 0) { peg$fail(peg$c119); }
|
|
3274
3301
|
}
|
|
3275
3302
|
if (s7 === peg$FAILED) {
|
|
3276
3303
|
s7 = peg$parseECHAR();
|
|
@@ -3281,12 +3308,12 @@
|
|
|
3281
3308
|
if (s7 !== peg$FAILED) {
|
|
3282
3309
|
while (s7 !== peg$FAILED) {
|
|
3283
3310
|
s6.push(s7);
|
|
3284
|
-
if (peg$
|
|
3311
|
+
if (peg$c118.test(input.charAt(peg$currPos))) {
|
|
3285
3312
|
s7 = input.charAt(peg$currPos);
|
|
3286
3313
|
peg$currPos++;
|
|
3287
3314
|
} else {
|
|
3288
3315
|
s7 = peg$FAILED;
|
|
3289
|
-
if (peg$silentFails === 0) { peg$fail(peg$
|
|
3316
|
+
if (peg$silentFails === 0) { peg$fail(peg$c119); }
|
|
3290
3317
|
}
|
|
3291
3318
|
if (s7 === peg$FAILED) {
|
|
3292
3319
|
s7 = peg$parseECHAR();
|
|
@@ -3300,7 +3327,7 @@
|
|
|
3300
3327
|
}
|
|
3301
3328
|
if (s6 !== peg$FAILED) {
|
|
3302
3329
|
peg$savedPos = s4;
|
|
3303
|
-
s5 = peg$
|
|
3330
|
+
s5 = peg$c122(s2, s6);
|
|
3304
3331
|
s4 = s5;
|
|
3305
3332
|
} else {
|
|
3306
3333
|
peg$currPos = s4;
|
|
@@ -3313,20 +3340,20 @@
|
|
|
3313
3340
|
if (s4 === peg$FAILED) {
|
|
3314
3341
|
s4 = peg$currPos;
|
|
3315
3342
|
if (input.charCodeAt(peg$currPos) === 39) {
|
|
3316
|
-
s5 = peg$
|
|
3343
|
+
s5 = peg$c112;
|
|
3317
3344
|
peg$currPos++;
|
|
3318
3345
|
} else {
|
|
3319
3346
|
s5 = peg$FAILED;
|
|
3320
|
-
if (peg$silentFails === 0) { peg$fail(peg$
|
|
3347
|
+
if (peg$silentFails === 0) { peg$fail(peg$c113); }
|
|
3321
3348
|
}
|
|
3322
3349
|
if (s5 !== peg$FAILED) {
|
|
3323
3350
|
s6 = [];
|
|
3324
|
-
if (peg$
|
|
3351
|
+
if (peg$c118.test(input.charAt(peg$currPos))) {
|
|
3325
3352
|
s7 = input.charAt(peg$currPos);
|
|
3326
3353
|
peg$currPos++;
|
|
3327
3354
|
} else {
|
|
3328
3355
|
s7 = peg$FAILED;
|
|
3329
|
-
if (peg$silentFails === 0) { peg$fail(peg$
|
|
3356
|
+
if (peg$silentFails === 0) { peg$fail(peg$c119); }
|
|
3330
3357
|
}
|
|
3331
3358
|
if (s7 === peg$FAILED) {
|
|
3332
3359
|
s7 = peg$parseECHAR();
|
|
@@ -3337,12 +3364,12 @@
|
|
|
3337
3364
|
if (s7 !== peg$FAILED) {
|
|
3338
3365
|
while (s7 !== peg$FAILED) {
|
|
3339
3366
|
s6.push(s7);
|
|
3340
|
-
if (peg$
|
|
3367
|
+
if (peg$c118.test(input.charAt(peg$currPos))) {
|
|
3341
3368
|
s7 = input.charAt(peg$currPos);
|
|
3342
3369
|
peg$currPos++;
|
|
3343
3370
|
} else {
|
|
3344
3371
|
s7 = peg$FAILED;
|
|
3345
|
-
if (peg$silentFails === 0) { peg$fail(peg$
|
|
3372
|
+
if (peg$silentFails === 0) { peg$fail(peg$c119); }
|
|
3346
3373
|
}
|
|
3347
3374
|
if (s7 === peg$FAILED) {
|
|
3348
3375
|
s7 = peg$parseECHAR();
|
|
@@ -3356,7 +3383,7 @@
|
|
|
3356
3383
|
}
|
|
3357
3384
|
if (s6 !== peg$FAILED) {
|
|
3358
3385
|
peg$savedPos = s4;
|
|
3359
|
-
s5 = peg$
|
|
3386
|
+
s5 = peg$c123(s2, s6);
|
|
3360
3387
|
s4 = s5;
|
|
3361
3388
|
} else {
|
|
3362
3389
|
peg$currPos = s4;
|
|
@@ -3369,16 +3396,16 @@
|
|
|
3369
3396
|
}
|
|
3370
3397
|
}
|
|
3371
3398
|
if (s3 !== peg$FAILED) {
|
|
3372
|
-
if (input.substr(peg$currPos, 3) === peg$
|
|
3373
|
-
s4 = peg$
|
|
3399
|
+
if (input.substr(peg$currPos, 3) === peg$c116) {
|
|
3400
|
+
s4 = peg$c116;
|
|
3374
3401
|
peg$currPos += 3;
|
|
3375
3402
|
} else {
|
|
3376
3403
|
s4 = peg$FAILED;
|
|
3377
|
-
if (peg$silentFails === 0) { peg$fail(peg$
|
|
3404
|
+
if (peg$silentFails === 0) { peg$fail(peg$c117); }
|
|
3378
3405
|
}
|
|
3379
3406
|
if (s4 !== peg$FAILED) {
|
|
3380
3407
|
peg$savedPos = s0;
|
|
3381
|
-
s1 = peg$
|
|
3408
|
+
s1 = peg$c124(s2, s3);
|
|
3382
3409
|
s0 = s1;
|
|
3383
3410
|
} else {
|
|
3384
3411
|
peg$currPos = s0;
|
|
@@ -3404,21 +3431,21 @@
|
|
|
3404
3431
|
var s0, s1, s2, s3, s4, s5, s6, s7;
|
|
3405
3432
|
|
|
3406
3433
|
s0 = peg$currPos;
|
|
3407
|
-
if (input.substr(peg$currPos, 3) === peg$
|
|
3408
|
-
s1 = peg$
|
|
3434
|
+
if (input.substr(peg$currPos, 3) === peg$c125) {
|
|
3435
|
+
s1 = peg$c125;
|
|
3409
3436
|
peg$currPos += 3;
|
|
3410
3437
|
} else {
|
|
3411
3438
|
s1 = peg$FAILED;
|
|
3412
|
-
if (peg$silentFails === 0) { peg$fail(peg$
|
|
3439
|
+
if (peg$silentFails === 0) { peg$fail(peg$c126); }
|
|
3413
3440
|
}
|
|
3414
3441
|
if (s1 !== peg$FAILED) {
|
|
3415
3442
|
s2 = [];
|
|
3416
|
-
if (peg$
|
|
3443
|
+
if (peg$c127.test(input.charAt(peg$currPos))) {
|
|
3417
3444
|
s3 = input.charAt(peg$currPos);
|
|
3418
3445
|
peg$currPos++;
|
|
3419
3446
|
} else {
|
|
3420
3447
|
s3 = peg$FAILED;
|
|
3421
|
-
if (peg$silentFails === 0) { peg$fail(peg$
|
|
3448
|
+
if (peg$silentFails === 0) { peg$fail(peg$c128); }
|
|
3422
3449
|
}
|
|
3423
3450
|
if (s3 === peg$FAILED) {
|
|
3424
3451
|
s3 = peg$parseECHAR();
|
|
@@ -3428,12 +3455,12 @@
|
|
|
3428
3455
|
}
|
|
3429
3456
|
while (s3 !== peg$FAILED) {
|
|
3430
3457
|
s2.push(s3);
|
|
3431
|
-
if (peg$
|
|
3458
|
+
if (peg$c127.test(input.charAt(peg$currPos))) {
|
|
3432
3459
|
s3 = input.charAt(peg$currPos);
|
|
3433
3460
|
peg$currPos++;
|
|
3434
3461
|
} else {
|
|
3435
3462
|
s3 = peg$FAILED;
|
|
3436
|
-
if (peg$silentFails === 0) { peg$fail(peg$
|
|
3463
|
+
if (peg$silentFails === 0) { peg$fail(peg$c128); }
|
|
3437
3464
|
}
|
|
3438
3465
|
if (s3 === peg$FAILED) {
|
|
3439
3466
|
s3 = peg$parseECHAR();
|
|
@@ -3445,21 +3472,21 @@
|
|
|
3445
3472
|
if (s2 !== peg$FAILED) {
|
|
3446
3473
|
s3 = [];
|
|
3447
3474
|
s4 = peg$currPos;
|
|
3448
|
-
if (input.substr(peg$currPos, 2) === peg$
|
|
3449
|
-
s5 = peg$
|
|
3475
|
+
if (input.substr(peg$currPos, 2) === peg$c129) {
|
|
3476
|
+
s5 = peg$c129;
|
|
3450
3477
|
peg$currPos += 2;
|
|
3451
3478
|
} else {
|
|
3452
3479
|
s5 = peg$FAILED;
|
|
3453
|
-
if (peg$silentFails === 0) { peg$fail(peg$
|
|
3480
|
+
if (peg$silentFails === 0) { peg$fail(peg$c130); }
|
|
3454
3481
|
}
|
|
3455
3482
|
if (s5 !== peg$FAILED) {
|
|
3456
3483
|
s6 = [];
|
|
3457
|
-
if (peg$
|
|
3484
|
+
if (peg$c127.test(input.charAt(peg$currPos))) {
|
|
3458
3485
|
s7 = input.charAt(peg$currPos);
|
|
3459
3486
|
peg$currPos++;
|
|
3460
3487
|
} else {
|
|
3461
3488
|
s7 = peg$FAILED;
|
|
3462
|
-
if (peg$silentFails === 0) { peg$fail(peg$
|
|
3489
|
+
if (peg$silentFails === 0) { peg$fail(peg$c128); }
|
|
3463
3490
|
}
|
|
3464
3491
|
if (s7 === peg$FAILED) {
|
|
3465
3492
|
s7 = peg$parseECHAR();
|
|
@@ -3470,12 +3497,12 @@
|
|
|
3470
3497
|
if (s7 !== peg$FAILED) {
|
|
3471
3498
|
while (s7 !== peg$FAILED) {
|
|
3472
3499
|
s6.push(s7);
|
|
3473
|
-
if (peg$
|
|
3500
|
+
if (peg$c127.test(input.charAt(peg$currPos))) {
|
|
3474
3501
|
s7 = input.charAt(peg$currPos);
|
|
3475
3502
|
peg$currPos++;
|
|
3476
3503
|
} else {
|
|
3477
3504
|
s7 = peg$FAILED;
|
|
3478
|
-
if (peg$silentFails === 0) { peg$fail(peg$
|
|
3505
|
+
if (peg$silentFails === 0) { peg$fail(peg$c128); }
|
|
3479
3506
|
}
|
|
3480
3507
|
if (s7 === peg$FAILED) {
|
|
3481
3508
|
s7 = peg$parseECHAR();
|
|
@@ -3489,7 +3516,7 @@
|
|
|
3489
3516
|
}
|
|
3490
3517
|
if (s6 !== peg$FAILED) {
|
|
3491
3518
|
peg$savedPos = s4;
|
|
3492
|
-
s5 = peg$
|
|
3519
|
+
s5 = peg$c131(s2, s6);
|
|
3493
3520
|
s4 = s5;
|
|
3494
3521
|
} else {
|
|
3495
3522
|
peg$currPos = s4;
|
|
@@ -3502,20 +3529,20 @@
|
|
|
3502
3529
|
if (s4 === peg$FAILED) {
|
|
3503
3530
|
s4 = peg$currPos;
|
|
3504
3531
|
if (input.charCodeAt(peg$currPos) === 34) {
|
|
3505
|
-
s5 = peg$
|
|
3532
|
+
s5 = peg$c108;
|
|
3506
3533
|
peg$currPos++;
|
|
3507
3534
|
} else {
|
|
3508
3535
|
s5 = peg$FAILED;
|
|
3509
|
-
if (peg$silentFails === 0) { peg$fail(peg$
|
|
3536
|
+
if (peg$silentFails === 0) { peg$fail(peg$c109); }
|
|
3510
3537
|
}
|
|
3511
3538
|
if (s5 !== peg$FAILED) {
|
|
3512
3539
|
s6 = [];
|
|
3513
|
-
if (peg$
|
|
3540
|
+
if (peg$c127.test(input.charAt(peg$currPos))) {
|
|
3514
3541
|
s7 = input.charAt(peg$currPos);
|
|
3515
3542
|
peg$currPos++;
|
|
3516
3543
|
} else {
|
|
3517
3544
|
s7 = peg$FAILED;
|
|
3518
|
-
if (peg$silentFails === 0) { peg$fail(peg$
|
|
3545
|
+
if (peg$silentFails === 0) { peg$fail(peg$c128); }
|
|
3519
3546
|
}
|
|
3520
3547
|
if (s7 === peg$FAILED) {
|
|
3521
3548
|
s7 = peg$parseECHAR();
|
|
@@ -3526,12 +3553,12 @@
|
|
|
3526
3553
|
if (s7 !== peg$FAILED) {
|
|
3527
3554
|
while (s7 !== peg$FAILED) {
|
|
3528
3555
|
s6.push(s7);
|
|
3529
|
-
if (peg$
|
|
3556
|
+
if (peg$c127.test(input.charAt(peg$currPos))) {
|
|
3530
3557
|
s7 = input.charAt(peg$currPos);
|
|
3531
3558
|
peg$currPos++;
|
|
3532
3559
|
} else {
|
|
3533
3560
|
s7 = peg$FAILED;
|
|
3534
|
-
if (peg$silentFails === 0) { peg$fail(peg$
|
|
3561
|
+
if (peg$silentFails === 0) { peg$fail(peg$c128); }
|
|
3535
3562
|
}
|
|
3536
3563
|
if (s7 === peg$FAILED) {
|
|
3537
3564
|
s7 = peg$parseECHAR();
|
|
@@ -3545,7 +3572,7 @@
|
|
|
3545
3572
|
}
|
|
3546
3573
|
if (s6 !== peg$FAILED) {
|
|
3547
3574
|
peg$savedPos = s4;
|
|
3548
|
-
s5 = peg$
|
|
3575
|
+
s5 = peg$c132(s2, s6);
|
|
3549
3576
|
s4 = s5;
|
|
3550
3577
|
} else {
|
|
3551
3578
|
peg$currPos = s4;
|
|
@@ -3559,21 +3586,21 @@
|
|
|
3559
3586
|
while (s4 !== peg$FAILED) {
|
|
3560
3587
|
s3.push(s4);
|
|
3561
3588
|
s4 = peg$currPos;
|
|
3562
|
-
if (input.substr(peg$currPos, 2) === peg$
|
|
3563
|
-
s5 = peg$
|
|
3589
|
+
if (input.substr(peg$currPos, 2) === peg$c129) {
|
|
3590
|
+
s5 = peg$c129;
|
|
3564
3591
|
peg$currPos += 2;
|
|
3565
3592
|
} else {
|
|
3566
3593
|
s5 = peg$FAILED;
|
|
3567
|
-
if (peg$silentFails === 0) { peg$fail(peg$
|
|
3594
|
+
if (peg$silentFails === 0) { peg$fail(peg$c130); }
|
|
3568
3595
|
}
|
|
3569
3596
|
if (s5 !== peg$FAILED) {
|
|
3570
3597
|
s6 = [];
|
|
3571
|
-
if (peg$
|
|
3598
|
+
if (peg$c127.test(input.charAt(peg$currPos))) {
|
|
3572
3599
|
s7 = input.charAt(peg$currPos);
|
|
3573
3600
|
peg$currPos++;
|
|
3574
3601
|
} else {
|
|
3575
3602
|
s7 = peg$FAILED;
|
|
3576
|
-
if (peg$silentFails === 0) { peg$fail(peg$
|
|
3603
|
+
if (peg$silentFails === 0) { peg$fail(peg$c128); }
|
|
3577
3604
|
}
|
|
3578
3605
|
if (s7 === peg$FAILED) {
|
|
3579
3606
|
s7 = peg$parseECHAR();
|
|
@@ -3584,12 +3611,12 @@
|
|
|
3584
3611
|
if (s7 !== peg$FAILED) {
|
|
3585
3612
|
while (s7 !== peg$FAILED) {
|
|
3586
3613
|
s6.push(s7);
|
|
3587
|
-
if (peg$
|
|
3614
|
+
if (peg$c127.test(input.charAt(peg$currPos))) {
|
|
3588
3615
|
s7 = input.charAt(peg$currPos);
|
|
3589
3616
|
peg$currPos++;
|
|
3590
3617
|
} else {
|
|
3591
3618
|
s7 = peg$FAILED;
|
|
3592
|
-
if (peg$silentFails === 0) { peg$fail(peg$
|
|
3619
|
+
if (peg$silentFails === 0) { peg$fail(peg$c128); }
|
|
3593
3620
|
}
|
|
3594
3621
|
if (s7 === peg$FAILED) {
|
|
3595
3622
|
s7 = peg$parseECHAR();
|
|
@@ -3603,7 +3630,7 @@
|
|
|
3603
3630
|
}
|
|
3604
3631
|
if (s6 !== peg$FAILED) {
|
|
3605
3632
|
peg$savedPos = s4;
|
|
3606
|
-
s5 = peg$
|
|
3633
|
+
s5 = peg$c131(s2, s6);
|
|
3607
3634
|
s4 = s5;
|
|
3608
3635
|
} else {
|
|
3609
3636
|
peg$currPos = s4;
|
|
@@ -3616,20 +3643,20 @@
|
|
|
3616
3643
|
if (s4 === peg$FAILED) {
|
|
3617
3644
|
s4 = peg$currPos;
|
|
3618
3645
|
if (input.charCodeAt(peg$currPos) === 34) {
|
|
3619
|
-
s5 = peg$
|
|
3646
|
+
s5 = peg$c108;
|
|
3620
3647
|
peg$currPos++;
|
|
3621
3648
|
} else {
|
|
3622
3649
|
s5 = peg$FAILED;
|
|
3623
|
-
if (peg$silentFails === 0) { peg$fail(peg$
|
|
3650
|
+
if (peg$silentFails === 0) { peg$fail(peg$c109); }
|
|
3624
3651
|
}
|
|
3625
3652
|
if (s5 !== peg$FAILED) {
|
|
3626
3653
|
s6 = [];
|
|
3627
|
-
if (peg$
|
|
3654
|
+
if (peg$c127.test(input.charAt(peg$currPos))) {
|
|
3628
3655
|
s7 = input.charAt(peg$currPos);
|
|
3629
3656
|
peg$currPos++;
|
|
3630
3657
|
} else {
|
|
3631
3658
|
s7 = peg$FAILED;
|
|
3632
|
-
if (peg$silentFails === 0) { peg$fail(peg$
|
|
3659
|
+
if (peg$silentFails === 0) { peg$fail(peg$c128); }
|
|
3633
3660
|
}
|
|
3634
3661
|
if (s7 === peg$FAILED) {
|
|
3635
3662
|
s7 = peg$parseECHAR();
|
|
@@ -3640,12 +3667,12 @@
|
|
|
3640
3667
|
if (s7 !== peg$FAILED) {
|
|
3641
3668
|
while (s7 !== peg$FAILED) {
|
|
3642
3669
|
s6.push(s7);
|
|
3643
|
-
if (peg$
|
|
3670
|
+
if (peg$c127.test(input.charAt(peg$currPos))) {
|
|
3644
3671
|
s7 = input.charAt(peg$currPos);
|
|
3645
3672
|
peg$currPos++;
|
|
3646
3673
|
} else {
|
|
3647
3674
|
s7 = peg$FAILED;
|
|
3648
|
-
if (peg$silentFails === 0) { peg$fail(peg$
|
|
3675
|
+
if (peg$silentFails === 0) { peg$fail(peg$c128); }
|
|
3649
3676
|
}
|
|
3650
3677
|
if (s7 === peg$FAILED) {
|
|
3651
3678
|
s7 = peg$parseECHAR();
|
|
@@ -3659,7 +3686,7 @@
|
|
|
3659
3686
|
}
|
|
3660
3687
|
if (s6 !== peg$FAILED) {
|
|
3661
3688
|
peg$savedPos = s4;
|
|
3662
|
-
s5 = peg$
|
|
3689
|
+
s5 = peg$c132(s2, s6);
|
|
3663
3690
|
s4 = s5;
|
|
3664
3691
|
} else {
|
|
3665
3692
|
peg$currPos = s4;
|
|
@@ -3672,16 +3699,16 @@
|
|
|
3672
3699
|
}
|
|
3673
3700
|
}
|
|
3674
3701
|
if (s3 !== peg$FAILED) {
|
|
3675
|
-
if (input.substr(peg$currPos, 3) === peg$
|
|
3676
|
-
s4 = peg$
|
|
3702
|
+
if (input.substr(peg$currPos, 3) === peg$c125) {
|
|
3703
|
+
s4 = peg$c125;
|
|
3677
3704
|
peg$currPos += 3;
|
|
3678
3705
|
} else {
|
|
3679
3706
|
s4 = peg$FAILED;
|
|
3680
|
-
if (peg$silentFails === 0) { peg$fail(peg$
|
|
3707
|
+
if (peg$silentFails === 0) { peg$fail(peg$c126); }
|
|
3681
3708
|
}
|
|
3682
3709
|
if (s4 !== peg$FAILED) {
|
|
3683
3710
|
peg$savedPos = s0;
|
|
3684
|
-
s1 = peg$
|
|
3711
|
+
s1 = peg$c124(s2, s3);
|
|
3685
3712
|
s0 = s1;
|
|
3686
3713
|
} else {
|
|
3687
3714
|
peg$currPos = s0;
|
|
@@ -3707,12 +3734,12 @@
|
|
|
3707
3734
|
var s0, s1, s2, s3, s4, s5, s6, s7, s8, s9, s10;
|
|
3708
3735
|
|
|
3709
3736
|
s0 = peg$currPos;
|
|
3710
|
-
if (input.substr(peg$currPos, 2) === peg$
|
|
3711
|
-
s1 = peg$
|
|
3737
|
+
if (input.substr(peg$currPos, 2) === peg$c133) {
|
|
3738
|
+
s1 = peg$c133;
|
|
3712
3739
|
peg$currPos += 2;
|
|
3713
3740
|
} else {
|
|
3714
3741
|
s1 = peg$FAILED;
|
|
3715
|
-
if (peg$silentFails === 0) { peg$fail(peg$
|
|
3742
|
+
if (peg$silentFails === 0) { peg$fail(peg$c134); }
|
|
3716
3743
|
}
|
|
3717
3744
|
if (s1 !== peg$FAILED) {
|
|
3718
3745
|
s2 = peg$currPos;
|
|
@@ -3768,7 +3795,7 @@
|
|
|
3768
3795
|
}
|
|
3769
3796
|
if (s2 !== peg$FAILED) {
|
|
3770
3797
|
peg$savedPos = s0;
|
|
3771
|
-
s1 = peg$
|
|
3798
|
+
s1 = peg$c135(s2);
|
|
3772
3799
|
s0 = s1;
|
|
3773
3800
|
} else {
|
|
3774
3801
|
peg$currPos = s0;
|
|
@@ -3780,12 +3807,12 @@
|
|
|
3780
3807
|
}
|
|
3781
3808
|
if (s0 === peg$FAILED) {
|
|
3782
3809
|
s0 = peg$currPos;
|
|
3783
|
-
if (input.substr(peg$currPos, 2) === peg$
|
|
3784
|
-
s1 = peg$
|
|
3810
|
+
if (input.substr(peg$currPos, 2) === peg$c136) {
|
|
3811
|
+
s1 = peg$c136;
|
|
3785
3812
|
peg$currPos += 2;
|
|
3786
3813
|
} else {
|
|
3787
3814
|
s1 = peg$FAILED;
|
|
3788
|
-
if (peg$silentFails === 0) { peg$fail(peg$
|
|
3815
|
+
if (peg$silentFails === 0) { peg$fail(peg$c137); }
|
|
3789
3816
|
}
|
|
3790
3817
|
if (s1 !== peg$FAILED) {
|
|
3791
3818
|
s2 = peg$currPos;
|
|
@@ -3817,7 +3844,7 @@
|
|
|
3817
3844
|
}
|
|
3818
3845
|
if (s2 !== peg$FAILED) {
|
|
3819
3846
|
peg$savedPos = s0;
|
|
3820
|
-
s1 = peg$
|
|
3847
|
+
s1 = peg$c138(s2);
|
|
3821
3848
|
s0 = s1;
|
|
3822
3849
|
} else {
|
|
3823
3850
|
peg$currPos = s0;
|
|
@@ -3836,114 +3863,114 @@
|
|
|
3836
3863
|
var s0, s1;
|
|
3837
3864
|
|
|
3838
3865
|
s0 = peg$currPos;
|
|
3839
|
-
if (input.substr(peg$currPos, 2) === peg$
|
|
3840
|
-
s1 = peg$
|
|
3866
|
+
if (input.substr(peg$currPos, 2) === peg$c139) {
|
|
3867
|
+
s1 = peg$c139;
|
|
3841
3868
|
peg$currPos += 2;
|
|
3842
3869
|
} else {
|
|
3843
3870
|
s1 = peg$FAILED;
|
|
3844
|
-
if (peg$silentFails === 0) { peg$fail(peg$
|
|
3871
|
+
if (peg$silentFails === 0) { peg$fail(peg$c140); }
|
|
3845
3872
|
}
|
|
3846
3873
|
if (s1 !== peg$FAILED) {
|
|
3847
3874
|
peg$savedPos = s0;
|
|
3848
|
-
s1 = peg$
|
|
3875
|
+
s1 = peg$c141();
|
|
3849
3876
|
}
|
|
3850
3877
|
s0 = s1;
|
|
3851
3878
|
if (s0 === peg$FAILED) {
|
|
3852
3879
|
s0 = peg$currPos;
|
|
3853
|
-
if (input.substr(peg$currPos, 2) === peg$
|
|
3854
|
-
s1 = peg$
|
|
3880
|
+
if (input.substr(peg$currPos, 2) === peg$c142) {
|
|
3881
|
+
s1 = peg$c142;
|
|
3855
3882
|
peg$currPos += 2;
|
|
3856
3883
|
} else {
|
|
3857
3884
|
s1 = peg$FAILED;
|
|
3858
|
-
if (peg$silentFails === 0) { peg$fail(peg$
|
|
3885
|
+
if (peg$silentFails === 0) { peg$fail(peg$c143); }
|
|
3859
3886
|
}
|
|
3860
3887
|
if (s1 !== peg$FAILED) {
|
|
3861
3888
|
peg$savedPos = s0;
|
|
3862
|
-
s1 = peg$
|
|
3889
|
+
s1 = peg$c144();
|
|
3863
3890
|
}
|
|
3864
3891
|
s0 = s1;
|
|
3865
3892
|
if (s0 === peg$FAILED) {
|
|
3866
3893
|
s0 = peg$currPos;
|
|
3867
|
-
if (input.substr(peg$currPos, 2) === peg$
|
|
3868
|
-
s1 = peg$
|
|
3894
|
+
if (input.substr(peg$currPos, 2) === peg$c145) {
|
|
3895
|
+
s1 = peg$c145;
|
|
3869
3896
|
peg$currPos += 2;
|
|
3870
3897
|
} else {
|
|
3871
3898
|
s1 = peg$FAILED;
|
|
3872
|
-
if (peg$silentFails === 0) { peg$fail(peg$
|
|
3899
|
+
if (peg$silentFails === 0) { peg$fail(peg$c146); }
|
|
3873
3900
|
}
|
|
3874
3901
|
if (s1 !== peg$FAILED) {
|
|
3875
3902
|
peg$savedPos = s0;
|
|
3876
|
-
s1 = peg$
|
|
3903
|
+
s1 = peg$c147();
|
|
3877
3904
|
}
|
|
3878
3905
|
s0 = s1;
|
|
3879
3906
|
if (s0 === peg$FAILED) {
|
|
3880
3907
|
s0 = peg$currPos;
|
|
3881
|
-
if (input.substr(peg$currPos, 2) === peg$
|
|
3882
|
-
s1 = peg$
|
|
3908
|
+
if (input.substr(peg$currPos, 2) === peg$c148) {
|
|
3909
|
+
s1 = peg$c148;
|
|
3883
3910
|
peg$currPos += 2;
|
|
3884
3911
|
} else {
|
|
3885
3912
|
s1 = peg$FAILED;
|
|
3886
|
-
if (peg$silentFails === 0) { peg$fail(peg$
|
|
3913
|
+
if (peg$silentFails === 0) { peg$fail(peg$c149); }
|
|
3887
3914
|
}
|
|
3888
3915
|
if (s1 !== peg$FAILED) {
|
|
3889
3916
|
peg$savedPos = s0;
|
|
3890
|
-
s1 = peg$
|
|
3917
|
+
s1 = peg$c150();
|
|
3891
3918
|
}
|
|
3892
3919
|
s0 = s1;
|
|
3893
3920
|
if (s0 === peg$FAILED) {
|
|
3894
3921
|
s0 = peg$currPos;
|
|
3895
|
-
if (input.substr(peg$currPos, 2) === peg$
|
|
3896
|
-
s1 = peg$
|
|
3922
|
+
if (input.substr(peg$currPos, 2) === peg$c151) {
|
|
3923
|
+
s1 = peg$c151;
|
|
3897
3924
|
peg$currPos += 2;
|
|
3898
3925
|
} else {
|
|
3899
3926
|
s1 = peg$FAILED;
|
|
3900
|
-
if (peg$silentFails === 0) { peg$fail(peg$
|
|
3927
|
+
if (peg$silentFails === 0) { peg$fail(peg$c152); }
|
|
3901
3928
|
}
|
|
3902
3929
|
if (s1 !== peg$FAILED) {
|
|
3903
3930
|
peg$savedPos = s0;
|
|
3904
|
-
s1 = peg$
|
|
3931
|
+
s1 = peg$c153();
|
|
3905
3932
|
}
|
|
3906
3933
|
s0 = s1;
|
|
3907
3934
|
if (s0 === peg$FAILED) {
|
|
3908
3935
|
s0 = peg$currPos;
|
|
3909
|
-
if (input.substr(peg$currPos, 2) === peg$
|
|
3910
|
-
s1 = peg$
|
|
3936
|
+
if (input.substr(peg$currPos, 2) === peg$c154) {
|
|
3937
|
+
s1 = peg$c154;
|
|
3911
3938
|
peg$currPos += 2;
|
|
3912
3939
|
} else {
|
|
3913
3940
|
s1 = peg$FAILED;
|
|
3914
|
-
if (peg$silentFails === 0) { peg$fail(peg$
|
|
3941
|
+
if (peg$silentFails === 0) { peg$fail(peg$c155); }
|
|
3915
3942
|
}
|
|
3916
3943
|
if (s1 !== peg$FAILED) {
|
|
3917
3944
|
peg$savedPos = s0;
|
|
3918
|
-
s1 = peg$
|
|
3945
|
+
s1 = peg$c156();
|
|
3919
3946
|
}
|
|
3920
3947
|
s0 = s1;
|
|
3921
3948
|
if (s0 === peg$FAILED) {
|
|
3922
3949
|
s0 = peg$currPos;
|
|
3923
|
-
if (input.substr(peg$currPos, 2) === peg$
|
|
3924
|
-
s1 = peg$
|
|
3950
|
+
if (input.substr(peg$currPos, 2) === peg$c157) {
|
|
3951
|
+
s1 = peg$c157;
|
|
3925
3952
|
peg$currPos += 2;
|
|
3926
3953
|
} else {
|
|
3927
3954
|
s1 = peg$FAILED;
|
|
3928
|
-
if (peg$silentFails === 0) { peg$fail(peg$
|
|
3955
|
+
if (peg$silentFails === 0) { peg$fail(peg$c158); }
|
|
3929
3956
|
}
|
|
3930
3957
|
if (s1 !== peg$FAILED) {
|
|
3931
3958
|
peg$savedPos = s0;
|
|
3932
|
-
s1 = peg$
|
|
3959
|
+
s1 = peg$c159();
|
|
3933
3960
|
}
|
|
3934
3961
|
s0 = s1;
|
|
3935
3962
|
if (s0 === peg$FAILED) {
|
|
3936
3963
|
s0 = peg$currPos;
|
|
3937
|
-
if (input.substr(peg$currPos, 2) === peg$
|
|
3938
|
-
s1 = peg$
|
|
3964
|
+
if (input.substr(peg$currPos, 2) === peg$c160) {
|
|
3965
|
+
s1 = peg$c160;
|
|
3939
3966
|
peg$currPos += 2;
|
|
3940
3967
|
} else {
|
|
3941
3968
|
s1 = peg$FAILED;
|
|
3942
|
-
if (peg$silentFails === 0) { peg$fail(peg$
|
|
3969
|
+
if (peg$silentFails === 0) { peg$fail(peg$c161); }
|
|
3943
3970
|
}
|
|
3944
3971
|
if (s1 !== peg$FAILED) {
|
|
3945
3972
|
peg$savedPos = s0;
|
|
3946
|
-
s1 = peg$
|
|
3973
|
+
s1 = peg$c162();
|
|
3947
3974
|
}
|
|
3948
3975
|
s0 = s1;
|
|
3949
3976
|
}
|
|
@@ -3960,12 +3987,12 @@
|
|
|
3960
3987
|
function peg$parseWS() {
|
|
3961
3988
|
var s0;
|
|
3962
3989
|
|
|
3963
|
-
if (peg$
|
|
3990
|
+
if (peg$c163.test(input.charAt(peg$currPos))) {
|
|
3964
3991
|
s0 = input.charAt(peg$currPos);
|
|
3965
3992
|
peg$currPos++;
|
|
3966
3993
|
} else {
|
|
3967
3994
|
s0 = peg$FAILED;
|
|
3968
|
-
if (peg$silentFails === 0) { peg$fail(peg$
|
|
3995
|
+
if (peg$silentFails === 0) { peg$fail(peg$c164); }
|
|
3969
3996
|
}
|
|
3970
3997
|
|
|
3971
3998
|
return s0;
|
|
@@ -3976,11 +4003,11 @@
|
|
|
3976
4003
|
|
|
3977
4004
|
s0 = peg$currPos;
|
|
3978
4005
|
if (input.charCodeAt(peg$currPos) === 91) {
|
|
3979
|
-
s1 = peg$
|
|
4006
|
+
s1 = peg$c55;
|
|
3980
4007
|
peg$currPos++;
|
|
3981
4008
|
} else {
|
|
3982
4009
|
s1 = peg$FAILED;
|
|
3983
|
-
if (peg$silentFails === 0) { peg$fail(peg$
|
|
4010
|
+
if (peg$silentFails === 0) { peg$fail(peg$c56); }
|
|
3984
4011
|
}
|
|
3985
4012
|
if (s1 !== peg$FAILED) {
|
|
3986
4013
|
s2 = [];
|
|
@@ -3991,15 +4018,15 @@
|
|
|
3991
4018
|
}
|
|
3992
4019
|
if (s2 !== peg$FAILED) {
|
|
3993
4020
|
if (input.charCodeAt(peg$currPos) === 93) {
|
|
3994
|
-
s3 = peg$
|
|
4021
|
+
s3 = peg$c57;
|
|
3995
4022
|
peg$currPos++;
|
|
3996
4023
|
} else {
|
|
3997
4024
|
s3 = peg$FAILED;
|
|
3998
|
-
if (peg$silentFails === 0) { peg$fail(peg$
|
|
4025
|
+
if (peg$silentFails === 0) { peg$fail(peg$c58); }
|
|
3999
4026
|
}
|
|
4000
4027
|
if (s3 !== peg$FAILED) {
|
|
4001
4028
|
peg$savedPos = s0;
|
|
4002
|
-
s1 = peg$
|
|
4029
|
+
s1 = peg$c165();
|
|
4003
4030
|
s0 = s1;
|
|
4004
4031
|
} else {
|
|
4005
4032
|
peg$currPos = s0;
|
|
@@ -4021,24 +4048,24 @@
|
|
|
4021
4048
|
var s0, s1, s2;
|
|
4022
4049
|
|
|
4023
4050
|
s0 = peg$currPos;
|
|
4024
|
-
if (peg$
|
|
4051
|
+
if (peg$c166.test(input.charAt(peg$currPos))) {
|
|
4025
4052
|
s1 = input.charAt(peg$currPos);
|
|
4026
4053
|
peg$currPos++;
|
|
4027
4054
|
} else {
|
|
4028
4055
|
s1 = peg$FAILED;
|
|
4029
|
-
if (peg$silentFails === 0) { peg$fail(peg$
|
|
4056
|
+
if (peg$silentFails === 0) { peg$fail(peg$c167); }
|
|
4030
4057
|
}
|
|
4031
4058
|
if (s1 !== peg$FAILED) {
|
|
4032
|
-
if (peg$
|
|
4059
|
+
if (peg$c168.test(input.charAt(peg$currPos))) {
|
|
4033
4060
|
s2 = input.charAt(peg$currPos);
|
|
4034
4061
|
peg$currPos++;
|
|
4035
4062
|
} else {
|
|
4036
4063
|
s2 = peg$FAILED;
|
|
4037
|
-
if (peg$silentFails === 0) { peg$fail(peg$
|
|
4064
|
+
if (peg$silentFails === 0) { peg$fail(peg$c169); }
|
|
4038
4065
|
}
|
|
4039
4066
|
if (s2 !== peg$FAILED) {
|
|
4040
4067
|
peg$savedPos = s0;
|
|
4041
|
-
s1 = peg$
|
|
4068
|
+
s1 = peg$c170(s1, s2);
|
|
4042
4069
|
s0 = s1;
|
|
4043
4070
|
} else {
|
|
4044
4071
|
peg$currPos = s0;
|
|
@@ -4049,12 +4076,12 @@
|
|
|
4049
4076
|
s0 = peg$FAILED;
|
|
4050
4077
|
}
|
|
4051
4078
|
if (s0 === peg$FAILED) {
|
|
4052
|
-
if (peg$
|
|
4079
|
+
if (peg$c171.test(input.charAt(peg$currPos))) {
|
|
4053
4080
|
s0 = input.charAt(peg$currPos);
|
|
4054
4081
|
peg$currPos++;
|
|
4055
4082
|
} else {
|
|
4056
4083
|
s0 = peg$FAILED;
|
|
4057
|
-
if (peg$silentFails === 0) { peg$fail(peg$
|
|
4084
|
+
if (peg$silentFails === 0) { peg$fail(peg$c172); }
|
|
4058
4085
|
}
|
|
4059
4086
|
}
|
|
4060
4087
|
|
|
@@ -4067,11 +4094,11 @@
|
|
|
4067
4094
|
s0 = peg$parsePN_CHARS_BASE();
|
|
4068
4095
|
if (s0 === peg$FAILED) {
|
|
4069
4096
|
if (input.charCodeAt(peg$currPos) === 95) {
|
|
4070
|
-
s0 = peg$
|
|
4097
|
+
s0 = peg$c173;
|
|
4071
4098
|
peg$currPos++;
|
|
4072
4099
|
} else {
|
|
4073
4100
|
s0 = peg$FAILED;
|
|
4074
|
-
if (peg$silentFails === 0) { peg$fail(peg$
|
|
4101
|
+
if (peg$silentFails === 0) { peg$fail(peg$c174); }
|
|
4075
4102
|
}
|
|
4076
4103
|
}
|
|
4077
4104
|
|
|
@@ -4084,43 +4111,43 @@
|
|
|
4084
4111
|
s0 = peg$parsePN_CHARS_U();
|
|
4085
4112
|
if (s0 === peg$FAILED) {
|
|
4086
4113
|
if (input.charCodeAt(peg$currPos) === 45) {
|
|
4087
|
-
s0 = peg$
|
|
4114
|
+
s0 = peg$c95;
|
|
4088
4115
|
peg$currPos++;
|
|
4089
4116
|
} else {
|
|
4090
4117
|
s0 = peg$FAILED;
|
|
4091
|
-
if (peg$silentFails === 0) { peg$fail(peg$
|
|
4118
|
+
if (peg$silentFails === 0) { peg$fail(peg$c96); }
|
|
4092
4119
|
}
|
|
4093
4120
|
if (s0 === peg$FAILED) {
|
|
4094
|
-
if (peg$
|
|
4121
|
+
if (peg$c89.test(input.charAt(peg$currPos))) {
|
|
4095
4122
|
s0 = input.charAt(peg$currPos);
|
|
4096
4123
|
peg$currPos++;
|
|
4097
4124
|
} else {
|
|
4098
4125
|
s0 = peg$FAILED;
|
|
4099
|
-
if (peg$silentFails === 0) { peg$fail(peg$
|
|
4126
|
+
if (peg$silentFails === 0) { peg$fail(peg$c90); }
|
|
4100
4127
|
}
|
|
4101
4128
|
if (s0 === peg$FAILED) {
|
|
4102
4129
|
if (input.charCodeAt(peg$currPos) === 183) {
|
|
4103
|
-
s0 = peg$
|
|
4130
|
+
s0 = peg$c175;
|
|
4104
4131
|
peg$currPos++;
|
|
4105
4132
|
} else {
|
|
4106
4133
|
s0 = peg$FAILED;
|
|
4107
|
-
if (peg$silentFails === 0) { peg$fail(peg$
|
|
4134
|
+
if (peg$silentFails === 0) { peg$fail(peg$c176); }
|
|
4108
4135
|
}
|
|
4109
4136
|
if (s0 === peg$FAILED) {
|
|
4110
|
-
if (peg$
|
|
4137
|
+
if (peg$c177.test(input.charAt(peg$currPos))) {
|
|
4111
4138
|
s0 = input.charAt(peg$currPos);
|
|
4112
4139
|
peg$currPos++;
|
|
4113
4140
|
} else {
|
|
4114
4141
|
s0 = peg$FAILED;
|
|
4115
|
-
if (peg$silentFails === 0) { peg$fail(peg$
|
|
4142
|
+
if (peg$silentFails === 0) { peg$fail(peg$c178); }
|
|
4116
4143
|
}
|
|
4117
4144
|
if (s0 === peg$FAILED) {
|
|
4118
|
-
if (peg$
|
|
4145
|
+
if (peg$c179.test(input.charAt(peg$currPos))) {
|
|
4119
4146
|
s0 = input.charAt(peg$currPos);
|
|
4120
4147
|
peg$currPos++;
|
|
4121
4148
|
} else {
|
|
4122
4149
|
s0 = peg$FAILED;
|
|
4123
|
-
if (peg$silentFails === 0) { peg$fail(peg$
|
|
4150
|
+
if (peg$silentFails === 0) { peg$fail(peg$c180); }
|
|
4124
4151
|
}
|
|
4125
4152
|
}
|
|
4126
4153
|
}
|
|
@@ -4149,21 +4176,21 @@
|
|
|
4149
4176
|
s5 = peg$currPos;
|
|
4150
4177
|
s6 = [];
|
|
4151
4178
|
if (input.charCodeAt(peg$currPos) === 46) {
|
|
4152
|
-
s7 = peg$
|
|
4179
|
+
s7 = peg$c3;
|
|
4153
4180
|
peg$currPos++;
|
|
4154
4181
|
} else {
|
|
4155
4182
|
s7 = peg$FAILED;
|
|
4156
|
-
if (peg$silentFails === 0) { peg$fail(peg$
|
|
4183
|
+
if (peg$silentFails === 0) { peg$fail(peg$c4); }
|
|
4157
4184
|
}
|
|
4158
4185
|
if (s7 !== peg$FAILED) {
|
|
4159
4186
|
while (s7 !== peg$FAILED) {
|
|
4160
4187
|
s6.push(s7);
|
|
4161
4188
|
if (input.charCodeAt(peg$currPos) === 46) {
|
|
4162
|
-
s7 = peg$
|
|
4189
|
+
s7 = peg$c3;
|
|
4163
4190
|
peg$currPos++;
|
|
4164
4191
|
} else {
|
|
4165
4192
|
s7 = peg$FAILED;
|
|
4166
|
-
if (peg$silentFails === 0) { peg$fail(peg$
|
|
4193
|
+
if (peg$silentFails === 0) { peg$fail(peg$c4); }
|
|
4167
4194
|
}
|
|
4168
4195
|
}
|
|
4169
4196
|
} else {
|
|
@@ -4196,21 +4223,21 @@
|
|
|
4196
4223
|
s5 = peg$currPos;
|
|
4197
4224
|
s6 = [];
|
|
4198
4225
|
if (input.charCodeAt(peg$currPos) === 46) {
|
|
4199
|
-
s7 = peg$
|
|
4226
|
+
s7 = peg$c3;
|
|
4200
4227
|
peg$currPos++;
|
|
4201
4228
|
} else {
|
|
4202
4229
|
s7 = peg$FAILED;
|
|
4203
|
-
if (peg$silentFails === 0) { peg$fail(peg$
|
|
4230
|
+
if (peg$silentFails === 0) { peg$fail(peg$c4); }
|
|
4204
4231
|
}
|
|
4205
4232
|
if (s7 !== peg$FAILED) {
|
|
4206
4233
|
while (s7 !== peg$FAILED) {
|
|
4207
4234
|
s6.push(s7);
|
|
4208
4235
|
if (input.charCodeAt(peg$currPos) === 46) {
|
|
4209
|
-
s7 = peg$
|
|
4236
|
+
s7 = peg$c3;
|
|
4210
4237
|
peg$currPos++;
|
|
4211
4238
|
} else {
|
|
4212
4239
|
s7 = peg$FAILED;
|
|
4213
|
-
if (peg$silentFails === 0) { peg$fail(peg$
|
|
4240
|
+
if (peg$silentFails === 0) { peg$fail(peg$c4); }
|
|
4214
4241
|
}
|
|
4215
4242
|
}
|
|
4216
4243
|
} else {
|
|
@@ -4270,19 +4297,19 @@
|
|
|
4270
4297
|
s1 = peg$parsePN_CHARS_U();
|
|
4271
4298
|
if (s1 === peg$FAILED) {
|
|
4272
4299
|
if (input.charCodeAt(peg$currPos) === 58) {
|
|
4273
|
-
s1 = peg$
|
|
4300
|
+
s1 = peg$c82;
|
|
4274
4301
|
peg$currPos++;
|
|
4275
4302
|
} else {
|
|
4276
4303
|
s1 = peg$FAILED;
|
|
4277
|
-
if (peg$silentFails === 0) { peg$fail(peg$
|
|
4304
|
+
if (peg$silentFails === 0) { peg$fail(peg$c83); }
|
|
4278
4305
|
}
|
|
4279
4306
|
if (s1 === peg$FAILED) {
|
|
4280
|
-
if (peg$
|
|
4307
|
+
if (peg$c89.test(input.charAt(peg$currPos))) {
|
|
4281
4308
|
s1 = input.charAt(peg$currPos);
|
|
4282
4309
|
peg$currPos++;
|
|
4283
4310
|
} else {
|
|
4284
4311
|
s1 = peg$FAILED;
|
|
4285
|
-
if (peg$silentFails === 0) { peg$fail(peg$
|
|
4312
|
+
if (peg$silentFails === 0) { peg$fail(peg$c90); }
|
|
4286
4313
|
}
|
|
4287
4314
|
if (s1 === peg$FAILED) {
|
|
4288
4315
|
s1 = peg$parsePLX();
|
|
@@ -4294,11 +4321,11 @@
|
|
|
4294
4321
|
s3 = peg$parsePN_CHARS();
|
|
4295
4322
|
if (s3 === peg$FAILED) {
|
|
4296
4323
|
if (input.charCodeAt(peg$currPos) === 58) {
|
|
4297
|
-
s3 = peg$
|
|
4324
|
+
s3 = peg$c82;
|
|
4298
4325
|
peg$currPos++;
|
|
4299
4326
|
} else {
|
|
4300
4327
|
s3 = peg$FAILED;
|
|
4301
|
-
if (peg$silentFails === 0) { peg$fail(peg$
|
|
4328
|
+
if (peg$silentFails === 0) { peg$fail(peg$c83); }
|
|
4302
4329
|
}
|
|
4303
4330
|
if (s3 === peg$FAILED) {
|
|
4304
4331
|
s3 = peg$parsePLX();
|
|
@@ -4309,11 +4336,11 @@
|
|
|
4309
4336
|
s3 = peg$parsePN_CHARS();
|
|
4310
4337
|
if (s3 === peg$FAILED) {
|
|
4311
4338
|
if (input.charCodeAt(peg$currPos) === 58) {
|
|
4312
|
-
s3 = peg$
|
|
4339
|
+
s3 = peg$c82;
|
|
4313
4340
|
peg$currPos++;
|
|
4314
4341
|
} else {
|
|
4315
4342
|
s3 = peg$FAILED;
|
|
4316
|
-
if (peg$silentFails === 0) { peg$fail(peg$
|
|
4343
|
+
if (peg$silentFails === 0) { peg$fail(peg$c83); }
|
|
4317
4344
|
}
|
|
4318
4345
|
if (s3 === peg$FAILED) {
|
|
4319
4346
|
s3 = peg$parsePLX();
|
|
@@ -4325,21 +4352,21 @@
|
|
|
4325
4352
|
s4 = peg$currPos;
|
|
4326
4353
|
s5 = [];
|
|
4327
4354
|
if (input.charCodeAt(peg$currPos) === 46) {
|
|
4328
|
-
s6 = peg$
|
|
4355
|
+
s6 = peg$c3;
|
|
4329
4356
|
peg$currPos++;
|
|
4330
4357
|
} else {
|
|
4331
4358
|
s6 = peg$FAILED;
|
|
4332
|
-
if (peg$silentFails === 0) { peg$fail(peg$
|
|
4359
|
+
if (peg$silentFails === 0) { peg$fail(peg$c4); }
|
|
4333
4360
|
}
|
|
4334
4361
|
if (s6 !== peg$FAILED) {
|
|
4335
4362
|
while (s6 !== peg$FAILED) {
|
|
4336
4363
|
s5.push(s6);
|
|
4337
4364
|
if (input.charCodeAt(peg$currPos) === 46) {
|
|
4338
|
-
s6 = peg$
|
|
4365
|
+
s6 = peg$c3;
|
|
4339
4366
|
peg$currPos++;
|
|
4340
4367
|
} else {
|
|
4341
4368
|
s6 = peg$FAILED;
|
|
4342
|
-
if (peg$silentFails === 0) { peg$fail(peg$
|
|
4369
|
+
if (peg$silentFails === 0) { peg$fail(peg$c4); }
|
|
4343
4370
|
}
|
|
4344
4371
|
}
|
|
4345
4372
|
} else {
|
|
@@ -4350,11 +4377,11 @@
|
|
|
4350
4377
|
s7 = peg$parsePN_CHARS();
|
|
4351
4378
|
if (s7 === peg$FAILED) {
|
|
4352
4379
|
if (input.charCodeAt(peg$currPos) === 58) {
|
|
4353
|
-
s7 = peg$
|
|
4380
|
+
s7 = peg$c82;
|
|
4354
4381
|
peg$currPos++;
|
|
4355
4382
|
} else {
|
|
4356
4383
|
s7 = peg$FAILED;
|
|
4357
|
-
if (peg$silentFails === 0) { peg$fail(peg$
|
|
4384
|
+
if (peg$silentFails === 0) { peg$fail(peg$c83); }
|
|
4358
4385
|
}
|
|
4359
4386
|
if (s7 === peg$FAILED) {
|
|
4360
4387
|
s7 = peg$parsePLX();
|
|
@@ -4366,11 +4393,11 @@
|
|
|
4366
4393
|
s7 = peg$parsePN_CHARS();
|
|
4367
4394
|
if (s7 === peg$FAILED) {
|
|
4368
4395
|
if (input.charCodeAt(peg$currPos) === 58) {
|
|
4369
|
-
s7 = peg$
|
|
4396
|
+
s7 = peg$c82;
|
|
4370
4397
|
peg$currPos++;
|
|
4371
4398
|
} else {
|
|
4372
4399
|
s7 = peg$FAILED;
|
|
4373
|
-
if (peg$silentFails === 0) { peg$fail(peg$
|
|
4400
|
+
if (peg$silentFails === 0) { peg$fail(peg$c83); }
|
|
4374
4401
|
}
|
|
4375
4402
|
if (s7 === peg$FAILED) {
|
|
4376
4403
|
s7 = peg$parsePLX();
|
|
@@ -4382,7 +4409,7 @@
|
|
|
4382
4409
|
}
|
|
4383
4410
|
if (s6 !== peg$FAILED) {
|
|
4384
4411
|
peg$savedPos = s4;
|
|
4385
|
-
s5 = peg$
|
|
4412
|
+
s5 = peg$c181(s1, s2, s5, s6);
|
|
4386
4413
|
s4 = s5;
|
|
4387
4414
|
} else {
|
|
4388
4415
|
peg$currPos = s4;
|
|
@@ -4397,21 +4424,21 @@
|
|
|
4397
4424
|
s4 = peg$currPos;
|
|
4398
4425
|
s5 = [];
|
|
4399
4426
|
if (input.charCodeAt(peg$currPos) === 46) {
|
|
4400
|
-
s6 = peg$
|
|
4427
|
+
s6 = peg$c3;
|
|
4401
4428
|
peg$currPos++;
|
|
4402
4429
|
} else {
|
|
4403
4430
|
s6 = peg$FAILED;
|
|
4404
|
-
if (peg$silentFails === 0) { peg$fail(peg$
|
|
4431
|
+
if (peg$silentFails === 0) { peg$fail(peg$c4); }
|
|
4405
4432
|
}
|
|
4406
4433
|
if (s6 !== peg$FAILED) {
|
|
4407
4434
|
while (s6 !== peg$FAILED) {
|
|
4408
4435
|
s5.push(s6);
|
|
4409
4436
|
if (input.charCodeAt(peg$currPos) === 46) {
|
|
4410
|
-
s6 = peg$
|
|
4437
|
+
s6 = peg$c3;
|
|
4411
4438
|
peg$currPos++;
|
|
4412
4439
|
} else {
|
|
4413
4440
|
s6 = peg$FAILED;
|
|
4414
|
-
if (peg$silentFails === 0) { peg$fail(peg$
|
|
4441
|
+
if (peg$silentFails === 0) { peg$fail(peg$c4); }
|
|
4415
4442
|
}
|
|
4416
4443
|
}
|
|
4417
4444
|
} else {
|
|
@@ -4422,11 +4449,11 @@
|
|
|
4422
4449
|
s7 = peg$parsePN_CHARS();
|
|
4423
4450
|
if (s7 === peg$FAILED) {
|
|
4424
4451
|
if (input.charCodeAt(peg$currPos) === 58) {
|
|
4425
|
-
s7 = peg$
|
|
4452
|
+
s7 = peg$c82;
|
|
4426
4453
|
peg$currPos++;
|
|
4427
4454
|
} else {
|
|
4428
4455
|
s7 = peg$FAILED;
|
|
4429
|
-
if (peg$silentFails === 0) { peg$fail(peg$
|
|
4456
|
+
if (peg$silentFails === 0) { peg$fail(peg$c83); }
|
|
4430
4457
|
}
|
|
4431
4458
|
if (s7 === peg$FAILED) {
|
|
4432
4459
|
s7 = peg$parsePLX();
|
|
@@ -4438,11 +4465,11 @@
|
|
|
4438
4465
|
s7 = peg$parsePN_CHARS();
|
|
4439
4466
|
if (s7 === peg$FAILED) {
|
|
4440
4467
|
if (input.charCodeAt(peg$currPos) === 58) {
|
|
4441
|
-
s7 = peg$
|
|
4468
|
+
s7 = peg$c82;
|
|
4442
4469
|
peg$currPos++;
|
|
4443
4470
|
} else {
|
|
4444
4471
|
s7 = peg$FAILED;
|
|
4445
|
-
if (peg$silentFails === 0) { peg$fail(peg$
|
|
4472
|
+
if (peg$silentFails === 0) { peg$fail(peg$c83); }
|
|
4446
4473
|
}
|
|
4447
4474
|
if (s7 === peg$FAILED) {
|
|
4448
4475
|
s7 = peg$parsePLX();
|
|
@@ -4454,7 +4481,7 @@
|
|
|
4454
4481
|
}
|
|
4455
4482
|
if (s6 !== peg$FAILED) {
|
|
4456
4483
|
peg$savedPos = s4;
|
|
4457
|
-
s5 = peg$
|
|
4484
|
+
s5 = peg$c181(s1, s2, s5, s6);
|
|
4458
4485
|
s4 = s5;
|
|
4459
4486
|
} else {
|
|
4460
4487
|
peg$currPos = s4;
|
|
@@ -4467,7 +4494,7 @@
|
|
|
4467
4494
|
}
|
|
4468
4495
|
if (s3 !== peg$FAILED) {
|
|
4469
4496
|
peg$savedPos = s0;
|
|
4470
|
-
s1 = peg$
|
|
4497
|
+
s1 = peg$c182(s1, s2, s3);
|
|
4471
4498
|
s0 = s1;
|
|
4472
4499
|
} else {
|
|
4473
4500
|
peg$currPos = s0;
|
|
@@ -4502,11 +4529,11 @@
|
|
|
4502
4529
|
s0 = peg$currPos;
|
|
4503
4530
|
s1 = peg$currPos;
|
|
4504
4531
|
if (input.charCodeAt(peg$currPos) === 37) {
|
|
4505
|
-
s2 = peg$
|
|
4532
|
+
s2 = peg$c183;
|
|
4506
4533
|
peg$currPos++;
|
|
4507
4534
|
} else {
|
|
4508
4535
|
s2 = peg$FAILED;
|
|
4509
|
-
if (peg$silentFails === 0) { peg$fail(peg$
|
|
4536
|
+
if (peg$silentFails === 0) { peg$fail(peg$c184); }
|
|
4510
4537
|
}
|
|
4511
4538
|
if (s2 !== peg$FAILED) {
|
|
4512
4539
|
s3 = peg$parseHEX();
|
|
@@ -4539,12 +4566,12 @@
|
|
|
4539
4566
|
function peg$parseHEX() {
|
|
4540
4567
|
var s0;
|
|
4541
4568
|
|
|
4542
|
-
if (peg$
|
|
4569
|
+
if (peg$c185.test(input.charAt(peg$currPos))) {
|
|
4543
4570
|
s0 = input.charAt(peg$currPos);
|
|
4544
4571
|
peg$currPos++;
|
|
4545
4572
|
} else {
|
|
4546
4573
|
s0 = peg$FAILED;
|
|
4547
|
-
if (peg$silentFails === 0) { peg$fail(peg$
|
|
4574
|
+
if (peg$silentFails === 0) { peg$fail(peg$c186); }
|
|
4548
4575
|
}
|
|
4549
4576
|
|
|
4550
4577
|
return s0;
|
|
@@ -4555,23 +4582,23 @@
|
|
|
4555
4582
|
|
|
4556
4583
|
s0 = peg$currPos;
|
|
4557
4584
|
if (input.charCodeAt(peg$currPos) === 92) {
|
|
4558
|
-
s1 = peg$
|
|
4585
|
+
s1 = peg$c187;
|
|
4559
4586
|
peg$currPos++;
|
|
4560
4587
|
} else {
|
|
4561
4588
|
s1 = peg$FAILED;
|
|
4562
|
-
if (peg$silentFails === 0) { peg$fail(peg$
|
|
4589
|
+
if (peg$silentFails === 0) { peg$fail(peg$c188); }
|
|
4563
4590
|
}
|
|
4564
4591
|
if (s1 !== peg$FAILED) {
|
|
4565
|
-
if (peg$
|
|
4592
|
+
if (peg$c189.test(input.charAt(peg$currPos))) {
|
|
4566
4593
|
s2 = input.charAt(peg$currPos);
|
|
4567
4594
|
peg$currPos++;
|
|
4568
4595
|
} else {
|
|
4569
4596
|
s2 = peg$FAILED;
|
|
4570
|
-
if (peg$silentFails === 0) { peg$fail(peg$
|
|
4597
|
+
if (peg$silentFails === 0) { peg$fail(peg$c190); }
|
|
4571
4598
|
}
|
|
4572
4599
|
if (s2 !== peg$FAILED) {
|
|
4573
4600
|
peg$savedPos = s0;
|
|
4574
|
-
s1 = peg$
|
|
4601
|
+
s1 = peg$c5(s2);
|
|
4575
4602
|
s0 = s1;
|
|
4576
4603
|
} else {
|
|
4577
4604
|
peg$currPos = s0;
|
|
@@ -4586,8 +4613,6 @@
|
|
|
4586
4613
|
}
|
|
4587
4614
|
|
|
4588
4615
|
|
|
4589
|
-
var isBrowser=new Function("try {return this===window;}catch(e){ return false;}");
|
|
4590
|
-
var URL = isBrowser() ? window.URL : require("url").URL;
|
|
4591
4616
|
var isIRI = function(a){return a.match(/^[a-z](.*?):(.+?)/g);};
|
|
4592
4617
|
function createObject(property,value){var a={};a[property]=value;return a;}
|
|
4593
4618
|
var context = {
|