View Javadoc
1 /* Generated By:JJTree&JavaCC: Do not edit this line. JavaParserTokenManager.java */ 2 package net.sourceforge.pmd.ast; 3 4 public class JavaParserTokenManager implements JavaParserConstants 5 { 6 public java.io.PrintStream debugStream = System.out; 7 public void setDebugStream(java.io.PrintStream ds) { debugStream = ds; } 8 private final int jjStopStringLiteralDfa_0(int pos, long active0, long active1) 9 { 10 switch (pos) 11 { 12 case 0: 13 if ((active1 & 0x80000L) != 0L) 14 return 4; 15 if ((active0 & 0xfffffffffffff000L) != 0L) 16 { 17 jjmatchedKind = 72; 18 return 28; 19 } 20 if ((active0 & 0x100L) != 0L || (active1 & 0x2004000000000L) != 0L) 21 return 49; 22 return -1; 23 case 1: 24 if ((active0 & 0x201800000L) != 0L) 25 return 28; 26 if ((active0 & 0xfffffffdfe7ff000L) != 0L) 27 { 28 if (jjmatchedPos != 1) 29 { 30 jjmatchedKind = 72; 31 jjmatchedPos = 1; 32 } 33 return 28; 34 } 35 if ((active0 & 0x100L) != 0L) 36 return 54; 37 return -1; 38 case 2: 39 if ((active0 & 0x400026080000000L) != 0L) 40 return 28; 41 if ((active0 & 0xfbfffd9d7f7ff000L) != 0L) 42 { 43 if (jjmatchedPos != 2) 44 { 45 jjmatchedKind = 72; 46 jjmatchedPos = 2; 47 } 48 return 28; 49 } 50 return -1; 51 case 3: 52 if ((active0 & 0xf1dff95c7d7a7000L) != 0L) 53 { 54 jjmatchedKind = 72; 55 jjmatchedPos = 3; 56 return 28; 57 } 58 if ((active0 & 0xa20048102058000L) != 0L) 59 return 28; 60 return -1; 61 case 4: 62 if ((active0 & 0x20c50000781a4000L) != 0L) 63 return 28; 64 if ((active0 & 0xd11af95c05603000L) != 0L) 65 { 66 if (jjmatchedPos != 4) 67 { 68 jjmatchedKind = 72; 69 jjmatchedPos = 4; 70 } 71 return 28; 72 } 73 return -1; 74 case 5: 75 if ((active0 & 0x808ac10801000000L) != 0L) 76 return 28; 77 if ((active0 & 0x5110385424603000L) != 0L) 78 { 79 jjmatchedKind = 72; 80 jjmatchedPos = 5; 81 return 28; 82 } 83 return -1; 84 case 6: 85 if ((active0 & 0x5110205400201000L) != 0L) 86 { 87 jjmatchedKind = 72; 88 jjmatchedPos = 6; 89 return 28; 90 } 91 if ((active0 & 0x180024402000L) != 0L) 92 return 28; 93 return -1; 94 case 7: 95 if ((active0 & 0x5000000000201000L) != 0L) 96 return 28; 97 if ((active0 & 0x110205400000000L) != 0L) 98 { 99 jjmatchedKind = 72; 100 jjmatchedPos = 7; 101 return 28; 102 } 103 return -1; 104 case 8: 105 if ((active0 & 0x100204000000000L) != 0L) 106 return 28; 107 if ((active0 & 0x10001400000000L) != 0L) 108 { 109 jjmatchedKind = 72; 110 jjmatchedPos = 8; 111 return 28; 112 } 113 return -1; 114 case 9: 115 if ((active0 & 0x1400000000L) != 0L) 116 return 28; 117 if ((active0 & 0x10000000000000L) != 0L) 118 { 119 jjmatchedKind = 72; 120 jjmatchedPos = 9; 121 return 28; 122 } 123 return -1; 124 case 10: 125 if ((active0 & 0x10000000000000L) != 0L) 126 { 127 jjmatchedKind = 72; 128 jjmatchedPos = 10; 129 return 28; 130 } 131 return -1; 132 default : 133 return -1; 134 } 135 } 136 private final int jjStartNfa_0(int pos, long active0, long active1) 137 { 138 return jjMoveNfa_0(jjStopStringLiteralDfa_0(pos, active0, active1), pos + 1); 139 } 140 private final int jjStopAtPos(int pos, int kind) 141 { 142 jjmatchedKind = kind; 143 jjmatchedPos = pos; 144 return pos + 1; 145 } 146 private final int jjStartNfaWithStates_0(int pos, int kind, int state) 147 { 148 jjmatchedKind = kind; 149 jjmatchedPos = pos; 150 try { curChar = input_stream.readChar(); } 151 catch(java.io.IOException e) { return pos + 1; } 152 return jjMoveNfa_0(state, pos + 1); 153 } 154 private final int jjMoveStringLiteralDfa0_0() 155 { 156 switch(curChar) 157 { 158 case 9: 159 return jjStopAtPos(0, 2); 160 case 10: 161 return jjStopAtPos(0, 3); 162 case 12: 163 return jjStopAtPos(0, 5); 164 case 13: 165 return jjStopAtPos(0, 4); 166 case 32: 167 return jjStopAtPos(0, 1); 168 case 33: 169 jjmatchedKind = 87; 170 return jjMoveStringLiteralDfa1_0(0x0L, 0x40000000L); 171 case 37: 172 jjmatchedKind = 106; 173 return jjMoveStringLiteralDfa1_0(0x0L, 0x20000000000000L); 174 case 38: 175 jjmatchedKind = 103; 176 return jjMoveStringLiteralDfa1_0(0x0L, 0x4000100000000L); 177 case 40: 178 return jjStopAtPos(0, 75); 179 case 41: 180 return jjStopAtPos(0, 76); 181 case 42: 182 jjmatchedKind = 101; 183 return jjMoveStringLiteralDfa1_0(0x0L, 0x1000000000000L); 184 case 43: 185 jjmatchedKind = 99; 186 return jjMoveStringLiteralDfa1_0(0x0L, 0x400200000000L); 187 case 44: 188 return jjStopAtPos(0, 82); 189 case 45: 190 jjmatchedKind = 100; 191 return jjMoveStringLiteralDfa1_0(0x0L, 0x800400000000L); 192 case 46: 193 return jjStartNfaWithStates_0(0, 83, 4); 194 case 47: 195 jjmatchedKind = 102; 196 return jjMoveStringLiteralDfa1_0(0x100L, 0x2000000000000L); 197 case 58: 198 return jjStopAtPos(0, 90); 199 case 59: 200 return jjStopAtPos(0, 81); 201 case 60: 202 jjmatchedKind = 86; 203 return jjMoveStringLiteralDfa1_0(0x0L, 0x40080010000000L); 204 case 61: 205 jjmatchedKind = 84; 206 return jjMoveStringLiteralDfa1_0(0x0L, 0x8000000L); 207 case 62: 208 jjmatchedKind = 85; 209 return jjMoveStringLiteralDfa1_0(0x0L, 0x180300020000000L); 210 case 63: 211 return jjStopAtPos(0, 89); 212 case 91: 213 return jjStopAtPos(0, 79); 214 case 93: 215 return jjStopAtPos(0, 80); 216 case 94: 217 jjmatchedKind = 105; 218 return jjMoveStringLiteralDfa1_0(0x0L, 0x10000000000000L); 219 case 97: 220 return jjMoveStringLiteralDfa1_0(0x8000000000001000L, 0x0L); 221 case 98: 222 return jjMoveStringLiteralDfa1_0(0xe000L, 0x0L); 223 case 99: 224 return jjMoveStringLiteralDfa1_0(0x3f0000L, 0x0L); 225 case 100: 226 return jjMoveStringLiteralDfa1_0(0x1c00000L, 0x0L); 227 case 101: 228 return jjMoveStringLiteralDfa1_0(0x6000000L, 0x0L); 229 case 102: 230 return jjMoveStringLiteralDfa1_0(0xf8000000L, 0x0L); 231 case 103: 232 return jjMoveStringLiteralDfa1_0(0x100000000L, 0x0L); 233 case 105: 234 return jjMoveStringLiteralDfa1_0(0x7e00000000L, 0x0L); 235 case 108: 236 return jjMoveStringLiteralDfa1_0(0x8000000000L, 0x0L); 237 case 110: 238 return jjMoveStringLiteralDfa1_0(0x70000000000L, 0x0L); 239 case 112: 240 return jjMoveStringLiteralDfa1_0(0x780000000000L, 0x0L); 241 case 114: 242 return jjMoveStringLiteralDfa1_0(0x800000000000L, 0x0L); 243 case 115: 244 return jjMoveStringLiteralDfa1_0(0x401f000000000000L, 0x0L); 245 case 116: 246 return jjMoveStringLiteralDfa1_0(0x7e0000000000000L, 0x0L); 247 case 118: 248 return jjMoveStringLiteralDfa1_0(0x1800000000000000L, 0x0L); 249 case 119: 250 return jjMoveStringLiteralDfa1_0(0x2000000000000000L, 0x0L); 251 case 123: 252 return jjStopAtPos(0, 77); 253 case 124: 254 jjmatchedKind = 104; 255 return jjMoveStringLiteralDfa1_0(0x0L, 0x8000080000000L); 256 case 125: 257 return jjStopAtPos(0, 78); 258 case 126: 259 return jjStopAtPos(0, 88); 260 default : 261 return jjMoveNfa_0(0, 0); 262 } 263 } 264 private final int jjMoveStringLiteralDfa1_0(long active0, long active1) 265 { 266 try { curChar = input_stream.readChar(); } 267 catch(java.io.IOException e) { 268 jjStopStringLiteralDfa_0(0, active0, active1); 269 return 1; 270 } 271 switch(curChar) 272 { 273 case 38: 274 if ((active1 & 0x100000000L) != 0L) 275 return jjStopAtPos(1, 96); 276 break; 277 case 42: 278 if ((active0 & 0x100L) != 0L) 279 return jjStartNfaWithStates_0(1, 8, 54); 280 break; 281 case 43: 282 if ((active1 & 0x200000000L) != 0L) 283 return jjStopAtPos(1, 97); 284 break; 285 case 45: 286 if ((active1 & 0x400000000L) != 0L) 287 return jjStopAtPos(1, 98); 288 break; 289 case 60: 290 if ((active1 & 0x80000000000L) != 0L) 291 { 292 jjmatchedKind = 107; 293 jjmatchedPos = 1; 294 } 295 return jjMoveStringLiteralDfa2_0(active0, 0L, active1, 0x40000000000000L); 296 case 61: 297 if ((active1 & 0x8000000L) != 0L) 298 return jjStopAtPos(1, 91); 299 else if ((active1 & 0x10000000L) != 0L) 300 return jjStopAtPos(1, 92); 301 else if ((active1 & 0x20000000L) != 0L) 302 return jjStopAtPos(1, 93); 303 else if ((active1 & 0x40000000L) != 0L) 304 return jjStopAtPos(1, 94); 305 else if ((active1 & 0x400000000000L) != 0L) 306 return jjStopAtPos(1, 110); 307 else if ((active1 & 0x800000000000L) != 0L) 308 return jjStopAtPos(1, 111); 309 else if ((active1 & 0x1000000000000L) != 0L) 310 return jjStopAtPos(1, 112); 311 else if ((active1 & 0x2000000000000L) != 0L) 312 return jjStopAtPos(1, 113); 313 else if ((active1 & 0x4000000000000L) != 0L) 314 return jjStopAtPos(1, 114); 315 else if ((active1 & 0x8000000000000L) != 0L) 316 return jjStopAtPos(1, 115); 317 else if ((active1 & 0x10000000000000L) != 0L) 318 return jjStopAtPos(1, 116); 319 else if ((active1 & 0x20000000000000L) != 0L) 320 return jjStopAtPos(1, 117); 321 break; 322 case 62: 323 if ((active1 & 0x100000000000L) != 0L) 324 { 325 jjmatchedKind = 108; 326 jjmatchedPos = 1; 327 } 328 return jjMoveStringLiteralDfa2_0(active0, 0L, active1, 0x180200000000000L); 329 case 97: 330 return jjMoveStringLiteralDfa2_0(active0, 0x90008030000L, active1, 0L); 331 case 98: 332 return jjMoveStringLiteralDfa2_0(active0, 0x1000L, active1, 0L); 333 case 101: 334 return jjMoveStringLiteralDfa2_0(active0, 0x820000400000L, active1, 0L); 335 case 102: 336 if ((active0 & 0x200000000L) != 0L) 337 return jjStartNfaWithStates_0(1, 33, 28); 338 break; 339 case 104: 340 return jjMoveStringLiteralDfa2_0(active0, 0x20e1000000040000L, active1, 0L); 341 case 105: 342 return jjMoveStringLiteralDfa2_0(active0, 0x30000000L, active1, 0L); 343 case 108: 344 return jjMoveStringLiteralDfa2_0(active0, 0x42080000L, active1, 0L); 345 case 109: 346 return jjMoveStringLiteralDfa2_0(active0, 0xc00000000L, active1, 0L); 347 case 110: 348 return jjMoveStringLiteralDfa2_0(active0, 0x7000000000L, active1, 0L); 349 case 111: 350 if ((active0 & 0x800000L) != 0L) 351 { 352 jjmatchedKind = 23; 353 jjmatchedPos = 1; 354 } 355 return jjMoveStringLiteralDfa2_0(active0, 0x1800008181302000L, active1, 0L); 356 case 114: 357 return jjMoveStringLiteralDfa2_0(active0, 0x700300000004000L, active1, 0L); 358 case 115: 359 return jjMoveStringLiteralDfa2_0(active0, 0x8000000000000000L, active1, 0L); 360 case 116: 361 return jjMoveStringLiteralDfa2_0(active0, 0x4002000000000000L, active1, 0L); 362 case 117: 363 return jjMoveStringLiteralDfa2_0(active0, 0x4440000000000L, active1, 0L); 364 case 119: 365 return jjMoveStringLiteralDfa2_0(active0, 0x8000000000000L, active1, 0L); 366 case 120: 367 return jjMoveStringLiteralDfa2_0(active0, 0x4000000L, active1, 0L); 368 case 121: 369 return jjMoveStringLiteralDfa2_0(active0, 0x10000000008000L, active1, 0L); 370 case 124: 371 if ((active1 & 0x80000000L) != 0L) 372 return jjStopAtPos(1, 95); 373 break; 374 default : 375 break; 376 } 377 return jjStartNfa_0(0, active0, active1); 378 } 379 private final int jjMoveStringLiteralDfa2_0(long old0, long active0, long old1, long active1) 380 { 381 if (((active0 &= old0) | (active1 &= old1)) == 0L) 382 return jjStartNfa_0(0, old0, old1); 383 try { curChar = input_stream.readChar(); } 384 catch(java.io.IOException e) { 385 jjStopStringLiteralDfa_0(1, active0, active1); 386 return 2; 387 } 388 switch(curChar) 389 { 390 case 61: 391 if ((active1 & 0x40000000000000L) != 0L) 392 return jjStopAtPos(2, 118); 393 else if ((active1 & 0x80000000000000L) != 0L) 394 return jjStopAtPos(2, 119); 395 break; 396 case 62: 397 if ((active1 & 0x200000000000L) != 0L) 398 { 399 jjmatchedKind = 109; 400 jjmatchedPos = 2; 401 } 402 return jjMoveStringLiteralDfa3_0(active0, 0L, active1, 0x100000000000000L); 403 case 97: 404 return jjMoveStringLiteralDfa3_0(active0, 0x1020000000c0000L, active1, 0L); 405 case 98: 406 return jjMoveStringLiteralDfa3_0(active0, 0x400000000000L, active1, 0L); 407 case 99: 408 return jjMoveStringLiteralDfa3_0(active0, 0x80000000000L, active1, 0L); 409 case 101: 410 return jjMoveStringLiteralDfa3_0(active0, 0x4000L, active1, 0L); 411 case 102: 412 return jjMoveStringLiteralDfa3_0(active0, 0x400000L, active1, 0L); 413 case 105: 414 return jjMoveStringLiteralDfa3_0(active0, 0x2828100000000000L, active1, 0L); 415 case 108: 416 return jjMoveStringLiteralDfa3_0(active0, 0x1000040008000000L, active1, 0L); 417 case 110: 418 return jjMoveStringLiteralDfa3_0(active0, 0x10008030300000L, active1, 0L); 419 case 111: 420 return jjMoveStringLiteralDfa3_0(active0, 0x1200040002000L, active1, 0L); 421 case 112: 422 return jjMoveStringLiteralDfa3_0(active0, 0x4000c00000000L, active1, 0L); 423 case 114: 424 if ((active0 & 0x80000000L) != 0L) 425 return jjStartNfaWithStates_0(2, 31, 28); 426 return jjMoveStringLiteralDfa3_0(active0, 0x40c0000000000000L, active1, 0L); 427 case 115: 428 return jjMoveStringLiteralDfa3_0(active0, 0x8000001002011000L, active1, 0L); 429 case 116: 430 if ((active0 & 0x2000000000L) != 0L) 431 { 432 jjmatchedKind = 37; 433 jjmatchedPos = 2; 434 } 435 return jjMoveStringLiteralDfa3_0(active0, 0x814104028000L, active1, 0L); 436 case 117: 437 return jjMoveStringLiteralDfa3_0(active0, 0x200000001000000L, active1, 0L); 438 case 119: 439 if ((active0 & 0x20000000000L) != 0L) 440 return jjStartNfaWithStates_0(2, 41, 28); 441 break; 442 case 121: 443 if ((active0 & 0x400000000000000L) != 0L) 444 return jjStartNfaWithStates_0(2, 58, 28); 445 break; 446 default : 447 break; 448 } 449 return jjStartNfa_0(1, active0, active1); 450 } 451 private final int jjMoveStringLiteralDfa3_0(long old0, long active0, long old1, long active1) 452 { 453 if (((active0 &= old0) | (active1 &= old1)) == 0L) 454 return jjStartNfa_0(1, old0, old1); 455 try { curChar = input_stream.readChar(); } 456 catch(java.io.IOException e) { 457 jjStopStringLiteralDfa_0(2, active0, active1); 458 return 3; 459 } 460 switch(curChar) 461 { 462 case 61: 463 if ((active1 & 0x100000000000000L) != 0L) 464 return jjStopAtPos(3, 120); 465 break; 466 case 97: 467 return jjMoveStringLiteralDfa4_0(active0, 0x1000000070404000L, active1, 0L); 468 case 98: 469 return jjMoveStringLiteralDfa4_0(active0, 0x1000000L, active1, 0L); 470 case 99: 471 return jjMoveStringLiteralDfa4_0(active0, 0x10000000020000L, active1, 0L); 472 case 100: 473 if ((active0 & 0x800000000000000L) != 0L) 474 return jjStartNfaWithStates_0(3, 59, 28); 475 break; 476 case 101: 477 if ((active0 & 0x8000L) != 0L) 478 return jjStartNfaWithStates_0(3, 15, 28); 479 else if ((active0 & 0x10000L) != 0L) 480 return jjStartNfaWithStates_0(3, 16, 28); 481 else if ((active0 & 0x2000000L) != 0L) 482 return jjStartNfaWithStates_0(3, 25, 28); 483 else if ((active0 & 0x200000000000000L) != 0L) 484 return jjStartNfaWithStates_0(3, 57, 28); 485 return jjMoveStringLiteralDfa4_0(active0, 0x8004004004000000L, active1, 0L); 486 case 103: 487 if ((active0 & 0x8000000000L) != 0L) 488 return jjStartNfaWithStates_0(3, 39, 28); 489 break; 490 case 105: 491 return jjMoveStringLiteralDfa4_0(active0, 0x4000010000000000L, active1, 0L); 492 case 107: 493 return jjMoveStringLiteralDfa4_0(active0, 0x80000000000L, active1, 0L); 494 case 108: 495 if ((active0 & 0x40000000000L) != 0L) 496 return jjStartNfaWithStates_0(3, 42, 28); 497 return jjMoveStringLiteralDfa4_0(active0, 0x2000400400002000L, active1, 0L); 498 case 110: 499 return jjMoveStringLiteralDfa4_0(active0, 0x100000000000000L, active1, 0L); 500 case 111: 501 if ((active0 & 0x100000000L) != 0L) 502 return jjStartNfaWithStates_0(3, 32, 28); 503 return jjMoveStringLiteralDfa4_0(active0, 0xc0000800000000L, active1, 0L); 504 case 114: 505 if ((active0 & 0x40000L) != 0L) 506 return jjStartNfaWithStates_0(3, 18, 28); 507 return jjMoveStringLiteralDfa4_0(active0, 0x1000000000000L, active1, 0L); 508 case 115: 509 if ((active0 & 0x20000000000000L) != 0L) 510 return jjStartNfaWithStates_0(3, 53, 28); 511 return jjMoveStringLiteralDfa4_0(active0, 0x8180000L, active1, 0L); 512 case 116: 513 return jjMoveStringLiteralDfa4_0(active0, 0xa201000201000L, active1, 0L); 514 case 117: 515 return jjMoveStringLiteralDfa4_0(active0, 0x800000000000L, active1, 0L); 516 case 118: 517 return jjMoveStringLiteralDfa4_0(active0, 0x100000000000L, active1, 0L); 518 default : 519 break; 520 } 521 return jjStartNfa_0(2, active0, active1); 522 } 523 private final int jjMoveStringLiteralDfa4_0(long old0, long active0, long old1, long active1) 524 { 525 if (((active0 &= old0) | (active1 &= old1)) == 0L) 526 return jjStartNfa_0(2, old0, old1); 527 try { curChar = input_stream.readChar(); } 528 catch(java.io.IOException e) { 529 jjStopStringLiteralDfa_0(3, active0, 0L); 530 return 4; 531 } 532 switch(curChar) 533 { 534 case 97: 535 return jjMoveStringLiteralDfa5_0(active0, 0x181000000000L); 536 case 99: 537 return jjMoveStringLiteralDfa5_0(active0, 0x4008000000000000L); 538 case 101: 539 if ((active0 & 0x8000000L) != 0L) 540 return jjStartNfaWithStates_0(4, 27, 28); 541 else if ((active0 & 0x2000000000000000L) != 0L) 542 return jjStartNfaWithStates_0(4, 61, 28); 543 return jjMoveStringLiteralDfa5_0(active0, 0x200400002000L); 544 case 104: 545 if ((active0 & 0x20000L) != 0L) 546 return jjStartNfaWithStates_0(4, 17, 28); 547 return jjMoveStringLiteralDfa5_0(active0, 0x10000000000000L); 548 case 105: 549 return jjMoveStringLiteralDfa5_0(active0, 0x2400000200000L); 550 case 107: 551 if ((active0 & 0x4000L) != 0L) 552 return jjStartNfaWithStates_0(4, 14, 28); 553 break; 554 case 108: 555 if ((active0 & 0x10000000L) != 0L) 556 { 557 jjmatchedKind = 28; 558 jjmatchedPos = 4; 559 } 560 return jjMoveStringLiteralDfa5_0(active0, 0x21000000L); 561 case 110: 562 return jjMoveStringLiteralDfa5_0(active0, 0x4000000L); 563 case 114: 564 if ((active0 & 0x4000000000000L) != 0L) 565 return jjStartNfaWithStates_0(4, 50, 28); 566 return jjMoveStringLiteralDfa5_0(active0, 0x8000804800001000L); 567 case 115: 568 if ((active0 & 0x80000L) != 0L) 569 return jjStartNfaWithStates_0(4, 19, 28); 570 return jjMoveStringLiteralDfa5_0(active0, 0x100000000000000L); 571 case 116: 572 if ((active0 & 0x100000L) != 0L) 573 return jjStartNfaWithStates_0(4, 20, 28); 574 else if ((active0 & 0x40000000L) != 0L) 575 return jjStartNfaWithStates_0(4, 30, 28); 576 else if ((active0 & 0x1000000000000L) != 0L) 577 return jjStartNfaWithStates_0(4, 48, 28); 578 return jjMoveStringLiteralDfa5_0(active0, 0x1000000000000000L); 579 case 117: 580 return jjMoveStringLiteralDfa5_0(active0, 0x400000L); 581 case 118: 582 return jjMoveStringLiteralDfa5_0(active0, 0x10000000000L); 583 case 119: 584 if ((active0 & 0x40000000000000L) != 0L) 585 { 586 jjmatchedKind = 54; 587 jjmatchedPos = 4; 588 } 589 return jjMoveStringLiteralDfa5_0(active0, 0x80000000000000L); 590 default : 591 break; 592 } 593 return jjStartNfa_0(3, active0, 0L); 594 } 595 private final int jjMoveStringLiteralDfa5_0(long old0, long active0) 596 { 597 if (((active0 &= old0)) == 0L) 598 return jjStartNfa_0(3, old0, 0L); 599 try { curChar = input_stream.readChar(); } 600 catch(java.io.IOException e) { 601 jjStopStringLiteralDfa_0(4, active0, 0L); 602 return 5; 603 } 604 switch(curChar) 605 { 606 case 97: 607 return jjMoveStringLiteralDfa6_0(active0, 0x3000L); 608 case 99: 609 if ((active0 & 0x400000000000L) != 0L) 610 return jjStartNfaWithStates_0(5, 46, 28); 611 else if ((active0 & 0x2000000000000L) != 0L) 612 return jjStartNfaWithStates_0(5, 49, 28); 613 return jjMoveStringLiteralDfa6_0(active0, 0x200000000000L); 614 case 100: 615 return jjMoveStringLiteralDfa6_0(active0, 0x4000000L); 616 case 101: 617 if ((active0 & 0x1000000L) != 0L) 618 return jjStartNfaWithStates_0(5, 24, 28); 619 else if ((active0 & 0x10000000000L) != 0L) 620 return jjStartNfaWithStates_0(5, 40, 28); 621 break; 622 case 102: 623 return jjMoveStringLiteralDfa6_0(active0, 0x4000000000L); 624 case 103: 625 return jjMoveStringLiteralDfa6_0(active0, 0x80000000000L); 626 case 104: 627 if ((active0 & 0x8000000000000L) != 0L) 628 return jjStartNfaWithStates_0(5, 51, 28); 629 break; 630 case 105: 631 return jjMoveStringLiteralDfa6_0(active0, 0x1100000000000000L); 632 case 108: 633 return jjMoveStringLiteralDfa6_0(active0, 0x20400000L); 634 case 109: 635 return jjMoveStringLiteralDfa6_0(active0, 0x400000000L); 636 case 110: 637 if ((active0 & 0x800000000000L) != 0L) 638 return jjStartNfaWithStates_0(5, 47, 28); 639 return jjMoveStringLiteralDfa6_0(active0, 0x1000200000L); 640 case 114: 641 return jjMoveStringLiteralDfa6_0(active0, 0x10000000000000L); 642 case 115: 643 if ((active0 & 0x80000000000000L) != 0L) 644 return jjStartNfaWithStates_0(5, 55, 28); 645 break; 646 case 116: 647 if ((active0 & 0x800000000L) != 0L) 648 return jjStartNfaWithStates_0(5, 35, 28); 649 else if ((active0 & 0x8000000000000000L) != 0L) 650 return jjStartNfaWithStates_0(5, 63, 28); 651 return jjMoveStringLiteralDfa6_0(active0, 0x4000100000000000L); 652 default : 653 break; 654 } 655 return jjStartNfa_0(4, active0, 0L); 656 } 657 private final int jjMoveStringLiteralDfa6_0(long old0, long active0) 658 { 659 if (((active0 &= old0)) == 0L) 660 return jjStartNfa_0(4, old0, 0L); 661 try { curChar = input_stream.readChar(); } 662 catch(java.io.IOException e) { 663 jjStopStringLiteralDfa_0(5, active0, 0L); 664 return 6; 665 } 666 switch(curChar) 667 { 668 case 97: 669 return jjMoveStringLiteralDfa7_0(active0, 0x4000000000L); 670 case 99: 671 return jjMoveStringLiteralDfa7_0(active0, 0x1000001000L); 672 case 101: 673 if ((active0 & 0x80000000000L) != 0L) 674 return jjStartNfaWithStates_0(6, 43, 28); 675 else if ((active0 & 0x100000000000L) != 0L) 676 return jjStartNfaWithStates_0(6, 44, 28); 677 return jjMoveStringLiteralDfa7_0(active0, 0x100000400000000L); 678 case 102: 679 return jjMoveStringLiteralDfa7_0(active0, 0x4000000000000000L); 680 case 108: 681 return jjMoveStringLiteralDfa7_0(active0, 0x1000000000000000L); 682 case 110: 683 if ((active0 & 0x2000L) != 0L) 684 return jjStartNfaWithStates_0(6, 13, 28); 685 break; 686 case 111: 687 return jjMoveStringLiteralDfa7_0(active0, 0x10000000000000L); 688 case 115: 689 if ((active0 & 0x4000000L) != 0L) 690 return jjStartNfaWithStates_0(6, 26, 28); 691 break; 692 case 116: 693 if ((active0 & 0x400000L) != 0L) 694 return jjStartNfaWithStates_0(6, 22, 28); 695 return jjMoveStringLiteralDfa7_0(active0, 0x200000000000L); 696 case 117: 697 return jjMoveStringLiteralDfa7_0(active0, 0x200000L); 698 case 121: 699 if ((active0 & 0x20000000L) != 0L) 700 return jjStartNfaWithStates_0(6, 29, 28); 701 break; 702 default : 703 break; 704 } 705 return jjStartNfa_0(5, active0, 0L); 706 } 707 private final int jjMoveStringLiteralDfa7_0(long old0, long active0) 708 { 709 if (((active0 &= old0)) == 0L) 710 return jjStartNfa_0(5, old0, 0L); 711 try { curChar = input_stream.readChar(); } 712 catch(java.io.IOException e) { 713 jjStopStringLiteralDfa_0(6, active0, 0L); 714 return 7; 715 } 716 switch(curChar) 717 { 718 case 99: 719 return jjMoveStringLiteralDfa8_0(active0, 0x4000000000L); 720 case 101: 721 if ((active0 & 0x200000L) != 0L) 722 return jjStartNfaWithStates_0(7, 21, 28); 723 else if ((active0 & 0x1000000000000000L) != 0L) 724 return jjStartNfaWithStates_0(7, 60, 28); 725 return jjMoveStringLiteralDfa8_0(active0, 0x201000000000L); 726 case 110: 727 return jjMoveStringLiteralDfa8_0(active0, 0x110000400000000L); 728 case 112: 729 if ((active0 & 0x4000000000000000L) != 0L) 730 return jjStartNfaWithStates_0(7, 62, 28); 731 break; 732 case 116: 733 if ((active0 & 0x1000L) != 0L) 734 return jjStartNfaWithStates_0(7, 12, 28); 735 break; 736 default : 737 break; 738 } 739 return jjStartNfa_0(6, active0, 0L); 740 } 741 private final int jjMoveStringLiteralDfa8_0(long old0, long active0) 742 { 743 if (((active0 &= old0)) == 0L) 744 return jjStartNfa_0(6, old0, 0L); 745 try { curChar = input_stream.readChar(); } 746 catch(java.io.IOException e) { 747 jjStopStringLiteralDfa_0(7, active0, 0L); 748 return 8; 749 } 750 switch(curChar) 751 { 752 case 100: 753 if ((active0 & 0x200000000000L) != 0L) 754 return jjStartNfaWithStates_0(8, 45, 28); 755 break; 756 case 101: 757 if ((active0 & 0x4000000000L) != 0L) 758 return jjStartNfaWithStates_0(8, 38, 28); 759 break; 760 case 105: 761 return jjMoveStringLiteralDfa9_0(active0, 0x10000000000000L); 762 case 111: 763 return jjMoveStringLiteralDfa9_0(active0, 0x1000000000L); 764 case 116: 765 if ((active0 & 0x100000000000000L) != 0L) 766 return jjStartNfaWithStates_0(8, 56, 28); 767 return jjMoveStringLiteralDfa9_0(active0, 0x400000000L); 768 default : 769 break; 770 } 771 return jjStartNfa_0(7, active0, 0L); 772 } 773 private final int jjMoveStringLiteralDfa9_0(long old0, long active0) 774 { 775 if (((active0 &= old0)) == 0L) 776 return jjStartNfa_0(7, old0, 0L); 777 try { curChar = input_stream.readChar(); } 778 catch(java.io.IOException e) { 779 jjStopStringLiteralDfa_0(8, active0, 0L); 780 return 9; 781 } 782 switch(curChar) 783 { 784 case 102: 785 if ((active0 & 0x1000000000L) != 0L) 786 return jjStartNfaWithStates_0(9, 36, 28); 787 break; 788 case 115: 789 if ((active0 & 0x400000000L) != 0L) 790 return jjStartNfaWithStates_0(9, 34, 28); 791 break; 792 case 122: 793 return jjMoveStringLiteralDfa10_0(active0, 0x10000000000000L); 794 default : 795 break; 796 } 797 return jjStartNfa_0(8, active0, 0L); 798 } 799 private final int jjMoveStringLiteralDfa10_0(long old0, long active0) 800 { 801 if (((active0 &= old0)) == 0L) 802 return jjStartNfa_0(8, old0, 0L); 803 try { curChar = input_stream.readChar(); } 804 catch(java.io.IOException e) { 805 jjStopStringLiteralDfa_0(9, active0, 0L); 806 return 10; 807 } 808 switch(curChar) 809 { 810 case 101: 811 return jjMoveStringLiteralDfa11_0(active0, 0x10000000000000L); 812 default : 813 break; 814 } 815 return jjStartNfa_0(9, active0, 0L); 816 } 817 private final int jjMoveStringLiteralDfa11_0(long old0, long active0) 818 { 819 if (((active0 &= old0)) == 0L) 820 return jjStartNfa_0(9, old0, 0L); 821 try { curChar = input_stream.readChar(); } 822 catch(java.io.IOException e) { 823 jjStopStringLiteralDfa_0(10, active0, 0L); 824 return 11; 825 } 826 switch(curChar) 827 { 828 case 100: 829 if ((active0 & 0x10000000000000L) != 0L) 830 return jjStartNfaWithStates_0(11, 52, 28); 831 break; 832 default : 833 break; 834 } 835 return jjStartNfa_0(10, active0, 0L); 836 } 837 private final void jjCheckNAdd(int state) 838 { 839 if (jjrounds[state] != jjround) 840 { 841 jjstateSet[jjnewStateCnt++] = state; 842 jjrounds[state] = jjround; 843 } 844 } 845 private final void jjAddStates(int start, int end) 846 { 847 do { 848 jjstateSet[jjnewStateCnt++] = jjnextStates[start]; 849 } while (start++ != end); 850 } 851 private final void jjCheckNAddTwoStates(int state1, int state2) 852 { 853 jjCheckNAdd(state1); 854 jjCheckNAdd(state2); 855 } 856 private final void jjCheckNAddStates(int start, int end) 857 { 858 do { 859 jjCheckNAdd(jjnextStates[start]); 860 } while (start++ != end); 861 } 862 private final void jjCheckNAddStates(int start) 863 { 864 jjCheckNAdd(jjnextStates[start]); 865 jjCheckNAdd(jjnextStates[start + 1]); 866 } 867 static final long[] jjbitVec0 = { 868 0xfffffffffffffffeL, 0xffffffffffffffffL, 0xffffffffffffffffL, 0xffffffffffffffffL 869 }; 870 static final long[] jjbitVec2 = { 871 0x0L, 0x0L, 0xffffffffffffffffL, 0xffffffffffffffffL 872 }; 873 static final long[] jjbitVec3 = { 874 0x1ff00000fffffffeL, 0xffffffffffffc000L, 0xffffffffL, 0x600000000000000L 875 }; 876 static final long[] jjbitVec4 = { 877 0x0L, 0x0L, 0x0L, 0xff7fffffff7fffffL 878 }; 879 static final long[] jjbitVec5 = { 880 0x0L, 0xffffffffffffffffL, 0xffffffffffffffffL, 0xffffffffffffffffL 881 }; 882 static final long[] jjbitVec6 = { 883 0xffffffffffffffffL, 0xffffffffffffffffL, 0xffffL, 0x0L 884 }; 885 static final long[] jjbitVec7 = { 886 0xffffffffffffffffL, 0xffffffffffffffffL, 0x0L, 0x0L 887 }; 888 static final long[] jjbitVec8 = { 889 0x3fffffffffffL, 0x0L, 0x0L, 0x0L 890 }; 891 private final int jjMoveNfa_0(int startState, int curPos) 892 { 893 int[] nextStates; 894 int startsAt = 0; 895 jjnewStateCnt = 57; 896 int i = 1; 897 jjstateSet[0] = startState; 898 int j, kind = 0x7fffffff; 899 for (;;) 900 { 901 if (++jjround == 0x7fffffff) 902 ReInitRounds(); 903 if (curChar < 64) 904 { 905 long l = 1L << curChar; 906 MatchLoop: do 907 { 908 switch(jjstateSet[--i]) 909 { 910 case 49: 911 if (curChar == 42) 912 jjstateSet[jjnewStateCnt++] = 54; 913 else if (curChar == 47) 914 { 915 if (kind > 6) 916 kind = 6; 917 jjCheckNAddStates(0, 2); 918 } 919 break; 920 case 0: 921 if ((0x3ff000000000000L & l) != 0L) 922 jjCheckNAddStates(3, 9); 923 else if (curChar == 47) 924 jjAddStates(10, 11); 925 else if (curChar == 36) 926 { 927 if (kind > 72) 928 kind = 72; 929 jjCheckNAdd(28); 930 } 931 else if (curChar == 34) 932 jjCheckNAddStates(12, 14); 933 else if (curChar == 39) 934 jjAddStates(15, 16); 935 else if (curChar == 46) 936 jjCheckNAdd(4); 937 if ((0x3fe000000000000L & l) != 0L) 938 { 939 if (kind > 64) 940 kind = 64; 941 jjCheckNAddTwoStates(1, 2); 942 } 943 else if (curChar == 48) 944 { 945 if (kind > 64) 946 kind = 64; 947 jjCheckNAddStates(17, 19); 948 } 949 break; 950 case 1: 951 if ((0x3ff000000000000L & l) == 0L) 952 break; 953 if (kind > 64) 954 kind = 64; 955 jjCheckNAddTwoStates(1, 2); 956 break; 957 case 3: 958 if (curChar == 46) 959 jjCheckNAdd(4); 960 break; 961 case 4: 962 if ((0x3ff000000000000L & l) == 0L) 963 break; 964 if (kind > 68) 965 kind = 68; 966 jjCheckNAddStates(20, 22); 967 break; 968 case 6: 969 if ((0x280000000000L & l) != 0L) 970 jjCheckNAdd(7); 971 break; 972 case 7: 973 if ((0x3ff000000000000L & l) == 0L) 974 break; 975 if (kind > 68) 976 kind = 68; 977 jjCheckNAddTwoStates(7, 8); 978 break; 979 case 9: 980 if (curChar == 39) 981 jjAddStates(15, 16); 982 break; 983 case 10: 984 if ((0xffffff7fffffdbffL & l) != 0L) 985 jjCheckNAdd(11); 986 break; 987 case 11: 988 if (curChar == 39 && kind > 70) 989 kind = 70; 990 break; 991 case 13: 992 if ((0x8400000000L & l) != 0L) 993 jjCheckNAdd(11); 994 break; 995 case 14: 996 if ((0xff000000000000L & l) != 0L) 997 jjCheckNAddTwoStates(15, 11); 998 break; 999 case 15: 1000 if ((0xff000000000000L & l) != 0L) 1001 jjCheckNAdd(11); 1002 break; 1003 case 16: 1004 if ((0xf000000000000L & l) != 0L) 1005 jjstateSet[jjnewStateCnt++] = 17; 1006 break; 1007 case 17: 1008 if ((0xff000000000000L & l) != 0L) 1009 jjCheckNAdd(15); 1010 break; 1011 case 18: 1012 if (curChar == 34) 1013 jjCheckNAddStates(12, 14); 1014 break; 1015 case 19: 1016 if ((0xfffffffbffffdbffL & l) != 0L) 1017 jjCheckNAddStates(12, 14); 1018 break; 1019 case 21: 1020 if ((0x8400000000L & l) != 0L) 1021 jjCheckNAddStates(12, 14); 1022 break; 1023 case 22: 1024 if (curChar == 34 && kind > 71) 1025 kind = 71; 1026 break; 1027 case 23: 1028 if ((0xff000000000000L & l) != 0L) 1029 jjCheckNAddStates(23, 26); 1030 break; 1031 case 24: 1032 if ((0xff000000000000L & l) != 0L) 1033 jjCheckNAddStates(12, 14); 1034 break; 1035 case 25: 1036 if ((0xf000000000000L & l) != 0L) 1037 jjstateSet[jjnewStateCnt++] = 26; 1038 break; 1039 case 26: 1040 if ((0xff000000000000L & l) != 0L) 1041 jjCheckNAdd(24); 1042 break; 1043 case 27: 1044 if (curChar != 36) 1045 break; 1046 if (kind > 72) 1047 kind = 72; 1048 jjCheckNAdd(28); 1049 break; 1050 case 28: 1051 if ((0x3ff001000000000L & l) == 0L) 1052 break; 1053 if (kind > 72) 1054 kind = 72; 1055 jjCheckNAdd(28); 1056 break; 1057 case 29: 1058 if ((0x3ff000000000000L & l) != 0L) 1059 jjCheckNAddStates(3, 9); 1060 break; 1061 case 30: 1062 if ((0x3ff000000000000L & l) != 0L) 1063 jjCheckNAddTwoStates(30, 31); 1064 break; 1065 case 31: 1066 if (curChar != 46) 1067 break; 1068 if (kind > 68) 1069 kind = 68; 1070 jjCheckNAddStates(27, 29); 1071 break; 1072 case 32: 1073 if ((0x3ff000000000000L & l) == 0L) 1074 break; 1075 if (kind > 68) 1076 kind = 68; 1077 jjCheckNAddStates(27, 29); 1078 break; 1079 case 34: 1080 if ((0x280000000000L & l) != 0L) 1081 jjCheckNAdd(35); 1082 break; 1083 case 35: 1084 if ((0x3ff000000000000L & l) == 0L) 1085 break; 1086 if (kind > 68) 1087 kind = 68; 1088 jjCheckNAddTwoStates(35, 8); 1089 break; 1090 case 36: 1091 if ((0x3ff000000000000L & l) != 0L) 1092 jjCheckNAddTwoStates(36, 37); 1093 break; 1094 case 38: 1095 if ((0x280000000000L & l) != 0L) 1096 jjCheckNAdd(39); 1097 break; 1098 case 39: 1099 if ((0x3ff000000000000L & l) == 0L) 1100 break; 1101 if (kind > 68) 1102 kind = 68; 1103 jjCheckNAddTwoStates(39, 8); 1104 break; 1105 case 40: 1106 if ((0x3ff000000000000L & l) != 0L) 1107 jjCheckNAddStates(30, 32); 1108 break; 1109 case 42: 1110 if ((0x280000000000L & l) != 0L) 1111 jjCheckNAdd(43); 1112 break; 1113 case 43: 1114 if ((0x3ff000000000000L & l) != 0L) 1115 jjCheckNAddTwoStates(43, 8); 1116 break; 1117 case 44: 1118 if (curChar != 48) 1119 break; 1120 if (kind > 64) 1121 kind = 64; 1122 jjCheckNAddStates(17, 19); 1123 break; 1124 case 46: 1125 if ((0x3ff000000000000L & l) == 0L) 1126 break; 1127 if (kind > 64) 1128 kind = 64; 1129 jjCheckNAddTwoStates(46, 2); 1130 break; 1131 case 47: 1132 if ((0xff000000000000L & l) == 0L) 1133 break; 1134 if (kind > 64) 1135 kind = 64; 1136 jjCheckNAddTwoStates(47, 2); 1137 break; 1138 case 48: 1139 if (curChar == 47) 1140 jjAddStates(10, 11); 1141 break; 1142 case 50: 1143 if ((0xffffffffffffdbffL & l) == 0L) 1144 break; 1145 if (kind > 6) 1146 kind = 6; 1147 jjCheckNAddStates(0, 2); 1148 break; 1149 case 51: 1150 if ((0x2400L & l) != 0L && kind > 6) 1151 kind = 6; 1152 break; 1153 case 52: 1154 if (curChar == 10 && kind > 6) 1155 kind = 6; 1156 break; 1157 case 53: 1158 if (curChar == 13) 1159 jjstateSet[jjnewStateCnt++] = 52; 1160 break; 1161 case 54: 1162 if (curChar == 42) 1163 jjstateSet[jjnewStateCnt++] = 55; 1164 break; 1165 case 55: 1166 if ((0xffff7fffffffffffL & l) != 0L && kind > 7) 1167 kind = 7; 1168 break; 1169 case 56: 1170 if (curChar == 42) 1171 jjstateSet[jjnewStateCnt++] = 54; 1172 break; 1173 default : break; 1174 } 1175 } while(i != startsAt); 1176 } 1177 else if (curChar < 128) 1178 { 1179 long l = 1L << (curChar & 077); 1180 MatchLoop: do 1181 { 1182 switch(jjstateSet[--i]) 1183 { 1184 case 0: 1185 case 28: 1186 if ((0x7fffffe87fffffeL & l) == 0L) 1187 break; 1188 if (kind > 72) 1189 kind = 72; 1190 jjCheckNAdd(28); 1191 break; 1192 case 2: 1193 if ((0x100000001000L & l) != 0L && kind > 64) 1194 kind = 64; 1195 break; 1196 case 5: 1197 if ((0x2000000020L & l) != 0L) 1198 jjAddStates(33, 34); 1199 break; 1200 case 8: 1201 if ((0x5000000050L & l) != 0L && kind > 68) 1202 kind = 68; 1203 break; 1204 case 10: 1205 if ((0xffffffffefffffffL & l) != 0L) 1206 jjCheckNAdd(11); 1207 break; 1208 case 12: 1209 if (curChar == 92) 1210 jjAddStates(35, 37); 1211 break; 1212 case 13: 1213 if ((0x14404410000000L & l) != 0L) 1214 jjCheckNAdd(11); 1215 break; 1216 case 19: 1217 if ((0xffffffffefffffffL & l) != 0L) 1218 jjCheckNAddStates(12, 14); 1219 break; 1220 case 20: 1221 if (curChar == 92) 1222 jjAddStates(38, 40); 1223 break; 1224 case 21: 1225 if ((0x14404410000000L & l) != 0L) 1226 jjCheckNAddStates(12, 14); 1227 break; 1228 case 33: 1229 if ((0x2000000020L & l) != 0L) 1230 jjAddStates(41, 42); 1231 break; 1232 case 37: 1233 if ((0x2000000020L & l) != 0L) 1234 jjAddStates(43, 44); 1235 break; 1236 case 41: 1237 if ((0x2000000020L & l) != 0L) 1238 jjAddStates(45, 46); 1239 break; 1240 case 45: 1241 if ((0x100000001000000L & l) != 0L) 1242 jjCheckNAdd(46); 1243 break; 1244 case 46: 1245 if ((0x7e0000007eL & l) == 0L) 1246 break; 1247 if (kind > 64) 1248 kind = 64; 1249 jjCheckNAddTwoStates(46, 2); 1250 break; 1251 case 50: 1252 if (kind > 6) 1253 kind = 6; 1254 jjAddStates(0, 2); 1255 break; 1256 case 55: 1257 if (kind > 7) 1258 kind = 7; 1259 break; 1260 default : break; 1261 } 1262 } while(i != startsAt); 1263 } 1264 else 1265 { 1266 int hiByte = (int)(curChar >> 8); 1267 int i1 = hiByte >> 6; 1268 long l1 = 1L << (hiByte & 077); 1269 int i2 = (curChar & 0xff) >> 6; 1270 long l2 = 1L << (curChar & 077); 1271 MatchLoop: do 1272 { 1273 switch(jjstateSet[--i]) 1274 { 1275 case 0: 1276 case 28: 1277 if (!jjCanMove_1(hiByte, i1, i2, l1, l2)) 1278 break; 1279 if (kind > 72) 1280 kind = 72; 1281 jjCheckNAdd(28); 1282 break; 1283 case 10: 1284 if (jjCanMove_0(hiByte, i1, i2, l1, l2)) 1285 jjstateSet[jjnewStateCnt++] = 11; 1286 break; 1287 case 19: 1288 if (jjCanMove_0(hiByte, i1, i2, l1, l2)) 1289 jjAddStates(12, 14); 1290 break; 1291 case 50: 1292 if (!jjCanMove_0(hiByte, i1, i2, l1, l2)) 1293 break; 1294 if (kind > 6) 1295 kind = 6; 1296 jjAddStates(0, 2); 1297 break; 1298 case 55: 1299 if (jjCanMove_0(hiByte, i1, i2, l1, l2) && kind > 7) 1300 kind = 7; 1301 break; 1302 default : break; 1303 } 1304 } while(i != startsAt); 1305 } 1306 if (kind != 0x7fffffff) 1307 { 1308 jjmatchedKind = kind; 1309 jjmatchedPos = curPos; 1310 kind = 0x7fffffff; 1311 } 1312 ++curPos; 1313 if ((i = jjnewStateCnt) == (startsAt = 57 - (jjnewStateCnt = startsAt))) 1314 return curPos; 1315 try { curChar = input_stream.readChar(); } 1316 catch(java.io.IOException e) { return curPos; } 1317 } 1318 } 1319 private final int jjMoveStringLiteralDfa0_2() 1320 { 1321 switch(curChar) 1322 { 1323 case 42: 1324 return jjMoveStringLiteralDfa1_2(0x400L); 1325 default : 1326 return 1; 1327 } 1328 } 1329 private final int jjMoveStringLiteralDfa1_2(long active0) 1330 { 1331 try { curChar = input_stream.readChar(); } 1332 catch(java.io.IOException e) { 1333 return 1; 1334 } 1335 switch(curChar) 1336 { 1337 case 47: 1338 if ((active0 & 0x400L) != 0L) 1339 return jjStopAtPos(1, 10); 1340 break; 1341 default : 1342 return 2; 1343 } 1344 return 2; 1345 } 1346 private final int jjMoveStringLiteralDfa0_1() 1347 { 1348 switch(curChar) 1349 { 1350 case 42: 1351 return jjMoveStringLiteralDfa1_1(0x200L); 1352 default : 1353 return 1; 1354 } 1355 } 1356 private final int jjMoveStringLiteralDfa1_1(long active0) 1357 { 1358 try { curChar = input_stream.readChar(); } 1359 catch(java.io.IOException e) { 1360 return 1; 1361 } 1362 switch(curChar) 1363 { 1364 case 47: 1365 if ((active0 & 0x200L) != 0L) 1366 return jjStopAtPos(1, 9); 1367 break; 1368 default : 1369 return 2; 1370 } 1371 return 2; 1372 } 1373 static final int[] jjnextStates = { 1374 50, 51, 53, 30, 31, 36, 37, 40, 41, 8, 49, 56, 19, 20, 22, 10, 1375 12, 45, 47, 2, 4, 5, 8, 19, 20, 24, 22, 32, 33, 8, 40, 41, 1376 8, 6, 7, 13, 14, 16, 21, 23, 25, 34, 35, 38, 39, 42, 43, 1377 }; 1378 private static final boolean jjCanMove_0(int hiByte, int i1, int i2, long l1, long l2) 1379 { 1380 switch(hiByte) 1381 { 1382 case 0: 1383 return ((jjbitVec2[i2] & l2) != 0L); 1384 default : 1385 if ((jjbitVec0[i1] & l1) != 0L) 1386 return true; 1387 return false; 1388 } 1389 } 1390 private static final boolean jjCanMove_1(int hiByte, int i1, int i2, long l1, long l2) 1391 { 1392 switch(hiByte) 1393 { 1394 case 0: 1395 return ((jjbitVec4[i2] & l2) != 0L); 1396 case 48: 1397 return ((jjbitVec5[i2] & l2) != 0L); 1398 case 49: 1399 return ((jjbitVec6[i2] & l2) != 0L); 1400 case 51: 1401 return ((jjbitVec7[i2] & l2) != 0L); 1402 case 61: 1403 return ((jjbitVec8[i2] & l2) != 0L); 1404 default : 1405 if ((jjbitVec3[i1] & l1) != 0L) 1406 return true; 1407 return false; 1408 } 1409 } 1410 public static final String[] jjstrLiteralImages = { 1411 "", null, null, null, null, null, null, null, null, null, null, null, 1412 "\141\142\163\164\162\141\143\164", "\142\157\157\154\145\141\156", "\142\162\145\141\153", "\142\171\164\145", 1413 "\143\141\163\145", "\143\141\164\143\150", "\143\150\141\162", "\143\154\141\163\163", 1414 "\143\157\156\163\164", "\143\157\156\164\151\156\165\145", "\144\145\146\141\165\154\164", 1415 "\144\157", "\144\157\165\142\154\145", "\145\154\163\145", 1416 "\145\170\164\145\156\144\163", "\146\141\154\163\145", "\146\151\156\141\154", 1417 "\146\151\156\141\154\154\171", "\146\154\157\141\164", "\146\157\162", "\147\157\164\157", "\151\146", 1418 "\151\155\160\154\145\155\145\156\164\163", "\151\155\160\157\162\164", "\151\156\163\164\141\156\143\145\157\146", 1419 "\151\156\164", "\151\156\164\145\162\146\141\143\145", "\154\157\156\147", 1420 "\156\141\164\151\166\145", "\156\145\167", "\156\165\154\154", "\160\141\143\153\141\147\145", 1421 "\160\162\151\166\141\164\145", "\160\162\157\164\145\143\164\145\144", "\160\165\142\154\151\143", 1422 "\162\145\164\165\162\156", "\163\150\157\162\164", "\163\164\141\164\151\143", "\163\165\160\145\162", 1423 "\163\167\151\164\143\150", "\163\171\156\143\150\162\157\156\151\172\145\144", "\164\150\151\163", 1424 "\164\150\162\157\167", "\164\150\162\157\167\163", "\164\162\141\156\163\151\145\156\164", 1425 "\164\162\165\145", "\164\162\171", "\166\157\151\144", "\166\157\154\141\164\151\154\145", 1426 "\167\150\151\154\145", "\163\164\162\151\143\164\146\160", "\141\163\163\145\162\164", null, null, 1427 null, null, null, null, null, null, null, null, null, "\50", "\51", "\173", "\175", 1428 "\133", "\135", "\73", "\54", "\56", "\75", "\76", "\74", "\41", "\176", "\77", "\72", 1429 "\75\75", "\74\75", "\76\75", "\41\75", "\174\174", "\46\46", "\53\53", "\55\55", "\53", 1430 "\55", "\52", "\57", "\46", "\174", "\136", "\45", "\74\74", "\76\76", "\76\76\76", 1431 "\53\75", "\55\75", "\52\75", "\57\75", "\46\75", "\174\75", "\136\75", "\45\75", 1432 "\74\74\75", "\76\76\75", "\76\76\76\75", }; 1433 public static final String[] lexStateNames = { 1434 "DEFAULT", 1435 "IN_FORMAL_COMMENT", 1436 "IN_MULTI_LINE_COMMENT", 1437 }; 1438 public static final int[] jjnewLexState = { 1439 -1, -1, -1, -1, -1, -1, -1, 1, 2, 0, 0, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 1440 -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 1441 -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 1442 -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 1443 -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 1444 }; 1445 static final long[] jjtoToken = { 1446 0xfffffffffffff001L, 0x1fffffffffff9d1L, 1447 }; 1448 static final long[] jjtoSkip = { 1449 0x67eL, 0x0L, 1450 }; 1451 static final long[] jjtoSpecial = { 1452 0x67eL, 0x0L, 1453 }; 1454 static final long[] jjtoMore = { 1455 0x980L, 0x0L, 1456 }; 1457 protected JavaCharStream input_stream; 1458 private final int[] jjrounds = new int[57]; 1459 private final int[] jjstateSet = new int[114]; 1460 StringBuffer image; 1461 int jjimageLen; 1462 int lengthOfMatch; 1463 protected char curChar; 1464 public JavaParserTokenManager(JavaCharStream stream) 1465 { 1466 if (JavaCharStream.staticFlag) 1467 throw new RuntimeException("ERROR: Cannot use a static CharStream class with a non-static lexical analyzer."); 1468 input_stream = stream; 1469 } 1470 public JavaParserTokenManager(JavaCharStream stream, int lexState) 1471 { 1472 this(stream); 1473 SwitchTo(lexState); 1474 } 1475 public void ReInit(JavaCharStream stream) 1476 { 1477 jjmatchedPos = jjnewStateCnt = 0; 1478 curLexState = defaultLexState; 1479 input_stream = stream; 1480 ReInitRounds(); 1481 } 1482 private final void ReInitRounds() 1483 { 1484 int i; 1485 jjround = 0x80000001; 1486 for (i = 57; i-- > 0;) 1487 jjrounds[i] = 0x80000000; 1488 } 1489 public void ReInit(JavaCharStream stream, int lexState) 1490 { 1491 ReInit(stream); 1492 SwitchTo(lexState); 1493 } 1494 public void SwitchTo(int lexState) 1495 { 1496 if (lexState >= 3 || lexState < 0) 1497 throw new TokenMgrError("Error: Ignoring invalid lexical state : " + lexState + ". State unchanged.", TokenMgrError.INVALID_LEXICAL_STATE); 1498 else 1499 curLexState = lexState; 1500 } 1501 1502 protected Token jjFillToken() 1503 { 1504 Token t = Token.newToken(jjmatchedKind); 1505 t.kind = jjmatchedKind; 1506 String im = jjstrLiteralImages[jjmatchedKind]; 1507 t.image = (im == null) ? input_stream.GetImage() : im; 1508 t.beginLine = input_stream.getBeginLine(); 1509 t.beginColumn = input_stream.getBeginColumn(); 1510 t.endLine = input_stream.getEndLine(); 1511 t.endColumn = input_stream.getEndColumn(); 1512 return t; 1513 } 1514 1515 int curLexState = 0; 1516 int defaultLexState = 0; 1517 int jjnewStateCnt; 1518 int jjround; 1519 int jjmatchedPos; 1520 int jjmatchedKind; 1521 1522 public Token getNextToken() 1523 { 1524 int kind; 1525 Token specialToken = null; 1526 Token matchedToken; 1527 int curPos = 0; 1528 1529 EOFLoop : 1530 for (;;) 1531 { 1532 try 1533 { 1534 curChar = input_stream.BeginToken(); 1535 } 1536 catch(java.io.IOException e) 1537 { 1538 jjmatchedKind = 0; 1539 matchedToken = jjFillToken(); 1540 matchedToken.specialToken = specialToken; 1541 return matchedToken; 1542 } 1543 image = null; 1544 jjimageLen = 0; 1545 1546 for (;;) 1547 { 1548 switch(curLexState) 1549 { 1550 case 0: 1551 jjmatchedKind = 0x7fffffff; 1552 jjmatchedPos = 0; 1553 curPos = jjMoveStringLiteralDfa0_0(); 1554 break; 1555 case 1: 1556 jjmatchedKind = 0x7fffffff; 1557 jjmatchedPos = 0; 1558 curPos = jjMoveStringLiteralDfa0_1(); 1559 if (jjmatchedPos == 0 && jjmatchedKind > 11) 1560 { 1561 jjmatchedKind = 11; 1562 } 1563 break; 1564 case 2: 1565 jjmatchedKind = 0x7fffffff; 1566 jjmatchedPos = 0; 1567 curPos = jjMoveStringLiteralDfa0_2(); 1568 if (jjmatchedPos == 0 && jjmatchedKind > 11) 1569 { 1570 jjmatchedKind = 11; 1571 } 1572 break; 1573 } 1574 if (jjmatchedKind != 0x7fffffff) 1575 { 1576 if (jjmatchedPos + 1 < curPos) 1577 input_stream.backup(curPos - jjmatchedPos - 1); 1578 if ((jjtoToken[jjmatchedKind >> 6] & (1L << (jjmatchedKind & 077))) != 0L) 1579 { 1580 matchedToken = jjFillToken(); 1581 matchedToken.specialToken = specialToken; 1582 if (jjnewLexState[jjmatchedKind] != -1) 1583 curLexState = jjnewLexState[jjmatchedKind]; 1584 return matchedToken; 1585 } 1586 else if ((jjtoSkip[jjmatchedKind >> 6] & (1L << (jjmatchedKind & 077))) != 0L) 1587 { 1588 if ((jjtoSpecial[jjmatchedKind >> 6] & (1L << (jjmatchedKind & 077))) != 0L) 1589 { 1590 matchedToken = jjFillToken(); 1591 if (specialToken == null) 1592 specialToken = matchedToken; 1593 else 1594 { 1595 matchedToken.specialToken = specialToken; 1596 specialToken = (specialToken.next = matchedToken); 1597 } 1598 SkipLexicalActions(matchedToken); 1599 } 1600 else 1601 SkipLexicalActions(null); 1602 if (jjnewLexState[jjmatchedKind] != -1) 1603 curLexState = jjnewLexState[jjmatchedKind]; 1604 continue EOFLoop; 1605 } 1606 MoreLexicalActions(); 1607 if (jjnewLexState[jjmatchedKind] != -1) 1608 curLexState = jjnewLexState[jjmatchedKind]; 1609 curPos = 0; 1610 jjmatchedKind = 0x7fffffff; 1611 try { 1612 curChar = input_stream.readChar(); 1613 continue; 1614 } 1615 catch (java.io.IOException e1) { } 1616 } 1617 int error_line = input_stream.getEndLine(); 1618 int error_column = input_stream.getEndColumn(); 1619 String error_after = null; 1620 boolean EOFSeen = false; 1621 try { input_stream.readChar(); input_stream.backup(1); } 1622 catch (java.io.IOException e1) { 1623 EOFSeen = true; 1624 error_after = curPos <= 1 ? "" : input_stream.GetImage(); 1625 if (curChar == '\n' || curChar == '\r') { 1626 error_line++; 1627 error_column = 0; 1628 } 1629 else 1630 error_column++; 1631 } 1632 if (!EOFSeen) { 1633 input_stream.backup(1); 1634 error_after = curPos <= 1 ? "" : input_stream.GetImage(); 1635 } 1636 throw new TokenMgrError(EOFSeen, curLexState, error_line, error_column, error_after, curChar, TokenMgrError.LEXICAL_ERROR); 1637 } 1638 } 1639 } 1640 1641 void SkipLexicalActions(Token matchedToken) 1642 { 1643 switch(jjmatchedKind) 1644 { 1645 default : 1646 break; 1647 } 1648 } 1649 void MoreLexicalActions() 1650 { 1651 jjimageLen += (lengthOfMatch = jjmatchedPos + 1); 1652 switch(jjmatchedKind) 1653 { 1654 case 7 : 1655 if (image == null) 1656 image = new StringBuffer(new String(input_stream.GetSuffix(jjimageLen))); 1657 else 1658 image.append(input_stream.GetSuffix(jjimageLen)); 1659 jjimageLen = 0; 1660 input_stream.backup(1); 1661 break; 1662 default : 1663 break; 1664 } 1665 } 1666 }

This page was automatically generated by Maven