Location | Tool | Test ID | Function | Issue |
---|---|---|---|---|
tracker-sparql-scanner.c:4919:7 | clang-analyzer | Value stored to 'type' is never read | ||
tracker-sparql-scanner.c:5473:25 | gcc | unused-but-set-variable | tracker_sparql_scanner_finalize | variable 'self' set but not used |
tracker-sparql-scanner.c:5475:2 | clang-analyzer | Value stored to 'self' is never read |
1 /* tracker-sparql-scanner.c generated by valac 0.18.1, the Vala compiler
2 * generated from tracker-sparql-scanner.vala, do not modify */
3
4 /*
5 * Copyright (C) 2009, Nokia
6 *
7 * This library is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU Lesser General Public
9 * License as published by the Free Software Foundation; either
10 * version 2.1 of the License, or (at your option) any later version.
11 *
12 * This library is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15 * Lesser General Public License for more details.
16 *
17 * You should have received a copy of the GNU Lesser General Public
18 * License along with this library; if not, write to the
19 * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
20 * Boston, MA 02110-1301, USA.
21 */
22
23 #include <glib.h>
24 #include <glib-object.h>
25 #include "libtracker-sparql/tracker-sparql.h"
26 #include <stdlib.h>
27 #include <string.h>
28
29
30 #define TRACKER_TYPE_SPARQL_SCANNER (tracker_sparql_scanner_get_type ())
31 #define TRACKER_SPARQL_SCANNER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TRACKER_TYPE_SPARQL_SCANNER, TrackerSparqlScanner))
32 #define TRACKER_SPARQL_SCANNER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TRACKER_TYPE_SPARQL_SCANNER, TrackerSparqlScannerClass))
33 #define TRACKER_IS_SPARQL_SCANNER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TRACKER_TYPE_SPARQL_SCANNER))
34 #define TRACKER_IS_SPARQL_SCANNER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TRACKER_TYPE_SPARQL_SCANNER))
35 #define TRACKER_SPARQL_SCANNER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TRACKER_TYPE_SPARQL_SCANNER, TrackerSparqlScannerClass))
36
37 typedef struct _TrackerSparqlScanner TrackerSparqlScanner;
38 typedef struct _TrackerSparqlScannerClass TrackerSparqlScannerClass;
39 typedef struct _TrackerSparqlScannerPrivate TrackerSparqlScannerPrivate;
40
41 #define TRACKER_TYPE_SOURCE_LOCATION (tracker_source_location_get_type ())
42 typedef struct _TrackerSourceLocation TrackerSourceLocation;
43
44 #define TRACKER_TYPE_SPARQL_TOKEN_TYPE (tracker_sparql_token_type_get_type ())
45
46 struct _TrackerSparqlScanner {
47 GObject parent_instance;
48 TrackerSparqlScannerPrivate * priv;
49 };
50
51 struct _TrackerSparqlScannerClass {
52 GObjectClass parent_class;
53 };
54
55 struct _TrackerSparqlScannerPrivate {
56 gchar* current;
57 gchar* end;
58 gint line;
59 gint column;
60 };
61
62 struct _TrackerSourceLocation {
63 gchar* pos;
64 gint line;
65 gint column;
66 };
67
68 typedef enum {
69 TRACKER_SPARQL_TOKEN_TYPE_NONE,
70 TRACKER_SPARQL_TOKEN_TYPE_A,
71 TRACKER_SPARQL_TOKEN_TYPE_AS,
72 TRACKER_SPARQL_TOKEN_TYPE_ASC,
73 TRACKER_SPARQL_TOKEN_TYPE_ASK,
74 TRACKER_SPARQL_TOKEN_TYPE_ATBASE,
75 TRACKER_SPARQL_TOKEN_TYPE_ATPREFIX,
76 TRACKER_SPARQL_TOKEN_TYPE_AVG,
77 TRACKER_SPARQL_TOKEN_TYPE_BASE,
78 TRACKER_SPARQL_TOKEN_TYPE_BLANK_NODE,
79 TRACKER_SPARQL_TOKEN_TYPE_BOUND,
80 TRACKER_SPARQL_TOKEN_TYPE_BY,
81 TRACKER_SPARQL_TOKEN_TYPE_CLOSE_BRACE,
82 TRACKER_SPARQL_TOKEN_TYPE_CLOSE_BRACKET,
83 TRACKER_SPARQL_TOKEN_TYPE_CLOSE_PARENS,
84 TRACKER_SPARQL_TOKEN_TYPE_COALESCE,
85 TRACKER_SPARQL_TOKEN_TYPE_COLON,
86 TRACKER_SPARQL_TOKEN_TYPE_COMMA,
87 TRACKER_SPARQL_TOKEN_TYPE_CONSTRUCT,
88 TRACKER_SPARQL_TOKEN_TYPE_COUNT,
89 TRACKER_SPARQL_TOKEN_TYPE_DATA,
90 TRACKER_SPARQL_TOKEN_TYPE_DATATYPE,
91 TRACKER_SPARQL_TOKEN_TYPE_DECIMAL,
92 TRACKER_SPARQL_TOKEN_TYPE_DELETE,
93 TRACKER_SPARQL_TOKEN_TYPE_DESC,
94 TRACKER_SPARQL_TOKEN_TYPE_DESCRIBE,
95 TRACKER_SPARQL_TOKEN_TYPE_DISTINCT,
96 TRACKER_SPARQL_TOKEN_TYPE_DIV,
97 TRACKER_SPARQL_TOKEN_TYPE_DOT,
98 TRACKER_SPARQL_TOKEN_TYPE_DOUBLE,
99 TRACKER_SPARQL_TOKEN_TYPE_DOUBLE_CIRCUMFLEX,
100 TRACKER_SPARQL_TOKEN_TYPE_DROP,
101 TRACKER_SPARQL_TOKEN_TYPE_EOF,
102 TRACKER_SPARQL_TOKEN_TYPE_EXISTS,
103 TRACKER_SPARQL_TOKEN_TYPE_FALSE,
104 TRACKER_SPARQL_TOKEN_TYPE_FILTER,
105 TRACKER_SPARQL_TOKEN_TYPE_FROM,
106 TRACKER_SPARQL_TOKEN_TYPE_GRAPH,
107 TRACKER_SPARQL_TOKEN_TYPE_GROUP,
108 TRACKER_SPARQL_TOKEN_TYPE_GROUP_CONCAT,
109 TRACKER_SPARQL_TOKEN_TYPE_HAVING,
110 TRACKER_SPARQL_TOKEN_TYPE_IF,
111 TRACKER_SPARQL_TOKEN_TYPE_INSERT,
112 TRACKER_SPARQL_TOKEN_TYPE_INTEGER,
113 TRACKER_SPARQL_TOKEN_TYPE_INTO,
114 TRACKER_SPARQL_TOKEN_TYPE_IRI_REF,
115 TRACKER_SPARQL_TOKEN_TYPE_ISBLANK,
116 TRACKER_SPARQL_TOKEN_TYPE_ISIRI,
117 TRACKER_SPARQL_TOKEN_TYPE_ISLITERAL,
118 TRACKER_SPARQL_TOKEN_TYPE_ISURI,
119 TRACKER_SPARQL_TOKEN_TYPE_LANG,
120 TRACKER_SPARQL_TOKEN_TYPE_LANGMATCHES,
121 TRACKER_SPARQL_TOKEN_TYPE_LIMIT,
122 TRACKER_SPARQL_TOKEN_TYPE_MAX,
123 TRACKER_SPARQL_TOKEN_TYPE_MIN,
124 TRACKER_SPARQL_TOKEN_TYPE_MINUS,
125 TRACKER_SPARQL_TOKEN_TYPE_NAMED,
126 TRACKER_SPARQL_TOKEN_TYPE_NOT,
127 TRACKER_SPARQL_TOKEN_TYPE_NULL,
128 TRACKER_SPARQL_TOKEN_TYPE_OFFSET,
129 TRACKER_SPARQL_TOKEN_TYPE_OP_AND,
130 TRACKER_SPARQL_TOKEN_TYPE_OP_EQ,
131 TRACKER_SPARQL_TOKEN_TYPE_OP_GE,
132 TRACKER_SPARQL_TOKEN_TYPE_OP_GT,
133 TRACKER_SPARQL_TOKEN_TYPE_OP_LE,
134 TRACKER_SPARQL_TOKEN_TYPE_OP_LT,
135 TRACKER_SPARQL_TOKEN_TYPE_OP_NE,
136 TRACKER_SPARQL_TOKEN_TYPE_OP_NEG,
137 TRACKER_SPARQL_TOKEN_TYPE_OP_OR,
138 TRACKER_SPARQL_TOKEN_TYPE_OP_IN,
139 TRACKER_SPARQL_TOKEN_TYPE_OPEN_BRACE,
140 TRACKER_SPARQL_TOKEN_TYPE_OPEN_BRACKET,
141 TRACKER_SPARQL_TOKEN_TYPE_OPEN_PARENS,
142 TRACKER_SPARQL_TOKEN_TYPE_OPTIONAL,
143 TRACKER_SPARQL_TOKEN_TYPE_OR,
144 TRACKER_SPARQL_TOKEN_TYPE_ORDER,
145 TRACKER_SPARQL_TOKEN_TYPE_PLUS,
146 TRACKER_SPARQL_TOKEN_TYPE_PN_PREFIX,
147 TRACKER_SPARQL_TOKEN_TYPE_PREFIX,
148 TRACKER_SPARQL_TOKEN_TYPE_REDUCED,
149 TRACKER_SPARQL_TOKEN_TYPE_REGEX,
150 TRACKER_SPARQL_TOKEN_TYPE_REPLACE,
151 TRACKER_SPARQL_TOKEN_TYPE_SAMETERM,
152 TRACKER_SPARQL_TOKEN_TYPE_SELECT,
153 TRACKER_SPARQL_TOKEN_TYPE_SEMICOLON,
154 TRACKER_SPARQL_TOKEN_TYPE_SILENT,
155 TRACKER_SPARQL_TOKEN_TYPE_STAR,
156 TRACKER_SPARQL_TOKEN_TYPE_STR,
157 TRACKER_SPARQL_TOKEN_TYPE_STRING_LITERAL1,
158 TRACKER_SPARQL_TOKEN_TYPE_STRING_LITERAL2,
159 TRACKER_SPARQL_TOKEN_TYPE_STRING_LITERAL_LONG1,
160 TRACKER_SPARQL_TOKEN_TYPE_STRING_LITERAL_LONG2,
161 TRACKER_SPARQL_TOKEN_TYPE_SUM,
162 TRACKER_SPARQL_TOKEN_TYPE_TRUE,
163 TRACKER_SPARQL_TOKEN_TYPE_UNION,
164 TRACKER_SPARQL_TOKEN_TYPE_VAR,
165 TRACKER_SPARQL_TOKEN_TYPE_WHERE,
166 TRACKER_SPARQL_TOKEN_TYPE_WITH
167 } TrackerSparqlTokenType;
168
169
170 static gpointer tracker_sparql_scanner_parent_class = NULL;
171
172 GType tracker_sparql_scanner_get_type (void) G_GNUC_CONST;
173 #define TRACKER_SPARQL_SCANNER_GET_PRIVATE(o) (G_TYPE_INSTANCE_GET_PRIVATE ((o), TRACKER_TYPE_SPARQL_SCANNER, TrackerSparqlScannerPrivate))
174 enum {
175 TRACKER_SPARQL_SCANNER_DUMMY_PROPERTY
176 };
177 TrackerSparqlScanner* tracker_sparql_scanner_new (gchar* input, gsize len);
178 TrackerSparqlScanner* tracker_sparql_scanner_construct (GType object_type, gchar* input, gsize len);
179 GType tracker_source_location_get_type (void) G_GNUC_CONST;
180 TrackerSourceLocation* tracker_source_location_dup (const TrackerSourceLocation* self);
181 void tracker_source_location_free (TrackerSourceLocation* self);
182 void tracker_sparql_scanner_seek (TrackerSparqlScanner* self, TrackerSourceLocation* location);
183 GType tracker_sparql_token_type_get_type (void) G_GNUC_CONST;
184 static TrackerSparqlTokenType tracker_sparql_scanner_get_identifier_or_keyword (TrackerSparqlScanner* self, gchar* begin, gint len);
185 static gboolean tracker_sparql_scanner_matches (TrackerSparqlScanner* self, gchar* begin, const gchar* keyword);
186 static TrackerSparqlTokenType tracker_sparql_scanner_read_number (TrackerSparqlScanner* self);
187 static gboolean tracker_sparql_scanner_is_pn_char (TrackerSparqlScanner* self, gchar c);
188 static gboolean tracker_sparql_scanner_is_pn_local_char (TrackerSparqlScanner* self, gchar c);
189 static gboolean tracker_sparql_scanner_is_varname_char (TrackerSparqlScanner* self, gchar c);
190 TrackerSparqlTokenType tracker_sparql_scanner_read_token (TrackerSparqlScanner* self, TrackerSourceLocation* token_begin, TrackerSourceLocation* token_end, GError** error);
191 static void tracker_sparql_scanner_space (TrackerSparqlScanner* self);
192 void tracker_source_location_init (TrackerSourceLocation *self, gchar* pos, gint line, gint column);
193 static gboolean tracker_sparql_scanner_whitespace (TrackerSparqlScanner* self);
194 static gboolean tracker_sparql_scanner_comment (TrackerSparqlScanner* self);
195 static void tracker_sparql_scanner_finalize (GObject* obj);
196 const gchar* tracker_sparql_token_type_to_string (TrackerSparqlTokenType self);
197
198
199 TrackerSparqlScanner* tracker_sparql_scanner_construct (GType object_type, gchar* input, gsize len) {
200 TrackerSparqlScanner * self = NULL;
201 gchar* _tmp0_;
202 gchar* begin;
203 gsize _tmp1_;
204 #line 27 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
205 self = (TrackerSparqlScanner*) g_object_new (object_type, NULL);
206 #line 28 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
207 _tmp0_ = input;
208 #line 28 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
209 begin = _tmp0_;
210 #line 29 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
211 _tmp1_ = len;
212 #line 29 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
213 self->priv->end = begin + _tmp1_;
214 #line 31 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
215 self->priv->current = begin;
216 #line 33 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
217 self->priv->line = 1;
218 #line 34 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
219 self->priv->column = 1;
220 #line 27 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
221 return self;
222 #line 223 "tracker-sparql-scanner.c"
223 }
224
225
226 TrackerSparqlScanner* tracker_sparql_scanner_new (gchar* input, gsize len) {
227 #line 27 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
228 return tracker_sparql_scanner_construct (TRACKER_TYPE_SPARQL_SCANNER, input, len);
229 #line 230 "tracker-sparql-scanner.c"
230 }
231
232
233 void tracker_sparql_scanner_seek (TrackerSparqlScanner* self, TrackerSourceLocation* location) {
234 TrackerSourceLocation _tmp0_;
235 gchar* _tmp1_;
236 TrackerSourceLocation _tmp2_;
237 gint _tmp3_;
238 TrackerSourceLocation _tmp4_;
239 gint _tmp5_;
240 #line 37 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
241 g_return_if_fail (self != NULL);
242 #line 37 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
243 g_return_if_fail (location != NULL);
244 #line 38 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
245 _tmp0_ = *location;
246 #line 38 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
247 _tmp1_ = _tmp0_.pos;
248 #line 38 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
249 self->priv->current = _tmp1_;
250 #line 39 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
251 _tmp2_ = *location;
252 #line 39 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
253 _tmp3_ = _tmp2_.line;
254 #line 39 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
255 self->priv->line = _tmp3_;
256 #line 40 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
257 _tmp4_ = *location;
258 #line 40 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
259 _tmp5_ = _tmp4_.column;
260 #line 40 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
261 self->priv->column = _tmp5_;
262 #line 263 "tracker-sparql-scanner.c"
263 }
264
265
266 static TrackerSparqlTokenType tracker_sparql_scanner_get_identifier_or_keyword (TrackerSparqlScanner* self, gchar* begin, gint len) {
267 TrackerSparqlTokenType result = 0;
268 gint _tmp0_;
269 #line 43 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
270 g_return_val_if_fail (self != NULL, 0);
271 #line 44 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
272 _tmp0_ = len;
273 #line 44 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
274 switch (_tmp0_) {
275 #line 44 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
276 case 1:
277 #line 278 "tracker-sparql-scanner.c"
278 {
279 gchar* _tmp1_;
280 gchar _tmp2_;
281 #line 46 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
282 _tmp1_ = begin;
283 #line 46 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
284 _tmp2_ = _tmp1_[0];
285 #line 46 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
286 switch (_tmp2_) {
287 #line 46 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
288 case 'A':
289 #line 46 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
290 case 'a':
291 #line 292 "tracker-sparql-scanner.c"
292 {
293 #line 49 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
294 result = TRACKER_SPARQL_TOKEN_TYPE_A;
295 #line 49 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
296 return result;
297 #line 298 "tracker-sparql-scanner.c"
298 }
299 default:
300 #line 46 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
301 break;
302 #line 303 "tracker-sparql-scanner.c"
303 }
304 #line 51 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
305 break;
306 #line 307 "tracker-sparql-scanner.c"
307 }
308 #line 44 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
309 case 2:
310 #line 311 "tracker-sparql-scanner.c"
311 {
312 gchar* _tmp3_;
313 gchar _tmp4_;
314 #line 53 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
315 _tmp3_ = begin;
316 #line 53 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
317 _tmp4_ = _tmp3_[0];
318 #line 53 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
319 switch (_tmp4_) {
320 #line 53 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
321 case 'A':
322 #line 53 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
323 case 'a':
324 #line 325 "tracker-sparql-scanner.c"
325 {
326 gchar* _tmp5_;
327 gboolean _tmp6_ = FALSE;
328 #line 56 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
329 _tmp5_ = begin;
330 #line 56 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
331 _tmp6_ = tracker_sparql_scanner_matches (self, _tmp5_, "AS");
332 #line 56 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
333 if (_tmp6_) {
334 #line 56 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
335 result = TRACKER_SPARQL_TOKEN_TYPE_AS;
336 #line 56 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
337 return result;
338 #line 339 "tracker-sparql-scanner.c"
339 }
340 #line 57 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
341 break;
342 #line 343 "tracker-sparql-scanner.c"
343 }
344 #line 53 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
345 case 'B':
346 #line 53 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
347 case 'b':
348 #line 349 "tracker-sparql-scanner.c"
349 {
350 gchar* _tmp7_;
351 gboolean _tmp8_ = FALSE;
352 #line 60 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
353 _tmp7_ = begin;
354 #line 60 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
355 _tmp8_ = tracker_sparql_scanner_matches (self, _tmp7_, "BY");
356 #line 60 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
357 if (_tmp8_) {
358 #line 60 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
359 result = TRACKER_SPARQL_TOKEN_TYPE_BY;
360 #line 60 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
361 return result;
362 #line 363 "tracker-sparql-scanner.c"
363 }
364 #line 61 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
365 break;
366 #line 367 "tracker-sparql-scanner.c"
367 }
368 #line 53 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
369 case 'i':
370 #line 53 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
371 case 'I':
372 #line 373 "tracker-sparql-scanner.c"
373 {
374 gchar* _tmp9_;
375 gchar _tmp10_;
376 #line 64 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
377 _tmp9_ = begin;
378 #line 64 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
379 _tmp10_ = _tmp9_[1];
380 #line 64 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
381 switch (_tmp10_) {
382 #line 64 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
383 case 'F':
384 #line 64 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
385 case 'f':
386 #line 387 "tracker-sparql-scanner.c"
387 {
388 gchar* _tmp11_;
389 gboolean _tmp12_ = FALSE;
390 #line 67 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
391 _tmp11_ = begin;
392 #line 67 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
393 _tmp12_ = tracker_sparql_scanner_matches (self, _tmp11_, "IF");
394 #line 67 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
395 if (_tmp12_) {
396 #line 67 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
397 result = TRACKER_SPARQL_TOKEN_TYPE_IF;
398 #line 67 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
399 return result;
400 #line 401 "tracker-sparql-scanner.c"
401 }
402 #line 68 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
403 break;
404 #line 405 "tracker-sparql-scanner.c"
405 }
406 #line 64 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
407 case 'N':
408 #line 64 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
409 case 'n':
410 #line 411 "tracker-sparql-scanner.c"
411 {
412 gchar* _tmp13_;
413 gboolean _tmp14_ = FALSE;
414 #line 71 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
415 _tmp13_ = begin;
416 #line 71 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
417 _tmp14_ = tracker_sparql_scanner_matches (self, _tmp13_, "IN");
418 #line 71 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
419 if (_tmp14_) {
420 #line 71 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
421 result = TRACKER_SPARQL_TOKEN_TYPE_OP_IN;
422 #line 71 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
423 return result;
424 #line 425 "tracker-sparql-scanner.c"
425 }
426 #line 72 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
427 break;
428 #line 429 "tracker-sparql-scanner.c"
429 }
430 default:
431 #line 64 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
432 break;
433 #line 434 "tracker-sparql-scanner.c"
434 }
435 #line 74 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
436 break;
437 #line 438 "tracker-sparql-scanner.c"
438 }
439 #line 53 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
440 case 'O':
441 #line 53 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
442 case 'o':
443 #line 444 "tracker-sparql-scanner.c"
444 {
445 gchar* _tmp15_;
446 gboolean _tmp16_ = FALSE;
447 #line 77 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
448 _tmp15_ = begin;
449 #line 77 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
450 _tmp16_ = tracker_sparql_scanner_matches (self, _tmp15_, "OR");
451 #line 77 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
452 if (_tmp16_) {
453 #line 77 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
454 result = TRACKER_SPARQL_TOKEN_TYPE_OR;
455 #line 77 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
456 return result;
457 #line 458 "tracker-sparql-scanner.c"
458 }
459 #line 78 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
460 break;
461 #line 462 "tracker-sparql-scanner.c"
462 }
463 default:
464 #line 53 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
465 break;
466 #line 467 "tracker-sparql-scanner.c"
467 }
468 #line 80 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
469 break;
470 #line 471 "tracker-sparql-scanner.c"
471 }
472 #line 44 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
473 case 3:
474 #line 475 "tracker-sparql-scanner.c"
475 {
476 gchar* _tmp17_;
477 gchar _tmp18_;
478 #line 82 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
479 _tmp17_ = begin;
480 #line 82 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
481 _tmp18_ = _tmp17_[0];
482 #line 82 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
483 switch (_tmp18_) {
484 #line 82 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
485 case 'A':
486 #line 82 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
487 case 'a':
488 #line 489 "tracker-sparql-scanner.c"
489 {
490 gchar* _tmp19_;
491 gchar _tmp20_;
492 #line 85 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
493 _tmp19_ = begin;
494 #line 85 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
495 _tmp20_ = _tmp19_[1];
496 #line 85 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
497 switch (_tmp20_) {
498 #line 85 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
499 case 'S':
500 #line 85 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
501 case 's':
502 #line 503 "tracker-sparql-scanner.c"
503 {
504 gchar* _tmp21_;
505 gchar _tmp22_;
506 #line 88 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
507 _tmp21_ = begin;
508 #line 88 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
509 _tmp22_ = _tmp21_[2];
510 #line 88 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
511 switch (_tmp22_) {
512 #line 88 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
513 case 'C':
514 #line 88 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
515 case 'c':
516 #line 517 "tracker-sparql-scanner.c"
517 {
518 gchar* _tmp23_;
519 gboolean _tmp24_ = FALSE;
520 #line 91 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
521 _tmp23_ = begin;
522 #line 91 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
523 _tmp24_ = tracker_sparql_scanner_matches (self, _tmp23_, "ASC");
524 #line 91 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
525 if (_tmp24_) {
526 #line 91 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
527 result = TRACKER_SPARQL_TOKEN_TYPE_ASC;
528 #line 91 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
529 return result;
530 #line 531 "tracker-sparql-scanner.c"
531 }
532 #line 92 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
533 break;
534 #line 535 "tracker-sparql-scanner.c"
535 }
536 #line 88 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
537 case 'K':
538 #line 88 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
539 case 'k':
540 #line 541 "tracker-sparql-scanner.c"
541 {
542 gchar* _tmp25_;
543 gboolean _tmp26_ = FALSE;
544 #line 95 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
545 _tmp25_ = begin;
546 #line 95 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
547 _tmp26_ = tracker_sparql_scanner_matches (self, _tmp25_, "ASK");
548 #line 95 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
549 if (_tmp26_) {
550 #line 95 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
551 result = TRACKER_SPARQL_TOKEN_TYPE_ASK;
552 #line 95 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
553 return result;
554 #line 555 "tracker-sparql-scanner.c"
555 }
556 #line 96 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
557 break;
558 #line 559 "tracker-sparql-scanner.c"
559 }
560 default:
561 #line 88 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
562 break;
563 #line 564 "tracker-sparql-scanner.c"
564 }
565 #line 98 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
566 break;
567 #line 568 "tracker-sparql-scanner.c"
568 }
569 #line 85 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
570 case 'V':
571 #line 85 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
572 case 'v':
573 #line 574 "tracker-sparql-scanner.c"
574 {
575 gchar* _tmp27_;
576 gboolean _tmp28_ = FALSE;
577 #line 101 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
578 _tmp27_ = begin;
579 #line 101 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
580 _tmp28_ = tracker_sparql_scanner_matches (self, _tmp27_, "AVG");
581 #line 101 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
582 if (_tmp28_) {
583 #line 101 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
584 result = TRACKER_SPARQL_TOKEN_TYPE_AVG;
585 #line 101 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
586 return result;
587 #line 588 "tracker-sparql-scanner.c"
588 }
589 #line 102 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
590 break;
591 #line 592 "tracker-sparql-scanner.c"
592 }
593 default:
594 #line 85 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
595 break;
596 #line 597 "tracker-sparql-scanner.c"
597 }
598 #line 104 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
599 break;
600 #line 601 "tracker-sparql-scanner.c"
601 }
602 #line 82 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
603 case 'M':
604 #line 82 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
605 case 'm':
606 #line 607 "tracker-sparql-scanner.c"
607 {
608 gchar* _tmp29_;
609 gchar _tmp30_;
610 #line 107 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
611 _tmp29_ = begin;
612 #line 107 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
613 _tmp30_ = _tmp29_[1];
614 #line 107 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
615 switch (_tmp30_) {
616 #line 107 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
617 case 'A':
618 #line 107 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
619 case 'a':
620 #line 621 "tracker-sparql-scanner.c"
621 {
622 gchar* _tmp31_;
623 gboolean _tmp32_ = FALSE;
624 #line 110 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
625 _tmp31_ = begin;
626 #line 110 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
627 _tmp32_ = tracker_sparql_scanner_matches (self, _tmp31_, "MAX");
628 #line 110 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
629 if (_tmp32_) {
630 #line 110 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
631 result = TRACKER_SPARQL_TOKEN_TYPE_MAX;
632 #line 110 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
633 return result;
634 #line 635 "tracker-sparql-scanner.c"
635 }
636 #line 111 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
637 break;
638 #line 639 "tracker-sparql-scanner.c"
639 }
640 #line 107 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
641 case 'I':
642 #line 107 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
643 case 'i':
644 #line 645 "tracker-sparql-scanner.c"
645 {
646 gchar* _tmp33_;
647 gboolean _tmp34_ = FALSE;
648 #line 114 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
649 _tmp33_ = begin;
650 #line 114 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
651 _tmp34_ = tracker_sparql_scanner_matches (self, _tmp33_, "MIN");
652 #line 114 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
653 if (_tmp34_) {
654 #line 114 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
655 result = TRACKER_SPARQL_TOKEN_TYPE_MIN;
656 #line 114 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
657 return result;
658 #line 659 "tracker-sparql-scanner.c"
659 }
660 #line 115 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
661 break;
662 #line 663 "tracker-sparql-scanner.c"
663 }
664 default:
665 #line 107 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
666 break;
667 #line 668 "tracker-sparql-scanner.c"
668 }
669 #line 117 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
670 break;
671 #line 672 "tracker-sparql-scanner.c"
672 }
673 #line 82 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
674 case 'N':
675 #line 82 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
676 case 'n':
677 #line 678 "tracker-sparql-scanner.c"
678 {
679 gchar* _tmp35_;
680 gboolean _tmp36_ = FALSE;
681 #line 120 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
682 _tmp35_ = begin;
683 #line 120 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
684 _tmp36_ = tracker_sparql_scanner_matches (self, _tmp35_, "NOT");
685 #line 120 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
686 if (_tmp36_) {
687 #line 120 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
688 result = TRACKER_SPARQL_TOKEN_TYPE_NOT;
689 #line 120 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
690 return result;
691 #line 692 "tracker-sparql-scanner.c"
692 }
693 #line 121 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
694 break;
695 #line 696 "tracker-sparql-scanner.c"
696 }
697 #line 82 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
698 case 'S':
699 #line 82 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
700 case 's':
701 #line 702 "tracker-sparql-scanner.c"
702 {
703 gchar* _tmp37_;
704 gchar _tmp38_;
705 #line 124 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
706 _tmp37_ = begin;
707 #line 124 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
708 _tmp38_ = _tmp37_[1];
709 #line 124 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
710 switch (_tmp38_) {
711 #line 124 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
712 case 'T':
713 #line 124 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
714 case 't':
715 #line 716 "tracker-sparql-scanner.c"
716 {
717 gchar* _tmp39_;
718 gboolean _tmp40_ = FALSE;
719 #line 127 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
720 _tmp39_ = begin;
721 #line 127 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
722 _tmp40_ = tracker_sparql_scanner_matches (self, _tmp39_, "STR");
723 #line 127 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
724 if (_tmp40_) {
725 #line 127 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
726 result = TRACKER_SPARQL_TOKEN_TYPE_STR;
727 #line 127 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
728 return result;
729 #line 730 "tracker-sparql-scanner.c"
730 }
731 #line 128 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
732 break;
733 #line 734 "tracker-sparql-scanner.c"
734 }
735 #line 124 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
736 case 'U':
737 #line 124 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
738 case 'u':
739 #line 740 "tracker-sparql-scanner.c"
740 {
741 gchar* _tmp41_;
742 gboolean _tmp42_ = FALSE;
743 #line 131 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
744 _tmp41_ = begin;
745 #line 131 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
746 _tmp42_ = tracker_sparql_scanner_matches (self, _tmp41_, "SUM");
747 #line 131 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
748 if (_tmp42_) {
749 #line 131 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
750 result = TRACKER_SPARQL_TOKEN_TYPE_SUM;
751 #line 131 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
752 return result;
753 #line 754 "tracker-sparql-scanner.c"
754 }
755 #line 132 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
756 break;
757 #line 758 "tracker-sparql-scanner.c"
758 }
759 default:
760 #line 124 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
761 break;
762 #line 763 "tracker-sparql-scanner.c"
763 }
764 #line 134 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
765 break;
766 #line 767 "tracker-sparql-scanner.c"
767 }
768 default:
769 #line 82 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
770 break;
771 #line 772 "tracker-sparql-scanner.c"
772 }
773 #line 136 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
774 break;
775 #line 776 "tracker-sparql-scanner.c"
776 }
777 #line 44 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
778 case 4:
779 #line 780 "tracker-sparql-scanner.c"
780 {
781 gchar* _tmp43_;
782 gchar _tmp44_;
783 #line 138 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
784 _tmp43_ = begin;
785 #line 138 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
786 _tmp44_ = _tmp43_[0];
787 #line 138 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
788 switch (_tmp44_) {
789 #line 138 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
790 case 'B':
791 #line 138 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
792 case 'b':
793 #line 794 "tracker-sparql-scanner.c"
794 {
795 gchar* _tmp45_;
796 gboolean _tmp46_ = FALSE;
797 #line 141 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
798 _tmp45_ = begin;
799 #line 141 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
800 _tmp46_ = tracker_sparql_scanner_matches (self, _tmp45_, "BASE");
801 #line 141 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
802 if (_tmp46_) {
803 #line 141 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
804 result = TRACKER_SPARQL_TOKEN_TYPE_BASE;
805 #line 141 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
806 return result;
807 #line 808 "tracker-sparql-scanner.c"
808 }
809 #line 142 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
810 break;
811 #line 812 "tracker-sparql-scanner.c"
812 }
813 #line 138 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
814 case 'D':
815 #line 138 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
816 case 'd':
817 #line 818 "tracker-sparql-scanner.c"
818 {
819 gchar* _tmp47_;
820 gchar _tmp48_;
821 #line 145 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
822 _tmp47_ = begin;
823 #line 145 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
824 _tmp48_ = _tmp47_[1];
825 #line 145 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
826 switch (_tmp48_) {
827 #line 145 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
828 case 'A':
829 #line 145 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
830 case 'a':
831 #line 832 "tracker-sparql-scanner.c"
832 {
833 gchar* _tmp49_;
834 gboolean _tmp50_ = FALSE;
835 #line 148 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
836 _tmp49_ = begin;
837 #line 148 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
838 _tmp50_ = tracker_sparql_scanner_matches (self, _tmp49_, "DATA");
839 #line 148 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
840 if (_tmp50_) {
841 #line 148 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
842 result = TRACKER_SPARQL_TOKEN_TYPE_DATA;
843 #line 148 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
844 return result;
845 #line 846 "tracker-sparql-scanner.c"
846 }
847 #line 149 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
848 break;
849 #line 850 "tracker-sparql-scanner.c"
850 }
851 #line 145 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
852 case 'E':
853 #line 145 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
854 case 'e':
855 #line 856 "tracker-sparql-scanner.c"
856 {
857 gchar* _tmp51_;
858 gboolean _tmp52_ = FALSE;
859 #line 152 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
860 _tmp51_ = begin;
861 #line 152 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
862 _tmp52_ = tracker_sparql_scanner_matches (self, _tmp51_, "DESC");
863 #line 152 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
864 if (_tmp52_) {
865 #line 152 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
866 result = TRACKER_SPARQL_TOKEN_TYPE_DESC;
867 #line 152 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
868 return result;
869 #line 870 "tracker-sparql-scanner.c"
870 }
871 #line 153 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
872 break;
873 #line 874 "tracker-sparql-scanner.c"
874 }
875 #line 145 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
876 case 'R':
877 #line 145 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
878 case 'r':
879 #line 880 "tracker-sparql-scanner.c"
880 {
881 gchar* _tmp53_;
882 gboolean _tmp54_ = FALSE;
883 #line 156 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
884 _tmp53_ = begin;
885 #line 156 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
886 _tmp54_ = tracker_sparql_scanner_matches (self, _tmp53_, "DROP");
887 #line 156 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
888 if (_tmp54_) {
889 #line 156 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
890 result = TRACKER_SPARQL_TOKEN_TYPE_DROP;
891 #line 156 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
892 return result;
893 #line 894 "tracker-sparql-scanner.c"
894 }
895 #line 157 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
896 break;
897 #line 898 "tracker-sparql-scanner.c"
898 }
899 default:
900 #line 145 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
901 break;
902 #line 903 "tracker-sparql-scanner.c"
903 }
904 #line 159 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
905 break;
906 #line 907 "tracker-sparql-scanner.c"
907 }
908 #line 138 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
909 case 'F':
910 #line 138 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
911 case 'f':
912 #line 913 "tracker-sparql-scanner.c"
913 {
914 gchar* _tmp55_;
915 gboolean _tmp56_ = FALSE;
916 #line 162 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
917 _tmp55_ = begin;
918 #line 162 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
919 _tmp56_ = tracker_sparql_scanner_matches (self, _tmp55_, "FROM");
920 #line 162 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
921 if (_tmp56_) {
922 #line 162 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
923 result = TRACKER_SPARQL_TOKEN_TYPE_FROM;
924 #line 162 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
925 return result;
926 #line 927 "tracker-sparql-scanner.c"
927 }
928 #line 163 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
929 break;
930 #line 931 "tracker-sparql-scanner.c"
931 }
932 #line 138 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
933 case 'I':
934 #line 138 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
935 case 'i':
936 #line 937 "tracker-sparql-scanner.c"
937 {
938 gchar* _tmp57_;
939 gboolean _tmp58_ = FALSE;
940 #line 166 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
941 _tmp57_ = begin;
942 #line 166 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
943 _tmp58_ = tracker_sparql_scanner_matches (self, _tmp57_, "INTO");
944 #line 166 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
945 if (_tmp58_) {
946 #line 166 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
947 result = TRACKER_SPARQL_TOKEN_TYPE_INTO;
948 #line 166 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
949 return result;
950 #line 951 "tracker-sparql-scanner.c"
951 }
952 #line 167 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
953 break;
954 #line 955 "tracker-sparql-scanner.c"
955 }
956 #line 138 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
957 case 'L':
958 #line 138 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
959 case 'l':
960 #line 961 "tracker-sparql-scanner.c"
961 {
962 gchar* _tmp59_;
963 gboolean _tmp60_ = FALSE;
964 #line 170 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
965 _tmp59_ = begin;
966 #line 170 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
967 _tmp60_ = tracker_sparql_scanner_matches (self, _tmp59_, "LANG");
968 #line 170 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
969 if (_tmp60_) {
970 #line 170 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
971 result = TRACKER_SPARQL_TOKEN_TYPE_LANG;
972 #line 170 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
973 return result;
974 #line 975 "tracker-sparql-scanner.c"
975 }
976 #line 171 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
977 break;
978 #line 979 "tracker-sparql-scanner.c"
979 }
980 #line 138 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
981 case 'N':
982 #line 138 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
983 case 'n':
984 #line 985 "tracker-sparql-scanner.c"
985 {
986 gchar* _tmp61_;
987 gboolean _tmp62_ = FALSE;
988 #line 174 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
989 _tmp61_ = begin;
990 #line 174 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
991 _tmp62_ = tracker_sparql_scanner_matches (self, _tmp61_, "NULL");
992 #line 174 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
993 if (_tmp62_) {
994 #line 174 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
995 result = TRACKER_SPARQL_TOKEN_TYPE_NULL;
996 #line 174 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
997 return result;
998 #line 999 "tracker-sparql-scanner.c"
999 }
1000 #line 175 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
1001 break;
1002 #line 1003 "tracker-sparql-scanner.c"
1003 }
1004 #line 138 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
1005 case 'T':
1006 #line 138 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
1007 case 't':
1008 #line 1009 "tracker-sparql-scanner.c"
1009 {
1010 gchar* _tmp63_;
1011 gboolean _tmp64_ = FALSE;
1012 #line 178 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
1013 _tmp63_ = begin;
1014 #line 178 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
1015 _tmp64_ = tracker_sparql_scanner_matches (self, _tmp63_, "TRUE");
1016 #line 178 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
1017 if (_tmp64_) {
1018 #line 178 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
1019 result = TRACKER_SPARQL_TOKEN_TYPE_TRUE;
1020 #line 178 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
1021 return result;
1022 #line 1023 "tracker-sparql-scanner.c"
1023 }
1024 #line 179 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
1025 break;
1026 #line 1027 "tracker-sparql-scanner.c"
1027 }
1028 #line 138 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
1029 case 'W':
1030 #line 138 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
1031 case 'w':
1032 #line 1033 "tracker-sparql-scanner.c"
1033 {
1034 gchar* _tmp65_;
1035 gboolean _tmp66_ = FALSE;
1036 #line 182 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
1037 _tmp65_ = begin;
1038 #line 182 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
1039 _tmp66_ = tracker_sparql_scanner_matches (self, _tmp65_, "WITH");
1040 #line 182 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
1041 if (_tmp66_) {
1042 #line 182 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
1043 result = TRACKER_SPARQL_TOKEN_TYPE_WITH;
1044 #line 182 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
1045 return result;
1046 #line 1047 "tracker-sparql-scanner.c"
1047 }
1048 #line 183 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
1049 break;
1050 #line 1051 "tracker-sparql-scanner.c"
1051 }
1052 default:
1053 #line 138 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
1054 break;
1055 #line 1056 "tracker-sparql-scanner.c"
1056 }
1057 #line 185 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
1058 break;
1059 #line 1060 "tracker-sparql-scanner.c"
1060 }
1061 #line 44 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
1062 case 5:
1063 #line 1064 "tracker-sparql-scanner.c"
1064 {
1065 gchar* _tmp67_;
1066 gchar _tmp68_;
1067 #line 187 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
1068 _tmp67_ = begin;
1069 #line 187 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
1070 _tmp68_ = _tmp67_[0];
1071 #line 187 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
1072 switch (_tmp68_) {
1073 #line 187 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
1074 case 'B':
1075 #line 187 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
1076 case 'b':
1077 #line 1078 "tracker-sparql-scanner.c"
1078 {
1079 gchar* _tmp69_;
1080 gboolean _tmp70_ = FALSE;
1081 #line 190 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
1082 _tmp69_ = begin;
1083 #line 190 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
1084 _tmp70_ = tracker_sparql_scanner_matches (self, _tmp69_, "BOUND");
1085 #line 190 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
1086 if (_tmp70_) {
1087 #line 190 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
1088 result = TRACKER_SPARQL_TOKEN_TYPE_BOUND;
1089 #line 190 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
1090 return result;
1091 #line 1092 "tracker-sparql-scanner.c"
1092 }
1093 #line 191 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
1094 break;
1095 #line 1096 "tracker-sparql-scanner.c"
1096 }
1097 #line 187 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
1098 case 'C':
1099 #line 187 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
1100 case 'c':
1101 #line 1102 "tracker-sparql-scanner.c"
1102 {
1103 gchar* _tmp71_;
1104 gboolean _tmp72_ = FALSE;
1105 #line 194 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
1106 _tmp71_ = begin;
1107 #line 194 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
1108 _tmp72_ = tracker_sparql_scanner_matches (self, _tmp71_, "COUNT");
1109 #line 194 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
1110 if (_tmp72_) {
1111 #line 194 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
1112 result = TRACKER_SPARQL_TOKEN_TYPE_COUNT;
1113 #line 194 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
1114 return result;
1115 #line 1116 "tracker-sparql-scanner.c"
1116 }
1117 #line 195 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
1118 break;
1119 #line 1120 "tracker-sparql-scanner.c"
1120 }
1121 #line 187 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
1122 case 'G':
1123 #line 187 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
1124 case 'g':
1125 #line 1126 "tracker-sparql-scanner.c"
1126 {
1127 gchar* _tmp73_;
1128 gchar _tmp74_;
1129 #line 198 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
1130 _tmp73_ = begin;
1131 #line 198 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
1132 _tmp74_ = _tmp73_[2];
1133 #line 198 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
1134 switch (_tmp74_) {
1135 #line 198 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
1136 case 'A':
1137 #line 198 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
1138 case 'a':
1139 #line 1140 "tracker-sparql-scanner.c"
1140 {
1141 gchar* _tmp75_;
1142 gboolean _tmp76_ = FALSE;
1143 #line 201 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
1144 _tmp75_ = begin;
1145 #line 201 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
1146 _tmp76_ = tracker_sparql_scanner_matches (self, _tmp75_, "GRAPH");
1147 #line 201 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
1148 if (_tmp76_) {
1149 #line 201 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
1150 result = TRACKER_SPARQL_TOKEN_TYPE_GRAPH;
1151 #line 201 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
1152 return result;
1153 #line 1154 "tracker-sparql-scanner.c"
1154 }
1155 #line 202 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
1156 break;
1157 #line 1158 "tracker-sparql-scanner.c"
1158 }
1159 #line 198 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
1160 case 'O':
1161 #line 198 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
1162 case 'o':
1163 #line 1164 "tracker-sparql-scanner.c"
1164 {
1165 gchar* _tmp77_;
1166 gboolean _tmp78_ = FALSE;
1167 #line 205 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
1168 _tmp77_ = begin;
1169 #line 205 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
1170 _tmp78_ = tracker_sparql_scanner_matches (self, _tmp77_, "GROUP");
1171 #line 205 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
1172 if (_tmp78_) {
1173 #line 205 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
1174 result = TRACKER_SPARQL_TOKEN_TYPE_GROUP;
1175 #line 205 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
1176 return result;
1177 #line 1178 "tracker-sparql-scanner.c"
1178 }
1179 #line 206 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
1180 break;
1181 #line 1182 "tracker-sparql-scanner.c"
1182 }
1183 default:
1184 #line 198 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
1185 break;
1186 #line 1187 "tracker-sparql-scanner.c"
1187 }
1188 #line 208 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
1189 break;
1190 #line 1191 "tracker-sparql-scanner.c"
1191 }
1192 #line 187 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
1193 case 'L':
1194 #line 187 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
1195 case 'l':
1196 #line 1197 "tracker-sparql-scanner.c"
1197 {
1198 gchar* _tmp79_;
1199 gboolean _tmp80_ = FALSE;
1200 #line 211 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
1201 _tmp79_ = begin;
1202 #line 211 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
1203 _tmp80_ = tracker_sparql_scanner_matches (self, _tmp79_, "LIMIT");
1204 #line 211 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
1205 if (_tmp80_) {
1206 #line 211 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
1207 result = TRACKER_SPARQL_TOKEN_TYPE_LIMIT;
1208 #line 211 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
1209 return result;
1210 #line 1211 "tracker-sparql-scanner.c"
1211 }
1212 #line 212 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
1213 break;
1214 #line 1215 "tracker-sparql-scanner.c"
1215 }
1216 #line 187 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
1217 case 'N':
1218 #line 187 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
1219 case 'n':
1220 #line 1221 "tracker-sparql-scanner.c"
1221 {
1222 gchar* _tmp81_;
1223 gboolean _tmp82_ = FALSE;
1224 #line 215 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
1225 _tmp81_ = begin;
1226 #line 215 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
1227 _tmp82_ = tracker_sparql_scanner_matches (self, _tmp81_, "NAMED");
1228 #line 215 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
1229 if (_tmp82_) {
1230 #line 215 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
1231 result = TRACKER_SPARQL_TOKEN_TYPE_NAMED;
1232 #line 215 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
1233 return result;
1234 #line 1235 "tracker-sparql-scanner.c"
1235 }
1236 #line 216 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
1237 break;
1238 #line 1239 "tracker-sparql-scanner.c"
1239 }
1240 #line 187 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
1241 case 'O':
1242 #line 187 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
1243 case 'o':
1244 #line 1245 "tracker-sparql-scanner.c"
1245 {
1246 gchar* _tmp83_;
1247 gboolean _tmp84_ = FALSE;
1248 #line 219 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
1249 _tmp83_ = begin;
1250 #line 219 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
1251 _tmp84_ = tracker_sparql_scanner_matches (self, _tmp83_, "ORDER");
1252 #line 219 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
1253 if (_tmp84_) {
1254 #line 219 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
1255 result = TRACKER_SPARQL_TOKEN_TYPE_ORDER;
1256 #line 219 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
1257 return result;
1258 #line 1259 "tracker-sparql-scanner.c"
1259 }
1260 #line 220 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
1261 break;
1262 #line 1263 "tracker-sparql-scanner.c"
1263 }
1264 #line 187 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
1265 case 'R':
1266 #line 187 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
1267 case 'r':
1268 #line 1269 "tracker-sparql-scanner.c"
1269 {
1270 gchar* _tmp85_;
1271 gboolean _tmp86_ = FALSE;
1272 #line 223 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
1273 _tmp85_ = begin;
1274 #line 223 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
1275 _tmp86_ = tracker_sparql_scanner_matches (self, _tmp85_, "REGEX");
1276 #line 223 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
1277 if (_tmp86_) {
1278 #line 223 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
1279 result = TRACKER_SPARQL_TOKEN_TYPE_REGEX;
1280 #line 223 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
1281 return result;
1282 #line 1283 "tracker-sparql-scanner.c"
1283 }
1284 #line 224 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
1285 break;
1286 #line 1287 "tracker-sparql-scanner.c"
1287 }
1288 #line 187 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
1289 case 'U':
1290 #line 187 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
1291 case 'u':
1292 #line 1293 "tracker-sparql-scanner.c"
1293 {
1294 gchar* _tmp87_;
1295 gboolean _tmp88_ = FALSE;
1296 #line 227 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
1297 _tmp87_ = begin;
1298 #line 227 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
1299 _tmp88_ = tracker_sparql_scanner_matches (self, _tmp87_, "UNION");
1300 #line 227 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
1301 if (_tmp88_) {
1302 #line 227 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
1303 result = TRACKER_SPARQL_TOKEN_TYPE_UNION;
1304 #line 227 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
1305 return result;
1306 #line 1307 "tracker-sparql-scanner.c"
1307 }
1308 #line 228 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
1309 break;
1310 #line 1311 "tracker-sparql-scanner.c"
1311 }
1312 #line 187 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
1313 case 'W':
1314 #line 187 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
1315 case 'w':
1316 #line 1317 "tracker-sparql-scanner.c"
1317 {
1318 gchar* _tmp89_;
1319 gboolean _tmp90_ = FALSE;
1320 #line 231 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
1321 _tmp89_ = begin;
1322 #line 231 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
1323 _tmp90_ = tracker_sparql_scanner_matches (self, _tmp89_, "WHERE");
1324 #line 231 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
1325 if (_tmp90_) {
1326 #line 231 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
1327 result = TRACKER_SPARQL_TOKEN_TYPE_WHERE;
1328 #line 231 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
1329 return result;
1330 #line 1331 "tracker-sparql-scanner.c"
1331 }
1332 #line 232 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
1333 break;
1334 #line 1335 "tracker-sparql-scanner.c"
1335 }
1336 #line 187 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
1337 case 'F':
1338 #line 187 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
1339 case 'f':
1340 #line 1341 "tracker-sparql-scanner.c"
1341 {
1342 gchar* _tmp91_;
1343 gboolean _tmp92_ = FALSE;
1344 #line 235 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
1345 _tmp91_ = begin;
1346 #line 235 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
1347 _tmp92_ = tracker_sparql_scanner_matches (self, _tmp91_, "FALSE");
1348 #line 235 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
1349 if (_tmp92_) {
1350 #line 235 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
1351 result = TRACKER_SPARQL_TOKEN_TYPE_FALSE;
1352 #line 235 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
1353 return result;
1354 #line 1355 "tracker-sparql-scanner.c"
1355 }
1356 #line 236 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
1357 break;
1358 #line 1359 "tracker-sparql-scanner.c"
1359 }
1360 #line 187 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
1361 case 'I':
1362 #line 187 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
1363 case 'i':
1364 #line 1365 "tracker-sparql-scanner.c"
1365 {
1366 gchar* _tmp93_;
1367 gchar _tmp94_;
1368 #line 239 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
1369 _tmp93_ = begin;
1370 #line 239 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
1371 _tmp94_ = _tmp93_[1];
1372 #line 239 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
1373 switch (_tmp94_) {
1374 #line 239 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
1375 case 'S':
1376 #line 239 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
1377 case 's':
1378 #line 1379 "tracker-sparql-scanner.c"
1379 {
1380 gchar* _tmp95_;
1381 gchar _tmp96_;
1382 #line 242 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
1383 _tmp95_ = begin;
1384 #line 242 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
1385 _tmp96_ = _tmp95_[2];
1386 #line 242 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
1387 switch (_tmp96_) {
1388 #line 242 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
1389 case 'I':
1390 #line 242 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
1391 case 'i':
1392 #line 1393 "tracker-sparql-scanner.c"
1393 {
1394 gchar* _tmp97_;
1395 gboolean _tmp98_ = FALSE;
1396 #line 245 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
1397 _tmp97_ = begin;
1398 #line 245 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
1399 _tmp98_ = tracker_sparql_scanner_matches (self, _tmp97_, "ISIRI");
1400 #line 245 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
1401 if (_tmp98_) {
1402 #line 245 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
1403 result = TRACKER_SPARQL_TOKEN_TYPE_ISIRI;
1404 #line 245 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
1405 return result;
1406 #line 1407 "tracker-sparql-scanner.c"
1407 }
1408 #line 246 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
1409 break;
1410 #line 1411 "tracker-sparql-scanner.c"
1411 }
1412 #line 242 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
1413 case 'U':
1414 #line 242 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
1415 case 'u':
1416 #line 1417 "tracker-sparql-scanner.c"
1417 {
1418 gchar* _tmp99_;
1419 gboolean _tmp100_ = FALSE;
1420 #line 249 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
1421 _tmp99_ = begin;
1422 #line 249 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
1423 _tmp100_ = tracker_sparql_scanner_matches (self, _tmp99_, "ISURI");
1424 #line 249 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
1425 if (_tmp100_) {
1426 #line 249 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
1427 result = TRACKER_SPARQL_TOKEN_TYPE_ISURI;
1428 #line 249 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
1429 return result;
1430 #line 1431 "tracker-sparql-scanner.c"
1431 }
1432 #line 250 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
1433 break;
1434 #line 1435 "tracker-sparql-scanner.c"
1435 }
1436 default:
1437 #line 242 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
1438 break;
1439 #line 1440 "tracker-sparql-scanner.c"
1440 }
1441 #line 252 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
1442 break;
1443 #line 1444 "tracker-sparql-scanner.c"
1444 }
1445 default:
1446 #line 239 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
1447 break;
1448 #line 1449 "tracker-sparql-scanner.c"
1449 }
1450 #line 254 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
1451 break;
1452 #line 1453 "tracker-sparql-scanner.c"
1453 }
1454 default:
1455 #line 187 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
1456 break;
1457 #line 1458 "tracker-sparql-scanner.c"
1458 }
1459 #line 256 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
1460 break;
1461 #line 1462 "tracker-sparql-scanner.c"
1462 }
1463 #line 44 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
1464 case 6:
1465 #line 1466 "tracker-sparql-scanner.c"
1466 {
1467 gchar* _tmp101_;
1468 gchar _tmp102_;
1469 #line 258 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
1470 _tmp101_ = begin;
1471 #line 258 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
1472 _tmp102_ = _tmp101_[0];
1473 #line 258 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
1474 switch (_tmp102_) {
1475 #line 258 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
1476 case 'D':
1477 #line 258 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
1478 case 'd':
1479 #line 1480 "tracker-sparql-scanner.c"
1480 {
1481 gchar* _tmp103_;
1482 gboolean _tmp104_ = FALSE;
1483 #line 261 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
1484 _tmp103_ = begin;
1485 #line 261 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
1486 _tmp104_ = tracker_sparql_scanner_matches (self, _tmp103_, "DELETE");
1487 #line 261 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
1488 if (_tmp104_) {
1489 #line 261 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
1490 result = TRACKER_SPARQL_TOKEN_TYPE_DELETE;
1491 #line 261 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
1492 return result;
1493 #line 1494 "tracker-sparql-scanner.c"
1494 }
1495 #line 262 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
1496 break;
1497 #line 1498 "tracker-sparql-scanner.c"
1498 }
1499 #line 258 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
1500 case 'E':
1501 #line 258 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
1502 case 'e':
1503 #line 1504 "tracker-sparql-scanner.c"
1504 {
1505 gchar* _tmp105_;
1506 gboolean _tmp106_ = FALSE;
1507 #line 265 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
1508 _tmp105_ = begin;
1509 #line 265 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
1510 _tmp106_ = tracker_sparql_scanner_matches (self, _tmp105_, "EXISTS");
1511 #line 265 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
1512 if (_tmp106_) {
1513 #line 265 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
1514 result = TRACKER_SPARQL_TOKEN_TYPE_EXISTS;
1515 #line 265 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
1516 return result;
1517 #line 1518 "tracker-sparql-scanner.c"
1518 }
1519 #line 266 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
1520 break;
1521 #line 1522 "tracker-sparql-scanner.c"
1522 }
1523 #line 258 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
1524 case 'F':
1525 #line 258 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
1526 case 'f':
1527 #line 1528 "tracker-sparql-scanner.c"
1528 {
1529 gchar* _tmp107_;
1530 gboolean _tmp108_ = FALSE;
1531 #line 269 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
1532 _tmp107_ = begin;
1533 #line 269 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
1534 _tmp108_ = tracker_sparql_scanner_matches (self, _tmp107_, "FILTER");
1535 #line 269 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
1536 if (_tmp108_) {
1537 #line 269 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
1538 result = TRACKER_SPARQL_TOKEN_TYPE_FILTER;
1539 #line 269 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
1540 return result;
1541 #line 1542 "tracker-sparql-scanner.c"
1542 }
1543 #line 270 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
1544 break;
1545 #line 1546 "tracker-sparql-scanner.c"
1546 }
1547 #line 258 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
1548 case 'H':
1549 #line 258 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
1550 case 'h':
1551 #line 1552 "tracker-sparql-scanner.c"
1552 {
1553 gchar* _tmp109_;
1554 gboolean _tmp110_ = FALSE;
1555 #line 273 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
1556 _tmp109_ = begin;
1557 #line 273 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
1558 _tmp110_ = tracker_sparql_scanner_matches (self, _tmp109_, "HAVING");
1559 #line 273 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
1560 if (_tmp110_) {
1561 #line 273 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
1562 result = TRACKER_SPARQL_TOKEN_TYPE_HAVING;
1563 #line 273 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
1564 return result;
1565 #line 1566 "tracker-sparql-scanner.c"
1566 }
1567 #line 274 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
1568 break;
1569 #line 1570 "tracker-sparql-scanner.c"
1570 }
1571 #line 258 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
1572 case 'I':
1573 #line 258 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
1574 case 'i':
1575 #line 1576 "tracker-sparql-scanner.c"
1576 {
1577 gchar* _tmp111_;
1578 gboolean _tmp112_ = FALSE;
1579 #line 277 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
1580 _tmp111_ = begin;
1581 #line 277 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
1582 _tmp112_ = tracker_sparql_scanner_matches (self, _tmp111_, "INSERT");
1583 #line 277 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
1584 if (_tmp112_) {
1585 #line 277 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
1586 result = TRACKER_SPARQL_TOKEN_TYPE_INSERT;
1587 #line 277 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
1588 return result;
1589 #line 1590 "tracker-sparql-scanner.c"
1590 }
1591 #line 278 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
1592 break;
1593 #line 1594 "tracker-sparql-scanner.c"
1594 }
1595 #line 258 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
1596 case 'O':
1597 #line 258 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
1598 case 'o':
1599 #line 1600 "tracker-sparql-scanner.c"
1600 {
1601 gchar* _tmp113_;
1602 gboolean _tmp114_ = FALSE;
1603 #line 281 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
1604 _tmp113_ = begin;
1605 #line 281 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
1606 _tmp114_ = tracker_sparql_scanner_matches (self, _tmp113_, "OFFSET");
1607 #line 281 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
1608 if (_tmp114_) {
1609 #line 281 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
1610 result = TRACKER_SPARQL_TOKEN_TYPE_OFFSET;
1611 #line 281 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
1612 return result;
1613 #line 1614 "tracker-sparql-scanner.c"
1614 }
1615 #line 282 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
1616 break;
1617 #line 1618 "tracker-sparql-scanner.c"
1618 }
1619 #line 258 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
1620 case 'P':
1621 #line 258 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
1622 case 'p':
1623 #line 1624 "tracker-sparql-scanner.c"
1624 {
1625 gchar* _tmp115_;
1626 gboolean _tmp116_ = FALSE;
1627 #line 285 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
1628 _tmp115_ = begin;
1629 #line 285 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
1630 _tmp116_ = tracker_sparql_scanner_matches (self, _tmp115_, "PREFIX");
1631 #line 285 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
1632 if (_tmp116_) {
1633 #line 285 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
1634 result = TRACKER_SPARQL_TOKEN_TYPE_PREFIX;
1635 #line 285 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
1636 return result;
1637 #line 1638 "tracker-sparql-scanner.c"
1638 }
1639 #line 286 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
1640 break;
1641 #line 1642 "tracker-sparql-scanner.c"
1642 }
1643 #line 258 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
1644 case 'S':
1645 #line 258 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
1646 case 's':
1647 #line 1648 "tracker-sparql-scanner.c"
1648 {
1649 gchar* _tmp117_;
1650 gchar _tmp118_;
1651 #line 289 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
1652 _tmp117_ = begin;
1653 #line 289 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
1654 _tmp118_ = _tmp117_[1];
1655 #line 289 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
1656 switch (_tmp118_) {
1657 #line 289 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
1658 case 'E':
1659 #line 289 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
1660 case 'e':
1661 #line 1662 "tracker-sparql-scanner.c"
1662 {
1663 gchar* _tmp119_;
1664 gboolean _tmp120_ = FALSE;
1665 #line 292 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
1666 _tmp119_ = begin;
1667 #line 292 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
1668 _tmp120_ = tracker_sparql_scanner_matches (self, _tmp119_, "SELECT");
1669 #line 292 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
1670 if (_tmp120_) {
1671 #line 292 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
1672 result = TRACKER_SPARQL_TOKEN_TYPE_SELECT;
1673 #line 292 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
1674 return result;
1675 #line 1676 "tracker-sparql-scanner.c"
1676 }
1677 #line 293 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
1678 break;
1679 #line 1680 "tracker-sparql-scanner.c"
1680 }
1681 #line 289 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
1682 case 'I':
1683 #line 289 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
1684 case 'i':
1685 #line 1686 "tracker-sparql-scanner.c"
1686 {
1687 gchar* _tmp121_;
1688 gboolean _tmp122_ = FALSE;
1689 #line 296 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
1690 _tmp121_ = begin;
1691 #line 296 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
1692 _tmp122_ = tracker_sparql_scanner_matches (self, _tmp121_, "SILENT");
1693 #line 296 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
1694 if (_tmp122_) {
1695 #line 296 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
1696 result = TRACKER_SPARQL_TOKEN_TYPE_SILENT;
1697 #line 296 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
1698 return result;
1699 #line 1700 "tracker-sparql-scanner.c"
1700 }
1701 #line 297 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
1702 break;
1703 #line 1704 "tracker-sparql-scanner.c"
1704 }
1705 default:
1706 #line 289 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
1707 break;
1708 #line 1709 "tracker-sparql-scanner.c"
1709 }
1710 #line 299 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
1711 break;
1712 #line 1713 "tracker-sparql-scanner.c"
1713 }
1714 default:
1715 #line 258 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
1716 break;
1717 #line 1718 "tracker-sparql-scanner.c"
1718 }
1719 #line 301 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
1720 break;
1721 #line 1722 "tracker-sparql-scanner.c"
1722 }
1723 #line 44 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
1724 case 7:
1725 #line 1726 "tracker-sparql-scanner.c"
1726 {
1727 gchar* _tmp123_;
1728 gchar _tmp124_;
1729 #line 303 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
1730 _tmp123_ = begin;
1731 #line 303 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
1732 _tmp124_ = _tmp123_[0];
1733 #line 303 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
1734 switch (_tmp124_) {
1735 #line 303 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
1736 case 'R':
1737 #line 303 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
1738 case 'r':
1739 #line 1740 "tracker-sparql-scanner.c"
1740 {
1741 gchar* _tmp125_;
1742 gchar _tmp126_;
1743 #line 306 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
1744 _tmp125_ = begin;
1745 #line 306 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
1746 _tmp126_ = _tmp125_[2];
1747 #line 306 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
1748 switch (_tmp126_) {
1749 #line 306 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
1750 case 'D':
1751 #line 306 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
1752 case 'd':
1753 #line 1754 "tracker-sparql-scanner.c"
1754 {
1755 gchar* _tmp127_;
1756 gboolean _tmp128_ = FALSE;
1757 #line 309 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
1758 _tmp127_ = begin;
1759 #line 309 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
1760 _tmp128_ = tracker_sparql_scanner_matches (self, _tmp127_, "REDUCED");
1761 #line 309 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
1762 if (_tmp128_) {
1763 #line 309 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
1764 result = TRACKER_SPARQL_TOKEN_TYPE_REDUCED;
1765 #line 309 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
1766 return result;
1767 #line 1768 "tracker-sparql-scanner.c"
1768 }
1769 #line 310 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
1770 break;
1771 #line 1772 "tracker-sparql-scanner.c"
1772 }
1773 #line 306 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
1774 case 'P':
1775 #line 306 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
1776 case 'p':
1777 #line 1778 "tracker-sparql-scanner.c"
1778 {
1779 gchar* _tmp129_;
1780 gboolean _tmp130_ = FALSE;
1781 #line 313 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
1782 _tmp129_ = begin;
1783 #line 313 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
1784 _tmp130_ = tracker_sparql_scanner_matches (self, _tmp129_, "REPLACE");
1785 #line 313 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
1786 if (_tmp130_) {
1787 #line 313 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
1788 result = TRACKER_SPARQL_TOKEN_TYPE_REPLACE;
1789 #line 313 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
1790 return result;
1791 #line 1792 "tracker-sparql-scanner.c"
1792 }
1793 #line 314 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
1794 break;
1795 #line 1796 "tracker-sparql-scanner.c"
1796 }
1797 default:
1798 #line 306 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
1799 break;
1800 #line 1801 "tracker-sparql-scanner.c"
1801 }
1802 #line 316 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
1803 break;
1804 #line 1805 "tracker-sparql-scanner.c"
1805 }
1806 #line 303 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
1807 case 'I':
1808 #line 303 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
1809 case 'i':
1810 #line 1811 "tracker-sparql-scanner.c"
1811 {
1812 gchar* _tmp131_;
1813 gboolean _tmp132_ = FALSE;
1814 #line 319 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
1815 _tmp131_ = begin;
1816 #line 319 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
1817 _tmp132_ = tracker_sparql_scanner_matches (self, _tmp131_, "ISBLANK");
1818 #line 319 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
1819 if (_tmp132_) {
1820 #line 319 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
1821 result = TRACKER_SPARQL_TOKEN_TYPE_ISBLANK;
1822 #line 319 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
1823 return result;
1824 #line 1825 "tracker-sparql-scanner.c"
1825 }
1826 #line 320 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
1827 break;
1828 #line 1829 "tracker-sparql-scanner.c"
1829 }
1830 default:
1831 #line 303 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
1832 break;
1833 #line 1834 "tracker-sparql-scanner.c"
1834 }
1835 #line 322 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
1836 break;
1837 #line 1838 "tracker-sparql-scanner.c"
1838 }
1839 #line 44 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
1840 case 8:
1841 #line 1842 "tracker-sparql-scanner.c"
1842 {
1843 gchar* _tmp133_;
1844 gchar _tmp134_;
1845 #line 324 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
1846 _tmp133_ = begin;
1847 #line 324 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
1848 _tmp134_ = _tmp133_[0];
1849 #line 324 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
1850 switch (_tmp134_) {
1851 #line 324 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
1852 case 'C':
1853 #line 324 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
1854 case 'c':
1855 #line 1856 "tracker-sparql-scanner.c"
1856 {
1857 gchar* _tmp135_;
1858 gboolean _tmp136_ = FALSE;
1859 #line 327 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
1860 _tmp135_ = begin;
1861 #line 327 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
1862 _tmp136_ = tracker_sparql_scanner_matches (self, _tmp135_, "COALESCE");
1863 #line 327 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
1864 if (_tmp136_) {
1865 #line 327 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
1866 result = TRACKER_SPARQL_TOKEN_TYPE_COALESCE;
1867 #line 327 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
1868 return result;
1869 #line 1870 "tracker-sparql-scanner.c"
1870 }
1871 #line 328 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
1872 break;
1873 #line 1874 "tracker-sparql-scanner.c"
1874 }
1875 #line 324 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
1876 case 'D':
1877 #line 324 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
1878 case 'd':
1879 #line 1880 "tracker-sparql-scanner.c"
1880 {
1881 gchar* _tmp137_;
1882 gchar _tmp138_;
1883 #line 331 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
1884 _tmp137_ = begin;
1885 #line 331 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
1886 _tmp138_ = _tmp137_[1];
1887 #line 331 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
1888 switch (_tmp138_) {
1889 #line 331 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
1890 case 'A':
1891 #line 331 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
1892 case 'a':
1893 #line 1894 "tracker-sparql-scanner.c"
1894 {
1895 gchar* _tmp139_;
1896 gboolean _tmp140_ = FALSE;
1897 #line 334 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
1898 _tmp139_ = begin;
1899 #line 334 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
1900 _tmp140_ = tracker_sparql_scanner_matches (self, _tmp139_, "DATATYPE");
1901 #line 334 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
1902 if (_tmp140_) {
1903 #line 334 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
1904 result = TRACKER_SPARQL_TOKEN_TYPE_DATATYPE;
1905 #line 334 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
1906 return result;
1907 #line 1908 "tracker-sparql-scanner.c"
1908 }
1909 #line 335 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
1910 break;
1911 #line 1912 "tracker-sparql-scanner.c"
1912 }
1913 #line 331 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
1914 case 'E':
1915 #line 331 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
1916 case 'e':
1917 #line 1918 "tracker-sparql-scanner.c"
1918 {
1919 gchar* _tmp141_;
1920 gboolean _tmp142_ = FALSE;
1921 #line 338 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
1922 _tmp141_ = begin;
1923 #line 338 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
1924 _tmp142_ = tracker_sparql_scanner_matches (self, _tmp141_, "DESCRIBE");
1925 #line 338 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
1926 if (_tmp142_) {
1927 #line 338 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
1928 result = TRACKER_SPARQL_TOKEN_TYPE_DESCRIBE;
1929 #line 338 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
1930 return result;
1931 #line 1932 "tracker-sparql-scanner.c"
1932 }
1933 #line 339 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
1934 break;
1935 #line 1936 "tracker-sparql-scanner.c"
1936 }
1937 #line 331 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
1938 case 'I':
1939 #line 331 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
1940 case 'i':
1941 #line 1942 "tracker-sparql-scanner.c"
1942 {
1943 gchar* _tmp143_;
1944 gboolean _tmp144_ = FALSE;
1945 #line 342 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
1946 _tmp143_ = begin;
1947 #line 342 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
1948 _tmp144_ = tracker_sparql_scanner_matches (self, _tmp143_, "DISTINCT");
1949 #line 342 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
1950 if (_tmp144_) {
1951 #line 342 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
1952 result = TRACKER_SPARQL_TOKEN_TYPE_DISTINCT;
1953 #line 342 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
1954 return result;
1955 #line 1956 "tracker-sparql-scanner.c"
1956 }
1957 #line 343 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
1958 break;
1959 #line 1960 "tracker-sparql-scanner.c"
1960 }
1961 default:
1962 #line 331 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
1963 break;
1964 #line 1965 "tracker-sparql-scanner.c"
1965 }
1966 #line 345 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
1967 break;
1968 #line 1969 "tracker-sparql-scanner.c"
1969 }
1970 #line 324 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
1971 case 'O':
1972 #line 324 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
1973 case 'o':
1974 #line 1975 "tracker-sparql-scanner.c"
1975 {
1976 gchar* _tmp145_;
1977 gboolean _tmp146_ = FALSE;
1978 #line 348 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
1979 _tmp145_ = begin;
1980 #line 348 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
1981 _tmp146_ = tracker_sparql_scanner_matches (self, _tmp145_, "OPTIONAL");
1982 #line 348 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
1983 if (_tmp146_) {
1984 #line 348 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
1985 result = TRACKER_SPARQL_TOKEN_TYPE_OPTIONAL;
1986 #line 348 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
1987 return result;
1988 #line 1989 "tracker-sparql-scanner.c"
1989 }
1990 #line 349 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
1991 break;
1992 #line 1993 "tracker-sparql-scanner.c"
1993 }
1994 #line 324 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
1995 case 'S':
1996 #line 324 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
1997 case 's':
1998 #line 1999 "tracker-sparql-scanner.c"
1999 {
2000 gchar* _tmp147_;
2001 gboolean _tmp148_ = FALSE;
2002 #line 352 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
2003 _tmp147_ = begin;
2004 #line 352 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
2005 _tmp148_ = tracker_sparql_scanner_matches (self, _tmp147_, "SAMETERM");
2006 #line 352 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
2007 if (_tmp148_) {
2008 #line 352 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
2009 result = TRACKER_SPARQL_TOKEN_TYPE_SAMETERM;
2010 #line 352 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
2011 return result;
2012 #line 2013 "tracker-sparql-scanner.c"
2013 }
2014 #line 353 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
2015 break;
2016 #line 2017 "tracker-sparql-scanner.c"
2017 }
2018 default:
2019 #line 324 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
2020 break;
2021 #line 2022 "tracker-sparql-scanner.c"
2022 }
2023 #line 355 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
2024 break;
2025 #line 2026 "tracker-sparql-scanner.c"
2026 }
2027 #line 44 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
2028 case 9:
2029 #line 2030 "tracker-sparql-scanner.c"
2030 {
2031 gchar* _tmp149_;
2032 gchar _tmp150_;
2033 #line 357 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
2034 _tmp149_ = begin;
2035 #line 357 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
2036 _tmp150_ = _tmp149_[0];
2037 #line 357 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
2038 switch (_tmp150_) {
2039 #line 357 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
2040 case 'C':
2041 #line 357 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
2042 case 'c':
2043 #line 2044 "tracker-sparql-scanner.c"
2044 {
2045 gchar* _tmp151_;
2046 gboolean _tmp152_ = FALSE;
2047 #line 360 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
2048 _tmp151_ = begin;
2049 #line 360 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
2050 _tmp152_ = tracker_sparql_scanner_matches (self, _tmp151_, "CONSTRUCT");
2051 #line 360 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
2052 if (_tmp152_) {
2053 #line 360 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
2054 result = TRACKER_SPARQL_TOKEN_TYPE_CONSTRUCT;
2055 #line 360 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
2056 return result;
2057 #line 2058 "tracker-sparql-scanner.c"
2058 }
2059 #line 361 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
2060 break;
2061 #line 2062 "tracker-sparql-scanner.c"
2062 }
2063 #line 357 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
2064 case 'I':
2065 #line 357 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
2066 case 'i':
2067 #line 2068 "tracker-sparql-scanner.c"
2068 {
2069 gchar* _tmp153_;
2070 gboolean _tmp154_ = FALSE;
2071 #line 364 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
2072 _tmp153_ = begin;
2073 #line 364 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
2074 _tmp154_ = tracker_sparql_scanner_matches (self, _tmp153_, "ISLITERAL");
2075 #line 364 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
2076 if (_tmp154_) {
2077 #line 364 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
2078 result = TRACKER_SPARQL_TOKEN_TYPE_ISLITERAL;
2079 #line 364 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
2080 return result;
2081 #line 2082 "tracker-sparql-scanner.c"
2082 }
2083 #line 365 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
2084 break;
2085 #line 2086 "tracker-sparql-scanner.c"
2086 }
2087 default:
2088 #line 357 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
2089 break;
2090 #line 2091 "tracker-sparql-scanner.c"
2091 }
2092 #line 367 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
2093 break;
2094 #line 2095 "tracker-sparql-scanner.c"
2095 }
2096 #line 44 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
2097 case 11:
2098 #line 2099 "tracker-sparql-scanner.c"
2099 {
2100 gchar* _tmp155_;
2101 gboolean _tmp156_ = FALSE;
2102 #line 369 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
2103 _tmp155_ = begin;
2104 #line 369 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
2105 _tmp156_ = tracker_sparql_scanner_matches (self, _tmp155_, "LANGMATCHES");
2106 #line 369 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
2107 if (_tmp156_) {
2108 #line 369 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
2109 result = TRACKER_SPARQL_TOKEN_TYPE_LANGMATCHES;
2110 #line 369 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
2111 return result;
2112 #line 2113 "tracker-sparql-scanner.c"
2113 }
2114 #line 370 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
2115 break;
2116 #line 2117 "tracker-sparql-scanner.c"
2117 }
2118 #line 44 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
2119 case 12:
2120 #line 2121 "tracker-sparql-scanner.c"
2121 {
2122 gchar* _tmp157_;
2123 gboolean _tmp158_ = FALSE;
2124 #line 372 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
2125 _tmp157_ = begin;
2126 #line 372 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
2127 _tmp158_ = tracker_sparql_scanner_matches (self, _tmp157_, "GROUP_CONCAT");
2128 #line 372 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
2129 if (_tmp158_) {
2130 #line 372 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
2131 result = TRACKER_SPARQL_TOKEN_TYPE_GROUP_CONCAT;
2132 #line 372 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
2133 return result;
2134 #line 2135 "tracker-sparql-scanner.c"
2135 }
2136 #line 373 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
2137 break;
2138 #line 2139 "tracker-sparql-scanner.c"
2139 }
2140 default:
2141 #line 44 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
2142 break;
2143 #line 2144 "tracker-sparql-scanner.c"
2144 }
2145 #line 375 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
2146 result = TRACKER_SPARQL_TOKEN_TYPE_PN_PREFIX;
2147 #line 375 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
2148 return result;
2149 #line 2150 "tracker-sparql-scanner.c"
2150 }
2151
2152
2153 static TrackerSparqlTokenType tracker_sparql_scanner_read_number (TrackerSparqlScanner* self) {
2154 TrackerSparqlTokenType result = 0;
2155 TrackerSparqlTokenType type;
2156 gboolean _tmp0_ = FALSE;
2157 gboolean _tmp1_ = FALSE;
2158 gboolean _tmp2_ = FALSE;
2159 gchar* _tmp3_;
2160 gchar* _tmp4_;
2161 gboolean _tmp7_;
2162 gboolean _tmp10_;
2163 gboolean _tmp14_;
2164 gboolean _tmp32_ = FALSE;
2165 gboolean _tmp33_ = FALSE;
2166 gchar* _tmp34_;
2167 gchar* _tmp35_;
2168 gboolean _tmp38_;
2169 gboolean _tmp42_;
2170 gboolean _tmp52_ = FALSE;
2171 gchar* _tmp53_;
2172 gchar* _tmp54_;
2173 gboolean _tmp58_;
2174 gchar* _tmp79_;
2175 gchar* _tmp80_;
2176 #line 378 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
2177 g_return_val_if_fail (self != NULL, 0);
2178 #line 379 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
2179 type = TRACKER_SPARQL_TOKEN_TYPE_INTEGER;
2180 #line 382 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
2181 _tmp3_ = self->priv->current;
2182 #line 382 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
2183 _tmp4_ = self->priv->end;
2184 #line 382 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
2185 if (_tmp3_ < (_tmp4_ - 2)) {
2186 #line 2187 "tracker-sparql-scanner.c"
2187 gchar* _tmp5_;
2188 gchar _tmp6_;
2189 #line 382 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
2190 _tmp5_ = self->priv->current;
2191 #line 382 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
2192 _tmp6_ = _tmp5_[0];
2193 #line 382 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
2194 _tmp2_ = _tmp6_ == '0';
2195 #line 2196 "tracker-sparql-scanner.c"
2196 } else {
2197 #line 382 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
2198 _tmp2_ = FALSE;
2199 #line 2200 "tracker-sparql-scanner.c"
2200 }
2201 #line 382 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
2202 _tmp7_ = _tmp2_;
2203 #line 382 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
2204 if (_tmp7_) {
2205 #line 2206 "tracker-sparql-scanner.c"
2206 gchar* _tmp8_;
2207 gchar _tmp9_;
2208 #line 383 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
2209 _tmp8_ = self->priv->current;
2210 #line 383 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
2211 _tmp9_ = _tmp8_[1];
2212 #line 383 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
2213 _tmp1_ = _tmp9_ == 'x';
2214 #line 2215 "tracker-sparql-scanner.c"
2215 } else {
2216 #line 382 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
2217 _tmp1_ = FALSE;
2218 #line 2219 "tracker-sparql-scanner.c"
2219 }
2220 #line 382 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
2221 _tmp10_ = _tmp1_;
2222 #line 382 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
2223 if (_tmp10_) {
2224 #line 2225 "tracker-sparql-scanner.c"
2225 gchar* _tmp11_;
2226 gchar _tmp12_;
2227 gboolean _tmp13_ = FALSE;
2228 #line 383 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
2229 _tmp11_ = self->priv->current;
2230 #line 383 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
2231 _tmp12_ = _tmp11_[2];
2232 #line 383 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
2233 _tmp13_ = g_ascii_isxdigit (_tmp12_);
2234 #line 383 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
2235 _tmp0_ = _tmp13_;
2236 #line 2237 "tracker-sparql-scanner.c"
2237 } else {
2238 #line 382 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
2239 _tmp0_ = FALSE;
2240 #line 2241 "tracker-sparql-scanner.c"
2241 }
2242 #line 382 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
2243 _tmp14_ = _tmp0_;
2244 #line 382 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
2245 if (_tmp14_) {
2246 #line 2247 "tracker-sparql-scanner.c"
2247 gchar* _tmp15_;
2248 #line 385 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
2249 _tmp15_ = self->priv->current;
2250 #line 385 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
2251 self->priv->current = _tmp15_ + 2;
2252 #line 386 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
2253 while (TRUE) {
2254 #line 2255 "tracker-sparql-scanner.c"
2255 gboolean _tmp16_ = FALSE;
2256 gchar* _tmp17_;
2257 gchar* _tmp18_;
2258 gboolean _tmp22_;
2259 gchar* _tmp23_;
2260 #line 386 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
2261 _tmp17_ = self->priv->current;
2262 #line 386 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
2263 _tmp18_ = self->priv->end;
2264 #line 386 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
2265 if (_tmp17_ < _tmp18_) {
2266 #line 2267 "tracker-sparql-scanner.c"
2267 gchar* _tmp19_;
2268 gchar _tmp20_;
2269 gboolean _tmp21_ = FALSE;
2270 #line 386 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
2271 _tmp19_ = self->priv->current;
2272 #line 386 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
2273 _tmp20_ = _tmp19_[0];
2274 #line 386 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
2275 _tmp21_ = g_ascii_isxdigit (_tmp20_);
2276 #line 386 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
2277 _tmp16_ = _tmp21_;
2278 #line 2279 "tracker-sparql-scanner.c"
2279 } else {
2280 #line 386 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
2281 _tmp16_ = FALSE;
2282 #line 2283 "tracker-sparql-scanner.c"
2283 }
2284 #line 386 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
2285 _tmp22_ = _tmp16_;
2286 #line 386 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
2287 if (!_tmp22_) {
2288 #line 386 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
2289 break;
2290 #line 2291 "tracker-sparql-scanner.c"
2291 }
2292 #line 387 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
2293 _tmp23_ = self->priv->current;
2294 #line 387 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
2295 self->priv->current = _tmp23_ + 1;
2296 #line 2297 "tracker-sparql-scanner.c"
2297 }
2298 } else {
2299 #line 391 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
2300 while (TRUE) {
2301 #line 2302 "tracker-sparql-scanner.c"
2302 gboolean _tmp24_ = FALSE;
2303 gchar* _tmp25_;
2304 gchar* _tmp26_;
2305 gboolean _tmp30_;
2306 gchar* _tmp31_;
2307 #line 391 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
2308 _tmp25_ = self->priv->current;
2309 #line 391 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
2310 _tmp26_ = self->priv->end;
2311 #line 391 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
2312 if (_tmp25_ < _tmp26_) {
2313 #line 2314 "tracker-sparql-scanner.c"
2314 gchar* _tmp27_;
2315 gchar _tmp28_;
2316 gboolean _tmp29_ = FALSE;
2317 #line 391 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
2318 _tmp27_ = self->priv->current;
2319 #line 391 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
2320 _tmp28_ = _tmp27_[0];
2321 #line 391 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
2322 _tmp29_ = g_ascii_isdigit (_tmp28_);
2323 #line 391 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
2324 _tmp24_ = _tmp29_;
2325 #line 2326 "tracker-sparql-scanner.c"
2326 } else {
2327 #line 391 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
2328 _tmp24_ = FALSE;
2329 #line 2330 "tracker-sparql-scanner.c"
2330 }
2331 #line 391 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
2332 _tmp30_ = _tmp24_;
2333 #line 391 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
2334 if (!_tmp30_) {
2335 #line 391 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
2336 break;
2337 #line 2338 "tracker-sparql-scanner.c"
2338 }
2339 #line 392 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
2340 _tmp31_ = self->priv->current;
2341 #line 392 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
2342 self->priv->current = _tmp31_ + 1;
2343 #line 2344 "tracker-sparql-scanner.c"
2344 }
2345 }
2346 #line 397 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
2347 _tmp34_ = self->priv->current;
2348 #line 397 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
2349 _tmp35_ = self->priv->end;
2350 #line 397 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
2351 if (_tmp34_ < (_tmp35_ - 1)) {
2352 #line 2353 "tracker-sparql-scanner.c"
2353 gchar* _tmp36_;
2354 gchar _tmp37_;
2355 #line 397 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
2356 _tmp36_ = self->priv->current;
2357 #line 397 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
2358 _tmp37_ = _tmp36_[0];
2359 #line 397 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
2360 _tmp33_ = _tmp37_ == '.';
2361 #line 2362 "tracker-sparql-scanner.c"
2362 } else {
2363 #line 397 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
2364 _tmp33_ = FALSE;
2365 #line 2366 "tracker-sparql-scanner.c"
2366 }
2367 #line 397 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
2368 _tmp38_ = _tmp33_;
2369 #line 397 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
2370 if (_tmp38_) {
2371 #line 2372 "tracker-sparql-scanner.c"
2372 gchar* _tmp39_;
2373 gchar _tmp40_;
2374 gboolean _tmp41_ = FALSE;
2375 #line 397 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
2376 _tmp39_ = self->priv->current;
2377 #line 397 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
2378 _tmp40_ = _tmp39_[1];
2379 #line 397 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
2380 _tmp41_ = g_ascii_isdigit (_tmp40_);
2381 #line 397 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
2382 _tmp32_ = _tmp41_;
2383 #line 2384 "tracker-sparql-scanner.c"
2384 } else {
2385 #line 397 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
2386 _tmp32_ = FALSE;
2387 #line 2388 "tracker-sparql-scanner.c"
2388 }
2389 #line 397 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
2390 _tmp42_ = _tmp32_;
2391 #line 397 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
2392 if (_tmp42_) {
2393 #line 2394 "tracker-sparql-scanner.c"
2394 gchar* _tmp43_;
2395 #line 398 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
2396 type = TRACKER_SPARQL_TOKEN_TYPE_DOUBLE;
2397 #line 399 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
2398 _tmp43_ = self->priv->current;
2399 #line 399 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
2400 self->priv->current = _tmp43_ + 1;
2401 #line 400 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
2402 while (TRUE) {
2403 #line 2404 "tracker-sparql-scanner.c"
2404 gboolean _tmp44_ = FALSE;
2405 gchar* _tmp45_;
2406 gchar* _tmp46_;
2407 gboolean _tmp50_;
2408 gchar* _tmp51_;
2409 #line 400 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
2410 _tmp45_ = self->priv->current;
2411 #line 400 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
2412 _tmp46_ = self->priv->end;
2413 #line 400 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
2414 if (_tmp45_ < _tmp46_) {
2415 #line 2416 "tracker-sparql-scanner.c"
2416 gchar* _tmp47_;
2417 gchar _tmp48_;
2418 gboolean _tmp49_ = FALSE;
2419 #line 400 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
2420 _tmp47_ = self->priv->current;
2421 #line 400 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
2422 _tmp48_ = _tmp47_[0];
2423 #line 400 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
2424 _tmp49_ = g_ascii_isdigit (_tmp48_);
2425 #line 400 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
2426 _tmp44_ = _tmp49_;
2427 #line 2428 "tracker-sparql-scanner.c"
2428 } else {
2429 #line 400 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
2430 _tmp44_ = FALSE;
2431 #line 2432 "tracker-sparql-scanner.c"
2432 }
2433 #line 400 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
2434 _tmp50_ = _tmp44_;
2435 #line 400 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
2436 if (!_tmp50_) {
2437 #line 400 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
2438 break;
2439 #line 2440 "tracker-sparql-scanner.c"
2440 }
2441 #line 401 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
2442 _tmp51_ = self->priv->current;
2443 #line 401 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
2444 self->priv->current = _tmp51_ + 1;
2445 #line 2446 "tracker-sparql-scanner.c"
2446 }
2447 }
2448 #line 406 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
2449 _tmp53_ = self->priv->current;
2450 #line 406 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
2451 _tmp54_ = self->priv->end;
2452 #line 406 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
2453 if (_tmp53_ < _tmp54_) {
2454 #line 2455 "tracker-sparql-scanner.c"
2455 gchar* _tmp55_;
2456 gchar _tmp56_;
2457 gchar _tmp57_ = '\0';
2458 #line 406 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
2459 _tmp55_ = self->priv->current;
2460 #line 406 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
2461 _tmp56_ = _tmp55_[0];
2462 #line 406 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
2463 _tmp57_ = g_ascii_tolower (_tmp56_);
2464 #line 406 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
2465 _tmp52_ = _tmp57_ == 'e';
2466 #line 2467 "tracker-sparql-scanner.c"
2467 } else {
2468 #line 406 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
2469 _tmp52_ = FALSE;
2470 #line 2471 "tracker-sparql-scanner.c"
2471 }
2472 #line 406 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
2473 _tmp58_ = _tmp52_;
2474 #line 406 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
2475 if (_tmp58_) {
2476 #line 2477 "tracker-sparql-scanner.c"
2477 gchar* _tmp59_;
2478 gboolean _tmp60_ = FALSE;
2479 gchar* _tmp61_;
2480 gchar* _tmp62_;
2481 gboolean _tmp69_;
2482 #line 407 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
2483 type = TRACKER_SPARQL_TOKEN_TYPE_DOUBLE;
2484 #line 408 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
2485 _tmp59_ = self->priv->current;
2486 #line 408 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
2487 self->priv->current = _tmp59_ + 1;
2488 #line 409 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
2489 _tmp61_ = self->priv->current;
2490 #line 409 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
2491 _tmp62_ = self->priv->end;
2492 #line 409 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
2493 if (_tmp61_ < _tmp62_) {
2494 #line 2495 "tracker-sparql-scanner.c"
2495 gboolean _tmp63_ = FALSE;
2496 gchar* _tmp64_;
2497 gchar _tmp65_;
2498 gboolean _tmp68_;
2499 #line 409 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
2500 _tmp64_ = self->priv->current;
2501 #line 409 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
2502 _tmp65_ = _tmp64_[0];
2503 #line 409 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
2504 if (_tmp65_ == '+') {
2505 #line 409 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
2506 _tmp63_ = TRUE;
2507 #line 2508 "tracker-sparql-scanner.c"
2508 } else {
2509 gchar* _tmp66_;
2510 gchar _tmp67_;
2511 #line 409 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
2512 _tmp66_ = self->priv->current;
2513 #line 409 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
2514 _tmp67_ = _tmp66_[0];
2515 #line 409 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
2516 _tmp63_ = _tmp67_ == '-';
2517 #line 2518 "tracker-sparql-scanner.c"
2518 }
2519 #line 409 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
2520 _tmp68_ = _tmp63_;
2521 #line 409 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
2522 _tmp60_ = _tmp68_;
2523 #line 2524 "tracker-sparql-scanner.c"
2524 } else {
2525 #line 409 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
2526 _tmp60_ = FALSE;
2527 #line 2528 "tracker-sparql-scanner.c"
2528 }
2529 #line 409 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
2530 _tmp69_ = _tmp60_;
2531 #line 409 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
2532 if (_tmp69_) {
2533 #line 2534 "tracker-sparql-scanner.c"
2534 gchar* _tmp70_;
2535 #line 410 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
2536 _tmp70_ = self->priv->current;
2537 #line 410 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
2538 self->priv->current = _tmp70_ + 1;
2539 #line 2540 "tracker-sparql-scanner.c"
2540 }
2541 #line 412 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
2542 while (TRUE) {
2543 #line 2544 "tracker-sparql-scanner.c"
2544 gboolean _tmp71_ = FALSE;
2545 gchar* _tmp72_;
2546 gchar* _tmp73_;
2547 gboolean _tmp77_;
2548 gchar* _tmp78_;
2549 #line 412 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
2550 _tmp72_ = self->priv->current;
2551 #line 412 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
2552 _tmp73_ = self->priv->end;
2553 #line 412 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
2554 if (_tmp72_ < _tmp73_) {
2555 #line 2556 "tracker-sparql-scanner.c"
2556 gchar* _tmp74_;
2557 gchar _tmp75_;
2558 gboolean _tmp76_ = FALSE;
2559 #line 412 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
2560 _tmp74_ = self->priv->current;
2561 #line 412 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
2562 _tmp75_ = _tmp74_[0];
2563 #line 412 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
2564 _tmp76_ = g_ascii_isdigit (_tmp75_);
2565 #line 412 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
2566 _tmp71_ = _tmp76_;
2567 #line 2568 "tracker-sparql-scanner.c"
2568 } else {
2569 #line 412 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
2570 _tmp71_ = FALSE;
2571 #line 2572 "tracker-sparql-scanner.c"
2572 }
2573 #line 412 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
2574 _tmp77_ = _tmp71_;
2575 #line 412 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
2576 if (!_tmp77_) {
2577 #line 412 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
2578 break;
2579 #line 2580 "tracker-sparql-scanner.c"
2580 }
2581 #line 413 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
2582 _tmp78_ = self->priv->current;
2583 #line 413 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
2584 self->priv->current = _tmp78_ + 1;
2585 #line 2586 "tracker-sparql-scanner.c"
2586 }
2587 }
2588 #line 418 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
2589 _tmp79_ = self->priv->current;
2590 #line 418 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
2591 _tmp80_ = self->priv->end;
2592 #line 418 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
2593 if (_tmp79_ < _tmp80_) {
2594 #line 2595 "tracker-sparql-scanner.c"
2595 gchar* _tmp81_;
2596 gchar _tmp82_;
2597 #line 419 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
2598 _tmp81_ = self->priv->current;
2599 #line 419 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
2600 _tmp82_ = _tmp81_[0];
2601 #line 419 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
2602 switch (_tmp82_) {
2603 #line 419 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
2604 case 'l':
2605 #line 419 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
2606 case 'L':
2607 #line 2608 "tracker-sparql-scanner.c"
2608 {
2609 TrackerSparqlTokenType _tmp83_;
2610 #line 422 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
2611 _tmp83_ = type;
2612 #line 422 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
2613 if (_tmp83_ == TRACKER_SPARQL_TOKEN_TYPE_INTEGER) {
2614 #line 2615 "tracker-sparql-scanner.c"
2615 gchar* _tmp84_;
2616 gboolean _tmp85_ = FALSE;
2617 gchar* _tmp86_;
2618 gchar* _tmp87_;
2619 gboolean _tmp91_;
2620 #line 423 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
2621 _tmp84_ = self->priv->current;
2622 #line 423 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
2623 self->priv->current = _tmp84_ + 1;
2624 #line 424 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
2625 _tmp86_ = self->priv->current;
2626 #line 424 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
2627 _tmp87_ = self->priv->end;
2628 #line 424 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
2629 if (_tmp86_ < _tmp87_) {
2630 #line 2631 "tracker-sparql-scanner.c"
2631 gchar* _tmp88_;
2632 gchar _tmp89_;
2633 gchar _tmp90_ = '\0';
2634 #line 424 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
2635 _tmp88_ = self->priv->current;
2636 #line 424 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
2637 _tmp89_ = _tmp88_[0];
2638 #line 424 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
2639 _tmp90_ = g_ascii_tolower (_tmp89_);
2640 #line 424 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
2641 _tmp85_ = _tmp90_ == 'l';
2642 #line 2643 "tracker-sparql-scanner.c"
2643 } else {
2644 #line 424 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
2645 _tmp85_ = FALSE;
2646 #line 2647 "tracker-sparql-scanner.c"
2647 }
2648 #line 424 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
2649 _tmp91_ = _tmp85_;
2650 #line 424 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
2651 if (_tmp91_) {
2652 #line 2653 "tracker-sparql-scanner.c"
2653 gchar* _tmp92_;
2654 #line 425 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
2655 _tmp92_ = self->priv->current;
2656 #line 425 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
2657 self->priv->current = _tmp92_ + 1;
2658 #line 2659 "tracker-sparql-scanner.c"
2659 }
2660 }
2661 #line 428 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
2662 break;
2663 #line 2664 "tracker-sparql-scanner.c"
2664 }
2665 #line 419 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
2666 case 'u':
2667 #line 419 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
2668 case 'U':
2669 #line 2670 "tracker-sparql-scanner.c"
2670 {
2671 TrackerSparqlTokenType _tmp93_;
2672 #line 431 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
2673 _tmp93_ = type;
2674 #line 431 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
2675 if (_tmp93_ == TRACKER_SPARQL_TOKEN_TYPE_INTEGER) {
2676 #line 2677 "tracker-sparql-scanner.c"
2677 gchar* _tmp94_;
2678 gboolean _tmp95_ = FALSE;
2679 gchar* _tmp96_;
2680 gchar* _tmp97_;
2681 gboolean _tmp101_;
2682 #line 432 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
2683 _tmp94_ = self->priv->current;
2684 #line 432 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
2685 self->priv->current = _tmp94_ + 1;
2686 #line 433 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
2687 _tmp96_ = self->priv->current;
2688 #line 433 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
2689 _tmp97_ = self->priv->end;
2690 #line 433 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
2691 if (_tmp96_ < _tmp97_) {
2692 #line 2693 "tracker-sparql-scanner.c"
2693 gchar* _tmp98_;
2694 gchar _tmp99_;
2695 gchar _tmp100_ = '\0';
2696 #line 433 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
2697 _tmp98_ = self->priv->current;
2698 #line 433 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
2699 _tmp99_ = _tmp98_[0];
2700 #line 433 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
2701 _tmp100_ = g_ascii_tolower (_tmp99_);
2702 #line 433 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
2703 _tmp95_ = _tmp100_ == 'l';
2704 #line 2705 "tracker-sparql-scanner.c"
2705 } else {
2706 #line 433 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
2707 _tmp95_ = FALSE;
2708 #line 2709 "tracker-sparql-scanner.c"
2709 }
2710 #line 433 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
2711 _tmp101_ = _tmp95_;
2712 #line 433 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
2713 if (_tmp101_) {
2714 #line 2715 "tracker-sparql-scanner.c"
2715 gchar* _tmp102_;
2716 gboolean _tmp103_ = FALSE;
2717 gchar* _tmp104_;
2718 gchar* _tmp105_;
2719 gboolean _tmp109_;
2720 #line 434 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
2721 _tmp102_ = self->priv->current;
2722 #line 434 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
2723 self->priv->current = _tmp102_ + 1;
2724 #line 435 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
2725 _tmp104_ = self->priv->current;
2726 #line 435 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
2727 _tmp105_ = self->priv->end;
2728 #line 435 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
2729 if (_tmp104_ < _tmp105_) {
2730 #line 2731 "tracker-sparql-scanner.c"
2731 gchar* _tmp106_;
2732 gchar _tmp107_;
2733 gchar _tmp108_ = '\0';
2734 #line 435 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
2735 _tmp106_ = self->priv->current;
2736 #line 435 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
2737 _tmp107_ = _tmp106_[0];
2738 #line 435 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
2739 _tmp108_ = g_ascii_tolower (_tmp107_);
2740 #line 435 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
2741 _tmp103_ = _tmp108_ == 'l';
2742 #line 2743 "tracker-sparql-scanner.c"
2743 } else {
2744 #line 435 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
2745 _tmp103_ = FALSE;
2746 #line 2747 "tracker-sparql-scanner.c"
2747 }
2748 #line 435 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
2749 _tmp109_ = _tmp103_;
2750 #line 435 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
2751 if (_tmp109_) {
2752 #line 2753 "tracker-sparql-scanner.c"
2753 gchar* _tmp110_;
2754 #line 436 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
2755 _tmp110_ = self->priv->current;
2756 #line 436 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
2757 self->priv->current = _tmp110_ + 1;
2758 #line 2759 "tracker-sparql-scanner.c"
2759 }
2760 }
2761 }
2762 #line 440 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
2763 break;
2764 #line 2765 "tracker-sparql-scanner.c"
2765 }
2766 #line 419 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
2767 case 'f':
2768 #line 419 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
2769 case 'F':
2770 #line 419 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
2771 case 'd':
2772 #line 419 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
2773 case 'D':
2774 #line 2775 "tracker-sparql-scanner.c"
2775 {
2776 gchar* _tmp111_;
2777 #line 445 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
2778 type = TRACKER_SPARQL_TOKEN_TYPE_DOUBLE;
2779 #line 446 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
2780 _tmp111_ = self->priv->current;
2781 #line 446 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
2782 self->priv->current = _tmp111_ + 1;
2783 #line 447 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
2784 break;
2785 #line 2786 "tracker-sparql-scanner.c"
2786 }
2787 default:
2788 #line 419 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
2789 break;
2790 #line 2791 "tracker-sparql-scanner.c"
2791 }
2792 }
2793 #line 451 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
2794 result = type;
2795 #line 451 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
2796 return result;
2797 #line 2798 "tracker-sparql-scanner.c"
2798 }
2799
2800
2801 static gboolean tracker_sparql_scanner_is_pn_char (TrackerSparqlScanner* self, gchar c) {
2802 gboolean result = FALSE;
2803 gboolean _tmp0_ = FALSE;
2804 gboolean _tmp1_ = FALSE;
2805 gchar _tmp2_;
2806 gboolean _tmp3_ = FALSE;
2807 gboolean _tmp5_;
2808 gboolean _tmp7_;
2809 #line 454 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
2810 g_return_val_if_fail (self != NULL, FALSE);
2811 #line 455 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
2812 _tmp2_ = c;
2813 #line 455 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
2814 _tmp3_ = g_ascii_isalnum (_tmp2_);
2815 #line 455 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
2816 if (_tmp3_) {
2817 #line 455 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
2818 _tmp1_ = TRUE;
2819 #line 2820 "tracker-sparql-scanner.c"
2820 } else {
2821 gchar _tmp4_;
2822 #line 455 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
2823 _tmp4_ = c;
2824 #line 455 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
2825 _tmp1_ = _tmp4_ == '_';
2826 #line 2827 "tracker-sparql-scanner.c"
2827 }
2828 #line 455 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
2829 _tmp5_ = _tmp1_;
2830 #line 455 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
2831 if (_tmp5_) {
2832 #line 455 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
2833 _tmp0_ = TRUE;
2834 #line 2835 "tracker-sparql-scanner.c"
2835 } else {
2836 gchar _tmp6_;
2837 #line 455 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
2838 _tmp6_ = c;
2839 #line 455 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
2840 _tmp0_ = _tmp6_ == '-';
2841 #line 2842 "tracker-sparql-scanner.c"
2842 }
2843 #line 455 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
2844 _tmp7_ = _tmp0_;
2845 #line 455 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
2846 result = _tmp7_;
2847 #line 455 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
2848 return result;
2849 #line 2850 "tracker-sparql-scanner.c"
2850 }
2851
2852
2853 static gboolean tracker_sparql_scanner_is_pn_local_char (TrackerSparqlScanner* self, gchar c) {
2854 gboolean result = FALSE;
2855 gboolean _tmp0_ = FALSE;
2856 gboolean _tmp1_ = FALSE;
2857 gboolean _tmp2_ = FALSE;
2858 gchar _tmp3_;
2859 gboolean _tmp4_ = FALSE;
2860 gboolean _tmp6_;
2861 gboolean _tmp8_;
2862 gboolean _tmp10_;
2863 #line 458 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
2864 g_return_val_if_fail (self != NULL, FALSE);
2865 #line 459 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
2866 _tmp3_ = c;
2867 #line 459 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
2868 _tmp4_ = g_ascii_isalnum (_tmp3_);
2869 #line 459 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
2870 if (_tmp4_) {
2871 #line 459 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
2872 _tmp2_ = TRUE;
2873 #line 2874 "tracker-sparql-scanner.c"
2874 } else {
2875 gchar _tmp5_;
2876 #line 459 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
2877 _tmp5_ = c;
2878 #line 459 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
2879 _tmp2_ = _tmp5_ == '_';
2880 #line 2881 "tracker-sparql-scanner.c"
2881 }
2882 #line 459 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
2883 _tmp6_ = _tmp2_;
2884 #line 459 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
2885 if (_tmp6_) {
2886 #line 459 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
2887 _tmp1_ = TRUE;
2888 #line 2889 "tracker-sparql-scanner.c"
2889 } else {
2890 gchar _tmp7_;
2891 #line 459 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
2892 _tmp7_ = c;
2893 #line 459 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
2894 _tmp1_ = _tmp7_ == '-';
2895 #line 2896 "tracker-sparql-scanner.c"
2896 }
2897 #line 459 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
2898 _tmp8_ = _tmp1_;
2899 #line 459 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
2900 if (_tmp8_) {
2901 #line 459 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
2902 _tmp0_ = TRUE;
2903 #line 2904 "tracker-sparql-scanner.c"
2904 } else {
2905 gchar _tmp9_;
2906 #line 459 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
2907 _tmp9_ = c;
2908 #line 459 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
2909 _tmp0_ = _tmp9_ == '.';
2910 #line 2911 "tracker-sparql-scanner.c"
2911 }
2912 #line 459 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
2913 _tmp10_ = _tmp0_;
2914 #line 459 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
2915 result = _tmp10_;
2916 #line 459 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
2917 return result;
2918 #line 2919 "tracker-sparql-scanner.c"
2919 }
2920
2921
2922 static gboolean tracker_sparql_scanner_is_varname_char (TrackerSparqlScanner* self, gchar c) {
2923 gboolean result = FALSE;
2924 gboolean _tmp0_ = FALSE;
2925 gchar _tmp1_;
2926 gboolean _tmp2_ = FALSE;
2927 gboolean _tmp4_;
2928 #line 462 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
2929 g_return_val_if_fail (self != NULL, FALSE);
2930 #line 463 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
2931 _tmp1_ = c;
2932 #line 463 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
2933 _tmp2_ = g_ascii_isalnum (_tmp1_);
2934 #line 463 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
2935 if (_tmp2_) {
2936 #line 463 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
2937 _tmp0_ = TRUE;
2938 #line 2939 "tracker-sparql-scanner.c"
2939 } else {
2940 gchar _tmp3_;
2941 #line 463 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
2942 _tmp3_ = c;
2943 #line 463 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
2944 _tmp0_ = _tmp3_ == '_';
2945 #line 2946 "tracker-sparql-scanner.c"
2946 }
2947 #line 463 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
2948 _tmp4_ = _tmp0_;
2949 #line 463 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
2950 result = _tmp4_;
2951 #line 463 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
2952 return result;
2953 #line 2954 "tracker-sparql-scanner.c"
2954 }
2955
2956
2957 TrackerSparqlTokenType tracker_sparql_scanner_read_token (TrackerSparqlScanner* self, TrackerSourceLocation* token_begin, TrackerSourceLocation* token_end, GError** error) {
2958 TrackerSourceLocation _vala_token_begin = {0};
2959 TrackerSourceLocation _vala_token_end = {0};
2960 TrackerSparqlTokenType result = 0;
2961 TrackerSparqlTokenType type = 0;
2962 gchar* _tmp0_;
2963 gchar* begin;
2964 gchar* _tmp1_;
2965 gint _tmp2_;
2966 gint _tmp3_;
2967 gint token_length_in_chars;
2968 gchar* _tmp4_;
2969 gchar* _tmp5_;
2970 gint _tmp320_;
2971 gchar* _tmp326_;
2972 gint _tmp327_;
2973 gint _tmp328_;
2974 GError * _inner_error_ = NULL;
2975 #line 466 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
2976 g_return_val_if_fail (self != NULL, 0);
2977 #line 467 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
2978 tracker_sparql_scanner_space (self);
2979 #line 470 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
2980 _tmp0_ = self->priv->current;
2981 #line 470 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
2982 begin = _tmp0_;
2983 #line 471 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
2984 _tmp1_ = begin;
2985 #line 471 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
2986 _tmp2_ = self->priv->line;
2987 #line 471 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
2988 _tmp3_ = self->priv->column;
2989 #line 471 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
2990 tracker_source_location_init (&_vala_token_begin, _tmp1_, _tmp2_, _tmp3_);
2991 #line 473 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
2992 token_length_in_chars = -1;
2993 #line 475 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
2994 _tmp4_ = self->priv->current;
2995 #line 475 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
2996 _tmp5_ = self->priv->end;
2997 #line 475 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
2998 if (_tmp4_ >= _tmp5_) {
2999 #line 476 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
3000 type = TRACKER_SPARQL_TOKEN_TYPE_EOF;
3001 #line 3002 "tracker-sparql-scanner.c"
3002 } else {
3003 gchar* _tmp6_;
3004 gchar _tmp7_;
3005 gboolean _tmp8_ = FALSE;
3006 #line 477 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
3007 _tmp6_ = self->priv->current;
3008 #line 477 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
3009 _tmp7_ = _tmp6_[0];
3010 #line 477 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
3011 _tmp8_ = g_ascii_isalpha (_tmp7_);
3012 #line 477 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
3013 if (_tmp8_) {
3014 #line 3015 "tracker-sparql-scanner.c"
3015 gint len;
3016 gchar* _tmp18_;
3017 gint _tmp19_;
3018 TrackerSparqlTokenType _tmp20_ = 0;
3019 #line 479 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
3020 len = 0;
3021 #line 480 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
3022 while (TRUE) {
3023 #line 3024 "tracker-sparql-scanner.c"
3024 gboolean _tmp9_ = FALSE;
3025 gchar* _tmp10_;
3026 gchar* _tmp11_;
3027 gboolean _tmp15_;
3028 gchar* _tmp16_;
3029 gint _tmp17_;
3030 #line 480 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
3031 _tmp10_ = self->priv->current;
3032 #line 480 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
3033 _tmp11_ = self->priv->end;
3034 #line 480 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
3035 if (_tmp10_ < _tmp11_) {
3036 #line 3037 "tracker-sparql-scanner.c"
3037 gchar* _tmp12_;
3038 gchar _tmp13_;
3039 gboolean _tmp14_ = FALSE;
3040 #line 480 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
3041 _tmp12_ = self->priv->current;
3042 #line 480 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
3043 _tmp13_ = _tmp12_[0];
3044 #line 480 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
3045 _tmp14_ = tracker_sparql_scanner_is_pn_char (self, _tmp13_);
3046 #line 480 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
3047 _tmp9_ = _tmp14_;
3048 #line 3049 "tracker-sparql-scanner.c"
3049 } else {
3050 #line 480 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
3051 _tmp9_ = FALSE;
3052 #line 3053 "tracker-sparql-scanner.c"
3053 }
3054 #line 480 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
3055 _tmp15_ = _tmp9_;
3056 #line 480 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
3057 if (!_tmp15_) {
3058 #line 480 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
3059 break;
3060 #line 3061 "tracker-sparql-scanner.c"
3061 }
3062 #line 481 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
3063 _tmp16_ = self->priv->current;
3064 #line 481 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
3065 self->priv->current = _tmp16_ + 1;
3066 #line 482 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
3067 _tmp17_ = len;
3068 #line 482 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
3069 len = _tmp17_ + 1;
3070 #line 3071 "tracker-sparql-scanner.c"
3071 }
3072 #line 484 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
3073 _tmp18_ = begin;
3074 #line 484 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
3075 _tmp19_ = len;
3076 #line 484 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
3077 _tmp20_ = tracker_sparql_scanner_get_identifier_or_keyword (self, _tmp18_, _tmp19_);
3078 #line 484 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
3079 type = _tmp20_;
3080 #line 3081 "tracker-sparql-scanner.c"
3081 } else {
3082 gchar* _tmp21_;
3083 gchar _tmp22_;
3084 gboolean _tmp23_ = FALSE;
3085 #line 485 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
3086 _tmp21_ = self->priv->current;
3087 #line 485 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
3088 _tmp22_ = _tmp21_[0];
3089 #line 485 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
3090 _tmp23_ = g_ascii_isdigit (_tmp22_);
3091 #line 485 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
3092 if (_tmp23_) {
3093 #line 3094 "tracker-sparql-scanner.c"
3094 TrackerSparqlTokenType _tmp24_ = 0;
3095 #line 486 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
3096 _tmp24_ = tracker_sparql_scanner_read_number (self);
3097 #line 486 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
3098 type = _tmp24_;
3099 #line 3100 "tracker-sparql-scanner.c"
3100 } else {
3101 gchar* _tmp25_;
3102 gchar _tmp26_;
3103 #line 488 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
3104 _tmp25_ = self->priv->current;
3105 #line 488 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
3106 _tmp26_ = _tmp25_[0];
3107 #line 488 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
3108 switch (_tmp26_) {
3109 #line 488 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
3110 case '{':
3111 #line 3112 "tracker-sparql-scanner.c"
3112 {
3113 gchar* _tmp27_;
3114 #line 490 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
3115 type = TRACKER_SPARQL_TOKEN_TYPE_OPEN_BRACE;
3116 #line 491 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
3117 _tmp27_ = self->priv->current;
3118 #line 491 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
3119 self->priv->current = _tmp27_ + 1;
3120 #line 492 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
3121 break;
3122 #line 3123 "tracker-sparql-scanner.c"
3123 }
3124 #line 488 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
3125 case '}':
3126 #line 3127 "tracker-sparql-scanner.c"
3127 {
3128 gchar* _tmp28_;
3129 #line 494 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
3130 type = TRACKER_SPARQL_TOKEN_TYPE_CLOSE_BRACE;
3131 #line 495 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
3132 _tmp28_ = self->priv->current;
3133 #line 495 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
3134 self->priv->current = _tmp28_ + 1;
3135 #line 496 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
3136 break;
3137 #line 3138 "tracker-sparql-scanner.c"
3138 }
3139 #line 488 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
3140 case '(':
3141 #line 3142 "tracker-sparql-scanner.c"
3142 {
3143 gchar* _tmp29_;
3144 #line 498 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
3145 type = TRACKER_SPARQL_TOKEN_TYPE_OPEN_PARENS;
3146 #line 499 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
3147 _tmp29_ = self->priv->current;
3148 #line 499 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
3149 self->priv->current = _tmp29_ + 1;
3150 #line 500 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
3151 break;
3152 #line 3153 "tracker-sparql-scanner.c"
3153 }
3154 #line 488 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
3155 case ')':
3156 #line 3157 "tracker-sparql-scanner.c"
3157 {
3158 gchar* _tmp30_;
3159 #line 502 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
3160 type = TRACKER_SPARQL_TOKEN_TYPE_CLOSE_PARENS;
3161 #line 503 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
3162 _tmp30_ = self->priv->current;
3163 #line 503 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
3164 self->priv->current = _tmp30_ + 1;
3165 #line 504 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
3166 break;
3167 #line 3168 "tracker-sparql-scanner.c"
3168 }
3169 #line 488 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
3170 case '[':
3171 #line 3172 "tracker-sparql-scanner.c"
3172 {
3173 gchar* _tmp31_;
3174 #line 506 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
3175 type = TRACKER_SPARQL_TOKEN_TYPE_OPEN_BRACKET;
3176 #line 507 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
3177 _tmp31_ = self->priv->current;
3178 #line 507 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
3179 self->priv->current = _tmp31_ + 1;
3180 #line 508 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
3181 break;
3182 #line 3183 "tracker-sparql-scanner.c"
3183 }
3184 #line 488 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
3185 case ']':
3186 #line 3187 "tracker-sparql-scanner.c"
3187 {
3188 gchar* _tmp32_;
3189 #line 510 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
3190 type = TRACKER_SPARQL_TOKEN_TYPE_CLOSE_BRACKET;
3191 #line 511 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
3192 _tmp32_ = self->priv->current;
3193 #line 511 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
3194 self->priv->current = _tmp32_ + 1;
3195 #line 512 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
3196 break;
3197 #line 3198 "tracker-sparql-scanner.c"
3198 }
3199 #line 488 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
3200 case '.':
3201 #line 3202 "tracker-sparql-scanner.c"
3202 {
3203 gchar* _tmp33_;
3204 #line 514 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
3205 type = TRACKER_SPARQL_TOKEN_TYPE_DOT;
3206 #line 515 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
3207 _tmp33_ = self->priv->current;
3208 #line 515 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
3209 self->priv->current = _tmp33_ + 1;
3210 #line 516 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
3211 break;
3212 #line 3213 "tracker-sparql-scanner.c"
3213 }
3214 #line 488 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
3215 case ':':
3216 #line 3217 "tracker-sparql-scanner.c"
3217 {
3218 gchar* _tmp34_;
3219 gchar* _tmp43_;
3220 gchar _tmp44_;
3221 #line 518 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
3222 type = TRACKER_SPARQL_TOKEN_TYPE_COLON;
3223 #line 519 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
3224 _tmp34_ = self->priv->current;
3225 #line 519 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
3226 self->priv->current = _tmp34_ + 1;
3227 #line 520 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
3228 while (TRUE) {
3229 #line 3230 "tracker-sparql-scanner.c"
3230 gboolean _tmp35_ = FALSE;
3231 gchar* _tmp36_;
3232 gchar* _tmp37_;
3233 gboolean _tmp41_;
3234 gchar* _tmp42_;
3235 #line 520 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
3236 _tmp36_ = self->priv->current;
3237 #line 520 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
3238 _tmp37_ = self->priv->end;
3239 #line 520 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
3240 if (_tmp36_ < _tmp37_) {
3241 #line 3242 "tracker-sparql-scanner.c"
3242 gchar* _tmp38_;
3243 gchar _tmp39_;
3244 gboolean _tmp40_ = FALSE;
3245 #line 520 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
3246 _tmp38_ = self->priv->current;
3247 #line 520 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
3248 _tmp39_ = _tmp38_[0];
3249 #line 520 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
3250 _tmp40_ = tracker_sparql_scanner_is_pn_local_char (self, _tmp39_);
3251 #line 520 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
3252 _tmp35_ = _tmp40_;
3253 #line 3254 "tracker-sparql-scanner.c"
3254 } else {
3255 #line 520 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
3256 _tmp35_ = FALSE;
3257 #line 3258 "tracker-sparql-scanner.c"
3258 }
3259 #line 520 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
3260 _tmp41_ = _tmp35_;
3261 #line 520 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
3262 if (!_tmp41_) {
3263 #line 520 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
3264 break;
3265 #line 3266 "tracker-sparql-scanner.c"
3266 }
3267 #line 521 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
3268 _tmp42_ = self->priv->current;
3269 #line 521 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
3270 self->priv->current = _tmp42_ + 1;
3271 #line 3272 "tracker-sparql-scanner.c"
3272 }
3273 #line 523 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
3274 _tmp43_ = self->priv->current;
3275 #line 523 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
3276 _tmp44_ = _tmp43_[-1];
3277 #line 523 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
3278 if (_tmp44_ == '.') {
3279 #line 3280 "tracker-sparql-scanner.c"
3280 gchar* _tmp45_;
3281 #line 525 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
3282 _tmp45_ = self->priv->current;
3283 #line 525 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
3284 self->priv->current = _tmp45_ - 1;
3285 #line 3286 "tracker-sparql-scanner.c"
3286 }
3287 #line 527 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
3288 break;
3289 #line 3290 "tracker-sparql-scanner.c"
3290 }
3291 #line 488 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
3292 case ',':
3293 #line 3294 "tracker-sparql-scanner.c"
3294 {
3295 gchar* _tmp46_;
3296 #line 529 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
3297 type = TRACKER_SPARQL_TOKEN_TYPE_COMMA;
3298 #line 530 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
3299 _tmp46_ = self->priv->current;
3300 #line 530 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
3301 self->priv->current = _tmp46_ + 1;
3302 #line 531 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
3303 break;
3304 #line 3305 "tracker-sparql-scanner.c"
3305 }
3306 #line 488 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
3307 case ';':
3308 #line 3309 "tracker-sparql-scanner.c"
3309 {
3310 gchar* _tmp47_;
3311 #line 533 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
3312 type = TRACKER_SPARQL_TOKEN_TYPE_SEMICOLON;
3313 #line 534 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
3314 _tmp47_ = self->priv->current;
3315 #line 534 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
3316 self->priv->current = _tmp47_ + 1;
3317 #line 535 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
3318 break;
3319 #line 3320 "tracker-sparql-scanner.c"
3320 }
3321 #line 488 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
3322 case '?':
3323 #line 488 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
3324 case '$':
3325 #line 3326 "tracker-sparql-scanner.c"
3326 {
3327 gchar* _tmp48_;
3328 #line 538 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
3329 type = TRACKER_SPARQL_TOKEN_TYPE_NONE;
3330 #line 539 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
3331 _tmp48_ = self->priv->current;
3332 #line 539 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
3333 self->priv->current = _tmp48_ + 1;
3334 #line 540 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
3335 while (TRUE) {
3336 #line 3337 "tracker-sparql-scanner.c"
3337 gboolean _tmp49_ = FALSE;
3338 gchar* _tmp50_;
3339 gchar* _tmp51_;
3340 gboolean _tmp55_;
3341 gchar* _tmp56_;
3342 #line 540 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
3343 _tmp50_ = self->priv->current;
3344 #line 540 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
3345 _tmp51_ = self->priv->end;
3346 #line 540 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
3347 if (_tmp50_ < _tmp51_) {
3348 #line 3349 "tracker-sparql-scanner.c"
3349 gchar* _tmp52_;
3350 gchar _tmp53_;
3351 gboolean _tmp54_ = FALSE;
3352 #line 540 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
3353 _tmp52_ = self->priv->current;
3354 #line 540 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
3355 _tmp53_ = _tmp52_[0];
3356 #line 540 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
3357 _tmp54_ = tracker_sparql_scanner_is_varname_char (self, _tmp53_);
3358 #line 540 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
3359 _tmp49_ = _tmp54_;
3360 #line 3361 "tracker-sparql-scanner.c"
3361 } else {
3362 #line 540 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
3363 _tmp49_ = FALSE;
3364 #line 3365 "tracker-sparql-scanner.c"
3365 }
3366 #line 540 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
3367 _tmp55_ = _tmp49_;
3368 #line 540 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
3369 if (!_tmp55_) {
3370 #line 540 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
3371 break;
3372 #line 3373 "tracker-sparql-scanner.c"
3373 }
3374 #line 541 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
3375 type = TRACKER_SPARQL_TOKEN_TYPE_VAR;
3376 #line 542 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
3377 _tmp56_ = self->priv->current;
3378 #line 542 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
3379 self->priv->current = _tmp56_ + 1;
3380 #line 3381 "tracker-sparql-scanner.c"
3381 }
3382 #line 544 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
3383 break;
3384 #line 3385 "tracker-sparql-scanner.c"
3385 }
3386 #line 488 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
3387 case '@':
3388 #line 3389 "tracker-sparql-scanner.c"
3389 {
3390 gchar* _tmp57_;
3391 gboolean _tmp58_ = FALSE;
3392 gchar* _tmp59_;
3393 gchar* _tmp60_;
3394 gint _tmp61_;
3395 gint _tmp62_;
3396 gboolean _tmp65_;
3397 #line 546 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
3398 type = TRACKER_SPARQL_TOKEN_TYPE_NONE;
3399 #line 547 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
3400 _tmp57_ = self->priv->current;
3401 #line 547 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
3402 self->priv->current = _tmp57_ + 1;
3403 #line 548 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
3404 _tmp59_ = self->priv->current;
3405 #line 548 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
3406 _tmp60_ = self->priv->end;
3407 #line 548 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
3408 _tmp61_ = strlen ("prefix");
3409 #line 548 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
3410 _tmp62_ = _tmp61_;
3411 #line 548 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
3412 if (_tmp59_ < (_tmp60_ - _tmp62_)) {
3413 #line 3414 "tracker-sparql-scanner.c"
3414 gchar* _tmp63_;
3415 gboolean _tmp64_ = FALSE;
3416 #line 548 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
3417 _tmp63_ = self->priv->current;
3418 #line 548 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
3419 _tmp64_ = tracker_sparql_scanner_matches (self, _tmp63_, "PREFIX");
3420 #line 548 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
3421 _tmp58_ = _tmp64_;
3422 #line 3423 "tracker-sparql-scanner.c"
3423 } else {
3424 #line 548 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
3425 _tmp58_ = FALSE;
3426 #line 3427 "tracker-sparql-scanner.c"
3427 }
3428 #line 548 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
3429 _tmp65_ = _tmp58_;
3430 #line 548 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
3431 if (_tmp65_) {
3432 #line 3433 "tracker-sparql-scanner.c"
3433 gchar* _tmp66_;
3434 gint _tmp67_;
3435 gint _tmp68_;
3436 #line 549 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
3437 type = TRACKER_SPARQL_TOKEN_TYPE_ATPREFIX;
3438 #line 550 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
3439 _tmp66_ = self->priv->current;
3440 #line 550 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
3441 _tmp67_ = strlen ("prefix");
3442 #line 550 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
3443 _tmp68_ = _tmp67_;
3444 #line 550 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
3445 self->priv->current = _tmp66_ + _tmp68_;
3446 #line 3447 "tracker-sparql-scanner.c"
3447 } else {
3448 gboolean _tmp69_ = FALSE;
3449 gchar* _tmp70_;
3450 gchar* _tmp71_;
3451 gint _tmp72_;
3452 gint _tmp73_;
3453 gboolean _tmp76_;
3454 #line 551 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
3455 _tmp70_ = self->priv->current;
3456 #line 551 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
3457 _tmp71_ = self->priv->end;
3458 #line 551 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
3459 _tmp72_ = strlen ("base");
3460 #line 551 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
3461 _tmp73_ = _tmp72_;
3462 #line 551 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
3463 if (_tmp70_ < (_tmp71_ - _tmp73_)) {
3464 #line 3465 "tracker-sparql-scanner.c"
3465 gchar* _tmp74_;
3466 gboolean _tmp75_ = FALSE;
3467 #line 551 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
3468 _tmp74_ = self->priv->current;
3469 #line 551 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
3470 _tmp75_ = tracker_sparql_scanner_matches (self, _tmp74_, "BASE");
3471 #line 551 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
3472 _tmp69_ = _tmp75_;
3473 #line 3474 "tracker-sparql-scanner.c"
3474 } else {
3475 #line 551 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
3476 _tmp69_ = FALSE;
3477 #line 3478 "tracker-sparql-scanner.c"
3478 }
3479 #line 551 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
3480 _tmp76_ = _tmp69_;
3481 #line 551 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
3482 if (_tmp76_) {
3483 #line 3484 "tracker-sparql-scanner.c"
3484 gchar* _tmp77_;
3485 gint _tmp78_;
3486 gint _tmp79_;
3487 #line 552 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
3488 type = TRACKER_SPARQL_TOKEN_TYPE_ATBASE;
3489 #line 553 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
3490 _tmp77_ = self->priv->current;
3491 #line 553 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
3492 _tmp78_ = strlen ("base");
3493 #line 553 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
3494 _tmp79_ = _tmp78_;
3495 #line 553 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
3496 self->priv->current = _tmp77_ + _tmp79_;
3497 #line 3498 "tracker-sparql-scanner.c"
3498 }
3499 }
3500 #line 555 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
3501 break;
3502 #line 3503 "tracker-sparql-scanner.c"
3503 }
3504 #line 488 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
3505 case '|':
3506 #line 3507 "tracker-sparql-scanner.c"
3507 {
3508 gchar* _tmp80_;
3509 gchar* _tmp81_;
3510 gchar* _tmp82_;
3511 #line 557 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
3512 type = TRACKER_SPARQL_TOKEN_TYPE_NONE;
3513 #line 558 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
3514 _tmp80_ = self->priv->current;
3515 #line 558 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
3516 self->priv->current = _tmp80_ + 1;
3517 #line 559 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
3518 _tmp81_ = self->priv->current;
3519 #line 559 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
3520 _tmp82_ = self->priv->end;
3521 #line 559 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
3522 if (_tmp81_ < _tmp82_) {
3523 #line 3524 "tracker-sparql-scanner.c"
3524 gchar* _tmp83_;
3525 gchar _tmp84_;
3526 #line 560 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
3527 _tmp83_ = self->priv->current;
3528 #line 560 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
3529 _tmp84_ = _tmp83_[0];
3530 #line 560 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
3531 switch (_tmp84_) {
3532 #line 560 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
3533 case '|':
3534 #line 3535 "tracker-sparql-scanner.c"
3535 {
3536 gchar* _tmp85_;
3537 #line 562 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
3538 type = TRACKER_SPARQL_TOKEN_TYPE_OP_OR;
3539 #line 563 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
3540 _tmp85_ = self->priv->current;
3541 #line 563 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
3542 self->priv->current = _tmp85_ + 1;
3543 #line 564 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
3544 break;
3545 #line 3546 "tracker-sparql-scanner.c"
3546 }
3547 default:
3548 #line 560 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
3549 break;
3550 #line 3551 "tracker-sparql-scanner.c"
3551 }
3552 }
3553 #line 567 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
3554 break;
3555 #line 3556 "tracker-sparql-scanner.c"
3556 }
3557 #line 488 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
3558 case '&':
3559 #line 3560 "tracker-sparql-scanner.c"
3560 {
3561 gchar* _tmp86_;
3562 gchar* _tmp87_;
3563 gchar* _tmp88_;
3564 #line 569 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
3565 type = TRACKER_SPARQL_TOKEN_TYPE_NONE;
3566 #line 570 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
3567 _tmp86_ = self->priv->current;
3568 #line 570 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
3569 self->priv->current = _tmp86_ + 1;
3570 #line 571 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
3571 _tmp87_ = self->priv->current;
3572 #line 571 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
3573 _tmp88_ = self->priv->end;
3574 #line 571 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
3575 if (_tmp87_ < _tmp88_) {
3576 #line 3577 "tracker-sparql-scanner.c"
3577 gchar* _tmp89_;
3578 gchar _tmp90_;
3579 #line 572 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
3580 _tmp89_ = self->priv->current;
3581 #line 572 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
3582 _tmp90_ = _tmp89_[0];
3583 #line 572 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
3584 switch (_tmp90_) {
3585 #line 572 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
3586 case '&':
3587 #line 3588 "tracker-sparql-scanner.c"
3588 {
3589 gchar* _tmp91_;
3590 #line 574 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
3591 type = TRACKER_SPARQL_TOKEN_TYPE_OP_AND;
3592 #line 575 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
3593 _tmp91_ = self->priv->current;
3594 #line 575 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
3595 self->priv->current = _tmp91_ + 1;
3596 #line 576 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
3597 break;
3598 #line 3599 "tracker-sparql-scanner.c"
3599 }
3600 default:
3601 #line 572 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
3602 break;
3603 #line 3604 "tracker-sparql-scanner.c"
3604 }
3605 }
3606 #line 579 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
3607 break;
3608 #line 3609 "tracker-sparql-scanner.c"
3609 }
3610 #line 488 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
3611 case '=':
3612 #line 3613 "tracker-sparql-scanner.c"
3613 {
3614 gchar* _tmp92_;
3615 #line 581 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
3616 type = TRACKER_SPARQL_TOKEN_TYPE_OP_EQ;
3617 #line 582 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
3618 _tmp92_ = self->priv->current;
3619 #line 582 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
3620 self->priv->current = _tmp92_ + 1;
3621 #line 583 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
3622 break;
3623 #line 3624 "tracker-sparql-scanner.c"
3624 }
3625 #line 488 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
3626 case '<':
3627 #line 3628 "tracker-sparql-scanner.c"
3628 {
3629 gchar* _tmp93_;
3630 gchar* _tmp94_;
3631 gchar* _tmp95_;
3632 #line 585 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
3633 type = TRACKER_SPARQL_TOKEN_TYPE_OP_LT;
3634 #line 586 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
3635 _tmp93_ = self->priv->current;
3636 #line 586 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
3637 self->priv->current = _tmp93_ + 1;
3638 #line 587 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
3639 _tmp94_ = self->priv->current;
3640 #line 587 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
3641 _tmp95_ = self->priv->end;
3642 #line 587 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
3643 if (_tmp94_ < _tmp95_) {
3644 #line 3645 "tracker-sparql-scanner.c"
3645 gboolean _tmp111_ = FALSE;
3646 gchar* _tmp112_;
3647 gchar* _tmp113_;
3648 gboolean _tmp116_;
3649 gchar* _tmp119_;
3650 gchar _tmp120_;
3651 #line 589 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
3652 while (TRUE) {
3653 #line 3654 "tracker-sparql-scanner.c"
3654 gboolean _tmp96_ = FALSE;
3655 gchar* _tmp97_;
3656 gchar* _tmp98_;
3657 gboolean _tmp101_;
3658 gboolean _tmp102_ = FALSE;
3659 gchar* _tmp103_;
3660 gchar _tmp104_;
3661 gboolean _tmp107_;
3662 gchar* _tmp108_;
3663 gchar _tmp109_;
3664 #line 589 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
3665 _tmp97_ = self->priv->current;
3666 #line 589 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
3667 _tmp98_ = self->priv->end;
3668 #line 589 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
3669 if (_tmp97_ < _tmp98_) {
3670 #line 3671 "tracker-sparql-scanner.c"
3671 gchar* _tmp99_;
3672 gchar _tmp100_;
3673 #line 589 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
3674 _tmp99_ = self->priv->current;
3675 #line 589 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
3676 _tmp100_ = _tmp99_[0];
3677 #line 589 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
3678 _tmp96_ = _tmp100_ != '>';
3679 #line 3680 "tracker-sparql-scanner.c"
3680 } else {
3681 #line 589 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
3682 _tmp96_ = FALSE;
3683 #line 3684 "tracker-sparql-scanner.c"
3684 }
3685 #line 589 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
3686 _tmp101_ = _tmp96_;
3687 #line 589 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
3688 if (!_tmp101_) {
3689 #line 589 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
3690 break;
3691 #line 3692 "tracker-sparql-scanner.c"
3692 }
3693 #line 590 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
3694 _tmp103_ = self->priv->current;
3695 #line 590 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
3696 _tmp104_ = _tmp103_[0];
3697 #line 590 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
3698 if (((gint) _tmp104_) >= 0x00) {
3699 #line 3700 "tracker-sparql-scanner.c"
3700 gchar* _tmp105_;
3701 gchar _tmp106_;
3702 #line 590 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
3703 _tmp105_ = self->priv->current;
3704 #line 590 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
3705 _tmp106_ = _tmp105_[0];
3706 #line 590 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
3707 _tmp102_ = ((gint) _tmp106_) < 0x20;
3708 #line 3709 "tracker-sparql-scanner.c"
3709 } else {
3710 #line 590 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
3711 _tmp102_ = FALSE;
3712 #line 3713 "tracker-sparql-scanner.c"
3713 }
3714 #line 590 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
3715 _tmp107_ = _tmp102_;
3716 #line 590 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
3717 if (_tmp107_) {
3718 #line 592 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
3719 break;
3720 #line 3721 "tracker-sparql-scanner.c"
3721 }
3722 #line 594 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
3723 _tmp108_ = self->priv->current;
3724 #line 594 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
3725 _tmp109_ = _tmp108_[0];
3726 #line 594 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
3727 switch (_tmp109_) {
3728 #line 594 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
3729 case '<':
3730 #line 594 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
3731 case '>':
3732 #line 594 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
3733 case '"':
3734 #line 594 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
3735 case ' ':
3736 #line 594 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
3737 case '{':
3738 #line 594 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
3739 case '}':
3740 #line 594 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
3741 case '|':
3742 #line 594 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
3743 case '^':
3744 #line 594 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
3745 case '`':
3746 #line 594 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
3747 case '\\':
3748 #line 3749 "tracker-sparql-scanner.c"
3749 {
3750 #line 606 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
3751 break;
3752 #line 3753 "tracker-sparql-scanner.c"
3753 }
3754 default:
3755 {
3756 gchar* _tmp110_;
3757 #line 608 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
3758 _tmp110_ = self->priv->current;
3759 #line 608 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
3760 self->priv->current = _tmp110_ + 1;
3761 #line 609 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
3762 continue;
3763 #line 3764 "tracker-sparql-scanner.c"
3764 }
3765 }
3766 #line 611 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
3767 break;
3768 #line 3769 "tracker-sparql-scanner.c"
3769 }
3770 #line 613 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
3771 _tmp112_ = self->priv->current;
3772 #line 613 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
3773 _tmp113_ = self->priv->end;
3774 #line 613 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
3775 if (_tmp112_ < _tmp113_) {
3776 #line 3777 "tracker-sparql-scanner.c"
3777 gchar* _tmp114_;
3778 gchar _tmp115_;
3779 #line 613 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
3780 _tmp114_ = self->priv->current;
3781 #line 613 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
3782 _tmp115_ = _tmp114_[0];
3783 #line 613 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
3784 _tmp111_ = _tmp115_ == '>';
3785 #line 3786 "tracker-sparql-scanner.c"
3786 } else {
3787 #line 613 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
3788 _tmp111_ = FALSE;
3789 #line 3790 "tracker-sparql-scanner.c"
3790 }
3791 #line 613 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
3792 _tmp116_ = _tmp111_;
3793 #line 613 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
3794 if (_tmp116_) {
3795 #line 3796 "tracker-sparql-scanner.c"
3796 gchar* _tmp117_;
3797 #line 614 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
3798 type = TRACKER_SPARQL_TOKEN_TYPE_IRI_REF;
3799 #line 615 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
3800 _tmp117_ = self->priv->current;
3801 #line 615 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
3802 self->priv->current = _tmp117_ + 1;
3803 #line 616 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
3804 break;
3805 #line 3806 "tracker-sparql-scanner.c"
3806 } else {
3807 gchar* _tmp118_;
3808 #line 618 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
3809 _tmp118_ = begin;
3810 #line 618 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
3811 self->priv->current = _tmp118_ + 1;
3812 #line 3813 "tracker-sparql-scanner.c"
3813 }
3814 #line 620 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
3815 _tmp119_ = self->priv->current;
3816 #line 620 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
3817 _tmp120_ = _tmp119_[0];
3818 #line 620 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
3819 switch (_tmp120_) {
3820 #line 620 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
3821 case '=':
3822 #line 3823 "tracker-sparql-scanner.c"
3823 {
3824 gchar* _tmp121_;
3825 #line 622 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
3826 type = TRACKER_SPARQL_TOKEN_TYPE_OP_LE;
3827 #line 623 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
3828 _tmp121_ = self->priv->current;
3829 #line 623 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
3830 self->priv->current = _tmp121_ + 1;
3831 #line 624 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
3832 break;
3833 #line 3834 "tracker-sparql-scanner.c"
3834 }
3835 default:
3836 #line 620 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
3837 break;
3838 #line 3839 "tracker-sparql-scanner.c"
3839 }
3840 }
3841 #line 627 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
3842 break;
3843 #line 3844 "tracker-sparql-scanner.c"
3844 }
3845 #line 488 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
3846 case '>':
3847 #line 3848 "tracker-sparql-scanner.c"
3848 {
3849 gchar* _tmp122_;
3850 gboolean _tmp123_ = FALSE;
3851 gchar* _tmp124_;
3852 gchar* _tmp125_;
3853 gboolean _tmp128_;
3854 #line 629 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
3855 type = TRACKER_SPARQL_TOKEN_TYPE_OP_GT;
3856 #line 630 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
3857 _tmp122_ = self->priv->current;
3858 #line 630 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
3859 self->priv->current = _tmp122_ + 1;
3860 #line 631 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
3861 _tmp124_ = self->priv->current;
3862 #line 631 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
3863 _tmp125_ = self->priv->end;
3864 #line 631 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
3865 if (_tmp124_ < _tmp125_) {
3866 #line 3867 "tracker-sparql-scanner.c"
3867 gchar* _tmp126_;
3868 gchar _tmp127_;
3869 #line 631 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
3870 _tmp126_ = self->priv->current;
3871 #line 631 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
3872 _tmp127_ = _tmp126_[0];
3873 #line 631 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
3874 _tmp123_ = _tmp127_ == '=';
3875 #line 3876 "tracker-sparql-scanner.c"
3876 } else {
3877 #line 631 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
3878 _tmp123_ = FALSE;
3879 #line 3880 "tracker-sparql-scanner.c"
3880 }
3881 #line 631 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
3882 _tmp128_ = _tmp123_;
3883 #line 631 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
3884 if (_tmp128_) {
3885 #line 3886 "tracker-sparql-scanner.c"
3886 gchar* _tmp129_;
3887 #line 632 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
3888 type = TRACKER_SPARQL_TOKEN_TYPE_OP_GE;
3889 #line 633 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
3890 _tmp129_ = self->priv->current;
3891 #line 633 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
3892 self->priv->current = _tmp129_ + 1;
3893 #line 3894 "tracker-sparql-scanner.c"
3894 }
3895 #line 635 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
3896 break;
3897 #line 3898 "tracker-sparql-scanner.c"
3898 }
3899 #line 488 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
3900 case '!':
3901 #line 3902 "tracker-sparql-scanner.c"
3902 {
3903 gchar* _tmp130_;
3904 gboolean _tmp131_ = FALSE;
3905 gchar* _tmp132_;
3906 gchar* _tmp133_;
3907 gboolean _tmp136_;
3908 #line 637 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
3909 type = TRACKER_SPARQL_TOKEN_TYPE_OP_NEG;
3910 #line 638 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
3911 _tmp130_ = self->priv->current;
3912 #line 638 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
3913 self->priv->current = _tmp130_ + 1;
3914 #line 639 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
3915 _tmp132_ = self->priv->current;
3916 #line 639 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
3917 _tmp133_ = self->priv->end;
3918 #line 639 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
3919 if (_tmp132_ < _tmp133_) {
3920 #line 3921 "tracker-sparql-scanner.c"
3921 gchar* _tmp134_;
3922 gchar _tmp135_;
3923 #line 639 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
3924 _tmp134_ = self->priv->current;
3925 #line 639 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
3926 _tmp135_ = _tmp134_[0];
3927 #line 639 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
3928 _tmp131_ = _tmp135_ == '=';
3929 #line 3930 "tracker-sparql-scanner.c"
3930 } else {
3931 #line 639 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
3932 _tmp131_ = FALSE;
3933 #line 3934 "tracker-sparql-scanner.c"
3934 }
3935 #line 639 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
3936 _tmp136_ = _tmp131_;
3937 #line 639 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
3938 if (_tmp136_) {
3939 #line 3940 "tracker-sparql-scanner.c"
3940 gchar* _tmp137_;
3941 #line 640 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
3942 type = TRACKER_SPARQL_TOKEN_TYPE_OP_NE;
3943 #line 641 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
3944 _tmp137_ = self->priv->current;
3945 #line 641 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
3946 self->priv->current = _tmp137_ + 1;
3947 #line 3948 "tracker-sparql-scanner.c"
3948 }
3949 #line 643 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
3950 break;
3951 #line 3952 "tracker-sparql-scanner.c"
3952 }
3953 #line 488 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
3954 case '+':
3955 #line 3956 "tracker-sparql-scanner.c"
3956 {
3957 gchar* _tmp138_;
3958 #line 645 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
3959 type = TRACKER_SPARQL_TOKEN_TYPE_PLUS;
3960 #line 646 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
3961 _tmp138_ = self->priv->current;
3962 #line 646 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
3963 self->priv->current = _tmp138_ + 1;
3964 #line 647 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
3965 break;
3966 #line 3967 "tracker-sparql-scanner.c"
3967 }
3968 #line 488 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
3969 case '-':
3970 #line 3971 "tracker-sparql-scanner.c"
3971 {
3972 gchar* _tmp139_;
3973 #line 649 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
3974 type = TRACKER_SPARQL_TOKEN_TYPE_MINUS;
3975 #line 650 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
3976 _tmp139_ = self->priv->current;
3977 #line 650 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
3978 self->priv->current = _tmp139_ + 1;
3979 #line 651 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
3980 break;
3981 #line 3982 "tracker-sparql-scanner.c"
3982 }
3983 #line 488 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
3984 case '*':
3985 #line 3986 "tracker-sparql-scanner.c"
3986 {
3987 gchar* _tmp140_;
3988 #line 653 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
3989 type = TRACKER_SPARQL_TOKEN_TYPE_STAR;
3990 #line 654 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
3991 _tmp140_ = self->priv->current;
3992 #line 654 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
3993 self->priv->current = _tmp140_ + 1;
3994 #line 655 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
3995 break;
3996 #line 3997 "tracker-sparql-scanner.c"
3997 }
3998 #line 488 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
3999 case '/':
4000 #line 4001 "tracker-sparql-scanner.c"
4001 {
4002 gchar* _tmp141_;
4003 #line 657 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
4004 type = TRACKER_SPARQL_TOKEN_TYPE_DIV;
4005 #line 658 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
4006 _tmp141_ = self->priv->current;
4007 #line 658 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
4008 self->priv->current = _tmp141_ + 1;
4009 #line 659 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
4010 break;
4011 #line 4012 "tracker-sparql-scanner.c"
4012 }
4013 #line 488 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
4014 case '\'':
4015 #line 488 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
4016 case '"':
4017 #line 4018 "tracker-sparql-scanner.c"
4018 {
4019 gboolean _tmp142_ = FALSE;
4020 gboolean _tmp143_ = FALSE;
4021 gchar* _tmp144_;
4022 gchar* _tmp145_;
4023 gboolean _tmp150_;
4024 gboolean _tmp155_;
4025 gchar* _tmp219_;
4026 gchar _tmp220_;
4027 gchar* _tmp221_;
4028 gboolean _tmp283_ = FALSE;
4029 gchar* _tmp284_;
4030 gchar* _tmp285_;
4031 gboolean _tmp288_;
4032 #line 662 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
4033 _tmp144_ = self->priv->current;
4034 #line 662 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
4035 _tmp145_ = self->priv->end;
4036 #line 662 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
4037 if (_tmp144_ < (_tmp145_ - 6)) {
4038 #line 4039 "tracker-sparql-scanner.c"
4039 gchar* _tmp146_;
4040 gchar _tmp147_;
4041 gchar* _tmp148_;
4042 gchar _tmp149_;
4043 #line 662 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
4044 _tmp146_ = begin;
4045 #line 662 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
4046 _tmp147_ = _tmp146_[1];
4047 #line 662 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
4048 _tmp148_ = begin;
4049 #line 662 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
4050 _tmp149_ = _tmp148_[0];
4051 #line 662 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
4052 _tmp143_ = _tmp147_ == _tmp149_;
4053 #line 4054 "tracker-sparql-scanner.c"
4054 } else {
4055 #line 662 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
4056 _tmp143_ = FALSE;
4057 #line 4058 "tracker-sparql-scanner.c"
4058 }
4059 #line 662 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
4060 _tmp150_ = _tmp143_;
4061 #line 662 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
4062 if (_tmp150_) {
4063 #line 4064 "tracker-sparql-scanner.c"
4064 gchar* _tmp151_;
4065 gchar _tmp152_;
4066 gchar* _tmp153_;
4067 gchar _tmp154_;
4068 #line 662 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
4069 _tmp151_ = begin;
4070 #line 662 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
4071 _tmp152_ = _tmp151_[2];
4072 #line 662 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
4073 _tmp153_ = begin;
4074 #line 662 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
4075 _tmp154_ = _tmp153_[0];
4076 #line 662 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
4077 _tmp142_ = _tmp152_ == _tmp154_;
4078 #line 4079 "tracker-sparql-scanner.c"
4079 } else {
4080 #line 662 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
4081 _tmp142_ = FALSE;
4082 #line 4083 "tracker-sparql-scanner.c"
4083 }
4084 #line 662 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
4085 _tmp155_ = _tmp142_;
4086 #line 662 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
4087 if (_tmp155_) {
4088 #line 4089 "tracker-sparql-scanner.c"
4089 gchar* _tmp156_;
4090 gchar _tmp157_;
4091 gchar* _tmp158_;
4092 gboolean _tmp198_ = FALSE;
4093 gboolean _tmp199_ = FALSE;
4094 gchar* _tmp200_;
4095 gchar _tmp201_;
4096 gchar* _tmp202_;
4097 gchar _tmp203_;
4098 gboolean _tmp208_;
4099 gboolean _tmp213_;
4100 #line 663 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
4101 _tmp156_ = begin;
4102 #line 663 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
4103 _tmp157_ = _tmp156_[0];
4104 #line 663 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
4105 if (_tmp157_ == '\'') {
4106 #line 664 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
4107 type = TRACKER_SPARQL_TOKEN_TYPE_STRING_LITERAL_LONG1;
4108 #line 4109 "tracker-sparql-scanner.c"
4109 } else {
4110 #line 666 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
4111 type = TRACKER_SPARQL_TOKEN_TYPE_STRING_LITERAL_LONG2;
4112 #line 4113 "tracker-sparql-scanner.c"
4113 }
4114 #line 669 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
4115 token_length_in_chars = 6;
4116 #line 670 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
4117 _tmp158_ = self->priv->current;
4118 #line 670 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
4119 self->priv->current = _tmp158_ + 3;
4120 #line 671 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
4121 while (TRUE) {
4122 #line 4123 "tracker-sparql-scanner.c"
4123 gchar* _tmp159_;
4124 gchar* _tmp160_;
4125 gboolean _tmp161_ = FALSE;
4126 gboolean _tmp162_ = FALSE;
4127 gchar* _tmp163_;
4128 gchar _tmp164_;
4129 gchar* _tmp165_;
4130 gchar _tmp166_;
4131 gboolean _tmp171_;
4132 gboolean _tmp176_;
4133 #line 671 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
4134 _tmp159_ = self->priv->current;
4135 #line 671 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
4136 _tmp160_ = self->priv->end;
4137 #line 671 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
4138 if (!(_tmp159_ < (_tmp160_ - 4))) {
4139 #line 671 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
4140 break;
4141 #line 4142 "tracker-sparql-scanner.c"
4142 }
4143 #line 672 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
4144 _tmp163_ = self->priv->current;
4145 #line 672 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
4146 _tmp164_ = _tmp163_[0];
4147 #line 672 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
4148 _tmp165_ = begin;
4149 #line 672 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
4150 _tmp166_ = _tmp165_[0];
4151 #line 672 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
4152 if (_tmp164_ == _tmp166_) {
4153 #line 4154 "tracker-sparql-scanner.c"
4154 gchar* _tmp167_;
4155 gchar _tmp168_;
4156 gchar* _tmp169_;
4157 gchar _tmp170_;
4158 #line 672 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
4159 _tmp167_ = self->priv->current;
4160 #line 672 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
4161 _tmp168_ = _tmp167_[1];
4162 #line 672 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
4163 _tmp169_ = begin;
4164 #line 672 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
4165 _tmp170_ = _tmp169_[0];
4166 #line 672 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
4167 _tmp162_ = _tmp168_ == _tmp170_;
4168 #line 4169 "tracker-sparql-scanner.c"
4169 } else {
4170 #line 672 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
4171 _tmp162_ = FALSE;
4172 #line 4173 "tracker-sparql-scanner.c"
4173 }
4174 #line 672 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
4175 _tmp171_ = _tmp162_;
4176 #line 672 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
4177 if (_tmp171_) {
4178 #line 4179 "tracker-sparql-scanner.c"
4179 gchar* _tmp172_;
4180 gchar _tmp173_;
4181 gchar* _tmp174_;
4182 gchar _tmp175_;
4183 #line 672 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
4184 _tmp172_ = self->priv->current;
4185 #line 672 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
4186 _tmp173_ = _tmp172_[2];
4187 #line 672 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
4188 _tmp174_ = begin;
4189 #line 672 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
4190 _tmp175_ = _tmp174_[0];
4191 #line 672 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
4192 _tmp161_ = _tmp173_ == _tmp175_;
4193 #line 4194 "tracker-sparql-scanner.c"
4194 } else {
4195 #line 672 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
4196 _tmp161_ = FALSE;
4197 #line 4198 "tracker-sparql-scanner.c"
4198 }
4199 #line 672 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
4200 _tmp176_ = _tmp161_;
4201 #line 672 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
4202 if (_tmp176_) {
4203 #line 673 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
4204 break;
4205 #line 4206 "tracker-sparql-scanner.c"
4206 } else {
4207 gchar* _tmp177_;
4208 gchar _tmp178_;
4209 #line 674 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
4210 _tmp177_ = self->priv->current;
4211 #line 674 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
4212 _tmp178_ = _tmp177_[0];
4213 #line 674 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
4214 if (_tmp178_ == '\n') {
4215 #line 4216 "tracker-sparql-scanner.c"
4216 gchar* _tmp179_;
4217 gint _tmp180_;
4218 #line 675 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
4219 _tmp179_ = self->priv->current;
4220 #line 675 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
4221 self->priv->current = _tmp179_ + 1;
4222 #line 676 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
4223 _tmp180_ = self->priv->line;
4224 #line 676 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
4225 self->priv->line = _tmp180_ + 1;
4226 #line 677 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
4227 self->priv->column = 1;
4228 #line 678 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
4229 token_length_in_chars = 3;
4230 #line 4231 "tracker-sparql-scanner.c"
4231 } else {
4232 gchar* _tmp181_;
4233 gchar _tmp182_;
4234 #line 679 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
4235 _tmp181_ = self->priv->current;
4236 #line 679 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
4237 _tmp182_ = _tmp181_[0];
4238 #line 679 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
4239 if (((gint) ((guchar) _tmp182_)) <= 0x7f) {
4240 #line 4241 "tracker-sparql-scanner.c"
4241 gchar* _tmp183_;
4242 gint _tmp184_;
4243 #line 681 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
4244 _tmp183_ = self->priv->current;
4245 #line 681 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
4246 self->priv->current = _tmp183_ + 1;
4247 #line 682 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
4248 _tmp184_ = token_length_in_chars;
4249 #line 682 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
4250 token_length_in_chars = _tmp184_ + 1;
4251 #line 4252 "tracker-sparql-scanner.c"
4252 } else {
4253 gchar* _tmp185_;
4254 gchar* _tmp186_;
4255 gchar* _tmp187_;
4256 gunichar _tmp188_ = 0U;
4257 gunichar u;
4258 gunichar _tmp189_;
4259 #line 684 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
4260 _tmp185_ = self->priv->current;
4261 #line 684 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
4262 _tmp186_ = self->priv->end;
4263 #line 684 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
4264 _tmp187_ = self->priv->current;
4265 #line 684 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
4266 _tmp188_ = g_utf8_get_char_validated ((const gchar*) _tmp185_, (gssize) ((glong) (_tmp186_ - _tmp187_)));
4267 #line 684 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
4268 u = _tmp188_;
4269 #line 685 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
4270 _tmp189_ = u;
4271 #line 685 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
4272 if (_tmp189_ != ((gunichar) (-1))) {
4273 #line 4274 "tracker-sparql-scanner.c"
4274 gchar* _tmp190_;
4275 gunichar _tmp191_;
4276 gint _tmp192_ = 0;
4277 gint _tmp193_;
4278 #line 686 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
4279 _tmp190_ = self->priv->current;
4280 #line 686 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
4281 _tmp191_ = u;
4282 #line 686 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
4283 _tmp192_ = g_unichar_to_utf8 (_tmp191_, NULL);
4284 #line 686 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
4285 self->priv->current = _tmp190_ + _tmp192_;
4286 #line 687 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
4287 _tmp193_ = token_length_in_chars;
4288 #line 687 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
4289 token_length_in_chars = _tmp193_ + 1;
4290 #line 4291 "tracker-sparql-scanner.c"
4291 } else {
4292 gint _tmp194_;
4293 gint _tmp195_;
4294 gint _tmp196_;
4295 GError* _tmp197_;
4296 #line 689 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
4297 _tmp194_ = self->priv->line;
4298 #line 689 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
4299 _tmp195_ = self->priv->column;
4300 #line 689 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
4301 _tmp196_ = token_length_in_chars;
4302 #line 689 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
4303 _tmp197_ = g_error_new (TRACKER_SPARQL_ERROR, TRACKER_SPARQL_ERROR_PARSE, "%d.%d: invalid UTF-8 character", _tmp194_, _tmp195_ + _tmp196_);
4304 #line 689 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
4305 _inner_error_ = _tmp197_;
4306 #line 689 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
4307 if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
4308 #line 689 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
4309 g_propagate_error (error, _inner_error_);
4310 #line 689 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
4311 return 0;
4312 #line 4313 "tracker-sparql-scanner.c"
4313 } else {
4314 #line 689 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
4315 g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
4316 #line 689 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
4317 g_clear_error (&_inner_error_);
4318 #line 689 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
4319 return 0;
4320 #line 4321 "tracker-sparql-scanner.c"
4321 }
4322 }
4323 }
4324 }
4325 }
4326 }
4327 #line 693 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
4328 _tmp200_ = self->priv->current;
4329 #line 693 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
4330 _tmp201_ = _tmp200_[0];
4331 #line 693 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
4332 _tmp202_ = begin;
4333 #line 693 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
4334 _tmp203_ = _tmp202_[0];
4335 #line 693 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
4336 if (_tmp201_ == _tmp203_) {
4337 #line 4338 "tracker-sparql-scanner.c"
4338 gchar* _tmp204_;
4339 gchar _tmp205_;
4340 gchar* _tmp206_;
4341 gchar _tmp207_;
4342 #line 693 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
4343 _tmp204_ = self->priv->current;
4344 #line 693 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
4345 _tmp205_ = _tmp204_[1];
4346 #line 693 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
4347 _tmp206_ = begin;
4348 #line 693 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
4349 _tmp207_ = _tmp206_[0];
4350 #line 693 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
4351 _tmp199_ = _tmp205_ == _tmp207_;
4352 #line 4353 "tracker-sparql-scanner.c"
4353 } else {
4354 #line 693 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
4355 _tmp199_ = FALSE;
4356 #line 4357 "tracker-sparql-scanner.c"
4357 }
4358 #line 693 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
4359 _tmp208_ = _tmp199_;
4360 #line 693 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
4361 if (_tmp208_) {
4362 #line 4363 "tracker-sparql-scanner.c"
4363 gchar* _tmp209_;
4364 gchar _tmp210_;
4365 gchar* _tmp211_;
4366 gchar _tmp212_;
4367 #line 693 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
4368 _tmp209_ = self->priv->current;
4369 #line 693 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
4370 _tmp210_ = _tmp209_[2];
4371 #line 693 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
4372 _tmp211_ = begin;
4373 #line 693 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
4374 _tmp212_ = _tmp211_[0];
4375 #line 693 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
4376 _tmp198_ = _tmp210_ == _tmp212_;
4377 #line 4378 "tracker-sparql-scanner.c"
4378 } else {
4379 #line 693 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
4380 _tmp198_ = FALSE;
4381 #line 4382 "tracker-sparql-scanner.c"
4382 }
4383 #line 693 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
4384 _tmp213_ = _tmp198_;
4385 #line 693 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
4386 if (_tmp213_) {
4387 #line 4388 "tracker-sparql-scanner.c"
4388 gchar* _tmp214_;
4389 #line 694 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
4390 _tmp214_ = self->priv->current;
4391 #line 694 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
4392 self->priv->current = _tmp214_ + 3;
4393 #line 4394 "tracker-sparql-scanner.c"
4394 } else {
4395 gint _tmp215_;
4396 gint _tmp216_;
4397 gint _tmp217_;
4398 GError* _tmp218_;
4399 #line 696 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
4400 _tmp215_ = self->priv->line;
4401 #line 696 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
4402 _tmp216_ = self->priv->column;
4403 #line 696 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
4404 _tmp217_ = token_length_in_chars;
4405 #line 696 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
4406 _tmp218_ = g_error_new (TRACKER_SPARQL_ERROR, TRACKER_SPARQL_ERROR_PARSE, "%d.%d: syntax error, expected \"\"\"", _tmp215_, _tmp216_ + _tmp217_);
4407 #line 696 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
4408 _inner_error_ = _tmp218_;
4409 #line 696 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
4410 if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
4411 #line 696 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
4412 g_propagate_error (error, _inner_error_);
4413 #line 696 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
4414 return 0;
4415 #line 4416 "tracker-sparql-scanner.c"
4416 } else {
4417 #line 696 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
4418 g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
4419 #line 696 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
4420 g_clear_error (&_inner_error_);
4421 #line 696 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
4422 return 0;
4423 #line 4424 "tracker-sparql-scanner.c"
4424 }
4425 }
4426 #line 698 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
4427 break;
4428 #line 4429 "tracker-sparql-scanner.c"
4429 }
4430 #line 701 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
4431 _tmp219_ = begin;
4432 #line 701 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
4433 _tmp220_ = _tmp219_[0];
4434 #line 701 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
4435 if (_tmp220_ == '\'') {
4436 #line 702 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
4437 type = TRACKER_SPARQL_TOKEN_TYPE_STRING_LITERAL1;
4438 #line 4439 "tracker-sparql-scanner.c"
4439 } else {
4440 #line 704 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
4441 type = TRACKER_SPARQL_TOKEN_TYPE_STRING_LITERAL2;
4442 #line 4443 "tracker-sparql-scanner.c"
4443 }
4444 #line 707 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
4445 token_length_in_chars = 2;
4446 #line 708 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
4447 _tmp221_ = self->priv->current;
4448 #line 708 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
4449 self->priv->current = _tmp221_ + 1;
4450 #line 709 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
4451 while (TRUE) {
4452 #line 4453 "tracker-sparql-scanner.c"
4453 gboolean _tmp222_ = FALSE;
4454 gchar* _tmp223_;
4455 gchar* _tmp224_;
4456 gboolean _tmp229_;
4457 gchar* _tmp230_;
4458 gchar _tmp231_;
4459 #line 709 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
4460 _tmp223_ = self->priv->current;
4461 #line 709 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
4462 _tmp224_ = self->priv->end;
4463 #line 709 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
4464 if (_tmp223_ < _tmp224_) {
4465 #line 4466 "tracker-sparql-scanner.c"
4466 gchar* _tmp225_;
4467 gchar _tmp226_;
4468 gchar* _tmp227_;
4469 gchar _tmp228_;
4470 #line 709 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
4471 _tmp225_ = self->priv->current;
4472 #line 709 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
4473 _tmp226_ = _tmp225_[0];
4474 #line 709 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
4475 _tmp227_ = begin;
4476 #line 709 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
4477 _tmp228_ = _tmp227_[0];
4478 #line 709 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
4479 _tmp222_ = _tmp226_ != _tmp228_;
4480 #line 4481 "tracker-sparql-scanner.c"
4481 } else {
4482 #line 709 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
4483 _tmp222_ = FALSE;
4484 #line 4485 "tracker-sparql-scanner.c"
4485 }
4486 #line 709 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
4487 _tmp229_ = _tmp222_;
4488 #line 709 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
4489 if (!_tmp229_) {
4490 #line 709 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
4491 break;
4492 #line 4493 "tracker-sparql-scanner.c"
4493 }
4494 #line 710 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
4495 _tmp230_ = self->priv->current;
4496 #line 710 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
4497 _tmp231_ = _tmp230_[0];
4498 #line 710 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
4499 if (_tmp231_ == '\\') {
4500 #line 4501 "tracker-sparql-scanner.c"
4501 gchar* _tmp232_;
4502 gint _tmp233_;
4503 gchar* _tmp234_;
4504 gchar* _tmp235_;
4505 gchar* _tmp236_;
4506 gchar _tmp237_;
4507 #line 711 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
4508 _tmp232_ = self->priv->current;
4509 #line 711 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
4510 self->priv->current = _tmp232_ + 1;
4511 #line 712 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
4512 _tmp233_ = token_length_in_chars;
4513 #line 712 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
4514 token_length_in_chars = _tmp233_ + 1;
4515 #line 713 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
4516 _tmp234_ = self->priv->current;
4517 #line 713 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
4518 _tmp235_ = self->priv->end;
4519 #line 713 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
4520 if (_tmp234_ >= _tmp235_) {
4521 #line 714 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
4522 break;
4523 #line 4524 "tracker-sparql-scanner.c"
4524 }
4525 #line 717 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
4526 _tmp236_ = self->priv->current;
4527 #line 717 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
4528 _tmp237_ = _tmp236_[0];
4529 #line 717 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
4530 switch (_tmp237_) {
4531 #line 717 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
4532 case '\'':
4533 #line 717 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
4534 case '"':
4535 #line 717 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
4536 case '\\':
4537 #line 717 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
4538 case 'b':
4539 #line 717 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
4540 case 'f':
4541 #line 717 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
4542 case 'n':
4543 #line 717 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
4544 case 'r':
4545 #line 717 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
4546 case 't':
4547 #line 4548 "tracker-sparql-scanner.c"
4548 {
4549 gchar* _tmp238_;
4550 gint _tmp239_;
4551 #line 726 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
4552 _tmp238_ = self->priv->current;
4553 #line 726 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
4554 self->priv->current = _tmp238_ + 1;
4555 #line 727 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
4556 _tmp239_ = token_length_in_chars;
4557 #line 727 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
4558 token_length_in_chars = _tmp239_ + 1;
4559 #line 728 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
4560 break;
4561 #line 4562 "tracker-sparql-scanner.c"
4562 }
4563 #line 717 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
4564 case 'u':
4565 #line 4566 "tracker-sparql-scanner.c"
4566 {
4567 gchar* _tmp257_;
4568 gint _tmp258_;
4569 {
4570 gint i;
4571 #line 730 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
4572 i = 0;
4573 #line 4574 "tracker-sparql-scanner.c"
4574 {
4575 gboolean _tmp240_;
4576 #line 730 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
4577 _tmp240_ = TRUE;
4578 #line 730 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
4579 while (TRUE) {
4580 #line 4581 "tracker-sparql-scanner.c"
4581 gboolean _tmp241_;
4582 gint _tmp243_;
4583 gboolean _tmp244_ = FALSE;
4584 gchar* _tmp245_;
4585 gint _tmp246_;
4586 gchar* _tmp247_;
4587 gboolean _tmp252_;
4588 #line 730 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
4589 _tmp241_ = _tmp240_;
4590 #line 730 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
4591 if (!_tmp241_) {
4592 #line 4593 "tracker-sparql-scanner.c"
4593 gint _tmp242_;
4594 #line 730 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
4595 _tmp242_ = i;
4596 #line 730 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
4597 i = _tmp242_ + 1;
4598 #line 4599 "tracker-sparql-scanner.c"
4599 }
4600 #line 730 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
4601 _tmp240_ = FALSE;
4602 #line 730 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
4603 _tmp243_ = i;
4604 #line 730 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
4605 if (!(_tmp243_ < 4)) {
4606 #line 730 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
4607 break;
4608 #line 4609 "tracker-sparql-scanner.c"
4609 }
4610 #line 731 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
4611 _tmp245_ = self->priv->current;
4612 #line 731 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
4613 _tmp246_ = i;
4614 #line 731 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
4615 _tmp247_ = self->priv->end;
4616 #line 731 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
4617 if (((_tmp245_ + _tmp246_) + 1) >= _tmp247_) {
4618 #line 731 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
4619 _tmp244_ = TRUE;
4620 #line 4621 "tracker-sparql-scanner.c"
4621 } else {
4622 gchar* _tmp248_;
4623 gint _tmp249_;
4624 gchar _tmp250_;
4625 gboolean _tmp251_ = FALSE;
4626 #line 731 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
4627 _tmp248_ = self->priv->current;
4628 #line 731 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
4629 _tmp249_ = i;
4630 #line 731 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
4631 _tmp250_ = _tmp248_[_tmp249_ + 1];
4632 #line 731 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
4633 _tmp251_ = g_ascii_isxdigit (_tmp250_);
4634 #line 731 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
4635 _tmp244_ = !_tmp251_;
4636 #line 4637 "tracker-sparql-scanner.c"
4637 }
4638 #line 731 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
4639 _tmp252_ = _tmp244_;
4640 #line 731 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
4641 if (_tmp252_) {
4642 #line 4643 "tracker-sparql-scanner.c"
4643 gint _tmp253_;
4644 gint _tmp254_;
4645 gint _tmp255_;
4646 GError* _tmp256_;
4647 #line 732 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
4648 _tmp253_ = self->priv->line;
4649 #line 732 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
4650 _tmp254_ = self->priv->column;
4651 #line 732 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
4652 _tmp255_ = token_length_in_chars;
4653 #line 732 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
4654 _tmp256_ = g_error_new (TRACKER_SPARQL_ERROR, TRACKER_SPARQL_ERROR_PARSE, "%d.%d: invalid escape sequence", _tmp253_, _tmp254_ + _tmp255_);
4655 #line 732 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
4656 _inner_error_ = _tmp256_;
4657 #line 732 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
4658 if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
4659 #line 732 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
4660 g_propagate_error (error, _inner_error_);
4661 #line 732 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
4662 return 0;
4663 #line 4664 "tracker-sparql-scanner.c"
4664 } else {
4665 #line 732 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
4666 g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
4667 #line 732 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
4668 g_clear_error (&_inner_error_);
4669 #line 732 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
4670 return 0;
4671 #line 4672 "tracker-sparql-scanner.c"
4672 }
4673 }
4674 }
4675 }
4676 }
4677 #line 735 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
4678 _tmp257_ = self->priv->current;
4679 #line 735 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
4680 self->priv->current = _tmp257_ + 5;
4681 #line 736 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
4682 _tmp258_ = token_length_in_chars;
4683 #line 736 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
4684 token_length_in_chars = _tmp258_ + 5;
4685 #line 737 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
4686 break;
4687 #line 4688 "tracker-sparql-scanner.c"
4688 }
4689 default:
4690 {
4691 gint _tmp259_;
4692 gint _tmp260_;
4693 gint _tmp261_;
4694 GError* _tmp262_;
4695 #line 739 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
4696 _tmp259_ = self->priv->line;
4697 #line 739 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
4698 _tmp260_ = self->priv->column;
4699 #line 739 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
4700 _tmp261_ = token_length_in_chars;
4701 #line 739 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
4702 _tmp262_ = g_error_new (TRACKER_SPARQL_ERROR, TRACKER_SPARQL_ERROR_PARSE, "%d.%d: invalid escape sequence", _tmp259_, _tmp260_ + _tmp261_);
4703 #line 739 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
4704 _inner_error_ = _tmp262_;
4705 #line 739 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
4706 if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
4707 #line 739 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
4708 g_propagate_error (error, _inner_error_);
4709 #line 739 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
4710 return 0;
4711 #line 4712 "tracker-sparql-scanner.c"
4712 } else {
4713 #line 739 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
4714 g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
4715 #line 739 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
4716 g_clear_error (&_inner_error_);
4717 #line 739 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
4718 return 0;
4719 #line 4720 "tracker-sparql-scanner.c"
4720 }
4721 }
4722 }
4723 } else {
4724 gchar* _tmp263_;
4725 gchar _tmp264_;
4726 #line 741 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
4727 _tmp263_ = self->priv->current;
4728 #line 741 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
4729 _tmp264_ = _tmp263_[0];
4730 #line 741 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
4731 if (_tmp264_ == '\n') {
4732 #line 742 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
4733 break;
4734 #line 4735 "tracker-sparql-scanner.c"
4735 } else {
4736 gchar* _tmp265_;
4737 gchar _tmp266_;
4738 #line 743 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
4739 _tmp265_ = self->priv->current;
4740 #line 743 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
4741 _tmp266_ = _tmp265_[0];
4742 #line 743 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
4743 if (((gint) ((guchar) _tmp266_)) <= 0x7f) {
4744 #line 4745 "tracker-sparql-scanner.c"
4745 gchar* _tmp267_;
4746 gint _tmp268_;
4747 #line 745 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
4748 _tmp267_ = self->priv->current;
4749 #line 745 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
4750 self->priv->current = _tmp267_ + 1;
4751 #line 746 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
4752 _tmp268_ = token_length_in_chars;
4753 #line 746 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
4754 token_length_in_chars = _tmp268_ + 1;
4755 #line 4756 "tracker-sparql-scanner.c"
4756 } else {
4757 gchar* _tmp269_;
4758 gchar* _tmp270_;
4759 gchar* _tmp271_;
4760 gunichar _tmp272_ = 0U;
4761 gunichar u;
4762 gunichar _tmp273_;
4763 #line 748 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
4764 _tmp269_ = self->priv->current;
4765 #line 748 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
4766 _tmp270_ = self->priv->end;
4767 #line 748 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
4768 _tmp271_ = self->priv->current;
4769 #line 748 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
4770 _tmp272_ = g_utf8_get_char_validated ((const gchar*) _tmp269_, (gssize) ((glong) (_tmp270_ - _tmp271_)));
4771 #line 748 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
4772 u = _tmp272_;
4773 #line 749 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
4774 _tmp273_ = u;
4775 #line 749 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
4776 if (_tmp273_ != ((gunichar) (-1))) {
4777 #line 4778 "tracker-sparql-scanner.c"
4778 gchar* _tmp274_;
4779 gunichar _tmp275_;
4780 gint _tmp276_ = 0;
4781 gint _tmp277_;
4782 #line 750 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
4783 _tmp274_ = self->priv->current;
4784 #line 750 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
4785 _tmp275_ = u;
4786 #line 750 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
4787 _tmp276_ = g_unichar_to_utf8 (_tmp275_, NULL);
4788 #line 750 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
4789 self->priv->current = _tmp274_ + _tmp276_;
4790 #line 751 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
4791 _tmp277_ = token_length_in_chars;
4792 #line 751 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
4793 token_length_in_chars = _tmp277_ + 1;
4794 #line 4795 "tracker-sparql-scanner.c"
4795 } else {
4796 gchar* _tmp278_;
4797 gint _tmp279_;
4798 gint _tmp280_;
4799 gint _tmp281_;
4800 GError* _tmp282_;
4801 #line 753 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
4802 _tmp278_ = self->priv->current;
4803 #line 753 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
4804 self->priv->current = _tmp278_ + 1;
4805 #line 754 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
4806 _tmp279_ = self->priv->line;
4807 #line 754 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
4808 _tmp280_ = self->priv->column;
4809 #line 754 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
4810 _tmp281_ = token_length_in_chars;
4811 #line 754 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
4812 _tmp282_ = g_error_new (TRACKER_SPARQL_ERROR, TRACKER_SPARQL_ERROR_PARSE, "%d.%d: invalid UTF-8 character", _tmp279_, _tmp280_ + _tmp281_);
4813 #line 754 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
4814 _inner_error_ = _tmp282_;
4815 #line 754 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
4816 if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
4817 #line 754 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
4818 g_propagate_error (error, _inner_error_);
4819 #line 754 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
4820 return 0;
4821 #line 4822 "tracker-sparql-scanner.c"
4822 } else {
4823 #line 754 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
4824 g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
4825 #line 754 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
4826 g_clear_error (&_inner_error_);
4827 #line 754 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
4828 return 0;
4829 #line 4830 "tracker-sparql-scanner.c"
4830 }
4831 }
4832 }
4833 }
4834 }
4835 }
4836 #line 758 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
4837 _tmp284_ = self->priv->current;
4838 #line 758 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
4839 _tmp285_ = self->priv->end;
4840 #line 758 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
4841 if (_tmp284_ < _tmp285_) {
4842 #line 4843 "tracker-sparql-scanner.c"
4843 gchar* _tmp286_;
4844 gchar _tmp287_;
4845 #line 758 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
4846 _tmp286_ = self->priv->current;
4847 #line 758 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
4848 _tmp287_ = _tmp286_[0];
4849 #line 758 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
4850 _tmp283_ = _tmp287_ != '\n';
4851 #line 4852 "tracker-sparql-scanner.c"
4852 } else {
4853 #line 758 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
4854 _tmp283_ = FALSE;
4855 #line 4856 "tracker-sparql-scanner.c"
4856 }
4857 #line 758 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
4858 _tmp288_ = _tmp283_;
4859 #line 758 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
4860 if (_tmp288_) {
4861 #line 4862 "tracker-sparql-scanner.c"
4862 gchar* _tmp289_;
4863 #line 759 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
4864 _tmp289_ = self->priv->current;
4865 #line 759 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
4866 self->priv->current = _tmp289_ + 1;
4867 #line 4868 "tracker-sparql-scanner.c"
4868 } else {
4869 gint _tmp290_;
4870 gint _tmp291_;
4871 gint _tmp292_;
4872 gchar* _tmp293_;
4873 gchar _tmp294_;
4874 GError* _tmp295_;
4875 #line 761 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
4876 _tmp290_ = self->priv->line;
4877 #line 761 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
4878 _tmp291_ = self->priv->column;
4879 #line 761 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
4880 _tmp292_ = token_length_in_chars;
4881 #line 761 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
4882 _tmp293_ = begin;
4883 #line 761 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
4884 _tmp294_ = _tmp293_[0];
4885 #line 761 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
4886 _tmp295_ = g_error_new (TRACKER_SPARQL_ERROR, TRACKER_SPARQL_ERROR_PARSE, "%d.%d: syntax error, expected %c", _tmp290_, _tmp291_ + _tmp292_, _tmp294_);
4887 #line 761 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
4888 _inner_error_ = _tmp295_;
4889 #line 761 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
4890 if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
4891 #line 761 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
4892 g_propagate_error (error, _inner_error_);
4893 #line 761 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
4894 return 0;
4895 #line 4896 "tracker-sparql-scanner.c"
4896 } else {
4897 #line 761 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
4898 g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
4899 #line 761 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
4900 g_clear_error (&_inner_error_);
4901 #line 761 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
4902 return 0;
4903 #line 4904 "tracker-sparql-scanner.c"
4904 }
4905 }
4906 #line 763 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
4907 break;
4908 #line 4909 "tracker-sparql-scanner.c"
4909 }
4910 #line 488 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
4911 case '^':
4912 #line 4913 "tracker-sparql-scanner.c"
4913 {
4914 gboolean _tmp296_ = FALSE;
4915 gchar* _tmp297_;
4916 gchar* _tmp298_;
4917 gboolean _tmp303_;
4918 #line 765 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
4919 type = TRACKER_SPARQL_TOKEN_TYPE_NONE;
(emitted by clang-analyzer)TODO: a detailed trace is available in the data model (not yet rendered in this report)
4920 #line 766 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
4921 _tmp297_ = self->priv->current;
4922 #line 766 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
4923 _tmp298_ = self->priv->end;
4924 #line 766 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
4925 if (_tmp297_ < (_tmp298_ - 2)) {
4926 #line 4927 "tracker-sparql-scanner.c"
4927 gchar* _tmp299_;
4928 gchar _tmp300_;
4929 gchar* _tmp301_;
4930 gchar _tmp302_;
4931 #line 766 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
4932 _tmp299_ = self->priv->current;
4933 #line 766 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
4934 _tmp300_ = _tmp299_[0];
4935 #line 766 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
4936 _tmp301_ = self->priv->current;
4937 #line 766 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
4938 _tmp302_ = _tmp301_[1];
4939 #line 766 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
4940 _tmp296_ = _tmp300_ == _tmp302_;
4941 #line 4942 "tracker-sparql-scanner.c"
4942 } else {
4943 #line 766 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
4944 _tmp296_ = FALSE;
4945 #line 4946 "tracker-sparql-scanner.c"
4946 }
4947 #line 766 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
4948 _tmp303_ = _tmp296_;
4949 #line 766 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
4950 if (_tmp303_) {
4951 #line 4952 "tracker-sparql-scanner.c"
4952 gchar* _tmp304_;
4953 #line 767 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
4954 type = TRACKER_SPARQL_TOKEN_TYPE_DOUBLE_CIRCUMFLEX;
4955 #line 768 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
4956 _tmp304_ = self->priv->current;
4957 #line 768 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
4958 self->priv->current = _tmp304_ + 2;
4959 #line 4960 "tracker-sparql-scanner.c"
4960 } else {
4961 gint _tmp305_;
4962 gint _tmp306_;
4963 GError* _tmp307_;
4964 #line 770 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
4965 _tmp305_ = self->priv->line;
4966 #line 770 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
4967 _tmp306_ = self->priv->column;
4968 #line 770 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
4969 _tmp307_ = g_error_new (TRACKER_SPARQL_ERROR, TRACKER_SPARQL_ERROR_PARSE, "%d.%d: syntax error, unexpected character", _tmp305_, _tmp306_);
4970 #line 770 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
4971 _inner_error_ = _tmp307_;
4972 #line 770 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
4973 if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
4974 #line 770 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
4975 g_propagate_error (error, _inner_error_);
4976 #line 770 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
4977 return 0;
4978 #line 4979 "tracker-sparql-scanner.c"
4979 } else {
4980 #line 770 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
4981 g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
4982 #line 770 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
4983 g_clear_error (&_inner_error_);
4984 #line 770 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
4985 return 0;
4986 #line 4987 "tracker-sparql-scanner.c"
4987 }
4988 }
4989 #line 772 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
4990 break;
4991 #line 4992 "tracker-sparql-scanner.c"
4992 }
4993 #line 488 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
4994 case '_':
4995 #line 4996 "tracker-sparql-scanner.c"
4996 {
4997 gchar* _tmp308_;
4998 #line 774 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
4999 type = TRACKER_SPARQL_TOKEN_TYPE_BLANK_NODE;
5000 #line 775 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
5001 _tmp308_ = self->priv->current;
5002 #line 775 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
5003 self->priv->current = _tmp308_ + 1;
5004 #line 776 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
5005 break;
5006 #line 5007 "tracker-sparql-scanner.c"
5007 }
5008 default:
5009 {
5010 gchar* _tmp309_;
5011 gchar* _tmp310_;
5012 gchar* _tmp311_;
5013 gunichar _tmp312_ = 0U;
5014 gunichar u;
5015 gunichar _tmp313_;
5016 #line 778 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
5017 _tmp309_ = self->priv->current;
5018 #line 778 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
5019 _tmp310_ = self->priv->end;
5020 #line 778 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
5021 _tmp311_ = self->priv->current;
5022 #line 778 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
5023 _tmp312_ = g_utf8_get_char_validated ((const gchar*) _tmp309_, (gssize) ((glong) (_tmp310_ - _tmp311_)));
5024 #line 778 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
5025 u = _tmp312_;
5026 #line 779 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
5027 _tmp313_ = u;
5028 #line 779 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
5029 if (_tmp313_ != ((gunichar) (-1))) {
5030 #line 5031 "tracker-sparql-scanner.c"
5031 gint _tmp314_;
5032 gint _tmp315_;
5033 GError* _tmp316_;
5034 #line 780 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
5035 _tmp314_ = self->priv->line;
5036 #line 780 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
5037 _tmp315_ = self->priv->column;
5038 #line 780 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
5039 _tmp316_ = g_error_new (TRACKER_SPARQL_ERROR, TRACKER_SPARQL_ERROR_PARSE, "%d.%d: syntax error, unexpected character", _tmp314_, _tmp315_);
5040 #line 780 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
5041 _inner_error_ = _tmp316_;
5042 #line 780 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
5043 if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
5044 #line 780 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
5045 g_propagate_error (error, _inner_error_);
5046 #line 780 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
5047 return 0;
5048 #line 5049 "tracker-sparql-scanner.c"
5049 } else {
5050 #line 780 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
5051 g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
5052 #line 780 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
5053 g_clear_error (&_inner_error_);
5054 #line 780 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
5055 return 0;
5056 #line 5057 "tracker-sparql-scanner.c"
5057 }
5058 } else {
5059 gint _tmp317_;
5060 gint _tmp318_;
5061 GError* _tmp319_;
5062 #line 782 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
5063 _tmp317_ = self->priv->line;
5064 #line 782 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
5065 _tmp318_ = self->priv->column;
5066 #line 782 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
5067 _tmp319_ = g_error_new (TRACKER_SPARQL_ERROR, TRACKER_SPARQL_ERROR_PARSE, "%d.%d: invalid UTF-8 character", _tmp317_, _tmp318_);
5068 #line 782 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
5069 _inner_error_ = _tmp319_;
5070 #line 782 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
5071 if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
5072 #line 782 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
5073 g_propagate_error (error, _inner_error_);
5074 #line 782 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
5075 return 0;
5076 #line 5077 "tracker-sparql-scanner.c"
5077 } else {
5078 #line 782 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
5079 g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
5080 #line 782 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
5081 g_clear_error (&_inner_error_);
5082 #line 782 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
5083 return 0;
5084 #line 5085 "tracker-sparql-scanner.c"
5085 }
5086 }
5087 }
5088 }
5089 }
5090 }
5091 }
5092 #line 787 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
5093 _tmp320_ = token_length_in_chars;
5094 #line 787 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
5095 if (_tmp320_ < 0) {
5096 #line 5097 "tracker-sparql-scanner.c"
5097 gint _tmp321_;
5098 gchar* _tmp322_;
5099 gchar* _tmp323_;
5100 #line 788 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
5101 _tmp321_ = self->priv->column;
5102 #line 788 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
5103 _tmp322_ = self->priv->current;
5104 #line 788 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
5105 _tmp323_ = begin;
5106 #line 788 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
5107 self->priv->column = _tmp321_ + ((gint) (_tmp322_ - _tmp323_));
5108 #line 5109 "tracker-sparql-scanner.c"
5109 } else {
5110 gint _tmp324_;
5111 gint _tmp325_;
5112 #line 790 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
5113 _tmp324_ = self->priv->column;
5114 #line 790 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
5115 _tmp325_ = token_length_in_chars;
5116 #line 790 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
5117 self->priv->column = _tmp324_ + _tmp325_;
5118 #line 5119 "tracker-sparql-scanner.c"
5119 }
5120 #line 793 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
5121 _tmp326_ = self->priv->current;
5122 #line 793 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
5123 _tmp327_ = self->priv->line;
5124 #line 793 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
5125 _tmp328_ = self->priv->column;
5126 #line 793 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
5127 tracker_source_location_init (&_vala_token_end, _tmp326_, _tmp327_, _tmp328_ - 1);
5128 #line 795 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
5129 result = type;
5130 #line 795 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
5131 if (token_begin) {
5132 #line 795 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
5133 *token_begin = _vala_token_begin;
5134 #line 5135 "tracker-sparql-scanner.c"
5135 }
5136 #line 795 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
5137 if (token_end) {
5138 #line 795 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
5139 *token_end = _vala_token_end;
5140 #line 5141 "tracker-sparql-scanner.c"
5141 }
5142 #line 795 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
5143 return result;
5144 #line 5145 "tracker-sparql-scanner.c"
5145 }
5146
5147
5148 static gboolean tracker_sparql_scanner_matches (TrackerSparqlScanner* self, gchar* begin, const gchar* keyword) {
5149 gboolean result = FALSE;
5150 const gchar* _tmp0_;
5151 gchar* keyword_array;
5152 #line 798 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
5153 g_return_val_if_fail (self != NULL, FALSE);
5154 #line 798 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
5155 g_return_val_if_fail (keyword != NULL, FALSE);
5156 #line 799 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
5157 _tmp0_ = keyword;
5158 #line 799 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
5159 keyword_array = _tmp0_;
5160 #line 5161 "tracker-sparql-scanner.c"
5161 {
5162 gint i;
5163 #line 800 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
5164 i = 0;
5165 #line 5166 "tracker-sparql-scanner.c"
5166 {
5167 gboolean _tmp1_;
5168 #line 800 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
5169 _tmp1_ = TRUE;
5170 #line 800 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
5171 while (TRUE) {
5172 #line 5173 "tracker-sparql-scanner.c"
5173 gboolean _tmp2_;
5174 gchar* _tmp4_;
5175 gint _tmp5_;
5176 gchar _tmp6_;
5177 gchar* _tmp7_;
5178 gint _tmp8_;
5179 gchar _tmp9_;
5180 gchar _tmp10_ = '\0';
5181 gchar* _tmp11_;
5182 gint _tmp12_;
5183 gchar _tmp13_;
5184 #line 800 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
5185 _tmp2_ = _tmp1_;
5186 #line 800 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
5187 if (!_tmp2_) {
5188 #line 5189 "tracker-sparql-scanner.c"
5189 gint _tmp3_;
5190 #line 800 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
5191 _tmp3_ = i;
5192 #line 800 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
5193 i = _tmp3_ + 1;
5194 #line 5195 "tracker-sparql-scanner.c"
5195 }
5196 #line 800 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
5197 _tmp1_ = FALSE;
5198 #line 800 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
5199 _tmp4_ = keyword_array;
5200 #line 800 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
5201 _tmp5_ = i;
5202 #line 800 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
5203 _tmp6_ = _tmp4_[_tmp5_];
5204 #line 800 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
5205 if (!(((gint) _tmp6_) != 0)) {
5206 #line 800 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
5207 break;
5208 #line 5209 "tracker-sparql-scanner.c"
5209 }
5210 #line 801 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
5211 _tmp7_ = begin;
5212 #line 801 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
5213 _tmp8_ = i;
5214 #line 801 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
5215 _tmp9_ = _tmp7_[_tmp8_];
5216 #line 801 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
5217 _tmp10_ = g_ascii_toupper (_tmp9_);
5218 #line 801 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
5219 _tmp11_ = keyword_array;
5220 #line 801 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
5221 _tmp12_ = i;
5222 #line 801 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
5223 _tmp13_ = _tmp11_[_tmp12_];
5224 #line 801 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
5225 if (_tmp10_ != _tmp13_) {
5226 #line 802 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
5227 result = FALSE;
5228 #line 802 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
5229 return result;
5230 #line 5231 "tracker-sparql-scanner.c"
5231 }
5232 }
5233 }
5234 }
5235 #line 805 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
5236 result = TRUE;
5237 #line 805 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
5238 return result;
5239 #line 5240 "tracker-sparql-scanner.c"
5240 }
5241
5242
5243 static gboolean tracker_sparql_scanner_whitespace (TrackerSparqlScanner* self) {
5244 gboolean result = FALSE;
5245 gboolean found;
5246 #line 808 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
5247 g_return_val_if_fail (self != NULL, FALSE);
5248 #line 809 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
5249 found = FALSE;
5250 #line 810 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
5251 while (TRUE) {
5252 #line 5253 "tracker-sparql-scanner.c"
5253 gboolean _tmp0_ = FALSE;
5254 gchar* _tmp1_;
5255 gchar* _tmp2_;
5256 gboolean _tmp6_;
5257 gchar* _tmp7_;
5258 gchar _tmp8_;
5259 gchar* _tmp10_;
5260 gint _tmp11_;
5261 #line 810 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
5262 _tmp1_ = self->priv->current;
5263 #line 810 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
5264 _tmp2_ = self->priv->end;
5265 #line 810 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
5266 if (_tmp1_ < _tmp2_) {
5267 #line 5268 "tracker-sparql-scanner.c"
5268 gchar* _tmp3_;
5269 gchar _tmp4_;
5270 gboolean _tmp5_ = FALSE;
5271 #line 810 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
5272 _tmp3_ = self->priv->current;
5273 #line 810 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
5274 _tmp4_ = _tmp3_[0];
5275 #line 810 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
5276 _tmp5_ = g_ascii_isspace (_tmp4_);
5277 #line 810 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
5278 _tmp0_ = _tmp5_;
5279 #line 5280 "tracker-sparql-scanner.c"
5280 } else {
5281 #line 810 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
5282 _tmp0_ = FALSE;
5283 #line 5284 "tracker-sparql-scanner.c"
5284 }
5285 #line 810 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
5286 _tmp6_ = _tmp0_;
5287 #line 810 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
5288 if (!_tmp6_) {
5289 #line 810 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
5290 break;
5291 #line 5292 "tracker-sparql-scanner.c"
5292 }
5293 #line 811 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
5294 _tmp7_ = self->priv->current;
5295 #line 811 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
5296 _tmp8_ = _tmp7_[0];
5297 #line 811 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
5298 if (_tmp8_ == '\n') {
5299 #line 5300 "tracker-sparql-scanner.c"
5300 gint _tmp9_;
5301 #line 812 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
5302 _tmp9_ = self->priv->line;
5303 #line 812 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
5304 self->priv->line = _tmp9_ + 1;
5305 #line 813 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
5306 self->priv->column = 0;
5307 #line 5308 "tracker-sparql-scanner.c"
5308 }
5309 #line 815 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
5310 found = TRUE;
5311 #line 816 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
5312 _tmp10_ = self->priv->current;
5313 #line 816 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
5314 self->priv->current = _tmp10_ + 1;
5315 #line 817 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
5316 _tmp11_ = self->priv->column;
5317 #line 817 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
5318 self->priv->column = _tmp11_ + 1;
5319 #line 5320 "tracker-sparql-scanner.c"
5320 }
5321 #line 819 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
5322 result = found;
5323 #line 819 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
5324 return result;
5325 #line 5326 "tracker-sparql-scanner.c"
5326 }
5327
5328
5329 static gboolean tracker_sparql_scanner_comment (TrackerSparqlScanner* self) {
5330 gboolean result = FALSE;
5331 gboolean _tmp0_ = FALSE;
5332 gchar* _tmp1_;
5333 gchar* _tmp2_;
5334 gboolean _tmp5_;
5335 #line 822 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
5336 g_return_val_if_fail (self != NULL, FALSE);
5337 #line 823 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
5338 _tmp1_ = self->priv->current;
5339 #line 823 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
5340 _tmp2_ = self->priv->end;
5341 #line 823 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
5342 if (_tmp1_ >= _tmp2_) {
5343 #line 823 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
5344 _tmp0_ = TRUE;
5345 #line 5346 "tracker-sparql-scanner.c"
5346 } else {
5347 gchar* _tmp3_;
5348 gchar _tmp4_;
5349 #line 823 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
5350 _tmp3_ = self->priv->current;
5351 #line 823 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
5352 _tmp4_ = _tmp3_[0];
5353 #line 823 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
5354 _tmp0_ = _tmp4_ != '#';
5355 #line 5356 "tracker-sparql-scanner.c"
5356 }
5357 #line 823 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
5358 _tmp5_ = _tmp0_;
5359 #line 823 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
5360 if (_tmp5_) {
5361 #line 824 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
5362 result = FALSE;
5363 #line 824 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
5364 return result;
5365 #line 5366 "tracker-sparql-scanner.c"
5366 }
5367 #line 829 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
5368 while (TRUE) {
5369 #line 5370 "tracker-sparql-scanner.c"
5370 gboolean _tmp6_ = FALSE;
5371 gchar* _tmp7_;
5372 gchar* _tmp8_;
5373 gboolean _tmp11_;
5374 gchar* _tmp12_;
5375 #line 829 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
5376 _tmp7_ = self->priv->current;
5377 #line 829 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
5378 _tmp8_ = self->priv->end;
5379 #line 829 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
5380 if (_tmp7_ < _tmp8_) {
5381 #line 5382 "tracker-sparql-scanner.c"
5382 gchar* _tmp9_;
5383 gchar _tmp10_;
5384 #line 829 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
5385 _tmp9_ = self->priv->current;
5386 #line 829 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
5387 _tmp10_ = _tmp9_[0];
5388 #line 829 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
5389 _tmp6_ = _tmp10_ != '\n';
5390 #line 5391 "tracker-sparql-scanner.c"
5391 } else {
5392 #line 829 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
5393 _tmp6_ = FALSE;
5394 #line 5395 "tracker-sparql-scanner.c"
5395 }
5396 #line 829 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
5397 _tmp11_ = _tmp6_;
5398 #line 829 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
5399 if (!_tmp11_) {
5400 #line 829 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
5401 break;
5402 #line 5403 "tracker-sparql-scanner.c"
5403 }
5404 #line 830 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
5405 _tmp12_ = self->priv->current;
5406 #line 830 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
5407 self->priv->current = _tmp12_ + 1;
5408 #line 5409 "tracker-sparql-scanner.c"
5409 }
5410 #line 833 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
5411 result = TRUE;
5412 #line 833 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
5413 return result;
5414 #line 5415 "tracker-sparql-scanner.c"
5415 }
5416
5417
5418 static void tracker_sparql_scanner_space (TrackerSparqlScanner* self) {
5419 #line 836 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
5420 g_return_if_fail (self != NULL);
5421 #line 837 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
5422 while (TRUE) {
5423 #line 5424 "tracker-sparql-scanner.c"
5424 gboolean _tmp0_ = FALSE;
5425 gboolean _tmp1_ = FALSE;
5426 gboolean _tmp3_;
5427 #line 837 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
5428 _tmp1_ = tracker_sparql_scanner_whitespace (self);
5429 #line 837 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
5430 if (_tmp1_) {
5431 #line 837 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
5432 _tmp0_ = TRUE;
5433 #line 5434 "tracker-sparql-scanner.c"
5434 } else {
5435 gboolean _tmp2_ = FALSE;
5436 #line 837 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
5437 _tmp2_ = tracker_sparql_scanner_comment (self);
5438 #line 837 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
5439 _tmp0_ = _tmp2_;
5440 #line 5441 "tracker-sparql-scanner.c"
5441 }
5442 #line 837 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
5443 _tmp3_ = _tmp0_;
5444 #line 837 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
5445 if (!_tmp3_) {
5446 #line 837 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
5447 break;
5448 #line 5449 "tracker-sparql-scanner.c"
5449 }
5450 }
5451 }
5452
5453
5454 static void tracker_sparql_scanner_class_init (TrackerSparqlScannerClass * klass) {
5455 #line 20 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
5456 tracker_sparql_scanner_parent_class = g_type_class_peek_parent (klass);
5457 #line 20 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
5458 g_type_class_add_private (klass, sizeof (TrackerSparqlScannerPrivate));
5459 #line 20 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
5460 G_OBJECT_CLASS (klass)->finalize = tracker_sparql_scanner_finalize;
5461 #line 5462 "tracker-sparql-scanner.c"
5462 }
5463
5464
5465 static void tracker_sparql_scanner_instance_init (TrackerSparqlScanner * self) {
5466 #line 20 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
5467 self->priv = TRACKER_SPARQL_SCANNER_GET_PRIVATE (self);
5468 #line 5469 "tracker-sparql-scanner.c"
5469 }
5470
5471
5472 static void tracker_sparql_scanner_finalize (GObject* obj) {
5473 TrackerSparqlScanner * self;
(emitted by gcc) 5474 #line 20 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
5475 self = G_TYPE_CHECK_INSTANCE_CAST (obj, TRACKER_TYPE_SPARQL_SCANNER, TrackerSparqlScanner);
(emitted by clang-analyzer)TODO: a detailed trace is available in the data model (not yet rendered in this report)
5476 #line 20 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
5477 G_OBJECT_CLASS (tracker_sparql_scanner_parent_class)->finalize (obj);
5478 #line 5479 "tracker-sparql-scanner.c"
5479 }
5480
5481
5482 GType tracker_sparql_scanner_get_type (void) {
5483 static volatile gsize tracker_sparql_scanner_type_id__volatile = 0;
5484 if (g_once_init_enter (&tracker_sparql_scanner_type_id__volatile)) {
5485 static const GTypeInfo g_define_type_info = { sizeof (TrackerSparqlScannerClass), (GBaseInitFunc) NULL, (GBaseFinalizeFunc) NULL, (GClassInitFunc) tracker_sparql_scanner_class_init, (GClassFinalizeFunc) NULL, NULL, sizeof (TrackerSparqlScanner), 0, (GInstanceInitFunc) tracker_sparql_scanner_instance_init, NULL };
5486 GType tracker_sparql_scanner_type_id;
5487 tracker_sparql_scanner_type_id = g_type_register_static (G_TYPE_OBJECT, "TrackerSparqlScanner", &g_define_type_info, 0);
5488 g_once_init_leave (&tracker_sparql_scanner_type_id__volatile, tracker_sparql_scanner_type_id);
5489 }
5490 return tracker_sparql_scanner_type_id__volatile;
5491 }
5492
5493
5494 void tracker_source_location_init (TrackerSourceLocation *self, gchar* pos, gint line, gint column) {
5495 gchar* _tmp0_;
5496 gint _tmp1_;
5497 gint _tmp2_;
5498 #line 850 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
5499 memset (self, 0, sizeof (TrackerSourceLocation));
5500 #line 851 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
5501 _tmp0_ = pos;
5502 #line 851 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
5503 (*self).pos = _tmp0_;
5504 #line 852 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
5505 _tmp1_ = line;
5506 #line 852 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
5507 (*self).line = _tmp1_;
5508 #line 853 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
5509 _tmp2_ = column;
5510 #line 853 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
5511 (*self).column = _tmp2_;
5512 #line 5513 "tracker-sparql-scanner.c"
5513 }
5514
5515
5516 TrackerSourceLocation* tracker_source_location_dup (const TrackerSourceLocation* self) {
5517 TrackerSourceLocation* dup;
5518 #line 845 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
5519 dup = g_new0 (TrackerSourceLocation, 1);
5520 #line 845 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
5521 memcpy (dup, self, sizeof (TrackerSourceLocation));
5522 #line 845 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
5523 return dup;
5524 #line 5525 "tracker-sparql-scanner.c"
5525 }
5526
5527
5528 void tracker_source_location_free (TrackerSourceLocation* self) {
5529 #line 845 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
5530 g_free (self);
5531 #line 5532 "tracker-sparql-scanner.c"
5532 }
5533
5534
5535 GType tracker_source_location_get_type (void) {
5536 static volatile gsize tracker_source_location_type_id__volatile = 0;
5537 if (g_once_init_enter (&tracker_source_location_type_id__volatile)) {
5538 GType tracker_source_location_type_id;
5539 tracker_source_location_type_id = g_boxed_type_register_static ("TrackerSourceLocation", (GBoxedCopyFunc) tracker_source_location_dup, (GBoxedFreeFunc) tracker_source_location_free);
5540 g_once_init_leave (&tracker_source_location_type_id__volatile, tracker_source_location_type_id);
5541 }
5542 return tracker_source_location_type_id__volatile;
5543 }
5544
5545
5546 const gchar* tracker_sparql_token_type_to_string (TrackerSparqlTokenType self) {
5547 const gchar* result = NULL;
5548 #line 958 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
5549 switch (self) {
5550 #line 958 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
5551 case TRACKER_SPARQL_TOKEN_TYPE_A:
5552 #line 5553 "tracker-sparql-scanner.c"
5553 {
5554 #line 959 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
5555 result = "`a'";
5556 #line 959 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
5557 return result;
5558 #line 5559 "tracker-sparql-scanner.c"
5559 }
5560 #line 958 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
5561 case TRACKER_SPARQL_TOKEN_TYPE_AS:
5562 #line 5563 "tracker-sparql-scanner.c"
5563 {
5564 #line 960 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
5565 result = "`AS'";
5566 #line 960 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
5567 return result;
5568 #line 5569 "tracker-sparql-scanner.c"
5569 }
5570 #line 958 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
5571 case TRACKER_SPARQL_TOKEN_TYPE_ASC:
5572 #line 5573 "tracker-sparql-scanner.c"
5573 {
5574 #line 961 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
5575 result = "`ASC'";
5576 #line 961 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
5577 return result;
5578 #line 5579 "tracker-sparql-scanner.c"
5579 }
5580 #line 958 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
5581 case TRACKER_SPARQL_TOKEN_TYPE_ASK:
5582 #line 5583 "tracker-sparql-scanner.c"
5583 {
5584 #line 962 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
5585 result = "`ASK'";
5586 #line 962 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
5587 return result;
5588 #line 5589 "tracker-sparql-scanner.c"
5589 }
5590 #line 958 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
5591 case TRACKER_SPARQL_TOKEN_TYPE_ATBASE:
5592 #line 5593 "tracker-sparql-scanner.c"
5593 {
5594 #line 963 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
5595 result = "`@base'";
5596 #line 963 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
5597 return result;
5598 #line 5599 "tracker-sparql-scanner.c"
5599 }
5600 #line 958 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
5601 case TRACKER_SPARQL_TOKEN_TYPE_ATPREFIX:
5602 #line 5603 "tracker-sparql-scanner.c"
5603 {
5604 #line 964 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
5605 result = "`@prefix'";
5606 #line 964 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
5607 return result;
5608 #line 5609 "tracker-sparql-scanner.c"
5609 }
5610 #line 958 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
5611 case TRACKER_SPARQL_TOKEN_TYPE_AVG:
5612 #line 5613 "tracker-sparql-scanner.c"
5613 {
5614 #line 965 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
5615 result = "`AVG'";
5616 #line 965 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
5617 return result;
5618 #line 5619 "tracker-sparql-scanner.c"
5619 }
5620 #line 958 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
5621 case TRACKER_SPARQL_TOKEN_TYPE_BASE:
5622 #line 5623 "tracker-sparql-scanner.c"
5623 {
5624 #line 966 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
5625 result = "`BASE'";
5626 #line 966 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
5627 return result;
5628 #line 5629 "tracker-sparql-scanner.c"
5629 }
5630 #line 958 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
5631 case TRACKER_SPARQL_TOKEN_TYPE_BLANK_NODE:
5632 #line 5633 "tracker-sparql-scanner.c"
5633 {
5634 #line 967 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
5635 result = "blank node";
5636 #line 967 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
5637 return result;
5638 #line 5639 "tracker-sparql-scanner.c"
5639 }
5640 #line 958 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
5641 case TRACKER_SPARQL_TOKEN_TYPE_BOUND:
5642 #line 5643 "tracker-sparql-scanner.c"
5643 {
5644 #line 968 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
5645 result = "`BOUND'";
5646 #line 968 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
5647 return result;
5648 #line 5649 "tracker-sparql-scanner.c"
5649 }
5650 #line 958 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
5651 case TRACKER_SPARQL_TOKEN_TYPE_BY:
5652 #line 5653 "tracker-sparql-scanner.c"
5653 {
5654 #line 969 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
5655 result = "`BY'";
5656 #line 969 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
5657 return result;
5658 #line 5659 "tracker-sparql-scanner.c"
5659 }
5660 #line 958 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
5661 case TRACKER_SPARQL_TOKEN_TYPE_CLOSE_BRACE:
5662 #line 5663 "tracker-sparql-scanner.c"
5663 {
5664 #line 970 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
5665 result = "`}'";
5666 #line 970 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
5667 return result;
5668 #line 5669 "tracker-sparql-scanner.c"
5669 }
5670 #line 958 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
5671 case TRACKER_SPARQL_TOKEN_TYPE_CLOSE_BRACKET:
5672 #line 5673 "tracker-sparql-scanner.c"
5673 {
5674 #line 971 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
5675 result = "`]'";
5676 #line 971 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
5677 return result;
5678 #line 5679 "tracker-sparql-scanner.c"
5679 }
5680 #line 958 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
5681 case TRACKER_SPARQL_TOKEN_TYPE_CLOSE_PARENS:
5682 #line 5683 "tracker-sparql-scanner.c"
5683 {
5684 #line 972 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
5685 result = "`)'";
5686 #line 972 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
5687 return result;
5688 #line 5689 "tracker-sparql-scanner.c"
5689 }
5690 #line 958 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
5691 case TRACKER_SPARQL_TOKEN_TYPE_COALESCE:
5692 #line 5693 "tracker-sparql-scanner.c"
5693 {
5694 #line 973 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
5695 result = "`COALESCE'";
5696 #line 973 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
5697 return result;
5698 #line 5699 "tracker-sparql-scanner.c"
5699 }
5700 #line 958 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
5701 case TRACKER_SPARQL_TOKEN_TYPE_COLON:
5702 #line 5703 "tracker-sparql-scanner.c"
5703 {
5704 #line 974 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
5705 result = "`:'";
5706 #line 974 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
5707 return result;
5708 #line 5709 "tracker-sparql-scanner.c"
5709 }
5710 #line 958 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
5711 case TRACKER_SPARQL_TOKEN_TYPE_COMMA:
5712 #line 5713 "tracker-sparql-scanner.c"
5713 {
5714 #line 975 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
5715 result = "`,'";
5716 #line 975 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
5717 return result;
5718 #line 5719 "tracker-sparql-scanner.c"
5719 }
5720 #line 958 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
5721 case TRACKER_SPARQL_TOKEN_TYPE_CONSTRUCT:
5722 #line 5723 "tracker-sparql-scanner.c"
5723 {
5724 #line 976 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
5725 result = "`CONSTRUCT'";
5726 #line 976 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
5727 return result;
5728 #line 5729 "tracker-sparql-scanner.c"
5729 }
5730 #line 958 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
5731 case TRACKER_SPARQL_TOKEN_TYPE_COUNT:
5732 #line 5733 "tracker-sparql-scanner.c"
5733 {
5734 #line 977 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
5735 result = "`COUNT'";
5736 #line 977 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
5737 return result;
5738 #line 5739 "tracker-sparql-scanner.c"
5739 }
5740 #line 958 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
5741 case TRACKER_SPARQL_TOKEN_TYPE_DATATYPE:
5742 #line 5743 "tracker-sparql-scanner.c"
5743 {
5744 #line 978 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
5745 result = "`DATATYPE'";
5746 #line 978 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
5747 return result;
5748 #line 5749 "tracker-sparql-scanner.c"
5749 }
5750 #line 958 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
5751 case TRACKER_SPARQL_TOKEN_TYPE_DECIMAL:
5752 #line 5753 "tracker-sparql-scanner.c"
5753 {
5754 #line 979 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
5755 result = "`DECIMAL'";
5756 #line 979 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
5757 return result;
5758 #line 5759 "tracker-sparql-scanner.c"
5759 }
5760 #line 958 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
5761 case TRACKER_SPARQL_TOKEN_TYPE_DELETE:
5762 #line 5763 "tracker-sparql-scanner.c"
5763 {
5764 #line 980 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
5765 result = "`DELETE'";
5766 #line 980 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
5767 return result;
5768 #line 5769 "tracker-sparql-scanner.c"
5769 }
5770 #line 958 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
5771 case TRACKER_SPARQL_TOKEN_TYPE_DESC:
5772 #line 5773 "tracker-sparql-scanner.c"
5773 {
5774 #line 981 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
5775 result = "`DESC'";
5776 #line 981 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
5777 return result;
5778 #line 5779 "tracker-sparql-scanner.c"
5779 }
5780 #line 958 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
5781 case TRACKER_SPARQL_TOKEN_TYPE_DESCRIBE:
5782 #line 5783 "tracker-sparql-scanner.c"
5783 {
5784 #line 982 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
5785 result = "`DESCRIBE'";
5786 #line 982 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
5787 return result;
5788 #line 5789 "tracker-sparql-scanner.c"
5789 }
5790 #line 958 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
5791 case TRACKER_SPARQL_TOKEN_TYPE_DISTINCT:
5792 #line 5793 "tracker-sparql-scanner.c"
5793 {
5794 #line 983 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
5795 result = "`DISTINCT'";
5796 #line 983 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
5797 return result;
5798 #line 5799 "tracker-sparql-scanner.c"
5799 }
5800 #line 958 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
5801 case TRACKER_SPARQL_TOKEN_TYPE_DOUBLE:
5802 #line 5803 "tracker-sparql-scanner.c"
5803 {
5804 #line 984 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
5805 result = "`DOUBLE'";
5806 #line 984 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
5807 return result;
5808 #line 5809 "tracker-sparql-scanner.c"
5809 }
5810 #line 958 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
5811 case TRACKER_SPARQL_TOKEN_TYPE_DOUBLE_CIRCUMFLEX:
5812 #line 5813 "tracker-sparql-scanner.c"
5813 {
5814 #line 985 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
5815 result = "`^^'";
5816 #line 985 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
5817 return result;
5818 #line 5819 "tracker-sparql-scanner.c"
5819 }
5820 #line 958 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
5821 case TRACKER_SPARQL_TOKEN_TYPE_DROP:
5822 #line 5823 "tracker-sparql-scanner.c"
5823 {
5824 #line 986 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
5825 result = "`DROP'";
5826 #line 986 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
5827 return result;
5828 #line 5829 "tracker-sparql-scanner.c"
5829 }
5830 #line 958 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
5831 case TRACKER_SPARQL_TOKEN_TYPE_EOF:
5832 #line 5833 "tracker-sparql-scanner.c"
5833 {
5834 #line 987 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
5835 result = "end of file";
5836 #line 987 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
5837 return result;
5838 #line 5839 "tracker-sparql-scanner.c"
5839 }
5840 #line 958 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
5841 case TRACKER_SPARQL_TOKEN_TYPE_EXISTS:
5842 #line 5843 "tracker-sparql-scanner.c"
5843 {
5844 #line 988 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
5845 result = "`EXISTS'";
5846 #line 988 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
5847 return result;
5848 #line 5849 "tracker-sparql-scanner.c"
5849 }
5850 #line 958 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
5851 case TRACKER_SPARQL_TOKEN_TYPE_FALSE:
5852 #line 5853 "tracker-sparql-scanner.c"
5853 {
5854 #line 989 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
5855 result = "`false'";
5856 #line 989 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
5857 return result;
5858 #line 5859 "tracker-sparql-scanner.c"
5859 }
5860 #line 958 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
5861 case TRACKER_SPARQL_TOKEN_TYPE_FILTER:
5862 #line 5863 "tracker-sparql-scanner.c"
5863 {
5864 #line 990 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
5865 result = "`FILTER'";
5866 #line 990 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
5867 return result;
5868 #line 5869 "tracker-sparql-scanner.c"
5869 }
5870 #line 958 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
5871 case TRACKER_SPARQL_TOKEN_TYPE_FROM:
5872 #line 5873 "tracker-sparql-scanner.c"
5873 {
5874 #line 991 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
5875 result = "`FROM'";
5876 #line 991 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
5877 return result;
5878 #line 5879 "tracker-sparql-scanner.c"
5879 }
5880 #line 958 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
5881 case TRACKER_SPARQL_TOKEN_TYPE_GRAPH:
5882 #line 5883 "tracker-sparql-scanner.c"
5883 {
5884 #line 992 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
5885 result = "`GRAPH'";
5886 #line 992 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
5887 return result;
5888 #line 5889 "tracker-sparql-scanner.c"
5889 }
5890 #line 958 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
5891 case TRACKER_SPARQL_TOKEN_TYPE_GROUP:
5892 #line 5893 "tracker-sparql-scanner.c"
5893 {
5894 #line 993 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
5895 result = "`GROUP'";
5896 #line 993 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
5897 return result;
5898 #line 5899 "tracker-sparql-scanner.c"
5899 }
5900 #line 958 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
5901 case TRACKER_SPARQL_TOKEN_TYPE_GROUP_CONCAT:
5902 #line 5903 "tracker-sparql-scanner.c"
5903 {
5904 #line 994 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
5905 result = "`GROUP_CONCAT'";
5906 #line 994 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
5907 return result;
5908 #line 5909 "tracker-sparql-scanner.c"
5909 }
5910 #line 958 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
5911 case TRACKER_SPARQL_TOKEN_TYPE_HAVING:
5912 #line 5913 "tracker-sparql-scanner.c"
5913 {
5914 #line 995 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
5915 result = "`HAVING'";
5916 #line 995 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
5917 return result;
5918 #line 5919 "tracker-sparql-scanner.c"
5919 }
5920 #line 958 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
5921 case TRACKER_SPARQL_TOKEN_TYPE_IF:
5922 #line 5923 "tracker-sparql-scanner.c"
5923 {
5924 #line 996 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
5925 result = "`IF'";
5926 #line 996 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
5927 return result;
5928 #line 5929 "tracker-sparql-scanner.c"
5929 }
5930 #line 958 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
5931 case TRACKER_SPARQL_TOKEN_TYPE_INSERT:
5932 #line 5933 "tracker-sparql-scanner.c"
5933 {
5934 #line 997 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
5935 result = "`INSERT'";
5936 #line 997 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
5937 return result;
5938 #line 5939 "tracker-sparql-scanner.c"
5939 }
5940 #line 958 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
5941 case TRACKER_SPARQL_TOKEN_TYPE_INTEGER:
5942 #line 5943 "tracker-sparql-scanner.c"
5943 {
5944 #line 998 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
5945 result = "`INTEGER'";
5946 #line 998 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
5947 return result;
5948 #line 5949 "tracker-sparql-scanner.c"
5949 }
5950 #line 958 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
5951 case TRACKER_SPARQL_TOKEN_TYPE_INTO:
5952 #line 5953 "tracker-sparql-scanner.c"
5953 {
5954 #line 999 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
5955 result = "`INTO'";
5956 #line 999 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
5957 return result;
5958 #line 5959 "tracker-sparql-scanner.c"
5959 }
5960 #line 958 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
5961 case TRACKER_SPARQL_TOKEN_TYPE_IRI_REF:
5962 #line 5963 "tracker-sparql-scanner.c"
5963 {
5964 #line 1000 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
5965 result = "IRI reference";
5966 #line 1000 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
5967 return result;
5968 #line 5969 "tracker-sparql-scanner.c"
5969 }
5970 #line 958 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
5971 case TRACKER_SPARQL_TOKEN_TYPE_ISBLANK:
5972 #line 5973 "tracker-sparql-scanner.c"
5973 {
5974 #line 1001 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
5975 result = "`ISBLANK'";
5976 #line 1001 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
5977 return result;
5978 #line 5979 "tracker-sparql-scanner.c"
5979 }
5980 #line 958 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
5981 case TRACKER_SPARQL_TOKEN_TYPE_ISIRI:
5982 #line 5983 "tracker-sparql-scanner.c"
5983 {
5984 #line 1002 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
5985 result = "`ISIRI'";
5986 #line 1002 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
5987 return result;
5988 #line 5989 "tracker-sparql-scanner.c"
5989 }
5990 #line 958 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
5991 case TRACKER_SPARQL_TOKEN_TYPE_ISLITERAL:
5992 #line 5993 "tracker-sparql-scanner.c"
5993 {
5994 #line 1003 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
5995 result = "`ISLITERAL'";
5996 #line 1003 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
5997 return result;
5998 #line 5999 "tracker-sparql-scanner.c"
5999 }
6000 #line 958 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
6001 case TRACKER_SPARQL_TOKEN_TYPE_ISURI:
6002 #line 6003 "tracker-sparql-scanner.c"
6003 {
6004 #line 1004 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
6005 result = "`ISURI'";
6006 #line 1004 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
6007 return result;
6008 #line 6009 "tracker-sparql-scanner.c"
6009 }
6010 #line 958 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
6011 case TRACKER_SPARQL_TOKEN_TYPE_LANG:
6012 #line 6013 "tracker-sparql-scanner.c"
6013 {
6014 #line 1005 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
6015 result = "`LANG'";
6016 #line 1005 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
6017 return result;
6018 #line 6019 "tracker-sparql-scanner.c"
6019 }
6020 #line 958 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
6021 case TRACKER_SPARQL_TOKEN_TYPE_LANGMATCHES:
6022 #line 6023 "tracker-sparql-scanner.c"
6023 {
6024 #line 1006 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
6025 result = "`LANGMATCHES'";
6026 #line 1006 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
6027 return result;
6028 #line 6029 "tracker-sparql-scanner.c"
6029 }
6030 #line 958 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
6031 case TRACKER_SPARQL_TOKEN_TYPE_LIMIT:
6032 #line 6033 "tracker-sparql-scanner.c"
6033 {
6034 #line 1007 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
6035 result = "`LIMIT'";
6036 #line 1007 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
6037 return result;
6038 #line 6039 "tracker-sparql-scanner.c"
6039 }
6040 #line 958 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
6041 case TRACKER_SPARQL_TOKEN_TYPE_MAX:
6042 #line 6043 "tracker-sparql-scanner.c"
6043 {
6044 #line 1008 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
6045 result = "`MAX'";
6046 #line 1008 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
6047 return result;
6048 #line 6049 "tracker-sparql-scanner.c"
6049 }
6050 #line 958 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
6051 case TRACKER_SPARQL_TOKEN_TYPE_MIN:
6052 #line 6053 "tracker-sparql-scanner.c"
6053 {
6054 #line 1009 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
6055 result = "`MIN'";
6056 #line 1009 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
6057 return result;
6058 #line 6059 "tracker-sparql-scanner.c"
6059 }
6060 #line 958 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
6061 case TRACKER_SPARQL_TOKEN_TYPE_MINUS:
6062 #line 6063 "tracker-sparql-scanner.c"
6063 {
6064 #line 1010 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
6065 result = "`-'";
6066 #line 1010 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
6067 return result;
6068 #line 6069 "tracker-sparql-scanner.c"
6069 }
6070 #line 958 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
6071 case TRACKER_SPARQL_TOKEN_TYPE_NAMED:
6072 #line 6073 "tracker-sparql-scanner.c"
6073 {
6074 #line 1011 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
6075 result = "`NAMED'";
6076 #line 1011 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
6077 return result;
6078 #line 6079 "tracker-sparql-scanner.c"
6079 }
6080 #line 958 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
6081 case TRACKER_SPARQL_TOKEN_TYPE_NOT:
6082 #line 6083 "tracker-sparql-scanner.c"
6083 {
6084 #line 1012 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
6085 result = "`NOT'";
6086 #line 1012 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
6087 return result;
6088 #line 6089 "tracker-sparql-scanner.c"
6089 }
6090 #line 958 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
6091 case TRACKER_SPARQL_TOKEN_TYPE_OFFSET:
6092 #line 6093 "tracker-sparql-scanner.c"
6093 {
6094 #line 1013 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
6095 result = "`OFFSET'";
6096 #line 1013 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
6097 return result;
6098 #line 6099 "tracker-sparql-scanner.c"
6099 }
6100 #line 958 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
6101 case TRACKER_SPARQL_TOKEN_TYPE_OP_AND:
6102 #line 6103 "tracker-sparql-scanner.c"
6103 {
6104 #line 1014 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
6105 result = "`&&'";
6106 #line 1014 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
6107 return result;
6108 #line 6109 "tracker-sparql-scanner.c"
6109 }
6110 #line 958 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
6111 case TRACKER_SPARQL_TOKEN_TYPE_OP_EQ:
6112 #line 6113 "tracker-sparql-scanner.c"
6113 {
6114 #line 1015 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
6115 result = "`='";
6116 #line 1015 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
6117 return result;
6118 #line 6119 "tracker-sparql-scanner.c"
6119 }
6120 #line 958 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
6121 case TRACKER_SPARQL_TOKEN_TYPE_OP_GE:
6122 #line 6123 "tracker-sparql-scanner.c"
6123 {
6124 #line 1016 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
6125 result = "`>='";
6126 #line 1016 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
6127 return result;
6128 #line 6129 "tracker-sparql-scanner.c"
6129 }
6130 #line 958 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
6131 case TRACKER_SPARQL_TOKEN_TYPE_OP_GT:
6132 #line 6133 "tracker-sparql-scanner.c"
6133 {
6134 #line 1017 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
6135 result = "`>'";
6136 #line 1017 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
6137 return result;
6138 #line 6139 "tracker-sparql-scanner.c"
6139 }
6140 #line 958 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
6141 case TRACKER_SPARQL_TOKEN_TYPE_OP_LE:
6142 #line 6143 "tracker-sparql-scanner.c"
6143 {
6144 #line 1018 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
6145 result = "`<='";
6146 #line 1018 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
6147 return result;
6148 #line 6149 "tracker-sparql-scanner.c"
6149 }
6150 #line 958 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
6151 case TRACKER_SPARQL_TOKEN_TYPE_OP_LT:
6152 #line 6153 "tracker-sparql-scanner.c"
6153 {
6154 #line 1019 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
6155 result = "`<'";
6156 #line 1019 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
6157 return result;
6158 #line 6159 "tracker-sparql-scanner.c"
6159 }
6160 #line 958 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
6161 case TRACKER_SPARQL_TOKEN_TYPE_OP_NE:
6162 #line 6163 "tracker-sparql-scanner.c"
6163 {
6164 #line 1020 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
6165 result = "`!='";
6166 #line 1020 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
6167 return result;
6168 #line 6169 "tracker-sparql-scanner.c"
6169 }
6170 #line 958 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
6171 case TRACKER_SPARQL_TOKEN_TYPE_OP_NEG:
6172 #line 6173 "tracker-sparql-scanner.c"
6173 {
6174 #line 1021 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
6175 result = "`!'";
6176 #line 1021 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
6177 return result;
6178 #line 6179 "tracker-sparql-scanner.c"
6179 }
6180 #line 958 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
6181 case TRACKER_SPARQL_TOKEN_TYPE_OP_OR:
6182 #line 6183 "tracker-sparql-scanner.c"
6183 {
6184 #line 1022 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
6185 result = "`||'";
6186 #line 1022 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
6187 return result;
6188 #line 6189 "tracker-sparql-scanner.c"
6189 }
6190 #line 958 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
6191 case TRACKER_SPARQL_TOKEN_TYPE_OP_IN:
6192 #line 6193 "tracker-sparql-scanner.c"
6193 {
6194 #line 1023 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
6195 result = "`IN'";
6196 #line 1023 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
6197 return result;
6198 #line 6199 "tracker-sparql-scanner.c"
6199 }
6200 #line 958 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
6201 case TRACKER_SPARQL_TOKEN_TYPE_OPEN_BRACE:
6202 #line 6203 "tracker-sparql-scanner.c"
6203 {
6204 #line 1024 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
6205 result = "`{'";
6206 #line 1024 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
6207 return result;
6208 #line 6209 "tracker-sparql-scanner.c"
6209 }
6210 #line 958 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
6211 case TRACKER_SPARQL_TOKEN_TYPE_OPEN_BRACKET:
6212 #line 6213 "tracker-sparql-scanner.c"
6213 {
6214 #line 1025 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
6215 result = "`['";
6216 #line 1025 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
6217 return result;
6218 #line 6219 "tracker-sparql-scanner.c"
6219 }
6220 #line 958 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
6221 case TRACKER_SPARQL_TOKEN_TYPE_OPEN_PARENS:
6222 #line 6223 "tracker-sparql-scanner.c"
6223 {
6224 #line 1026 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
6225 result = "`('";
6226 #line 1026 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
6227 return result;
6228 #line 6229 "tracker-sparql-scanner.c"
6229 }
6230 #line 958 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
6231 case TRACKER_SPARQL_TOKEN_TYPE_OPTIONAL:
6232 #line 6233 "tracker-sparql-scanner.c"
6233 {
6234 #line 1027 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
6235 result = "`OPTIONAL'";
6236 #line 1027 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
6237 return result;
6238 #line 6239 "tracker-sparql-scanner.c"
6239 }
6240 #line 958 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
6241 case TRACKER_SPARQL_TOKEN_TYPE_OR:
6242 #line 6243 "tracker-sparql-scanner.c"
6243 {
6244 #line 1028 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
6245 result = "`OR'";
6246 #line 1028 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
6247 return result;
6248 #line 6249 "tracker-sparql-scanner.c"
6249 }
6250 #line 958 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
6251 case TRACKER_SPARQL_TOKEN_TYPE_ORDER:
6252 #line 6253 "tracker-sparql-scanner.c"
6253 {
6254 #line 1029 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
6255 result = "`ORDER'";
6256 #line 1029 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
6257 return result;
6258 #line 6259 "tracker-sparql-scanner.c"
6259 }
6260 #line 958 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
6261 case TRACKER_SPARQL_TOKEN_TYPE_PLUS:
6262 #line 6263 "tracker-sparql-scanner.c"
6263 {
6264 #line 1030 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
6265 result = "`+'";
6266 #line 1030 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
6267 return result;
6268 #line 6269 "tracker-sparql-scanner.c"
6269 }
6270 #line 958 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
6271 case TRACKER_SPARQL_TOKEN_TYPE_PN_PREFIX:
6272 #line 6273 "tracker-sparql-scanner.c"
6273 {
6274 #line 1031 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
6275 result = "prefixed name";
6276 #line 1031 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
6277 return result;
6278 #line 6279 "tracker-sparql-scanner.c"
6279 }
6280 #line 958 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
6281 case TRACKER_SPARQL_TOKEN_TYPE_PREFIX:
6282 #line 6283 "tracker-sparql-scanner.c"
6283 {
6284 #line 1032 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
6285 result = "`PREFIX'";
6286 #line 1032 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
6287 return result;
6288 #line 6289 "tracker-sparql-scanner.c"
6289 }
6290 #line 958 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
6291 case TRACKER_SPARQL_TOKEN_TYPE_REDUCED:
6292 #line 6293 "tracker-sparql-scanner.c"
6293 {
6294 #line 1033 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
6295 result = "`REDUCED'";
6296 #line 1033 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
6297 return result;
6298 #line 6299 "tracker-sparql-scanner.c"
6299 }
6300 #line 958 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
6301 case TRACKER_SPARQL_TOKEN_TYPE_REGEX:
6302 #line 6303 "tracker-sparql-scanner.c"
6303 {
6304 #line 1034 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
6305 result = "`REGEX'";
6306 #line 1034 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
6307 return result;
6308 #line 6309 "tracker-sparql-scanner.c"
6309 }
6310 #line 958 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
6311 case TRACKER_SPARQL_TOKEN_TYPE_REPLACE:
6312 #line 6313 "tracker-sparql-scanner.c"
6313 {
6314 #line 1035 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
6315 result = "`REPLACE'";
6316 #line 1035 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
6317 return result;
6318 #line 6319 "tracker-sparql-scanner.c"
6319 }
6320 #line 958 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
6321 case TRACKER_SPARQL_TOKEN_TYPE_SAMETERM:
6322 #line 6323 "tracker-sparql-scanner.c"
6323 {
6324 #line 1036 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
6325 result = "`SAMETERM'";
6326 #line 1036 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
6327 return result;
6328 #line 6329 "tracker-sparql-scanner.c"
6329 }
6330 #line 958 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
6331 case TRACKER_SPARQL_TOKEN_TYPE_SELECT:
6332 #line 6333 "tracker-sparql-scanner.c"
6333 {
6334 #line 1037 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
6335 result = "`SELECT'";
6336 #line 1037 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
6337 return result;
6338 #line 6339 "tracker-sparql-scanner.c"
6339 }
6340 #line 958 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
6341 case TRACKER_SPARQL_TOKEN_TYPE_SEMICOLON:
6342 #line 6343 "tracker-sparql-scanner.c"
6343 {
6344 #line 1038 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
6345 result = "`;'";
6346 #line 1038 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
6347 return result;
6348 #line 6349 "tracker-sparql-scanner.c"
6349 }
6350 #line 958 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
6351 case TRACKER_SPARQL_TOKEN_TYPE_SILENT:
6352 #line 6353 "tracker-sparql-scanner.c"
6353 {
6354 #line 1039 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
6355 result = "`SILENT'";
6356 #line 1039 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
6357 return result;
6358 #line 6359 "tracker-sparql-scanner.c"
6359 }
6360 #line 958 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
6361 case TRACKER_SPARQL_TOKEN_TYPE_STAR:
6362 #line 6363 "tracker-sparql-scanner.c"
6363 {
6364 #line 1040 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
6365 result = "`*'";
6366 #line 1040 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
6367 return result;
6368 #line 6369 "tracker-sparql-scanner.c"
6369 }
6370 #line 958 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
6371 case TRACKER_SPARQL_TOKEN_TYPE_STR:
6372 #line 6373 "tracker-sparql-scanner.c"
6373 {
6374 #line 1041 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
6375 result = "`STR'";
6376 #line 1041 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
6377 return result;
6378 #line 6379 "tracker-sparql-scanner.c"
6379 }
6380 #line 958 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
6381 case TRACKER_SPARQL_TOKEN_TYPE_STRING_LITERAL1:
6382 #line 6383 "tracker-sparql-scanner.c"
6383 {
6384 #line 1042 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
6385 result = "string literal";
6386 #line 1042 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
6387 return result;
6388 #line 6389 "tracker-sparql-scanner.c"
6389 }
6390 #line 958 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
6391 case TRACKER_SPARQL_TOKEN_TYPE_STRING_LITERAL2:
6392 #line 6393 "tracker-sparql-scanner.c"
6393 {
6394 #line 1043 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
6395 result = "string literal";
6396 #line 1043 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
6397 return result;
6398 #line 6399 "tracker-sparql-scanner.c"
6399 }
6400 #line 958 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
6401 case TRACKER_SPARQL_TOKEN_TYPE_STRING_LITERAL_LONG1:
6402 #line 6403 "tracker-sparql-scanner.c"
6403 {
6404 #line 1044 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
6405 result = "string literal";
6406 #line 1044 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
6407 return result;
6408 #line 6409 "tracker-sparql-scanner.c"
6409 }
6410 #line 958 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
6411 case TRACKER_SPARQL_TOKEN_TYPE_STRING_LITERAL_LONG2:
6412 #line 6413 "tracker-sparql-scanner.c"
6413 {
6414 #line 1045 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
6415 result = "string literal";
6416 #line 1045 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
6417 return result;
6418 #line 6419 "tracker-sparql-scanner.c"
6419 }
6420 #line 958 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
6421 case TRACKER_SPARQL_TOKEN_TYPE_SUM:
6422 #line 6423 "tracker-sparql-scanner.c"
6423 {
6424 #line 1046 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
6425 result = "`SUM'";
6426 #line 1046 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
6427 return result;
6428 #line 6429 "tracker-sparql-scanner.c"
6429 }
6430 #line 958 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
6431 case TRACKER_SPARQL_TOKEN_TYPE_TRUE:
6432 #line 6433 "tracker-sparql-scanner.c"
6433 {
6434 #line 1047 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
6435 result = "`true'";
6436 #line 1047 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
6437 return result;
6438 #line 6439 "tracker-sparql-scanner.c"
6439 }
6440 #line 958 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
6441 case TRACKER_SPARQL_TOKEN_TYPE_UNION:
6442 #line 6443 "tracker-sparql-scanner.c"
6443 {
6444 #line 1048 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
6445 result = "`UNION'";
6446 #line 1048 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
6447 return result;
6448 #line 6449 "tracker-sparql-scanner.c"
6449 }
6450 #line 958 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
6451 case TRACKER_SPARQL_TOKEN_TYPE_VAR:
6452 #line 6453 "tracker-sparql-scanner.c"
6453 {
6454 #line 1049 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
6455 result = "variable";
6456 #line 1049 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
6457 return result;
6458 #line 6459 "tracker-sparql-scanner.c"
6459 }
6460 #line 958 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
6461 case TRACKER_SPARQL_TOKEN_TYPE_WHERE:
6462 #line 6463 "tracker-sparql-scanner.c"
6463 {
6464 #line 1050 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
6465 result = "`WHERE'";
6466 #line 1050 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
6467 return result;
6468 #line 6469 "tracker-sparql-scanner.c"
6469 }
6470 #line 958 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
6471 case TRACKER_SPARQL_TOKEN_TYPE_WITH:
6472 #line 6473 "tracker-sparql-scanner.c"
6473 {
6474 #line 1051 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
6475 result = "`WITH'";
6476 #line 1051 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
6477 return result;
6478 #line 6479 "tracker-sparql-scanner.c"
6479 }
6480 default:
6481 {
6482 #line 1052 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
6483 result = "unknown token";
6484 #line 1052 "/home/martyn/Source/tracker/src/libtracker-data/tracker-sparql-scanner.vala"
6485 return result;
6486 #line 6487 "tracker-sparql-scanner.c"
6487 }
6488 }
6489 }
6490
6491
6492 GType tracker_sparql_token_type_get_type (void) {
6493 static volatile gsize tracker_sparql_token_type_type_id__volatile = 0;
6494 if (g_once_init_enter (&tracker_sparql_token_type_type_id__volatile)) {
6495 static const GEnumValue values[] = {{TRACKER_SPARQL_TOKEN_TYPE_NONE, "TRACKER_SPARQL_TOKEN_TYPE_NONE", "none"}, {TRACKER_SPARQL_TOKEN_TYPE_A, "TRACKER_SPARQL_TOKEN_TYPE_A", "a"}, {TRACKER_SPARQL_TOKEN_TYPE_AS, "TRACKER_SPARQL_TOKEN_TYPE_AS", "as"}, {TRACKER_SPARQL_TOKEN_TYPE_ASC, "TRACKER_SPARQL_TOKEN_TYPE_ASC", "asc"}, {TRACKER_SPARQL_TOKEN_TYPE_ASK, "TRACKER_SPARQL_TOKEN_TYPE_ASK", "ask"}, {TRACKER_SPARQL_TOKEN_TYPE_ATBASE, "TRACKER_SPARQL_TOKEN_TYPE_ATBASE", "atbase"}, {TRACKER_SPARQL_TOKEN_TYPE_ATPREFIX, "TRACKER_SPARQL_TOKEN_TYPE_ATPREFIX", "atprefix"}, {TRACKER_SPARQL_TOKEN_TYPE_AVG, "TRACKER_SPARQL_TOKEN_TYPE_AVG", "avg"}, {TRACKER_SPARQL_TOKEN_TYPE_BASE, "TRACKER_SPARQL_TOKEN_TYPE_BASE", "base"}, {TRACKER_SPARQL_TOKEN_TYPE_BLANK_NODE, "TRACKER_SPARQL_TOKEN_TYPE_BLANK_NODE", "blank-node"}, {TRACKER_SPARQL_TOKEN_TYPE_BOUND, "TRACKER_SPARQL_TOKEN_TYPE_BOUND", "bound"}, {TRACKER_SPARQL_TOKEN_TYPE_BY, "TRACKER_SPARQL_TOKEN_TYPE_BY", "by"}, {TRACKER_SPARQL_TOKEN_TYPE_CLOSE_BRACE, "TRACKER_SPARQL_TOKEN_TYPE_CLOSE_BRACE", "close-brace"}, {TRACKER_SPARQL_TOKEN_TYPE_CLOSE_BRACKET, "TRACKER_SPARQL_TOKEN_TYPE_CLOSE_BRACKET", "close-bracket"}, {TRACKER_SPARQL_TOKEN_TYPE_CLOSE_PARENS, "TRACKER_SPARQL_TOKEN_TYPE_CLOSE_PARENS", "close-parens"}, {TRACKER_SPARQL_TOKEN_TYPE_COALESCE, "TRACKER_SPARQL_TOKEN_TYPE_COALESCE", "coalesce"}, {TRACKER_SPARQL_TOKEN_TYPE_COLON, "TRACKER_SPARQL_TOKEN_TYPE_COLON", "colon"}, {TRACKER_SPARQL_TOKEN_TYPE_COMMA, "TRACKER_SPARQL_TOKEN_TYPE_COMMA", "comma"}, {TRACKER_SPARQL_TOKEN_TYPE_CONSTRUCT, "TRACKER_SPARQL_TOKEN_TYPE_CONSTRUCT", "construct"}, {TRACKER_SPARQL_TOKEN_TYPE_COUNT, "TRACKER_SPARQL_TOKEN_TYPE_COUNT", "count"}, {TRACKER_SPARQL_TOKEN_TYPE_DATA, "TRACKER_SPARQL_TOKEN_TYPE_DATA", "data"}, {TRACKER_SPARQL_TOKEN_TYPE_DATATYPE, "TRACKER_SPARQL_TOKEN_TYPE_DATATYPE", "datatype"}, {TRACKER_SPARQL_TOKEN_TYPE_DECIMAL, "TRACKER_SPARQL_TOKEN_TYPE_DECIMAL", "decimal"}, {TRACKER_SPARQL_TOKEN_TYPE_DELETE, "TRACKER_SPARQL_TOKEN_TYPE_DELETE", "delete"}, {TRACKER_SPARQL_TOKEN_TYPE_DESC, "TRACKER_SPARQL_TOKEN_TYPE_DESC", "desc"}, {TRACKER_SPARQL_TOKEN_TYPE_DESCRIBE, "TRACKER_SPARQL_TOKEN_TYPE_DESCRIBE", "describe"}, {TRACKER_SPARQL_TOKEN_TYPE_DISTINCT, "TRACKER_SPARQL_TOKEN_TYPE_DISTINCT", "distinct"}, {TRACKER_SPARQL_TOKEN_TYPE_DIV, "TRACKER_SPARQL_TOKEN_TYPE_DIV", "div"}, {TRACKER_SPARQL_TOKEN_TYPE_DOT, "TRACKER_SPARQL_TOKEN_TYPE_DOT", "dot"}, {TRACKER_SPARQL_TOKEN_TYPE_DOUBLE, "TRACKER_SPARQL_TOKEN_TYPE_DOUBLE", "double"}, {TRACKER_SPARQL_TOKEN_TYPE_DOUBLE_CIRCUMFLEX, "TRACKER_SPARQL_TOKEN_TYPE_DOUBLE_CIRCUMFLEX", "double-circumflex"}, {TRACKER_SPARQL_TOKEN_TYPE_DROP, "TRACKER_SPARQL_TOKEN_TYPE_DROP", "drop"}, {TRACKER_SPARQL_TOKEN_TYPE_EOF, "TRACKER_SPARQL_TOKEN_TYPE_EOF", "eof"}, {TRACKER_SPARQL_TOKEN_TYPE_EXISTS, "TRACKER_SPARQL_TOKEN_TYPE_EXISTS", "exists"}, {TRACKER_SPARQL_TOKEN_TYPE_FALSE, "TRACKER_SPARQL_TOKEN_TYPE_FALSE", "false"}, {TRACKER_SPARQL_TOKEN_TYPE_FILTER, "TRACKER_SPARQL_TOKEN_TYPE_FILTER", "filter"}, {TRACKER_SPARQL_TOKEN_TYPE_FROM, "TRACKER_SPARQL_TOKEN_TYPE_FROM", "from"}, {TRACKER_SPARQL_TOKEN_TYPE_GRAPH, "TRACKER_SPARQL_TOKEN_TYPE_GRAPH", "graph"}, {TRACKER_SPARQL_TOKEN_TYPE_GROUP, "TRACKER_SPARQL_TOKEN_TYPE_GROUP", "group"}, {TRACKER_SPARQL_TOKEN_TYPE_GROUP_CONCAT, "TRACKER_SPARQL_TOKEN_TYPE_GROUP_CONCAT", "group-concat"}, {TRACKER_SPARQL_TOKEN_TYPE_HAVING, "TRACKER_SPARQL_TOKEN_TYPE_HAVING", "having"}, {TRACKER_SPARQL_TOKEN_TYPE_IF, "TRACKER_SPARQL_TOKEN_TYPE_IF", "if"}, {TRACKER_SPARQL_TOKEN_TYPE_INSERT, "TRACKER_SPARQL_TOKEN_TYPE_INSERT", "insert"}, {TRACKER_SPARQL_TOKEN_TYPE_INTEGER, "TRACKER_SPARQL_TOKEN_TYPE_INTEGER", "integer"}, {TRACKER_SPARQL_TOKEN_TYPE_INTO, "TRACKER_SPARQL_TOKEN_TYPE_INTO", "into"}, {TRACKER_SPARQL_TOKEN_TYPE_IRI_REF, "TRACKER_SPARQL_TOKEN_TYPE_IRI_REF", "iri-ref"}, {TRACKER_SPARQL_TOKEN_TYPE_ISBLANK, "TRACKER_SPARQL_TOKEN_TYPE_ISBLANK", "isblank"}, {TRACKER_SPARQL_TOKEN_TYPE_ISIRI, "TRACKER_SPARQL_TOKEN_TYPE_ISIRI", "isiri"}, {TRACKER_SPARQL_TOKEN_TYPE_ISLITERAL, "TRACKER_SPARQL_TOKEN_TYPE_ISLITERAL", "isliteral"}, {TRACKER_SPARQL_TOKEN_TYPE_ISURI, "TRACKER_SPARQL_TOKEN_TYPE_ISURI", "isuri"}, {TRACKER_SPARQL_TOKEN_TYPE_LANG, "TRACKER_SPARQL_TOKEN_TYPE_LANG", "lang"}, {TRACKER_SPARQL_TOKEN_TYPE_LANGMATCHES, "TRACKER_SPARQL_TOKEN_TYPE_LANGMATCHES", "langmatches"}, {TRACKER_SPARQL_TOKEN_TYPE_LIMIT, "TRACKER_SPARQL_TOKEN_TYPE_LIMIT", "limit"}, {TRACKER_SPARQL_TOKEN_TYPE_MAX, "TRACKER_SPARQL_TOKEN_TYPE_MAX", "max"}, {TRACKER_SPARQL_TOKEN_TYPE_MIN, "TRACKER_SPARQL_TOKEN_TYPE_MIN", "min"}, {TRACKER_SPARQL_TOKEN_TYPE_MINUS, "TRACKER_SPARQL_TOKEN_TYPE_MINUS", "minus"}, {TRACKER_SPARQL_TOKEN_TYPE_NAMED, "TRACKER_SPARQL_TOKEN_TYPE_NAMED", "named"}, {TRACKER_SPARQL_TOKEN_TYPE_NOT, "TRACKER_SPARQL_TOKEN_TYPE_NOT", "not"}, {TRACKER_SPARQL_TOKEN_TYPE_NULL, "TRACKER_SPARQL_TOKEN_TYPE_NULL", "null"}, {TRACKER_SPARQL_TOKEN_TYPE_OFFSET, "TRACKER_SPARQL_TOKEN_TYPE_OFFSET", "offset"}, {TRACKER_SPARQL_TOKEN_TYPE_OP_AND, "TRACKER_SPARQL_TOKEN_TYPE_OP_AND", "op-and"}, {TRACKER_SPARQL_TOKEN_TYPE_OP_EQ, "TRACKER_SPARQL_TOKEN_TYPE_OP_EQ", "op-eq"}, {TRACKER_SPARQL_TOKEN_TYPE_OP_GE, "TRACKER_SPARQL_TOKEN_TYPE_OP_GE", "op-ge"}, {TRACKER_SPARQL_TOKEN_TYPE_OP_GT, "TRACKER_SPARQL_TOKEN_TYPE_OP_GT", "op-gt"}, {TRACKER_SPARQL_TOKEN_TYPE_OP_LE, "TRACKER_SPARQL_TOKEN_TYPE_OP_LE", "op-le"}, {TRACKER_SPARQL_TOKEN_TYPE_OP_LT, "TRACKER_SPARQL_TOKEN_TYPE_OP_LT", "op-lt"}, {TRACKER_SPARQL_TOKEN_TYPE_OP_NE, "TRACKER_SPARQL_TOKEN_TYPE_OP_NE", "op-ne"}, {TRACKER_SPARQL_TOKEN_TYPE_OP_NEG, "TRACKER_SPARQL_TOKEN_TYPE_OP_NEG", "op-neg"}, {TRACKER_SPARQL_TOKEN_TYPE_OP_OR, "TRACKER_SPARQL_TOKEN_TYPE_OP_OR", "op-or"}, {TRACKER_SPARQL_TOKEN_TYPE_OP_IN, "TRACKER_SPARQL_TOKEN_TYPE_OP_IN", "op-in"}, {TRACKER_SPARQL_TOKEN_TYPE_OPEN_BRACE, "TRACKER_SPARQL_TOKEN_TYPE_OPEN_BRACE", "open-brace"}, {TRACKER_SPARQL_TOKEN_TYPE_OPEN_BRACKET, "TRACKER_SPARQL_TOKEN_TYPE_OPEN_BRACKET", "open-bracket"}, {TRACKER_SPARQL_TOKEN_TYPE_OPEN_PARENS, "TRACKER_SPARQL_TOKEN_TYPE_OPEN_PARENS", "open-parens"}, {TRACKER_SPARQL_TOKEN_TYPE_OPTIONAL, "TRACKER_SPARQL_TOKEN_TYPE_OPTIONAL", "optional"}, {TRACKER_SPARQL_TOKEN_TYPE_OR, "TRACKER_SPARQL_TOKEN_TYPE_OR", "or"}, {TRACKER_SPARQL_TOKEN_TYPE_ORDER, "TRACKER_SPARQL_TOKEN_TYPE_ORDER", "order"}, {TRACKER_SPARQL_TOKEN_TYPE_PLUS, "TRACKER_SPARQL_TOKEN_TYPE_PLUS", "plus"}, {TRACKER_SPARQL_TOKEN_TYPE_PN_PREFIX, "TRACKER_SPARQL_TOKEN_TYPE_PN_PREFIX", "pn-prefix"}, {TRACKER_SPARQL_TOKEN_TYPE_PREFIX, "TRACKER_SPARQL_TOKEN_TYPE_PREFIX", "prefix"}, {TRACKER_SPARQL_TOKEN_TYPE_REDUCED, "TRACKER_SPARQL_TOKEN_TYPE_REDUCED", "reduced"}, {TRACKER_SPARQL_TOKEN_TYPE_REGEX, "TRACKER_SPARQL_TOKEN_TYPE_REGEX", "regex"}, {TRACKER_SPARQL_TOKEN_TYPE_REPLACE, "TRACKER_SPARQL_TOKEN_TYPE_REPLACE", "replace"}, {TRACKER_SPARQL_TOKEN_TYPE_SAMETERM, "TRACKER_SPARQL_TOKEN_TYPE_SAMETERM", "sameterm"}, {TRACKER_SPARQL_TOKEN_TYPE_SELECT, "TRACKER_SPARQL_TOKEN_TYPE_SELECT", "select"}, {TRACKER_SPARQL_TOKEN_TYPE_SEMICOLON, "TRACKER_SPARQL_TOKEN_TYPE_SEMICOLON", "semicolon"}, {TRACKER_SPARQL_TOKEN_TYPE_SILENT, "TRACKER_SPARQL_TOKEN_TYPE_SILENT", "silent"}, {TRACKER_SPARQL_TOKEN_TYPE_STAR, "TRACKER_SPARQL_TOKEN_TYPE_STAR", "star"}, {TRACKER_SPARQL_TOKEN_TYPE_STR, "TRACKER_SPARQL_TOKEN_TYPE_STR", "str"}, {TRACKER_SPARQL_TOKEN_TYPE_STRING_LITERAL1, "TRACKER_SPARQL_TOKEN_TYPE_STRING_LITERAL1", "string-literal1"}, {TRACKER_SPARQL_TOKEN_TYPE_STRING_LITERAL2, "TRACKER_SPARQL_TOKEN_TYPE_STRING_LITERAL2", "string-literal2"}, {TRACKER_SPARQL_TOKEN_TYPE_STRING_LITERAL_LONG1, "TRACKER_SPARQL_TOKEN_TYPE_STRING_LITERAL_LONG1", "string-literal-long1"}, {TRACKER_SPARQL_TOKEN_TYPE_STRING_LITERAL_LONG2, "TRACKER_SPARQL_TOKEN_TYPE_STRING_LITERAL_LONG2", "string-literal-long2"}, {TRACKER_SPARQL_TOKEN_TYPE_SUM, "TRACKER_SPARQL_TOKEN_TYPE_SUM", "sum"}, {TRACKER_SPARQL_TOKEN_TYPE_TRUE, "TRACKER_SPARQL_TOKEN_TYPE_TRUE", "true"}, {TRACKER_SPARQL_TOKEN_TYPE_UNION, "TRACKER_SPARQL_TOKEN_TYPE_UNION", "union"}, {TRACKER_SPARQL_TOKEN_TYPE_VAR, "TRACKER_SPARQL_TOKEN_TYPE_VAR", "var"}, {TRACKER_SPARQL_TOKEN_TYPE_WHERE, "TRACKER_SPARQL_TOKEN_TYPE_WHERE", "where"}, {TRACKER_SPARQL_TOKEN_TYPE_WITH, "TRACKER_SPARQL_TOKEN_TYPE_WITH", "with"}, {0, NULL, NULL}};
6496 GType tracker_sparql_token_type_type_id;
6497 tracker_sparql_token_type_type_id = g_enum_register_static ("TrackerSparqlTokenType", values);
6498 g_once_init_leave (&tracker_sparql_token_type_type_id__volatile, tracker_sparql_token_type_type_id);
6499 }
6500 return tracker_sparql_token_type_type_id__volatile;
6501 }