diff options
Diffstat (limited to 'language/src/main/xtext-gen/org/eclipse/viatra/solver/language/parser/antlr/internal/InternalProblemLexer.java')
-rw-r--r-- | language/src/main/xtext-gen/org/eclipse/viatra/solver/language/parser/antlr/internal/InternalProblemLexer.java | 999 |
1 files changed, 502 insertions, 497 deletions
diff --git a/language/src/main/xtext-gen/org/eclipse/viatra/solver/language/parser/antlr/internal/InternalProblemLexer.java b/language/src/main/xtext-gen/org/eclipse/viatra/solver/language/parser/antlr/internal/InternalProblemLexer.java index 8adc6935..cc9b39b6 100644 --- a/language/src/main/xtext-gen/org/eclipse/viatra/solver/language/parser/antlr/internal/InternalProblemLexer.java +++ b/language/src/main/xtext-gen/org/eclipse/viatra/solver/language/parser/antlr/internal/InternalProblemLexer.java | |||
@@ -17,9 +17,9 @@ public class InternalProblemLexer extends Lexer { | |||
17 | public static final int T__16=16; | 17 | public static final int T__16=16; |
18 | public static final int T__17=17; | 18 | public static final int T__17=17; |
19 | public static final int T__18=18; | 19 | public static final int T__18=18; |
20 | public static final int T__12=12; | ||
21 | public static final int T__13=13; | 20 | public static final int T__13=13; |
22 | public static final int T__14=14; | 21 | public static final int T__14=14; |
22 | public static final int RULE_EXPONENTIAL=8; | ||
23 | public static final int RULE_ID=5; | 23 | public static final int RULE_ID=5; |
24 | public static final int RULE_QUOTED_ID=7; | 24 | public static final int RULE_QUOTED_ID=7; |
25 | public static final int T__26=26; | 25 | public static final int T__26=26; |
@@ -28,14 +28,14 @@ public class InternalProblemLexer extends Lexer { | |||
28 | public static final int RULE_INT=6; | 28 | public static final int RULE_INT=6; |
29 | public static final int T__29=29; | 29 | public static final int T__29=29; |
30 | public static final int T__22=22; | 30 | public static final int T__22=22; |
31 | public static final int RULE_ML_COMMENT=9; | 31 | public static final int RULE_ML_COMMENT=10; |
32 | public static final int T__23=23; | 32 | public static final int T__23=23; |
33 | public static final int T__24=24; | 33 | public static final int T__24=24; |
34 | public static final int T__25=25; | 34 | public static final int T__25=25; |
35 | public static final int T__20=20; | 35 | public static final int T__20=20; |
36 | public static final int T__21=21; | 36 | public static final int T__21=21; |
37 | public static final int RULE_STRING=4; | 37 | public static final int RULE_STRING=4; |
38 | public static final int RULE_SL_COMMENT=8; | 38 | public static final int RULE_SL_COMMENT=9; |
39 | public static final int T__37=37; | 39 | public static final int T__37=37; |
40 | public static final int T__38=38; | 40 | public static final int T__38=38; |
41 | public static final int T__39=39; | 41 | public static final int T__39=39; |
@@ -47,12 +47,11 @@ public class InternalProblemLexer extends Lexer { | |||
47 | public static final int T__30=30; | 47 | public static final int T__30=30; |
48 | public static final int T__31=31; | 48 | public static final int T__31=31; |
49 | public static final int T__32=32; | 49 | public static final int T__32=32; |
50 | public static final int RULE_WS=10; | 50 | public static final int RULE_WS=11; |
51 | public static final int RULE_ANY_OTHER=11; | 51 | public static final int RULE_ANY_OTHER=12; |
52 | public static final int T__44=44; | 52 | public static final int T__44=44; |
53 | public static final int T__45=45; | 53 | public static final int T__45=45; |
54 | public static final int T__46=46; | 54 | public static final int T__46=46; |
55 | public static final int T__47=47; | ||
56 | public static final int T__40=40; | 55 | public static final int T__40=40; |
57 | public static final int T__41=41; | 56 | public static final int T__41=41; |
58 | public static final int T__42=42; | 57 | public static final int T__42=42; |
@@ -71,10 +70,10 @@ public class InternalProblemLexer extends Lexer { | |||
71 | } | 70 | } |
72 | public String getGrammarFileName() { return "InternalProblem.g"; } | 71 | public String getGrammarFileName() { return "InternalProblem.g"; } |
73 | 72 | ||
74 | // $ANTLR start "T__12" | 73 | // $ANTLR start "T__13" |
75 | public final void mT__12() throws RecognitionException { | 74 | public final void mT__13() throws RecognitionException { |
76 | try { | 75 | try { |
77 | int _type = T__12; | 76 | int _type = T__13; |
78 | int _channel = DEFAULT_TOKEN_CHANNEL; | 77 | int _channel = DEFAULT_TOKEN_CHANNEL; |
79 | // InternalProblem.g:11:7: ( 'problem' ) | 78 | // InternalProblem.g:11:7: ( 'problem' ) |
80 | // InternalProblem.g:11:9: 'problem' | 79 | // InternalProblem.g:11:9: 'problem' |
@@ -90,26 +89,6 @@ public class InternalProblemLexer extends Lexer { | |||
90 | finally { | 89 | finally { |
91 | } | 90 | } |
92 | } | 91 | } |
93 | // $ANTLR end "T__12" | ||
94 | |||
95 | // $ANTLR start "T__13" | ||
96 | public final void mT__13() throws RecognitionException { | ||
97 | try { | ||
98 | int _type = T__13; | ||
99 | int _channel = DEFAULT_TOKEN_CHANNEL; | ||
100 | // InternalProblem.g:12:7: ( '.' ) | ||
101 | // InternalProblem.g:12:9: '.' | ||
102 | { | ||
103 | match('.'); | ||
104 | |||
105 | } | ||
106 | |||
107 | state.type = _type; | ||
108 | state.channel = _channel; | ||
109 | } | ||
110 | finally { | ||
111 | } | ||
112 | } | ||
113 | // $ANTLR end "T__13" | 92 | // $ANTLR end "T__13" |
114 | 93 | ||
115 | // $ANTLR start "T__14" | 94 | // $ANTLR start "T__14" |
@@ -117,11 +96,10 @@ public class InternalProblemLexer extends Lexer { | |||
117 | try { | 96 | try { |
118 | int _type = T__14; | 97 | int _type = T__14; |
119 | int _channel = DEFAULT_TOKEN_CHANNEL; | 98 | int _channel = DEFAULT_TOKEN_CHANNEL; |
120 | // InternalProblem.g:13:7: ( 'abstract' ) | 99 | // InternalProblem.g:12:7: ( '.' ) |
121 | // InternalProblem.g:13:9: 'abstract' | 100 | // InternalProblem.g:12:9: '.' |
122 | { | 101 | { |
123 | match("abstract"); | 102 | match('.'); |
124 | |||
125 | 103 | ||
126 | } | 104 | } |
127 | 105 | ||
@@ -138,10 +116,10 @@ public class InternalProblemLexer extends Lexer { | |||
138 | try { | 116 | try { |
139 | int _type = T__15; | 117 | int _type = T__15; |
140 | int _channel = DEFAULT_TOKEN_CHANNEL; | 118 | int _channel = DEFAULT_TOKEN_CHANNEL; |
141 | // InternalProblem.g:14:7: ( 'class' ) | 119 | // InternalProblem.g:13:7: ( 'abstract' ) |
142 | // InternalProblem.g:14:9: 'class' | 120 | // InternalProblem.g:13:9: 'abstract' |
143 | { | 121 | { |
144 | match("class"); | 122 | match("abstract"); |
145 | 123 | ||
146 | 124 | ||
147 | } | 125 | } |
@@ -159,10 +137,10 @@ public class InternalProblemLexer extends Lexer { | |||
159 | try { | 137 | try { |
160 | int _type = T__16; | 138 | int _type = T__16; |
161 | int _channel = DEFAULT_TOKEN_CHANNEL; | 139 | int _channel = DEFAULT_TOKEN_CHANNEL; |
162 | // InternalProblem.g:15:7: ( 'extends' ) | 140 | // InternalProblem.g:14:7: ( 'class' ) |
163 | // InternalProblem.g:15:9: 'extends' | 141 | // InternalProblem.g:14:9: 'class' |
164 | { | 142 | { |
165 | match("extends"); | 143 | match("class"); |
166 | 144 | ||
167 | 145 | ||
168 | } | 146 | } |
@@ -180,10 +158,11 @@ public class InternalProblemLexer extends Lexer { | |||
180 | try { | 158 | try { |
181 | int _type = T__17; | 159 | int _type = T__17; |
182 | int _channel = DEFAULT_TOKEN_CHANNEL; | 160 | int _channel = DEFAULT_TOKEN_CHANNEL; |
183 | // InternalProblem.g:16:7: ( ',' ) | 161 | // InternalProblem.g:15:7: ( 'extends' ) |
184 | // InternalProblem.g:16:9: ',' | 162 | // InternalProblem.g:15:9: 'extends' |
185 | { | 163 | { |
186 | match(','); | 164 | match("extends"); |
165 | |||
187 | 166 | ||
188 | } | 167 | } |
189 | 168 | ||
@@ -200,10 +179,10 @@ public class InternalProblemLexer extends Lexer { | |||
200 | try { | 179 | try { |
201 | int _type = T__18; | 180 | int _type = T__18; |
202 | int _channel = DEFAULT_TOKEN_CHANNEL; | 181 | int _channel = DEFAULT_TOKEN_CHANNEL; |
203 | // InternalProblem.g:17:7: ( '{' ) | 182 | // InternalProblem.g:16:7: ( ',' ) |
204 | // InternalProblem.g:17:9: '{' | 183 | // InternalProblem.g:16:9: ',' |
205 | { | 184 | { |
206 | match('{'); | 185 | match(','); |
207 | 186 | ||
208 | } | 187 | } |
209 | 188 | ||
@@ -220,10 +199,10 @@ public class InternalProblemLexer extends Lexer { | |||
220 | try { | 199 | try { |
221 | int _type = T__19; | 200 | int _type = T__19; |
222 | int _channel = DEFAULT_TOKEN_CHANNEL; | 201 | int _channel = DEFAULT_TOKEN_CHANNEL; |
223 | // InternalProblem.g:18:7: ( ';' ) | 202 | // InternalProblem.g:17:7: ( '{' ) |
224 | // InternalProblem.g:18:9: ';' | 203 | // InternalProblem.g:17:9: '{' |
225 | { | 204 | { |
226 | match(';'); | 205 | match('{'); |
227 | 206 | ||
228 | } | 207 | } |
229 | 208 | ||
@@ -240,10 +219,10 @@ public class InternalProblemLexer extends Lexer { | |||
240 | try { | 219 | try { |
241 | int _type = T__20; | 220 | int _type = T__20; |
242 | int _channel = DEFAULT_TOKEN_CHANNEL; | 221 | int _channel = DEFAULT_TOKEN_CHANNEL; |
243 | // InternalProblem.g:19:7: ( '}' ) | 222 | // InternalProblem.g:18:7: ( ';' ) |
244 | // InternalProblem.g:19:9: '}' | 223 | // InternalProblem.g:18:9: ';' |
245 | { | 224 | { |
246 | match('}'); | 225 | match(';'); |
247 | 226 | ||
248 | } | 227 | } |
249 | 228 | ||
@@ -260,11 +239,10 @@ public class InternalProblemLexer extends Lexer { | |||
260 | try { | 239 | try { |
261 | int _type = T__21; | 240 | int _type = T__21; |
262 | int _channel = DEFAULT_TOKEN_CHANNEL; | 241 | int _channel = DEFAULT_TOKEN_CHANNEL; |
263 | // InternalProblem.g:20:7: ( 'enum' ) | 242 | // InternalProblem.g:19:7: ( '}' ) |
264 | // InternalProblem.g:20:9: 'enum' | 243 | // InternalProblem.g:19:9: '}' |
265 | { | 244 | { |
266 | match("enum"); | 245 | match('}'); |
267 | |||
268 | 246 | ||
269 | } | 247 | } |
270 | 248 | ||
@@ -281,10 +259,10 @@ public class InternalProblemLexer extends Lexer { | |||
281 | try { | 259 | try { |
282 | int _type = T__22; | 260 | int _type = T__22; |
283 | int _channel = DEFAULT_TOKEN_CHANNEL; | 261 | int _channel = DEFAULT_TOKEN_CHANNEL; |
284 | // InternalProblem.g:21:7: ( 'contains' ) | 262 | // InternalProblem.g:20:7: ( 'enum' ) |
285 | // InternalProblem.g:21:9: 'contains' | 263 | // InternalProblem.g:20:9: 'enum' |
286 | { | 264 | { |
287 | match("contains"); | 265 | match("enum"); |
288 | 266 | ||
289 | 267 | ||
290 | } | 268 | } |
@@ -302,10 +280,10 @@ public class InternalProblemLexer extends Lexer { | |||
302 | try { | 280 | try { |
303 | int _type = T__23; | 281 | int _type = T__23; |
304 | int _channel = DEFAULT_TOKEN_CHANNEL; | 282 | int _channel = DEFAULT_TOKEN_CHANNEL; |
305 | // InternalProblem.g:22:7: ( 'refers' ) | 283 | // InternalProblem.g:21:7: ( 'contains' ) |
306 | // InternalProblem.g:22:9: 'refers' | 284 | // InternalProblem.g:21:9: 'contains' |
307 | { | 285 | { |
308 | match("refers"); | 286 | match("contains"); |
309 | 287 | ||
310 | 288 | ||
311 | } | 289 | } |
@@ -323,10 +301,11 @@ public class InternalProblemLexer extends Lexer { | |||
323 | try { | 301 | try { |
324 | int _type = T__24; | 302 | int _type = T__24; |
325 | int _channel = DEFAULT_TOKEN_CHANNEL; | 303 | int _channel = DEFAULT_TOKEN_CHANNEL; |
326 | // InternalProblem.g:23:7: ( '[' ) | 304 | // InternalProblem.g:22:7: ( 'refers' ) |
327 | // InternalProblem.g:23:9: '[' | 305 | // InternalProblem.g:22:9: 'refers' |
328 | { | 306 | { |
329 | match('['); | 307 | match("refers"); |
308 | |||
330 | 309 | ||
331 | } | 310 | } |
332 | 311 | ||
@@ -343,10 +322,10 @@ public class InternalProblemLexer extends Lexer { | |||
343 | try { | 322 | try { |
344 | int _type = T__25; | 323 | int _type = T__25; |
345 | int _channel = DEFAULT_TOKEN_CHANNEL; | 324 | int _channel = DEFAULT_TOKEN_CHANNEL; |
346 | // InternalProblem.g:24:7: ( ']' ) | 325 | // InternalProblem.g:23:7: ( '[' ) |
347 | // InternalProblem.g:24:9: ']' | 326 | // InternalProblem.g:23:9: '[' |
348 | { | 327 | { |
349 | match(']'); | 328 | match('['); |
350 | 329 | ||
351 | } | 330 | } |
352 | 331 | ||
@@ -363,11 +342,10 @@ public class InternalProblemLexer extends Lexer { | |||
363 | try { | 342 | try { |
364 | int _type = T__26; | 343 | int _type = T__26; |
365 | int _channel = DEFAULT_TOKEN_CHANNEL; | 344 | int _channel = DEFAULT_TOKEN_CHANNEL; |
366 | // InternalProblem.g:25:7: ( 'opposite' ) | 345 | // InternalProblem.g:24:7: ( ']' ) |
367 | // InternalProblem.g:25:9: 'opposite' | 346 | // InternalProblem.g:24:9: ']' |
368 | { | 347 | { |
369 | match("opposite"); | 348 | match(']'); |
370 | |||
371 | 349 | ||
372 | } | 350 | } |
373 | 351 | ||
@@ -384,10 +362,10 @@ public class InternalProblemLexer extends Lexer { | |||
384 | try { | 362 | try { |
385 | int _type = T__27; | 363 | int _type = T__27; |
386 | int _channel = DEFAULT_TOKEN_CHANNEL; | 364 | int _channel = DEFAULT_TOKEN_CHANNEL; |
387 | // InternalProblem.g:26:7: ( 'error' ) | 365 | // InternalProblem.g:25:7: ( 'opposite' ) |
388 | // InternalProblem.g:26:9: 'error' | 366 | // InternalProblem.g:25:9: 'opposite' |
389 | { | 367 | { |
390 | match("error"); | 368 | match("opposite"); |
391 | 369 | ||
392 | 370 | ||
393 | } | 371 | } |
@@ -405,10 +383,10 @@ public class InternalProblemLexer extends Lexer { | |||
405 | try { | 383 | try { |
406 | int _type = T__28; | 384 | int _type = T__28; |
407 | int _channel = DEFAULT_TOKEN_CHANNEL; | 385 | int _channel = DEFAULT_TOKEN_CHANNEL; |
408 | // InternalProblem.g:27:7: ( 'pred' ) | 386 | // InternalProblem.g:26:7: ( 'error' ) |
409 | // InternalProblem.g:27:9: 'pred' | 387 | // InternalProblem.g:26:9: 'error' |
410 | { | 388 | { |
411 | match("pred"); | 389 | match("error"); |
412 | 390 | ||
413 | 391 | ||
414 | } | 392 | } |
@@ -426,10 +404,11 @@ public class InternalProblemLexer extends Lexer { | |||
426 | try { | 404 | try { |
427 | int _type = T__29; | 405 | int _type = T__29; |
428 | int _channel = DEFAULT_TOKEN_CHANNEL; | 406 | int _channel = DEFAULT_TOKEN_CHANNEL; |
429 | // InternalProblem.g:28:7: ( '(' ) | 407 | // InternalProblem.g:27:7: ( 'pred' ) |
430 | // InternalProblem.g:28:9: '(' | 408 | // InternalProblem.g:27:9: 'pred' |
431 | { | 409 | { |
432 | match('('); | 410 | match("pred"); |
411 | |||
433 | 412 | ||
434 | } | 413 | } |
435 | 414 | ||
@@ -446,10 +425,10 @@ public class InternalProblemLexer extends Lexer { | |||
446 | try { | 425 | try { |
447 | int _type = T__30; | 426 | int _type = T__30; |
448 | int _channel = DEFAULT_TOKEN_CHANNEL; | 427 | int _channel = DEFAULT_TOKEN_CHANNEL; |
449 | // InternalProblem.g:29:7: ( ')' ) | 428 | // InternalProblem.g:28:7: ( '(' ) |
450 | // InternalProblem.g:29:9: ')' | 429 | // InternalProblem.g:28:9: '(' |
451 | { | 430 | { |
452 | match(')'); | 431 | match('('); |
453 | 432 | ||
454 | } | 433 | } |
455 | 434 | ||
@@ -466,11 +445,10 @@ public class InternalProblemLexer extends Lexer { | |||
466 | try { | 445 | try { |
467 | int _type = T__31; | 446 | int _type = T__31; |
468 | int _channel = DEFAULT_TOKEN_CHANNEL; | 447 | int _channel = DEFAULT_TOKEN_CHANNEL; |
469 | // InternalProblem.g:30:7: ( ':-' ) | 448 | // InternalProblem.g:29:7: ( ')' ) |
470 | // InternalProblem.g:30:9: ':-' | 449 | // InternalProblem.g:29:9: ')' |
471 | { | 450 | { |
472 | match(":-"); | 451 | match(')'); |
473 | |||
474 | 452 | ||
475 | } | 453 | } |
476 | 454 | ||
@@ -487,10 +465,11 @@ public class InternalProblemLexer extends Lexer { | |||
487 | try { | 465 | try { |
488 | int _type = T__32; | 466 | int _type = T__32; |
489 | int _channel = DEFAULT_TOKEN_CHANNEL; | 467 | int _channel = DEFAULT_TOKEN_CHANNEL; |
490 | // InternalProblem.g:31:7: ( '!' ) | 468 | // InternalProblem.g:30:7: ( ':-' ) |
491 | // InternalProblem.g:31:9: '!' | 469 | // InternalProblem.g:30:9: ':-' |
492 | { | 470 | { |
493 | match('!'); | 471 | match(":-"); |
472 | |||
494 | 473 | ||
495 | } | 474 | } |
496 | 475 | ||
@@ -507,10 +486,10 @@ public class InternalProblemLexer extends Lexer { | |||
507 | try { | 486 | try { |
508 | int _type = T__33; | 487 | int _type = T__33; |
509 | int _channel = DEFAULT_TOKEN_CHANNEL; | 488 | int _channel = DEFAULT_TOKEN_CHANNEL; |
510 | // InternalProblem.g:32:7: ( '+' ) | 489 | // InternalProblem.g:31:7: ( '!' ) |
511 | // InternalProblem.g:32:9: '+' | 490 | // InternalProblem.g:31:9: '!' |
512 | { | 491 | { |
513 | match('+'); | 492 | match('!'); |
514 | 493 | ||
515 | } | 494 | } |
516 | 495 | ||
@@ -527,10 +506,10 @@ public class InternalProblemLexer extends Lexer { | |||
527 | try { | 506 | try { |
528 | int _type = T__34; | 507 | int _type = T__34; |
529 | int _channel = DEFAULT_TOKEN_CHANNEL; | 508 | int _channel = DEFAULT_TOKEN_CHANNEL; |
530 | // InternalProblem.g:33:7: ( ':' ) | 509 | // InternalProblem.g:32:7: ( '+' ) |
531 | // InternalProblem.g:33:9: ':' | 510 | // InternalProblem.g:32:9: '+' |
532 | { | 511 | { |
533 | match(':'); | 512 | match('+'); |
534 | 513 | ||
535 | } | 514 | } |
536 | 515 | ||
@@ -547,11 +526,10 @@ public class InternalProblemLexer extends Lexer { | |||
547 | try { | 526 | try { |
548 | int _type = T__35; | 527 | int _type = T__35; |
549 | int _channel = DEFAULT_TOKEN_CHANNEL; | 528 | int _channel = DEFAULT_TOKEN_CHANNEL; |
550 | // InternalProblem.g:34:7: ( 'scope' ) | 529 | // InternalProblem.g:33:7: ( ':' ) |
551 | // InternalProblem.g:34:9: 'scope' | 530 | // InternalProblem.g:33:9: ':' |
552 | { | 531 | { |
553 | match("scope"); | 532 | match(':'); |
554 | |||
555 | 533 | ||
556 | } | 534 | } |
557 | 535 | ||
@@ -568,10 +546,10 @@ public class InternalProblemLexer extends Lexer { | |||
568 | try { | 546 | try { |
569 | int _type = T__36; | 547 | int _type = T__36; |
570 | int _channel = DEFAULT_TOKEN_CHANNEL; | 548 | int _channel = DEFAULT_TOKEN_CHANNEL; |
571 | // InternalProblem.g:35:7: ( '+=' ) | 549 | // InternalProblem.g:34:7: ( 'scope' ) |
572 | // InternalProblem.g:35:9: '+=' | 550 | // InternalProblem.g:34:9: 'scope' |
573 | { | 551 | { |
574 | match("+="); | 552 | match("scope"); |
575 | 553 | ||
576 | 554 | ||
577 | } | 555 | } |
@@ -589,10 +567,11 @@ public class InternalProblemLexer extends Lexer { | |||
589 | try { | 567 | try { |
590 | int _type = T__37; | 568 | int _type = T__37; |
591 | int _channel = DEFAULT_TOKEN_CHANNEL; | 569 | int _channel = DEFAULT_TOKEN_CHANNEL; |
592 | // InternalProblem.g:36:7: ( '=' ) | 570 | // InternalProblem.g:35:7: ( '+=' ) |
593 | // InternalProblem.g:36:9: '=' | 571 | // InternalProblem.g:35:9: '+=' |
594 | { | 572 | { |
595 | match('='); | 573 | match("+="); |
574 | |||
596 | 575 | ||
597 | } | 576 | } |
598 | 577 | ||
@@ -609,11 +588,10 @@ public class InternalProblemLexer extends Lexer { | |||
609 | try { | 588 | try { |
610 | int _type = T__38; | 589 | int _type = T__38; |
611 | int _channel = DEFAULT_TOKEN_CHANNEL; | 590 | int _channel = DEFAULT_TOKEN_CHANNEL; |
612 | // InternalProblem.g:37:7: ( '..' ) | 591 | // InternalProblem.g:36:7: ( '=' ) |
613 | // InternalProblem.g:37:9: '..' | 592 | // InternalProblem.g:36:9: '=' |
614 | { | 593 | { |
615 | match(".."); | 594 | match('='); |
616 | |||
617 | 595 | ||
618 | } | 596 | } |
619 | 597 | ||
@@ -630,10 +608,11 @@ public class InternalProblemLexer extends Lexer { | |||
630 | try { | 608 | try { |
631 | int _type = T__39; | 609 | int _type = T__39; |
632 | int _channel = DEFAULT_TOKEN_CHANNEL; | 610 | int _channel = DEFAULT_TOKEN_CHANNEL; |
633 | // InternalProblem.g:38:7: ( '*' ) | 611 | // InternalProblem.g:37:7: ( '..' ) |
634 | // InternalProblem.g:38:9: '*' | 612 | // InternalProblem.g:37:9: '..' |
635 | { | 613 | { |
636 | match('*'); | 614 | match(".."); |
615 | |||
637 | 616 | ||
638 | } | 617 | } |
639 | 618 | ||
@@ -650,11 +629,10 @@ public class InternalProblemLexer extends Lexer { | |||
650 | try { | 629 | try { |
651 | int _type = T__40; | 630 | int _type = T__40; |
652 | int _channel = DEFAULT_TOKEN_CHANNEL; | 631 | int _channel = DEFAULT_TOKEN_CHANNEL; |
653 | // InternalProblem.g:39:7: ( '::' ) | 632 | // InternalProblem.g:38:7: ( '*' ) |
654 | // InternalProblem.g:39:9: '::' | 633 | // InternalProblem.g:38:9: '*' |
655 | { | 634 | { |
656 | match("::"); | 635 | match('*'); |
657 | |||
658 | 636 | ||
659 | } | 637 | } |
660 | 638 | ||
@@ -671,10 +649,10 @@ public class InternalProblemLexer extends Lexer { | |||
671 | try { | 649 | try { |
672 | int _type = T__41; | 650 | int _type = T__41; |
673 | int _channel = DEFAULT_TOKEN_CHANNEL; | 651 | int _channel = DEFAULT_TOKEN_CHANNEL; |
674 | // InternalProblem.g:40:7: ( 'true' ) | 652 | // InternalProblem.g:39:7: ( '::' ) |
675 | // InternalProblem.g:40:9: 'true' | 653 | // InternalProblem.g:39:9: '::' |
676 | { | 654 | { |
677 | match("true"); | 655 | match("::"); |
678 | 656 | ||
679 | 657 | ||
680 | } | 658 | } |
@@ -692,10 +670,10 @@ public class InternalProblemLexer extends Lexer { | |||
692 | try { | 670 | try { |
693 | int _type = T__42; | 671 | int _type = T__42; |
694 | int _channel = DEFAULT_TOKEN_CHANNEL; | 672 | int _channel = DEFAULT_TOKEN_CHANNEL; |
695 | // InternalProblem.g:41:7: ( 'false' ) | 673 | // InternalProblem.g:40:7: ( 'true' ) |
696 | // InternalProblem.g:41:9: 'false' | 674 | // InternalProblem.g:40:9: 'true' |
697 | { | 675 | { |
698 | match("false"); | 676 | match("true"); |
699 | 677 | ||
700 | 678 | ||
701 | } | 679 | } |
@@ -713,10 +691,11 @@ public class InternalProblemLexer extends Lexer { | |||
713 | try { | 691 | try { |
714 | int _type = T__43; | 692 | int _type = T__43; |
715 | int _channel = DEFAULT_TOKEN_CHANNEL; | 693 | int _channel = DEFAULT_TOKEN_CHANNEL; |
716 | // InternalProblem.g:42:7: ( 'e' ) | 694 | // InternalProblem.g:41:7: ( 'false' ) |
717 | // InternalProblem.g:42:9: 'e' | 695 | // InternalProblem.g:41:9: 'false' |
718 | { | 696 | { |
719 | match('e'); | 697 | match("false"); |
698 | |||
720 | 699 | ||
721 | } | 700 | } |
722 | 701 | ||
@@ -733,10 +712,10 @@ public class InternalProblemLexer extends Lexer { | |||
733 | try { | 712 | try { |
734 | int _type = T__44; | 713 | int _type = T__44; |
735 | int _channel = DEFAULT_TOKEN_CHANNEL; | 714 | int _channel = DEFAULT_TOKEN_CHANNEL; |
736 | // InternalProblem.g:43:7: ( 'E' ) | 715 | // InternalProblem.g:42:7: ( '-' ) |
737 | // InternalProblem.g:43:9: 'E' | 716 | // InternalProblem.g:42:9: '-' |
738 | { | 717 | { |
739 | match('E'); | 718 | match('-'); |
740 | 719 | ||
741 | } | 720 | } |
742 | 721 | ||
@@ -753,10 +732,11 @@ public class InternalProblemLexer extends Lexer { | |||
753 | try { | 732 | try { |
754 | int _type = T__45; | 733 | int _type = T__45; |
755 | int _channel = DEFAULT_TOKEN_CHANNEL; | 734 | int _channel = DEFAULT_TOKEN_CHANNEL; |
756 | // InternalProblem.g:44:7: ( '-' ) | 735 | // InternalProblem.g:43:7: ( 'unknown' ) |
757 | // InternalProblem.g:44:9: '-' | 736 | // InternalProblem.g:43:9: 'unknown' |
758 | { | 737 | { |
759 | match('-'); | 738 | match("unknown"); |
739 | |||
760 | 740 | ||
761 | } | 741 | } |
762 | 742 | ||
@@ -773,29 +753,8 @@ public class InternalProblemLexer extends Lexer { | |||
773 | try { | 753 | try { |
774 | int _type = T__46; | 754 | int _type = T__46; |
775 | int _channel = DEFAULT_TOKEN_CHANNEL; | 755 | int _channel = DEFAULT_TOKEN_CHANNEL; |
776 | // InternalProblem.g:45:7: ( 'unknown' ) | 756 | // InternalProblem.g:44:7: ( '?' ) |
777 | // InternalProblem.g:45:9: 'unknown' | 757 | // InternalProblem.g:44:9: '?' |
778 | { | ||
779 | match("unknown"); | ||
780 | |||
781 | |||
782 | } | ||
783 | |||
784 | state.type = _type; | ||
785 | state.channel = _channel; | ||
786 | } | ||
787 | finally { | ||
788 | } | ||
789 | } | ||
790 | // $ANTLR end "T__46" | ||
791 | |||
792 | // $ANTLR start "T__47" | ||
793 | public final void mT__47() throws RecognitionException { | ||
794 | try { | ||
795 | int _type = T__47; | ||
796 | int _channel = DEFAULT_TOKEN_CHANNEL; | ||
797 | // InternalProblem.g:46:7: ( '?' ) | ||
798 | // InternalProblem.g:46:9: '?' | ||
799 | { | 758 | { |
800 | match('?'); | 759 | match('?'); |
801 | 760 | ||
@@ -807,15 +766,15 @@ public class InternalProblemLexer extends Lexer { | |||
807 | finally { | 766 | finally { |
808 | } | 767 | } |
809 | } | 768 | } |
810 | // $ANTLR end "T__47" | 769 | // $ANTLR end "T__46" |
811 | 770 | ||
812 | // $ANTLR start "RULE_ID" | 771 | // $ANTLR start "RULE_ID" |
813 | public final void mRULE_ID() throws RecognitionException { | 772 | public final void mRULE_ID() throws RecognitionException { |
814 | try { | 773 | try { |
815 | int _type = RULE_ID; | 774 | int _type = RULE_ID; |
816 | int _channel = DEFAULT_TOKEN_CHANNEL; | 775 | int _channel = DEFAULT_TOKEN_CHANNEL; |
817 | // InternalProblem.g:2427:9: ( ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* ) | 776 | // InternalProblem.g:2374:9: ( ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* ) |
818 | // InternalProblem.g:2427:11: ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* | 777 | // InternalProblem.g:2374:11: ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* |
819 | { | 778 | { |
820 | if ( (input.LA(1)>='A' && input.LA(1)<='Z')||input.LA(1)=='_'||(input.LA(1)>='a' && input.LA(1)<='z') ) { | 779 | if ( (input.LA(1)>='A' && input.LA(1)<='Z')||input.LA(1)=='_'||(input.LA(1)>='a' && input.LA(1)<='z') ) { |
821 | input.consume(); | 780 | input.consume(); |
@@ -826,7 +785,7 @@ public class InternalProblemLexer extends Lexer { | |||
826 | recover(mse); | 785 | recover(mse); |
827 | throw mse;} | 786 | throw mse;} |
828 | 787 | ||
829 | // InternalProblem.g:2427:35: ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* | 788 | // InternalProblem.g:2374:35: ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* |
830 | loop1: | 789 | loop1: |
831 | do { | 790 | do { |
832 | int alt1=2; | 791 | int alt1=2; |
@@ -870,32 +829,88 @@ public class InternalProblemLexer extends Lexer { | |||
870 | } | 829 | } |
871 | // $ANTLR end "RULE_ID" | 830 | // $ANTLR end "RULE_ID" |
872 | 831 | ||
832 | // $ANTLR start "RULE_EXPONENTIAL" | ||
833 | public final void mRULE_EXPONENTIAL() throws RecognitionException { | ||
834 | try { | ||
835 | int _type = RULE_EXPONENTIAL; | ||
836 | int _channel = DEFAULT_TOKEN_CHANNEL; | ||
837 | // InternalProblem.g:2376:18: ( RULE_INT ( 'e' | 'E' ) ( '+' | '-' )? RULE_INT ) | ||
838 | // InternalProblem.g:2376:20: RULE_INT ( 'e' | 'E' ) ( '+' | '-' )? RULE_INT | ||
839 | { | ||
840 | mRULE_INT(); | ||
841 | if ( input.LA(1)=='E'||input.LA(1)=='e' ) { | ||
842 | input.consume(); | ||
843 | |||
844 | } | ||
845 | else { | ||
846 | MismatchedSetException mse = new MismatchedSetException(null,input); | ||
847 | recover(mse); | ||
848 | throw mse;} | ||
849 | |||
850 | // InternalProblem.g:2376:39: ( '+' | '-' )? | ||
851 | int alt2=2; | ||
852 | int LA2_0 = input.LA(1); | ||
853 | |||
854 | if ( (LA2_0=='+'||LA2_0=='-') ) { | ||
855 | alt2=1; | ||
856 | } | ||
857 | switch (alt2) { | ||
858 | case 1 : | ||
859 | // InternalProblem.g: | ||
860 | { | ||
861 | if ( input.LA(1)=='+'||input.LA(1)=='-' ) { | ||
862 | input.consume(); | ||
863 | |||
864 | } | ||
865 | else { | ||
866 | MismatchedSetException mse = new MismatchedSetException(null,input); | ||
867 | recover(mse); | ||
868 | throw mse;} | ||
869 | |||
870 | |||
871 | } | ||
872 | break; | ||
873 | |||
874 | } | ||
875 | |||
876 | mRULE_INT(); | ||
877 | |||
878 | } | ||
879 | |||
880 | state.type = _type; | ||
881 | state.channel = _channel; | ||
882 | } | ||
883 | finally { | ||
884 | } | ||
885 | } | ||
886 | // $ANTLR end "RULE_EXPONENTIAL" | ||
887 | |||
873 | // $ANTLR start "RULE_STRING" | 888 | // $ANTLR start "RULE_STRING" |
874 | public final void mRULE_STRING() throws RecognitionException { | 889 | public final void mRULE_STRING() throws RecognitionException { |
875 | try { | 890 | try { |
876 | int _type = RULE_STRING; | 891 | int _type = RULE_STRING; |
877 | int _channel = DEFAULT_TOKEN_CHANNEL; | 892 | int _channel = DEFAULT_TOKEN_CHANNEL; |
878 | // InternalProblem.g:2429:13: ( '\"' ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* '\"' ) | 893 | // InternalProblem.g:2378:13: ( '\"' ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* '\"' ) |
879 | // InternalProblem.g:2429:15: '\"' ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | 894 | // InternalProblem.g:2378:15: '\"' ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* '\"' |
880 | { | 895 | { |
881 | match('\"'); | 896 | match('\"'); |
882 | // InternalProblem.g:2429:19: ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* | 897 | // InternalProblem.g:2378:19: ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* |
883 | loop2: | 898 | loop3: |
884 | do { | 899 | do { |
885 | int alt2=3; | 900 | int alt3=3; |
886 | int LA2_0 = input.LA(1); | 901 | int LA3_0 = input.LA(1); |
887 | 902 | ||
888 | if ( (LA2_0=='\\') ) { | 903 | if ( (LA3_0=='\\') ) { |
889 | alt2=1; | 904 | alt3=1; |
890 | } | 905 | } |
891 | else if ( ((LA2_0>='\u0000' && LA2_0<='!')||(LA2_0>='#' && LA2_0<='[')||(LA2_0>=']' && LA2_0<='\uFFFF')) ) { | 906 | else if ( ((LA3_0>='\u0000' && LA3_0<='!')||(LA3_0>='#' && LA3_0<='[')||(LA3_0>=']' && LA3_0<='\uFFFF')) ) { |
892 | alt2=2; | 907 | alt3=2; |
893 | } | 908 | } |
894 | 909 | ||
895 | 910 | ||
896 | switch (alt2) { | 911 | switch (alt3) { |
897 | case 1 : | 912 | case 1 : |
898 | // InternalProblem.g:2429:20: '\\\\' . | 913 | // InternalProblem.g:2378:20: '\\\\' . |
899 | { | 914 | { |
900 | match('\\'); | 915 | match('\\'); |
901 | matchAny(); | 916 | matchAny(); |
@@ -903,7 +918,7 @@ public class InternalProblemLexer extends Lexer { | |||
903 | } | 918 | } |
904 | break; | 919 | break; |
905 | case 2 : | 920 | case 2 : |
906 | // InternalProblem.g:2429:27: ~ ( ( '\\\\' | '\"' ) ) | 921 | // InternalProblem.g:2378:27: ~ ( ( '\\\\' | '\"' ) ) |
907 | { | 922 | { |
908 | if ( (input.LA(1)>='\u0000' && input.LA(1)<='!')||(input.LA(1)>='#' && input.LA(1)<='[')||(input.LA(1)>=']' && input.LA(1)<='\uFFFF') ) { | 923 | if ( (input.LA(1)>='\u0000' && input.LA(1)<='!')||(input.LA(1)>='#' && input.LA(1)<='[')||(input.LA(1)>=']' && input.LA(1)<='\uFFFF') ) { |
909 | input.consume(); | 924 | input.consume(); |
@@ -919,7 +934,7 @@ public class InternalProblemLexer extends Lexer { | |||
919 | break; | 934 | break; |
920 | 935 | ||
921 | default : | 936 | default : |
922 | break loop2; | 937 | break loop3; |
923 | } | 938 | } |
924 | } while (true); | 939 | } while (true); |
925 | 940 | ||
@@ -940,27 +955,27 @@ public class InternalProblemLexer extends Lexer { | |||
940 | try { | 955 | try { |
941 | int _type = RULE_QUOTED_ID; | 956 | int _type = RULE_QUOTED_ID; |
942 | int _channel = DEFAULT_TOKEN_CHANNEL; | 957 | int _channel = DEFAULT_TOKEN_CHANNEL; |
943 | // InternalProblem.g:2431:16: ( '\\'' ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' ) | 958 | // InternalProblem.g:2380:16: ( '\\'' ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' ) |
944 | // InternalProblem.g:2431:18: '\\'' ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' | 959 | // InternalProblem.g:2380:18: '\\'' ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' |
945 | { | 960 | { |
946 | match('\''); | 961 | match('\''); |
947 | // InternalProblem.g:2431:23: ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* | 962 | // InternalProblem.g:2380:23: ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* |
948 | loop3: | 963 | loop4: |
949 | do { | 964 | do { |
950 | int alt3=3; | 965 | int alt4=3; |
951 | int LA3_0 = input.LA(1); | 966 | int LA4_0 = input.LA(1); |
952 | 967 | ||
953 | if ( (LA3_0=='\\') ) { | 968 | if ( (LA4_0=='\\') ) { |
954 | alt3=1; | 969 | alt4=1; |
955 | } | 970 | } |
956 | else if ( ((LA3_0>='\u0000' && LA3_0<='&')||(LA3_0>='(' && LA3_0<='[')||(LA3_0>=']' && LA3_0<='\uFFFF')) ) { | 971 | else if ( ((LA4_0>='\u0000' && LA4_0<='&')||(LA4_0>='(' && LA4_0<='[')||(LA4_0>=']' && LA4_0<='\uFFFF')) ) { |
957 | alt3=2; | 972 | alt4=2; |
958 | } | 973 | } |
959 | 974 | ||
960 | 975 | ||
961 | switch (alt3) { | 976 | switch (alt4) { |
962 | case 1 : | 977 | case 1 : |
963 | // InternalProblem.g:2431:24: '\\\\' . | 978 | // InternalProblem.g:2380:24: '\\\\' . |
964 | { | 979 | { |
965 | match('\\'); | 980 | match('\\'); |
966 | matchAny(); | 981 | matchAny(); |
@@ -968,7 +983,7 @@ public class InternalProblemLexer extends Lexer { | |||
968 | } | 983 | } |
969 | break; | 984 | break; |
970 | case 2 : | 985 | case 2 : |
971 | // InternalProblem.g:2431:31: ~ ( ( '\\\\' | '\\'' ) ) | 986 | // InternalProblem.g:2380:31: ~ ( ( '\\\\' | '\\'' ) ) |
972 | { | 987 | { |
973 | if ( (input.LA(1)>='\u0000' && input.LA(1)<='&')||(input.LA(1)>='(' && input.LA(1)<='[')||(input.LA(1)>=']' && input.LA(1)<='\uFFFF') ) { | 988 | if ( (input.LA(1)>='\u0000' && input.LA(1)<='&')||(input.LA(1)>='(' && input.LA(1)<='[')||(input.LA(1)>=']' && input.LA(1)<='\uFFFF') ) { |
974 | input.consume(); | 989 | input.consume(); |
@@ -984,7 +999,7 @@ public class InternalProblemLexer extends Lexer { | |||
984 | break; | 999 | break; |
985 | 1000 | ||
986 | default : | 1001 | default : |
987 | break loop3; | 1002 | break loop4; |
988 | } | 1003 | } |
989 | } while (true); | 1004 | } while (true); |
990 | 1005 | ||
@@ -1005,35 +1020,35 @@ public class InternalProblemLexer extends Lexer { | |||
1005 | try { | 1020 | try { |
1006 | int _type = RULE_SL_COMMENT; | 1021 | int _type = RULE_SL_COMMENT; |
1007 | int _channel = DEFAULT_TOKEN_CHANNEL; | 1022 | int _channel = DEFAULT_TOKEN_CHANNEL; |
1008 | // InternalProblem.g:2433:17: ( ( '%' | '//' ) (~ ( ( '\\n' | '\\r' ) ) )* ( ( '\\r' )? '\\n' )? ) | 1023 | // InternalProblem.g:2382:17: ( ( '%' | '//' ) (~ ( ( '\\n' | '\\r' ) ) )* ( ( '\\r' )? '\\n' )? ) |
1009 | // InternalProblem.g:2433:19: ( '%' | '//' ) (~ ( ( '\\n' | '\\r' ) ) )* ( ( '\\r' )? '\\n' )? | 1024 | // InternalProblem.g:2382:19: ( '%' | '//' ) (~ ( ( '\\n' | '\\r' ) ) )* ( ( '\\r' )? '\\n' )? |
1010 | { | 1025 | { |
1011 | // InternalProblem.g:2433:19: ( '%' | '//' ) | 1026 | // InternalProblem.g:2382:19: ( '%' | '//' ) |
1012 | int alt4=2; | 1027 | int alt5=2; |
1013 | int LA4_0 = input.LA(1); | 1028 | int LA5_0 = input.LA(1); |
1014 | 1029 | ||
1015 | if ( (LA4_0=='%') ) { | 1030 | if ( (LA5_0=='%') ) { |
1016 | alt4=1; | 1031 | alt5=1; |
1017 | } | 1032 | } |
1018 | else if ( (LA4_0=='/') ) { | 1033 | else if ( (LA5_0=='/') ) { |
1019 | alt4=2; | 1034 | alt5=2; |
1020 | } | 1035 | } |
1021 | else { | 1036 | else { |
1022 | NoViableAltException nvae = | 1037 | NoViableAltException nvae = |
1023 | new NoViableAltException("", 4, 0, input); | 1038 | new NoViableAltException("", 5, 0, input); |
1024 | 1039 | ||
1025 | throw nvae; | 1040 | throw nvae; |
1026 | } | 1041 | } |
1027 | switch (alt4) { | 1042 | switch (alt5) { |
1028 | case 1 : | 1043 | case 1 : |
1029 | // InternalProblem.g:2433:20: '%' | 1044 | // InternalProblem.g:2382:20: '%' |
1030 | { | 1045 | { |
1031 | match('%'); | 1046 | match('%'); |
1032 | 1047 | ||
1033 | } | 1048 | } |
1034 | break; | 1049 | break; |
1035 | case 2 : | 1050 | case 2 : |
1036 | // InternalProblem.g:2433:24: '//' | 1051 | // InternalProblem.g:2382:24: '//' |
1037 | { | 1052 | { |
1038 | match("//"); | 1053 | match("//"); |
1039 | 1054 | ||
@@ -1043,20 +1058,20 @@ public class InternalProblemLexer extends Lexer { | |||
1043 | 1058 | ||
1044 | } | 1059 | } |
1045 | 1060 | ||
1046 | // InternalProblem.g:2433:30: (~ ( ( '\\n' | '\\r' ) ) )* | 1061 | // InternalProblem.g:2382:30: (~ ( ( '\\n' | '\\r' ) ) )* |
1047 | loop5: | 1062 | loop6: |
1048 | do { | 1063 | do { |
1049 | int alt5=2; | 1064 | int alt6=2; |
1050 | int LA5_0 = input.LA(1); | 1065 | int LA6_0 = input.LA(1); |
1051 | 1066 | ||
1052 | if ( ((LA5_0>='\u0000' && LA5_0<='\t')||(LA5_0>='\u000B' && LA5_0<='\f')||(LA5_0>='\u000E' && LA5_0<='\uFFFF')) ) { | 1067 | if ( ((LA6_0>='\u0000' && LA6_0<='\t')||(LA6_0>='\u000B' && LA6_0<='\f')||(LA6_0>='\u000E' && LA6_0<='\uFFFF')) ) { |
1053 | alt5=1; | 1068 | alt6=1; |
1054 | } | 1069 | } |
1055 | 1070 | ||
1056 | 1071 | ||
1057 | switch (alt5) { | 1072 | switch (alt6) { |
1058 | case 1 : | 1073 | case 1 : |
1059 | // InternalProblem.g:2433:30: ~ ( ( '\\n' | '\\r' ) ) | 1074 | // InternalProblem.g:2382:30: ~ ( ( '\\n' | '\\r' ) ) |
1060 | { | 1075 | { |
1061 | if ( (input.LA(1)>='\u0000' && input.LA(1)<='\t')||(input.LA(1)>='\u000B' && input.LA(1)<='\f')||(input.LA(1)>='\u000E' && input.LA(1)<='\uFFFF') ) { | 1076 | if ( (input.LA(1)>='\u0000' && input.LA(1)<='\t')||(input.LA(1)>='\u000B' && input.LA(1)<='\f')||(input.LA(1)>='\u000E' && input.LA(1)<='\uFFFF') ) { |
1062 | input.consume(); | 1077 | input.consume(); |
@@ -1072,31 +1087,31 @@ public class InternalProblemLexer extends Lexer { | |||
1072 | break; | 1087 | break; |
1073 | 1088 | ||
1074 | default : | 1089 | default : |
1075 | break loop5; | 1090 | break loop6; |
1076 | } | 1091 | } |
1077 | } while (true); | 1092 | } while (true); |
1078 | 1093 | ||
1079 | // InternalProblem.g:2433:46: ( ( '\\r' )? '\\n' )? | 1094 | // InternalProblem.g:2382:46: ( ( '\\r' )? '\\n' )? |
1080 | int alt7=2; | 1095 | int alt8=2; |
1081 | int LA7_0 = input.LA(1); | 1096 | int LA8_0 = input.LA(1); |
1082 | 1097 | ||
1083 | if ( (LA7_0=='\n'||LA7_0=='\r') ) { | 1098 | if ( (LA8_0=='\n'||LA8_0=='\r') ) { |
1084 | alt7=1; | 1099 | alt8=1; |
1085 | } | 1100 | } |
1086 | switch (alt7) { | 1101 | switch (alt8) { |
1087 | case 1 : | 1102 | case 1 : |
1088 | // InternalProblem.g:2433:47: ( '\\r' )? '\\n' | 1103 | // InternalProblem.g:2382:47: ( '\\r' )? '\\n' |
1089 | { | 1104 | { |
1090 | // InternalProblem.g:2433:47: ( '\\r' )? | 1105 | // InternalProblem.g:2382:47: ( '\\r' )? |
1091 | int alt6=2; | 1106 | int alt7=2; |
1092 | int LA6_0 = input.LA(1); | 1107 | int LA7_0 = input.LA(1); |
1093 | 1108 | ||
1094 | if ( (LA6_0=='\r') ) { | 1109 | if ( (LA7_0=='\r') ) { |
1095 | alt6=1; | 1110 | alt7=1; |
1096 | } | 1111 | } |
1097 | switch (alt6) { | 1112 | switch (alt7) { |
1098 | case 1 : | 1113 | case 1 : |
1099 | // InternalProblem.g:2433:47: '\\r' | 1114 | // InternalProblem.g:2382:47: '\\r' |
1100 | { | 1115 | { |
1101 | match('\r'); | 1116 | match('\r'); |
1102 | 1117 | ||
@@ -1128,24 +1143,24 @@ public class InternalProblemLexer extends Lexer { | |||
1128 | try { | 1143 | try { |
1129 | int _type = RULE_INT; | 1144 | int _type = RULE_INT; |
1130 | int _channel = DEFAULT_TOKEN_CHANNEL; | 1145 | int _channel = DEFAULT_TOKEN_CHANNEL; |
1131 | // InternalProblem.g:2435:10: ( ( '0' .. '9' )+ ) | 1146 | // InternalProblem.g:2384:10: ( ( '0' .. '9' )+ ) |
1132 | // InternalProblem.g:2435:12: ( '0' .. '9' )+ | 1147 | // InternalProblem.g:2384:12: ( '0' .. '9' )+ |
1133 | { | 1148 | { |
1134 | // InternalProblem.g:2435:12: ( '0' .. '9' )+ | 1149 | // InternalProblem.g:2384:12: ( '0' .. '9' )+ |
1135 | int cnt8=0; | 1150 | int cnt9=0; |
1136 | loop8: | 1151 | loop9: |
1137 | do { | 1152 | do { |
1138 | int alt8=2; | 1153 | int alt9=2; |
1139 | int LA8_0 = input.LA(1); | 1154 | int LA9_0 = input.LA(1); |
1140 | 1155 | ||
1141 | if ( ((LA8_0>='0' && LA8_0<='9')) ) { | 1156 | if ( ((LA9_0>='0' && LA9_0<='9')) ) { |
1142 | alt8=1; | 1157 | alt9=1; |
1143 | } | 1158 | } |
1144 | 1159 | ||
1145 | 1160 | ||
1146 | switch (alt8) { | 1161 | switch (alt9) { |
1147 | case 1 : | 1162 | case 1 : |
1148 | // InternalProblem.g:2435:13: '0' .. '9' | 1163 | // InternalProblem.g:2384:13: '0' .. '9' |
1149 | { | 1164 | { |
1150 | matchRange('0','9'); | 1165 | matchRange('0','9'); |
1151 | 1166 | ||
@@ -1153,12 +1168,12 @@ public class InternalProblemLexer extends Lexer { | |||
1153 | break; | 1168 | break; |
1154 | 1169 | ||
1155 | default : | 1170 | default : |
1156 | if ( cnt8 >= 1 ) break loop8; | 1171 | if ( cnt9 >= 1 ) break loop9; |
1157 | EarlyExitException eee = | 1172 | EarlyExitException eee = |
1158 | new EarlyExitException(8, input); | 1173 | new EarlyExitException(9, input); |
1159 | throw eee; | 1174 | throw eee; |
1160 | } | 1175 | } |
1161 | cnt8++; | 1176 | cnt9++; |
1162 | } while (true); | 1177 | } while (true); |
1163 | 1178 | ||
1164 | 1179 | ||
@@ -1177,37 +1192,37 @@ public class InternalProblemLexer extends Lexer { | |||
1177 | try { | 1192 | try { |
1178 | int _type = RULE_ML_COMMENT; | 1193 | int _type = RULE_ML_COMMENT; |
1179 | int _channel = DEFAULT_TOKEN_CHANNEL; | 1194 | int _channel = DEFAULT_TOKEN_CHANNEL; |
1180 | // InternalProblem.g:2437:17: ( '/*' ( options {greedy=false; } : . )* '*/' ) | 1195 | // InternalProblem.g:2386:17: ( '/*' ( options {greedy=false; } : . )* '*/' ) |
1181 | // InternalProblem.g:2437:19: '/*' ( options {greedy=false; } : . )* '*/' | 1196 | // InternalProblem.g:2386:19: '/*' ( options {greedy=false; } : . )* '*/' |
1182 | { | 1197 | { |
1183 | match("/*"); | 1198 | match("/*"); |
1184 | 1199 | ||
1185 | // InternalProblem.g:2437:24: ( options {greedy=false; } : . )* | 1200 | // InternalProblem.g:2386:24: ( options {greedy=false; } : . )* |
1186 | loop9: | 1201 | loop10: |
1187 | do { | 1202 | do { |
1188 | int alt9=2; | 1203 | int alt10=2; |
1189 | int LA9_0 = input.LA(1); | 1204 | int LA10_0 = input.LA(1); |
1190 | 1205 | ||
1191 | if ( (LA9_0=='*') ) { | 1206 | if ( (LA10_0=='*') ) { |
1192 | int LA9_1 = input.LA(2); | 1207 | int LA10_1 = input.LA(2); |
1193 | 1208 | ||
1194 | if ( (LA9_1=='/') ) { | 1209 | if ( (LA10_1=='/') ) { |
1195 | alt9=2; | 1210 | alt10=2; |
1196 | } | 1211 | } |
1197 | else if ( ((LA9_1>='\u0000' && LA9_1<='.')||(LA9_1>='0' && LA9_1<='\uFFFF')) ) { | 1212 | else if ( ((LA10_1>='\u0000' && LA10_1<='.')||(LA10_1>='0' && LA10_1<='\uFFFF')) ) { |
1198 | alt9=1; | 1213 | alt10=1; |
1199 | } | 1214 | } |
1200 | 1215 | ||
1201 | 1216 | ||
1202 | } | 1217 | } |
1203 | else if ( ((LA9_0>='\u0000' && LA9_0<=')')||(LA9_0>='+' && LA9_0<='\uFFFF')) ) { | 1218 | else if ( ((LA10_0>='\u0000' && LA10_0<=')')||(LA10_0>='+' && LA10_0<='\uFFFF')) ) { |
1204 | alt9=1; | 1219 | alt10=1; |
1205 | } | 1220 | } |
1206 | 1221 | ||
1207 | 1222 | ||
1208 | switch (alt9) { | 1223 | switch (alt10) { |
1209 | case 1 : | 1224 | case 1 : |
1210 | // InternalProblem.g:2437:52: . | 1225 | // InternalProblem.g:2386:52: . |
1211 | { | 1226 | { |
1212 | matchAny(); | 1227 | matchAny(); |
1213 | 1228 | ||
@@ -1215,7 +1230,7 @@ public class InternalProblemLexer extends Lexer { | |||
1215 | break; | 1230 | break; |
1216 | 1231 | ||
1217 | default : | 1232 | default : |
1218 | break loop9; | 1233 | break loop10; |
1219 | } | 1234 | } |
1220 | } while (true); | 1235 | } while (true); |
1221 | 1236 | ||
@@ -1237,22 +1252,22 @@ public class InternalProblemLexer extends Lexer { | |||
1237 | try { | 1252 | try { |
1238 | int _type = RULE_WS; | 1253 | int _type = RULE_WS; |
1239 | int _channel = DEFAULT_TOKEN_CHANNEL; | 1254 | int _channel = DEFAULT_TOKEN_CHANNEL; |
1240 | // InternalProblem.g:2439:9: ( ( ' ' | '\\t' | '\\r' | '\\n' )+ ) | 1255 | // InternalProblem.g:2388:9: ( ( ' ' | '\\t' | '\\r' | '\\n' )+ ) |
1241 | // InternalProblem.g:2439:11: ( ' ' | '\\t' | '\\r' | '\\n' )+ | 1256 | // InternalProblem.g:2388:11: ( ' ' | '\\t' | '\\r' | '\\n' )+ |
1242 | { | 1257 | { |
1243 | // InternalProblem.g:2439:11: ( ' ' | '\\t' | '\\r' | '\\n' )+ | 1258 | // InternalProblem.g:2388:11: ( ' ' | '\\t' | '\\r' | '\\n' )+ |
1244 | int cnt10=0; | 1259 | int cnt11=0; |
1245 | loop10: | 1260 | loop11: |
1246 | do { | 1261 | do { |
1247 | int alt10=2; | 1262 | int alt11=2; |
1248 | int LA10_0 = input.LA(1); | 1263 | int LA11_0 = input.LA(1); |
1249 | 1264 | ||
1250 | if ( ((LA10_0>='\t' && LA10_0<='\n')||LA10_0=='\r'||LA10_0==' ') ) { | 1265 | if ( ((LA11_0>='\t' && LA11_0<='\n')||LA11_0=='\r'||LA11_0==' ') ) { |
1251 | alt10=1; | 1266 | alt11=1; |
1252 | } | 1267 | } |
1253 | 1268 | ||
1254 | 1269 | ||
1255 | switch (alt10) { | 1270 | switch (alt11) { |
1256 | case 1 : | 1271 | case 1 : |
1257 | // InternalProblem.g: | 1272 | // InternalProblem.g: |
1258 | { | 1273 | { |
@@ -1270,12 +1285,12 @@ public class InternalProblemLexer extends Lexer { | |||
1270 | break; | 1285 | break; |
1271 | 1286 | ||
1272 | default : | 1287 | default : |
1273 | if ( cnt10 >= 1 ) break loop10; | 1288 | if ( cnt11 >= 1 ) break loop11; |
1274 | EarlyExitException eee = | 1289 | EarlyExitException eee = |
1275 | new EarlyExitException(10, input); | 1290 | new EarlyExitException(11, input); |
1276 | throw eee; | 1291 | throw eee; |
1277 | } | 1292 | } |
1278 | cnt10++; | 1293 | cnt11++; |
1279 | } while (true); | 1294 | } while (true); |
1280 | 1295 | ||
1281 | 1296 | ||
@@ -1294,8 +1309,8 @@ public class InternalProblemLexer extends Lexer { | |||
1294 | try { | 1309 | try { |
1295 | int _type = RULE_ANY_OTHER; | 1310 | int _type = RULE_ANY_OTHER; |
1296 | int _channel = DEFAULT_TOKEN_CHANNEL; | 1311 | int _channel = DEFAULT_TOKEN_CHANNEL; |
1297 | // InternalProblem.g:2441:16: ( . ) | 1312 | // InternalProblem.g:2390:16: ( . ) |
1298 | // InternalProblem.g:2441:18: . | 1313 | // InternalProblem.g:2390:18: . |
1299 | { | 1314 | { |
1300 | matchAny(); | 1315 | matchAny(); |
1301 | 1316 | ||
@@ -1310,313 +1325,306 @@ public class InternalProblemLexer extends Lexer { | |||
1310 | // $ANTLR end "RULE_ANY_OTHER" | 1325 | // $ANTLR end "RULE_ANY_OTHER" |
1311 | 1326 | ||
1312 | public void mTokens() throws RecognitionException { | 1327 | public void mTokens() throws RecognitionException { |
1313 | // InternalProblem.g:1:8: ( T__12 | T__13 | T__14 | T__15 | T__16 | T__17 | T__18 | T__19 | T__20 | T__21 | T__22 | T__23 | T__24 | T__25 | T__26 | T__27 | T__28 | T__29 | T__30 | T__31 | T__32 | T__33 | T__34 | T__35 | T__36 | T__37 | T__38 | T__39 | T__40 | T__41 | T__42 | T__43 | T__44 | T__45 | T__46 | T__47 | RULE_ID | RULE_STRING | RULE_QUOTED_ID | RULE_SL_COMMENT | RULE_INT | RULE_ML_COMMENT | RULE_WS | RULE_ANY_OTHER ) | 1328 | // InternalProblem.g:1:8: ( T__13 | T__14 | T__15 | T__16 | T__17 | T__18 | T__19 | T__20 | T__21 | T__22 | T__23 | T__24 | T__25 | T__26 | T__27 | T__28 | T__29 | T__30 | T__31 | T__32 | T__33 | T__34 | T__35 | T__36 | T__37 | T__38 | T__39 | T__40 | T__41 | T__42 | T__43 | T__44 | T__45 | T__46 | RULE_ID | RULE_EXPONENTIAL | RULE_STRING | RULE_QUOTED_ID | RULE_SL_COMMENT | RULE_INT | RULE_ML_COMMENT | RULE_WS | RULE_ANY_OTHER ) |
1314 | int alt11=44; | 1329 | int alt12=43; |
1315 | alt11 = dfa11.predict(input); | 1330 | alt12 = dfa12.predict(input); |
1316 | switch (alt11) { | 1331 | switch (alt12) { |
1317 | case 1 : | 1332 | case 1 : |
1318 | // InternalProblem.g:1:10: T__12 | 1333 | // InternalProblem.g:1:10: T__13 |
1319 | { | 1334 | { |
1320 | mT__12(); | 1335 | mT__13(); |
1321 | 1336 | ||
1322 | } | 1337 | } |
1323 | break; | 1338 | break; |
1324 | case 2 : | 1339 | case 2 : |
1325 | // InternalProblem.g:1:16: T__13 | 1340 | // InternalProblem.g:1:16: T__14 |
1326 | { | 1341 | { |
1327 | mT__13(); | 1342 | mT__14(); |
1328 | 1343 | ||
1329 | } | 1344 | } |
1330 | break; | 1345 | break; |
1331 | case 3 : | 1346 | case 3 : |
1332 | // InternalProblem.g:1:22: T__14 | 1347 | // InternalProblem.g:1:22: T__15 |
1333 | { | 1348 | { |
1334 | mT__14(); | 1349 | mT__15(); |
1335 | 1350 | ||
1336 | } | 1351 | } |
1337 | break; | 1352 | break; |
1338 | case 4 : | 1353 | case 4 : |
1339 | // InternalProblem.g:1:28: T__15 | 1354 | // InternalProblem.g:1:28: T__16 |
1340 | { | 1355 | { |
1341 | mT__15(); | 1356 | mT__16(); |
1342 | 1357 | ||
1343 | } | 1358 | } |
1344 | break; | 1359 | break; |
1345 | case 5 : | 1360 | case 5 : |
1346 | // InternalProblem.g:1:34: T__16 | 1361 | // InternalProblem.g:1:34: T__17 |
1347 | { | 1362 | { |
1348 | mT__16(); | 1363 | mT__17(); |
1349 | 1364 | ||
1350 | } | 1365 | } |
1351 | break; | 1366 | break; |
1352 | case 6 : | 1367 | case 6 : |
1353 | // InternalProblem.g:1:40: T__17 | 1368 | // InternalProblem.g:1:40: T__18 |
1354 | { | 1369 | { |
1355 | mT__17(); | 1370 | mT__18(); |
1356 | 1371 | ||
1357 | } | 1372 | } |
1358 | break; | 1373 | break; |
1359 | case 7 : | 1374 | case 7 : |
1360 | // InternalProblem.g:1:46: T__18 | 1375 | // InternalProblem.g:1:46: T__19 |
1361 | { | 1376 | { |
1362 | mT__18(); | 1377 | mT__19(); |
1363 | 1378 | ||
1364 | } | 1379 | } |
1365 | break; | 1380 | break; |
1366 | case 8 : | 1381 | case 8 : |
1367 | // InternalProblem.g:1:52: T__19 | 1382 | // InternalProblem.g:1:52: T__20 |
1368 | { | 1383 | { |
1369 | mT__19(); | 1384 | mT__20(); |
1370 | 1385 | ||
1371 | } | 1386 | } |
1372 | break; | 1387 | break; |
1373 | case 9 : | 1388 | case 9 : |
1374 | // InternalProblem.g:1:58: T__20 | 1389 | // InternalProblem.g:1:58: T__21 |
1375 | { | 1390 | { |
1376 | mT__20(); | 1391 | mT__21(); |
1377 | 1392 | ||
1378 | } | 1393 | } |
1379 | break; | 1394 | break; |
1380 | case 10 : | 1395 | case 10 : |
1381 | // InternalProblem.g:1:64: T__21 | 1396 | // InternalProblem.g:1:64: T__22 |
1382 | { | 1397 | { |
1383 | mT__21(); | 1398 | mT__22(); |
1384 | 1399 | ||
1385 | } | 1400 | } |
1386 | break; | 1401 | break; |
1387 | case 11 : | 1402 | case 11 : |
1388 | // InternalProblem.g:1:70: T__22 | 1403 | // InternalProblem.g:1:70: T__23 |
1389 | { | 1404 | { |
1390 | mT__22(); | 1405 | mT__23(); |
1391 | 1406 | ||
1392 | } | 1407 | } |
1393 | break; | 1408 | break; |
1394 | case 12 : | 1409 | case 12 : |
1395 | // InternalProblem.g:1:76: T__23 | 1410 | // InternalProblem.g:1:76: T__24 |
1396 | { | 1411 | { |
1397 | mT__23(); | 1412 | mT__24(); |
1398 | 1413 | ||
1399 | } | 1414 | } |
1400 | break; | 1415 | break; |
1401 | case 13 : | 1416 | case 13 : |
1402 | // InternalProblem.g:1:82: T__24 | 1417 | // InternalProblem.g:1:82: T__25 |
1403 | { | 1418 | { |
1404 | mT__24(); | 1419 | mT__25(); |
1405 | 1420 | ||
1406 | } | 1421 | } |
1407 | break; | 1422 | break; |
1408 | case 14 : | 1423 | case 14 : |
1409 | // InternalProblem.g:1:88: T__25 | 1424 | // InternalProblem.g:1:88: T__26 |
1410 | { | 1425 | { |
1411 | mT__25(); | 1426 | mT__26(); |
1412 | 1427 | ||
1413 | } | 1428 | } |
1414 | break; | 1429 | break; |
1415 | case 15 : | 1430 | case 15 : |
1416 | // InternalProblem.g:1:94: T__26 | 1431 | // InternalProblem.g:1:94: T__27 |
1417 | { | 1432 | { |
1418 | mT__26(); | 1433 | mT__27(); |
1419 | 1434 | ||
1420 | } | 1435 | } |
1421 | break; | 1436 | break; |
1422 | case 16 : | 1437 | case 16 : |
1423 | // InternalProblem.g:1:100: T__27 | 1438 | // InternalProblem.g:1:100: T__28 |
1424 | { | 1439 | { |
1425 | mT__27(); | 1440 | mT__28(); |
1426 | 1441 | ||
1427 | } | 1442 | } |
1428 | break; | 1443 | break; |
1429 | case 17 : | 1444 | case 17 : |
1430 | // InternalProblem.g:1:106: T__28 | 1445 | // InternalProblem.g:1:106: T__29 |
1431 | { | 1446 | { |
1432 | mT__28(); | 1447 | mT__29(); |
1433 | 1448 | ||
1434 | } | 1449 | } |
1435 | break; | 1450 | break; |
1436 | case 18 : | 1451 | case 18 : |
1437 | // InternalProblem.g:1:112: T__29 | 1452 | // InternalProblem.g:1:112: T__30 |
1438 | { | 1453 | { |
1439 | mT__29(); | 1454 | mT__30(); |
1440 | 1455 | ||
1441 | } | 1456 | } |
1442 | break; | 1457 | break; |
1443 | case 19 : | 1458 | case 19 : |
1444 | // InternalProblem.g:1:118: T__30 | 1459 | // InternalProblem.g:1:118: T__31 |
1445 | { | 1460 | { |
1446 | mT__30(); | 1461 | mT__31(); |
1447 | 1462 | ||
1448 | } | 1463 | } |
1449 | break; | 1464 | break; |
1450 | case 20 : | 1465 | case 20 : |
1451 | // InternalProblem.g:1:124: T__31 | 1466 | // InternalProblem.g:1:124: T__32 |
1452 | { | 1467 | { |
1453 | mT__31(); | 1468 | mT__32(); |
1454 | 1469 | ||
1455 | } | 1470 | } |
1456 | break; | 1471 | break; |
1457 | case 21 : | 1472 | case 21 : |
1458 | // InternalProblem.g:1:130: T__32 | 1473 | // InternalProblem.g:1:130: T__33 |
1459 | { | 1474 | { |
1460 | mT__32(); | 1475 | mT__33(); |
1461 | 1476 | ||
1462 | } | 1477 | } |
1463 | break; | 1478 | break; |
1464 | case 22 : | 1479 | case 22 : |
1465 | // InternalProblem.g:1:136: T__33 | 1480 | // InternalProblem.g:1:136: T__34 |
1466 | { | 1481 | { |
1467 | mT__33(); | 1482 | mT__34(); |
1468 | 1483 | ||
1469 | } | 1484 | } |
1470 | break; | 1485 | break; |
1471 | case 23 : | 1486 | case 23 : |
1472 | // InternalProblem.g:1:142: T__34 | 1487 | // InternalProblem.g:1:142: T__35 |
1473 | { | 1488 | { |
1474 | mT__34(); | 1489 | mT__35(); |
1475 | 1490 | ||
1476 | } | 1491 | } |
1477 | break; | 1492 | break; |
1478 | case 24 : | 1493 | case 24 : |
1479 | // InternalProblem.g:1:148: T__35 | 1494 | // InternalProblem.g:1:148: T__36 |
1480 | { | 1495 | { |
1481 | mT__35(); | 1496 | mT__36(); |
1482 | 1497 | ||
1483 | } | 1498 | } |
1484 | break; | 1499 | break; |
1485 | case 25 : | 1500 | case 25 : |
1486 | // InternalProblem.g:1:154: T__36 | 1501 | // InternalProblem.g:1:154: T__37 |
1487 | { | 1502 | { |
1488 | mT__36(); | 1503 | mT__37(); |
1489 | 1504 | ||
1490 | } | 1505 | } |
1491 | break; | 1506 | break; |
1492 | case 26 : | 1507 | case 26 : |
1493 | // InternalProblem.g:1:160: T__37 | 1508 | // InternalProblem.g:1:160: T__38 |
1494 | { | 1509 | { |
1495 | mT__37(); | 1510 | mT__38(); |
1496 | 1511 | ||
1497 | } | 1512 | } |
1498 | break; | 1513 | break; |
1499 | case 27 : | 1514 | case 27 : |
1500 | // InternalProblem.g:1:166: T__38 | 1515 | // InternalProblem.g:1:166: T__39 |
1501 | { | 1516 | { |
1502 | mT__38(); | 1517 | mT__39(); |
1503 | 1518 | ||
1504 | } | 1519 | } |
1505 | break; | 1520 | break; |
1506 | case 28 : | 1521 | case 28 : |
1507 | // InternalProblem.g:1:172: T__39 | 1522 | // InternalProblem.g:1:172: T__40 |
1508 | { | 1523 | { |
1509 | mT__39(); | 1524 | mT__40(); |
1510 | 1525 | ||
1511 | } | 1526 | } |
1512 | break; | 1527 | break; |
1513 | case 29 : | 1528 | case 29 : |
1514 | // InternalProblem.g:1:178: T__40 | 1529 | // InternalProblem.g:1:178: T__41 |
1515 | { | 1530 | { |
1516 | mT__40(); | 1531 | mT__41(); |
1517 | 1532 | ||
1518 | } | 1533 | } |
1519 | break; | 1534 | break; |
1520 | case 30 : | 1535 | case 30 : |
1521 | // InternalProblem.g:1:184: T__41 | 1536 | // InternalProblem.g:1:184: T__42 |
1522 | { | 1537 | { |
1523 | mT__41(); | 1538 | mT__42(); |
1524 | 1539 | ||
1525 | } | 1540 | } |
1526 | break; | 1541 | break; |
1527 | case 31 : | 1542 | case 31 : |
1528 | // InternalProblem.g:1:190: T__42 | 1543 | // InternalProblem.g:1:190: T__43 |
1529 | { | 1544 | { |
1530 | mT__42(); | 1545 | mT__43(); |
1531 | 1546 | ||
1532 | } | 1547 | } |
1533 | break; | 1548 | break; |
1534 | case 32 : | 1549 | case 32 : |
1535 | // InternalProblem.g:1:196: T__43 | 1550 | // InternalProblem.g:1:196: T__44 |
1536 | { | 1551 | { |
1537 | mT__43(); | 1552 | mT__44(); |
1538 | 1553 | ||
1539 | } | 1554 | } |
1540 | break; | 1555 | break; |
1541 | case 33 : | 1556 | case 33 : |
1542 | // InternalProblem.g:1:202: T__44 | 1557 | // InternalProblem.g:1:202: T__45 |
1543 | { | 1558 | { |
1544 | mT__44(); | 1559 | mT__45(); |
1545 | 1560 | ||
1546 | } | 1561 | } |
1547 | break; | 1562 | break; |
1548 | case 34 : | 1563 | case 34 : |
1549 | // InternalProblem.g:1:208: T__45 | 1564 | // InternalProblem.g:1:208: T__46 |
1550 | { | 1565 | { |
1551 | mT__45(); | 1566 | mT__46(); |
1552 | 1567 | ||
1553 | } | 1568 | } |
1554 | break; | 1569 | break; |
1555 | case 35 : | 1570 | case 35 : |
1556 | // InternalProblem.g:1:214: T__46 | 1571 | // InternalProblem.g:1:214: RULE_ID |
1557 | { | 1572 | { |
1558 | mT__46(); | 1573 | mRULE_ID(); |
1559 | 1574 | ||
1560 | } | 1575 | } |
1561 | break; | 1576 | break; |
1562 | case 36 : | 1577 | case 36 : |
1563 | // InternalProblem.g:1:220: T__47 | 1578 | // InternalProblem.g:1:222: RULE_EXPONENTIAL |
1564 | { | 1579 | { |
1565 | mT__47(); | 1580 | mRULE_EXPONENTIAL(); |
1566 | 1581 | ||
1567 | } | 1582 | } |
1568 | break; | 1583 | break; |
1569 | case 37 : | 1584 | case 37 : |
1570 | // InternalProblem.g:1:226: RULE_ID | 1585 | // InternalProblem.g:1:239: RULE_STRING |
1571 | { | ||
1572 | mRULE_ID(); | ||
1573 | |||
1574 | } | ||
1575 | break; | ||
1576 | case 38 : | ||
1577 | // InternalProblem.g:1:234: RULE_STRING | ||
1578 | { | 1586 | { |
1579 | mRULE_STRING(); | 1587 | mRULE_STRING(); |
1580 | 1588 | ||
1581 | } | 1589 | } |
1582 | break; | 1590 | break; |
1583 | case 39 : | 1591 | case 38 : |
1584 | // InternalProblem.g:1:246: RULE_QUOTED_ID | 1592 | // InternalProblem.g:1:251: RULE_QUOTED_ID |
1585 | { | 1593 | { |
1586 | mRULE_QUOTED_ID(); | 1594 | mRULE_QUOTED_ID(); |
1587 | 1595 | ||
1588 | } | 1596 | } |
1589 | break; | 1597 | break; |
1590 | case 40 : | 1598 | case 39 : |
1591 | // InternalProblem.g:1:261: RULE_SL_COMMENT | 1599 | // InternalProblem.g:1:266: RULE_SL_COMMENT |
1592 | { | 1600 | { |
1593 | mRULE_SL_COMMENT(); | 1601 | mRULE_SL_COMMENT(); |
1594 | 1602 | ||
1595 | } | 1603 | } |
1596 | break; | 1604 | break; |
1597 | case 41 : | 1605 | case 40 : |
1598 | // InternalProblem.g:1:277: RULE_INT | 1606 | // InternalProblem.g:1:282: RULE_INT |
1599 | { | 1607 | { |
1600 | mRULE_INT(); | 1608 | mRULE_INT(); |
1601 | 1609 | ||
1602 | } | 1610 | } |
1603 | break; | 1611 | break; |
1604 | case 42 : | 1612 | case 41 : |
1605 | // InternalProblem.g:1:286: RULE_ML_COMMENT | 1613 | // InternalProblem.g:1:291: RULE_ML_COMMENT |
1606 | { | 1614 | { |
1607 | mRULE_ML_COMMENT(); | 1615 | mRULE_ML_COMMENT(); |
1608 | 1616 | ||
1609 | } | 1617 | } |
1610 | break; | 1618 | break; |
1611 | case 43 : | 1619 | case 42 : |
1612 | // InternalProblem.g:1:302: RULE_WS | 1620 | // InternalProblem.g:1:307: RULE_WS |
1613 | { | 1621 | { |
1614 | mRULE_WS(); | 1622 | mRULE_WS(); |
1615 | 1623 | ||
1616 | } | 1624 | } |
1617 | break; | 1625 | break; |
1618 | case 44 : | 1626 | case 43 : |
1619 | // InternalProblem.g:1:310: RULE_ANY_OTHER | 1627 | // InternalProblem.g:1:315: RULE_ANY_OTHER |
1620 | { | 1628 | { |
1621 | mRULE_ANY_OTHER(); | 1629 | mRULE_ANY_OTHER(); |
1622 | 1630 | ||
@@ -1628,98 +1636,98 @@ public class InternalProblemLexer extends Lexer { | |||
1628 | } | 1636 | } |
1629 | 1637 | ||
1630 | 1638 | ||
1631 | protected DFA11 dfa11 = new DFA11(this); | 1639 | protected DFA12 dfa12 = new DFA12(this); |
1632 | static final String DFA11_eotS = | 1640 | static final String DFA12_eotS = |
1633 | "\1\uffff\1\45\1\47\2\45\1\56\4\uffff\1\45\2\uffff\1\45\2\uffff\1\73\1\uffff\1\76\1\45\2\uffff\2\45\1\104\1\uffff\1\45\2\uffff\2\43\1\uffff\1\43\3\uffff\1\45\3\uffff\6\45\5\uffff\1\45\2\uffff\1\45\10\uffff\1\45\2\uffff\2\45\2\uffff\1\45\7\uffff\17\45\1\153\4\45\1\160\4\45\1\165\3\45\1\uffff\1\45\1\172\2\45\1\uffff\1\175\2\45\1\u0080\1\uffff\1\u0081\3\45\1\uffff\2\45\1\uffff\1\u0087\1\45\2\uffff\1\45\1\u008a\2\45\1\u008d\1\uffff\1\45\1\u008f\1\uffff\1\u0090\1\u0091\1\uffff\1\u0092\4\uffff"; | 1641 | "\1\uffff\1\44\1\46\3\44\4\uffff\1\44\2\uffff\1\44\2\uffff\1\71\1\uffff\1\74\1\44\2\uffff\2\44\1\uffff\1\44\2\uffff\1\105\2\42\1\uffff\1\42\2\uffff\1\44\3\uffff\6\44\4\uffff\1\44\2\uffff\1\44\10\uffff\1\44\2\uffff\2\44\1\uffff\1\44\2\uffff\1\105\6\uffff\17\44\1\152\4\44\1\157\4\44\1\164\3\44\1\uffff\1\44\1\171\2\44\1\uffff\1\174\2\44\1\177\1\uffff\1\u0080\3\44\1\uffff\2\44\1\uffff\1\u0086\1\44\2\uffff\1\44\1\u0089\2\44\1\u008c\1\uffff\1\44\1\u008e\1\uffff\1\u008f\1\u0090\1\uffff\1\u0091\4\uffff"; |
1634 | static final String DFA11_eofS = | 1642 | static final String DFA12_eofS = |
1635 | "\u0093\uffff"; | 1643 | "\u0092\uffff"; |
1636 | static final String DFA11_minS = | 1644 | static final String DFA12_minS = |
1637 | "\1\0\1\162\1\56\1\142\1\154\1\60\4\uffff\1\145\2\uffff\1\160\2\uffff\1\55\1\uffff\1\75\1\143\2\uffff\1\162\1\141\1\60\1\uffff\1\156\2\uffff\2\0\1\uffff\1\52\3\uffff\1\145\3\uffff\1\163\1\141\1\156\1\164\1\165\1\162\5\uffff\1\146\2\uffff\1\160\10\uffff\1\157\2\uffff\1\165\1\154\2\uffff\1\153\7\uffff\1\142\1\144\1\164\1\163\1\164\1\145\1\155\1\157\1\145\1\157\1\160\1\145\1\163\1\156\1\154\1\60\1\162\1\163\1\141\1\156\1\60\2\162\1\163\1\145\1\60\1\145\1\157\1\145\1\uffff\1\141\1\60\1\151\1\144\1\uffff\1\60\1\163\1\151\1\60\1\uffff\1\60\1\167\1\155\1\143\1\uffff\1\156\1\163\1\uffff\1\60\1\164\2\uffff\1\156\1\60\1\164\1\163\1\60\1\uffff\1\145\1\60\1\uffff\2\60\1\uffff\1\60\4\uffff"; | 1645 | "\1\0\1\162\1\56\1\142\1\154\1\156\4\uffff\1\145\2\uffff\1\160\2\uffff\1\55\1\uffff\1\75\1\143\2\uffff\1\162\1\141\1\uffff\1\156\2\uffff\1\60\2\0\1\uffff\1\52\2\uffff\1\145\3\uffff\1\163\1\141\1\156\1\164\1\165\1\162\4\uffff\1\146\2\uffff\1\160\10\uffff\1\157\2\uffff\1\165\1\154\1\uffff\1\153\2\uffff\1\60\6\uffff\1\142\1\144\1\164\1\163\1\164\1\145\1\155\1\157\1\145\1\157\1\160\1\145\1\163\1\156\1\154\1\60\1\162\1\163\1\141\1\156\1\60\2\162\1\163\1\145\1\60\1\145\1\157\1\145\1\uffff\1\141\1\60\1\151\1\144\1\uffff\1\60\1\163\1\151\1\60\1\uffff\1\60\1\167\1\155\1\143\1\uffff\1\156\1\163\1\uffff\1\60\1\164\2\uffff\1\156\1\60\1\164\1\163\1\60\1\uffff\1\145\1\60\1\uffff\2\60\1\uffff\1\60\4\uffff"; |
1638 | static final String DFA11_maxS = | 1646 | static final String DFA12_maxS = |
1639 | "\1\uffff\1\162\1\56\1\142\1\157\1\172\4\uffff\1\145\2\uffff\1\160\2\uffff\1\72\1\uffff\1\75\1\143\2\uffff\1\162\1\141\1\172\1\uffff\1\156\2\uffff\2\uffff\1\uffff\1\57\3\uffff\1\157\3\uffff\1\163\1\141\1\156\1\164\1\165\1\162\5\uffff\1\146\2\uffff\1\160\10\uffff\1\157\2\uffff\1\165\1\154\2\uffff\1\153\7\uffff\1\142\1\144\1\164\1\163\1\164\1\145\1\155\1\157\1\145\1\157\1\160\1\145\1\163\1\156\1\154\1\172\1\162\1\163\1\141\1\156\1\172\2\162\1\163\1\145\1\172\1\145\1\157\1\145\1\uffff\1\141\1\172\1\151\1\144\1\uffff\1\172\1\163\1\151\1\172\1\uffff\1\172\1\167\1\155\1\143\1\uffff\1\156\1\163\1\uffff\1\172\1\164\2\uffff\1\156\1\172\1\164\1\163\1\172\1\uffff\1\145\1\172\1\uffff\2\172\1\uffff\1\172\4\uffff"; | 1647 | "\1\uffff\1\162\1\56\1\142\1\157\1\170\4\uffff\1\145\2\uffff\1\160\2\uffff\1\72\1\uffff\1\75\1\143\2\uffff\1\162\1\141\1\uffff\1\156\2\uffff\1\145\2\uffff\1\uffff\1\57\2\uffff\1\157\3\uffff\1\163\1\141\1\156\1\164\1\165\1\162\4\uffff\1\146\2\uffff\1\160\10\uffff\1\157\2\uffff\1\165\1\154\1\uffff\1\153\2\uffff\1\145\6\uffff\1\142\1\144\1\164\1\163\1\164\1\145\1\155\1\157\1\145\1\157\1\160\1\145\1\163\1\156\1\154\1\172\1\162\1\163\1\141\1\156\1\172\2\162\1\163\1\145\1\172\1\145\1\157\1\145\1\uffff\1\141\1\172\1\151\1\144\1\uffff\1\172\1\163\1\151\1\172\1\uffff\1\172\1\167\1\155\1\143\1\uffff\1\156\1\163\1\uffff\1\172\1\164\2\uffff\1\156\1\172\1\164\1\163\1\172\1\uffff\1\145\1\172\1\uffff\2\172\1\uffff\1\172\4\uffff"; |
1640 | static final String DFA11_acceptS = | 1648 | static final String DFA12_acceptS = |
1641 | "\6\uffff\1\6\1\7\1\10\1\11\1\uffff\1\15\1\16\1\uffff\1\22\1\23\1\uffff\1\25\2\uffff\1\32\1\34\3\uffff\1\42\1\uffff\1\44\1\45\2\uffff\1\50\1\uffff\1\51\1\53\1\54\1\uffff\1\45\1\33\1\2\6\uffff\1\40\1\6\1\7\1\10\1\11\1\uffff\1\15\1\16\1\uffff\1\22\1\23\1\24\1\35\1\27\1\25\1\31\1\26\1\uffff\1\32\1\34\2\uffff\1\41\1\42\1\uffff\1\44\1\46\1\47\1\50\1\52\1\51\1\53\35\uffff\1\21\4\uffff\1\12\4\uffff\1\36\4\uffff\1\4\2\uffff\1\20\2\uffff\1\30\1\37\5\uffff\1\14\2\uffff\1\1\2\uffff\1\5\1\uffff\1\43\1\3\1\13\1\17"; | 1649 | "\6\uffff\1\6\1\7\1\10\1\11\1\uffff\1\15\1\16\1\uffff\1\22\1\23\1\uffff\1\25\2\uffff\1\32\1\34\2\uffff\1\40\1\uffff\1\42\1\43\3\uffff\1\47\1\uffff\1\52\1\53\1\uffff\1\43\1\33\1\2\6\uffff\1\6\1\7\1\10\1\11\1\uffff\1\15\1\16\1\uffff\1\22\1\23\1\24\1\35\1\27\1\25\1\31\1\26\1\uffff\1\32\1\34\2\uffff\1\40\1\uffff\1\42\1\50\1\uffff\1\44\1\45\1\46\1\47\1\51\1\52\35\uffff\1\21\4\uffff\1\12\4\uffff\1\36\4\uffff\1\4\2\uffff\1\20\2\uffff\1\30\1\37\5\uffff\1\14\2\uffff\1\1\2\uffff\1\5\1\uffff\1\41\1\3\1\13\1\17"; |
1642 | static final String DFA11_specialS = | 1650 | static final String DFA12_specialS = |
1643 | "\1\1\34\uffff\1\2\1\0\164\uffff}>"; | 1651 | "\1\2\34\uffff\1\0\1\1\163\uffff}>"; |
1644 | static final String[] DFA11_transitionS = { | 1652 | static final String[] DFA12_transitionS = { |
1645 | "\11\43\2\42\2\43\1\42\22\43\1\42\1\21\1\35\2\43\1\37\1\43\1\36\1\16\1\17\1\25\1\22\1\6\1\31\1\2\1\40\12\41\1\20\1\10\1\43\1\24\1\43\1\33\1\43\4\34\1\30\25\34\1\13\1\43\1\14\1\43\1\34\1\43\1\3\1\34\1\4\1\34\1\5\1\27\10\34\1\15\1\1\1\34\1\12\1\23\1\26\1\32\5\34\1\7\1\43\1\11\uff82\43", | 1653 | "\11\42\2\41\2\42\1\41\22\42\1\41\1\21\1\35\2\42\1\37\1\42\1\36\1\16\1\17\1\25\1\22\1\6\1\30\1\2\1\40\12\34\1\20\1\10\1\42\1\24\1\42\1\32\1\42\32\33\1\13\1\42\1\14\1\42\1\33\1\42\1\3\1\33\1\4\1\33\1\5\1\27\10\33\1\15\1\1\1\33\1\12\1\23\1\26\1\31\5\33\1\7\1\42\1\11\uff82\42", |
1646 | "\1\44", | 1654 | "\1\43", |
1647 | "\1\46", | 1655 | "\1\45", |
1648 | "\1\50", | 1656 | "\1\47", |
1649 | "\1\51\2\uffff\1\52", | 1657 | "\1\50\2\uffff\1\51", |
1650 | "\12\45\7\uffff\32\45\4\uffff\1\45\1\uffff\15\45\1\54\3\45\1\55\5\45\1\53\2\45", | 1658 | "\1\53\3\uffff\1\54\5\uffff\1\52", |
1651 | "", | 1659 | "", |
1652 | "", | 1660 | "", |
1653 | "", | 1661 | "", |
1654 | "", | 1662 | "", |
1655 | "\1\63", | 1663 | "\1\61", |
1656 | "", | 1664 | "", |
1657 | "", | 1665 | "", |
1658 | "\1\66", | 1666 | "\1\64", |
1659 | "", | 1667 | "", |
1660 | "", | 1668 | "", |
1661 | "\1\71\14\uffff\1\72", | 1669 | "\1\67\14\uffff\1\70", |
1662 | "", | 1670 | "", |
1671 | "\1\73", | ||
1663 | "\1\75", | 1672 | "\1\75", |
1664 | "\1\77", | ||
1665 | "", | 1673 | "", |
1666 | "", | 1674 | "", |
1667 | "\1\102", | 1675 | "\1\100", |
1668 | "\1\103", | 1676 | "\1\101", |
1669 | "\12\45\7\uffff\32\45\4\uffff\1\45\1\uffff\32\45", | ||
1670 | "", | 1677 | "", |
1671 | "\1\106", | 1678 | "\1\103", |
1672 | "", | 1679 | "", |
1673 | "", | 1680 | "", |
1681 | "\12\106\13\uffff\1\107\37\uffff\1\107", | ||
1674 | "\0\110", | 1682 | "\0\110", |
1675 | "\0\111", | 1683 | "\0\111", |
1676 | "", | 1684 | "", |
1677 | "\1\113\4\uffff\1\112", | 1685 | "\1\113\4\uffff\1\112", |
1678 | "", | 1686 | "", |
1679 | "", | 1687 | "", |
1680 | "", | 1688 | "\1\116\11\uffff\1\115", |
1681 | "\1\117\11\uffff\1\116", | ||
1682 | "", | 1689 | "", |
1683 | "", | 1690 | "", |
1684 | "", | 1691 | "", |
1692 | "\1\117", | ||
1685 | "\1\120", | 1693 | "\1\120", |
1686 | "\1\121", | 1694 | "\1\121", |
1687 | "\1\122", | 1695 | "\1\122", |
1688 | "\1\123", | 1696 | "\1\123", |
1689 | "\1\124", | 1697 | "\1\124", |
1690 | "\1\125", | ||
1691 | "", | 1698 | "", |
1692 | "", | 1699 | "", |
1693 | "", | 1700 | "", |
1694 | "", | 1701 | "", |
1702 | "\1\125", | ||
1703 | "", | ||
1695 | "", | 1704 | "", |
1696 | "\1\126", | 1705 | "\1\126", |
1697 | "", | 1706 | "", |
1698 | "", | 1707 | "", |
1699 | "\1\127", | ||
1700 | "", | 1708 | "", |
1701 | "", | 1709 | "", |
1702 | "", | 1710 | "", |
1703 | "", | 1711 | "", |
1704 | "", | 1712 | "", |
1705 | "", | 1713 | "", |
1714 | "\1\127", | ||
1706 | "", | 1715 | "", |
1707 | "", | 1716 | "", |
1708 | "\1\130", | 1717 | "\1\130", |
1709 | "", | ||
1710 | "", | ||
1711 | "\1\131", | 1718 | "\1\131", |
1712 | "\1\132", | ||
1713 | "", | 1719 | "", |
1720 | "\1\132", | ||
1714 | "", | 1721 | "", |
1715 | "\1\133", | ||
1716 | "", | 1722 | "", |
1723 | "\12\106\13\uffff\1\107\37\uffff\1\107", | ||
1717 | "", | 1724 | "", |
1718 | "", | 1725 | "", |
1719 | "", | 1726 | "", |
1720 | "", | 1727 | "", |
1721 | "", | 1728 | "", |
1722 | "", | 1729 | "", |
1730 | "\1\133", | ||
1723 | "\1\134", | 1731 | "\1\134", |
1724 | "\1\135", | 1732 | "\1\135", |
1725 | "\1\136", | 1733 | "\1\136", |
@@ -1734,198 +1742,195 @@ public class InternalProblemLexer extends Lexer { | |||
1734 | "\1\147", | 1742 | "\1\147", |
1735 | "\1\150", | 1743 | "\1\150", |
1736 | "\1\151", | 1744 | "\1\151", |
1737 | "\1\152", | 1745 | "\12\44\7\uffff\32\44\4\uffff\1\44\1\uffff\32\44", |
1738 | "\12\45\7\uffff\32\45\4\uffff\1\45\1\uffff\32\45", | 1746 | "\1\153", |
1739 | "\1\154", | 1747 | "\1\154", |
1740 | "\1\155", | 1748 | "\1\155", |
1741 | "\1\156", | 1749 | "\1\156", |
1742 | "\1\157", | 1750 | "\12\44\7\uffff\32\44\4\uffff\1\44\1\uffff\32\44", |
1743 | "\12\45\7\uffff\32\45\4\uffff\1\45\1\uffff\32\45", | 1751 | "\1\160", |
1744 | "\1\161", | 1752 | "\1\161", |
1745 | "\1\162", | 1753 | "\1\162", |
1746 | "\1\163", | 1754 | "\1\163", |
1747 | "\1\164", | 1755 | "\12\44\7\uffff\32\44\4\uffff\1\44\1\uffff\32\44", |
1748 | "\12\45\7\uffff\32\45\4\uffff\1\45\1\uffff\32\45", | 1756 | "\1\165", |
1749 | "\1\166", | 1757 | "\1\166", |
1750 | "\1\167", | 1758 | "\1\167", |
1751 | "\1\170", | ||
1752 | "", | 1759 | "", |
1753 | "\1\171", | 1760 | "\1\170", |
1754 | "\12\45\7\uffff\32\45\4\uffff\1\45\1\uffff\32\45", | 1761 | "\12\44\7\uffff\32\44\4\uffff\1\44\1\uffff\32\44", |
1762 | "\1\172", | ||
1755 | "\1\173", | 1763 | "\1\173", |
1756 | "\1\174", | ||
1757 | "", | 1764 | "", |
1758 | "\12\45\7\uffff\32\45\4\uffff\1\45\1\uffff\32\45", | 1765 | "\12\44\7\uffff\32\44\4\uffff\1\44\1\uffff\32\44", |
1766 | "\1\175", | ||
1759 | "\1\176", | 1767 | "\1\176", |
1760 | "\1\177", | 1768 | "\12\44\7\uffff\32\44\4\uffff\1\44\1\uffff\32\44", |
1761 | "\12\45\7\uffff\32\45\4\uffff\1\45\1\uffff\32\45", | ||
1762 | "", | 1769 | "", |
1763 | "\12\45\7\uffff\32\45\4\uffff\1\45\1\uffff\32\45", | 1770 | "\12\44\7\uffff\32\44\4\uffff\1\44\1\uffff\32\44", |
1771 | "\1\u0081", | ||
1764 | "\1\u0082", | 1772 | "\1\u0082", |
1765 | "\1\u0083", | 1773 | "\1\u0083", |
1766 | "\1\u0084", | ||
1767 | "", | 1774 | "", |
1775 | "\1\u0084", | ||
1768 | "\1\u0085", | 1776 | "\1\u0085", |
1769 | "\1\u0086", | ||
1770 | "", | 1777 | "", |
1771 | "\12\45\7\uffff\32\45\4\uffff\1\45\1\uffff\32\45", | 1778 | "\12\44\7\uffff\32\44\4\uffff\1\44\1\uffff\32\44", |
1772 | "\1\u0088", | 1779 | "\1\u0087", |
1773 | "", | 1780 | "", |
1774 | "", | 1781 | "", |
1775 | "\1\u0089", | 1782 | "\1\u0088", |
1776 | "\12\45\7\uffff\32\45\4\uffff\1\45\1\uffff\32\45", | 1783 | "\12\44\7\uffff\32\44\4\uffff\1\44\1\uffff\32\44", |
1784 | "\1\u008a", | ||
1777 | "\1\u008b", | 1785 | "\1\u008b", |
1778 | "\1\u008c", | 1786 | "\12\44\7\uffff\32\44\4\uffff\1\44\1\uffff\32\44", |
1779 | "\12\45\7\uffff\32\45\4\uffff\1\45\1\uffff\32\45", | ||
1780 | "", | 1787 | "", |
1781 | "\1\u008e", | 1788 | "\1\u008d", |
1782 | "\12\45\7\uffff\32\45\4\uffff\1\45\1\uffff\32\45", | 1789 | "\12\44\7\uffff\32\44\4\uffff\1\44\1\uffff\32\44", |
1783 | "", | 1790 | "", |
1784 | "\12\45\7\uffff\32\45\4\uffff\1\45\1\uffff\32\45", | 1791 | "\12\44\7\uffff\32\44\4\uffff\1\44\1\uffff\32\44", |
1785 | "\12\45\7\uffff\32\45\4\uffff\1\45\1\uffff\32\45", | 1792 | "\12\44\7\uffff\32\44\4\uffff\1\44\1\uffff\32\44", |
1786 | "", | 1793 | "", |
1787 | "\12\45\7\uffff\32\45\4\uffff\1\45\1\uffff\32\45", | 1794 | "\12\44\7\uffff\32\44\4\uffff\1\44\1\uffff\32\44", |
1788 | "", | 1795 | "", |
1789 | "", | 1796 | "", |
1790 | "", | 1797 | "", |
1791 | "" | 1798 | "" |
1792 | }; | 1799 | }; |
1793 | 1800 | ||
1794 | static final short[] DFA11_eot = DFA.unpackEncodedString(DFA11_eotS); | 1801 | static final short[] DFA12_eot = DFA.unpackEncodedString(DFA12_eotS); |
1795 | static final short[] DFA11_eof = DFA.unpackEncodedString(DFA11_eofS); | 1802 | static final short[] DFA12_eof = DFA.unpackEncodedString(DFA12_eofS); |
1796 | static final char[] DFA11_min = DFA.unpackEncodedStringToUnsignedChars(DFA11_minS); | 1803 | static final char[] DFA12_min = DFA.unpackEncodedStringToUnsignedChars(DFA12_minS); |
1797 | static final char[] DFA11_max = DFA.unpackEncodedStringToUnsignedChars(DFA11_maxS); | 1804 | static final char[] DFA12_max = DFA.unpackEncodedStringToUnsignedChars(DFA12_maxS); |
1798 | static final short[] DFA11_accept = DFA.unpackEncodedString(DFA11_acceptS); | 1805 | static final short[] DFA12_accept = DFA.unpackEncodedString(DFA12_acceptS); |
1799 | static final short[] DFA11_special = DFA.unpackEncodedString(DFA11_specialS); | 1806 | static final short[] DFA12_special = DFA.unpackEncodedString(DFA12_specialS); |
1800 | static final short[][] DFA11_transition; | 1807 | static final short[][] DFA12_transition; |
1801 | 1808 | ||
1802 | static { | 1809 | static { |
1803 | int numStates = DFA11_transitionS.length; | 1810 | int numStates = DFA12_transitionS.length; |
1804 | DFA11_transition = new short[numStates][]; | 1811 | DFA12_transition = new short[numStates][]; |
1805 | for (int i=0; i<numStates; i++) { | 1812 | for (int i=0; i<numStates; i++) { |
1806 | DFA11_transition[i] = DFA.unpackEncodedString(DFA11_transitionS[i]); | 1813 | DFA12_transition[i] = DFA.unpackEncodedString(DFA12_transitionS[i]); |
1807 | } | 1814 | } |
1808 | } | 1815 | } |
1809 | 1816 | ||
1810 | class DFA11 extends DFA { | 1817 | class DFA12 extends DFA { |
1811 | 1818 | ||
1812 | public DFA11(BaseRecognizer recognizer) { | 1819 | public DFA12(BaseRecognizer recognizer) { |
1813 | this.recognizer = recognizer; | 1820 | this.recognizer = recognizer; |
1814 | this.decisionNumber = 11; | 1821 | this.decisionNumber = 12; |
1815 | this.eot = DFA11_eot; | 1822 | this.eot = DFA12_eot; |
1816 | this.eof = DFA11_eof; | 1823 | this.eof = DFA12_eof; |
1817 | this.min = DFA11_min; | 1824 | this.min = DFA12_min; |
1818 | this.max = DFA11_max; | 1825 | this.max = DFA12_max; |
1819 | this.accept = DFA11_accept; | 1826 | this.accept = DFA12_accept; |
1820 | this.special = DFA11_special; | 1827 | this.special = DFA12_special; |
1821 | this.transition = DFA11_transition; | 1828 | this.transition = DFA12_transition; |
1822 | } | 1829 | } |
1823 | public String getDescription() { | 1830 | public String getDescription() { |
1824 | return "1:1: Tokens : ( T__12 | T__13 | T__14 | T__15 | T__16 | T__17 | T__18 | T__19 | T__20 | T__21 | T__22 | T__23 | T__24 | T__25 | T__26 | T__27 | T__28 | T__29 | T__30 | T__31 | T__32 | T__33 | T__34 | T__35 | T__36 | T__37 | T__38 | T__39 | T__40 | T__41 | T__42 | T__43 | T__44 | T__45 | T__46 | T__47 | RULE_ID | RULE_STRING | RULE_QUOTED_ID | RULE_SL_COMMENT | RULE_INT | RULE_ML_COMMENT | RULE_WS | RULE_ANY_OTHER );"; | 1831 | return "1:1: Tokens : ( T__13 | T__14 | T__15 | T__16 | T__17 | T__18 | T__19 | T__20 | T__21 | T__22 | T__23 | T__24 | T__25 | T__26 | T__27 | T__28 | T__29 | T__30 | T__31 | T__32 | T__33 | T__34 | T__35 | T__36 | T__37 | T__38 | T__39 | T__40 | T__41 | T__42 | T__43 | T__44 | T__45 | T__46 | RULE_ID | RULE_EXPONENTIAL | RULE_STRING | RULE_QUOTED_ID | RULE_SL_COMMENT | RULE_INT | RULE_ML_COMMENT | RULE_WS | RULE_ANY_OTHER );"; |
1825 | } | 1832 | } |
1826 | public int specialStateTransition(int s, IntStream _input) throws NoViableAltException { | 1833 | public int specialStateTransition(int s, IntStream _input) throws NoViableAltException { |
1827 | IntStream input = _input; | 1834 | IntStream input = _input; |
1828 | int _s = s; | 1835 | int _s = s; |
1829 | switch ( s ) { | 1836 | switch ( s ) { |
1830 | case 0 : | 1837 | case 0 : |
1831 | int LA11_30 = input.LA(1); | 1838 | int LA12_29 = input.LA(1); |
1832 | 1839 | ||
1833 | s = -1; | 1840 | s = -1; |
1834 | if ( ((LA11_30>='\u0000' && LA11_30<='\uFFFF')) ) {s = 73;} | 1841 | if ( ((LA12_29>='\u0000' && LA12_29<='\uFFFF')) ) {s = 72;} |
1835 | 1842 | ||
1836 | else s = 35; | 1843 | else s = 34; |
1837 | 1844 | ||
1838 | if ( s>=0 ) return s; | 1845 | if ( s>=0 ) return s; |
1839 | break; | 1846 | break; |
1840 | case 1 : | 1847 | case 1 : |
1841 | int LA11_0 = input.LA(1); | 1848 | int LA12_30 = input.LA(1); |
1842 | 1849 | ||
1843 | s = -1; | 1850 | s = -1; |
1844 | if ( (LA11_0=='p') ) {s = 1;} | 1851 | if ( ((LA12_30>='\u0000' && LA12_30<='\uFFFF')) ) {s = 73;} |
1845 | 1852 | ||
1846 | else if ( (LA11_0=='.') ) {s = 2;} | 1853 | else s = 34; |
1847 | 1854 | ||
1848 | else if ( (LA11_0=='a') ) {s = 3;} | 1855 | if ( s>=0 ) return s; |
1849 | 1856 | break; | |
1850 | else if ( (LA11_0=='c') ) {s = 4;} | 1857 | case 2 : |
1858 | int LA12_0 = input.LA(1); | ||
1851 | 1859 | ||
1852 | else if ( (LA11_0=='e') ) {s = 5;} | 1860 | s = -1; |
1861 | if ( (LA12_0=='p') ) {s = 1;} | ||
1853 | 1862 | ||
1854 | else if ( (LA11_0==',') ) {s = 6;} | 1863 | else if ( (LA12_0=='.') ) {s = 2;} |
1855 | 1864 | ||
1856 | else if ( (LA11_0=='{') ) {s = 7;} | 1865 | else if ( (LA12_0=='a') ) {s = 3;} |
1857 | 1866 | ||
1858 | else if ( (LA11_0==';') ) {s = 8;} | 1867 | else if ( (LA12_0=='c') ) {s = 4;} |
1859 | 1868 | ||
1860 | else if ( (LA11_0=='}') ) {s = 9;} | 1869 | else if ( (LA12_0=='e') ) {s = 5;} |
1861 | 1870 | ||
1862 | else if ( (LA11_0=='r') ) {s = 10;} | 1871 | else if ( (LA12_0==',') ) {s = 6;} |
1863 | 1872 | ||
1864 | else if ( (LA11_0=='[') ) {s = 11;} | 1873 | else if ( (LA12_0=='{') ) {s = 7;} |
1865 | 1874 | ||
1866 | else if ( (LA11_0==']') ) {s = 12;} | 1875 | else if ( (LA12_0==';') ) {s = 8;} |
1867 | 1876 | ||
1868 | else if ( (LA11_0=='o') ) {s = 13;} | 1877 | else if ( (LA12_0=='}') ) {s = 9;} |
1869 | 1878 | ||
1870 | else if ( (LA11_0=='(') ) {s = 14;} | 1879 | else if ( (LA12_0=='r') ) {s = 10;} |
1871 | 1880 | ||
1872 | else if ( (LA11_0==')') ) {s = 15;} | 1881 | else if ( (LA12_0=='[') ) {s = 11;} |
1873 | 1882 | ||
1874 | else if ( (LA11_0==':') ) {s = 16;} | 1883 | else if ( (LA12_0==']') ) {s = 12;} |
1875 | 1884 | ||
1876 | else if ( (LA11_0=='!') ) {s = 17;} | 1885 | else if ( (LA12_0=='o') ) {s = 13;} |
1877 | 1886 | ||
1878 | else if ( (LA11_0=='+') ) {s = 18;} | 1887 | else if ( (LA12_0=='(') ) {s = 14;} |
1879 | 1888 | ||
1880 | else if ( (LA11_0=='s') ) {s = 19;} | 1889 | else if ( (LA12_0==')') ) {s = 15;} |
1881 | 1890 | ||
1882 | else if ( (LA11_0=='=') ) {s = 20;} | 1891 | else if ( (LA12_0==':') ) {s = 16;} |
1883 | 1892 | ||
1884 | else if ( (LA11_0=='*') ) {s = 21;} | 1893 | else if ( (LA12_0=='!') ) {s = 17;} |
1885 | 1894 | ||
1886 | else if ( (LA11_0=='t') ) {s = 22;} | 1895 | else if ( (LA12_0=='+') ) {s = 18;} |
1887 | 1896 | ||
1888 | else if ( (LA11_0=='f') ) {s = 23;} | 1897 | else if ( (LA12_0=='s') ) {s = 19;} |
1889 | 1898 | ||
1890 | else if ( (LA11_0=='E') ) {s = 24;} | 1899 | else if ( (LA12_0=='=') ) {s = 20;} |
1891 | 1900 | ||
1892 | else if ( (LA11_0=='-') ) {s = 25;} | 1901 | else if ( (LA12_0=='*') ) {s = 21;} |
1893 | 1902 | ||
1894 | else if ( (LA11_0=='u') ) {s = 26;} | 1903 | else if ( (LA12_0=='t') ) {s = 22;} |
1895 | 1904 | ||
1896 | else if ( (LA11_0=='?') ) {s = 27;} | 1905 | else if ( (LA12_0=='f') ) {s = 23;} |
1897 | 1906 | ||
1898 | else if ( ((LA11_0>='A' && LA11_0<='D')||(LA11_0>='F' && LA11_0<='Z')||LA11_0=='_'||LA11_0=='b'||LA11_0=='d'||(LA11_0>='g' && LA11_0<='n')||LA11_0=='q'||(LA11_0>='v' && LA11_0<='z')) ) {s = 28;} | 1907 | else if ( (LA12_0=='-') ) {s = 24;} |
1899 | 1908 | ||
1900 | else if ( (LA11_0=='\"') ) {s = 29;} | 1909 | else if ( (LA12_0=='u') ) {s = 25;} |
1901 | 1910 | ||
1902 | else if ( (LA11_0=='\'') ) {s = 30;} | 1911 | else if ( (LA12_0=='?') ) {s = 26;} |
1903 | 1912 | ||
1904 | else if ( (LA11_0=='%') ) {s = 31;} | 1913 | else if ( ((LA12_0>='A' && LA12_0<='Z')||LA12_0=='_'||LA12_0=='b'||LA12_0=='d'||(LA12_0>='g' && LA12_0<='n')||LA12_0=='q'||(LA12_0>='v' && LA12_0<='z')) ) {s = 27;} |
1905 | 1914 | ||
1906 | else if ( (LA11_0=='/') ) {s = 32;} | 1915 | else if ( ((LA12_0>='0' && LA12_0<='9')) ) {s = 28;} |
1907 | 1916 | ||
1908 | else if ( ((LA11_0>='0' && LA11_0<='9')) ) {s = 33;} | 1917 | else if ( (LA12_0=='\"') ) {s = 29;} |
1909 | 1918 | ||
1910 | else if ( ((LA11_0>='\t' && LA11_0<='\n')||LA11_0=='\r'||LA11_0==' ') ) {s = 34;} | 1919 | else if ( (LA12_0=='\'') ) {s = 30;} |
1911 | 1920 | ||
1912 | else if ( ((LA11_0>='\u0000' && LA11_0<='\b')||(LA11_0>='\u000B' && LA11_0<='\f')||(LA11_0>='\u000E' && LA11_0<='\u001F')||(LA11_0>='#' && LA11_0<='$')||LA11_0=='&'||LA11_0=='<'||LA11_0=='>'||LA11_0=='@'||LA11_0=='\\'||LA11_0=='^'||LA11_0=='`'||LA11_0=='|'||(LA11_0>='~' && LA11_0<='\uFFFF')) ) {s = 35;} | 1921 | else if ( (LA12_0=='%') ) {s = 31;} |
1913 | 1922 | ||
1914 | if ( s>=0 ) return s; | 1923 | else if ( (LA12_0=='/') ) {s = 32;} |
1915 | break; | ||
1916 | case 2 : | ||
1917 | int LA11_29 = input.LA(1); | ||
1918 | 1924 | ||
1919 | s = -1; | 1925 | else if ( ((LA12_0>='\t' && LA12_0<='\n')||LA12_0=='\r'||LA12_0==' ') ) {s = 33;} |
1920 | if ( ((LA11_29>='\u0000' && LA11_29<='\uFFFF')) ) {s = 72;} | ||
1921 | 1926 | ||
1922 | else s = 35; | 1927 | else if ( ((LA12_0>='\u0000' && LA12_0<='\b')||(LA12_0>='\u000B' && LA12_0<='\f')||(LA12_0>='\u000E' && LA12_0<='\u001F')||(LA12_0>='#' && LA12_0<='$')||LA12_0=='&'||LA12_0=='<'||LA12_0=='>'||LA12_0=='@'||LA12_0=='\\'||LA12_0=='^'||LA12_0=='`'||LA12_0=='|'||(LA12_0>='~' && LA12_0<='\uFFFF')) ) {s = 34;} |
1923 | 1928 | ||
1924 | if ( s>=0 ) return s; | 1929 | if ( s>=0 ) return s; |
1925 | break; | 1930 | break; |
1926 | } | 1931 | } |
1927 | NoViableAltException nvae = | 1932 | NoViableAltException nvae = |
1928 | new NoViableAltException(getDescription(), 11, _s, input); | 1933 | new NoViableAltException(getDescription(), 12, _s, input); |
1929 | error(nvae); | 1934 | error(nvae); |
1930 | throw nvae; | 1935 | throw nvae; |
1931 | } | 1936 | } |