| 1 | |
|
| 2 | |
|
| 3 | |
package org.apache.tapestry5.internal.antlr; |
| 4 | |
|
| 5 | |
|
| 6 | |
import org.antlr.runtime.*; |
| 7 | |
import java.util.Stack; |
| 8 | |
import java.util.List; |
| 9 | |
import java.util.ArrayList; |
| 10 | |
|
| 11 | |
public class PropertyExpressionLexer extends org.apache.tapestry5.internal.antlr.BaseLexer { |
| 12 | |
public static final int COMMA=15; |
| 13 | |
public static final int LETTER=8; |
| 14 | |
public static final int H=21; |
| 15 | |
public static final int RANGEOP=6; |
| 16 | |
public static final int WS=35; |
| 17 | |
public static final int STRING=36; |
| 18 | |
public static final int BANG=16; |
| 19 | |
public static final int FALSE=31; |
| 20 | |
public static final int I=22; |
| 21 | |
public static final int LBRACKET=13; |
| 22 | |
public static final int A=18; |
| 23 | |
public static final int F=20; |
| 24 | |
public static final int U=28; |
| 25 | |
public static final int QUOTE=17; |
| 26 | |
public static final int N=24; |
| 27 | |
public static final int DECIMAL=7; |
| 28 | |
public static final int SAFEDEREF=34; |
| 29 | |
public static final int THIS=32; |
| 30 | |
public static final int NUMBER_OR_RANGEOP=37; |
| 31 | |
public static final int S=26; |
| 32 | |
public static final int INTEGER=4; |
| 33 | |
public static final int R=25; |
| 34 | |
public static final int EOF=-1; |
| 35 | |
public static final int L=23; |
| 36 | |
public static final int NULL=29; |
| 37 | |
public static final int RBRACKET=14; |
| 38 | |
public static final int RPAREN=12; |
| 39 | |
public static final int SIGN=10; |
| 40 | |
public static final int LPAREN=11; |
| 41 | |
public static final int DIGIT=9; |
| 42 | |
public static final int IDENTIFIER=33; |
| 43 | |
public static final int DEREF=5; |
| 44 | |
public static final int T=27; |
| 45 | |
public static final int TRUE=30; |
| 46 | |
public static final int E=19; |
| 47 | |
|
| 48 | |
|
| 49 | |
|
| 50 | |
|
| 51 | 0 | public PropertyExpressionLexer() {;} |
| 52 | |
public PropertyExpressionLexer(CharStream input) { |
| 53 | 1446 | this(input, new RecognizerSharedState()); |
| 54 | 1446 | } |
| 55 | |
public PropertyExpressionLexer(CharStream input, RecognizerSharedState state) { |
| 56 | 1446 | super(input,state); |
| 57 | |
|
| 58 | 1446 | } |
| 59 | 0 | public String getGrammarFileName() { return "org/apache/tapestry5/internal/antlr/PropertyExpressionLexer.g"; } |
| 60 | |
|
| 61 | |
|
| 62 | |
public final void mINTEGER() throws RecognitionException { |
| 63 | |
try { |
| 64 | |
|
| 65 | |
|
| 66 | |
{ |
| 67 | |
} |
| 68 | |
|
| 69 | |
} |
| 70 | 0 | finally { |
| 71 | 0 | } |
| 72 | 0 | } |
| 73 | |
|
| 74 | |
|
| 75 | |
|
| 76 | |
public final void mDEREF() throws RecognitionException { |
| 77 | |
try { |
| 78 | |
|
| 79 | |
|
| 80 | |
{ |
| 81 | |
} |
| 82 | |
|
| 83 | |
} |
| 84 | 0 | finally { |
| 85 | 0 | } |
| 86 | 0 | } |
| 87 | |
|
| 88 | |
|
| 89 | |
|
| 90 | |
public final void mRANGEOP() throws RecognitionException { |
| 91 | |
try { |
| 92 | |
|
| 93 | |
|
| 94 | |
{ |
| 95 | |
} |
| 96 | |
|
| 97 | |
} |
| 98 | 0 | finally { |
| 99 | 0 | } |
| 100 | 0 | } |
| 101 | |
|
| 102 | |
|
| 103 | |
|
| 104 | |
public final void mDECIMAL() throws RecognitionException { |
| 105 | |
try { |
| 106 | |
|
| 107 | |
|
| 108 | |
{ |
| 109 | |
} |
| 110 | |
|
| 111 | |
} |
| 112 | 0 | finally { |
| 113 | 0 | } |
| 114 | 0 | } |
| 115 | |
|
| 116 | |
|
| 117 | |
|
| 118 | |
public final void mLETTER() throws RecognitionException { |
| 119 | |
try { |
| 120 | |
|
| 121 | |
|
| 122 | |
{ |
| 123 | 1478 | if ( (input.LA(1)>='A' && input.LA(1)<='Z')||(input.LA(1)>='a' && input.LA(1)<='z') ) { |
| 124 | 1478 | input.consume(); |
| 125 | |
|
| 126 | |
} |
| 127 | |
else { |
| 128 | 0 | MismatchedSetException mse = new MismatchedSetException(null,input); |
| 129 | 0 | recover(mse); |
| 130 | 0 | throw mse;} |
| 131 | |
|
| 132 | |
|
| 133 | |
} |
| 134 | |
|
| 135 | |
} |
| 136 | 0 | finally { |
| 137 | 1478 | } |
| 138 | 1478 | } |
| 139 | |
|
| 140 | |
|
| 141 | |
|
| 142 | |
public final void mDIGIT() throws RecognitionException { |
| 143 | |
try { |
| 144 | |
|
| 145 | |
|
| 146 | |
{ |
| 147 | 186 | matchRange('0','9'); |
| 148 | |
|
| 149 | |
} |
| 150 | |
|
| 151 | |
} |
| 152 | 0 | finally { |
| 153 | 186 | } |
| 154 | 186 | } |
| 155 | |
|
| 156 | |
|
| 157 | |
|
| 158 | |
public final void mSIGN() throws RecognitionException { |
| 159 | |
try { |
| 160 | |
|
| 161 | |
|
| 162 | |
{ |
| 163 | 20 | if ( input.LA(1)=='+'||input.LA(1)=='-' ) { |
| 164 | 20 | input.consume(); |
| 165 | |
|
| 166 | |
} |
| 167 | |
else { |
| 168 | 0 | MismatchedSetException mse = new MismatchedSetException(null,input); |
| 169 | 0 | recover(mse); |
| 170 | 0 | throw mse;} |
| 171 | |
|
| 172 | |
|
| 173 | |
} |
| 174 | |
|
| 175 | |
} |
| 176 | 0 | finally { |
| 177 | 20 | } |
| 178 | 20 | } |
| 179 | |
|
| 180 | |
|
| 181 | |
|
| 182 | |
public final void mLPAREN() throws RecognitionException { |
| 183 | |
try { |
| 184 | 62 | int _type = LPAREN; |
| 185 | 62 | int _channel = DEFAULT_TOKEN_CHANNEL; |
| 186 | |
|
| 187 | |
|
| 188 | |
{ |
| 189 | 62 | match('('); |
| 190 | |
|
| 191 | |
} |
| 192 | |
|
| 193 | 62 | state.type = _type; |
| 194 | 62 | state.channel = _channel; |
| 195 | |
} |
| 196 | 0 | finally { |
| 197 | 62 | } |
| 198 | 62 | } |
| 199 | |
|
| 200 | |
|
| 201 | |
|
| 202 | |
public final void mRPAREN() throws RecognitionException { |
| 203 | |
try { |
| 204 | 60 | int _type = RPAREN; |
| 205 | 60 | int _channel = DEFAULT_TOKEN_CHANNEL; |
| 206 | |
|
| 207 | |
|
| 208 | |
{ |
| 209 | 60 | match(')'); |
| 210 | |
|
| 211 | |
} |
| 212 | |
|
| 213 | 60 | state.type = _type; |
| 214 | 60 | state.channel = _channel; |
| 215 | |
} |
| 216 | 0 | finally { |
| 217 | 60 | } |
| 218 | 60 | } |
| 219 | |
|
| 220 | |
|
| 221 | |
|
| 222 | |
public final void mLBRACKET() throws RecognitionException { |
| 223 | |
try { |
| 224 | 6 | int _type = LBRACKET; |
| 225 | 6 | int _channel = DEFAULT_TOKEN_CHANNEL; |
| 226 | |
|
| 227 | |
|
| 228 | |
{ |
| 229 | 6 | match('['); |
| 230 | |
|
| 231 | |
} |
| 232 | |
|
| 233 | 6 | state.type = _type; |
| 234 | 6 | state.channel = _channel; |
| 235 | |
} |
| 236 | 0 | finally { |
| 237 | 6 | } |
| 238 | 6 | } |
| 239 | |
|
| 240 | |
|
| 241 | |
|
| 242 | |
public final void mRBRACKET() throws RecognitionException { |
| 243 | |
try { |
| 244 | 6 | int _type = RBRACKET; |
| 245 | 6 | int _channel = DEFAULT_TOKEN_CHANNEL; |
| 246 | |
|
| 247 | |
|
| 248 | |
{ |
| 249 | 6 | match(']'); |
| 250 | |
|
| 251 | |
} |
| 252 | |
|
| 253 | 6 | state.type = _type; |
| 254 | 6 | state.channel = _channel; |
| 255 | |
} |
| 256 | 0 | finally { |
| 257 | 6 | } |
| 258 | 6 | } |
| 259 | |
|
| 260 | |
|
| 261 | |
|
| 262 | |
public final void mCOMMA() throws RecognitionException { |
| 263 | |
try { |
| 264 | 20 | int _type = COMMA; |
| 265 | 20 | int _channel = DEFAULT_TOKEN_CHANNEL; |
| 266 | |
|
| 267 | |
|
| 268 | |
{ |
| 269 | 20 | match(','); |
| 270 | |
|
| 271 | |
} |
| 272 | |
|
| 273 | 20 | state.type = _type; |
| 274 | 20 | state.channel = _channel; |
| 275 | |
} |
| 276 | 0 | finally { |
| 277 | 20 | } |
| 278 | 20 | } |
| 279 | |
|
| 280 | |
|
| 281 | |
|
| 282 | |
public final void mBANG() throws RecognitionException { |
| 283 | |
try { |
| 284 | 6 | int _type = BANG; |
| 285 | 6 | int _channel = DEFAULT_TOKEN_CHANNEL; |
| 286 | |
|
| 287 | |
|
| 288 | |
{ |
| 289 | 6 | match('!'); |
| 290 | |
|
| 291 | |
} |
| 292 | |
|
| 293 | 6 | state.type = _type; |
| 294 | 6 | state.channel = _channel; |
| 295 | |
} |
| 296 | 0 | finally { |
| 297 | 6 | } |
| 298 | 6 | } |
| 299 | |
|
| 300 | |
|
| 301 | |
|
| 302 | |
public final void mQUOTE() throws RecognitionException { |
| 303 | |
try { |
| 304 | |
|
| 305 | |
|
| 306 | |
{ |
| 307 | 40 | match('\''); |
| 308 | |
|
| 309 | |
} |
| 310 | |
|
| 311 | |
} |
| 312 | 0 | finally { |
| 313 | 40 | } |
| 314 | 40 | } |
| 315 | |
|
| 316 | |
|
| 317 | |
|
| 318 | |
public final void mA() throws RecognitionException { |
| 319 | |
try { |
| 320 | |
|
| 321 | |
|
| 322 | |
{ |
| 323 | 100 | if ( input.LA(1)=='A'||input.LA(1)=='a' ) { |
| 324 | 100 | input.consume(); |
| 325 | |
|
| 326 | |
} |
| 327 | |
else { |
| 328 | 0 | MismatchedSetException mse = new MismatchedSetException(null,input); |
| 329 | 0 | recover(mse); |
| 330 | 0 | throw mse;} |
| 331 | |
|
| 332 | |
|
| 333 | |
} |
| 334 | |
|
| 335 | |
} |
| 336 | 0 | finally { |
| 337 | 100 | } |
| 338 | 100 | } |
| 339 | |
|
| 340 | |
|
| 341 | |
|
| 342 | |
public final void mE() throws RecognitionException { |
| 343 | |
try { |
| 344 | |
|
| 345 | |
|
| 346 | |
{ |
| 347 | 142 | if ( input.LA(1)=='E'||input.LA(1)=='e' ) { |
| 348 | 142 | input.consume(); |
| 349 | |
|
| 350 | |
} |
| 351 | |
else { |
| 352 | 0 | MismatchedSetException mse = new MismatchedSetException(null,input); |
| 353 | 0 | recover(mse); |
| 354 | 0 | throw mse;} |
| 355 | |
|
| 356 | |
|
| 357 | |
} |
| 358 | |
|
| 359 | |
} |
| 360 | 0 | finally { |
| 361 | 142 | } |
| 362 | 142 | } |
| 363 | |
|
| 364 | |
|
| 365 | |
|
| 366 | |
public final void mF() throws RecognitionException { |
| 367 | |
try { |
| 368 | |
|
| 369 | |
|
| 370 | |
{ |
| 371 | 100 | if ( input.LA(1)=='F'||input.LA(1)=='f' ) { |
| 372 | 100 | input.consume(); |
| 373 | |
|
| 374 | |
} |
| 375 | |
else { |
| 376 | 0 | MismatchedSetException mse = new MismatchedSetException(null,input); |
| 377 | 0 | recover(mse); |
| 378 | 0 | throw mse;} |
| 379 | |
|
| 380 | |
|
| 381 | |
} |
| 382 | |
|
| 383 | |
} |
| 384 | 0 | finally { |
| 385 | 100 | } |
| 386 | 100 | } |
| 387 | |
|
| 388 | |
|
| 389 | |
|
| 390 | |
public final void mH() throws RecognitionException { |
| 391 | |
try { |
| 392 | |
|
| 393 | |
|
| 394 | |
{ |
| 395 | 28 | if ( input.LA(1)=='H'||input.LA(1)=='h' ) { |
| 396 | 28 | input.consume(); |
| 397 | |
|
| 398 | |
} |
| 399 | |
else { |
| 400 | 0 | MismatchedSetException mse = new MismatchedSetException(null,input); |
| 401 | 0 | recover(mse); |
| 402 | 0 | throw mse;} |
| 403 | |
|
| 404 | |
|
| 405 | |
} |
| 406 | |
|
| 407 | |
} |
| 408 | 0 | finally { |
| 409 | 28 | } |
| 410 | 28 | } |
| 411 | |
|
| 412 | |
|
| 413 | |
|
| 414 | |
public final void mI() throws RecognitionException { |
| 415 | |
try { |
| 416 | |
|
| 417 | |
|
| 418 | |
{ |
| 419 | 28 | if ( input.LA(1)=='I'||input.LA(1)=='i' ) { |
| 420 | 28 | input.consume(); |
| 421 | |
|
| 422 | |
} |
| 423 | |
else { |
| 424 | 0 | MismatchedSetException mse = new MismatchedSetException(null,input); |
| 425 | 0 | recover(mse); |
| 426 | 0 | throw mse;} |
| 427 | |
|
| 428 | |
|
| 429 | |
} |
| 430 | |
|
| 431 | |
} |
| 432 | 0 | finally { |
| 433 | 28 | } |
| 434 | 28 | } |
| 435 | |
|
| 436 | |
|
| 437 | |
|
| 438 | |
public final void mL() throws RecognitionException { |
| 439 | |
try { |
| 440 | |
|
| 441 | |
|
| 442 | |
{ |
| 443 | 120 | if ( input.LA(1)=='L'||input.LA(1)=='l' ) { |
| 444 | 120 | input.consume(); |
| 445 | |
|
| 446 | |
} |
| 447 | |
else { |
| 448 | 0 | MismatchedSetException mse = new MismatchedSetException(null,input); |
| 449 | 0 | recover(mse); |
| 450 | 0 | throw mse;} |
| 451 | |
|
| 452 | |
|
| 453 | |
} |
| 454 | |
|
| 455 | |
} |
| 456 | 0 | finally { |
| 457 | 120 | } |
| 458 | 120 | } |
| 459 | |
|
| 460 | |
|
| 461 | |
|
| 462 | |
public final void mN() throws RecognitionException { |
| 463 | |
try { |
| 464 | |
|
| 465 | |
|
| 466 | |
{ |
| 467 | 10 | if ( input.LA(1)=='N'||input.LA(1)=='n' ) { |
| 468 | 10 | input.consume(); |
| 469 | |
|
| 470 | |
} |
| 471 | |
else { |
| 472 | 0 | MismatchedSetException mse = new MismatchedSetException(null,input); |
| 473 | 0 | recover(mse); |
| 474 | 0 | throw mse;} |
| 475 | |
|
| 476 | |
|
| 477 | |
} |
| 478 | |
|
| 479 | |
} |
| 480 | 0 | finally { |
| 481 | 10 | } |
| 482 | 10 | } |
| 483 | |
|
| 484 | |
|
| 485 | |
|
| 486 | |
public final void mR() throws RecognitionException { |
| 487 | |
try { |
| 488 | |
|
| 489 | |
|
| 490 | |
{ |
| 491 | 42 | if ( input.LA(1)=='R'||input.LA(1)=='r' ) { |
| 492 | 42 | input.consume(); |
| 493 | |
|
| 494 | |
} |
| 495 | |
else { |
| 496 | 0 | MismatchedSetException mse = new MismatchedSetException(null,input); |
| 497 | 0 | recover(mse); |
| 498 | 0 | throw mse;} |
| 499 | |
|
| 500 | |
|
| 501 | |
} |
| 502 | |
|
| 503 | |
} |
| 504 | 0 | finally { |
| 505 | 42 | } |
| 506 | 42 | } |
| 507 | |
|
| 508 | |
|
| 509 | |
|
| 510 | |
public final void mS() throws RecognitionException { |
| 511 | |
try { |
| 512 | |
|
| 513 | |
|
| 514 | |
{ |
| 515 | 128 | if ( input.LA(1)=='S'||input.LA(1)=='s' ) { |
| 516 | 128 | input.consume(); |
| 517 | |
|
| 518 | |
} |
| 519 | |
else { |
| 520 | 0 | MismatchedSetException mse = new MismatchedSetException(null,input); |
| 521 | 0 | recover(mse); |
| 522 | 0 | throw mse;} |
| 523 | |
|
| 524 | |
|
| 525 | |
} |
| 526 | |
|
| 527 | |
} |
| 528 | 0 | finally { |
| 529 | 128 | } |
| 530 | 128 | } |
| 531 | |
|
| 532 | |
|
| 533 | |
|
| 534 | |
public final void mT() throws RecognitionException { |
| 535 | |
try { |
| 536 | |
|
| 537 | |
|
| 538 | |
{ |
| 539 | 70 | if ( input.LA(1)=='T'||input.LA(1)=='t' ) { |
| 540 | 70 | input.consume(); |
| 541 | |
|
| 542 | |
} |
| 543 | |
else { |
| 544 | 0 | MismatchedSetException mse = new MismatchedSetException(null,input); |
| 545 | 0 | recover(mse); |
| 546 | 0 | throw mse;} |
| 547 | |
|
| 548 | |
|
| 549 | |
} |
| 550 | |
|
| 551 | |
} |
| 552 | 0 | finally { |
| 553 | 70 | } |
| 554 | 70 | } |
| 555 | |
|
| 556 | |
|
| 557 | |
|
| 558 | |
public final void mU() throws RecognitionException { |
| 559 | |
try { |
| 560 | |
|
| 561 | |
|
| 562 | |
{ |
| 563 | 52 | if ( input.LA(1)=='U'||input.LA(1)=='u' ) { |
| 564 | 52 | input.consume(); |
| 565 | |
|
| 566 | |
} |
| 567 | |
else { |
| 568 | 0 | MismatchedSetException mse = new MismatchedSetException(null,input); |
| 569 | 0 | recover(mse); |
| 570 | 0 | throw mse;} |
| 571 | |
|
| 572 | |
|
| 573 | |
} |
| 574 | |
|
| 575 | |
} |
| 576 | 0 | finally { |
| 577 | 52 | } |
| 578 | 52 | } |
| 579 | |
|
| 580 | |
|
| 581 | |
|
| 582 | |
public final void mNULL() throws RecognitionException { |
| 583 | |
try { |
| 584 | 10 | int _type = NULL; |
| 585 | 10 | int _channel = DEFAULT_TOKEN_CHANNEL; |
| 586 | |
|
| 587 | |
|
| 588 | |
{ |
| 589 | 10 | mN(); |
| 590 | 10 | mU(); |
| 591 | 10 | mL(); |
| 592 | 10 | mL(); |
| 593 | |
|
| 594 | |
} |
| 595 | |
|
| 596 | 10 | state.type = _type; |
| 597 | 10 | state.channel = _channel; |
| 598 | |
} |
| 599 | 0 | finally { |
| 600 | 10 | } |
| 601 | 10 | } |
| 602 | |
|
| 603 | |
|
| 604 | |
|
| 605 | |
public final void mTRUE() throws RecognitionException { |
| 606 | |
try { |
| 607 | 42 | int _type = TRUE; |
| 608 | 42 | int _channel = DEFAULT_TOKEN_CHANNEL; |
| 609 | |
|
| 610 | |
|
| 611 | |
{ |
| 612 | 42 | mT(); |
| 613 | 42 | mR(); |
| 614 | 42 | mU(); |
| 615 | 42 | mE(); |
| 616 | |
|
| 617 | |
} |
| 618 | |
|
| 619 | 42 | state.type = _type; |
| 620 | 42 | state.channel = _channel; |
| 621 | |
} |
| 622 | 0 | finally { |
| 623 | 42 | } |
| 624 | 42 | } |
| 625 | |
|
| 626 | |
|
| 627 | |
|
| 628 | |
public final void mFALSE() throws RecognitionException { |
| 629 | |
try { |
| 630 | 100 | int _type = FALSE; |
| 631 | 100 | int _channel = DEFAULT_TOKEN_CHANNEL; |
| 632 | |
|
| 633 | |
|
| 634 | |
{ |
| 635 | 100 | mF(); |
| 636 | 100 | mA(); |
| 637 | 100 | mL(); |
| 638 | 100 | mS(); |
| 639 | 100 | mE(); |
| 640 | |
|
| 641 | |
} |
| 642 | |
|
| 643 | 100 | state.type = _type; |
| 644 | 100 | state.channel = _channel; |
| 645 | |
} |
| 646 | 0 | finally { |
| 647 | 100 | } |
| 648 | 100 | } |
| 649 | |
|
| 650 | |
|
| 651 | |
|
| 652 | |
public final void mTHIS() throws RecognitionException { |
| 653 | |
try { |
| 654 | 28 | int _type = THIS; |
| 655 | 28 | int _channel = DEFAULT_TOKEN_CHANNEL; |
| 656 | |
|
| 657 | |
|
| 658 | |
{ |
| 659 | 28 | mT(); |
| 660 | 28 | mH(); |
| 661 | 28 | mI(); |
| 662 | 28 | mS(); |
| 663 | |
|
| 664 | |
} |
| 665 | |
|
| 666 | 28 | state.type = _type; |
| 667 | 28 | state.channel = _channel; |
| 668 | |
} |
| 669 | 0 | finally { |
| 670 | 28 | } |
| 671 | 28 | } |
| 672 | |
|
| 673 | |
|
| 674 | |
|
| 675 | |
public final void mIDENTIFIER() throws RecognitionException { |
| 676 | |
try { |
| 677 | 1478 | int _type = IDENTIFIER; |
| 678 | 1478 | int _channel = DEFAULT_TOKEN_CHANNEL; |
| 679 | |
|
| 680 | |
|
| 681 | |
{ |
| 682 | 1478 | mLETTER(); |
| 683 | |
|
| 684 | |
loop1: |
| 685 | |
do { |
| 686 | 13046 | int alt1=2; |
| 687 | 13046 | int LA1_0 = input.LA(1); |
| 688 | |
|
| 689 | 13046 | if ( ((LA1_0>='0' && LA1_0<='9')||(LA1_0>='A' && LA1_0<='Z')||LA1_0=='_'||(LA1_0>='a' && LA1_0<='z')) ) { |
| 690 | 11568 | alt1=1; |
| 691 | |
} |
| 692 | |
|
| 693 | |
|
| 694 | 13046 | switch (alt1) { |
| 695 | |
case 1 : |
| 696 | |
|
| 697 | |
{ |
| 698 | 11568 | if ( (input.LA(1)>='0' && input.LA(1)<='9')||(input.LA(1)>='A' && input.LA(1)<='Z')||input.LA(1)=='_'||(input.LA(1)>='a' && input.LA(1)<='z') ) { |
| 699 | 11568 | input.consume(); |
| 700 | |
|
| 701 | |
} |
| 702 | |
else { |
| 703 | 0 | MismatchedSetException mse = new MismatchedSetException(null,input); |
| 704 | 0 | recover(mse); |
| 705 | 0 | throw mse;} |
| 706 | |
|
| 707 | |
|
| 708 | |
} |
| 709 | |
break; |
| 710 | |
|
| 711 | |
default : |
| 712 | 1478 | break loop1; |
| 713 | |
} |
| 714 | 11568 | } while (true); |
| 715 | |
|
| 716 | |
|
| 717 | |
} |
| 718 | |
|
| 719 | 1478 | state.type = _type; |
| 720 | 1478 | state.channel = _channel; |
| 721 | |
} |
| 722 | 0 | finally { |
| 723 | 1478 | } |
| 724 | 1478 | } |
| 725 | |
|
| 726 | |
|
| 727 | |
|
| 728 | |
public final void mSAFEDEREF() throws RecognitionException { |
| 729 | |
try { |
| 730 | 2 | int _type = SAFEDEREF; |
| 731 | 2 | int _channel = DEFAULT_TOKEN_CHANNEL; |
| 732 | |
|
| 733 | |
|
| 734 | |
{ |
| 735 | 2 | match("?."); |
| 736 | |
|
| 737 | |
|
| 738 | |
} |
| 739 | |
|
| 740 | 2 | state.type = _type; |
| 741 | 2 | state.channel = _channel; |
| 742 | |
} |
| 743 | 0 | finally { |
| 744 | 2 | } |
| 745 | 2 | } |
| 746 | |
|
| 747 | |
|
| 748 | |
|
| 749 | |
public final void mWS() throws RecognitionException { |
| 750 | |
try { |
| 751 | 76 | int _type = WS; |
| 752 | 76 | int _channel = DEFAULT_TOKEN_CHANNEL; |
| 753 | |
|
| 754 | |
|
| 755 | |
{ |
| 756 | |
|
| 757 | 76 | int cnt2=0; |
| 758 | |
loop2: |
| 759 | |
do { |
| 760 | 154 | int alt2=2; |
| 761 | 154 | int LA2_0 = input.LA(1); |
| 762 | |
|
| 763 | 154 | if ( ((LA2_0>='\t' && LA2_0<='\n')||LA2_0=='\r'||LA2_0==' ') ) { |
| 764 | 78 | alt2=1; |
| 765 | |
} |
| 766 | |
|
| 767 | |
|
| 768 | 154 | switch (alt2) { |
| 769 | |
case 1 : |
| 770 | |
|
| 771 | |
{ |
| 772 | 78 | if ( (input.LA(1)>='\t' && input.LA(1)<='\n')||input.LA(1)=='\r'||input.LA(1)==' ' ) { |
| 773 | 78 | input.consume(); |
| 774 | |
|
| 775 | |
} |
| 776 | |
else { |
| 777 | 0 | MismatchedSetException mse = new MismatchedSetException(null,input); |
| 778 | 0 | recover(mse); |
| 779 | 0 | throw mse;} |
| 780 | |
|
| 781 | |
|
| 782 | |
} |
| 783 | |
break; |
| 784 | |
|
| 785 | |
default : |
| 786 | 76 | if ( cnt2 >= 1 ) break loop2; |
| 787 | 0 | EarlyExitException eee = |
| 788 | |
new EarlyExitException(2, input); |
| 789 | 0 | throw eee; |
| 790 | |
} |
| 791 | 78 | cnt2++; |
| 792 | 78 | } while (true); |
| 793 | |
|
| 794 | 76 | skip(); |
| 795 | |
|
| 796 | |
} |
| 797 | |
|
| 798 | 76 | state.type = _type; |
| 799 | 76 | state.channel = _channel; |
| 800 | |
} |
| 801 | 0 | finally { |
| 802 | 76 | } |
| 803 | 76 | } |
| 804 | |
|
| 805 | |
|
| 806 | |
|
| 807 | |
public final void mSTRING() throws RecognitionException { |
| 808 | |
try { |
| 809 | 20 | int _type = STRING; |
| 810 | 20 | int _channel = DEFAULT_TOKEN_CHANNEL; |
| 811 | |
|
| 812 | |
|
| 813 | |
{ |
| 814 | 20 | mQUOTE(); |
| 815 | |
|
| 816 | |
loop3: |
| 817 | |
do { |
| 818 | 172 | int alt3=2; |
| 819 | 172 | int LA3_0 = input.LA(1); |
| 820 | |
|
| 821 | 172 | if ( (LA3_0=='\'') ) { |
| 822 | 20 | alt3=2; |
| 823 | |
} |
| 824 | 152 | else if ( ((LA3_0>='\u0000' && LA3_0<='&')||(LA3_0>='(' && LA3_0<='\uFFFF')) ) { |
| 825 | 152 | alt3=1; |
| 826 | |
} |
| 827 | |
|
| 828 | |
|
| 829 | 172 | switch (alt3) { |
| 830 | |
case 1 : |
| 831 | |
|
| 832 | |
{ |
| 833 | 152 | matchAny(); |
| 834 | |
|
| 835 | |
} |
| 836 | 152 | break; |
| 837 | |
|
| 838 | |
default : |
| 839 | 20 | break loop3; |
| 840 | |
} |
| 841 | 152 | } while (true); |
| 842 | |
|
| 843 | 20 | mQUOTE(); |
| 844 | 20 | setText(getText().substring(1, getText().length()-1)); |
| 845 | |
|
| 846 | |
} |
| 847 | |
|
| 848 | 20 | state.type = _type; |
| 849 | 20 | state.channel = _channel; |
| 850 | |
} |
| 851 | 0 | finally { |
| 852 | 20 | } |
| 853 | 20 | } |
| 854 | |
|
| 855 | |
|
| 856 | |
|
| 857 | |
public final void mNUMBER_OR_RANGEOP() throws RecognitionException { |
| 858 | |
try { |
| 859 | 392 | int _type = NUMBER_OR_RANGEOP; |
| 860 | 392 | int _channel = DEFAULT_TOKEN_CHANNEL; |
| 861 | |
|
| 862 | 392 | int alt11=3; |
| 863 | 392 | switch ( input.LA(1) ) { |
| 864 | |
case '+': |
| 865 | |
case '-': |
| 866 | |
{ |
| 867 | 20 | int LA11_1 = input.LA(2); |
| 868 | |
|
| 869 | 20 | if ( (LA11_1=='.') ) { |
| 870 | 0 | alt11=2; |
| 871 | |
} |
| 872 | 20 | else if ( ((LA11_1>='0' && LA11_1<='9')) ) { |
| 873 | 20 | alt11=1; |
| 874 | |
} |
| 875 | |
else { |
| 876 | 0 | NoViableAltException nvae = |
| 877 | |
new NoViableAltException("", 11, 1, input); |
| 878 | |
|
| 879 | 0 | throw nvae; |
| 880 | |
} |
| 881 | |
} |
| 882 | 20 | break; |
| 883 | |
case '0': |
| 884 | |
case '1': |
| 885 | |
case '2': |
| 886 | |
case '3': |
| 887 | |
case '4': |
| 888 | |
case '5': |
| 889 | |
case '6': |
| 890 | |
case '7': |
| 891 | |
case '8': |
| 892 | |
case '9': |
| 893 | |
{ |
| 894 | 78 | alt11=1; |
| 895 | |
} |
| 896 | 78 | break; |
| 897 | |
case '.': |
| 898 | |
{ |
| 899 | 294 | alt11=3; |
| 900 | |
} |
| 901 | 294 | break; |
| 902 | |
default: |
| 903 | 0 | NoViableAltException nvae = |
| 904 | |
new NoViableAltException("", 11, 0, input); |
| 905 | |
|
| 906 | 0 | throw nvae; |
| 907 | |
} |
| 908 | |
|
| 909 | 392 | switch (alt11) { |
| 910 | |
case 1 : |
| 911 | |
|
| 912 | |
{ |
| 913 | |
|
| 914 | 98 | int alt4=2; |
| 915 | 98 | int LA4_0 = input.LA(1); |
| 916 | |
|
| 917 | 98 | if ( (LA4_0=='+'||LA4_0=='-') ) { |
| 918 | 20 | alt4=1; |
| 919 | |
} |
| 920 | 98 | switch (alt4) { |
| 921 | |
case 1 : |
| 922 | |
|
| 923 | |
{ |
| 924 | 20 | mSIGN(); |
| 925 | |
|
| 926 | |
} |
| 927 | |
break; |
| 928 | |
|
| 929 | |
} |
| 930 | |
|
| 931 | |
|
| 932 | 98 | int cnt5=0; |
| 933 | |
loop5: |
| 934 | |
do { |
| 935 | 266 | int alt5=2; |
| 936 | 266 | int LA5_0 = input.LA(1); |
| 937 | |
|
| 938 | 266 | if ( ((LA5_0>='0' && LA5_0<='9')) ) { |
| 939 | 168 | alt5=1; |
| 940 | |
} |
| 941 | |
|
| 942 | |
|
| 943 | 266 | switch (alt5) { |
| 944 | |
case 1 : |
| 945 | |
|
| 946 | |
{ |
| 947 | 168 | mDIGIT(); |
| 948 | |
|
| 949 | |
} |
| 950 | 168 | break; |
| 951 | |
|
| 952 | |
default : |
| 953 | 98 | if ( cnt5 >= 1 ) break loop5; |
| 954 | 0 | EarlyExitException eee = |
| 955 | |
new EarlyExitException(5, input); |
| 956 | 0 | throw eee; |
| 957 | |
} |
| 958 | 168 | cnt5++; |
| 959 | 168 | } while (true); |
| 960 | |
|
| 961 | |
|
| 962 | 98 | int alt7=2; |
| 963 | 98 | int LA7_0 = input.LA(1); |
| 964 | |
|
| 965 | 98 | if ( (LA7_0=='.') && (( input.LA(2) != '.' ))) { |
| 966 | 20 | alt7=1; |
| 967 | |
} |
| 968 | |
else { |
| 969 | 78 | alt7=2;} |
| 970 | 98 | switch (alt7) { |
| 971 | |
case 1 : |
| 972 | |
|
| 973 | |
{ |
| 974 | 20 | if ( !(( input.LA(2) != '.' )) ) { |
| 975 | 0 | throw new FailedPredicateException(input, "NUMBER_OR_RANGEOP", " input.LA(2) != '.' "); |
| 976 | |
} |
| 977 | 20 | match('.'); |
| 978 | |
|
| 979 | |
loop6: |
| 980 | |
do { |
| 981 | 38 | int alt6=2; |
| 982 | 38 | int LA6_0 = input.LA(1); |
| 983 | |
|
| 984 | 38 | if ( ((LA6_0>='0' && LA6_0<='9')) ) { |
| 985 | 18 | alt6=1; |
| 986 | |
} |
| 987 | |
|
| 988 | |
|
| 989 | 38 | switch (alt6) { |
| 990 | |
case 1 : |
| 991 | |
|
| 992 | |
{ |
| 993 | 18 | mDIGIT(); |
| 994 | |
|
| 995 | |
} |
| 996 | 18 | break; |
| 997 | |
|
| 998 | |
default : |
| 999 | 20 | break loop6; |
| 1000 | |
} |
| 1001 | 18 | } while (true); |
| 1002 | |
|
| 1003 | 20 | _type = DECIMAL; stripLeadingPlus(); |
| 1004 | |
|
| 1005 | |
} |
| 1006 | 20 | break; |
| 1007 | |
case 2 : |
| 1008 | |
|
| 1009 | |
{ |
| 1010 | 78 | _type = INTEGER; stripLeadingPlus(); |
| 1011 | |
|
| 1012 | |
} |
| 1013 | |
break; |
| 1014 | |
|
| 1015 | |
} |
| 1016 | |
|
| 1017 | |
|
| 1018 | |
} |
| 1019 | 98 | break; |
| 1020 | |
case 2 : |
| 1021 | |
|
| 1022 | |
{ |
| 1023 | 0 | mSIGN(); |
| 1024 | 0 | match('.'); |
| 1025 | |
|
| 1026 | 0 | int cnt8=0; |
| 1027 | |
loop8: |
| 1028 | |
do { |
| 1029 | 0 | int alt8=2; |
| 1030 | 0 | int LA8_0 = input.LA(1); |
| 1031 | |
|
| 1032 | 0 | if ( ((LA8_0>='0' && LA8_0<='9')) ) { |
| 1033 | 0 | alt8=1; |
| 1034 | |
} |
| 1035 | |
|
| 1036 | |
|
| 1037 | 0 | switch (alt8) { |
| 1038 | |
case 1 : |
| 1039 | |
|
| 1040 | |
{ |
| 1041 | 0 | mDIGIT(); |
| 1042 | |
|
| 1043 | |
} |
| 1044 | 0 | break; |
| 1045 | |
|
| 1046 | |
default : |
| 1047 | 0 | if ( cnt8 >= 1 ) break loop8; |
| 1048 | 0 | EarlyExitException eee = |
| 1049 | |
new EarlyExitException(8, input); |
| 1050 | 0 | throw eee; |
| 1051 | |
} |
| 1052 | 0 | cnt8++; |
| 1053 | 0 | } while (true); |
| 1054 | |
|
| 1055 | 0 | _type = DECIMAL; stripLeadingPlus(); |
| 1056 | |
|
| 1057 | |
} |
| 1058 | 0 | break; |
| 1059 | |
case 3 : |
| 1060 | |
|
| 1061 | |
{ |
| 1062 | 294 | match('.'); |
| 1063 | |
|
| 1064 | 294 | int alt10=3; |
| 1065 | 294 | switch ( input.LA(1) ) { |
| 1066 | |
case '0': |
| 1067 | |
case '1': |
| 1068 | |
case '2': |
| 1069 | |
case '3': |
| 1070 | |
case '4': |
| 1071 | |
case '5': |
| 1072 | |
case '6': |
| 1073 | |
case '7': |
| 1074 | |
case '8': |
| 1075 | |
case '9': |
| 1076 | |
{ |
| 1077 | 0 | alt10=1; |
| 1078 | |
} |
| 1079 | 0 | break; |
| 1080 | |
case '.': |
| 1081 | |
{ |
| 1082 | 20 | alt10=2; |
| 1083 | |
} |
| 1084 | 20 | break; |
| 1085 | |
default: |
| 1086 | 274 | alt10=3;} |
| 1087 | |
|
| 1088 | 294 | switch (alt10) { |
| 1089 | |
case 1 : |
| 1090 | |
|
| 1091 | |
{ |
| 1092 | |
|
| 1093 | 0 | int cnt9=0; |
| 1094 | |
loop9: |
| 1095 | |
do { |
| 1096 | 0 | int alt9=2; |
| 1097 | 0 | int LA9_0 = input.LA(1); |
| 1098 | |
|
| 1099 | 0 | if ( ((LA9_0>='0' && LA9_0<='9')) ) { |
| 1100 | 0 | alt9=1; |
| 1101 | |
} |
| 1102 | |
|
| 1103 | |
|
| 1104 | 0 | switch (alt9) { |
| 1105 | |
case 1 : |
| 1106 | |
|
| 1107 | |
{ |
| 1108 | 0 | mDIGIT(); |
| 1109 | |
|
| 1110 | |
} |
| 1111 | 0 | break; |
| 1112 | |
|
| 1113 | |
default : |
| 1114 | 0 | if ( cnt9 >= 1 ) break loop9; |
| 1115 | 0 | EarlyExitException eee = |
| 1116 | |
new EarlyExitException(9, input); |
| 1117 | 0 | throw eee; |
| 1118 | |
} |
| 1119 | 0 | cnt9++; |
| 1120 | 0 | } while (true); |
| 1121 | |
|
| 1122 | 0 | _type = DECIMAL; stripLeadingPlus(); |
| 1123 | |
|
| 1124 | |
} |
| 1125 | 0 | break; |
| 1126 | |
case 2 : |
| 1127 | |
|
| 1128 | |
{ |
| 1129 | 20 | match('.'); |
| 1130 | 20 | _type = RANGEOP; |
| 1131 | |
|
| 1132 | |
} |
| 1133 | 20 | break; |
| 1134 | |
case 3 : |
| 1135 | |
|
| 1136 | |
{ |
| 1137 | 274 | _type = DEREF; |
| 1138 | |
|
| 1139 | |
} |
| 1140 | |
break; |
| 1141 | |
|
| 1142 | |
} |
| 1143 | |
|
| 1144 | |
|
| 1145 | |
} |
| 1146 | |
break; |
| 1147 | |
|
| 1148 | |
} |
| 1149 | 392 | state.type = _type; |
| 1150 | 392 | state.channel = _channel; |
| 1151 | |
} |
| 1152 | 0 | finally { |
| 1153 | 392 | } |
| 1154 | 392 | } |
| 1155 | |
|
| 1156 | |
|
| 1157 | |
public void mTokens() throws RecognitionException { |
| 1158 | |
|
| 1159 | 2310 | int alt12=15; |
| 1160 | 2310 | alt12 = dfa12.predict(input); |
| 1161 | 2308 | switch (alt12) { |
| 1162 | |
case 1 : |
| 1163 | |
|
| 1164 | |
{ |
| 1165 | 62 | mLPAREN(); |
| 1166 | |
|
| 1167 | |
} |
| 1168 | 62 | break; |
| 1169 | |
case 2 : |
| 1170 | |
|
| 1171 | |
{ |
| 1172 | 60 | mRPAREN(); |
| 1173 | |
|
| 1174 | |
} |
| 1175 | 60 | break; |
| 1176 | |
case 3 : |
| 1177 | |
|
| 1178 | |
{ |
| 1179 | 6 | mLBRACKET(); |
| 1180 | |
|
| 1181 | |
} |
| 1182 | 6 | break; |
| 1183 | |
case 4 : |
| 1184 | |
|
| 1185 | |
{ |
| 1186 | 6 | mRBRACKET(); |
| 1187 | |
|
| 1188 | |
} |
| 1189 | 6 | break; |
| 1190 | |
case 5 : |
| 1191 | |
|
| 1192 | |
{ |
| 1193 | 20 | mCOMMA(); |
| 1194 | |
|
| 1195 | |
} |
| 1196 | 20 | break; |
| 1197 | |
case 6 : |
| 1198 | |
|
| 1199 | |
{ |
| 1200 | 6 | mBANG(); |
| 1201 | |
|
| 1202 | |
} |
| 1203 | 6 | break; |
| 1204 | |
case 7 : |
| 1205 | |
|
| 1206 | |
{ |
| 1207 | 10 | mNULL(); |
| 1208 | |
|
| 1209 | |
} |
| 1210 | 10 | break; |
| 1211 | |
case 8 : |
| 1212 | |
|
| 1213 | |
{ |
| 1214 | 42 | mTRUE(); |
| 1215 | |
|
| 1216 | |
} |
| 1217 | 42 | break; |
| 1218 | |
case 9 : |
| 1219 | |
|
| 1220 | |
{ |
| 1221 | 100 | mFALSE(); |
| 1222 | |
|
| 1223 | |
} |
| 1224 | 100 | break; |
| 1225 | |
case 10 : |
| 1226 | |
|
| 1227 | |
{ |
| 1228 | 28 | mTHIS(); |
| 1229 | |
|
| 1230 | |
} |
| 1231 | 28 | break; |
| 1232 | |
case 11 : |
| 1233 | |
|
| 1234 | |
{ |
| 1235 | 1478 | mIDENTIFIER(); |
| 1236 | |
|
| 1237 | |
} |
| 1238 | 1478 | break; |
| 1239 | |
case 12 : |
| 1240 | |
|
| 1241 | |
{ |
| 1242 | 2 | mSAFEDEREF(); |
| 1243 | |
|
| 1244 | |
} |
| 1245 | 2 | break; |
| 1246 | |
case 13 : |
| 1247 | |
|
| 1248 | |
{ |
| 1249 | 76 | mWS(); |
| 1250 | |
|
| 1251 | |
} |
| 1252 | 76 | break; |
| 1253 | |
case 14 : |
| 1254 | |
|
| 1255 | |
{ |
| 1256 | 20 | mSTRING(); |
| 1257 | |
|
| 1258 | |
} |
| 1259 | 20 | break; |
| 1260 | |
case 15 : |
| 1261 | |
|
| 1262 | |
{ |
| 1263 | 392 | mNUMBER_OR_RANGEOP(); |
| 1264 | |
|
| 1265 | |
} |
| 1266 | |
break; |
| 1267 | |
|
| 1268 | |
} |
| 1269 | |
|
| 1270 | 2308 | } |
| 1271 | |
|
| 1272 | |
|
| 1273 | 1446 | protected DFA12 dfa12 = new DFA12(this); |
| 1274 | |
static final String DFA12_eotS = |
| 1275 | |
"\7\uffff\3\12\5\uffff\10\12\1\33\1\34\1\35\1\12\3\uffff\1\37\1\uffff"; |
| 1276 | |
static final String DFA12_eofS = |
| 1277 | |
"\40\uffff"; |
| 1278 | |
static final String DFA12_minS = |
| 1279 | |
"\1\11\6\uffff\1\125\1\110\1\101\5\uffff\1\114\1\125\1\111\2\114"+ |
| 1280 | |
"\1\105\2\123\3\60\1\105\3\uffff\1\60\1\uffff"; |
| 1281 | |
static final String DFA12_maxS = |
| 1282 | |
"\1\172\6\uffff\1\165\1\162\1\141\5\uffff\1\154\1\165\1\151\2\154"+ |
| 1283 | |
"\1\145\2\163\3\172\1\145\3\uffff\1\172\1\uffff"; |
| 1284 | |
static final String DFA12_acceptS = |
| 1285 | |
"\1\uffff\1\1\1\2\1\3\1\4\1\5\1\6\3\uffff\1\13\1\14\1\15\1\16\1\17"+ |
| 1286 | |
"\14\uffff\1\7\1\10\1\12\1\uffff\1\11"; |
| 1287 | |
static final String DFA12_specialS = |
| 1288 | |
"\40\uffff}>"; |
| 1289 | 2 | static final String[] DFA12_transitionS = { |
| 1290 | |
"\2\14\2\uffff\1\14\22\uffff\1\14\1\6\5\uffff\1\15\1\1\1\2\1"+ |
| 1291 | |
"\uffff\1\16\1\5\2\16\1\uffff\12\16\5\uffff\1\13\1\uffff\5\12"+ |
| 1292 | |
"\1\11\7\12\1\7\5\12\1\10\6\12\1\3\1\uffff\1\4\3\uffff\5\12\1"+ |
| 1293 | |
"\11\7\12\1\7\5\12\1\10\6\12", |
| 1294 | |
"", |
| 1295 | |
"", |
| 1296 | |
"", |
| 1297 | |
"", |
| 1298 | |
"", |
| 1299 | |
"", |
| 1300 | |
"\1\17\37\uffff\1\17", |
| 1301 | |
"\1\21\11\uffff\1\20\25\uffff\1\21\11\uffff\1\20", |
| 1302 | |
"\1\22\37\uffff\1\22", |
| 1303 | |
"", |
| 1304 | |
"", |
| 1305 | |
"", |
| 1306 | |
"", |
| 1307 | |
"", |
| 1308 | |
"\1\23\37\uffff\1\23", |
| 1309 | |
"\1\24\37\uffff\1\24", |
| 1310 | |
"\1\25\37\uffff\1\25", |
| 1311 | |
"\1\26\37\uffff\1\26", |
| 1312 | |
"\1\27\37\uffff\1\27", |
| 1313 | |
"\1\30\37\uffff\1\30", |
| 1314 | |
"\1\31\37\uffff\1\31", |
| 1315 | |
"\1\32\37\uffff\1\32", |
| 1316 | |
"\12\12\7\uffff\32\12\4\uffff\1\12\1\uffff\32\12", |
| 1317 | |
"\12\12\7\uffff\32\12\4\uffff\1\12\1\uffff\32\12", |
| 1318 | |
"\12\12\7\uffff\32\12\4\uffff\1\12\1\uffff\32\12", |
| 1319 | |
"\1\36\37\uffff\1\36", |
| 1320 | |
"", |
| 1321 | |
"", |
| 1322 | |
"", |
| 1323 | |
"\12\12\7\uffff\32\12\4\uffff\1\12\1\uffff\32\12", |
| 1324 | |
"" |
| 1325 | |
}; |
| 1326 | |
|
| 1327 | 2 | static final short[] DFA12_eot = DFA.unpackEncodedString(DFA12_eotS); |
| 1328 | 2 | static final short[] DFA12_eof = DFA.unpackEncodedString(DFA12_eofS); |
| 1329 | 2 | static final char[] DFA12_min = DFA.unpackEncodedStringToUnsignedChars(DFA12_minS); |
| 1330 | 2 | static final char[] DFA12_max = DFA.unpackEncodedStringToUnsignedChars(DFA12_maxS); |
| 1331 | 2 | static final short[] DFA12_accept = DFA.unpackEncodedString(DFA12_acceptS); |
| 1332 | 2 | static final short[] DFA12_special = DFA.unpackEncodedString(DFA12_specialS); |
| 1333 | |
static final short[][] DFA12_transition; |
| 1334 | |
|
| 1335 | |
static { |
| 1336 | 2 | int numStates = DFA12_transitionS.length; |
| 1337 | 2 | DFA12_transition = new short[numStates][]; |
| 1338 | 66 | for (int i=0; i<numStates; i++) { |
| 1339 | 64 | DFA12_transition[i] = DFA.unpackEncodedString(DFA12_transitionS[i]); |
| 1340 | |
} |
| 1341 | 2 | } |
| 1342 | |
|
| 1343 | |
class DFA12 extends DFA { |
| 1344 | |
|
| 1345 | 1446 | public DFA12(BaseRecognizer recognizer) { |
| 1346 | 1446 | this.recognizer = recognizer; |
| 1347 | 1446 | this.decisionNumber = 12; |
| 1348 | 1446 | this.eot = DFA12_eot; |
| 1349 | 1446 | this.eof = DFA12_eof; |
| 1350 | 1446 | this.min = DFA12_min; |
| 1351 | 1446 | this.max = DFA12_max; |
| 1352 | 1446 | this.accept = DFA12_accept; |
| 1353 | 1446 | this.special = DFA12_special; |
| 1354 | 1446 | this.transition = DFA12_transition; |
| 1355 | 1446 | } |
| 1356 | |
public String getDescription() { |
| 1357 | 2 | return "1:1: Tokens : ( LPAREN | RPAREN | LBRACKET | RBRACKET | COMMA | BANG | NULL | TRUE | FALSE | THIS | IDENTIFIER | SAFEDEREF | WS | STRING | NUMBER_OR_RANGEOP );"; |
| 1358 | |
} |
| 1359 | |
} |
| 1360 | |
|
| 1361 | |
|
| 1362 | |
} |