1 2 package org.apache.cayenne.ejbql.parser; 3 import java.io.*; 4 import java.util.*; 5 import org.apache.cayenne.ejbql.*; 6 import org.apache.cayenne.map.*; 7 8 public class EJBQLTokenManager implements EJBQLConstants 9 { 10 public java.io.PrintStream debugStream = System.out; 11 public void setDebugStream(java.io.PrintStream ds) { debugStream = ds; } 12 private final int jjStopAtPos(int pos, int kind) 13 { 14 jjmatchedKind = kind; 15 jjmatchedPos = pos; 16 return pos + 1; 17 } 18 private final int jjMoveStringLiteralDfa0_0() 19 { 20 switch(curChar) 21 { 22 case 9: 23 jjmatchedKind = 3; 24 return jjMoveNfa_0(9, 0); 25 case 13: 26 jjmatchedKind = 2; 27 return jjMoveNfa_0(9, 0); 28 case 32: 29 jjmatchedKind = 1; 30 return jjMoveNfa_0(9, 0); 31 case 40: 32 jjmatchedKind = 84; 33 return jjMoveNfa_0(9, 0); 34 case 41: 35 jjmatchedKind = 85; 36 return jjMoveNfa_0(9, 0); 37 case 42: 38 jjmatchedKind = 14; 39 return jjMoveNfa_0(9, 0); 40 case 43: 41 jjmatchedKind = 12; 42 return jjMoveNfa_0(9, 0); 43 case 44: 44 jjmatchedKind = 4; 45 return jjMoveNfa_0(9, 0); 46 case 45: 47 jjmatchedKind = 13; 48 return jjMoveNfa_0(9, 0); 49 case 46: 50 jjmatchedKind = 5; 51 return jjMoveNfa_0(9, 0); 52 case 47: 53 jjmatchedKind = 15; 54 return jjMoveNfa_0(9, 0); 55 case 58: 56 jjmatchedKind = 86; 57 return jjMoveNfa_0(9, 0); 58 case 60: 59 jjmatchedKind = 10; 60 return jjMoveStringLiteralDfa1_0(0x880L, 0x0L); 61 case 61: 62 jjmatchedKind = 6; 63 return jjMoveNfa_0(9, 0); 64 case 62: 65 jjmatchedKind = 8; 66 return jjMoveStringLiteralDfa1_0(0x200L, 0x0L); 67 case 63: 68 jjmatchedKind = 87; 69 return jjMoveNfa_0(9, 0); 70 case 65: 71 return jjMoveStringLiteralDfa1_0(0x8008200460000L, 0x4L); 72 case 66: 73 return jjMoveStringLiteralDfa1_0(0x1000082000000L, 0x0L); 74 case 67: 75 return jjMoveStringLiteralDfa1_0(0x380022000000000L, 0x0L); 76 case 68: 77 return jjMoveStringLiteralDfa1_0(0x4800000000800000L, 0x0L); 78 case 69: 79 return jjMoveStringLiteralDfa1_0(0x40280000L, 0x0L); 80 case 70: 81 return jjMoveStringLiteralDfa1_0(0x1000000000000000L, 0x80L); 82 case 71: 83 return jjMoveStringLiteralDfa1_0(0x0L, 0x1L); 84 case 72: 85 return jjMoveStringLiteralDfa1_0(0x0L, 0x2L); 86 case 73: 87 return jjMoveStringLiteralDfa1_0(0x4000000L, 0x120L); 88 case 74: 89 return jjMoveStringLiteralDfa1_0(0x0L, 0x40L); 90 case 76: 91 return jjMoveStringLiteralDfa1_0(0x6500020000000L, 0x8L); 92 case 77: 93 return jjMoveStringLiteralDfa1_0(0x20000c08000000L, 0x0L); 94 case 78: 95 return jjMoveStringLiteralDfa1_0(0x10100010000L, 0x0L); 96 case 79: 97 return jjMoveStringLiteralDfa1_0(0x4011000000L, 0x410L); 98 case 83: 99 return jjMoveStringLiteralDfa1_0(0x450041000100000L, 0x200L); 100 case 84: 101 return jjMoveStringLiteralDfa1_0(0x880000000000L, 0x0L); 102 case 85: 103 return jjMoveStringLiteralDfa1_0(0x2000200000000000L, 0x0L); 104 case 87: 105 return jjMoveStringLiteralDfa1_0(0x8000000000000000L, 0x0L); 106 case 97: 107 return jjMoveStringLiteralDfa1_0(0x8008200460000L, 0x4L); 108 case 98: 109 return jjMoveStringLiteralDfa1_0(0x1000082000000L, 0x0L); 110 case 99: 111 return jjMoveStringLiteralDfa1_0(0x380022000000000L, 0x0L); 112 case 100: 113 return jjMoveStringLiteralDfa1_0(0x4800000000800000L, 0x0L); 114 case 101: 115 return jjMoveStringLiteralDfa1_0(0x40280000L, 0x0L); 116 case 102: 117 return jjMoveStringLiteralDfa1_0(0x1000000000000000L, 0x80L); 118 case 103: 119 return jjMoveStringLiteralDfa1_0(0x0L, 0x1L); 120 case 104: 121 return jjMoveStringLiteralDfa1_0(0x0L, 0x2L); 122 case 105: 123 return jjMoveStringLiteralDfa1_0(0x4000000L, 0x120L); 124 case 106: 125 return jjMoveStringLiteralDfa1_0(0x0L, 0x40L); 126 case 108: 127 return jjMoveStringLiteralDfa1_0(0x6500020000000L, 0x8L); 128 case 109: 129 return jjMoveStringLiteralDfa1_0(0x20000c08000000L, 0x0L); 130 case 110: 131 return jjMoveStringLiteralDfa1_0(0x10100010000L, 0x0L); 132 case 111: 133 return jjMoveStringLiteralDfa1_0(0x4011000000L, 0x410L); 134 case 115: 135 return jjMoveStringLiteralDfa1_0(0x450041000100000L, 0x200L); 136 case 116: 137 return jjMoveStringLiteralDfa1_0(0x880000000000L, 0x0L); 138 case 117: 139 return jjMoveStringLiteralDfa1_0(0x2000200000000000L, 0x0L); 140 case 119: 141 return jjMoveStringLiteralDfa1_0(0x8000000000000000L, 0x0L); 142 default : 143 return jjMoveNfa_0(9, 0); 144 } 145 } 146 private final int jjMoveStringLiteralDfa1_0(long active0, long active1) 147 { 148 try { curChar = input_stream.readChar(); } 149 catch(java.io.IOException e) { 150 return jjMoveNfa_0(9, 0); 151 } 152 switch(curChar) 153 { 154 case 61: 155 if ((active0 & 0x200L) != 0L) 156 { 157 jjmatchedKind = 9; 158 jjmatchedPos = 1; 159 } 160 else if ((active0 & 0x800L) != 0L) 161 { 162 jjmatchedKind = 11; 163 jjmatchedPos = 1; 164 } 165 break; 166 case 62: 167 if ((active0 & 0x80L) != 0L) 168 { 169 jjmatchedKind = 7; 170 jjmatchedPos = 1; 171 } 172 break; 173 case 65: 174 return jjMoveStringLiteralDfa2_0(active0, 0x800000000L, active1, 0x2L); 175 case 66: 176 return jjMoveStringLiteralDfa2_0(active0, 0x8000000000000L, active1, 0x400L); 177 case 69: 178 return jjMoveStringLiteralDfa2_0(active0, 0x4402400088810000L, active1, 0x288L); 179 case 70: 180 if ((active0 & 0x10000000L) != 0L) 181 { 182 jjmatchedKind = 28; 183 jjmatchedPos = 1; 184 } 185 break; 186 case 72: 187 return jjMoveStringLiteralDfa2_0(active0, 0x8000000000000000L, active1, 0L); 188 case 73: 189 return jjMoveStringLiteralDfa2_0(active0, 0x840000420000000L, active1, 0L); 190 case 76: 191 return jjMoveStringLiteralDfa2_0(active0, 0x20000L, active1, 0L); 192 case 77: 193 return jjMoveStringLiteralDfa2_0(active0, 0x200000L, active1, 0L); 194 case 78: 195 if ((active1 & 0x100L) != 0L) 196 { 197 jjmatchedKind = 72; 198 jjmatchedPos = 1; 199 } 200 return jjMoveStringLiteralDfa2_0(active0, 0x8000040000L, active1, 0x20L); 201 case 79: 202 return jjMoveStringLiteralDfa2_0(active0, 0x25132000100000L, active1, 0x40L); 203 case 80: 204 return jjMoveStringLiteralDfa2_0(active0, 0x2000200000000000L, active1, 0L); 205 case 81: 206 return jjMoveStringLiteralDfa2_0(active0, 0x10000000000000L, active1, 0L); 207 case 82: 208 if ((active0 & 0x4000000000L) != 0L) 209 { 210 jjmatchedKind = 38; 211 jjmatchedPos = 1; 212 } 213 return jjMoveStringLiteralDfa2_0(active0, 0x1000880001000000L, active1, 0x1L); 214 case 83: 215 if ((active0 & 0x4000000L) != 0L) 216 { 217 jjmatchedKind = 26; 218 jjmatchedPos = 1; 219 } 220 else if ((active1 & 0x4L) != 0L) 221 { 222 jjmatchedKind = 66; 223 jjmatchedPos = 1; 224 } 225 return jjMoveStringLiteralDfa2_0(active0, 0x40400000L, active1, 0L); 226 case 85: 227 return jjMoveStringLiteralDfa2_0(active0, 0x380041100000000L, active1, 0x10L); 228 case 86: 229 return jjMoveStringLiteralDfa2_0(active0, 0x200000000L, active1, 0L); 230 case 88: 231 return jjMoveStringLiteralDfa2_0(active0, 0x80000L, active1, 0L); 232 case 89: 233 if ((active0 & 0x2000000L) != 0L) 234 { 235 jjmatchedKind = 25; 236 jjmatchedPos = 1; 237 } 238 break; 239 case 97: 240 return jjMoveStringLiteralDfa2_0(active0, 0x800000000L, active1, 0x2L); 241 case 98: 242 return jjMoveStringLiteralDfa2_0(active0, 0x8000000000000L, active1, 0x400L); 243 case 101: 244 return jjMoveStringLiteralDfa2_0(active0, 0x4402400088810000L, active1, 0x288L); 245 case 102: 246 if ((active0 & 0x10000000L) != 0L) 247 { 248 jjmatchedKind = 28; 249 jjmatchedPos = 1; 250 } 251 break; 252 case 104: 253 return jjMoveStringLiteralDfa2_0(active0, 0x8000000000000000L, active1, 0L); 254 case 105: 255 return jjMoveStringLiteralDfa2_0(active0, 0x840000420000000L, active1, 0L); 256 case 108: 257 return jjMoveStringLiteralDfa2_0(active0, 0x20000L, active1, 0L); 258 case 109: 259 return jjMoveStringLiteralDfa2_0(active0, 0x200000L, active1, 0L); 260 case 110: 261 if ((active1 & 0x100L) != 0L) 262 { 263 jjmatchedKind = 72; 264 jjmatchedPos = 1; 265 } 266 return jjMoveStringLiteralDfa2_0(active0, 0x8000040000L, active1, 0x20L); 267 case 111: 268 return jjMoveStringLiteralDfa2_0(active0, 0x25132000100000L, active1, 0x40L); 269 case 112: 270 return jjMoveStringLiteralDfa2_0(active0, 0x2000200000000000L, active1, 0L); 271 case 113: 272 return jjMoveStringLiteralDfa2_0(active0, 0x10000000000000L, active1, 0L); 273 case 114: 274 if ((active0 & 0x4000000000L) != 0L) 275 { 276 jjmatchedKind = 38; 277 jjmatchedPos = 1; 278 } 279 return jjMoveStringLiteralDfa2_0(active0, 0x1000880001000000L, active1, 0x1L); 280 case 115: 281 if ((active0 & 0x4000000L) != 0L) 282 { 283 jjmatchedKind = 26; 284 jjmatchedPos = 1; 285 } 286 else if ((active1 & 0x4L) != 0L) 287 { 288 jjmatchedKind = 66; 289 jjmatchedPos = 1; 290 } 291 return jjMoveStringLiteralDfa2_0(active0, 0x40400000L, active1, 0L); 292 case 117: 293 return jjMoveStringLiteralDfa2_0(active0, 0x380041100000000L, active1, 0x10L); 294 case 118: 295 return jjMoveStringLiteralDfa2_0(active0, 0x200000000L, active1, 0L); 296 case 120: 297 return jjMoveStringLiteralDfa2_0(active0, 0x80000L, active1, 0L); 298 case 121: 299 if ((active0 & 0x2000000L) != 0L) 300 { 301 jjmatchedKind = 25; 302 jjmatchedPos = 1; 303 } 304 break; 305 default : 306 break; 307 } 308 return jjMoveNfa_0(9, 1); 309 } 310 private final int jjMoveStringLiteralDfa2_0(long old0, long active0, long old1, long active1) 311 { 312 if (((active0 &= old0) | (active1 &= old1)) == 0L) 313 return jjMoveNfa_0(9, 1); 314 try { curChar = input_stream.readChar(); } 315 catch(java.io.IOException e) { 316 return jjMoveNfa_0(9, 1); 317 } 318 switch(curChar) 319 { 320 case 65: 321 return jjMoveStringLiteralDfa3_0(active0, 0xc00000000000L, active1, 0L); 322 case 66: 323 return jjMoveStringLiteralDfa3_0(active0, 0x40000000000L, active1, 0L); 324 case 67: 325 if ((active0 & 0x400000L) != 0L) 326 { 327 jjmatchedKind = 22; 328 jjmatchedPos = 2; 329 } 330 return jjMoveStringLiteralDfa3_0(active0, 0x4000040000000L, active1, 0L); 331 case 68: 332 if ((active0 & 0x8000000000L) != 0L) 333 { 334 jjmatchedKind = 39; 335 jjmatchedPos = 2; 336 } 337 else if ((active0 & 0x20000000000000L) != 0L) 338 { 339 jjmatchedKind = 53; 340 jjmatchedPos = 2; 341 } 342 return jjMoveStringLiteralDfa3_0(active0, 0x2000000001000000L, active1, 0L); 343 case 69: 344 return jjMoveStringLiteralDfa3_0(active0, 0x8000000000000000L, active1, 0L); 345 case 70: 346 return jjMoveStringLiteralDfa3_0(active0, 0L, active1, 0x8L); 347 case 71: 348 if ((active0 & 0x200000000L) != 0L) 349 { 350 jjmatchedKind = 33; 351 jjmatchedPos = 2; 352 } 353 break; 354 case 73: 355 return jjMoveStringLiteralDfa3_0(active0, 0x80000080000L, active1, 0x40L); 356 case 74: 357 return jjMoveStringLiteralDfa3_0(active0, 0L, active1, 0x400L); 358 case 75: 359 return jjMoveStringLiteralDfa3_0(active0, 0x20000000L, active1, 0L); 360 case 76: 361 if ((active0 & 0x20000L) != 0L) 362 { 363 jjmatchedKind = 17; 364 jjmatchedPos = 2; 365 } 366 return jjMoveStringLiteralDfa3_0(active0, 0x4400000100000000L, active1, 0L); 367 case 77: 368 if ((active0 & 0x1000000000L) != 0L) 369 { 370 jjmatchedKind = 36; 371 jjmatchedPos = 2; 372 } 373 return jjMoveStringLiteralDfa3_0(active0, 0x8100000L, active1, 0L); 374 case 78: 375 if ((active0 & 0x400000000L) != 0L) 376 { 377 jjmatchedKind = 34; 378 jjmatchedPos = 2; 379 } 380 return jjMoveStringLiteralDfa3_0(active0, 0x2020000000000L, active1, 0x20L); 381 case 79: 382 return jjMoveStringLiteralDfa3_0(active0, 0x1000000000000000L, active1, 0x1L); 383 case 80: 384 return jjMoveStringLiteralDfa3_0(active0, 0x200000200000L, active1, 0L); 385 case 82: 386 return jjMoveStringLiteralDfa3_0(active0, 0x390000000000000L, active1, 0L); 387 case 83: 388 if ((active0 & 0x8000000000000L) != 0L) 389 { 390 jjmatchedKind = 51; 391 jjmatchedPos = 2; 392 } 393 return jjMoveStringLiteralDfa3_0(active0, 0x800000000800000L, active1, 0L); 394 case 84: 395 if ((active0 & 0x10000000000L) != 0L) 396 { 397 jjmatchedKind = 40; 398 jjmatchedPos = 2; 399 } 400 else if ((active1 & 0x200L) != 0L) 401 { 402 jjmatchedKind = 73; 403 jjmatchedPos = 2; 404 } 405 return jjMoveStringLiteralDfa3_0(active0, 0x1000080000000L, active1, 0x90L); 406 case 85: 407 return jjMoveStringLiteralDfa3_0(active0, 0x2000000000L, active1, 0L); 408 case 86: 409 return jjMoveStringLiteralDfa3_0(active0, 0L, active1, 0x2L); 410 case 87: 411 if ((active0 & 0x10000L) != 0L) 412 { 413 jjmatchedKind = 16; 414 jjmatchedPos = 2; 415 } 416 return jjMoveStringLiteralDfa3_0(active0, 0x100000000000L, active1, 0L); 417 case 88: 418 if ((active0 & 0x800000000L) != 0L) 419 { 420 jjmatchedKind = 35; 421 jjmatchedPos = 2; 422 } 423 break; 424 case 89: 425 if ((active0 & 0x40000L) != 0L) 426 { 427 jjmatchedKind = 18; 428 jjmatchedPos = 2; 429 } 430 break; 431 case 90: 432 return jjMoveStringLiteralDfa3_0(active0, 0x40000000000000L, active1, 0L); 433 case 97: 434 return jjMoveStringLiteralDfa3_0(active0, 0xc00000000000L, active1, 0L); 435 case 98: 436 return jjMoveStringLiteralDfa3_0(active0, 0x40000000000L, active1, 0L); 437 case 99: 438 if ((active0 & 0x400000L) != 0L) 439 { 440 jjmatchedKind = 22; 441 jjmatchedPos = 2; 442 } 443 return jjMoveStringLiteralDfa3_0(active0, 0x4000040000000L, active1, 0L); 444 case 100: 445 if ((active0 & 0x8000000000L) != 0L) 446 { 447 jjmatchedKind = 39; 448 jjmatchedPos = 2; 449 } 450 else if ((active0 & 0x20000000000000L) != 0L) 451 { 452 jjmatchedKind = 53; 453 jjmatchedPos = 2; 454 } 455 return jjMoveStringLiteralDfa3_0(active0, 0x2000000001000000L, active1, 0L); 456 case 101: 457 return jjMoveStringLiteralDfa3_0(active0, 0x8000000000000000L, active1, 0L); 458 case 102: 459 return jjMoveStringLiteralDfa3_0(active0, 0L, active1, 0x8L); 460 case 103: 461 if ((active0 & 0x200000000L) != 0L) 462 { 463 jjmatchedKind = 33; 464 jjmatchedPos = 2; 465 } 466 break; 467 case 105: 468 return jjMoveStringLiteralDfa3_0(active0, 0x80000080000L, active1, 0x40L); 469 case 106: 470 return jjMoveStringLiteralDfa3_0(active0, 0L, active1, 0x400L); 471 case 107: 472 return jjMoveStringLiteralDfa3_0(active0, 0x20000000L, active1, 0L); 473 case 108: 474 if ((active0 & 0x20000L) != 0L) 475 { 476 jjmatchedKind = 17; 477 jjmatchedPos = 2; 478 } 479 return jjMoveStringLiteralDfa3_0(active0, 0x4400000100000000L, active1, 0L); 480 case 109: 481 if ((active0 & 0x1000000000L) != 0L) 482 { 483 jjmatchedKind = 36; 484 jjmatchedPos = 2; 485 } 486 return jjMoveStringLiteralDfa3_0(active0, 0x8100000L, active1, 0L); 487 case 110: 488 if ((active0 & 0x400000000L) != 0L) 489 { 490 jjmatchedKind = 34; 491 jjmatchedPos = 2; 492 } 493 return jjMoveStringLiteralDfa3_0(active0, 0x2020000000000L, active1, 0x20L); 494 case 111: 495 return jjMoveStringLiteralDfa3_0(active0, 0x1000000000000000L, active1, 0x1L); 496 case 112: 497 return jjMoveStringLiteralDfa3_0(active0, 0x200000200000L, active1, 0L); 498 case 114: 499 return jjMoveStringLiteralDfa3_0(active0, 0x390000000000000L, active1, 0L); 500 case 115: 501 if ((active0 & 0x8000000000000L) != 0L) 502 { 503 jjmatchedKind = 51; 504 jjmatchedPos = 2; 505 } 506 return jjMoveStringLiteralDfa3_0(active0, 0x800000000800000L, active1, 0L); 507 case 116: 508 if ((active0 & 0x10000000000L) != 0L) 509 { 510 jjmatchedKind = 40; 511 jjmatchedPos = 2; 512 } 513 else if ((active1 & 0x200L) != 0L) 514 { 515 jjmatchedKind = 73; 516 jjmatchedPos = 2; 517 } 518 return jjMoveStringLiteralDfa3_0(active0, 0x1000080000000L, active1, 0x90L); 519 case 117: 520 return jjMoveStringLiteralDfa3_0(active0, 0x2000000000L, active1, 0L); 521 case 118: 522 return jjMoveStringLiteralDfa3_0(active0, 0L, active1, 0x2L); 523 case 119: 524 if ((active0 & 0x10000L) != 0L) 525 { 526 jjmatchedKind = 16; 527 jjmatchedPos = 2; 528 } 529 return jjMoveStringLiteralDfa3_0(active0, 0x100000000000L, active1, 0L); 530 case 120: 531 if ((active0 & 0x800000000L) != 0L) 532 { 533 jjmatchedKind = 35; 534 jjmatchedPos = 2; 535 } 536 break; 537 case 121: 538 if ((active0 & 0x40000L) != 0L) 539 { 540 jjmatchedKind = 18; 541 jjmatchedPos = 2; 542 } 543 break; 544 case 122: 545 return jjMoveStringLiteralDfa3_0(active0, 0x40000000000000L, active1, 0L); 546 default : 547 break; 548 } 549 return jjMoveNfa_0(9, 2); 550 } 551 private final int jjMoveStringLiteralDfa3_0(long old0, long active0, long old1, long active1) 552 { 553 if (((active0 &= old0) | (active1 &= old1)) == 0L) 554 return jjMoveNfa_0(9, 2); 555 try { curChar = input_stream.readChar(); } 556 catch(java.io.IOException e) { 557 return jjMoveNfa_0(9, 2); 558 } 559 switch(curChar) 560 { 561 case 65: 562 return jjMoveStringLiteralDfa4_0(active0, 0x2004000040000000L, active1, 0L); 563 case 66: 564 return jjMoveStringLiteralDfa4_0(active0, 0x8000000L, active1, 0L); 565 case 67: 566 if ((active0 & 0x800000L) != 0L) 567 { 568 jjmatchedKind = 23; 569 jjmatchedPos = 3; 570 } 571 return jjMoveStringLiteralDfa4_0(active0, 0x20000000000L, active1, 0x80L); 572 case 68: 573 return jjMoveStringLiteralDfa4_0(active0, 0x400000000000L, active1, 0L); 574 case 69: 575 if ((active0 & 0x100000L) != 0L) 576 { 577 jjmatchedKind = 20; 578 jjmatchedPos = 3; 579 } 580 else if ((active0 & 0x20000000L) != 0L) 581 { 582 jjmatchedKind = 29; 583 jjmatchedPos = 3; 584 } 585 else if ((active0 & 0x40000000000000L) != 0L) 586 { 587 jjmatchedKind = 54; 588 jjmatchedPos = 3; 589 } 590 return jjMoveStringLiteralDfa4_0(active0, 0x4400300001000000L, active1, 0x430L); 591 case 71: 592 return jjMoveStringLiteralDfa4_0(active0, 0x2000000000000L, active1, 0L); 593 case 72: 594 if ((active0 & 0x1000000000000L) != 0L) 595 { 596 jjmatchedKind = 48; 597 jjmatchedPos = 3; 598 } 599 break; 600 case 73: 601 return jjMoveStringLiteralDfa4_0(active0, 0x800000000000L, active1, 0x2L); 602 case 76: 603 if ((active0 & 0x100000000L) != 0L) 604 { 605 jjmatchedKind = 32; 606 jjmatchedPos = 3; 607 } 608 break; 609 case 77: 610 if ((active0 & 0x80000000000L) != 0L) 611 { 612 jjmatchedKind = 43; 613 jjmatchedPos = 3; 614 } 615 else if ((active0 & 0x1000000000000000L) != 0L) 616 { 617 jjmatchedKind = 60; 618 jjmatchedPos = 3; 619 } 620 break; 621 case 78: 622 if ((active1 & 0x40L) != 0L) 623 { 624 jjmatchedKind = 70; 625 jjmatchedPos = 3; 626 } 627 return jjMoveStringLiteralDfa4_0(active0, 0x2000000000L, active1, 0L); 628 case 82: 629 return jjMoveStringLiteralDfa4_0(active0, 0x8380000000000000L, active1, 0L); 630 case 83: 631 return jjMoveStringLiteralDfa4_0(active0, 0x40000080000L, active1, 0L); 632 case 84: 633 if ((active0 & 0x10000000000000L) != 0L) 634 { 635 jjmatchedKind = 52; 636 jjmatchedPos = 3; 637 } 638 else if ((active1 & 0x8L) != 0L) 639 { 640 jjmatchedKind = 67; 641 jjmatchedPos = 3; 642 } 643 return jjMoveStringLiteralDfa4_0(active0, 0x800000000200000L, active1, 0L); 644 case 85: 645 return jjMoveStringLiteralDfa4_0(active0, 0L, active1, 0x1L); 646 case 87: 647 return jjMoveStringLiteralDfa4_0(active0, 0x80000000L, active1, 0L); 648 case 97: 649 return jjMoveStringLiteralDfa4_0(active0, 0x2004000040000000L, active1, 0L); 650 case 98: 651 return jjMoveStringLiteralDfa4_0(active0, 0x8000000L, active1, 0L); 652 case 99: 653 if ((active0 & 0x800000L) != 0L) 654 { 655 jjmatchedKind = 23; 656 jjmatchedPos = 3; 657 } 658 return jjMoveStringLiteralDfa4_0(active0, 0x20000000000L, active1, 0x80L); 659 case 100: 660 return jjMoveStringLiteralDfa4_0(active0, 0x400000000000L, active1, 0L); 661 case 101: 662 if ((active0 & 0x100000L) != 0L) 663 { 664 jjmatchedKind = 20; 665 jjmatchedPos = 3; 666 } 667 else if ((active0 & 0x20000000L) != 0L) 668 { 669 jjmatchedKind = 29; 670 jjmatchedPos = 3; 671 } 672 else if ((active0 & 0x40000000000000L) != 0L) 673 { 674 jjmatchedKind = 54; 675 jjmatchedPos = 3; 676 } 677 return jjMoveStringLiteralDfa4_0(active0, 0x4400300001000000L, active1, 0x430L); 678 case 103: 679 return jjMoveStringLiteralDfa4_0(active0, 0x2000000000000L, active1, 0L); 680 case 104: 681 if ((active0 & 0x1000000000000L) != 0L) 682 { 683 jjmatchedKind = 48; 684 jjmatchedPos = 3; 685 } 686 break; 687 case 105: 688 return jjMoveStringLiteralDfa4_0(active0, 0x800000000000L, active1, 0x2L); 689 case 108: 690 if ((active0 & 0x100000000L) != 0L) 691 { 692 jjmatchedKind = 32; 693 jjmatchedPos = 3; 694 } 695 break; 696 case 109: 697 if ((active0 & 0x80000000000L) != 0L) 698 { 699 jjmatchedKind = 43; 700 jjmatchedPos = 3; 701 } 702 else if ((active0 & 0x1000000000000000L) != 0L) 703 { 704 jjmatchedKind = 60; 705 jjmatchedPos = 3; 706 } 707 break; 708 case 110: 709 if ((active1 & 0x40L) != 0L) 710 { 711 jjmatchedKind = 70; 712 jjmatchedPos = 3; 713 } 714 return jjMoveStringLiteralDfa4_0(active0, 0x2000000000L, active1, 0L); 715 case 114: 716 return jjMoveStringLiteralDfa4_0(active0, 0x8380000000000000L, active1, 0L); 717 case 115: 718 return jjMoveStringLiteralDfa4_0(active0, 0x40000080000L, active1, 0L); 719 case 116: 720 if ((active0 & 0x10000000000000L) != 0L) 721 { 722 jjmatchedKind = 52; 723 jjmatchedPos = 3; 724 } 725 else if ((active1 & 0x8L) != 0L) 726 { 727 jjmatchedKind = 67; 728 jjmatchedPos = 3; 729 } 730 return jjMoveStringLiteralDfa4_0(active0, 0x800000000200000L, active1, 0L); 731 case 117: 732 return jjMoveStringLiteralDfa4_0(active0, 0L, active1, 0x1L); 733 case 119: 734 return jjMoveStringLiteralDfa4_0(active0, 0x80000000L, active1, 0L); 735 default : 736 break; 737 } 738 return jjMoveNfa_0(9, 3); 739 } 740 private final int jjMoveStringLiteralDfa4_0(long old0, long active0, long old1, long active1) 741 { 742 if (((active0 &= old0) | (active1 &= old1)) == 0L) 743 return jjMoveNfa_0(9, 3); 744 try { curChar = input_stream.readChar(); } 745 catch(java.io.IOException e) { 746 return jjMoveNfa_0(9, 3); 747 } 748 switch(curChar) 749 { 750 case 65: 751 return jjMoveStringLiteralDfa5_0(active0, 0x20000000000L, active1, 0L); 752 case 67: 753 return jjMoveStringLiteralDfa5_0(active0, 0x400000000000000L, active1, 0x400L); 754 case 69: 755 if ((active0 & 0x8000000000000000L) != 0L) 756 { 757 jjmatchedKind = 63; 758 jjmatchedPos = 4; 759 } 760 return jjMoveStringLiteralDfa5_0(active0, 0x380000088000000L, active1, 0L); 761 case 72: 762 if ((active1 & 0x80L) != 0L) 763 { 764 jjmatchedKind = 71; 765 jjmatchedPos = 4; 766 } 767 break; 768 case 73: 769 return jjMoveStringLiteralDfa5_0(active0, 0x800400000000000L, active1, 0L); 770 case 76: 771 return jjMoveStringLiteralDfa5_0(active0, 0x800000000000L, active1, 0L); 772 case 78: 773 return jjMoveStringLiteralDfa5_0(active0, 0L, active1, 0x2L); 774 case 80: 775 if ((active1 & 0x1L) != 0L) 776 { 777 jjmatchedKind = 64; 778 jjmatchedPos = 4; 779 } 780 return jjMoveStringLiteralDfa5_0(active0, 0x40000000L, active1, 0L); 781 case 82: 782 if ((active0 & 0x1000000L) != 0L) 783 { 784 jjmatchedKind = 24; 785 jjmatchedPos = 4; 786 } 787 else if ((active0 & 0x100000000000L) != 0L) 788 { 789 jjmatchedKind = 44; 790 jjmatchedPos = 4; 791 } 792 else if ((active0 & 0x200000000000L) != 0L) 793 { 794 jjmatchedKind = 45; 795 jjmatchedPos = 4; 796 } 797 else if ((active1 & 0x10L) != 0L) 798 { 799 jjmatchedKind = 68; 800 jjmatchedPos = 4; 801 } 802 else if ((active1 & 0x20L) != 0L) 803 { 804 jjmatchedKind = 69; 805 jjmatchedPos = 4; 806 } 807 break; 808 case 84: 809 if ((active0 & 0x2000000000L) != 0L) 810 { 811 jjmatchedKind = 37; 812 jjmatchedPos = 4; 813 } 814 return jjMoveStringLiteralDfa5_0(active0, 0x6006040000080000L, active1, 0L); 815 case 89: 816 if ((active0 & 0x200000L) != 0L) 817 { 818 jjmatchedKind = 21; 819 jjmatchedPos = 4; 820 } 821 break; 822 case 97: 823 return jjMoveStringLiteralDfa5_0(active0, 0x20000000000L, active1, 0L); 824 case 99: 825 return jjMoveStringLiteralDfa5_0(active0, 0x400000000000000L, active1, 0x400L); 826 case 101: 827 if ((active0 & 0x8000000000000000L) != 0L) 828 { 829 jjmatchedKind = 63; 830 jjmatchedPos = 4; 831 } 832 return jjMoveStringLiteralDfa5_0(active0, 0x380000088000000L, active1, 0L); 833 case 104: 834 if ((active1 & 0x80L) != 0L) 835 { 836 jjmatchedKind = 71; 837 jjmatchedPos = 4; 838 } 839 break; 840 case 105: 841 return jjMoveStringLiteralDfa5_0(active0, 0x800400000000000L, active1, 0L); 842 case 108: 843 return jjMoveStringLiteralDfa5_0(active0, 0x800000000000L, active1, 0L); 844 case 110: 845 return jjMoveStringLiteralDfa5_0(active0, 0L, active1, 0x2L); 846 case 112: 847 if ((active1 & 0x1L) != 0L) 848 { 849 jjmatchedKind = 64; 850 jjmatchedPos = 4; 851 } 852 return jjMoveStringLiteralDfa5_0(active0, 0x40000000L, active1, 0L); 853 case 114: 854 if ((active0 & 0x1000000L) != 0L) 855 { 856 jjmatchedKind = 24; 857 jjmatchedPos = 4; 858 } 859 else if ((active0 & 0x100000000000L) != 0L) 860 { 861 jjmatchedKind = 44; 862 jjmatchedPos = 4; 863 } 864 else if ((active0 & 0x200000000000L) != 0L) 865 { 866 jjmatchedKind = 45; 867 jjmatchedPos = 4; 868 } 869 else if ((active1 & 0x10L) != 0L) 870 { 871 jjmatchedKind = 68; 872 jjmatchedPos = 4; 873 } 874 else if ((active1 & 0x20L) != 0L) 875 { 876 jjmatchedKind = 69; 877 jjmatchedPos = 4; 878 } 879 break; 880 case 116: 881 if ((active0 & 0x2000000000L) != 0L) 882 { 883 jjmatchedKind = 37; 884 jjmatchedPos = 4; 885 } 886 return jjMoveStringLiteralDfa5_0(active0, 0x6006040000080000L, active1, 0L); 887 case 121: 888 if ((active0 & 0x200000L) != 0L) 889 { 890 jjmatchedKind = 21; 891 jjmatchedPos = 4; 892 } 893 break; 894 default : 895 break; 896 } 897 return jjMoveNfa_0(9, 4); 898 } 899 private final int jjMoveStringLiteralDfa5_0(long old0, long active0, long old1, long active1) 900 { 901 if (((active0 &= old0) | (active1 &= old1)) == 0L) 902 return jjMoveNfa_0(9, 4); 903 try { curChar = input_stream.readChar(); } 904 catch(java.io.IOException e) { 905 return jjMoveNfa_0(9, 4); 906 } 907 switch(curChar) 908 { 909 case 69: 910 if ((active0 & 0x40000000L) != 0L) 911 { 912 jjmatchedKind = 30; 913 jjmatchedPos = 5; 914 } 915 else if ((active0 & 0x4000000000000L) != 0L) 916 { 917 jjmatchedKind = 50; 918 jjmatchedPos = 5; 919 } 920 else if ((active0 & 0x2000000000000000L) != 0L) 921 { 922 jjmatchedKind = 61; 923 jjmatchedPos = 5; 924 } 925 else if ((active0 & 0x4000000000000000L) != 0L) 926 { 927 jjmatchedKind = 62; 928 jjmatchedPos = 5; 929 } 930 return jjMoveStringLiteralDfa6_0(active0, 0x80000000L, active1, 0L); 931 case 71: 932 if ((active1 & 0x2L) != 0L) 933 { 934 jjmatchedKind = 65; 935 jjmatchedPos = 5; 936 } 937 break; 938 case 72: 939 if ((active0 & 0x2000000000000L) != 0L) 940 { 941 jjmatchedKind = 49; 942 jjmatchedPos = 5; 943 } 944 break; 945 case 73: 946 return jjMoveStringLiteralDfa6_0(active0, 0x800000000000L, active1, 0L); 947 case 78: 948 return jjMoveStringLiteralDfa6_0(active0, 0xb80400000000000L, active1, 0L); 949 case 82: 950 if ((active0 & 0x8000000L) != 0L) 951 { 952 jjmatchedKind = 27; 953 jjmatchedPos = 5; 954 } 955 return jjMoveStringLiteralDfa6_0(active0, 0x40000000000L, active1, 0L); 956 case 83: 957 if ((active0 & 0x80000L) != 0L) 958 { 959 jjmatchedKind = 19; 960 jjmatchedPos = 5; 961 } 962 break; 963 case 84: 964 if ((active0 & 0x20000000000L) != 0L) 965 { 966 jjmatchedKind = 41; 967 jjmatchedPos = 5; 968 } 969 else if ((active0 & 0x400000000000000L) != 0L) 970 { 971 jjmatchedKind = 58; 972 jjmatchedPos = 5; 973 } 974 else if ((active1 & 0x400L) != 0L) 975 { 976 jjmatchedKind = 74; 977 jjmatchedPos = 5; 978 } 979 break; 980 case 101: 981 if ((active0 & 0x40000000L) != 0L) 982 { 983 jjmatchedKind = 30; 984 jjmatchedPos = 5; 985 } 986 else if ((active0 & 0x4000000000000L) != 0L) 987 { 988 jjmatchedKind = 50; 989 jjmatchedPos = 5; 990 } 991 else if ((active0 & 0x2000000000000000L) != 0L) 992 { 993 jjmatchedKind = 61; 994 jjmatchedPos = 5; 995 } 996 else if ((active0 & 0x4000000000000000L) != 0L) 997 { 998 jjmatchedKind = 62; 999 jjmatchedPos = 5; 1000 } 1001 return jjMoveStringLiteralDfa6_0(active0, 0x80000000L, active1, 0L); 1002 case 103: 1003 if ((active1 & 0x2L) != 0L) 1004 { 1005 jjmatchedKind = 65; 1006 jjmatchedPos = 5; 1007 } 1008 break; 1009 case 104: 1010 if ((active0 & 0x2000000000000L) != 0L) 1011 { 1012 jjmatchedKind = 49; 1013 jjmatchedPos = 5; 1014 } 1015 break; 1016 case 105: 1017 return jjMoveStringLiteralDfa6_0(active0, 0x800000000000L, active1, 0L); 1018 case 110: 1019 return jjMoveStringLiteralDfa6_0(active0, 0xb80400000000000L, active1, 0L); 1020 case 114: 1021 if ((active0 & 0x8000000L) != 0L) 1022 { 1023 jjmatchedKind = 27; 1024 jjmatchedPos = 5; 1025 } 1026 return jjMoveStringLiteralDfa6_0(active0, 0x40000000000L, active1, 0L); 1027 case 115: 1028 if ((active0 & 0x80000L) != 0L) 1029 { 1030 jjmatchedKind = 19; 1031 jjmatchedPos = 5; 1032 } 1033 break; 1034 case 116: 1035 if ((active0 & 0x20000000000L) != 0L) 1036 { 1037 jjmatchedKind = 41; 1038 jjmatchedPos = 5; 1039 } 1040 else if ((active0 & 0x400000000000000L) != 0L) 1041 { 1042 jjmatchedKind = 58; 1043 jjmatchedPos = 5; 1044 } 1045 else if ((active1 & 0x400L) != 0L) 1046 { 1047 jjmatchedKind = 74; 1048 jjmatchedPos = 5; 1049 } 1050 break; 1051 default : 1052 break; 1053 } 1054 return jjMoveNfa_0(9, 5); 1055} 1056private final int jjMoveStringLiteralDfa6_0(long old0, long active0, long old1, long active1) 1057{ 1058 if (((active0 &= old0) | (active1 &= old1)) == 0L) 1059 return jjMoveNfa_0(9, 5); 1060 try { curChar = input_stream.readChar(); } 1061 catch(java.io.IOException e) { 1062 return jjMoveNfa_0(9, 5); 1063 } 1064 switch(curChar) 1065 { 1066 case 67: 1067 return jjMoveStringLiteralDfa7_0(active0, 0x800000000000000L); 1068 case 71: 1069 if ((active0 & 0x400000000000L) != 0L) 1070 { 1071 jjmatchedKind = 46; 1072 jjmatchedPos = 6; 1073 } 1074 break; 1075 case 73: 1076 return jjMoveStringLiteralDfa7_0(active0, 0x40000000000L); 1077 case 78: 1078 if ((active0 & 0x80000000L) != 0L) 1079 { 1080 jjmatchedKind = 31; 1081 jjmatchedPos = 6; 1082 } 1083 return jjMoveStringLiteralDfa7_0(active0, 0x800000000000L); 1084 case 84: 1085 return jjMoveStringLiteralDfa7_0(active0, 0x380000000000000L); 1086 case 99: 1087 return jjMoveStringLiteralDfa7_0(active0, 0x800000000000000L); 1088 case 103: 1089 if ((active0 & 0x400000000000L) != 0L) 1090 { 1091 jjmatchedKind = 46; 1092 jjmatchedPos = 6; 1093 } 1094 break; 1095 case 105: 1096 return jjMoveStringLiteralDfa7_0(active0, 0x40000000000L); 1097 case 110: 1098 if ((active0 & 0x80000000L) != 0L) 1099 { 1100 jjmatchedKind = 31; 1101 jjmatchedPos = 6; 1102 } 1103 return jjMoveStringLiteralDfa7_0(active0, 0x800000000000L); 1104 case 116: 1105 return jjMoveStringLiteralDfa7_0(active0, 0x380000000000000L); 1106 default : 1107 break; 1108 } 1109 return jjMoveNfa_0(9, 6); 1110} 1111private final int jjMoveStringLiteralDfa7_0(long old0, long active0) 1112{ 1113 if (((active0 &= old0)) == 0L) 1114 return jjMoveNfa_0(9, 6); 1115 try { curChar = input_stream.readChar(); } 1116 catch(java.io.IOException e) { 1117 return jjMoveNfa_0(9, 6); 1118 } 1119 switch(curChar) 1120 { 1121 case 71: 1122 if ((active0 & 0x800000000000L) != 0L) 1123 { 1124 jjmatchedKind = 47; 1125 jjmatchedPos = 7; 1126 } 1127 break; 1128 case 78: 1129 return jjMoveStringLiteralDfa8_0(active0, 0x40000000000L); 1130 case 84: 1131 if ((active0 & 0x800000000000000L) != 0L) 1132 { 1133 jjmatchedKind = 59; 1134 jjmatchedPos = 7; 1135 } 1136 break; 1137 case 95: 1138 return jjMoveStringLiteralDfa8_0(active0, 0x380000000000000L); 1139 case 103: 1140 if ((active0 & 0x800000000000L) != 0L) 1141 { 1142 jjmatchedKind = 47; 1143 jjmatchedPos = 7; 1144 } 1145 break; 1146 case 110: 1147 return jjMoveStringLiteralDfa8_0(active0, 0x40000000000L); 1148 case 116: 1149 if ((active0 & 0x800000000000000L) != 0L) 1150 { 1151 jjmatchedKind = 59; 1152 jjmatchedPos = 7; 1153 } 1154 break; 1155 default : 1156 break; 1157 } 1158 return jjMoveNfa_0(9, 7); 1159} 1160private final int jjMoveStringLiteralDfa8_0(long old0, long active0) 1161{ 1162 if (((active0 &= old0)) == 0L) 1163 return jjMoveNfa_0(9, 7); 1164 try { curChar = input_stream.readChar(); } 1165 catch(java.io.IOException e) { 1166 return jjMoveNfa_0(9, 7); 1167 } 1168 switch(curChar) 1169 { 1170 case 68: 1171 return jjMoveStringLiteralDfa9_0(active0, 0x80000000000000L); 1172 case 71: 1173 if ((active0 & 0x40000000000L) != 0L) 1174 { 1175 jjmatchedKind = 42; 1176 jjmatchedPos = 8; 1177 } 1178 break; 1179 case 84: 1180 return jjMoveStringLiteralDfa9_0(active0, 0x300000000000000L); 1181 case 100: 1182 return jjMoveStringLiteralDfa9_0(active0, 0x80000000000000L); 1183 case 103: 1184 if ((active0 & 0x40000000000L) != 0L) 1185 { 1186 jjmatchedKind = 42; 1187 jjmatchedPos = 8; 1188 } 1189 break; 1190 case 116: 1191 return jjMoveStringLiteralDfa9_0(active0, 0x300000000000000L); 1192 default : 1193 break; 1194 } 1195 return jjMoveNfa_0(9, 8); 1196} 1197private final int jjMoveStringLiteralDfa9_0(long old0, long active0) 1198{ 1199 if (((active0 &= old0)) == 0L) 1200 return jjMoveNfa_0(9, 8); 1201 try { curChar = input_stream.readChar(); } 1202 catch(java.io.IOException e) { 1203 return jjMoveNfa_0(9, 8); 1204 } 1205 switch(curChar) 1206 { 1207 case 65: 1208 return jjMoveStringLiteralDfa10_0(active0, 0x80000000000000L); 1209 case 73: 1210 return jjMoveStringLiteralDfa10_0(active0, 0x300000000000000L); 1211 case 97: 1212 return jjMoveStringLiteralDfa10_0(active0, 0x80000000000000L); 1213 case 105: 1214 return jjMoveStringLiteralDfa10_0(active0, 0x300000000000000L); 1215 default : 1216 break; 1217 } 1218 return jjMoveNfa_0(9, 9); 1219} 1220private final int jjMoveStringLiteralDfa10_0(long old0, long active0) 1221{ 1222 if (((active0 &= old0)) == 0L) 1223 return jjMoveNfa_0(9, 9); 1224 try { curChar = input_stream.readChar(); } 1225 catch(java.io.IOException e) { 1226 return jjMoveNfa_0(9, 9); 1227 } 1228 switch(curChar) 1229 { 1230 case 77: 1231 return jjMoveStringLiteralDfa11_0(active0, 0x300000000000000L); 1232 case 84: 1233 return jjMoveStringLiteralDfa11_0(active0, 0x80000000000000L); 1234 case 109: 1235 return jjMoveStringLiteralDfa11_0(active0, 0x300000000000000L); 1236 case 116: 1237 return jjMoveStringLiteralDfa11_0(active0, 0x80000000000000L); 1238 default : 1239 break; 1240 } 1241 return jjMoveNfa_0(9, 10); 1242} 1243private final int jjMoveStringLiteralDfa11_0(long old0, long active0) 1244{ 1245 if (((active0 &= old0)) == 0L) 1246 return jjMoveNfa_0(9, 10); 1247 try { curChar = input_stream.readChar(); } 1248 catch(java.io.IOException e) { 1249 return jjMoveNfa_0(9, 10); 1250 } 1251 switch(curChar) 1252 { 1253 case 69: 1254 if ((active0 & 0x80000000000000L) != 0L) 1255 { 1256 jjmatchedKind = 55; 1257 jjmatchedPos = 11; 1258 } 1259 else if ((active0 & 0x100000000000000L) != 0L) 1260 { 1261 jjmatchedKind = 56; 1262 jjmatchedPos = 11; 1263 } 1264 return jjMoveStringLiteralDfa12_0(active0, 0x200000000000000L); 1265 case 101: 1266 if ((active0 & 0x80000000000000L) != 0L) 1267 { 1268 jjmatchedKind = 55; 1269 jjmatchedPos = 11; 1270 } 1271 else if ((active0 & 0x100000000000000L) != 0L) 1272 { 1273 jjmatchedKind = 56; 1274 jjmatchedPos = 11; 1275 } 1276 return jjMoveStringLiteralDfa12_0(active0, 0x200000000000000L); 1277 default : 1278 break; 1279 } 1280 return jjMoveNfa_0(9, 11); 1281} 1282private final int jjMoveStringLiteralDfa12_0(long old0, long active0) 1283{ 1284 if (((active0 &= old0)) == 0L) 1285 return jjMoveNfa_0(9, 11); 1286 try { curChar = input_stream.readChar(); } 1287 catch(java.io.IOException e) { 1288 return jjMoveNfa_0(9, 11); 1289 } 1290 switch(curChar) 1291 { 1292 case 83: 1293 return jjMoveStringLiteralDfa13_0(active0, 0x200000000000000L); 1294 case 115: 1295 return jjMoveStringLiteralDfa13_0(active0, 0x200000000000000L); 1296 default : 1297 break; 1298 } 1299 return jjMoveNfa_0(9, 12); 1300} 1301private final int jjMoveStringLiteralDfa13_0(long old0, long active0) 1302{ 1303 if (((active0 &= old0)) == 0L) 1304 return jjMoveNfa_0(9, 12); 1305 try { curChar = input_stream.readChar(); } 1306 catch(java.io.IOException e) { 1307 return jjMoveNfa_0(9, 12); 1308 } 1309 switch(curChar) 1310 { 1311 case 84: 1312 return jjMoveStringLiteralDfa14_0(active0, 0x200000000000000L); 1313 case 116: 1314 return jjMoveStringLiteralDfa14_0(active0, 0x200000000000000L); 1315 default : 1316 break; 1317 } 1318 return jjMoveNfa_0(9, 13); 1319} 1320private final int jjMoveStringLiteralDfa14_0(long old0, long active0) 1321{ 1322 if (((active0 &= old0)) == 0L) 1323 return jjMoveNfa_0(9, 13); 1324 try { curChar = input_stream.readChar(); } 1325 catch(java.io.IOException e) { 1326 return jjMoveNfa_0(9, 13); 1327 } 1328 switch(curChar) 1329 { 1330 case 65: 1331 return jjMoveStringLiteralDfa15_0(active0, 0x200000000000000L); 1332 case 97: 1333 return jjMoveStringLiteralDfa15_0(active0, 0x200000000000000L); 1334 default : 1335 break; 1336 } 1337 return jjMoveNfa_0(9, 14); 1338} 1339private final int jjMoveStringLiteralDfa15_0(long old0, long active0) 1340{ 1341 if (((active0 &= old0)) == 0L) 1342 return jjMoveNfa_0(9, 14); 1343 try { curChar = input_stream.readChar(); } 1344 catch(java.io.IOException e) { 1345 return jjMoveNfa_0(9, 14); 1346 } 1347 switch(curChar) 1348 { 1349 case 77: 1350 return jjMoveStringLiteralDfa16_0(active0, 0x200000000000000L); 1351 case 109: 1352 return jjMoveStringLiteralDfa16_0(active0, 0x200000000000000L); 1353 default : 1354 break; 1355 } 1356 return jjMoveNfa_0(9, 15); 1357} 1358private final int jjMoveStringLiteralDfa16_0(long old0, long active0) 1359{ 1360 if (((active0 &= old0)) == 0L) 1361 return jjMoveNfa_0(9, 15); 1362 try { curChar = input_stream.readChar(); } 1363 catch(java.io.IOException e) { 1364 return jjMoveNfa_0(9, 15); 1365 } 1366 switch(curChar) 1367 { 1368 case 80: 1369 if ((active0 & 0x200000000000000L) != 0L) 1370 { 1371 jjmatchedKind = 57; 1372 jjmatchedPos = 16; 1373 } 1374 break; 1375 case 112: 1376 if ((active0 & 0x200000000000000L) != 0L) 1377 { 1378 jjmatchedKind = 57; 1379 jjmatchedPos = 16; 1380 } 1381 break; 1382 default : 1383 break; 1384 } 1385 return jjMoveNfa_0(9, 16); 1386} 1387private final void jjCheckNAdd(int state) 1388{ 1389 if (jjrounds[state] != jjround) 1390 { 1391 jjstateSet[jjnewStateCnt++] = state; 1392 jjrounds[state] = jjround; 1393 } 1394} 1395private final void jjAddStates(int start, int end) 1396{ 1397 do { 1398 jjstateSet[jjnewStateCnt++] = jjnextStates[start]; 1399 } while (start++ != end); 1400} 1401private final void jjCheckNAddTwoStates(int state1, int state2) 1402{ 1403 jjCheckNAdd(state1); 1404 jjCheckNAdd(state2); 1405} 1406private final void jjCheckNAddStates(int start, int end) 1407{ 1408 do { 1409 jjCheckNAdd(jjnextStates[start]); 1410 } while (start++ != end); 1411} 1412private final void jjCheckNAddStates(int start) 1413{ 1414 jjCheckNAdd(jjnextStates[start]); 1415 jjCheckNAdd(jjnextStates[start + 1]); 1416} 1417static final long[] jjbitVec0 = { 1418 0x1ff00000fffffffeL, 0xffffffffffffc000L, 0xffffffffL, 0x600000000000000L 1419}; 1420static final long[] jjbitVec2 = { 1421 0x0L, 0x0L, 0x0L, 0xff7fffffff7fffffL 1422}; 1423static final long[] jjbitVec3 = { 1424 0x0L, 0xffffffffffffffffL, 0xffffffffffffffffL, 0xffffffffffffffffL 1425}; 1426static final long[] jjbitVec4 = { 1427 0xffffffffffffffffL, 0xffffffffffffffffL, 0xffffL, 0x0L 1428}; 1429static final long[] jjbitVec5 = { 1430 0xffffffffffffffffL, 0xffffffffffffffffL, 0x0L, 0x0L 1431}; 1432static final long[] jjbitVec6 = { 1433 0x3fffffffffffL, 0x0L, 0x0L, 0x0L 1434}; 1435static final long[] jjbitVec7 = { 1436 0xfffffffffffffffeL, 0xffffffffffffffffL, 0xffffffffffffffffL, 0xffffffffffffffffL 1437}; 1438static final long[] jjbitVec8 = { 1439 0x0L, 0x0L, 0xffffffffffffffffL, 0xffffffffffffffffL 1440}; 1441private final int jjMoveNfa_0(int startState, int curPos) 1442{ 1443 int strKind = jjmatchedKind; 1444 int strPos = jjmatchedPos; 1445 int seenUpto; 1446 input_stream.backup(seenUpto = curPos + 1); 1447 try { curChar = input_stream.readChar(); } 1448 catch(java.io.IOException e) { throw new Error ("Internal Error"); } 1449 curPos = 0; 1450 int[] nextStates; 1451 int startsAt = 0; 1452 jjnewStateCnt = 54; 1453 int i = 1; 1454 jjstateSet[0] = startState; 1455 int j, kind = 0x7fffffff; 1456 for (;;) 1457 { 1458 if (++jjround == 0x7fffffff) 1459 ReInitRounds(); 1460 if (curChar < 64) 1461 { 1462 long l = 1L << curChar; 1463 MatchLoop: do 1464 { 1465 switch(jjstateSet[--i]) 1466 { 1467 case 9: 1468 if ((0x3ff000000000000L & l) != 0L) 1469 { 1470 if (kind > 75) 1471 kind = 75; 1472 jjCheckNAddStates(0, 10); 1473 } 1474 else if (curChar == 39) 1475 jjCheckNAddStates(11, 15); 1476 else if (curChar == 36) 1477 { 1478 if (kind > 81) 1479 kind = 81; 1480 jjCheckNAdd(23); 1481 } 1482 else if (curChar == 46) 1483 jjCheckNAdd(1); 1484 break; 1485 case 0: 1486 if (curChar == 46) 1487 jjCheckNAdd(1); 1488 break; 1489 case 1: 1490 if ((0x3ff000000000000L & l) == 0L) 1491 break; 1492 if (kind > 76) 1493 kind = 76; 1494 jjCheckNAddStates(16, 18); 1495 break; 1496 case 3: 1497 if ((0x280000000000L & l) != 0L) 1498 jjCheckNAdd(4); 1499 break; 1500 case 4: 1501 if ((0x3ff000000000000L & l) == 0L) 1502 break; 1503 if (kind > 76) 1504 kind = 76; 1505 jjCheckNAddTwoStates(4, 5); 1506 break; 1507 case 22: 1508 if (curChar != 36) 1509 break; 1510 if (kind > 81) 1511 kind = 81; 1512 jjCheckNAdd(23); 1513 break; 1514 case 23: 1515 if ((0x3ff001000000000L & l) == 0L) 1516 break; 1517 if (kind > 81) 1518 kind = 81; 1519 jjCheckNAdd(23); 1520 break; 1521 case 24: 1522 if ((0x3ff000000000000L & l) == 0L) 1523 break; 1524 if (kind > 75) 1525 kind = 75; 1526 jjCheckNAddStates(0, 10); 1527 break; 1528 case 25: 1529 if ((0x3ff000000000000L & l) == 0L) 1530 break; 1531 if (kind > 75) 1532 kind = 75; 1533 jjCheckNAddTwoStates(25, 26); 1534 break; 1535 case 27: 1536 if ((0x3ff000000000000L & l) != 0L) 1537 jjCheckNAddTwoStates(27, 0); 1538 break; 1539 case 28: 1540 if ((0x3ff000000000000L & l) != 0L) 1541 jjCheckNAddTwoStates(28, 29); 1542 break; 1543 case 29: 1544 if (curChar != 46) 1545 break; 1546 if (kind > 76) 1547 kind = 76; 1548 jjCheckNAddTwoStates(30, 5); 1549 break; 1550 case 31: 1551 if ((0x280000000000L & l) != 0L) 1552 jjCheckNAdd(32); 1553 break; 1554 case 32: 1555 if ((0x3ff000000000000L & l) == 0L) 1556 break; 1557 if (kind > 76) 1558 kind = 76; 1559 jjCheckNAddTwoStates(32, 5); 1560 break; 1561 case 33: 1562 if ((0x3ff000000000000L & l) != 0L) 1563 jjCheckNAddTwoStates(33, 34); 1564 break; 1565 case 35: 1566 if ((0x280000000000L & l) != 0L) 1567 jjCheckNAdd(36); 1568 break; 1569 case 36: 1570 if ((0x3ff000000000000L & l) == 0L) 1571 break; 1572 if (kind > 76) 1573 kind = 76; 1574 jjCheckNAddTwoStates(36, 5); 1575 break; 1576 case 37: 1577 if ((0x3ff000000000000L & l) == 0L) 1578 break; 1579 if (kind > 76) 1580 kind = 76; 1581 jjCheckNAddStates(19, 21); 1582 break; 1583 case 39: 1584 if ((0x280000000000L & l) != 0L) 1585 jjCheckNAdd(40); 1586 break; 1587 case 40: 1588 if ((0x3ff000000000000L & l) == 0L) 1589 break; 1590 if (kind > 76) 1591 kind = 76; 1592 jjCheckNAddTwoStates(40, 5); 1593 break; 1594 case 41: 1595 if (curChar == 39) 1596 jjCheckNAddStates(11, 15); 1597 break; 1598 case 42: 1599 if (curChar == 39) 1600 jjCheckNAddStates(22, 24); 1601 break; 1602 case 43: 1603 if (curChar == 39) 1604 jjstateSet[jjnewStateCnt++] = 42; 1605 break; 1606 case 44: 1607 if ((0xffffff7fffffffffL & l) != 0L) 1608 jjCheckNAddStates(22, 24); 1609 break; 1610 case 45: 1611 if (curChar == 39 && kind > 79) 1612 kind = 79; 1613 break; 1614 case 46: 1615 if ((0xffffff7fffffdbffL & l) != 0L) 1616 jjCheckNAdd(47); 1617 break; 1618 case 47: 1619 if (curChar == 39 && kind > 80) 1620 kind = 80; 1621 break; 1622 case 49: 1623 if (curChar == 39) 1624 jjCheckNAdd(47); 1625 break; 1626 case 50: 1627 if ((0xff000000000000L & l) != 0L) 1628 jjCheckNAddTwoStates(51, 47); 1629 break; 1630 case 51: 1631 if ((0xff000000000000L & l) != 0L) 1632 jjCheckNAdd(47); 1633 break; 1634 case 52: 1635 if ((0xf000000000000L & l) != 0L) 1636 jjstateSet[jjnewStateCnt++] = 53; 1637 break; 1638 case 53: 1639 if ((0xff000000000000L & l) != 0L) 1640 jjCheckNAdd(51); 1641 break; 1642 default : break; 1643 } 1644 } while(i != startsAt); 1645 } 1646 else if (curChar < 128) 1647 { 1648 long l = 1L << (curChar & 077); 1649 MatchLoop: do 1650 { 1651 switch(jjstateSet[--i]) 1652 { 1653 case 9: 1654 if ((0x7fffffe87fffffeL & l) != 0L) 1655 { 1656 if (kind > 81) 1657 kind = 81; 1658 jjCheckNAdd(23); 1659 } 1660 if (curChar == 102) 1661 jjstateSet[jjnewStateCnt++] = 20; 1662 else if (curChar == 116) 1663 jjstateSet[jjnewStateCnt++] = 16; 1664 else if (curChar == 70) 1665 jjstateSet[jjnewStateCnt++] = 12; 1666 else if (curChar == 84) 1667 jjstateSet[jjnewStateCnt++] = 8; 1668 break; 1669 case 2: 1670 if ((0x2000000020L & l) != 0L) 1671 jjAddStates(25, 26); 1672 break; 1673 case 5: 1674 if ((0x5000000050L & l) != 0L && kind > 76) 1675 kind = 76; 1676 break; 1677 case 6: 1678 if (curChar == 69 && kind > 77) 1679 kind = 77; 1680 break; 1681 case 7: 1682 if (curChar == 85) 1683 jjCheckNAdd(6); 1684 break; 1685 case 8: 1686 if (curChar == 82) 1687 jjstateSet[jjnewStateCnt++] = 7; 1688 break; 1689 case 10: 1690 if (curChar == 83) 1691 jjCheckNAdd(6); 1692 break; 1693 case 11: 1694 if (curChar == 76) 1695 jjstateSet[jjnewStateCnt++] = 10; 1696 break; 1697 case 12: 1698 if (curChar == 65) 1699 jjstateSet[jjnewStateCnt++] = 11; 1700 break; 1701 case 13: 1702 if (curChar == 70) 1703 jjstateSet[jjnewStateCnt++] = 12; 1704 break; 1705 case 14: 1706 if (curChar == 101 && kind > 77) 1707 kind = 77; 1708 break; 1709 case 15: 1710 if (curChar == 117) 1711 jjCheckNAdd(14); 1712 break; 1713 case 16: 1714 if (curChar == 114) 1715 jjstateSet[jjnewStateCnt++] = 15; 1716 break; 1717 case 17: 1718 if (curChar == 116) 1719 jjstateSet[jjnewStateCnt++] = 16; 1720 break; 1721 case 18: 1722 if (curChar == 115) 1723 jjCheckNAdd(14); 1724 break; 1725 case 19: 1726 if (curChar == 108) 1727 jjstateSet[jjnewStateCnt++] = 18; 1728 break; 1729 case 20: 1730 if (curChar == 97) 1731 jjstateSet[jjnewStateCnt++] = 19; 1732 break; 1733 case 21: 1734 if (curChar == 102) 1735 jjstateSet[jjnewStateCnt++] = 20; 1736 break; 1737 case 22: 1738 case 23: 1739 if ((0x7fffffe87fffffeL & l) == 0L) 1740 break; 1741 if (kind > 81) 1742 kind = 81; 1743 jjCheckNAdd(23); 1744 break; 1745 case 26: 1746 if ((0x100000001000L & l) != 0L && kind > 75) 1747 kind = 75; 1748 break; 1749 case 30: 1750 if ((0x2000000020L & l) != 0L) 1751 jjAddStates(27, 28); 1752 break; 1753 case 34: 1754 if ((0x2000000020L & l) != 0L) 1755 jjAddStates(29, 30); 1756 break; 1757 case 38: 1758 if ((0x2000000020L & l) != 0L) 1759 jjAddStates(31, 32); 1760 break; 1761 case 44: 1762 jjAddStates(22, 24); 1763 break; 1764 case 46: 1765 if ((0xffffffffefffffffL & l) != 0L) 1766 jjCheckNAdd(47); 1767 break; 1768 case 48: 1769 if (curChar == 92) 1770 jjAddStates(33, 35); 1771 break; 1772 case 49: 1773 if ((0x14404410000000L & l) != 0L) 1774 jjCheckNAdd(47); 1775 break; 1776 default : break; 1777 } 1778 } while(i != startsAt); 1779 } 1780 else 1781 { 1782 int hiByte = (int)(curChar >> 8); 1783 int i1 = hiByte >> 6; 1784 long l1 = 1L << (hiByte & 077); 1785 int i2 = (curChar & 0xff) >> 6; 1786 long l2 = 1L << (curChar & 077); 1787 MatchLoop: do 1788 { 1789 switch(jjstateSet[--i]) 1790 { 1791 case 9: 1792 case 23: 1793 if (!jjCanMove_0(hiByte, i1, i2, l1, l2)) 1794 break; 1795 if (kind > 81) 1796 kind = 81; 1797 jjCheckNAdd(23); 1798 break; 1799 case 44: 1800 if (jjCanMove_1(hiByte, i1, i2, l1, l2)) 1801 jjAddStates(22, 24); 1802 break; 1803 case 46: 1804 if (jjCanMove_1(hiByte, i1, i2, l1, l2)) 1805 jjstateSet[jjnewStateCnt++] = 47; 1806 break; 1807 default : break; 1808 } 1809 } while(i != startsAt); 1810 } 1811 if (kind != 0x7fffffff) 1812 { 1813 jjmatchedKind = kind; 1814 jjmatchedPos = curPos; 1815 kind = 0x7fffffff; 1816 } 1817 ++curPos; 1818 if ((i = jjnewStateCnt) == (startsAt = 54 - (jjnewStateCnt = startsAt))) 1819 break; 1820 try { curChar = input_stream.readChar(); } 1821 catch(java.io.IOException e) { break; } 1822 } 1823 if (jjmatchedPos > strPos) 1824 return curPos; 1825 1826 int toRet = Math.max(curPos, seenUpto); 1827 1828 if (curPos < toRet) 1829 for (i = toRet - Math.min(curPos, seenUpto); i-- > 0; ) 1830 try { curChar = input_stream.readChar(); } 1831 catch(java.io.IOException e) { throw new Error ("Internal Error : Please send a bug report."); } 1832 1833 if (jjmatchedPos < strPos) 1834 { 1835 jjmatchedKind = strKind; 1836 jjmatchedPos = strPos; 1837 } 1838 else if (jjmatchedPos == strPos && jjmatchedKind > strKind) 1839 jjmatchedKind = strKind; 1840 1841 return toRet; 1842} 1843static final int[] jjnextStates = { 1844 25, 26, 27, 0, 28, 29, 33, 34, 37, 38, 5, 43, 44, 45, 46, 48, 1845 1, 2, 5, 37, 38, 5, 43, 44, 45, 3, 4, 31, 32, 35, 36, 39, 1846 40, 49, 50, 52, 1847}; 1848private static final boolean jjCanMove_0(int hiByte, int i1, int i2, long l1, long l2) 1849{ 1850 switch(hiByte) 1851 { 1852 case 0: 1853 return ((jjbitVec2[i2] & l2) != 0L); 1854 case 48: 1855 return ((jjbitVec3[i2] & l2) != 0L); 1856 case 49: 1857 return ((jjbitVec4[i2] & l2) != 0L); 1858 case 51: 1859 return ((jjbitVec5[i2] & l2) != 0L); 1860 case 61: 1861 return ((jjbitVec6[i2] & l2) != 0L); 1862 default : 1863 if ((jjbitVec0[i1] & l1) != 0L) 1864 return true; 1865 return false; 1866 } 1867} 1868private static final boolean jjCanMove_1(int hiByte, int i1, int i2, long l1, long l2) 1869{ 1870 switch(hiByte) 1871 { 1872 case 0: 1873 return ((jjbitVec8[i2] & l2) != 0L); 1874 default : 1875 if ((jjbitVec7[i1] & l1) != 0L) 1876 return true; 1877 return false; 1878 } 1879} 1880public static final String [] jjstrLiteralImages = { 1881"", null, null, null, "\54", "\56", "\75", "\74\76", "\76", "\76\75", "\74", 1882"\74\75", "\53", "\55", "\52", "\57", null, null, null, null, null, null, null, null, 1883null, null, null, null, null, null, null, null, null, null, null, null, null, null, 1884null, null, null, null, null, null, null, null, null, null, null, null, null, null, 1885null, null, null, null, null, null, null, null, null, null, null, null, null, null, 1886null, null, null, null, null, null, null, null, null, null, null, null, null, null, 1887null, null, null, null, "\50", "\51", "\72", "\77", }; 1888public static final String [] lexStateNames = { 1889 "DEFAULT", 1890}; 1891static final long[] jjtoToken = { 1892 0xfffffffffffffff1L, 0xf3bfffL, 1893}; 1894static final long[] jjtoSkip = { 1895 0xeL, 0x0L, 1896}; 1897protected JavaCharStream input_stream; 1898private final int[] jjrounds = new int[54]; 1899private final int[] jjstateSet = new int[108]; 1900protected char curChar; 1901public EJBQLTokenManager(JavaCharStream stream){ 1902 if (JavaCharStream.staticFlag) 1903 throw new Error ("ERROR: Cannot use a static CharStream class with a non-static lexical analyzer."); 1904 input_stream = stream; 1905} 1906public EJBQLTokenManager(JavaCharStream stream, int lexState){ 1907 this(stream); 1908 SwitchTo(lexState); 1909} 1910public void ReInit(JavaCharStream stream) 1911{ 1912 jjmatchedPos = jjnewStateCnt = 0; 1913 curLexState = defaultLexState; 1914 input_stream = stream; 1915 ReInitRounds(); 1916} 1917private final void ReInitRounds() 1918{ 1919 int i; 1920 jjround = 0x80000001; 1921 for (i = 54; i-- > 0;) 1922 jjrounds[i] = 0x80000000; 1923} 1924public void ReInit(JavaCharStream stream, int lexState) 1925{ 1926 ReInit(stream); 1927 SwitchTo(lexState); 1928} 1929public void SwitchTo(int lexState) 1930{ 1931 if (lexState >= 1 || lexState < 0) 1932 throw new TokenMgrError("Error: Ignoring invalid lexical state : " + lexState + ". State unchanged.", TokenMgrError.INVALID_LEXICAL_STATE); 1933 else 1934 curLexState = lexState; 1935} 1936 1937protected Token jjFillToken() 1938{ 1939 Token t = Token.newToken(jjmatchedKind); 1940 t.kind = jjmatchedKind; 1941 String im = jjstrLiteralImages[jjmatchedKind]; 1942 t.image = (im == null) ? input_stream.GetImage() : im; 1943 t.beginLine = input_stream.getBeginLine(); 1944 t.beginColumn = input_stream.getBeginColumn(); 1945 t.endLine = input_stream.getEndLine(); 1946 t.endColumn = input_stream.getEndColumn(); 1947 return t; 1948} 1949 1950int curLexState = 0; 1951int defaultLexState = 0; 1952int jjnewStateCnt; 1953int jjround; 1954int jjmatchedPos; 1955int jjmatchedKind; 1956 1957public Token getNextToken() 1958{ 1959 int kind; 1960 Token specialToken = null; 1961 Token matchedToken; 1962 int curPos = 0; 1963 1964 EOFLoop : 1965 for (;;) 1966 { 1967 try 1968 { 1969 curChar = input_stream.BeginToken(); 1970 } 1971 catch(java.io.IOException e) 1972 { 1973 jjmatchedKind = 0; 1974 matchedToken = jjFillToken(); 1975 return matchedToken; 1976 } 1977 1978 jjmatchedKind = 0x7fffffff; 1979 jjmatchedPos = 0; 1980 curPos = jjMoveStringLiteralDfa0_0(); 1981 if (jjmatchedKind != 0x7fffffff) 1982 { 1983 if (jjmatchedPos + 1 < curPos) 1984 input_stream.backup(curPos - jjmatchedPos - 1); 1985 if ((jjtoToken[jjmatchedKind >> 6] & (1L << (jjmatchedKind & 077))) != 0L) 1986 { 1987 matchedToken = jjFillToken(); 1988 return matchedToken; 1989 } 1990 else 1991 { 1992 continue EOFLoop; 1993 } 1994 } 1995 int error_line = input_stream.getEndLine(); 1996 int error_column = input_stream.getEndColumn(); 1997 String error_after = null; 1998 boolean EOFSeen = false; 1999 try { input_stream.readChar(); input_stream.backup(1); } 2000 catch (java.io.IOException e1) { 2001 EOFSeen = true; 2002 error_after = curPos <= 1 ? "" : input_stream.GetImage(); 2003 if (curChar == '\n' || curChar == '\r') { 2004 error_line++; 2005 error_column = 0; 2006 } 2007 else 2008 error_column++; 2009 } 2010 if (!EOFSeen) { 2011 input_stream.backup(1); 2012 error_after = curPos <= 1 ? "" : input_stream.GetImage(); 2013 } 2014 throw new TokenMgrError(EOFSeen, curLexState, error_line, error_column, error_after, curChar, TokenMgrError.LEXICAL_ERROR); 2015 } 2016} 2017 2018} 2019 | Popular Tags |