| 1 2 9 package org.codehaus.aspectwerkz.expression.ast; 10 import java.lang.reflect.Modifier ; 11 import java.io.Reader ; 12 import java.io.StringReader ; 13 14 public class ExpressionParserTokenManager implements ExpressionParserConstants 15 { 16 public static java.io.PrintStream debugStream = System.out; 17 public static void setDebugStream(java.io.PrintStream ds) { debugStream = ds; } 18 private static final int jjStopStringLiteralDfa_5(int pos, long active0, long active1) 19 { 20 switch (pos) 21 { 22 case 0: 23 if ((active0 & 0x7dff800L) != 0L) 24 { 25 jjmatchedKind = 28; 26 return 22; 27 } 28 if ((active0 & 0x10L) != 0L) 29 return 1; 30 if ((active0 & 0x200000L) != 0L) 31 { 32 jjmatchedKind = 28; 33 return 5; 34 } 35 return -1; 36 case 1: 37 if ((active0 & 0x7fff800L) != 0L) 38 { 39 jjmatchedKind = 28; 40 jjmatchedPos = 1; 41 return 22; 42 } 43 return -1; 44 case 2: 45 if ((active0 & 0x6fff800L) != 0L) 46 { 47 jjmatchedKind = 28; 48 jjmatchedPos = 2; 49 return 22; 50 } 51 return -1; 52 case 3: 53 if ((active0 & 0x6ff9800L) != 0L) 54 { 55 jjmatchedKind = 28; 56 jjmatchedPos = 3; 57 return 22; 58 } 59 return -1; 60 case 4: 61 if ((active0 & 0x65f8800L) != 0L) 62 { 63 jjmatchedKind = 28; 64 jjmatchedPos = 4; 65 return 22; 66 } 67 return -1; 68 case 5: 69 if ((active0 & 0x6578800L) != 0L) 70 { 71 jjmatchedKind = 28; 72 jjmatchedPos = 5; 73 return 22; 74 } 75 return -1; 76 case 6: 77 if ((active0 & 0x6168800L) != 0L) 78 { 79 jjmatchedKind = 28; 80 jjmatchedPos = 6; 81 return 22; 82 } 83 return -1; 84 case 7: 85 if ((active0 & 0x6160800L) != 0L) 86 { 87 jjmatchedKind = 28; 88 jjmatchedPos = 7; 89 return 22; 90 } 91 return -1; 92 case 8: 93 if ((active0 & 0x2160800L) != 0L) 94 { 95 jjmatchedKind = 28; 96 jjmatchedPos = 8; 97 return 22; 98 } 99 return -1; 100 case 9: 101 if ((active0 & 0x160000L) != 0L) 102 { 103 jjmatchedKind = 28; 104 jjmatchedPos = 9; 105 return 22; 106 } 107 return -1; 108 case 10: 109 if ((active0 & 0x40000L) != 0L) 110 { 111 jjmatchedKind = 28; 112 jjmatchedPos = 10; 113 return 22; 114 } 115 return -1; 116 case 11: 117 if ((active0 & 0x40000L) != 0L) 118 { 119 jjmatchedKind = 28; 120 jjmatchedPos = 11; 121 return 22; 122 } 123 return -1; 124 case 12: 125 if ((active0 & 0x40000L) != 0L) 126 { 127 jjmatchedKind = 28; 128 jjmatchedPos = 12; 129 return 22; 130 } 131 return -1; 132 case 13: 133 if ((active0 & 0x40000L) != 0L) 134 { 135 jjmatchedKind = 28; 136 jjmatchedPos = 13; 137 return 22; 138 } 139 return -1; 140 case 14: 141 if ((active0 & 0x40000L) != 0L) 142 { 143 jjmatchedKind = 28; 144 jjmatchedPos = 14; 145 return 22; 146 } 147 return -1; 148 case 15: 149 if ((active0 & 0x40000L) != 0L) 150 { 151 jjmatchedKind = 28; 152 jjmatchedPos = 15; 153 return 22; 154 } 155 return -1; 156 case 16: 157 if ((active0 & 0x40000L) != 0L) 158 { 159 jjmatchedKind = 28; 160 jjmatchedPos = 16; 161 return 22; 162 } 163 return -1; 164 case 17: 165 if ((active0 & 0x40000L) != 0L) 166 { 167 jjmatchedKind = 28; 168 jjmatchedPos = 17; 169 return 22; 170 } 171 return -1; 172 case 18: 173 if ((active0 & 0x40000L) != 0L) 174 { 175 jjmatchedKind = 28; 176 jjmatchedPos = 18; 177 return 22; 178 } 179 return -1; 180 case 19: 181 if ((active0 & 0x40000L) != 0L) 182 { 183 jjmatchedKind = 28; 184 jjmatchedPos = 19; 185 return 22; 186 } 187 return -1; 188 default : 189 return -1; 190 } 191 } 192 private static final int jjStartNfa_5(int pos, long active0, long active1) 193 { 194 return jjMoveNfa_5(jjStopStringLiteralDfa_5(pos, active0, active1), pos + 1); 195 } 196 static private final int jjStopAtPos(int pos, int kind) 197 { 198 jjmatchedKind = kind; 199 jjmatchedPos = pos; 200 return pos + 1; 201 } 202 static private final int jjStartNfaWithStates_5(int pos, int kind, int state) 203 { 204 jjmatchedKind = kind; 205 jjmatchedPos = pos; 206 try { curChar = input_stream.readChar(); } 207 catch(java.io.IOException e) { return pos + 1; } 208 return jjMoveNfa_5(state, pos + 1); 209 } 210 static private final int jjMoveStringLiteralDfa0_5() 211 { 212 switch(curChar) 213 { 214 case 33: 215 return jjStopAtPos(0, 10); 216 case 40: 217 return jjStopAtPos(0, 86); 218 case 41: 219 return jjStopAtPos(0, 87); 220 case 44: 221 return jjStopAtPos(0, 3); 222 case 46: 223 return jjStartNfaWithStates_5(0, 4, 1); 224 case 97: 225 return jjMoveStringLiteralDfa1_5(0x200000L); 226 case 99: 227 return jjMoveStringLiteralDfa1_5(0x181000L); 228 case 101: 229 return jjMoveStringLiteralDfa1_5(0x800L); 230 case 103: 231 return jjMoveStringLiteralDfa1_5(0x4000L); 232 case 104: 233 return jjMoveStringLiteralDfa1_5(0x6008000L); 234 case 105: 235 return jjMoveStringLiteralDfa1_5(0x1000000L); 236 case 115: 237 return jjMoveStringLiteralDfa1_5(0x42000L); 238 case 116: 239 return jjMoveStringLiteralDfa1_5(0xc00000L); 240 case 119: 241 return jjMoveStringLiteralDfa1_5(0x30000L); 242 default : 243 return jjMoveNfa_5(0, 0); 244 } 245 } 246 static private final int jjMoveStringLiteralDfa1_5(long active0) 247 { 248 try { curChar = input_stream.readChar(); } 249 catch(java.io.IOException e) { 250 jjStopStringLiteralDfa_5(0, active0, 0L); 251 return 1; 252 } 253 switch(curChar) 254 { 255 case 97: 256 return jjMoveStringLiteralDfa2_5(active0, 0x6409000L); 257 case 101: 258 return jjMoveStringLiteralDfa2_5(active0, 0x6000L); 259 case 102: 260 return jjMoveStringLiteralDfa2_5(active0, 0x1180000L); 261 case 104: 262 return jjMoveStringLiteralDfa2_5(active0, 0x800000L); 263 case 105: 264 return jjMoveStringLiteralDfa2_5(active0, 0x30000L); 265 case 114: 266 return jjMoveStringLiteralDfa2_5(active0, 0x200000L); 267 case 116: 268 return jjMoveStringLiteralDfa2_5(active0, 0x40000L); 269 case 120: 270 return jjMoveStringLiteralDfa2_5(active0, 0x800L); 271 default : 272 break; 273 } 274 return jjStartNfa_5(0, active0, 0L); 275 } 276 static private final int jjMoveStringLiteralDfa2_5(long old0, long active0) 277 { 278 if (((active0 &= old0)) == 0L) 279 return jjStartNfa_5(0, old0, 0L); 280 try { curChar = input_stream.readChar(); } 281 catch(java.io.IOException e) { 282 jjStopStringLiteralDfa_5(1, active0, 0L); 283 return 2; 284 } 285 switch(curChar) 286 { 287 case 40: 288 if ((active0 & 0x1000000L) != 0L) 289 return jjStopAtPos(2, 24); 290 break; 291 case 97: 292 return jjMoveStringLiteralDfa3_5(active0, 0x40000L); 293 case 101: 294 return jjMoveStringLiteralDfa3_5(active0, 0x800L); 295 case 103: 296 return jjMoveStringLiteralDfa3_5(active0, 0x200000L); 297 case 105: 298 return jjMoveStringLiteralDfa3_5(active0, 0x800000L); 299 case 108: 300 return jjMoveStringLiteralDfa3_5(active0, 0x181000L); 301 case 110: 302 return jjMoveStringLiteralDfa3_5(active0, 0x8000L); 303 case 114: 304 return jjMoveStringLiteralDfa3_5(active0, 0x400000L); 305 case 115: 306 return jjMoveStringLiteralDfa3_5(active0, 0x6000000L); 307 case 116: 308 return jjMoveStringLiteralDfa3_5(active0, 0x36000L); 309 default : 310 break; 311 } 312 return jjStartNfa_5(1, active0, 0L); 313 } 314 static private final int jjMoveStringLiteralDfa3_5(long old0, long active0) 315 { 316 if (((active0 &= old0)) == 0L) 317 return jjStartNfa_5(1, old0, 0L); 318 try { curChar = input_stream.readChar(); } 319 catch(java.io.IOException e) { 320 jjStopStringLiteralDfa_5(2, active0, 0L); 321 return 3; 322 } 323 switch(curChar) 324 { 325 case 40: 326 if ((active0 & 0x2000L) != 0L) 327 return jjStopAtPos(3, 13); 328 else if ((active0 & 0x4000L) != 0L) 329 return jjStopAtPos(3, 14); 330 break; 331 case 99: 332 return jjMoveStringLiteralDfa4_5(active0, 0x800L); 333 case 100: 334 return jjMoveStringLiteralDfa4_5(active0, 0x8000L); 335 case 102: 336 return jjMoveStringLiteralDfa4_5(active0, 0x4000000L); 337 case 103: 338 return jjMoveStringLiteralDfa4_5(active0, 0x400000L); 339 case 104: 340 return jjMoveStringLiteralDfa4_5(active0, 0x30000L); 341 case 108: 342 return jjMoveStringLiteralDfa4_5(active0, 0x1000L); 343 case 109: 344 return jjMoveStringLiteralDfa4_5(active0, 0x2000000L); 345 case 111: 346 return jjMoveStringLiteralDfa4_5(active0, 0x180000L); 347 case 115: 348 return jjMoveStringLiteralDfa4_5(active0, 0xa00000L); 349 case 116: 350 return jjMoveStringLiteralDfa4_5(active0, 0x40000L); 351 default : 352 break; 353 } 354 return jjStartNfa_5(2, active0, 0L); 355 } 356 static private final int jjMoveStringLiteralDfa4_5(long old0, long active0) 357 { 358 if (((active0 &= old0)) == 0L) 359 return jjStartNfa_5(2, old0, 0L); 360 try { curChar = input_stream.readChar(); } 361 catch(java.io.IOException e) { 362 jjStopStringLiteralDfa_5(3, active0, 0L); 363 return 4; 364 } 365 switch(curChar) 366 { 367 case 40: 368 if ((active0 & 0x1000L) != 0L) 369 return jjStopAtPos(4, 12); 370 else if ((active0 & 0x200000L) != 0L) 371 return jjStopAtPos(4, 21); 372 else if ((active0 & 0x800000L) != 0L) 373 return jjStopAtPos(4, 23); 374 break; 375 case 101: 376 return jjMoveStringLiteralDfa5_5(active0, 0x2400000L); 377 case 105: 378 return jjMoveStringLiteralDfa5_5(active0, 0x4070000L); 379 case 108: 380 return jjMoveStringLiteralDfa5_5(active0, 0x8000L); 381 case 117: 382 return jjMoveStringLiteralDfa5_5(active0, 0x800L); 383 case 119: 384 return jjMoveStringLiteralDfa5_5(active0, 0x180000L); 385 default : 386 break; 387 } 388 return jjStartNfa_5(3, active0, 0L); 389 } 390 static private final int jjMoveStringLiteralDfa5_5(long old0, long active0) 391 { 392 if (((active0 &= old0)) == 0L) 393 return jjStartNfa_5(3, old0, 0L); 394 try { curChar = input_stream.readChar(); } 395 catch(java.io.IOException e) { 396 jjStopStringLiteralDfa_5(4, active0, 0L); 397 return 5; 398 } 399 switch(curChar) 400 { 401 case 40: 402 if ((active0 & 0x80000L) != 0L) 403 return jjStopAtPos(5, 19); 404 break; 405 case 98: 406 return jjMoveStringLiteralDfa6_5(active0, 0x100000L); 407 case 99: 408 return jjMoveStringLiteralDfa6_5(active0, 0x40000L); 409 case 101: 410 return jjMoveStringLiteralDfa6_5(active0, 0x4008000L); 411 case 110: 412 return jjMoveStringLiteralDfa6_5(active0, 0x30000L); 413 case 116: 414 return jjMoveStringLiteralDfa6_5(active0, 0x2400800L); 415 default : 416 break; 417 } 418 return jjStartNfa_5(4, active0, 0L); 419 } 420 static private final int jjMoveStringLiteralDfa6_5(long old0, long active0) 421 { 422 if (((active0 &= old0)) == 0L) 423 return jjStartNfa_5(4, old0, 0L); 424 try { curChar = input_stream.readChar(); } 425 catch(java.io.IOException e) { 426 jjStopStringLiteralDfa_5(5, active0, 0L); 427 return 6; 428 } 429 switch(curChar) 430 { 431 case 40: 432 if ((active0 & 0x10000L) != 0L) 433 return jjStopAtPos(6, 16); 434 else if ((active0 & 0x400000L) != 0L) 435 return jjStopAtPos(6, 22); 436 break; 437 case 99: 438 return jjMoveStringLiteralDfa7_5(active0, 0x20000L); 439 case 101: 440 return jjMoveStringLiteralDfa7_5(active0, 0x100000L); 441 case 104: 442 return jjMoveStringLiteralDfa7_5(active0, 0x2000000L); 443 case 105: 444 return jjMoveStringLiteralDfa7_5(active0, 0x40800L); 445 case 108: 446 return jjMoveStringLiteralDfa7_5(active0, 0x4000000L); 447 case 114: 448 return jjMoveStringLiteralDfa7_5(active0, 0x8000L); 449 default : 450 break; 451 } 452 return jjStartNfa_5(5, active0, 0L); 453 } 454 static private final int jjMoveStringLiteralDfa7_5(long old0, long active0) 455 { 456 if (((active0 &= old0)) == 0L) 457 return jjStartNfa_5(5, old0, 0L); 458 try { curChar = input_stream.readChar(); } 459 catch(java.io.IOException e) { 460 jjStopStringLiteralDfa_5(6, active0, 0L); 461 return 7; 462 } 463 switch(curChar) 464 { 465 case 40: 466 if ((active0 & 0x8000L) != 0L) 467 return jjStopAtPos(7, 15); 468 break; 469 case 100: 470 return jjMoveStringLiteralDfa8_5(active0, 0x4000000L); 471 case 108: 472 return jjMoveStringLiteralDfa8_5(active0, 0x100000L); 473 case 110: 474 return jjMoveStringLiteralDfa8_5(active0, 0x40000L); 475 case 111: 476 return jjMoveStringLiteralDfa8_5(active0, 0x2020800L); 477 default : 478 break; 479 } 480 return jjStartNfa_5(6, active0, 0L); 481 } 482 static private final int jjMoveStringLiteralDfa8_5(long old0, long active0) 483 { 484 if (((active0 &= old0)) == 0L) 485 return jjStartNfa_5(6, old0, 0L); 486 try { curChar = input_stream.readChar(); } 487 catch(java.io.IOException e) { 488 jjStopStringLiteralDfa_5(7, active0, 0L); 489 return 8; 490 } 491 switch(curChar) 492 { 493 case 40: 494 if ((active0 & 0x4000000L) != 0L) 495 return jjStopAtPos(8, 26); 496 break; 497 case 100: 498 return jjMoveStringLiteralDfa9_5(active0, 0x2020000L); 499 case 105: 500 return jjMoveStringLiteralDfa9_5(active0, 0x40000L); 501 case 110: 502 return jjMoveStringLiteralDfa9_5(active0, 0x800L); 503 case 111: 504 return jjMoveStringLiteralDfa9_5(active0, 0x100000L); 505 default : 506 break; 507 } 508 return jjStartNfa_5(7, active0, 0L); 509 } 510 static private final int jjMoveStringLiteralDfa9_5(long old0, long active0) 511 { 512 if (((active0 &= old0)) == 0L) 513 return jjStartNfa_5(7, old0, 0L); 514 try { curChar = input_stream.readChar(); } 515 catch(java.io.IOException e) { 516 jjStopStringLiteralDfa_5(8, active0, 0L); 517 return 9; 518 } 519 switch(curChar) 520 { 521 case 40: 522 if ((active0 & 0x800L) != 0L) 523 return jjStopAtPos(9, 11); 524 else if ((active0 & 0x2000000L) != 0L) 525 return jjStopAtPos(9, 25); 526 break; 527 case 101: 528 return jjMoveStringLiteralDfa10_5(active0, 0x20000L); 529 case 116: 530 return jjMoveStringLiteralDfa10_5(active0, 0x40000L); 531 case 119: 532 return jjMoveStringLiteralDfa10_5(active0, 0x100000L); 533 default : 534 break; 535 } 536 return jjStartNfa_5(8, active0, 0L); 537 } 538 static private final int jjMoveStringLiteralDfa10_5(long old0, long active0) 539 { 540 if (((active0 &= old0)) == 0L) 541 return jjStartNfa_5(8, old0, 0L); 542 try { curChar = input_stream.readChar(); } 543 catch(java.io.IOException e) { 544 jjStopStringLiteralDfa_5(9, active0, 0L); 545 return 10; 546 } 547 switch(curChar) 548 { 549 case 40: 550 if ((active0 & 0x20000L) != 0L) 551 return jjStopAtPos(10, 17); 552 else if ((active0 & 0x100000L) != 0L) 553 return jjStopAtPos(10, 20); 554 break; 555 case 105: 556 return jjMoveStringLiteralDfa11_5(active0, 0x40000L); 557 default : 558 break; 559 } 560 return jjStartNfa_5(9, active0, 0L); 561 } 562 static private final int jjMoveStringLiteralDfa11_5(long old0, long active0) 563 { 564 if (((active0 &= old0)) == 0L) 565 return jjStartNfa_5(9, old0, 0L); 566 try { curChar = input_stream.readChar(); } 567 catch(java.io.IOException e) { 568 jjStopStringLiteralDfa_5(10, active0, 0L); 569 return 11; 570 } 571 switch(curChar) 572 { 573 case 97: 574 return jjMoveStringLiteralDfa12_5(active0, 0x40000L); 575 default : 576 break; 577 } 578 return jjStartNfa_5(10, active0, 0L); 579 } 580 static private final int jjMoveStringLiteralDfa12_5(long old0, long active0) 581 { 582 if (((active0 &= old0)) == 0L) 583 return jjStartNfa_5(10, old0, 0L); 584 try { curChar = input_stream.readChar(); } 585 catch(java.io.IOException e) { 586 jjStopStringLiteralDfa_5(11, active0, 0L); 587 return 12; 588 } 589 switch(curChar) 590 { 591 case 108: 592 return jjMoveStringLiteralDfa13_5(active0, 0x40000L); 593 default : 594 break; 595 } 596 return jjStartNfa_5(11, active0, 0L); 597 } 598 static private final int jjMoveStringLiteralDfa13_5(long old0, long active0) 599 { 600 if (((active0 &= old0)) == 0L) 601 return jjStartNfa_5(11, old0, 0L); 602 try { curChar = input_stream.readChar(); } 603 catch(java.io.IOException e) { 604 jjStopStringLiteralDfa_5(12, active0, 0L); 605 return 13; 606 } 607 switch(curChar) 608 { 609 case 105: 610 return jjMoveStringLiteralDfa14_5(active0, 0x40000L); 611 default : 612 break; 613 } 614 return jjStartNfa_5(12, active0, 0L); 615 } 616 static private final int jjMoveStringLiteralDfa14_5(long old0, long active0) 617 { 618 if (((active0 &= old0)) == 0L) 619 return jjStartNfa_5(12, old0, 0L); 620 try { curChar = input_stream.readChar(); } 621 catch(java.io.IOException e) { 622 jjStopStringLiteralDfa_5(13, active0, 0L); 623 return 14; 624 } 625 switch(curChar) 626 { 627 case 122: 628 return jjMoveStringLiteralDfa15_5(active0, 0x40000L); 629 default : 630 break; 631 } 632 return jjStartNfa_5(13, active0, 0L); 633 } 634 static private final int jjMoveStringLiteralDfa15_5(long old0, long active0) 635 { 636 if (((active0 &= old0)) == 0L) 637 return jjStartNfa_5(13, old0, 0L); 638 try { curChar = input_stream.readChar(); } 639 catch(java.io.IOException e) { 640 jjStopStringLiteralDfa_5(14, active0, 0L); 641 return 15; 642 } 643 switch(curChar) 644 { 645 case 97: 646 return jjMoveStringLiteralDfa16_5(active0, 0x40000L); 647 default : 648 break; 649 } 650 return jjStartNfa_5(14, active0, 0L); 651 } 652 static private final int jjMoveStringLiteralDfa16_5(long old0, long active0) 653 { 654 if (((active0 &= old0)) == 0L) 655 return jjStartNfa_5(14, old0, 0L); 656 try { curChar = input_stream.readChar(); } 657 catch(java.io.IOException e) { 658 jjStopStringLiteralDfa_5(15, active0, 0L); 659 return 16; 660 } 661 switch(curChar) 662 { 663 case 116: 664 return jjMoveStringLiteralDfa17_5(active0, 0x40000L); 665 default : 666 break; 667 } 668 return jjStartNfa_5(15, active0, 0L); 669 } 670 static private final int jjMoveStringLiteralDfa17_5(long old0, long active0) 671 { 672 if (((active0 &= old0)) == 0L) 673 return jjStartNfa_5(15, old0, 0L); 674 try { curChar = input_stream.readChar(); } 675 catch(java.io.IOException e) { 676 jjStopStringLiteralDfa_5(16, active0, 0L); 677 return 17; 678 } 679 switch(curChar) 680 { 681 case 105: 682 return jjMoveStringLiteralDfa18_5(active0, 0x40000L); 683 default : 684 break; 685 } 686 return jjStartNfa_5(16, active0, 0L); 687 } 688 static private final int jjMoveStringLiteralDfa18_5(long old0, long active0) 689 { 690 if (((active0 &= old0)) == 0L) 691 return jjStartNfa_5(16, old0, 0L); 692 try { curChar = input_stream.readChar(); } 693 catch(java.io.IOException e) { 694 jjStopStringLiteralDfa_5(17, active0, 0L); 695 return 18; 696 } 697 switch(curChar) 698 { 699 case 111: 700 return jjMoveStringLiteralDfa19_5(active0, 0x40000L); 701 default : 702 break; 703 } 704 return jjStartNfa_5(17, active0, 0L); 705 } 706 static private final int jjMoveStringLiteralDfa19_5(long old0, long active0) 707 { 708 if (((active0 &= old0)) == 0L) 709 return jjStartNfa_5(17, old0, 0L); 710 try { curChar = input_stream.readChar(); } 711 catch(java.io.IOException e) { 712 jjStopStringLiteralDfa_5(18, active0, 0L); 713 return 19; 714 } 715 switch(curChar) 716 { 717 case 110: 718 return jjMoveStringLiteralDfa20_5(active0, 0x40000L); 719 default : 720 break; 721 } 722 return jjStartNfa_5(18, active0, 0L); 723 } 724 static private final int jjMoveStringLiteralDfa20_5(long old0, long active0) 725 { 726 if (((active0 &= old0)) == 0L) 727 return jjStartNfa_5(18, old0, 0L); 728 try { curChar = input_stream.readChar(); } 729 catch(java.io.IOException e) { 730 jjStopStringLiteralDfa_5(19, active0, 0L); 731 return 20; 732 } 733 switch(curChar) 734 { 735 case 40: 736 if ((active0 & 0x40000L) != 0L) 737 return jjStopAtPos(20, 18); 738 break; 739 default : 740 break; 741 } 742 return jjStartNfa_5(19, active0, 0L); 743 } 744 static private final void jjCheckNAdd(int state) 745 { 746 if (jjrounds[state] != jjround) 747 { 748 jjstateSet[jjnewStateCnt++] = state; 749 jjrounds[state] = jjround; 750 } 751 } 752 static private final void jjAddStates(int start, int end) 753 { 754 do { 755 jjstateSet[jjnewStateCnt++] = jjnextStates[start]; 756 } while (start++ != end); 757 } 758 static private final void jjCheckNAddTwoStates(int state1, int state2) 759 { 760 jjCheckNAdd(state1); 761 jjCheckNAdd(state2); 762 } 763 static private final void jjCheckNAddStates(int start, int end) 764 { 765 do { 766 jjCheckNAdd(jjnextStates[start]); 767 } while (start++ != end); 768 } 769 static private final void jjCheckNAddStates(int start) 770 { 771 jjCheckNAdd(jjnextStates[start]); 772 jjCheckNAdd(jjnextStates[start + 1]); 773 } 774 static private final int jjMoveNfa_5(int startState, int curPos) 775 { 776 int[] nextStates; 777 int startsAt = 0; 778 jjnewStateCnt = 22; 779 int i = 1; 780 jjstateSet[0] = startState; 781 int j, kind = 0x7fffffff; 782 for (;;) 783 { 784 if (++jjround == 0x7fffffff) 785 ReInitRounds(); 786 if (curChar < 64) 787 { 788 long l = 1L << curChar; 789 MatchLoop: do 790 { 791 switch(jjstateSet[--i]) 792 { 793 case 5: 794 if ((0x3ff401000000000L & l) != 0L) 795 { 796 if (kind > 28) 797 kind = 28; 798 jjCheckNAdd(21); 799 } 800 else if (curChar == 40) 801 { 802 if (kind > 27) 803 kind = 27; 804 } 805 if ((0x3ff401000000000L & l) != 0L) 806 jjCheckNAddTwoStates(19, 20); 807 break; 808 case 22: 809 if ((0x3ff401000000000L & l) != 0L) 810 { 811 if (kind > 28) 812 kind = 28; 813 jjCheckNAdd(21); 814 <
|