ebnf 2.4.0 → 2.5.0

Sign up to get free protection for your applications and to get access to all the features.
data/etc/turtle.ll1.sxp DELETED
@@ -1,425 +0,0 @@
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
- (cleanup star)
9
- (alt _empty _turtleDoc_1))
10
- (rule _turtleDoc_1 "1.1"
11
- (first "(" "@base" "@prefix" ANON BLANK_NODE_LABEL IRIREF PNAME_LN PNAME_NS
12
- SPARQL_BASE SPARQL_PREFIX "[" )
13
- (follow _eof)
14
- (cleanup merge)
15
- (seq statement turtleDoc))
16
- (rule _turtleDoc_2 "1.2"
17
- (first "(" "@base" "@prefix" ANON BLANK_NODE_LABEL IRIREF PNAME_LN PNAME_NS
18
- SPARQL_BASE SPARQL_PREFIX "[" _eps )
19
- (follow _eof)
20
- (seq turtleDoc))
21
- (rule statement "2"
22
- (first "(" "@base" "@prefix" ANON BLANK_NODE_LABEL IRIREF PNAME_LN PNAME_NS
23
- SPARQL_BASE SPARQL_PREFIX "[" )
24
- (follow "(" "@base" "@prefix" ANON BLANK_NODE_LABEL IRIREF PNAME_LN PNAME_NS
25
- SPARQL_BASE SPARQL_PREFIX "[" _eof )
26
- (alt directive _statement_1))
27
- (rule _statement_1 "2.1"
28
- (first "(" ANON BLANK_NODE_LABEL IRIREF PNAME_LN PNAME_NS "[")
29
- (follow "(" "@base" "@prefix" ANON BLANK_NODE_LABEL IRIREF PNAME_LN PNAME_NS
30
- SPARQL_BASE SPARQL_PREFIX "[" _eof )
31
- (seq triples "."))
32
- (rule _statement_2 "2.2"
33
- (first ".")
34
- (follow "(" "@base" "@prefix" ANON BLANK_NODE_LABEL IRIREF PNAME_LN PNAME_NS
35
- SPARQL_BASE SPARQL_PREFIX "[" _eof )
36
- (seq "."))
37
- (rule directive "3"
38
- (first "@base" "@prefix" SPARQL_BASE SPARQL_PREFIX)
39
- (follow "(" "@base" "@prefix" ANON BLANK_NODE_LABEL IRIREF PNAME_LN PNAME_NS
40
- SPARQL_BASE SPARQL_PREFIX "[" _eof )
41
- (alt prefixID base sparqlPrefix sparqlBase))
42
- (rule prefixID "4"
43
- (first "@prefix")
44
- (follow "(" "@base" "@prefix" ANON BLANK_NODE_LABEL IRIREF PNAME_LN PNAME_NS
45
- SPARQL_BASE SPARQL_PREFIX "[" _eof )
46
- (seq "@prefix" PNAME_NS IRIREF "."))
47
- (rule _prefixID_1 "4.1"
48
- (first PNAME_NS)
49
- (follow "(" "@base" "@prefix" ANON BLANK_NODE_LABEL IRIREF PNAME_LN PNAME_NS
50
- SPARQL_BASE SPARQL_PREFIX "[" _eof )
51
- (seq PNAME_NS IRIREF "."))
52
- (rule base "5"
53
- (first "@base")
54
- (follow "(" "@base" "@prefix" ANON BLANK_NODE_LABEL IRIREF PNAME_LN PNAME_NS
55
- SPARQL_BASE SPARQL_PREFIX "[" _eof )
56
- (seq "@base" IRIREF "."))
57
- (rule _base_1 "5.1"
58
- (first IRIREF)
59
- (follow "(" "@base" "@prefix" ANON BLANK_NODE_LABEL IRIREF PNAME_LN PNAME_NS
60
- SPARQL_BASE SPARQL_PREFIX "[" _eof )
61
- (seq IRIREF "."))
62
- (rule triples "6"
63
- (first "(" ANON BLANK_NODE_LABEL IRIREF PNAME_LN PNAME_NS "[")
64
- (follow ".")
65
- (alt _triples_1 _triples_2))
66
- (rule _triples_1 "6.1"
67
- (first "(" ANON BLANK_NODE_LABEL IRIREF PNAME_LN PNAME_NS)
68
- (follow ".")
69
- (seq subject predicateObjectList))
70
- (rule _triples_2 "6.2" (first "[") (follow ".") (seq blankNodePropertyList _triples_3))
71
- (rule _triples_3 "6.3"
72
- (first IRIREF PNAME_LN PNAME_NS _eps "a")
73
- (follow ".")
74
- (cleanup opt)
75
- (alt _empty predicateObjectList))
76
- (rule _triples_4 "6.4"
77
- (first IRIREF PNAME_LN PNAME_NS "a")
78
- (follow ".")
79
- (seq predicateObjectList))
80
- (rule _triples_5 "6.5"
81
- (first IRIREF PNAME_LN PNAME_NS _eps "a")
82
- (follow ".")
83
- (seq _triples_3))
84
- (rule predicateObjectList "7"
85
- (first IRIREF PNAME_LN PNAME_NS "a")
86
- (follow "." "]")
87
- (seq verb objectList _predicateObjectList_1))
88
- (rule _predicateObjectList_1 "7.1"
89
- (first ";" _eps)
90
- (follow "." "]")
91
- (cleanup star)
92
- (alt _empty _predicateObjectList_3))
93
- (rule _predicateObjectList_2 "7.2"
94
- (first ";")
95
- (follow "." ";" "]")
96
- (seq ";" _predicateObjectList_4))
97
- (rule _predicateObjectList_3 "7.3"
98
- (first ";")
99
- (follow "." "]")
100
- (cleanup merge)
101
- (seq _predicateObjectList_2 _predicateObjectList_1))
102
- (rule _predicateObjectList_4 "7.4"
103
- (first IRIREF PNAME_LN PNAME_NS _eps "a")
104
- (follow "." ";" "]")
105
- (cleanup opt)
106
- (alt _empty _predicateObjectList_5))
107
- (rule _predicateObjectList_5 "7.5"
108
- (first IRIREF PNAME_LN PNAME_NS "a")
109
- (follow "." ";" "]")
110
- (seq verb objectList))
111
- (rule _predicateObjectList_6 "7.6"
112
- (first "(" ANON BLANK_NODE_LABEL DECIMAL DOUBLE INTEGER IRIREF PNAME_LN
113
- PNAME_NS STRING_LITERAL_LONG_QUOTE STRING_LITERAL_LONG_SINGLE_QUOTE
114
- STRING_LITERAL_QUOTE STRING_LITERAL_SINGLE_QUOTE "[" "false" "true" )
115
- (follow "." "]")
116
- (seq objectList _predicateObjectList_1))
117
- (rule _predicateObjectList_7 "7.7"
118
- (first ";" _eps)
119
- (follow "." "]")
120
- (seq _predicateObjectList_1))
121
- (rule _predicateObjectList_8 "7.8"
122
- (first IRIREF PNAME_LN PNAME_NS _eps "a")
123
- (follow "." ";" "]")
124
- (seq _predicateObjectList_4))
125
- (rule _predicateObjectList_9 "7.9"
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 objectList))
131
- (rule objectList "8"
132
- (first "(" ANON BLANK_NODE_LABEL DECIMAL DOUBLE INTEGER IRIREF PNAME_LN
133
- PNAME_NS STRING_LITERAL_LONG_QUOTE STRING_LITERAL_LONG_SINGLE_QUOTE
134
- STRING_LITERAL_QUOTE STRING_LITERAL_SINGLE_QUOTE "[" "false" "true" )
135
- (follow "." ";" "]")
136
- (seq object _objectList_1))
137
- (rule _objectList_1 "8.1"
138
- (first "," _eps)
139
- (follow "." ";" "]")
140
- (cleanup star)
141
- (alt _empty _objectList_3))
142
- (rule _objectList_2 "8.2" (first ",") (follow "," "." ";" "]") (seq "," object))
143
- (rule _objectList_3 "8.3"
144
- (first ",")
145
- (follow "." ";" "]")
146
- (cleanup merge)
147
- (seq _objectList_2 _objectList_1))
148
- (rule _objectList_4 "8.4" (first "," _eps) (follow "." ";" "]") (seq _objectList_1))
149
- (rule _objectList_5 "8.5" (first "," _eps) (follow "." ";" "]") (seq _objectList_1))
150
- (rule _objectList_6 "8.6"
151
- (first "(" ANON BLANK_NODE_LABEL DECIMAL DOUBLE INTEGER IRIREF PNAME_LN
152
- PNAME_NS STRING_LITERAL_LONG_QUOTE STRING_LITERAL_LONG_SINGLE_QUOTE
153
- STRING_LITERAL_QUOTE STRING_LITERAL_SINGLE_QUOTE "[" "false" "true" )
154
- (follow "," "." ";" "]")
155
- (seq object))
156
- (rule verb "9"
157
- (first IRIREF PNAME_LN PNAME_NS "a")
158
- (follow "(" ANON BLANK_NODE_LABEL DECIMAL DOUBLE INTEGER IRIREF PNAME_LN
159
- PNAME_NS STRING_LITERAL_LONG_QUOTE STRING_LITERAL_LONG_SINGLE_QUOTE
160
- STRING_LITERAL_QUOTE STRING_LITERAL_SINGLE_QUOTE "[" "false" "true" )
161
- (alt predicate "a"))
162
- (rule subject "10"
163
- (first "(" ANON BLANK_NODE_LABEL IRIREF PNAME_LN PNAME_NS)
164
- (follow IRIREF PNAME_LN PNAME_NS "a")
165
- (alt iri BlankNode collection))
166
- (rule predicate "11"
167
- (first IRIREF PNAME_LN PNAME_NS)
168
- (follow "(" ")" "," "." ";" ANON BLANK_NODE_LABEL DECIMAL DOUBLE INTEGER
169
- IRIREF PNAME_LN PNAME_NS STRING_LITERAL_LONG_QUOTE
170
- STRING_LITERAL_LONG_SINGLE_QUOTE STRING_LITERAL_QUOTE
171
- STRING_LITERAL_SINGLE_QUOTE "[" "]" "false" "true" )
172
- (seq iri))
173
- (rule object "12"
174
- (first "(" ANON BLANK_NODE_LABEL DECIMAL DOUBLE INTEGER IRIREF PNAME_LN
175
- PNAME_NS STRING_LITERAL_LONG_QUOTE STRING_LITERAL_LONG_SINGLE_QUOTE
176
- STRING_LITERAL_QUOTE STRING_LITERAL_SINGLE_QUOTE "[" "false" "true" )
177
- (follow "(" ")" "," "." ";" ANON BLANK_NODE_LABEL DECIMAL DOUBLE INTEGER
178
- IRIREF PNAME_LN PNAME_NS STRING_LITERAL_LONG_QUOTE
179
- STRING_LITERAL_LONG_SINGLE_QUOTE STRING_LITERAL_QUOTE
180
- STRING_LITERAL_SINGLE_QUOTE "[" "]" "false" "true" )
181
- (alt iri BlankNode collection blankNodePropertyList literal))
182
- (rule literal "13"
183
- (first DECIMAL DOUBLE INTEGER STRING_LITERAL_LONG_QUOTE
184
- STRING_LITERAL_LONG_SINGLE_QUOTE STRING_LITERAL_QUOTE
185
- STRING_LITERAL_SINGLE_QUOTE "false" "true" )
186
- (follow "(" ")" "," "." ";" ANON BLANK_NODE_LABEL DECIMAL DOUBLE INTEGER
187
- IRIREF PNAME_LN PNAME_NS STRING_LITERAL_LONG_QUOTE
188
- STRING_LITERAL_LONG_SINGLE_QUOTE STRING_LITERAL_QUOTE
189
- STRING_LITERAL_SINGLE_QUOTE "[" "]" "false" "true" )
190
- (alt RDFLiteral NumericLiteral BooleanLiteral))
191
- (rule blankNodePropertyList "14"
192
- (first "[")
193
- (follow "(" ")" "," "." ";" ANON BLANK_NODE_LABEL DECIMAL DOUBLE INTEGER
194
- IRIREF PNAME_LN PNAME_NS STRING_LITERAL_LONG_QUOTE
195
- STRING_LITERAL_LONG_SINGLE_QUOTE STRING_LITERAL_QUOTE
196
- STRING_LITERAL_SINGLE_QUOTE "[" "]" "a" "false" "true" )
197
- (seq "[" predicateObjectList "]"))
198
- (rule _blankNodePropertyList_1 "14.1"
199
- (first IRIREF PNAME_LN PNAME_NS "a")
200
- (follow "(" ")" "," "." ";" ANON BLANK_NODE_LABEL DECIMAL DOUBLE INTEGER
201
- IRIREF PNAME_LN PNAME_NS STRING_LITERAL_LONG_QUOTE
202
- STRING_LITERAL_LONG_SINGLE_QUOTE STRING_LITERAL_QUOTE
203
- STRING_LITERAL_SINGLE_QUOTE "[" "]" "a" "false" "true" )
204
- (seq predicateObjectList "]"))
205
- (rule _blankNodePropertyList_2 "14.2"
206
- (first "]")
207
- (follow "(" ")" "," "." ";" ANON BLANK_NODE_LABEL DECIMAL DOUBLE INTEGER
208
- IRIREF PNAME_LN PNAME_NS STRING_LITERAL_LONG_QUOTE
209
- STRING_LITERAL_LONG_SINGLE_QUOTE STRING_LITERAL_QUOTE
210
- STRING_LITERAL_SINGLE_QUOTE "[" "]" "a" "false" "true" )
211
- (seq "]"))
212
- (rule collection "15"
213
- (first "(")
214
- (follow "(" ")" "," "." ";" ANON BLANK_NODE_LABEL DECIMAL DOUBLE INTEGER
215
- IRIREF PNAME_LN PNAME_NS STRING_LITERAL_LONG_QUOTE
216
- STRING_LITERAL_LONG_SINGLE_QUOTE STRING_LITERAL_QUOTE
217
- STRING_LITERAL_SINGLE_QUOTE "[" "]" "a" "false" "true" )
218
- (seq "(" _collection_1 ")"))
219
- (rule _collection_1 "15.1"
220
- (first "(" ANON BLANK_NODE_LABEL DECIMAL DOUBLE INTEGER IRIREF PNAME_LN
221
- PNAME_NS STRING_LITERAL_LONG_QUOTE STRING_LITERAL_LONG_SINGLE_QUOTE
222
- STRING_LITERAL_QUOTE STRING_LITERAL_SINGLE_QUOTE "[" _eps "false" "true" )
223
- (follow ")")
224
- (cleanup star)
225
- (alt _empty _collection_2))
226
- (rule _collection_2 "15.2"
227
- (first "(" ANON BLANK_NODE_LABEL DECIMAL DOUBLE INTEGER IRIREF PNAME_LN
228
- PNAME_NS STRING_LITERAL_LONG_QUOTE STRING_LITERAL_LONG_SINGLE_QUOTE
229
- STRING_LITERAL_QUOTE STRING_LITERAL_SINGLE_QUOTE "[" "false" "true" )
230
- (follow ")")
231
- (cleanup merge)
232
- (seq object _collection_1))
233
- (rule _collection_3 "15.3"
234
- (first "(" ")" ANON BLANK_NODE_LABEL DECIMAL DOUBLE INTEGER IRIREF PNAME_LN
235
- PNAME_NS STRING_LITERAL_LONG_QUOTE STRING_LITERAL_LONG_SINGLE_QUOTE
236
- STRING_LITERAL_QUOTE STRING_LITERAL_SINGLE_QUOTE "[" "false" "true" )
237
- (follow "(" ")" "," "." ";" ANON BLANK_NODE_LABEL DECIMAL DOUBLE INTEGER
238
- IRIREF PNAME_LN PNAME_NS STRING_LITERAL_LONG_QUOTE
239
- STRING_LITERAL_LONG_SINGLE_QUOTE STRING_LITERAL_QUOTE
240
- STRING_LITERAL_SINGLE_QUOTE "[" "]" "a" "false" "true" )
241
- (seq _collection_1 ")"))
242
- (rule _collection_4 "15.4"
243
- (first "(" ANON BLANK_NODE_LABEL DECIMAL DOUBLE INTEGER IRIREF PNAME_LN
244
- PNAME_NS STRING_LITERAL_LONG_QUOTE STRING_LITERAL_LONG_SINGLE_QUOTE
245
- STRING_LITERAL_QUOTE STRING_LITERAL_SINGLE_QUOTE "[" _eps "false" "true" )
246
- (follow ")")
247
- (seq _collection_1))
248
- (rule _collection_5 "15.5"
249
- (first ")")
250
- (follow "(" ")" "," "." ";" ANON BLANK_NODE_LABEL DECIMAL DOUBLE INTEGER
251
- IRIREF PNAME_LN PNAME_NS STRING_LITERAL_LONG_QUOTE
252
- STRING_LITERAL_LONG_SINGLE_QUOTE STRING_LITERAL_QUOTE
253
- STRING_LITERAL_SINGLE_QUOTE "[" "]" "a" "false" "true" )
254
- (seq ")"))
255
- (rule NumericLiteral "16"
256
- (first DECIMAL DOUBLE INTEGER)
257
- (follow "(" ")" "," "." ";" ANON BLANK_NODE_LABEL DECIMAL DOUBLE INTEGER
258
- IRIREF PNAME_LN PNAME_NS STRING_LITERAL_LONG_QUOTE
259
- STRING_LITERAL_LONG_SINGLE_QUOTE STRING_LITERAL_QUOTE
260
- STRING_LITERAL_SINGLE_QUOTE "[" "]" "false" "true" )
261
- (alt INTEGER DECIMAL DOUBLE))
262
- (rule String "17"
263
- (first STRING_LITERAL_LONG_QUOTE STRING_LITERAL_LONG_SINGLE_QUOTE
264
- STRING_LITERAL_QUOTE STRING_LITERAL_SINGLE_QUOTE )
265
- (follow "(" ")" "," "." ";" ANON BLANK_NODE_LABEL DECIMAL DOUBLE INTEGER
266
- IRIREF LANGTAG PNAME_LN PNAME_NS STRING_LITERAL_LONG_QUOTE
267
- STRING_LITERAL_LONG_SINGLE_QUOTE STRING_LITERAL_QUOTE
268
- STRING_LITERAL_SINGLE_QUOTE "[" "]" "^^" "false" "true" )
269
- (alt STRING_LITERAL_QUOTE STRING_LITERAL_SINGLE_QUOTE
270
- STRING_LITERAL_LONG_SINGLE_QUOTE STRING_LITERAL_LONG_QUOTE ))
271
- (terminal IRIREF "18" (seq "<" (range "^#x00-#x20<>\"{}|^`] | UCHAR)* '>'")))
272
- (terminal INTEGER "19" (seq (opt (range "+-")) (plus (range "0-9"))))
273
- (terminal DECIMAL "20"
274
- (seq (opt (range "+-")) (seq (star (range "0-9")) "." (plus (range "0-9")))))
275
- (terminal DOUBLE "21"
276
- (seq
277
- (opt (range "+-"))
278
- (alt
279
- (seq (plus (range "0-9")) "." (star (range "0-9")) EXPONENT)
280
- (seq "." (plus (range "0-9")) EXPONENT)
281
- (seq (plus (range "0-9")) EXPONENT)) ))
282
- (terminal STRING_LITERAL_QUOTE "22"
283
- (seq "\"" (star (alt (range "^#x22#x5C#xA#xD") ECHAR UCHAR)) "\""))
284
- (terminal STRING_LITERAL_SINGLE_QUOTE "23"
285
- (seq "'" (star (alt (range "^#x27#x5C#xA#xD") ECHAR UCHAR)) "'"))
286
- (terminal STRING_LITERAL_LONG_SINGLE_QUOTE "24"
287
- (seq "'''" (seq (opt (alt "'" "''")) (range "^'] | ECHAR | UCHAR ))* \"'''\""))))
288
- (terminal STRING_LITERAL_LONG_QUOTE "25"
289
- (seq "\"\"\"" (seq (opt (alt "\"" "\"\"")) (range "^\"] | ECHAR | UCHAR ))* '\"\"\"'"))))
290
- (terminal UCHAR "26"
291
- (alt (seq "u" HEX HEX HEX HEX) (seq "U" HEX HEX HEX HEX HEX HEX HEX HEX)))
292
- (rule _sparqlPrefix_1 "28s.1"
293
- (first PNAME_NS)
294
- (follow "(" "@base" "@prefix" ANON BLANK_NODE_LABEL IRIREF PNAME_LN PNAME_NS
295
- SPARQL_BASE SPARQL_PREFIX "[" _eof )
296
- (seq PNAME_NS IRIREF))
297
- (rule sparqlPrefix "28s"
298
- (first SPARQL_PREFIX)
299
- (follow "(" "@base" "@prefix" ANON BLANK_NODE_LABEL IRIREF PNAME_LN PNAME_NS
300
- SPARQL_BASE SPARQL_PREFIX "[" _eof )
301
- (seq SPARQL_PREFIX PNAME_NS IRIREF))
302
- (terminal SPARQL_PREFIX "28t"
303
- (seq (range "Pp") (range "Rr") (range "Ee") (range "Ff") (range "Ii") (range "Xx")))
304
- (terminal SPARQL_BASE "29t" (seq (range "Bb") (range "Aa") (range "Ss") (range "Ee")))
305
- (rule _sparqlBase_1 "29s.1"
306
- (first IRIREF)
307
- (follow "(" "@base" "@prefix" ANON BLANK_NODE_LABEL IRIREF PNAME_LN PNAME_NS
308
- SPARQL_BASE SPARQL_PREFIX "[" _eof )
309
- (seq IRIREF))
310
- (rule sparqlBase "29s"
311
- (first SPARQL_BASE)
312
- (follow "(" "@base" "@prefix" ANON BLANK_NODE_LABEL IRIREF PNAME_LN PNAME_NS
313
- SPARQL_BASE SPARQL_PREFIX "[" _eof )
314
- (seq SPARQL_BASE IRIREF))
315
- (rule _RDFLiteral_1 "128s.1"
316
- (first LANGTAG "^^" _eps)
317
- (follow "(" ")" "," "." ";" ANON BLANK_NODE_LABEL DECIMAL DOUBLE INTEGER
318
- IRIREF PNAME_LN PNAME_NS STRING_LITERAL_LONG_QUOTE
319
- STRING_LITERAL_LONG_SINGLE_QUOTE STRING_LITERAL_QUOTE
320
- STRING_LITERAL_SINGLE_QUOTE "[" "]" "false" "true" )
321
- (cleanup opt)
322
- (alt _empty _RDFLiteral_2))
323
- (rule _RDFLiteral_3 "128s.3"
324
- (first "^^")
325
- (follow "(" ")" "," "." ";" ANON BLANK_NODE_LABEL DECIMAL DOUBLE INTEGER
326
- IRIREF PNAME_LN PNAME_NS STRING_LITERAL_LONG_QUOTE
327
- STRING_LITERAL_LONG_SINGLE_QUOTE STRING_LITERAL_QUOTE
328
- STRING_LITERAL_SINGLE_QUOTE "[" "]" "false" "true" )
329
- (seq "^^" iri))
330
- (rule _RDFLiteral_2 "128s.2"
331
- (first LANGTAG "^^")
332
- (follow "(" ")" "," "." ";" ANON BLANK_NODE_LABEL DECIMAL DOUBLE INTEGER
333
- IRIREF PNAME_LN PNAME_NS STRING_LITERAL_LONG_QUOTE
334
- STRING_LITERAL_LONG_SINGLE_QUOTE STRING_LITERAL_QUOTE
335
- STRING_LITERAL_SINGLE_QUOTE "[" "]" "false" "true" )
336
- (alt LANGTAG _RDFLiteral_3))
337
- (rule RDFLiteral "128s"
338
- (first STRING_LITERAL_LONG_QUOTE STRING_LITERAL_LONG_SINGLE_QUOTE
339
- STRING_LITERAL_QUOTE STRING_LITERAL_SINGLE_QUOTE )
340
- (follow "(" ")" "," "." ";" ANON BLANK_NODE_LABEL DECIMAL DOUBLE INTEGER
341
- IRIREF PNAME_LN PNAME_NS STRING_LITERAL_LONG_QUOTE
342
- STRING_LITERAL_LONG_SINGLE_QUOTE STRING_LITERAL_QUOTE
343
- STRING_LITERAL_SINGLE_QUOTE "[" "]" "false" "true" )
344
- (seq String _RDFLiteral_1))
345
- (rule _RDFLiteral_4 "128s.4"
346
- (first LANGTAG "^^" _eps)
347
- (follow "(" ")" "," "." ";" ANON BLANK_NODE_LABEL DECIMAL DOUBLE INTEGER
348
- IRIREF PNAME_LN PNAME_NS STRING_LITERAL_LONG_QUOTE
349
- STRING_LITERAL_LONG_SINGLE_QUOTE STRING_LITERAL_QUOTE
350
- STRING_LITERAL_SINGLE_QUOTE "[" "]" "false" "true" )
351
- (seq _RDFLiteral_1))
352
- (rule BooleanLiteral "133s"
353
- (first "false" "true")
354
- (follow "(" ")" "," "." ";" ANON BLANK_NODE_LABEL DECIMAL DOUBLE INTEGER
355
- IRIREF PNAME_LN PNAME_NS STRING_LITERAL_LONG_QUOTE
356
- STRING_LITERAL_LONG_SINGLE_QUOTE STRING_LITERAL_QUOTE
357
- STRING_LITERAL_SINGLE_QUOTE "[" "]" "false" "true" )
358
- (alt "true" "false"))
359
- (rule iri "135s"
360
- (first IRIREF PNAME_LN PNAME_NS)
361
- (follow "(" ")" "," "." ";" ANON BLANK_NODE_LABEL DECIMAL DOUBLE INTEGER
362
- IRIREF PNAME_LN PNAME_NS STRING_LITERAL_LONG_QUOTE
363
- STRING_LITERAL_LONG_SINGLE_QUOTE STRING_LITERAL_QUOTE
364
- STRING_LITERAL_SINGLE_QUOTE "[" "]" "a" "false" "true" )
365
- (alt IRIREF PrefixedName))
366
- (rule PrefixedName "136s"
367
- (first PNAME_LN PNAME_NS)
368
- (follow "(" ")" "," "." ";" ANON BLANK_NODE_LABEL DECIMAL DOUBLE INTEGER
369
- IRIREF PNAME_LN PNAME_NS STRING_LITERAL_LONG_QUOTE
370
- STRING_LITERAL_LONG_SINGLE_QUOTE STRING_LITERAL_QUOTE
371
- STRING_LITERAL_SINGLE_QUOTE "[" "]" "a" "false" "true" )
372
- (alt PNAME_LN PNAME_NS))
373
- (rule BlankNode "137s"
374
- (first ANON BLANK_NODE_LABEL)
375
- (follow "(" ")" "," "." ";" ANON BLANK_NODE_LABEL DECIMAL DOUBLE INTEGER
376
- IRIREF PNAME_LN PNAME_NS STRING_LITERAL_LONG_QUOTE
377
- STRING_LITERAL_LONG_SINGLE_QUOTE STRING_LITERAL_QUOTE
378
- STRING_LITERAL_SINGLE_QUOTE "[" "]" "a" "false" "true" )
379
- (alt BLANK_NODE_LABEL ANON))
380
- (terminal PNAME_NS "139s" (seq (opt PN_PREFIX) ":"))
381
- (terminal PNAME_LN "140s" (seq PNAME_NS PN_LOCAL))
382
- (terminal BLANK_NODE_LABEL "141s"
383
- (seq "_:" (alt PN_CHARS_U (range "0-9")) (opt (seq (star (alt PN_CHARS ".")) PN_CHARS))))
384
- (terminal LANGTAG "144s"
385
- (seq "@" (plus (range "a-zA-Z")) (star (seq "-" (plus (range "a-zA-Z0-9"))))))
386
- (terminal EXPONENT "154s" (seq (range "eE") (opt (range "+-")) (plus (range "0-9"))))
387
- (terminal ECHAR "159s" (seq "\\" (range "tbnrf\"'")))
388
- (terminal WS "161s" (alt (hex "#x20") (hex "#x9") (hex "#xD") (hex "#xA")))
389
- (terminal ANON "162s" (seq "[" (star WS) "]"))
390
- (terminal PN_CHARS_BASE "163s"
391
- (alt
392
- (range "A-Z")
393
- (range "a-z")
394
- (range "#x00C0-#x00D6")
395
- (range "#x00D8-#x00F6")
396
- (range "#x00F8-#x02FF")
397
- (range "#x0370-#x037D")
398
- (range "#x037F-#x1FFF")
399
- (range "#x200C-#x200D")
400
- (range "#x2070-#x218F")
401
- (range "#x2C00-#x2FEF")
402
- (range "#x3001-#xD7FF")
403
- (range "#xF900-#xFDCF")
404
- (range "#xFDF0-#xFFFD")
405
- (range "#x10000-#xEFFFF")) )
406
- (terminal PN_CHARS_U "164s" (alt PN_CHARS_BASE "_"))
407
- (terminal PN_CHARS "166s"
408
- (alt PN_CHARS_U "-"
409
- (range "0-9")
410
- (hex "#x00B7")
411
- (range "#x0300-#x036F")
412
- (range "#x203F-#x2040")) )
413
- (terminal PN_PREFIX "167s"
414
- (seq PN_CHARS_BASE (opt (seq (star (alt PN_CHARS ".")) PN_CHARS))))
415
- (terminal PN_LOCAL "168s"
416
- (seq
417
- (alt PN_CHARS_U ":" (range "0-9") PLX)
418
- (opt (seq (star (alt PN_CHARS "." ":" PLX)) (alt PN_CHARS ":" PLX)))) )
419
- (terminal PLX "169s" (alt PERCENT PN_LOCAL_ESC))
420
- (terminal PERCENT "170s" (seq "%" HEX HEX))
421
- (terminal HEX "171s" (alt (range "0-9") (range "A-F") (range "a-f")))
422
- (terminal PN_LOCAL_ESC "172s"
423
- (seq "\\"
424
- (alt "_" "~" "." "-" "!" "$" "&" "'" "(" ")" "*" "+" "," ";" "=" "/" "?" "#"
425
- "@" "%" )) ))
data/etc/turtle.peg.rb DELETED
@@ -1,182 +0,0 @@
1
- # This file is automatically generated by ebnf version 2.0.0
2
- # Derived from etc/turtle.ebnf
3
- module Meta
4
- RULES = [
5
- EBNF::Rule.new(:turtleDoc, "1", [:star, :statement]).extend(EBNF::PEG::Rule),
6
- EBNF::Rule.new(:statement, "2", [:alt, :directive, :_statement_1]).extend(EBNF::PEG::Rule),
7
- EBNF::Rule.new(:_statement_1, "2.1", [:seq, :triples, "."]).extend(EBNF::PEG::Rule),
8
- EBNF::Rule.new(:directive, "3", [:alt, :prefixID, :base, :sparqlPrefix, :sparqlBase]).extend(EBNF::PEG::Rule),
9
- EBNF::Rule.new(:prefixID, "4", [:seq, "@prefix", :PNAME_NS, :IRIREF, "."]).extend(EBNF::PEG::Rule),
10
- EBNF::Rule.new(:base, "5", [:seq, "@base", :IRIREF, "."]).extend(EBNF::PEG::Rule),
11
- EBNF::Rule.new(:sparqlPrefix, "28s", [:seq, :SPARQL_PREFIX, :PNAME_NS, :IRIREF]).extend(EBNF::PEG::Rule),
12
- EBNF::Rule.new(:sparqlBase, "29s", [:seq, :SPARQL_BASE, :IRIREF]).extend(EBNF::PEG::Rule),
13
- EBNF::Rule.new(:triples, "6", [:alt, :_triples_1, :_triples_2]).extend(EBNF::PEG::Rule),
14
- EBNF::Rule.new(:_triples_1, "6.1", [:seq, :subject, :predicateObjectList]).extend(EBNF::PEG::Rule),
15
- EBNF::Rule.new(:_triples_2, "6.2", [:seq, :blankNodePropertyList, :_triples_3]).extend(EBNF::PEG::Rule),
16
- EBNF::Rule.new(:_triples_3, "6.3", [:opt, :predicateObjectList]).extend(EBNF::PEG::Rule),
17
- EBNF::Rule.new(:predicateObjectList, "7", [:seq, :verb, :objectList, :_predicateObjectList_1]).extend(EBNF::PEG::Rule),
18
- EBNF::Rule.new(:_predicateObjectList_1, "7.1", [:star, :_predicateObjectList_2]).extend(EBNF::PEG::Rule),
19
- EBNF::Rule.new(:_predicateObjectList_2, "7.2", [:seq, ";", :_predicateObjectList_3]).extend(EBNF::PEG::Rule),
20
- EBNF::Rule.new(:_predicateObjectList_3, "7.3", [:opt, :_predicateObjectList_4]).extend(EBNF::PEG::Rule),
21
- EBNF::Rule.new(:_predicateObjectList_4, "7.4", [:seq, :verb, :objectList]).extend(EBNF::PEG::Rule),
22
- EBNF::Rule.new(:objectList, "8", [:seq, :object, :_objectList_1]).extend(EBNF::PEG::Rule),
23
- EBNF::Rule.new(:_objectList_1, "8.1", [:star, :_objectList_2]).extend(EBNF::PEG::Rule),
24
- EBNF::Rule.new(:_objectList_2, "8.2", [:seq, ",", :object]).extend(EBNF::PEG::Rule),
25
- EBNF::Rule.new(:verb, "9", [:alt, :predicate, "a"]).extend(EBNF::PEG::Rule),
26
- EBNF::Rule.new(:subject, "10", [:alt, :iri, :BlankNode, :collection]).extend(EBNF::PEG::Rule),
27
- EBNF::Rule.new(:predicate, "11", [:seq, :iri]).extend(EBNF::PEG::Rule),
28
- EBNF::Rule.new(:object, "12", [:alt, :iri, :BlankNode, :collection, :blankNodePropertyList, :literal]).extend(EBNF::PEG::Rule),
29
- EBNF::Rule.new(:literal, "13", [:alt, :RDFLiteral, :NumericLiteral, :BooleanLiteral]).extend(EBNF::PEG::Rule),
30
- EBNF::Rule.new(:blankNodePropertyList, "14", [:seq, "[", :predicateObjectList, "]"]).extend(EBNF::PEG::Rule),
31
- EBNF::Rule.new(:collection, "15", [:seq, "(", :_collection_1, ")"]).extend(EBNF::PEG::Rule),
32
- EBNF::Rule.new(:_collection_1, "15.1", [:star, :object]).extend(EBNF::PEG::Rule),
33
- EBNF::Rule.new(:NumericLiteral, "16", [:alt, :INTEGER, :DECIMAL, :DOUBLE]).extend(EBNF::PEG::Rule),
34
- EBNF::Rule.new(:RDFLiteral, "128s", [:seq, :String, :_RDFLiteral_1]).extend(EBNF::PEG::Rule),
35
- EBNF::Rule.new(:_RDFLiteral_1, "128s.1", [:opt, :_RDFLiteral_2]).extend(EBNF::PEG::Rule),
36
- EBNF::Rule.new(:_RDFLiteral_2, "128s.2", [:alt, :LANGTAG, :_RDFLiteral_3]).extend(EBNF::PEG::Rule),
37
- EBNF::Rule.new(:_RDFLiteral_3, "128s.3", [:seq, "^^", :iri]).extend(EBNF::PEG::Rule),
38
- EBNF::Rule.new(:BooleanLiteral, "133s", [:alt, "true", "false"]).extend(EBNF::PEG::Rule),
39
- EBNF::Rule.new(:String, "17", [:alt, :STRING_LITERAL_QUOTE, :STRING_LITERAL_SINGLE_QUOTE, :STRING_LITERAL_LONG_SINGLE_QUOTE, :STRING_LITERAL_LONG_QUOTE]).extend(EBNF::PEG::Rule),
40
- EBNF::Rule.new(:iri, "135s", [:alt, :IRIREF, :PrefixedName]).extend(EBNF::PEG::Rule),
41
- EBNF::Rule.new(:PrefixedName, "136s", [:alt, :PNAME_LN, :PNAME_NS]).extend(EBNF::PEG::Rule),
42
- EBNF::Rule.new(:BlankNode, "137s", [:alt, :BLANK_NODE_LABEL, :ANON]).extend(EBNF::PEG::Rule),
43
- EBNF::Rule.new(:IRIREF, "18", [:seq, "<", :_IRIREF_1], kind: :terminal).extend(EBNF::PEG::Rule),
44
- EBNF::Rule.new(:_IRIREF_1, "18.1", [:range, "^#x00-#x20<>\"{}|^`] | UCHAR)* '>'"], kind: :terminal).extend(EBNF::PEG::Rule),
45
- EBNF::Rule.new(:PNAME_NS, "139s", [:seq, :_PNAME_NS_1, ":"], kind: :terminal).extend(EBNF::PEG::Rule),
46
- EBNF::Rule.new(:_PNAME_NS_1, "139s.1", [:opt, :PN_PREFIX], kind: :terminal).extend(EBNF::PEG::Rule),
47
- EBNF::Rule.new(:PNAME_LN, "140s", [:seq, :PNAME_NS, :PN_LOCAL], kind: :terminal).extend(EBNF::PEG::Rule),
48
- EBNF::Rule.new(:BLANK_NODE_LABEL, "141s", [:seq, "_:", :_BLANK_NODE_LABEL_1, :_BLANK_NODE_LABEL_2], kind: :terminal).extend(EBNF::PEG::Rule),
49
- EBNF::Rule.new(:_BLANK_NODE_LABEL_1, "141s.1", [:alt, :PN_CHARS_U, :_BLANK_NODE_LABEL_3], kind: :terminal).extend(EBNF::PEG::Rule),
50
- EBNF::Rule.new(:_BLANK_NODE_LABEL_3, "141s.3", [:range, "0-9"], kind: :terminal).extend(EBNF::PEG::Rule),
51
- EBNF::Rule.new(:_BLANK_NODE_LABEL_2, "141s.2", [:opt, :_BLANK_NODE_LABEL_4], kind: :terminal).extend(EBNF::PEG::Rule),
52
- EBNF::Rule.new(:_BLANK_NODE_LABEL_4, "141s.4", [:seq, :_BLANK_NODE_LABEL_5, :PN_CHARS], kind: :terminal).extend(EBNF::PEG::Rule),
53
- EBNF::Rule.new(:_BLANK_NODE_LABEL_5, "141s.5", [:star, :_BLANK_NODE_LABEL_6], kind: :terminal).extend(EBNF::PEG::Rule),
54
- EBNF::Rule.new(:_BLANK_NODE_LABEL_6, "141s.6", [:alt, :PN_CHARS, "."], kind: :terminal).extend(EBNF::PEG::Rule),
55
- EBNF::Rule.new(:LANGTAG, "144s", [:seq, "@", :_LANGTAG_1, :_LANGTAG_2], kind: :terminal).extend(EBNF::PEG::Rule),
56
- EBNF::Rule.new(:_LANGTAG_1, "144s.1", [:plus, :_LANGTAG_3], kind: :terminal).extend(EBNF::PEG::Rule),
57
- EBNF::Rule.new(:_LANGTAG_3, "144s.3", [:range, "a-zA-Z"], kind: :terminal).extend(EBNF::PEG::Rule),
58
- EBNF::Rule.new(:_LANGTAG_2, "144s.2", [:star, :_LANGTAG_4], kind: :terminal).extend(EBNF::PEG::Rule),
59
- EBNF::Rule.new(:_LANGTAG_4, "144s.4", [:seq, "-", :_LANGTAG_5], kind: :terminal).extend(EBNF::PEG::Rule),
60
- EBNF::Rule.new(:_LANGTAG_5, "144s.5", [:plus, :_LANGTAG_6], kind: :terminal).extend(EBNF::PEG::Rule),
61
- EBNF::Rule.new(:_LANGTAG_6, "144s.6", [:range, "a-zA-Z0-9"], kind: :terminal).extend(EBNF::PEG::Rule),
62
- EBNF::Rule.new(:INTEGER, "19", [:seq, :_INTEGER_1, :_INTEGER_2], kind: :terminal).extend(EBNF::PEG::Rule),
63
- EBNF::Rule.new(:_INTEGER_1, "19.1", [:opt, :_INTEGER_3], kind: :terminal).extend(EBNF::PEG::Rule),
64
- EBNF::Rule.new(:_INTEGER_3, "19.3", [:range, "+-"], kind: :terminal).extend(EBNF::PEG::Rule),
65
- EBNF::Rule.new(:_INTEGER_2, "19.2", [:plus, :_INTEGER_4], kind: :terminal).extend(EBNF::PEG::Rule),
66
- EBNF::Rule.new(:_INTEGER_4, "19.4", [:range, "0-9"], kind: :terminal).extend(EBNF::PEG::Rule),
67
- EBNF::Rule.new(:DECIMAL, "20", [:seq, :_DECIMAL_1, :_DECIMAL_2], kind: :terminal).extend(EBNF::PEG::Rule),
68
- EBNF::Rule.new(:_DECIMAL_1, "20.1", [:opt, :_DECIMAL_3], kind: :terminal).extend(EBNF::PEG::Rule),
69
- EBNF::Rule.new(:_DECIMAL_3, "20.3", [:range, "+-"], kind: :terminal).extend(EBNF::PEG::Rule),
70
- EBNF::Rule.new(:_DECIMAL_2, "20.2", [:seq, :_DECIMAL_4, ".", :_DECIMAL_5], kind: :terminal).extend(EBNF::PEG::Rule),
71
- EBNF::Rule.new(:_DECIMAL_4, "20.4", [:star, :_DECIMAL_6], kind: :terminal).extend(EBNF::PEG::Rule),
72
- EBNF::Rule.new(:_DECIMAL_6, "20.6", [:range, "0-9"], kind: :terminal).extend(EBNF::PEG::Rule),
73
- EBNF::Rule.new(:_DECIMAL_5, "20.5", [:plus, :_DECIMAL_7], kind: :terminal).extend(EBNF::PEG::Rule),
74
- EBNF::Rule.new(:_DECIMAL_7, "20.7", [:range, "0-9"], kind: :terminal).extend(EBNF::PEG::Rule),
75
- EBNF::Rule.new(:DOUBLE, "21", [:seq, :_DOUBLE_1, :_DOUBLE_2], kind: :terminal).extend(EBNF::PEG::Rule),
76
- EBNF::Rule.new(:_DOUBLE_1, "21.1", [:opt, :_DOUBLE_3], kind: :terminal).extend(EBNF::PEG::Rule),
77
- EBNF::Rule.new(:_DOUBLE_3, "21.3", [:range, "+-"], kind: :terminal).extend(EBNF::PEG::Rule),
78
- EBNF::Rule.new(:_DOUBLE_2, "21.2", [:alt, :_DOUBLE_4, :_DOUBLE_5, :_DOUBLE_6], kind: :terminal).extend(EBNF::PEG::Rule),
79
- EBNF::Rule.new(:_DOUBLE_4, "21.4", [:seq, :_DOUBLE_7, ".", :_DOUBLE_8, :EXPONENT], kind: :terminal).extend(EBNF::PEG::Rule),
80
- EBNF::Rule.new(:_DOUBLE_7, "21.7", [:plus, :_DOUBLE_9], kind: :terminal).extend(EBNF::PEG::Rule),
81
- EBNF::Rule.new(:_DOUBLE_9, "21.9", [:range, "0-9"], kind: :terminal).extend(EBNF::PEG::Rule),
82
- EBNF::Rule.new(:_DOUBLE_8, "21.8", [:star, :_DOUBLE_10], kind: :terminal).extend(EBNF::PEG::Rule),
83
- EBNF::Rule.new(:_DOUBLE_10, "21.10", [:range, "0-9"], kind: :terminal).extend(EBNF::PEG::Rule),
84
- EBNF::Rule.new(:_DOUBLE_5, "21.5", [:seq, ".", :_DOUBLE_11, :EXPONENT], kind: :terminal).extend(EBNF::PEG::Rule),
85
- EBNF::Rule.new(:_DOUBLE_11, "21.11", [:plus, :_DOUBLE_12], kind: :terminal).extend(EBNF::PEG::Rule),
86
- EBNF::Rule.new(:_DOUBLE_12, "21.12", [:range, "0-9"], kind: :terminal).extend(EBNF::PEG::Rule),
87
- EBNF::Rule.new(:_DOUBLE_6, "21.6", [:seq, :_DOUBLE_13, :EXPONENT], kind: :terminal).extend(EBNF::PEG::Rule),
88
- EBNF::Rule.new(:_DOUBLE_13, "21.13", [:plus, :_DOUBLE_14], kind: :terminal).extend(EBNF::PEG::Rule),
89
- EBNF::Rule.new(:_DOUBLE_14, "21.14", [:range, "0-9"], kind: :terminal).extend(EBNF::PEG::Rule),
90
- EBNF::Rule.new(:EXPONENT, "154s", [:seq, :_EXPONENT_1, :_EXPONENT_2, :_EXPONENT_3], kind: :terminal).extend(EBNF::PEG::Rule),
91
- EBNF::Rule.new(:_EXPONENT_1, "154s.1", [:range, "eE"], kind: :terminal).extend(EBNF::PEG::Rule),
92
- EBNF::Rule.new(:_EXPONENT_2, "154s.2", [:opt, :_EXPONENT_4], kind: :terminal).extend(EBNF::PEG::Rule),
93
- EBNF::Rule.new(:_EXPONENT_4, "154s.4", [:range, "+-"], kind: :terminal).extend(EBNF::PEG::Rule),
94
- EBNF::Rule.new(:_EXPONENT_3, "154s.3", [:plus, :_EXPONENT_5], kind: :terminal).extend(EBNF::PEG::Rule),
95
- EBNF::Rule.new(:_EXPONENT_5, "154s.5", [:range, "0-9"], kind: :terminal).extend(EBNF::PEG::Rule),
96
- EBNF::Rule.new(:STRING_LITERAL_QUOTE, "22", [:seq, "\"", :_STRING_LITERAL_QUOTE_1, "\""], kind: :terminal).extend(EBNF::PEG::Rule),
97
- EBNF::Rule.new(:_STRING_LITERAL_QUOTE_1, "22.1", [:star, :_STRING_LITERAL_QUOTE_2], kind: :terminal).extend(EBNF::PEG::Rule),
98
- EBNF::Rule.new(:_STRING_LITERAL_QUOTE_2, "22.2", [:alt, :_STRING_LITERAL_QUOTE_3, :ECHAR, :UCHAR], kind: :terminal).extend(EBNF::PEG::Rule),
99
- EBNF::Rule.new(:_STRING_LITERAL_QUOTE_3, "22.3", [:range, "^#x22#x5C#xA#xD"], kind: :terminal).extend(EBNF::PEG::Rule),
100
- EBNF::Rule.new(:STRING_LITERAL_SINGLE_QUOTE, "23", [:seq, "'", :_STRING_LITERAL_SINGLE_QUOTE_1, "'"], kind: :terminal).extend(EBNF::PEG::Rule),
101
- EBNF::Rule.new(:_STRING_LITERAL_SINGLE_QUOTE_1, "23.1", [:star, :_STRING_LITERAL_SINGLE_QUOTE_2], kind: :terminal).extend(EBNF::PEG::Rule),
102
- EBNF::Rule.new(:_STRING_LITERAL_SINGLE_QUOTE_2, "23.2", [:alt, :_STRING_LITERAL_SINGLE_QUOTE_3, :ECHAR, :UCHAR], kind: :terminal).extend(EBNF::PEG::Rule),
103
- EBNF::Rule.new(:_STRING_LITERAL_SINGLE_QUOTE_3, "23.3", [:range, "^#x27#x5C#xA#xD"], kind: :terminal).extend(EBNF::PEG::Rule),
104
- EBNF::Rule.new(:STRING_LITERAL_LONG_SINGLE_QUOTE, "24", [:seq, "'''", :_STRING_LITERAL_LONG_SINGLE_QUOTE_1], kind: :terminal).extend(EBNF::PEG::Rule),
105
- EBNF::Rule.new(:_STRING_LITERAL_LONG_SINGLE_QUOTE_1, "24.1", [:seq, :_STRING_LITERAL_LONG_SINGLE_QUOTE_2, :_STRING_LITERAL_LONG_SINGLE_QUOTE_3], kind: :terminal).extend(EBNF::PEG::Rule),
106
- EBNF::Rule.new(:_STRING_LITERAL_LONG_SINGLE_QUOTE_2, "24.2", [:opt, :_STRING_LITERAL_LONG_SINGLE_QUOTE_4], kind: :terminal).extend(EBNF::PEG::Rule),
107
- EBNF::Rule.new(:_STRING_LITERAL_LONG_SINGLE_QUOTE_4, "24.4", [:alt, "'", "''"], kind: :terminal).extend(EBNF::PEG::Rule),
108
- EBNF::Rule.new(:_STRING_LITERAL_LONG_SINGLE_QUOTE_3, "24.3", [:range, "^'] | ECHAR | UCHAR ) )* \"'''\""], kind: :terminal).extend(EBNF::PEG::Rule),
109
- EBNF::Rule.new(:STRING_LITERAL_LONG_QUOTE, "25", [:seq, "\"\"\"", :_STRING_LITERAL_LONG_QUOTE_1], kind: :terminal).extend(EBNF::PEG::Rule),
110
- EBNF::Rule.new(:_STRING_LITERAL_LONG_QUOTE_1, "25.1", [:seq, :_STRING_LITERAL_LONG_QUOTE_2, :_STRING_LITERAL_LONG_QUOTE_3], kind: :terminal).extend(EBNF::PEG::Rule),
111
- EBNF::Rule.new(:_STRING_LITERAL_LONG_QUOTE_2, "25.2", [:opt, :_STRING_LITERAL_LONG_QUOTE_4], kind: :terminal).extend(EBNF::PEG::Rule),
112
- EBNF::Rule.new(:_STRING_LITERAL_LONG_QUOTE_4, "25.4", [:alt, "\"", "\"\""], kind: :terminal).extend(EBNF::PEG::Rule),
113
- EBNF::Rule.new(:_STRING_LITERAL_LONG_QUOTE_3, "25.3", [:range, "^\"] | ECHAR | UCHAR ) )* '\"\"\"'"], kind: :terminal).extend(EBNF::PEG::Rule),
114
- EBNF::Rule.new(:UCHAR, "26", [:alt, :_UCHAR_1, :_UCHAR_2], kind: :terminal).extend(EBNF::PEG::Rule),
115
- EBNF::Rule.new(:_UCHAR_1, "26.1", [:seq, "u", :HEX, :HEX, :HEX, :HEX], kind: :terminal).extend(EBNF::PEG::Rule),
116
- EBNF::Rule.new(:_UCHAR_2, "26.2", [:seq, "U", :HEX, :HEX, :HEX, :HEX, :HEX, :HEX, :HEX, :HEX], kind: :terminal).extend(EBNF::PEG::Rule),
117
- EBNF::Rule.new(:ECHAR, "159s", [:seq, "\\", :_ECHAR_1], kind: :terminal).extend(EBNF::PEG::Rule),
118
- EBNF::Rule.new(:_ECHAR_1, "159s.1", [:range, "tbnrf\"'"], kind: :terminal).extend(EBNF::PEG::Rule),
119
- EBNF::Rule.new(:SPARQL_PREFIX, "28t", [:seq, :_SPARQL_PREFIX_1, :_SPARQL_PREFIX_2, :_SPARQL_PREFIX_3, :_SPARQL_PREFIX_4, :_SPARQL_PREFIX_5, :_SPARQL_PREFIX_6], kind: :terminal).extend(EBNF::PEG::Rule),
120
- EBNF::Rule.new(:_SPARQL_PREFIX_1, "28t.1", [:range, "Pp"], kind: :terminal).extend(EBNF::PEG::Rule),
121
- EBNF::Rule.new(:_SPARQL_PREFIX_2, "28t.2", [:range, "Rr"], kind: :terminal).extend(EBNF::PEG::Rule),
122
- EBNF::Rule.new(:_SPARQL_PREFIX_3, "28t.3", [:range, "Ee"], kind: :terminal).extend(EBNF::PEG::Rule),
123
- EBNF::Rule.new(:_SPARQL_PREFIX_4, "28t.4", [:range, "Ff"], kind: :terminal).extend(EBNF::PEG::Rule),
124
- EBNF::Rule.new(:_SPARQL_PREFIX_5, "28t.5", [:range, "Ii"], kind: :terminal).extend(EBNF::PEG::Rule),
125
- EBNF::Rule.new(:_SPARQL_PREFIX_6, "28t.6", [:range, "Xx"], kind: :terminal).extend(EBNF::PEG::Rule),
126
- EBNF::Rule.new(:SPARQL_BASE, "29t", [:seq, :_SPARQL_BASE_1, :_SPARQL_BASE_2, :_SPARQL_BASE_3, :_SPARQL_BASE_4], kind: :terminal).extend(EBNF::PEG::Rule),
127
- EBNF::Rule.new(:_SPARQL_BASE_1, "29t.1", [:range, "Bb"], kind: :terminal).extend(EBNF::PEG::Rule),
128
- EBNF::Rule.new(:_SPARQL_BASE_2, "29t.2", [:range, "Aa"], kind: :terminal).extend(EBNF::PEG::Rule),
129
- EBNF::Rule.new(:_SPARQL_BASE_3, "29t.3", [:range, "Ss"], kind: :terminal).extend(EBNF::PEG::Rule),
130
- EBNF::Rule.new(:_SPARQL_BASE_4, "29t.4", [:range, "Ee"], kind: :terminal).extend(EBNF::PEG::Rule),
131
- EBNF::Rule.new(:WS, "161s", [:alt, :_WS_1, :_WS_2, :_WS_3, :_WS_4], kind: :terminal).extend(EBNF::PEG::Rule),
132
- EBNF::Rule.new(:_WS_1, "161s.1", [:hex, "#x20"], kind: :terminal).extend(EBNF::PEG::Rule),
133
- EBNF::Rule.new(:_WS_2, "161s.2", [:hex, "#x9"], kind: :terminal).extend(EBNF::PEG::Rule),
134
- EBNF::Rule.new(:_WS_3, "161s.3", [:hex, "#xD"], kind: :terminal).extend(EBNF::PEG::Rule),
135
- EBNF::Rule.new(:_WS_4, "161s.4", [:hex, "#xA"], kind: :terminal).extend(EBNF::PEG::Rule),
136
- EBNF::Rule.new(:ANON, "162s", [:seq, "[", :_ANON_1, "]"], kind: :terminal).extend(EBNF::PEG::Rule),
137
- EBNF::Rule.new(:_ANON_1, "162s.1", [:star, :WS], kind: :terminal).extend(EBNF::PEG::Rule),
138
- EBNF::Rule.new(:PN_CHARS_BASE, "163s", [:alt, :_PN_CHARS_BASE_1, :_PN_CHARS_BASE_2, :_PN_CHARS_BASE_3, :_PN_CHARS_BASE_4, :_PN_CHARS_BASE_5, :_PN_CHARS_BASE_6, :_PN_CHARS_BASE_7, :_PN_CHARS_BASE_8, :_PN_CHARS_BASE_9, :_PN_CHARS_BASE_10, :_PN_CHARS_BASE_11, :_PN_CHARS_BASE_12, :_PN_CHARS_BASE_13, :_PN_CHARS_BASE_14], kind: :terminal).extend(EBNF::PEG::Rule),
139
- EBNF::Rule.new(:_PN_CHARS_BASE_1, "163s.1", [:range, "A-Z"], kind: :terminal).extend(EBNF::PEG::Rule),
140
- EBNF::Rule.new(:_PN_CHARS_BASE_2, "163s.2", [:range, "a-z"], kind: :terminal).extend(EBNF::PEG::Rule),
141
- EBNF::Rule.new(:_PN_CHARS_BASE_3, "163s.3", [:range, "#x00C0-#x00D6"], kind: :terminal).extend(EBNF::PEG::Rule),
142
- EBNF::Rule.new(:_PN_CHARS_BASE_4, "163s.4", [:range, "#x00D8-#x00F6"], kind: :terminal).extend(EBNF::PEG::Rule),
143
- EBNF::Rule.new(:_PN_CHARS_BASE_5, "163s.5", [:range, "#x00F8-#x02FF"], kind: :terminal).extend(EBNF::PEG::Rule),
144
- EBNF::Rule.new(:_PN_CHARS_BASE_6, "163s.6", [:range, "#x0370-#x037D"], kind: :terminal).extend(EBNF::PEG::Rule),
145
- EBNF::Rule.new(:_PN_CHARS_BASE_7, "163s.7", [:range, "#x037F-#x1FFF"], kind: :terminal).extend(EBNF::PEG::Rule),
146
- EBNF::Rule.new(:_PN_CHARS_BASE_8, "163s.8", [:range, "#x200C-#x200D"], kind: :terminal).extend(EBNF::PEG::Rule),
147
- EBNF::Rule.new(:_PN_CHARS_BASE_9, "163s.9", [:range, "#x2070-#x218F"], kind: :terminal).extend(EBNF::PEG::Rule),
148
- EBNF::Rule.new(:_PN_CHARS_BASE_10, "163s.10", [:range, "#x2C00-#x2FEF"], kind: :terminal).extend(EBNF::PEG::Rule),
149
- EBNF::Rule.new(:_PN_CHARS_BASE_11, "163s.11", [:range, "#x3001-#xD7FF"], kind: :terminal).extend(EBNF::PEG::Rule),
150
- EBNF::Rule.new(:_PN_CHARS_BASE_12, "163s.12", [:range, "#xF900-#xFDCF"], kind: :terminal).extend(EBNF::PEG::Rule),
151
- EBNF::Rule.new(:_PN_CHARS_BASE_13, "163s.13", [:range, "#xFDF0-#xFFFD"], kind: :terminal).extend(EBNF::PEG::Rule),
152
- EBNF::Rule.new(:_PN_CHARS_BASE_14, "163s.14", [:range, "#x10000-#xEFFFF"], kind: :terminal).extend(EBNF::PEG::Rule),
153
- EBNF::Rule.new(:PN_CHARS_U, "164s", [:alt, :PN_CHARS_BASE, "_"], kind: :terminal).extend(EBNF::PEG::Rule),
154
- EBNF::Rule.new(:PN_CHARS, "166s", [:alt, :PN_CHARS_U, "-", :_PN_CHARS_1, :_PN_CHARS_2, :_PN_CHARS_3, :_PN_CHARS_4], kind: :terminal).extend(EBNF::PEG::Rule),
155
- EBNF::Rule.new(:_PN_CHARS_1, "166s.1", [:range, "0-9"], kind: :terminal).extend(EBNF::PEG::Rule),
156
- EBNF::Rule.new(:_PN_CHARS_2, "166s.2", [:hex, "#x00B7"], kind: :terminal).extend(EBNF::PEG::Rule),
157
- EBNF::Rule.new(:_PN_CHARS_3, "166s.3", [:range, "#x0300-#x036F"], kind: :terminal).extend(EBNF::PEG::Rule),
158
- EBNF::Rule.new(:_PN_CHARS_4, "166s.4", [:range, "#x203F-#x2040"], kind: :terminal).extend(EBNF::PEG::Rule),
159
- EBNF::Rule.new(:PN_PREFIX, "167s", [:seq, :PN_CHARS_BASE, :_PN_PREFIX_1], kind: :terminal).extend(EBNF::PEG::Rule),
160
- EBNF::Rule.new(:_PN_PREFIX_1, "167s.1", [:opt, :_PN_PREFIX_2], kind: :terminal).extend(EBNF::PEG::Rule),
161
- EBNF::Rule.new(:_PN_PREFIX_2, "167s.2", [:seq, :_PN_PREFIX_3, :PN_CHARS], kind: :terminal).extend(EBNF::PEG::Rule),
162
- EBNF::Rule.new(:_PN_PREFIX_3, "167s.3", [:star, :_PN_PREFIX_4], kind: :terminal).extend(EBNF::PEG::Rule),
163
- EBNF::Rule.new(:_PN_PREFIX_4, "167s.4", [:alt, :PN_CHARS, "."], kind: :terminal).extend(EBNF::PEG::Rule),
164
- EBNF::Rule.new(:PN_LOCAL, "168s", [:seq, :_PN_LOCAL_1, :_PN_LOCAL_2], kind: :terminal).extend(EBNF::PEG::Rule),
165
- EBNF::Rule.new(:_PN_LOCAL_1, "168s.1", [:alt, :PN_CHARS_U, ":", :_PN_LOCAL_3, :PLX], kind: :terminal).extend(EBNF::PEG::Rule),
166
- EBNF::Rule.new(:_PN_LOCAL_3, "168s.3", [:range, "0-9"], kind: :terminal).extend(EBNF::PEG::Rule),
167
- EBNF::Rule.new(:_PN_LOCAL_2, "168s.2", [:opt, :_PN_LOCAL_4], kind: :terminal).extend(EBNF::PEG::Rule),
168
- EBNF::Rule.new(:_PN_LOCAL_4, "168s.4", [:seq, :_PN_LOCAL_5, :_PN_LOCAL_6], kind: :terminal).extend(EBNF::PEG::Rule),
169
- EBNF::Rule.new(:_PN_LOCAL_5, "168s.5", [:star, :_PN_LOCAL_7], kind: :terminal).extend(EBNF::PEG::Rule),
170
- EBNF::Rule.new(:_PN_LOCAL_7, "168s.7", [:alt, :PN_CHARS, ".", ":", :PLX], kind: :terminal).extend(EBNF::PEG::Rule),
171
- EBNF::Rule.new(:_PN_LOCAL_6, "168s.6", [:alt, :PN_CHARS, ":", :PLX], kind: :terminal).extend(EBNF::PEG::Rule),
172
- EBNF::Rule.new(:PLX, "169s", [:alt, :PERCENT, :PN_LOCAL_ESC], kind: :terminal).extend(EBNF::PEG::Rule),
173
- EBNF::Rule.new(:PERCENT, "170s", [:seq, "%", :HEX, :HEX], kind: :terminal).extend(EBNF::PEG::Rule),
174
- EBNF::Rule.new(:HEX, "171s", [:alt, :_HEX_1, :_HEX_2, :_HEX_3], kind: :terminal).extend(EBNF::PEG::Rule),
175
- EBNF::Rule.new(:_HEX_1, "171s.1", [:range, "0-9"], kind: :terminal).extend(EBNF::PEG::Rule),
176
- EBNF::Rule.new(:_HEX_2, "171s.2", [:range, "A-F"], kind: :terminal).extend(EBNF::PEG::Rule),
177
- EBNF::Rule.new(:_HEX_3, "171s.3", [:range, "a-f"], kind: :terminal).extend(EBNF::PEG::Rule),
178
- EBNF::Rule.new(:PN_LOCAL_ESC, "172s", [:seq, "\\", :_PN_LOCAL_ESC_1], kind: :terminal).extend(EBNF::PEG::Rule),
179
- EBNF::Rule.new(:_PN_LOCAL_ESC_1, "172s.1", [:alt, "_", "~", ".", "-", "!", "$", "&", "'", "(", ")", "*", "+", ",", ";", "=", "/", "?", "#", "@", "%"], kind: :terminal).extend(EBNF::PEG::Rule),
180
- ]
181
- end
182
-