ebnf 0.2.1 → 0.2.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,112 +1,29 @@
1
- ((rule ebnf "1" (star (alt declaration rule)))
2
- (rule
3
- declaration
4
- "2"
5
- (alt "@terminals" pass)
6
- )
1
+
2
+ (
3
+ (rule ebnf "1" (star (alt declaration rule)))
4
+ (rule declaration "2" (alt "@terminals" pass))
7
5
  (rule rule "3" (seq lhs "::=" expression))
8
6
  (rule lhs "4" (seq "[" SYMBOL "]" SYMBOL))
9
7
  (rule expression "5" (seq alt))
10
8
  (rule alt "6" (seq seq (star (seq "|" seq))))
11
9
  (rule seq "7" (plus diff))
12
- (rule
13
- diff
14
- "8"
15
- (seq postfix (star (seq "-" postfix)))
16
- )
17
- (rule
18
- postfix
19
- "9"
20
- (seq primary (opt (range "?*+")))
21
- )
22
- (rule
23
- primary
24
- "10"
25
- (alt
26
- HEX
27
- RANGE
28
- ENUM
29
- O_RANGE
30
- O_ENUM
31
- STRING1
32
- STRING2
33
- (seq "(" expression ")")
34
- )
35
- )
36
- (rule
37
- pass
38
- "11"
39
- (seq
40
- "@pass"
41
- (plus
42
- (alt
43
- (range "#x20\\t\\r\\n")
44
- (seq (alt "#" "//") (star (range "^\\r\\n")))
45
- (seq
46
- "/*"
47
- (star (alt (range "^*") (seq "*" (range "^/"))))
48
- "*/"
49
- )
50
- )
51
- )
52
- )
53
- )
54
- (terminal
55
- SYMBOL
56
- "12"
57
- (plus
58
- (alt
59
- (range "a-z")
60
- (range "A-Z")
61
- (range "0-9")
62
- "_"
63
- "."
64
- )
65
- )
66
- )
67
- (terminal
68
- HEX
69
- "13"
70
- (seq
71
- "#x"
72
- (plus
73
- (alt (range "0-9") (range "a-f") (range "A-F"))
74
- )
75
- )
76
- )
77
- (terminal
78
- RANGE
79
- "14"
80
- (seq "[" CHAR "-" CHAR "]")
81
- )
10
+ (rule diff "8" (seq postfix (star (seq "-" postfix))))
11
+ (rule postfix "9" (seq primary (opt (range "?*+"))))
12
+ (rule primary "10"
13
+ (alt HEX RANGE ENUM O_RANGE O_ENUM STRING1 STRING2 (seq "(" expression ")")))
14
+ (rule pass "11"
15
+ (seq "@pass"
16
+ (plus
17
+ (alt
18
+ (range "#x20\\t\\r\\n")
19
+ (seq (alt "#" "//") (star (range "^\\r\\n")))
20
+ (seq "/*" (star (alt (range "^*") (seq "*" (range "^/")))) "*/")))))
21
+ (terminal SYMBOL "12" (plus (alt (range "a-z") (range "A-Z") (range "0-9") "_" ".")))
22
+ (terminal HEX "13" (seq "#x" (plus (alt (range "0-9") (range "a-f") (range "A-F")))))
23
+ (terminal RANGE "14" (seq "[" CHAR "-" CHAR "]"))
82
24
  (terminal ENUM "15" (seq "[" (plus CHAR) "]"))
83
- (terminal
84
- O_RANGE
85
- "16"
86
- (seq "[^" CHAR "-" CHAR "]")
87
- )
88
- (terminal
89
- O_ENUM
90
- "17"
91
- (seq "[^" (plus CHAR) "]")
92
- )
93
- (terminal
94
- STRING1
95
- "18"
96
- (seq "\"" (star (diff CHAR "\"")) "\"")
97
- )
98
- (terminal
99
- STRING2
100
- "19"
101
- (seq "'" (star (diff CHAR "'")) "'")
102
- )
103
- (terminal
104
- CHAR
105
- "20"
106
- (alt
107
- HEX
108
- (seq "\\\\" (range "\\\\trn'\""))
109
- (range "^\\t\\r\\n'\"")
110
- )
111
- )
112
- )
25
+ (terminal O_RANGE "16" (seq "[^" CHAR "-" CHAR "]"))
26
+ (terminal O_ENUM "17" (seq "[^" (plus CHAR) "]"))
27
+ (terminal STRING1 "18" (seq "\"" (star (diff CHAR "\"")) "\""))
28
+ (terminal STRING2 "19" (seq "'" (star (diff CHAR "'")) "'"))
29
+ (terminal CHAR "20" (alt HEX (seq "\\\\" (range "\\\\trn'\"")) (range "^\\t\\r\\n'\""))))
@@ -1,1663 +1,414 @@
1
- ((rule
2
- _empty
3
- "0"
4
- (first _eps)
5
- (follow
6
- "("
7
- ")"
8
- ","
9
- "."
10
- ";"
11
- ANON
12
- BLANK_NODE_LABEL
13
- DECIMAL
14
- DOUBLE
15
- INTEGER
16
- IRIREF
17
- PNAME_LN
18
- PNAME_NS
19
- STRING_LITERAL_LONG_QUOTE
20
- STRING_LITERAL_LONG_SINGLE_QUOTE
21
- STRING_LITERAL_QUOTE
22
- STRING_LITERAL_SINGLE_QUOTE
23
- "["
24
- "]"
25
- _eof
26
- "false"
27
- "true"
28
- )
29
- (seq)
30
- )
31
- (rule
32
- turtleDoc
33
- "1"
34
- (start #t)
35
- (first
36
- "("
37
- "@base"
38
- "@prefix"
39
- ANON
40
- BLANK_NODE_LABEL
41
- IRIREF
42
- PNAME_LN
43
- PNAME_NS
44
- SPARQL_BASE
45
- SPARQL_PREFIX
46
- "["
47
- _eps
48
- )
49
- (follow _eof)
50
- (alt _empty _turtleDoc_1)
51
- )
52
- (rule
53
- _turtleDoc_1
54
- "1.1"
55
- (first
56
- "("
57
- "@base"
58
- "@prefix"
59
- ANON
60
- BLANK_NODE_LABEL
61
- IRIREF
62
- PNAME_LN
63
- PNAME_NS
64
- SPARQL_BASE
65
- SPARQL_PREFIX
66
- "["
67
- )
68
- (follow _eof)
69
- (seq statement turtleDoc)
70
- )
71
- (rule
72
- _turtleDoc_2
73
- "1.2"
74
- (first
75
- "("
76
- "@base"
77
- "@prefix"
78
- ANON
79
- BLANK_NODE_LABEL
80
- IRIREF
81
- PNAME_LN
82
- PNAME_NS
83
- SPARQL_BASE
84
- SPARQL_PREFIX
85
- "["
86
- _eps
87
- )
88
- (follow _eof)
89
- (seq turtleDoc)
90
- )
91
- (rule
92
- statement
93
- "2"
94
- (first
95
- "("
96
- "@base"
97
- "@prefix"
98
- ANON
99
- BLANK_NODE_LABEL
100
- IRIREF
101
- PNAME_LN
102
- PNAME_NS
103
- SPARQL_BASE
104
- SPARQL_PREFIX
105
- "["
106
- )
107
- (follow
108
- "("
109
- "@base"
110
- "@prefix"
111
- ANON
112
- BLANK_NODE_LABEL
113
- IRIREF
114
- PNAME_LN
115
- PNAME_NS
116
- SPARQL_BASE
117
- SPARQL_PREFIX
118
- "["
119
- _eof
120
- )
121
- (alt directive _statement_1)
122
- )
123
- (rule
124
- _statement_1
125
- "2.1"
126
- (first
127
- "("
128
- ANON
129
- BLANK_NODE_LABEL
130
- IRIREF
131
- PNAME_LN
132
- PNAME_NS
133
- "["
134
- )
135
- (follow
136
- "("
137
- "@base"
138
- "@prefix"
139
- ANON
140
- BLANK_NODE_LABEL
141
- IRIREF
142
- PNAME_LN
143
- PNAME_NS
144
- SPARQL_BASE
145
- SPARQL_PREFIX
146
- "["
147
- _eof
148
- )
149
- (seq triples ".")
150
- )
151
- (rule
152
- _statement_2
153
- "2.2"
154
- (first ".")
155
- (follow
156
- "("
157
- "@base"
158
- "@prefix"
159
- ANON
160
- BLANK_NODE_LABEL
161
- IRIREF
162
- PNAME_LN
163
- PNAME_NS
164
- SPARQL_BASE
165
- SPARQL_PREFIX
166
- "["
167
- _eof
168
- )
169
- (seq ".")
170
- )
171
- (rule
172
- directive
173
- "3"
174
- (first
175
- "@base"
176
- "@prefix"
177
- SPARQL_BASE
178
- SPARQL_PREFIX
179
- )
180
- (follow
181
- "("
182
- "@base"
183
- "@prefix"
184
- ANON
185
- BLANK_NODE_LABEL
186
- IRIREF
187
- PNAME_LN
188
- PNAME_NS
189
- SPARQL_BASE
190
- SPARQL_PREFIX
191
- "["
192
- _eof
193
- )
194
- (alt
195
- prefixID
196
- base
197
- sparqlPrefix
198
- sparqlBase
199
- )
200
- )
201
- (rule
202
- prefixID
203
- "4"
204
- (first "@prefix")
205
- (follow
206
- "("
207
- "@base"
208
- "@prefix"
209
- ANON
210
- BLANK_NODE_LABEL
211
- IRIREF
212
- PNAME_LN
213
- PNAME_NS
214
- SPARQL_BASE
215
- SPARQL_PREFIX
216
- "["
217
- _eof
218
- )
219
- (seq "@prefix" PNAME_NS IRIREF ".")
220
- )
221
- (rule
222
- _prefixID_1
223
- "4.1"
224
- (first PNAME_NS)
225
- (follow
226
- "("
227
- "@base"
228
- "@prefix"
229
- ANON
230
- BLANK_NODE_LABEL
231
- IRIREF
232
- PNAME_LN
233
- PNAME_NS
234
- SPARQL_BASE
235
- SPARQL_PREFIX
236
- "["
237
- _eof
238
- )
239
- (seq PNAME_NS IRIREF ".")
240
- )
241
- (rule
242
- base
243
- "5"
244
- (first "@base")
245
- (follow
246
- "("
247
- "@base"
248
- "@prefix"
249
- ANON
250
- BLANK_NODE_LABEL
251
- IRIREF
252
- PNAME_LN
253
- PNAME_NS
254
- SPARQL_BASE
255
- SPARQL_PREFIX
256
- "["
257
- _eof
258
- )
259
- (seq "@base" IRIREF ".")
260
- )
261
- (rule
262
- _base_1
263
- "5.1"
264
- (first IRIREF)
265
- (follow
266
- "("
267
- "@base"
268
- "@prefix"
269
- ANON
270
- BLANK_NODE_LABEL
271
- IRIREF
272
- PNAME_LN
273
- PNAME_NS
274
- SPARQL_BASE
275
- SPARQL_PREFIX
276
- "["
277
- _eof
278
- )
279
- (seq IRIREF ".")
280
- )
281
- (rule
282
- triples
283
- "6"
284
- (first
285
- "("
286
- ANON
287
- BLANK_NODE_LABEL
288
- IRIREF
289
- PNAME_LN
290
- PNAME_NS
291
- "["
292
- )
293
- (follow ".")
294
- (alt _triples_1 _triples_2)
295
- )
296
- (rule
297
- _triples_1
298
- "6.1"
299
- (first
300
- "("
301
- ANON
302
- BLANK_NODE_LABEL
303
- IRIREF
304
- PNAME_LN
305
- PNAME_NS
306
- )
307
- (follow ".")
308
- (seq subject predicateObjectList)
309
- )
310
- (rule
311
- _triples_2
312
- "6.2"
313
- (first "[")
314
- (follow ".")
315
- (seq blankNodePropertyList _triples_3)
316
- )
317
- (rule
318
- _triples_3
319
- "6.3"
320
- (first IRIREF PNAME_LN PNAME_NS _eps "a")
321
- (follow ".")
322
- (alt _empty predicateObjectList)
323
- )
324
- (rule
325
- _triples_4
326
- "6.4"
327
- (first IRIREF PNAME_LN PNAME_NS "a")
328
- (follow ".")
329
- (seq predicateObjectList)
330
- )
331
- (rule
332
- _triples_5
333
- "6.5"
334
- (first IRIREF PNAME_LN PNAME_NS _eps "a")
335
- (follow ".")
336
- (seq _triples_3)
337
- )
338
- (rule
339
- predicateObjectList
340
- "7"
341
- (first IRIREF PNAME_LN PNAME_NS "a")
342
- (follow "." "]")
343
- (seq
344
- verb
345
- objectList
346
- _predicateObjectList_1
347
- )
348
- )
349
- (rule
350
- _predicateObjectList_1
351
- "7.1"
352
- (first ";" _eps)
353
- (alt _empty _predicateObjectList_3)
354
- )
355
- (rule
356
- _predicateObjectList_2
357
- "7.2"
358
- (first ";")
359
- (follow ";")
360
- (seq ";" _predicateObjectList_4)
361
- )
362
- (rule
363
- _predicateObjectList_3
364
- "7.3"
365
- (first ";")
366
- (seq
367
- _predicateObjectList_2
368
- _predicateObjectList_1
369
- )
370
- )
371
- (rule
372
- _predicateObjectList_4
373
- "7.4"
374
- (first IRIREF PNAME_LN PNAME_NS _eps "a")
375
- (follow ";")
376
- (alt _empty _predicateObjectList_5)
377
- )
378
- (rule
379
- _predicateObjectList_5
380
- "7.5"
381
- (first IRIREF PNAME_LN PNAME_NS "a")
382
- (follow ";")
383
- (seq verb objectList)
384
- )
385
- (rule
386
- _predicateObjectList_6
387
- "7.6"
388
- (first
389
- "("
390
- ANON
391
- BLANK_NODE_LABEL
392
- DECIMAL
393
- DOUBLE
394
- INTEGER
395
- IRIREF
396
- PNAME_LN
397
- PNAME_NS
398
- STRING_LITERAL_LONG_QUOTE
399
- STRING_LITERAL_LONG_SINGLE_QUOTE
400
- STRING_LITERAL_QUOTE
401
- STRING_LITERAL_SINGLE_QUOTE
402
- "["
403
- "false"
404
- "true"
405
- )
406
- (follow "." "]")
407
- (seq objectList _predicateObjectList_1)
408
- )
409
- (rule
410
- _predicateObjectList_7
411
- "7.7"
412
- (first ";" _eps)
413
- (seq _predicateObjectList_1)
414
- )
415
- (rule
416
- _predicateObjectList_8
417
- "7.8"
418
- (first IRIREF PNAME_LN PNAME_NS _eps "a")
419
- (follow ";")
420
- (seq _predicateObjectList_4)
421
- )
422
- (rule
423
- _predicateObjectList_9
424
- "7.9"
425
- (first
426
- "("
427
- ANON
428
- BLANK_NODE_LABEL
429
- DECIMAL
430
- DOUBLE
431
- INTEGER
432
- IRIREF
433
- PNAME_LN
434
- PNAME_NS
435
- STRING_LITERAL_LONG_QUOTE
436
- STRING_LITERAL_LONG_SINGLE_QUOTE
437
- STRING_LITERAL_QUOTE
438
- STRING_LITERAL_SINGLE_QUOTE
439
- "["
440
- "false"
441
- "true"
442
- )
443
- (follow ";")
444
- (seq objectList)
445
- )
446
- (rule
447
- objectList
448
- "8"
449
- (first
450
- "("
451
- ANON
452
- BLANK_NODE_LABEL
453
- DECIMAL
454
- DOUBLE
455
- INTEGER
456
- IRIREF
457
- PNAME_LN
458
- PNAME_NS
459
- STRING_LITERAL_LONG_QUOTE
460
- STRING_LITERAL_LONG_SINGLE_QUOTE
461
- STRING_LITERAL_QUOTE
462
- STRING_LITERAL_SINGLE_QUOTE
463
- "["
464
- "false"
465
- "true"
466
- )
467
- (follow "." ";" "]")
468
- (seq object _objectList_1)
469
- )
470
- (rule
471
- _objectList_1
472
- "8.1"
473
- (first "," _eps)
474
- (follow "." ";" "]")
475
- (alt _empty _objectList_3)
476
- )
477
- (rule
478
- _objectList_2
479
- "8.2"
480
- (first ",")
481
- (follow "," "." ";" "]")
482
- (seq "," object)
483
- )
484
- (rule
485
- _objectList_3
486
- "8.3"
487
- (first ",")
488
- (follow "." ";" "]")
489
- (seq _objectList_2 _objectList_1)
490
- )
491
- (rule
492
- _objectList_4
493
- "8.4"
494
- (first "," _eps)
495
- (follow "." ";" "]")
496
- (seq _objectList_1)
497
- )
498
- (rule
499
- _objectList_5
500
- "8.5"
501
- (first "," _eps)
502
- (follow "." ";" "]")
503
- (seq _objectList_1)
504
- )
505
- (rule
506
- _objectList_6
507
- "8.6"
508
- (first
509
- "("
510
- ANON
511
- BLANK_NODE_LABEL
512
- DECIMAL
513
- DOUBLE
514
- INTEGER
515
- IRIREF
516
- PNAME_LN
517
- PNAME_NS
518
- STRING_LITERAL_LONG_QUOTE
519
- STRING_LITERAL_LONG_SINGLE_QUOTE
520
- STRING_LITERAL_QUOTE
521
- STRING_LITERAL_SINGLE_QUOTE
522
- "["
523
- "false"
524
- "true"
525
- )
526
- (follow "," "." ";" "]")
527
- (seq object)
528
- )
529
- (rule
530
- verb
531
- "9"
532
- (first IRIREF PNAME_LN PNAME_NS "a")
533
- (follow
534
- "("
535
- ANON
536
- BLANK_NODE_LABEL
537
- DECIMAL
538
- DOUBLE
539
- INTEGER
540
- IRIREF
541
- PNAME_LN
542
- PNAME_NS
543
- STRING_LITERAL_LONG_QUOTE
544
- STRING_LITERAL_LONG_SINGLE_QUOTE
545
- STRING_LITERAL_QUOTE
546
- STRING_LITERAL_SINGLE_QUOTE
547
- "["
548
- "false"
549
- "true"
550
- )
551
- (alt predicate "a")
552
- )
553
- (rule
554
- subject
555
- "10"
556
- (first
557
- "("
558
- ANON
559
- BLANK_NODE_LABEL
560
- IRIREF
561
- PNAME_LN
562
- PNAME_NS
563
- )
564
- (follow IRIREF PNAME_LN PNAME_NS "a")
565
- (alt iri BlankNode collection)
566
- )
567
- (rule
568
- predicate
569
- "11"
570
- (first IRIREF PNAME_LN PNAME_NS)
571
- (follow
572
- "("
573
- ANON
574
- BLANK_NODE_LABEL
575
- DECIMAL
576
- DOUBLE
577
- INTEGER
578
- IRIREF
579
- PNAME_LN
580
- PNAME_NS
581
- STRING_LITERAL_LONG_QUOTE
582
- STRING_LITERAL_LONG_SINGLE_QUOTE
583
- STRING_LITERAL_QUOTE
584
- STRING_LITERAL_SINGLE_QUOTE
585
- "["
586
- "false"
587
- "true"
588
- )
589
- (seq iri)
590
- )
591
- (rule
592
- object
593
- "12"
594
- (first
595
- "("
596
- ANON
597
- BLANK_NODE_LABEL
598
- DECIMAL
599
- DOUBLE
600
- INTEGER
601
- IRIREF
602
- PNAME_LN
603
- PNAME_NS
604
- STRING_LITERAL_LONG_QUOTE
605
- STRING_LITERAL_LONG_SINGLE_QUOTE
606
- STRING_LITERAL_QUOTE
607
- STRING_LITERAL_SINGLE_QUOTE
608
- "["
609
- "false"
610
- "true"
611
- )
612
- (follow
613
- "("
614
- ")"
615
- ","
616
- "."
617
- ";"
618
- ANON
619
- BLANK_NODE_LABEL
620
- DECIMAL
621
- DOUBLE
622
- INTEGER
623
- IRIREF
624
- PNAME_LN
625
- PNAME_NS
626
- STRING_LITERAL_LONG_QUOTE
627
- STRING_LITERAL_LONG_SINGLE_QUOTE
628
- STRING_LITERAL_QUOTE
629
- STRING_LITERAL_SINGLE_QUOTE
630
- "["
631
- "]"
632
- "false"
633
- "true"
634
- )
635
- (alt
636
- iri
637
- BlankNode
638
- collection
639
- blankNodePropertyList
640
- literal
641
- )
642
- )
643
- (rule
644
- literal
645
- "13"
646
- (first
647
- DECIMAL
648
- DOUBLE
649
- INTEGER
650
- STRING_LITERAL_LONG_QUOTE
651
- STRING_LITERAL_LONG_SINGLE_QUOTE
652
- STRING_LITERAL_QUOTE
653
- STRING_LITERAL_SINGLE_QUOTE
654
- "false"
655
- "true"
656
- )
657
- (follow
658
- "("
659
- ")"
660
- ","
661
- "."
662
- ";"
663
- ANON
664
- BLANK_NODE_LABEL
665
- DECIMAL
666
- DOUBLE
667
- INTEGER
668
- IRIREF
669
- PNAME_LN
670
- PNAME_NS
671
- STRING_LITERAL_LONG_QUOTE
672
- STRING_LITERAL_LONG_SINGLE_QUOTE
673
- STRING_LITERAL_QUOTE
674
- STRING_LITERAL_SINGLE_QUOTE
675
- "["
676
- "]"
677
- "false"
678
- "true"
679
- )
680
- (alt
681
- RDFLiteral
682
- NumericLiteral
683
- BooleanLiteral
684
- )
685
- )
686
- (rule
687
- blankNodePropertyList
688
- "14"
689
- (first "[")
690
- (follow
691
- "("
692
- ")"
693
- ","
694
- "."
695
- ";"
696
- ANON
697
- BLANK_NODE_LABEL
698
- DECIMAL
699
- DOUBLE
700
- INTEGER
701
- IRIREF
702
- PNAME_LN
703
- PNAME_NS
704
- STRING_LITERAL_LONG_QUOTE
705
- STRING_LITERAL_LONG_SINGLE_QUOTE
706
- STRING_LITERAL_QUOTE
707
- STRING_LITERAL_SINGLE_QUOTE
708
- "["
709
- "]"
710
- "a"
711
- "false"
712
- "true"
713
- )
714
- (seq "[" predicateObjectList "]")
715
- )
716
- (rule
717
- _blankNodePropertyList_1
718
- "14.1"
719
- (first IRIREF PNAME_LN PNAME_NS "a")
720
- (follow
721
- "("
722
- ")"
723
- ","
724
- "."
725
- ";"
726
- ANON
727
- BLANK_NODE_LABEL
728
- DECIMAL
729
- DOUBLE
730
- INTEGER
731
- IRIREF
732
- PNAME_LN
733
- PNAME_NS
734
- STRING_LITERAL_LONG_QUOTE
735
- STRING_LITERAL_LONG_SINGLE_QUOTE
736
- STRING_LITERAL_QUOTE
737
- STRING_LITERAL_SINGLE_QUOTE
738
- "["
739
- "]"
740
- "a"
741
- "false"
742
- "true"
743
- )
744
- (seq predicateObjectList "]")
745
- )
746
- (rule
747
- _blankNodePropertyList_2
748
- "14.2"
749
- (first "]")
750
- (follow
751
- "("
752
- ")"
753
- ","
754
- "."
755
- ";"
756
- ANON
757
- BLANK_NODE_LABEL
758
- DECIMAL
759
- DOUBLE
760
- INTEGER
761
- IRIREF
762
- PNAME_LN
763
- PNAME_NS
764
- STRING_LITERAL_LONG_QUOTE
765
- STRING_LITERAL_LONG_SINGLE_QUOTE
766
- STRING_LITERAL_QUOTE
767
- STRING_LITERAL_SINGLE_QUOTE
768
- "["
769
- "]"
770
- "a"
771
- "false"
772
- "true"
773
- )
774
- (seq "]")
775
- )
776
- (rule
777
- collection
778
- "15"
779
- (first "(")
780
- (follow
781
- "("
782
- ")"
783
- ","
784
- "."
785
- ";"
786
- ANON
787
- BLANK_NODE_LABEL
788
- DECIMAL
789
- DOUBLE
790
- INTEGER
791
- IRIREF
792
- PNAME_LN
793
- PNAME_NS
794
- STRING_LITERAL_LONG_QUOTE
795
- STRING_LITERAL_LONG_SINGLE_QUOTE
796
- STRING_LITERAL_QUOTE
797
- STRING_LITERAL_SINGLE_QUOTE
798
- "["
799
- "]"
800
- "a"
801
- "false"
802
- "true"
803
- )
804
- (seq "(" _collection_1 ")")
805
- )
806
- (rule
807
- _collection_1
808
- "15.1"
809
- (first
810
- "("
811
- ANON
812
- BLANK_NODE_LABEL
813
- DECIMAL
814
- DOUBLE
815
- INTEGER
816
- IRIREF
817
- PNAME_LN
818
- PNAME_NS
819
- STRING_LITERAL_LONG_QUOTE
820
- STRING_LITERAL_LONG_SINGLE_QUOTE
821
- STRING_LITERAL_QUOTE
822
- STRING_LITERAL_SINGLE_QUOTE
823
- "["
824
- _eps
825
- "false"
826
- "true"
827
- )
828
- (follow ")")
829
- (alt _empty _collection_2)
830
- )
831
- (rule
832
- _collection_2
833
- "15.2"
834
- (first
835
- "("
836
- ANON
837
- BLANK_NODE_LABEL
838
- DECIMAL
839
- DOUBLE
840
- INTEGER
841
- IRIREF
842
- PNAME_LN
843
- PNAME_NS
844
- STRING_LITERAL_LONG_QUOTE
845
- STRING_LITERAL_LONG_SINGLE_QUOTE
846
- STRING_LITERAL_QUOTE
847
- STRING_LITERAL_SINGLE_QUOTE
848
- "["
849
- "false"
850
- "true"
851
- )
852
- (follow ")")
853
- (seq object _collection_1)
854
- )
855
- (rule
856
- _collection_3
857
- "15.3"
858
- (first
859
- "("
860
- ")"
861
- ANON
862
- BLANK_NODE_LABEL
863
- DECIMAL
864
- DOUBLE
865
- INTEGER
866
- IRIREF
867
- PNAME_LN
868
- PNAME_NS
869
- STRING_LITERAL_LONG_QUOTE
870
- STRING_LITERAL_LONG_SINGLE_QUOTE
871
- STRING_LITERAL_QUOTE
872
- STRING_LITERAL_SINGLE_QUOTE
873
- "["
874
- "false"
875
- "true"
876
- )
877
- (follow
878
- "("
879
- ")"
880
- ","
881
- "."
882
- ";"
883
- ANON
884
- BLANK_NODE_LABEL
885
- DECIMAL
886
- DOUBLE
887
- INTEGER
888
- IRIREF
889
- PNAME_LN
890
- PNAME_NS
891
- STRING_LITERAL_LONG_QUOTE
892
- STRING_LITERAL_LONG_SINGLE_QUOTE
893
- STRING_LITERAL_QUOTE
894
- STRING_LITERAL_SINGLE_QUOTE
895
- "["
896
- "]"
897
- "a"
898
- "false"
899
- "true"
900
- )
901
- (seq _collection_1 ")")
902
- )
903
- (rule
904
- _collection_4
905
- "15.4"
906
- (first
907
- "("
908
- ANON
909
- BLANK_NODE_LABEL
910
- DECIMAL
911
- DOUBLE
912
- INTEGER
913
- IRIREF
914
- PNAME_LN
915
- PNAME_NS
916
- STRING_LITERAL_LONG_QUOTE
917
- STRING_LITERAL_LONG_SINGLE_QUOTE
918
- STRING_LITERAL_QUOTE
919
- STRING_LITERAL_SINGLE_QUOTE
920
- "["
921
- _eps
922
- "false"
923
- "true"
924
- )
925
- (follow ")")
926
- (seq _collection_1)
927
- )
928
- (rule
929
- _collection_5
930
- "15.5"
931
- (first ")")
932
- (follow
933
- "("
934
- ")"
935
- ","
936
- "."
937
- ";"
938
- ANON
939
- BLANK_NODE_LABEL
940
- DECIMAL
941
- DOUBLE
942
- INTEGER
943
- IRIREF
944
- PNAME_LN
945
- PNAME_NS
946
- STRING_LITERAL_LONG_QUOTE
947
- STRING_LITERAL_LONG_SINGLE_QUOTE
948
- STRING_LITERAL_QUOTE
949
- STRING_LITERAL_SINGLE_QUOTE
950
- "["
951
- "]"
952
- "a"
953
- "false"
954
- "true"
955
- )
956
- (seq ")")
957
- )
958
- (rule
959
- NumericLiteral
960
- "16"
961
- (first DECIMAL DOUBLE INTEGER)
962
- (follow
963
- "("
964
- ")"
965
- ","
966
- "."
967
- ";"
968
- ANON
969
- BLANK_NODE_LABEL
970
- DECIMAL
971
- DOUBLE
972
- INTEGER
973
- IRIREF
974
- PNAME_LN
975
- PNAME_NS
976
- STRING_LITERAL_LONG_QUOTE
977
- STRING_LITERAL_LONG_SINGLE_QUOTE
978
- STRING_LITERAL_QUOTE
979
- STRING_LITERAL_SINGLE_QUOTE
980
- "["
981
- "]"
982
- "false"
983
- "true"
984
- )
985
- (alt INTEGER DECIMAL DOUBLE)
986
- )
987
- (rule
988
- String
989
- "17"
990
- (first
991
- STRING_LITERAL_LONG_QUOTE
992
- STRING_LITERAL_LONG_SINGLE_QUOTE
993
- STRING_LITERAL_QUOTE
994
- STRING_LITERAL_SINGLE_QUOTE
995
- )
996
- (follow
997
- "("
998
- ")"
999
- ","
1000
- "."
1001
- ";"
1002
- ANON
1003
- BLANK_NODE_LABEL
1004
- DECIMAL
1005
- DOUBLE
1006
- INTEGER
1007
- IRIREF
1008
- LANGTAG
1009
- PNAME_LN
1010
- PNAME_NS
1011
- STRING_LITERAL_LONG_QUOTE
1012
- STRING_LITERAL_LONG_SINGLE_QUOTE
1013
- STRING_LITERAL_QUOTE
1014
- STRING_LITERAL_SINGLE_QUOTE
1015
- "["
1016
- "]"
1017
- "^^"
1018
- "false"
1019
- "true"
1020
- )
1021
- (alt
1022
- STRING_LITERAL_QUOTE
1023
- STRING_LITERAL_SINGLE_QUOTE
1024
- STRING_LITERAL_LONG_SINGLE_QUOTE
1025
- STRING_LITERAL_LONG_QUOTE
1026
- )
1027
- )
1028
- (terminal
1029
- IRIREF
1030
- "18"
1031
- (seq
1032
- "<"
1033
- (star
1034
- (alt (range "^#x00-#x20<>\"{}|^`\\") UCHAR)
1035
- )
1036
- ">"
1037
- )
1038
- )
1039
- (terminal
1040
- INTEGER
1041
- "19"
1042
- (seq (opt (range "+-")) (plus (range "0-9")))
1043
- )
1044
- (terminal
1045
- DECIMAL
1046
- "20"
1047
- (seq
1048
- (opt (range "+-"))
1
+ (
2
+ (rule _empty "0" (first _eps) (seq))
3
+ (rule turtleDoc "1"
4
+ (start #t)
5
+ (first "(" "@base" "@prefix" ANON BLANK_NODE_LABEL IRIREF PNAME_LN PNAME_NS
6
+ SPARQL_BASE SPARQL_PREFIX "[" _eps )
7
+ (follow _eof)
8
+ (alt _empty _turtleDoc_1))
9
+ (rule _turtleDoc_1 "1.1"
10
+ (first "(" "@base" "@prefix" ANON BLANK_NODE_LABEL IRIREF PNAME_LN PNAME_NS
11
+ SPARQL_BASE SPARQL_PREFIX "[" )
12
+ (follow _eof)
13
+ (seq statement turtleDoc))
14
+ (rule _turtleDoc_2 "1.2"
15
+ (first "(" "@base" "@prefix" ANON BLANK_NODE_LABEL IRIREF PNAME_LN PNAME_NS
16
+ SPARQL_BASE SPARQL_PREFIX "[" _eps )
17
+ (follow _eof)
18
+ (seq turtleDoc))
19
+ (rule statement "2"
20
+ (first "(" "@base" "@prefix" ANON BLANK_NODE_LABEL IRIREF PNAME_LN PNAME_NS
21
+ SPARQL_BASE SPARQL_PREFIX "[" )
22
+ (follow "(" "@base" "@prefix" ANON BLANK_NODE_LABEL IRIREF PNAME_LN PNAME_NS
23
+ SPARQL_BASE SPARQL_PREFIX "[" _eof )
24
+ (alt directive _statement_1))
25
+ (rule _statement_1 "2.1"
26
+ (first "(" ANON BLANK_NODE_LABEL IRIREF PNAME_LN PNAME_NS "[")
27
+ (follow "(" "@base" "@prefix" ANON BLANK_NODE_LABEL IRIREF PNAME_LN PNAME_NS
28
+ SPARQL_BASE SPARQL_PREFIX "[" _eof )
29
+ (seq triples "."))
30
+ (rule _statement_2 "2.2"
31
+ (first ".")
32
+ (follow "(" "@base" "@prefix" ANON BLANK_NODE_LABEL IRIREF PNAME_LN PNAME_NS
33
+ SPARQL_BASE SPARQL_PREFIX "[" _eof )
34
+ (seq "."))
35
+ (rule directive "3"
36
+ (first "@base" "@prefix" SPARQL_BASE SPARQL_PREFIX)
37
+ (follow "(" "@base" "@prefix" ANON BLANK_NODE_LABEL IRIREF PNAME_LN PNAME_NS
38
+ SPARQL_BASE SPARQL_PREFIX "[" _eof )
39
+ (alt prefixID base sparqlPrefix sparqlBase))
40
+ (rule prefixID "4"
41
+ (first "@prefix")
42
+ (follow "(" "@base" "@prefix" ANON BLANK_NODE_LABEL IRIREF PNAME_LN PNAME_NS
43
+ SPARQL_BASE SPARQL_PREFIX "[" _eof )
44
+ (seq "@prefix" PNAME_NS IRIREF "."))
45
+ (rule _prefixID_1 "4.1"
46
+ (first PNAME_NS)
47
+ (follow "(" "@base" "@prefix" ANON BLANK_NODE_LABEL IRIREF PNAME_LN PNAME_NS
48
+ SPARQL_BASE SPARQL_PREFIX "[" _eof )
49
+ (seq PNAME_NS IRIREF "."))
50
+ (rule base "5"
51
+ (first "@base")
52
+ (follow "(" "@base" "@prefix" ANON BLANK_NODE_LABEL IRIREF PNAME_LN PNAME_NS
53
+ SPARQL_BASE SPARQL_PREFIX "[" _eof )
54
+ (seq "@base" IRIREF "."))
55
+ (rule _base_1 "5.1"
56
+ (first IRIREF)
57
+ (follow "(" "@base" "@prefix" ANON BLANK_NODE_LABEL IRIREF PNAME_LN PNAME_NS
58
+ SPARQL_BASE SPARQL_PREFIX "[" _eof )
59
+ (seq IRIREF "."))
60
+ (rule triples "6"
61
+ (first "(" ANON BLANK_NODE_LABEL IRIREF PNAME_LN PNAME_NS "[")
62
+ (follow ".")
63
+ (alt _triples_1 _triples_2))
64
+ (rule _triples_1 "6.1"
65
+ (first "(" ANON BLANK_NODE_LABEL IRIREF PNAME_LN PNAME_NS)
66
+ (follow ".")
67
+ (seq subject predicateObjectList))
68
+ (rule _triples_2 "6.2" (first "[") (follow ".") (seq blankNodePropertyList _triples_3))
69
+ (rule _triples_3 "6.3"
70
+ (first IRIREF PNAME_LN PNAME_NS _eps "a")
71
+ (follow ".")
72
+ (alt _empty predicateObjectList))
73
+ (rule _triples_4 "6.4"
74
+ (first IRIREF PNAME_LN PNAME_NS "a")
75
+ (follow ".")
76
+ (seq predicateObjectList))
77
+ (rule _triples_5 "6.5"
78
+ (first IRIREF PNAME_LN PNAME_NS _eps "a")
79
+ (follow ".")
80
+ (seq _triples_3))
81
+ (rule predicateObjectList "7"
82
+ (first IRIREF PNAME_LN PNAME_NS "a")
83
+ (follow "." "]")
84
+ (seq verb objectList _predicateObjectList_1))
85
+ (rule _predicateObjectList_1 "7.1"
86
+ (first ";" _eps)
87
+ (follow "." "]")
88
+ (alt _empty _predicateObjectList_3))
89
+ (rule _predicateObjectList_2 "7.2"
90
+ (first ";")
91
+ (follow "." ";" "]")
92
+ (seq ";" _predicateObjectList_4))
93
+ (rule _predicateObjectList_3 "7.3"
94
+ (first ";")
95
+ (follow "." "]")
96
+ (seq _predicateObjectList_2 _predicateObjectList_1))
97
+ (rule _predicateObjectList_4 "7.4"
98
+ (first IRIREF PNAME_LN PNAME_NS _eps "a")
99
+ (follow "." ";" "]")
100
+ (alt _empty _predicateObjectList_5))
101
+ (rule _predicateObjectList_5 "7.5"
102
+ (first IRIREF PNAME_LN PNAME_NS "a")
103
+ (follow "." ";" "]")
104
+ (seq verb objectList))
105
+ (rule _predicateObjectList_6 "7.6"
106
+ (first "(" ANON BLANK_NODE_LABEL DECIMAL DOUBLE INTEGER IRIREF PNAME_LN
107
+ PNAME_NS STRING_LITERAL_LONG_QUOTE STRING_LITERAL_LONG_SINGLE_QUOTE
108
+ STRING_LITERAL_QUOTE STRING_LITERAL_SINGLE_QUOTE "[" "false" "true" )
109
+ (follow "." "]")
110
+ (seq objectList _predicateObjectList_1))
111
+ (rule _predicateObjectList_7 "7.7"
112
+ (first ";" _eps)
113
+ (follow "." "]")
114
+ (seq _predicateObjectList_1))
115
+ (rule _predicateObjectList_8 "7.8"
116
+ (first IRIREF PNAME_LN PNAME_NS _eps "a")
117
+ (follow "." ";" "]")
118
+ (seq _predicateObjectList_4))
119
+ (rule _predicateObjectList_9 "7.9"
120
+ (first "(" ANON BLANK_NODE_LABEL DECIMAL DOUBLE INTEGER IRIREF PNAME_LN
121
+ PNAME_NS STRING_LITERAL_LONG_QUOTE STRING_LITERAL_LONG_SINGLE_QUOTE
122
+ STRING_LITERAL_QUOTE STRING_LITERAL_SINGLE_QUOTE "[" "false" "true" )
123
+ (follow "." ";" "]")
124
+ (seq objectList))
125
+ (rule objectList "8"
126
+ (first "(" ANON BLANK_NODE_LABEL DECIMAL DOUBLE INTEGER IRIREF PNAME_LN
127
+ PNAME_NS STRING_LITERAL_LONG_QUOTE STRING_LITERAL_LONG_SINGLE_QUOTE
128
+ STRING_LITERAL_QUOTE STRING_LITERAL_SINGLE_QUOTE "[" "false" "true" )
129
+ (follow "." ";" "]")
130
+ (seq object _objectList_1))
131
+ (rule _objectList_1 "8.1"
132
+ (first "," _eps)
133
+ (follow "." ";" "]")
134
+ (alt _empty _objectList_3))
135
+ (rule _objectList_2 "8.2" (first ",") (follow "," "." ";" "]") (seq "," object))
136
+ (rule _objectList_3 "8.3"
137
+ (first ",")
138
+ (follow "." ";" "]")
139
+ (seq _objectList_2 _objectList_1))
140
+ (rule _objectList_4 "8.4" (first "," _eps) (follow "." ";" "]") (seq _objectList_1))
141
+ (rule _objectList_5 "8.5" (first "," _eps) (follow "." ";" "]") (seq _objectList_1))
142
+ (rule _objectList_6 "8.6"
143
+ (first "(" ANON BLANK_NODE_LABEL DECIMAL DOUBLE INTEGER IRIREF PNAME_LN
144
+ PNAME_NS STRING_LITERAL_LONG_QUOTE STRING_LITERAL_LONG_SINGLE_QUOTE
145
+ STRING_LITERAL_QUOTE STRING_LITERAL_SINGLE_QUOTE "[" "false" "true" )
146
+ (follow "," "." ";" "]")
147
+ (seq object))
148
+ (rule verb "9"
149
+ (first IRIREF PNAME_LN PNAME_NS "a")
150
+ (follow "(" ANON BLANK_NODE_LABEL DECIMAL DOUBLE INTEGER IRIREF PNAME_LN
151
+ PNAME_NS STRING_LITERAL_LONG_QUOTE STRING_LITERAL_LONG_SINGLE_QUOTE
152
+ STRING_LITERAL_QUOTE STRING_LITERAL_SINGLE_QUOTE "[" "false" "true" )
153
+ (alt predicate "a"))
154
+ (rule subject "10"
155
+ (first "(" ANON BLANK_NODE_LABEL IRIREF PNAME_LN PNAME_NS)
156
+ (follow IRIREF PNAME_LN PNAME_NS "a")
157
+ (alt iri BlankNode collection))
158
+ (rule predicate "11"
159
+ (first IRIREF PNAME_LN PNAME_NS)
160
+ (follow "(" ")" "," "." ";" ANON BLANK_NODE_LABEL DECIMAL DOUBLE INTEGER
161
+ IRIREF PNAME_LN PNAME_NS STRING_LITERAL_LONG_QUOTE
162
+ STRING_LITERAL_LONG_SINGLE_QUOTE STRING_LITERAL_QUOTE
163
+ STRING_LITERAL_SINGLE_QUOTE "[" "]" "false" "true" )
164
+ (seq iri))
165
+ (rule object "12"
166
+ (first "(" ANON BLANK_NODE_LABEL DECIMAL DOUBLE INTEGER IRIREF PNAME_LN
167
+ PNAME_NS STRING_LITERAL_LONG_QUOTE STRING_LITERAL_LONG_SINGLE_QUOTE
168
+ STRING_LITERAL_QUOTE STRING_LITERAL_SINGLE_QUOTE "[" "false" "true" )
169
+ (follow "(" ")" "," "." ";" ANON BLANK_NODE_LABEL DECIMAL DOUBLE INTEGER
170
+ IRIREF PNAME_LN PNAME_NS STRING_LITERAL_LONG_QUOTE
171
+ STRING_LITERAL_LONG_SINGLE_QUOTE STRING_LITERAL_QUOTE
172
+ STRING_LITERAL_SINGLE_QUOTE "[" "]" "false" "true" )
173
+ (alt iri BlankNode collection blankNodePropertyList literal))
174
+ (rule literal "13"
175
+ (first DECIMAL DOUBLE INTEGER STRING_LITERAL_LONG_QUOTE
176
+ STRING_LITERAL_LONG_SINGLE_QUOTE STRING_LITERAL_QUOTE
177
+ STRING_LITERAL_SINGLE_QUOTE "false" "true" )
178
+ (follow "(" ")" "," "." ";" ANON BLANK_NODE_LABEL DECIMAL DOUBLE INTEGER
179
+ IRIREF PNAME_LN PNAME_NS STRING_LITERAL_LONG_QUOTE
180
+ STRING_LITERAL_LONG_SINGLE_QUOTE STRING_LITERAL_QUOTE
181
+ STRING_LITERAL_SINGLE_QUOTE "[" "]" "false" "true" )
182
+ (alt RDFLiteral NumericLiteral BooleanLiteral))
183
+ (rule blankNodePropertyList "14"
184
+ (first "[")
185
+ (follow "(" ")" "," "." ";" ANON BLANK_NODE_LABEL DECIMAL DOUBLE INTEGER
186
+ IRIREF PNAME_LN PNAME_NS STRING_LITERAL_LONG_QUOTE
187
+ STRING_LITERAL_LONG_SINGLE_QUOTE STRING_LITERAL_QUOTE
188
+ STRING_LITERAL_SINGLE_QUOTE "[" "]" "a" "false" "true" )
189
+ (seq "[" predicateObjectList "]"))
190
+ (rule _blankNodePropertyList_1 "14.1"
191
+ (first IRIREF PNAME_LN PNAME_NS "a")
192
+ (follow "(" ")" "," "." ";" ANON BLANK_NODE_LABEL DECIMAL DOUBLE INTEGER
193
+ IRIREF PNAME_LN PNAME_NS STRING_LITERAL_LONG_QUOTE
194
+ STRING_LITERAL_LONG_SINGLE_QUOTE STRING_LITERAL_QUOTE
195
+ STRING_LITERAL_SINGLE_QUOTE "[" "]" "a" "false" "true" )
196
+ (seq predicateObjectList "]"))
197
+ (rule _blankNodePropertyList_2 "14.2"
198
+ (first "]")
199
+ (follow "(" ")" "," "." ";" ANON BLANK_NODE_LABEL DECIMAL DOUBLE INTEGER
200
+ IRIREF PNAME_LN PNAME_NS STRING_LITERAL_LONG_QUOTE
201
+ STRING_LITERAL_LONG_SINGLE_QUOTE STRING_LITERAL_QUOTE
202
+ STRING_LITERAL_SINGLE_QUOTE "[" "]" "a" "false" "true" )
203
+ (seq "]"))
204
+ (rule collection "15"
205
+ (first "(")
206
+ (follow "(" ")" "," "." ";" ANON BLANK_NODE_LABEL DECIMAL DOUBLE INTEGER
207
+ IRIREF PNAME_LN PNAME_NS STRING_LITERAL_LONG_QUOTE
208
+ STRING_LITERAL_LONG_SINGLE_QUOTE STRING_LITERAL_QUOTE
209
+ STRING_LITERAL_SINGLE_QUOTE "[" "]" "a" "false" "true" )
210
+ (seq "(" _collection_1 ")"))
211
+ (rule _collection_1 "15.1"
212
+ (first "(" ANON BLANK_NODE_LABEL DECIMAL DOUBLE INTEGER IRIREF PNAME_LN
213
+ PNAME_NS STRING_LITERAL_LONG_QUOTE STRING_LITERAL_LONG_SINGLE_QUOTE
214
+ STRING_LITERAL_QUOTE STRING_LITERAL_SINGLE_QUOTE "[" _eps "false" "true" )
215
+ (follow ")")
216
+ (alt _empty _collection_2))
217
+ (rule _collection_2 "15.2"
218
+ (first "(" ANON BLANK_NODE_LABEL DECIMAL DOUBLE INTEGER IRIREF PNAME_LN
219
+ PNAME_NS STRING_LITERAL_LONG_QUOTE STRING_LITERAL_LONG_SINGLE_QUOTE
220
+ STRING_LITERAL_QUOTE STRING_LITERAL_SINGLE_QUOTE "[" "false" "true" )
221
+ (follow ")")
222
+ (seq object _collection_1))
223
+ (rule _collection_3 "15.3"
224
+ (first "(" ")" ANON BLANK_NODE_LABEL DECIMAL DOUBLE INTEGER IRIREF PNAME_LN
225
+ PNAME_NS STRING_LITERAL_LONG_QUOTE STRING_LITERAL_LONG_SINGLE_QUOTE
226
+ STRING_LITERAL_QUOTE STRING_LITERAL_SINGLE_QUOTE "[" "false" "true" )
227
+ (follow "(" ")" "," "." ";" ANON BLANK_NODE_LABEL DECIMAL DOUBLE INTEGER
228
+ IRIREF PNAME_LN PNAME_NS STRING_LITERAL_LONG_QUOTE
229
+ STRING_LITERAL_LONG_SINGLE_QUOTE STRING_LITERAL_QUOTE
230
+ STRING_LITERAL_SINGLE_QUOTE "[" "]" "a" "false" "true" )
231
+ (seq _collection_1 ")"))
232
+ (rule _collection_4 "15.4"
233
+ (first "(" ANON BLANK_NODE_LABEL DECIMAL DOUBLE INTEGER IRIREF PNAME_LN
234
+ PNAME_NS STRING_LITERAL_LONG_QUOTE STRING_LITERAL_LONG_SINGLE_QUOTE
235
+ STRING_LITERAL_QUOTE STRING_LITERAL_SINGLE_QUOTE "[" _eps "false" "true" )
236
+ (follow ")")
237
+ (seq _collection_1))
238
+ (rule _collection_5 "15.5"
239
+ (first ")")
240
+ (follow "(" ")" "," "." ";" ANON BLANK_NODE_LABEL DECIMAL DOUBLE INTEGER
241
+ IRIREF PNAME_LN PNAME_NS STRING_LITERAL_LONG_QUOTE
242
+ STRING_LITERAL_LONG_SINGLE_QUOTE STRING_LITERAL_QUOTE
243
+ STRING_LITERAL_SINGLE_QUOTE "[" "]" "a" "false" "true" )
244
+ (seq ")"))
245
+ (rule NumericLiteral "16"
246
+ (first DECIMAL DOUBLE INTEGER)
247
+ (follow "(" ")" "," "." ";" ANON BLANK_NODE_LABEL DECIMAL DOUBLE INTEGER
248
+ IRIREF PNAME_LN PNAME_NS STRING_LITERAL_LONG_QUOTE
249
+ STRING_LITERAL_LONG_SINGLE_QUOTE STRING_LITERAL_QUOTE
250
+ STRING_LITERAL_SINGLE_QUOTE "[" "]" "false" "true" )
251
+ (alt INTEGER DECIMAL DOUBLE))
252
+ (rule String "17"
253
+ (first STRING_LITERAL_LONG_QUOTE STRING_LITERAL_LONG_SINGLE_QUOTE
254
+ STRING_LITERAL_QUOTE STRING_LITERAL_SINGLE_QUOTE )
255
+ (follow "(" ")" "," "." ";" ANON BLANK_NODE_LABEL DECIMAL DOUBLE INTEGER
256
+ IRIREF LANGTAG PNAME_LN PNAME_NS STRING_LITERAL_LONG_QUOTE
257
+ STRING_LITERAL_LONG_SINGLE_QUOTE STRING_LITERAL_QUOTE
258
+ STRING_LITERAL_SINGLE_QUOTE "[" "]" "^^" "false" "true" )
259
+ (alt STRING_LITERAL_QUOTE STRING_LITERAL_SINGLE_QUOTE
260
+ STRING_LITERAL_LONG_SINGLE_QUOTE STRING_LITERAL_LONG_QUOTE ))
261
+ (terminal IRIREF "18" (seq "<" (star (alt (range "^#x00-#x20<>\"{}|^`\\") UCHAR)) ">"))
262
+ (terminal INTEGER "19" (seq (opt (range "+-")) (plus (range "0-9"))))
263
+ (terminal DECIMAL "20"
264
+ (seq (opt (range "+-")) (seq (star (range "0-9")) "." (plus (range "0-9")))))
265
+ (terminal DOUBLE "21"
1049
266
  (seq
1050
- (star (range "0-9"))
1051
- "."
1052
- (plus (range "0-9"))
1053
- )
1054
- )
1055
- )
1056
- (terminal
1057
- DOUBLE
1058
- "21"
1059
- (seq
1060
- (opt (range "+-"))
267
+ (opt (range "+-"))
268
+ (alt
269
+ (seq (plus (range "0-9")) "." (star (range "0-9")) EXPONENT)
270
+ (seq "." (plus (range "0-9")) EXPONENT)
271
+ (seq (plus (range "0-9")) EXPONENT)) ))
272
+ (terminal STRING_LITERAL_QUOTE "22"
273
+ (seq "\"" (star (alt (range "^#x22#x5C#xA#xD") ECHAR UCHAR)) "\""))
274
+ (terminal STRING_LITERAL_SINGLE_QUOTE "23"
275
+ (seq "'" (star (alt (range "^#x27#x5C#xA#xD") ECHAR UCHAR)) "'"))
276
+ (terminal STRING_LITERAL_LONG_SINGLE_QUOTE "24"
277
+ (seq "'''" (star (seq (opt (alt "'" "''")) (alt (range "^'\\") ECHAR UCHAR))) "'''"))
278
+ (terminal STRING_LITERAL_LONG_QUOTE "25"
279
+ (seq "\"\"\"" (star (seq (opt (alt "\"" "\"\"")) (alt (range "^\"\\") ECHAR UCHAR))) "\"\"\""))
280
+ (terminal UCHAR "26"
281
+ (alt (seq "\\u" HEX HEX HEX HEX) (seq "\\U" HEX HEX HEX HEX HEX HEX HEX HEX)))
282
+ (rule sparqlPrefix "28s"
283
+ (first SPARQL_PREFIX)
284
+ (follow "(" "@base" "@prefix" ANON BLANK_NODE_LABEL IRIREF PNAME_LN PNAME_NS
285
+ SPARQL_BASE SPARQL_PREFIX "[" _eof )
286
+ (seq SPARQL_PREFIX PNAME_NS IRIREF))
287
+ (terminal SPARQL_PREFIX "28t"
288
+ (seq (range "Pp") (range "Rr") (range "Ee") (range "Ff") (range "Ii") (range "Xx")))
289
+ (rule _sparqlPrefix_1 "28s.1"
290
+ (first PNAME_NS)
291
+ (follow "(" "@base" "@prefix" ANON BLANK_NODE_LABEL IRIREF PNAME_LN PNAME_NS
292
+ SPARQL_BASE SPARQL_PREFIX "[" _eof )
293
+ (seq PNAME_NS IRIREF))
294
+ (rule sparqlBase "29s"
295
+ (first SPARQL_BASE)
296
+ (follow "(" "@base" "@prefix" ANON BLANK_NODE_LABEL IRIREF PNAME_LN PNAME_NS
297
+ SPARQL_BASE SPARQL_PREFIX "[" _eof )
298
+ (seq SPARQL_BASE IRIREF))
299
+ (terminal SPARQL_BASE "29t" (seq (range "Bb") (range "Aa") (range "Ss") (range "Ee")))
300
+ (rule _sparqlBase_1 "29s.1"
301
+ (first IRIREF)
302
+ (follow "(" "@base" "@prefix" ANON BLANK_NODE_LABEL IRIREF PNAME_LN PNAME_NS
303
+ SPARQL_BASE SPARQL_PREFIX "[" _eof )
304
+ (seq IRIREF))
305
+ (rule _RDFLiteral_1 "128s.1"
306
+ (first LANGTAG "^^" _eps)
307
+ (follow "(" ")" "," "." ";" ANON BLANK_NODE_LABEL DECIMAL DOUBLE INTEGER
308
+ IRIREF PNAME_LN PNAME_NS STRING_LITERAL_LONG_QUOTE
309
+ STRING_LITERAL_LONG_SINGLE_QUOTE STRING_LITERAL_QUOTE
310
+ STRING_LITERAL_SINGLE_QUOTE "[" "]" "false" "true" )
311
+ (alt _empty _RDFLiteral_2))
312
+ (rule _RDFLiteral_3 "128s.3"
313
+ (first "^^")
314
+ (follow "(" ")" "," "." ";" ANON BLANK_NODE_LABEL DECIMAL DOUBLE INTEGER
315
+ IRIREF PNAME_LN PNAME_NS STRING_LITERAL_LONG_QUOTE
316
+ STRING_LITERAL_LONG_SINGLE_QUOTE STRING_LITERAL_QUOTE
317
+ STRING_LITERAL_SINGLE_QUOTE "[" "]" "false" "true" )
318
+ (seq "^^" iri))
319
+ (rule _RDFLiteral_4 "128s.4"
320
+ (first LANGTAG "^^" _eps)
321
+ (follow "(" ")" "," "." ";" ANON BLANK_NODE_LABEL DECIMAL DOUBLE INTEGER
322
+ IRIREF PNAME_LN PNAME_NS STRING_LITERAL_LONG_QUOTE
323
+ STRING_LITERAL_LONG_SINGLE_QUOTE STRING_LITERAL_QUOTE
324
+ STRING_LITERAL_SINGLE_QUOTE "[" "]" "false" "true" )
325
+ (seq _RDFLiteral_1))
326
+ (rule _RDFLiteral_2 "128s.2"
327
+ (first LANGTAG "^^")
328
+ (follow "(" ")" "," "." ";" ANON BLANK_NODE_LABEL DECIMAL DOUBLE INTEGER
329
+ IRIREF PNAME_LN PNAME_NS STRING_LITERAL_LONG_QUOTE
330
+ STRING_LITERAL_LONG_SINGLE_QUOTE STRING_LITERAL_QUOTE
331
+ STRING_LITERAL_SINGLE_QUOTE "[" "]" "false" "true" )
332
+ (alt LANGTAG _RDFLiteral_3))
333
+ (rule RDFLiteral "128s"
334
+ (first STRING_LITERAL_LONG_QUOTE STRING_LITERAL_LONG_SINGLE_QUOTE
335
+ STRING_LITERAL_QUOTE STRING_LITERAL_SINGLE_QUOTE )
336
+ (follow "(" ")" "," "." ";" ANON BLANK_NODE_LABEL DECIMAL DOUBLE INTEGER
337
+ IRIREF PNAME_LN PNAME_NS STRING_LITERAL_LONG_QUOTE
338
+ STRING_LITERAL_LONG_SINGLE_QUOTE STRING_LITERAL_QUOTE
339
+ STRING_LITERAL_SINGLE_QUOTE "[" "]" "false" "true" )
340
+ (seq String _RDFLiteral_1))
341
+ (rule BooleanLiteral "133s"
342
+ (first "false" "true")
343
+ (follow "(" ")" "," "." ";" ANON BLANK_NODE_LABEL DECIMAL DOUBLE INTEGER
344
+ IRIREF PNAME_LN PNAME_NS STRING_LITERAL_LONG_QUOTE
345
+ STRING_LITERAL_LONG_SINGLE_QUOTE STRING_LITERAL_QUOTE
346
+ STRING_LITERAL_SINGLE_QUOTE "[" "]" "false" "true" )
347
+ (alt "true" "false"))
348
+ (rule iri "135s"
349
+ (first IRIREF PNAME_LN PNAME_NS)
350
+ (follow "(" ")" "," "." ";" ANON BLANK_NODE_LABEL DECIMAL DOUBLE INTEGER
351
+ IRIREF PNAME_LN PNAME_NS STRING_LITERAL_LONG_QUOTE
352
+ STRING_LITERAL_LONG_SINGLE_QUOTE STRING_LITERAL_QUOTE
353
+ STRING_LITERAL_SINGLE_QUOTE "[" "]" "a" "false" "true" )
354
+ (alt IRIREF PrefixedName))
355
+ (rule PrefixedName "136s"
356
+ (first PNAME_LN PNAME_NS)
357
+ (follow "(" ")" "," "." ";" ANON BLANK_NODE_LABEL DECIMAL DOUBLE INTEGER
358
+ IRIREF PNAME_LN PNAME_NS STRING_LITERAL_LONG_QUOTE
359
+ STRING_LITERAL_LONG_SINGLE_QUOTE STRING_LITERAL_QUOTE
360
+ STRING_LITERAL_SINGLE_QUOTE "[" "]" "a" "false" "true" )
361
+ (alt PNAME_LN PNAME_NS))
362
+ (rule BlankNode "137s"
363
+ (first ANON BLANK_NODE_LABEL)
364
+ (follow "(" ")" "," "." ";" ANON BLANK_NODE_LABEL DECIMAL DOUBLE INTEGER
365
+ IRIREF PNAME_LN PNAME_NS STRING_LITERAL_LONG_QUOTE
366
+ STRING_LITERAL_LONG_SINGLE_QUOTE STRING_LITERAL_QUOTE
367
+ STRING_LITERAL_SINGLE_QUOTE "[" "]" "a" "false" "true" )
368
+ (alt BLANK_NODE_LABEL ANON))
369
+ (terminal PNAME_NS "139s" (seq (opt PN_PREFIX) ":"))
370
+ (terminal PNAME_LN "140s" (seq PNAME_NS PN_LOCAL))
371
+ (terminal BLANK_NODE_LABEL "141s"
372
+ (seq "_:" (alt PN_CHARS_U (range "0-9")) (opt (seq (star (alt PN_CHARS ".")) PN_CHARS))))
373
+ (terminal LANGTAG "144s"
374
+ (seq "@" (plus (range "a-zA-Z")) (star (seq "-" (plus (range "a-zA-Z0-9"))))))
375
+ (terminal EXPONENT "154s" (seq (range "eE") (opt (range "+-")) (plus (range "0-9"))))
376
+ (terminal ECHAR "159s" (seq "\\" (range "tbnrf\\\"'")))
377
+ (terminal WS "161s" (alt (hex "#x20") (hex "#x9") (hex "#xD") (hex "#xA")))
378
+ (terminal ANON "162s" (seq "[" (star WS) "]"))
379
+ (terminal PN_CHARS_BASE "163s"
1061
380
  (alt
1062
- (seq
1063
- (plus (range "0-9"))
1064
- "."
1065
- (star (range "0-9"))
1066
- EXPONENT
1067
- )
1068
- (seq "." (plus (range "0-9")) EXPONENT)
1069
- (seq (plus (range "0-9")) EXPONENT)
1070
- )
1071
- )
1072
- )
1073
- (terminal
1074
- STRING_LITERAL_QUOTE
1075
- "22"
1076
- (seq
1077
- "\""
1078
- (star
1079
- (alt (range "^#x22#x5C#xA#xD") ECHAR UCHAR)
1080
- )
1081
- "\""
1082
- )
1083
- )
1084
- (terminal
1085
- STRING_LITERAL_SINGLE_QUOTE
1086
- "23"
1087
- (seq
1088
- "'"
1089
- (star
1090
- (alt (range "^#x27#x5C#xA#xD") ECHAR UCHAR)
1091
- )
1092
- "'"
1093
- )
1094
- )
1095
- (terminal
1096
- STRING_LITERAL_LONG_SINGLE_QUOTE
1097
- "24"
1098
- (seq
1099
- "'''"
1100
- (star
1101
- (seq
1102
- (opt (alt "'" "''"))
1103
- (alt (range "^'\\") ECHAR UCHAR)
1104
- )
1105
- )
1106
- "'''"
1107
- )
1108
- )
1109
- (terminal
1110
- STRING_LITERAL_LONG_QUOTE
1111
- "25"
1112
- (seq
1113
- "\"\"\""
1114
- (star
1115
- (seq
1116
- (opt (alt "\"" "\"\""))
1117
- (alt (range "^\"\\") ECHAR UCHAR)
1118
- )
1119
- )
1120
- "\"\"\""
1121
- )
1122
- )
1123
- (terminal
1124
- UCHAR
1125
- "26"
1126
- (alt
1127
- (seq "\\u" HEX HEX HEX HEX)
381
+ (range "A-Z")
382
+ (range "a-z")
383
+ (range "#x00C0-#x00D6")
384
+ (range "#x00D8-#x00F6")
385
+ (range "#x00F8-#x02FF")
386
+ (range "#x0370-#x037D")
387
+ (range "#x037F-#x1FFF")
388
+ (range "#x200C-#x200D")
389
+ (range "#x2070-#x218F")
390
+ (range "#x2C00-#x2FEF")
391
+ (range "#x3001-#xD7FF")
392
+ (range "#xF900-#xFDCF")
393
+ (range "#xFDF0-#xFFFD")
394
+ (range "#x10000-#xEFFFF")) )
395
+ (terminal PN_CHARS_U "164s" (alt PN_CHARS_BASE "_"))
396
+ (terminal PN_CHARS "166s"
397
+ (alt PN_CHARS_U "-"
398
+ (range "0-9")
399
+ (hex "#x00B7")
400
+ (range "#x0300-#x036F")
401
+ (range "#x203F-#x2040")) )
402
+ (terminal PN_PREFIX "167s"
403
+ (seq PN_CHARS_BASE (opt (seq (star (alt PN_CHARS ".")) PN_CHARS))))
404
+ (terminal PN_LOCAL "168s"
1128
405
  (seq
1129
- "\\U"
1130
- HEX
1131
- HEX
1132
- HEX
1133
- HEX
1134
- HEX
1135
- HEX
1136
- HEX
1137
- HEX
1138
- )
1139
- )
1140
- )
1141
- (rule
1142
- sparqlPrefix
1143
- "28s"
1144
- (first SPARQL_PREFIX)
1145
- (follow
1146
- "("
1147
- "@base"
1148
- "@prefix"
1149
- ANON
1150
- BLANK_NODE_LABEL
1151
- IRIREF
1152
- PNAME_LN
1153
- PNAME_NS
1154
- SPARQL_BASE
1155
- SPARQL_PREFIX
1156
- "["
1157
- _eof
1158
- )
1159
- (seq SPARQL_PREFIX PNAME_NS IRIREF)
1160
- )
1161
- (rule
1162
- _sparqlPrefix_1
1163
- "28s.1"
1164
- (first PNAME_NS)
1165
- (follow
1166
- "("
1167
- "@base"
1168
- "@prefix"
1169
- ANON
1170
- BLANK_NODE_LABEL
1171
- IRIREF
1172
- PNAME_LN
1173
- PNAME_NS
1174
- SPARQL_BASE
1175
- SPARQL_PREFIX
1176
- "["
1177
- _eof
1178
- )
1179
- (seq PNAME_NS IRIREF)
1180
- )
1181
- (terminal
1182
- SPARQL_PREFIX
1183
- "28t"
1184
- (seq
1185
- (range "Pp")
1186
- (range "Rr")
1187
- (range "Ee")
1188
- (range "Ff")
1189
- (range "Ii")
1190
- (range "Xx")
1191
- )
1192
- )
1193
- (rule
1194
- sparqlBase
1195
- "29s"
1196
- (first SPARQL_BASE)
1197
- (follow
1198
- "("
1199
- "@base"
1200
- "@prefix"
1201
- ANON
1202
- BLANK_NODE_LABEL
1203
- IRIREF
1204
- PNAME_LN
1205
- PNAME_NS
1206
- SPARQL_BASE
1207
- SPARQL_PREFIX
1208
- "["
1209
- _eof
1210
- )
1211
- (seq SPARQL_BASE IRIREF)
1212
- )
1213
- (rule
1214
- _sparqlBase_1
1215
- "29s.1"
1216
- (first IRIREF)
1217
- (follow
1218
- "("
1219
- "@base"
1220
- "@prefix"
1221
- ANON
1222
- BLANK_NODE_LABEL
1223
- IRIREF
1224
- PNAME_LN
1225
- PNAME_NS
1226
- SPARQL_BASE
1227
- SPARQL_PREFIX
1228
- "["
1229
- _eof
1230
- )
1231
- (seq IRIREF)
1232
- )
1233
- (terminal
1234
- SPARQL_BASE
1235
- "29t"
1236
- (seq
1237
- (range "Bb")
1238
- (range "Aa")
1239
- (range "Ss")
1240
- (range "Ee")
1241
- )
1242
- )
1243
- (rule
1244
- RDFLiteral
1245
- "128s"
1246
- (first
1247
- STRING_LITERAL_LONG_QUOTE
1248
- STRING_LITERAL_LONG_SINGLE_QUOTE
1249
- STRING_LITERAL_QUOTE
1250
- STRING_LITERAL_SINGLE_QUOTE
1251
- )
1252
- (follow
1253
- "("
1254
- ")"
1255
- ","
1256
- "."
1257
- ";"
1258
- ANON
1259
- BLANK_NODE_LABEL
1260
- DECIMAL
1261
- DOUBLE
1262
- INTEGER
1263
- IRIREF
1264
- PNAME_LN
1265
- PNAME_NS
1266
- STRING_LITERAL_LONG_QUOTE
1267
- STRING_LITERAL_LONG_SINGLE_QUOTE
1268
- STRING_LITERAL_QUOTE
1269
- STRING_LITERAL_SINGLE_QUOTE
1270
- "["
1271
- "]"
1272
- "false"
1273
- "true"
1274
- )
1275
- (seq String _RDFLiteral_1)
1276
- )
1277
- (rule
1278
- _RDFLiteral_1
1279
- "128s.1"
1280
- (first LANGTAG "^^" _eps)
1281
- (follow
1282
- "("
1283
- ")"
1284
- ","
1285
- "."
1286
- ";"
1287
- ANON
1288
- BLANK_NODE_LABEL
1289
- DECIMAL
1290
- DOUBLE
1291
- INTEGER
1292
- IRIREF
1293
- PNAME_LN
1294
- PNAME_NS
1295
- STRING_LITERAL_LONG_QUOTE
1296
- STRING_LITERAL_LONG_SINGLE_QUOTE
1297
- STRING_LITERAL_QUOTE
1298
- STRING_LITERAL_SINGLE_QUOTE
1299
- "["
1300
- "]"
1301
- "false"
1302
- "true"
1303
- )
1304
- (alt _empty _RDFLiteral_2)
1305
- )
1306
- (rule
1307
- _RDFLiteral_2
1308
- "128s.2"
1309
- (first LANGTAG "^^")
1310
- (follow
1311
- "("
1312
- ")"
1313
- ","
1314
- "."
1315
- ";"
1316
- ANON
1317
- BLANK_NODE_LABEL
1318
- DECIMAL
1319
- DOUBLE
1320
- INTEGER
1321
- IRIREF
1322
- PNAME_LN
1323
- PNAME_NS
1324
- STRING_LITERAL_LONG_QUOTE
1325
- STRING_LITERAL_LONG_SINGLE_QUOTE
1326
- STRING_LITERAL_QUOTE
1327
- STRING_LITERAL_SINGLE_QUOTE
1328
- "["
1329
- "]"
1330
- "false"
1331
- "true"
1332
- )
1333
- (alt LANGTAG _RDFLiteral_3)
1334
- )
1335
- (rule
1336
- _RDFLiteral_3
1337
- "128s.3"
1338
- (first "^^")
1339
- (follow
1340
- "("
1341
- ")"
1342
- ","
1343
- "."
1344
- ";"
1345
- ANON
1346
- BLANK_NODE_LABEL
1347
- DECIMAL
1348
- DOUBLE
1349
- INTEGER
1350
- IRIREF
1351
- PNAME_LN
1352
- PNAME_NS
1353
- STRING_LITERAL_LONG_QUOTE
1354
- STRING_LITERAL_LONG_SINGLE_QUOTE
1355
- STRING_LITERAL_QUOTE
1356
- STRING_LITERAL_SINGLE_QUOTE
1357
- "["
1358
- "]"
1359
- "false"
1360
- "true"
1361
- )
1362
- (seq "^^" iri)
1363
- )
1364
- (rule
1365
- _RDFLiteral_4
1366
- "128s.4"
1367
- (first LANGTAG "^^" _eps)
1368
- (follow
1369
- "("
1370
- ")"
1371
- ","
1372
- "."
1373
- ";"
1374
- ANON
1375
- BLANK_NODE_LABEL
1376
- DECIMAL
1377
- DOUBLE
1378
- INTEGER
1379
- IRIREF
1380
- PNAME_LN
1381
- PNAME_NS
1382
- STRING_LITERAL_LONG_QUOTE
1383
- STRING_LITERAL_LONG_SINGLE_QUOTE
1384
- STRING_LITERAL_QUOTE
1385
- STRING_LITERAL_SINGLE_QUOTE
1386
- "["
1387
- "]"
1388
- "false"
1389
- "true"
1390
- )
1391
- (seq _RDFLiteral_1)
1392
- )
1393
- (rule
1394
- BooleanLiteral
1395
- "133s"
1396
- (first "false" "true")
1397
- (follow
1398
- "("
1399
- ")"
1400
- ","
1401
- "."
1402
- ";"
1403
- ANON
1404
- BLANK_NODE_LABEL
1405
- DECIMAL
1406
- DOUBLE
1407
- INTEGER
1408
- IRIREF
1409
- PNAME_LN
1410
- PNAME_NS
1411
- STRING_LITERAL_LONG_QUOTE
1412
- STRING_LITERAL_LONG_SINGLE_QUOTE
1413
- STRING_LITERAL_QUOTE
1414
- STRING_LITERAL_SINGLE_QUOTE
1415
- "["
1416
- "]"
1417
- "false"
1418
- "true"
1419
- )
1420
- (alt "true" "false")
1421
- )
1422
- (rule
1423
- iri
1424
- "135s"
1425
- (first IRIREF PNAME_LN PNAME_NS)
1426
- (follow
1427
- "("
1428
- ")"
1429
- ","
1430
- "."
1431
- ";"
1432
- ANON
1433
- BLANK_NODE_LABEL
1434
- DECIMAL
1435
- DOUBLE
1436
- INTEGER
1437
- IRIREF
1438
- PNAME_LN
1439
- PNAME_NS
1440
- STRING_LITERAL_LONG_QUOTE
1441
- STRING_LITERAL_LONG_SINGLE_QUOTE
1442
- STRING_LITERAL_QUOTE
1443
- STRING_LITERAL_SINGLE_QUOTE
1444
- "["
1445
- "]"
1446
- "a"
1447
- "false"
1448
- "true"
1449
- )
1450
- (alt IRIREF PrefixedName)
1451
- )
1452
- (rule
1453
- PrefixedName
1454
- "136s"
1455
- (first PNAME_LN PNAME_NS)
1456
- (follow
1457
- "("
1458
- ")"
1459
- ","
1460
- "."
1461
- ";"
1462
- ANON
1463
- BLANK_NODE_LABEL
1464
- DECIMAL
1465
- DOUBLE
1466
- INTEGER
1467
- IRIREF
1468
- PNAME_LN
1469
- PNAME_NS
1470
- STRING_LITERAL_LONG_QUOTE
1471
- STRING_LITERAL_LONG_SINGLE_QUOTE
1472
- STRING_LITERAL_QUOTE
1473
- STRING_LITERAL_SINGLE_QUOTE
1474
- "["
1475
- "]"
1476
- "a"
1477
- "false"
1478
- "true"
1479
- )
1480
- (alt PNAME_LN PNAME_NS)
1481
- )
1482
- (rule
1483
- BlankNode
1484
- "137s"
1485
- (first ANON BLANK_NODE_LABEL)
1486
- (follow
1487
- "("
1488
- ")"
1489
- ","
1490
- "."
1491
- ";"
1492
- ANON
1493
- BLANK_NODE_LABEL
1494
- DECIMAL
1495
- DOUBLE
1496
- INTEGER
1497
- IRIREF
1498
- PNAME_LN
1499
- PNAME_NS
1500
- STRING_LITERAL_LONG_QUOTE
1501
- STRING_LITERAL_LONG_SINGLE_QUOTE
1502
- STRING_LITERAL_QUOTE
1503
- STRING_LITERAL_SINGLE_QUOTE
1504
- "["
1505
- "]"
1506
- "a"
1507
- "false"
1508
- "true"
1509
- )
1510
- (alt BLANK_NODE_LABEL ANON)
1511
- )
1512
- (terminal
1513
- PNAME_NS
1514
- "139s"
1515
- (seq (opt PN_PREFIX) ":")
1516
- )
1517
- (terminal
1518
- PNAME_LN
1519
- "140s"
1520
- (seq PNAME_NS PN_LOCAL)
1521
- )
1522
- (terminal
1523
- BLANK_NODE_LABEL
1524
- "141s"
1525
- (seq
1526
- "_:"
1527
- (alt PN_CHARS_U (range "0-9"))
1528
- (opt (seq (star (alt PN_CHARS ".")) PN_CHARS))
1529
- )
1530
- )
1531
- (terminal
1532
- LANGTAG
1533
- "144s"
1534
- (seq
1535
- "@"
1536
- (plus (range "a-zA-Z"))
1537
- (star (seq "-" (plus (range "a-zA-Z0-9"))))
1538
- )
1539
- )
1540
- (terminal
1541
- EXPONENT
1542
- "154s"
1543
- (seq
1544
- (range "eE")
1545
- (opt (range "+-"))
1546
- (plus (range "0-9"))
1547
- )
1548
- )
1549
- (terminal
1550
- ECHAR
1551
- "159s"
1552
- (seq "\\" (range "tbnrf\\\"'"))
1553
- )
1554
- (terminal
1555
- WS
1556
- "161s"
1557
- (alt
1558
- (hex "#x20")
1559
- (hex "#x9")
1560
- (hex "#xD")
1561
- (hex "#xA")
1562
- )
1563
- )
1564
- (terminal ANON "162s" (seq "[" (star WS) "]"))
1565
- (terminal
1566
- PN_CHARS_BASE
1567
- "163s"
1568
- (alt
1569
- (range "A-Z")
1570
- (range "a-z")
1571
- (range "#x00C0-#x00D6")
1572
- (range "#x00D8-#x00F6")
1573
- (range "#x00F8-#x02FF")
1574
- (range "#x0370-#x037D")
1575
- (range "#x037F-#x1FFF")
1576
- (range "#x200C-#x200D")
1577
- (range "#x2070-#x218F")
1578
- (range "#x2C00-#x2FEF")
1579
- (range "#x3001-#xD7FF")
1580
- (range "#xF900-#xFDCF")
1581
- (range "#xFDF0-#xFFFD")
1582
- (range "#x10000-#xEFFFF")
1583
- )
1584
- )
1585
- (terminal
1586
- PN_CHARS_U
1587
- "164s"
1588
- (alt PN_CHARS_BASE "_")
1589
- )
1590
- (terminal
1591
- PN_CHARS
1592
- "166s"
1593
- (alt
1594
- PN_CHARS_U
1595
- "-"
1596
- (range "0-9")
1597
- (hex "#x00B7")
1598
- (range "#x0300-#x036F")
1599
- (range "#x203F-#x2040")
1600
- )
1601
- )
1602
- (terminal
1603
- PN_PREFIX
1604
- "167s"
1605
- (seq
1606
- PN_CHARS_BASE
1607
- (opt (seq (star (alt PN_CHARS ".")) PN_CHARS))
1608
- )
1609
- )
1610
- (terminal
1611
- PN_LOCAL
1612
- "168s"
1613
- (seq
1614
- (alt PN_CHARS_U ":" (range "0-9") PLX)
1615
- (opt
1616
- (seq
1617
- (star (alt PN_CHARS "." ":" PLX))
1618
- (alt PN_CHARS ":" PLX)
1619
- )
1620
- )
1621
- )
1622
- )
1623
- (terminal
1624
- PLX
1625
- "169s"
1626
- (alt PERCENT PN_LOCAL_ESC)
1627
- )
406
+ (alt PN_CHARS_U ":" (range "0-9") PLX)
407
+ (opt (seq (star (alt PN_CHARS "." ":" PLX)) (alt PN_CHARS ":" PLX)))) )
408
+ (terminal PLX "169s" (alt PERCENT PN_LOCAL_ESC))
1628
409
  (terminal PERCENT "170s" (seq "%" HEX HEX))
1629
- (terminal
1630
- HEX
1631
- "171s"
1632
- (alt (range "0-9") (range "A-F") (range "a-f"))
1633
- )
1634
- (terminal
1635
- PN_LOCAL_ESC
1636
- "172s"
1637
- (seq
1638
- "\\"
1639
- (alt
1640
- "_"
1641
- "~"
1642
- "."
1643
- "-"
1644
- "!"
1645
- "$"
1646
- "&"
1647
- "'"
1648
- "("
1649
- ")"
1650
- "*"
1651
- "+"
1652
- ","
1653
- ";"
1654
- "="
1655
- "/"
1656
- "?"
1657
- "#"
1658
- "@"
1659
- "%"
1660
- )
1661
- )
1662
- )
1663
- )
410
+ (terminal HEX "171s" (alt (range "0-9") (range "A-F") (range "a-f")))
411
+ (terminal PN_LOCAL_ESC "172s"
412
+ (seq "\\"
413
+ (alt "_" "~" "." "-" "!" "$" "&" "'" "(" ")" "*" "+" "," ";" "=" "/" "?" "#"
414
+ "@" "%" )) ))