/* */ package org.jboss.ejb.plugins.cmp.ejbql;
/* */
/* */ import java.io.IOException;
/* */ import java.io.PrintStream;
/* */ import java.util.ArrayList;
/* */ import java.util.List;
/* */ import org.jboss.ejb.plugins.cmp.bridge.CMPFieldBridge;
/* */ import org.jboss.ejb.plugins.cmp.bridge.CMRFieldBridge;
/* */ import org.jboss.ejb.plugins.cmp.bridge.EntityBridge;
/* */ import org.jboss.ejb.plugins.cmp.bridge.FieldBridge;
/* */
/* */ public class EJBQLParserTokenManager
/* */ implements EJBQLParserConstants
/* */ {
/* */ public Catalog catalog;
/* */ public Class[] argumentTypes;
/* */ public IdentifierManager idManager;
/* */ private List pathList;
/* */ private List fieldList;
/* */ private String path;
/* 79 */ public PrintStream debugStream = System.out;
/* */
/* 115 */ static final long[] jjbitVec0 = { 2301339413881290750L, -16384L, 4294967295L, 432345564227567616L };
/* */
/* 118 */ static final long[] jjbitVec2 = { 0L, 0L, 0L, -36028797027352577L };
/* */
/* 121 */ static final long[] jjbitVec3 = { 0L, -1L, -1L, -1L };
/* */
/* 124 */ static final long[] jjbitVec4 = { -1L, -1L, 65535L, 0L };
/* */
/* 127 */ static final long[] jjbitVec5 = { -1L, -1L, 0L, 0L };
/* */
/* 130 */ static final long[] jjbitVec6 = { 70368744177663L, 0L, 0L, 0L };
/* */
/* 1136 */ static final long[] jjbitVec7 = { -2L, -1L, -1L, -1L };
/* */
/* 1139 */ static final long[] jjbitVec8 = { 0L, 0L, -1L, -1L };
/* */
/* 1556 */ static final int[] jjnextStates = { 1, 2, 3, 24, 25, 30, 31, 34, 35, 14, 43, 44, 45, 1, 3, 5, 16, 19, 39, 41, 8, 3, 4, 5, 10, 11, 14, 20, 22, 18, 26, 27, 14, 34, 35, 14, 12, 13, 28, 29, 32, 33, 36, 37 };
/* */
/* 1593 */ public static final String[] jjstrLiteralImages = { "", null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, "(", ")", ",", ".", ">", "<", "=", "<=", ">=", "<>", "+", "-", "*", "/", null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null };
/* */
/* 1601 */ public static final String[] lexStateNames = { "DEFAULT", "IN_NAVIGATION" };
/* */
/* 1605 */ public static final int[] jjnewLexState = { -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, -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, -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, -1, 1, -1, 0, -1, -1, -1, -1, -1, -1, -1, -1 };
/* */
/* 1611 */ static final long[] jjtoToken = { -1657324662872342559L, 8376291L };
/* */
/* 1614 */ static final long[] jjtoSkip = { 30L, 12288L };
/* */
/* 1617 */ static final long[] jjtoSpecial = { 0L, 12288L };
/* */ protected JavaCharStream input_stream;
/* 1621 */ private final int[] jjrounds = new int[46];
/* 1622 */ private final int[] jjstateSet = new int[92];
/* */ StringBuffer image;
/* */ int jjimageLen;
/* */ int lengthOfMatch;
/* */ protected char curChar;
/* 1678 */ int curLexState = 0;
/* 1679 */ int defaultLexState = 0;
/* */ int jjnewStateCnt;
/* */ int jjround;
/* */ int jjmatchedPos;
/* */ int jjmatchedKind;
/* */
/* */ private void resetPath()
/* */ {
/* 23 */ this.path = "";
/* 24 */ this.pathList = new ArrayList();
/* 25 */ this.fieldList = new ArrayList();
/* */ }
/* */
/* */ private void throwUnknownPath(String reason, String fieldName)
/* */ {
/* 32 */ throw new UnknownPathException(reason, this.path, fieldName, this.input_stream.getEndLine(), this.input_stream.getEndColumn());
/* */ }
/* */
/* */ private void addPath(String nav)
/* */ {
/* 41 */ String fieldName = nav.substring(0, nav.length() - 1);
/* 42 */ if (this.fieldList.size() > 0) {
/* 43 */ FieldBridge field = getCurrentSchema().getFieldByName(fieldName);
/* 44 */ if (field == null) {
/* 45 */ throwUnknownPath("Unknown cmr field in path", fieldName);
/* */ }
/* 47 */ if (!(field instanceof CMRFieldBridge)) {
/* 48 */ throwUnknownPath("In path field is not a cmr field", fieldName);
/* */ }
/* */
/* 51 */ CMRFieldBridge cmrField = (CMRFieldBridge)field;
/* 52 */ if (!cmrField.isSingleValued()) {
/* 53 */ throwUnknownPath("In path cmr field is collection valued", fieldName);
/* */ }
/* */
/* 56 */ this.fieldList.add(cmrField);
/* */ } else {
/* 58 */ EntityBridge entityBridge = this.idManager.getEntity(fieldName);
/* 59 */ if (entityBridge == null) {
/* 60 */ throwUnknownPath("Unknown initial identifier", fieldName);
/* */ }
/* 62 */ this.fieldList.add(entityBridge);
/* */ }
/* 64 */ this.pathList.add(this.path + fieldName);
/* 65 */ this.path += nav;
/* */ }
/* */
/* */ private EntityBridge getCurrentSchema() {
/* 69 */ Object lastElement = this.fieldList.get(this.fieldList.size() - 1);
/* 70 */ if ((lastElement instanceof EntityBridge))
/* 71 */ return (EntityBridge)lastElement;
/* 72 */ if ((lastElement instanceof CMRFieldBridge)) {
/* 73 */ return ((CMRFieldBridge)lastElement).getRelatedEntity();
/* */ }
/* */
/* 76 */ throw new IllegalStateException("Unknown path element type: " + lastElement);
/* */ }
/* */
/* */ public void setDebugStream(PrintStream ds) {
/* 80 */ this.debugStream = ds;
/* */ }
/* */ private final int jjMoveStringLiteralDfa0_1() {
/* 83 */ return jjMoveNfa_1(0, 0);
/* */ }
/* */
/* */ private final void jjCheckNAdd(int state) {
/* 87 */ if (this.jjrounds[state] != this.jjround)
/* */ {
/* 89 */ this.jjstateSet[(this.jjnewStateCnt++)] = state;
/* 90 */ this.jjrounds[state] = this.jjround;
/* */ }
/* */ }
/* */
/* */ private final void jjAddStates(int start, int end) {
/* */ do
/* 96 */ this.jjstateSet[(this.jjnewStateCnt++)] = jjnextStates[start];
/* 97 */ while (start++ != end);
/* */ }
/* */
/* */ private final void jjCheckNAddTwoStates(int state1, int state2) {
/* 101 */ jjCheckNAdd(state1);
/* 102 */ jjCheckNAdd(state2);
/* */ }
/* */
/* */ private final void jjCheckNAddStates(int start, int end) {
/* */ do
/* 107 */ jjCheckNAdd(jjnextStates[start]);
/* 108 */ while (start++ != end);
/* */ }
/* */
/* */ private final void jjCheckNAddStates(int start) {
/* 112 */ jjCheckNAdd(jjnextStates[start]);
/* 113 */ jjCheckNAdd(jjnextStates[(start + 1)]);
/* */ }
/* */
/* */ private final int jjMoveNfa_1(int startState, int curPos)
/* */ {
/* 136 */ int startsAt = 0;
/* 137 */ this.jjnewStateCnt = 4;
/* 138 */ int i = 1;
/* 139 */ this.jjstateSet[0] = startState;
/* 140 */ int kind = 2147483647;
/* */ while (true)
/* */ {
/* 143 */ if (++this.jjround == 2147483647)
/* 144 */ ReInitRounds();
/* 145 */ if (this.curChar < '@')
/* */ {
/* 147 */ long l = 1L << this.curChar;
/* */ do
/* */ {
/* 150 */ i--; switch (this.jjstateSet[i])
/* */ {
/* */ case 0:
/* 153 */ if (this.curChar != '$')
/* */ continue;
/* 155 */ if (kind > 78)
/* 156 */ kind = 78;
/* 157 */ jjCheckNAddStates(0, 2);
/* 158 */ break;
/* */ case 1:
/* 160 */ if ((0x0 & l) == 0L) continue;
/* 161 */ jjCheckNAddTwoStates(1, 2); break;
/* */ case 2:
/* 164 */ if (this.curChar != '.') continue;
/* 165 */ kind = 77; break;
/* */ case 3:
/* 168 */ if ((0x0 & l) == 0L)
/* */ continue;
/* 170 */ if (kind > 78)
/* 171 */ kind = 78;
/* 172 */ jjCheckNAdd(3);
/* */ }
/* */ }
/* */
/* 176 */ while (i != startsAt);
/* */ }
/* 178 */ else if (this.curChar < '€')
/* */ {
/* 180 */ long l = 1L << (this.curChar & 0x3F);
/* */ do
/* */ {
/* 183 */ i--; switch (this.jjstateSet[i])
/* */ {
/* */ case 0:
/* 186 */ if ((0x87FFFFFE & l) == 0L)
/* */ continue;
/* 188 */ if (kind > 78)
/* 189 */ kind = 78;
/* 190 */ jjCheckNAddStates(0, 2);
/* 191 */ break;
/* */ case 1:
/* 193 */ if ((0x87FFFFFE & l) == 0L) continue;
/* 194 */ jjCheckNAddTwoStates(1, 2); break;
/* */ case 3:
/* 197 */ if ((0x87FFFFFE & l) == 0L)
/* */ continue;
/* 199 */ if (kind > 78)
/* 200 */ kind = 78;
/* 201 */ jjCheckNAdd(3);
/* */ case 2:
/* */ }
/* */ }
/* 205 */ while (i != startsAt);
/* */ }
/* */ else
/* */ {
/* 209 */ int hiByte = this.curChar >> '\b';
/* 210 */ int i1 = hiByte >> 6;
/* 211 */ long l1 = 1L << (hiByte & 0x3F);
/* 212 */ int i2 = (this.curChar & 0xFF) >> '\006';
/* 213 */ long l2 = 1L << (this.curChar & 0x3F);
/* */ do
/* */ {
/* 216 */ i--; switch (this.jjstateSet[i])
/* */ {
/* */ case 0:
/* 219 */ if (!jjCanMove_0(hiByte, i1, i2, l1, l2))
/* */ continue;
/* 221 */ if (kind > 78)
/* 222 */ kind = 78;
/* 223 */ jjCheckNAddStates(0, 2);
/* 224 */ break;
/* */ case 1:
/* 226 */ if (!jjCanMove_0(hiByte, i1, i2, l1, l2)) continue;
/* 227 */ jjCheckNAddTwoStates(1, 2); break;
/* */ case 3:
/* 230 */ if (!jjCanMove_0(hiByte, i1, i2, l1, l2))
/* */ continue;
/* 232 */ if (kind > 78)
/* 233 */ kind = 78;
/* 234 */ jjCheckNAdd(3);
/* */ case 2:
/* */ }
/* */ }
/* 238 */ while (i != startsAt);
/* */ }
/* 240 */ if (kind != 2147483647)
/* */ {
/* 242 */ this.jjmatchedKind = kind;
/* 243 */ this.jjmatchedPos = curPos;
/* 244 */ kind = 2147483647;
/* */ }
/* 246 */ curPos++;
/* 247 */ if ((i = this.jjnewStateCnt) == (startsAt = 4 - (this.jjnewStateCnt = startsAt)))
/* 248 */ return curPos; try {
/* 249 */ this.curChar = this.input_stream.readChar(); } catch (IOException e) {
/* */ }
/* 250 */ }return curPos;
/* */ }
/* */
/* */ private final int jjStopAtPos(int pos, int kind)
/* */ {
/* 255 */ this.jjmatchedKind = kind;
/* 256 */ this.jjmatchedPos = pos;
/* 257 */ return pos + 1;
/* */ }
/* */
/* */ private final int jjMoveStringLiteralDfa0_0() {
/* 261 */ switch (this.curChar)
/* */ {
/* */ case '\t':
/* 264 */ this.jjmatchedKind = 2;
/* 265 */ return jjMoveNfa_0(0, 0);
/* */ case '\n':
/* 267 */ this.jjmatchedKind = 3;
/* 268 */ return jjMoveNfa_0(0, 0);
/* */ case '\r':
/* 270 */ this.jjmatchedKind = 4;
/* 271 */ return jjMoveNfa_0(0, 0);
/* */ case ' ':
/* 273 */ this.jjmatchedKind = 1;
/* 274 */ return jjMoveNfa_0(0, 0);
/* */ case '(':
/* 276 */ this.jjmatchedKind = 40;
/* 277 */ return jjMoveNfa_0(0, 0);
/* */ case ')':
/* 279 */ this.jjmatchedKind = 41;
/* 280 */ return jjMoveNfa_0(0, 0);
/* */ case '*':
/* 282 */ this.jjmatchedKind = 52;
/* 283 */ return jjMoveNfa_0(0, 0);
/* */ case '+':
/* 285 */ this.jjmatchedKind = 50;
/* 286 */ return jjMoveNfa_0(0, 0);
/* */ case ',':
/* 288 */ this.jjmatchedKind = 42;
/* 289 */ return jjMoveNfa_0(0, 0);
/* */ case '-':
/* 291 */ this.jjmatchedKind = 51;
/* 292 */ return jjMoveNfa_0(0, 0);
/* */ case '.':
/* 294 */ this.jjmatchedKind = 43;
/* 295 */ return jjMoveNfa_0(0, 0);
/* */ case '/':
/* 297 */ this.jjmatchedKind = 53;
/* 298 */ return jjMoveNfa_0(0, 0);
/* */ case '<':
/* 300 */ this.jjmatchedKind = 45;
/* 301 */ return jjMoveStringLiteralDfa1_0(703687441776640L);
/* */ case '=':
/* 303 */ this.jjmatchedKind = 46;
/* 304 */ return jjMoveNfa_0(0, 0);
/* */ case '>':
/* 306 */ this.jjmatchedKind = 44;
/* 307 */ return jjMoveStringLiteralDfa1_0(281474976710656L);
/* */ case 'A':
/* 309 */ return jjMoveStringLiteralDfa1_0(141733920992L);
/* */ case 'B':
/* 311 */ return jjMoveStringLiteralDfa1_0(2147483904L);
/* */ case 'C':
/* 313 */ return jjMoveStringLiteralDfa1_0(17179869696L);
/* */ case 'D':
/* 315 */ return jjMoveStringLiteralDfa1_0(8589935616L);
/* */ case 'E':
/* 317 */ return jjMoveStringLiteralDfa1_0(6144L);
/* */ case 'F':
/* 319 */ return jjMoveStringLiteralDfa1_0(2305843009213702144L);
/* */ case 'I':
/* 321 */ return jjMoveStringLiteralDfa1_0(49152L);
/* */ case 'L':
/* 323 */ return jjMoveStringLiteralDfa1_0(458752L);
/* */ case 'M':
/* 325 */ return jjMoveStringLiteralDfa1_0(653371899904L);
/* */ case 'N':
/* 327 */ return jjMoveStringLiteralDfa1_0(1572864L);
/* */ case 'O':
/* 329 */ return jjMoveStringLiteralDfa1_0(1088421888L);
/* */ case 'S':
/* 331 */ return jjMoveStringLiteralDfa1_0(274995347456L);
/* */ case 'T':
/* 333 */ return jjMoveStringLiteralDfa1_0(4611686018427387904L);
/* */ case 'U':
/* 335 */ return jjMoveStringLiteralDfa1_0(134217728L);
/* */ case 'W':
/* 337 */ return jjMoveStringLiteralDfa1_0(268435456L);
/* */ case 'a':
/* 339 */ return jjMoveStringLiteralDfa1_0(141733920992L);
/* */ case 'b':
/* 341 */ return jjMoveStringLiteralDfa1_0(2147483904L);
/* */ case 'c':
/* 343 */ return jjMoveStringLiteralDfa1_0(17179869696L);
/* */ case 'd':
/* 345 */ return jjMoveStringLiteralDfa1_0(8589935616L);
/* */ case 'e':
/* 347 */ return jjMoveStringLiteralDfa1_0(6144L);
/* */ case 'f':
/* 349 */ return jjMoveStringLiteralDfa1_0(2305843009213702144L);
/* */ case 'i':
/* 351 */ return jjMoveStringLiteralDfa1_0(49152L);
/* */ case 'l':
/* 353 */ return jjMoveStringLiteralDfa1_0(458752L);
/* */ case 'm':
/* 355 */ return jjMoveStringLiteralDfa1_0(653371899904L);
/* */ case 'n':
/* 357 */ return jjMoveStringLiteralDfa1_0(1572864L);
/* */ case 'o':
/* 359 */ return jjMoveStringLiteralDfa1_0(1088421888L);
/* */ case 's':
/* 361 */ return jjMoveStringLiteralDfa1_0(274995347456L);
/* */ case 't':
/* 363 */ return jjMoveStringLiteralDfa1_0(4611686018427387904L);
/* */ case 'u':
/* 365 */ return jjMoveStringLiteralDfa1_0(134217728L);
/* */ case 'w':
/* 367 */ return jjMoveStringLiteralDfa1_0(268435456L);
/* */ case '\013':
/* */ case '\f':
/* */ case '\016':
/* */ case '\017':
/* */ case '\020':
/* */ case '\021':
/* */ case '\022':
/* */ case '\023':
/* */ case '\024':
/* */ case '\025':
/* */ case '\026':
/* */ case '\027':
/* */ case '\030':
/* */ case '\031':
/* */ case '\032':
/* */ case '\033':
/* */ case '\034':
/* */ case '\035':
/* */ case '\036':
/* */ case '\037':
/* */ case '!':
/* */ case '"':
/* */ case '#':
/* */ case '$':
/* */ case '%':
/* */ case '&':
/* */ case '\'':
/* */ case '0':
/* */ case '1':
/* */ case '2':
/* */ case '3':
/* */ case '4':
/* */ case '5':
/* */ case '6':
/* */ case '7':
/* */ case '8':
/* */ case '9':
/* */ case ':':
/* */ case ';':
/* */ case '?':
/* */ case '@':
/* */ case 'G':
/* */ case 'H':
/* */ case 'J':
/* */ case 'K':
/* */ case 'P':
/* */ case 'Q':
/* */ case 'R':
/* */ case 'V':
/* */ case 'X':
/* */ case 'Y':
/* */ case 'Z':
/* */ case '[':
/* */ case '\\':
/* */ case ']':
/* */ case '^':
/* */ case '_':
/* */ case '`':
/* */ case 'g':
/* */ case 'h':
/* */ case 'j':
/* */ case 'k':
/* */ case 'p':
/* */ case 'q':
/* */ case 'r':
/* 369 */ case 'v': } return jjMoveNfa_0(0, 0);
/* */ }
/* */
/* */ private final int jjMoveStringLiteralDfa1_0(long active0) {
/* */ try {
/* 374 */ this.curChar = this.input_stream.readChar();
/* */ } catch (IOException e) {
/* 376 */ return jjMoveNfa_0(0, 0);
/* */ }
/* 378 */ switch (this.curChar)
/* */ {
/* */ case '=':
/* 381 */ if ((active0 & 0x0) != 0L)
/* */ {
/* 383 */ this.jjmatchedKind = 47;
/* 384 */ this.jjmatchedPos = 1;
/* */ } else {
/* 386 */ if ((active0 & 0x0) == 0L)
/* */ break;
/* 388 */ this.jjmatchedKind = 48;
/* 389 */ this.jjmatchedPos = 1; } break;
/* */ case '>':
/* 393 */ if ((active0 & 0x0) == 0L)
/* */ break;
/* 395 */ this.jjmatchedKind = 49;
/* 396 */ this.jjmatchedPos = 1; break;
/* */ case 'A':
/* 400 */ return jjMoveStringLiteralDfa2_0(active0, 2305843043573432320L);
/* */ case 'B':
/* 402 */ return jjMoveStringLiteralDfa2_0(active0, 2097184L);
/* */ case 'E':
/* 404 */ return jjMoveStringLiteralDfa2_0(active0, 9143648512L);
/* */ case 'F':
/* 406 */ return jjMoveStringLiteralDfa2_0(active0, 4194304L);
/* */ case 'H':
/* 408 */ return jjMoveStringLiteralDfa2_0(active0, 268435456L);
/* */ case 'I':
/* 410 */ return jjMoveStringLiteralDfa2_0(active0, 68719608832L);
/* */ case 'M':
/* 412 */ return jjMoveStringLiteralDfa2_0(active0, 2048L);
/* */ case 'N':
/* 414 */ if ((active0 & 0x4000) != 0L)
/* */ {
/* 416 */ this.jjmatchedKind = 14;
/* 417 */ this.jjmatchedPos = 1;
/* */ }
/* 419 */ return jjMoveStringLiteralDfa2_0(active0, 134217792L);
/* */ case 'O':
/* 421 */ return jjMoveStringLiteralDfa2_0(active0, 566936470016L);
/* */ case 'Q':
/* 423 */ return jjMoveStringLiteralDfa2_0(active0, 67108864L);
/* */ case 'R':
/* 425 */ if ((active0 & 0x800000) != 0L)
/* */ {
/* 427 */ this.jjmatchedKind = 23;
/* 428 */ this.jjmatchedPos = 1;
/* */ }
/* 430 */ return jjMoveStringLiteralDfa2_0(active0, 4611686019501137920L);
/* */ case 'S':
/* 432 */ if ((active0 & 0x80) != 0L)
/* */ {
/* 434 */ this.jjmatchedKind = 7;
/* 435 */ this.jjmatchedPos = 1;
/* */ }
/* 437 */ else if ((active0 & 0x8000) != 0L)
/* */ {
/* 439 */ this.jjmatchedKind = 15;
/* 440 */ this.jjmatchedPos = 1;
/* */ }
/* 442 */ return jjMoveStringLiteralDfa2_0(active0, 4294971392L);
/* */ case 'U':
/* 444 */ return jjMoveStringLiteralDfa2_0(active0, 274912509952L);
/* */ case 'V':
/* 446 */ return jjMoveStringLiteralDfa2_0(active0, 137438953472L);
/* */ case 'Y':
/* 448 */ if ((active0 & 0x80000000) == 0L)
/* */ break;
/* 450 */ this.jjmatchedKind = 31;
/* 451 */ this.jjmatchedPos = 1; break;
/* */ case 'a':
/* 455 */ return jjMoveStringLiteralDfa2_0(active0, 2305843043573432320L);
/* */ case 'b':
/* 457 */ return jjMoveStringLiteralDfa2_0(active0, 2097184L);
/* */ case 'e':
/* 459 */ return jjMoveStringLiteralDfa2_0(active0, 9143648512L);
/* */ case 'f':
/* 461 */ return jjMoveStringLiteralDfa2_0(active0, 4194304L);
/* */ case 'h':
/* 463 */ return jjMoveStringLiteralDfa2_0(active0, 268435456L);
/* */ case 'i':
/* 465 */ return jjMoveStringLiteralDfa2_0(active0, 68719608832L);
/* */ case 'm':
/* 467 */ return jjMoveStringLiteralDfa2_0(active0, 2048L);
/* */ case 'n':
/* 469 */ if ((active0 & 0x4000) != 0L)
/* */ {
/* 471 */ this.jjmatchedKind = 14;
/* 472 */ this.jjmatchedPos = 1;
/* */ }
/* 474 */ return jjMoveStringLiteralDfa2_0(active0, 134217792L);
/* */ case 'o':
/* 476 */ return jjMoveStringLiteralDfa2_0(active0, 566936470016L);
/* */ case 'q':
/* 478 */ return jjMoveStringLiteralDfa2_0(active0, 67108864L);
/* */ case 'r':
/* 480 */ if ((active0 & 0x800000) != 0L)
/* */ {
/* 482 */ this.jjmatchedKind = 23;
/* 483 */ this.jjmatchedPos = 1;
/* */ }
/* 485 */ return jjMoveStringLiteralDfa2_0(active0, 4611686019501137920L);
/* */ case 's':
/* 487 */ if ((active0 & 0x80) != 0L)
/* */ {
/* 489 */ this.jjmatchedKind = 7;
/* 490 */ this.jjmatchedPos = 1;
/* */ }
/* 492 */ else if ((active0 & 0x8000) != 0L)
/* */ {
/* 494 */ this.jjmatchedKind = 15;
/* 495 */ this.jjmatchedPos = 1;
/* */ }
/* 497 */ return jjMoveStringLiteralDfa2_0(active0, 4294971392L);
/* */ case 'u':
/* 499 */ return jjMoveStringLiteralDfa2_0(active0, 274912509952L);
/* */ case 'v':
/* 501 */ return jjMoveStringLiteralDfa2_0(active0, 137438953472L);
/* */ case 'y':
/* 503 */ if ((active0 & 0x80000000) == 0L)
/* */ break;
/* 505 */ this.jjmatchedKind = 31;
/* 506 */ this.jjmatchedPos = 1; break;
/* */ case '?':
/* */ case '@':
/* */ case 'C':
/* */ case 'D':
/* */ case 'G':
/* */ case 'J':
/* */ case 'K':
/* */ case 'L':
/* */ case 'P':
/* */ case 'T':
/* */ case 'W':
/* */ case 'X':
/* */ case 'Z':
/* */ case '[':
/* */ case '\\':
/* */ case ']':
/* */ case '^':
/* */ case '_':
/* */ case '`':
/* */ case 'c':
/* */ case 'd':
/* */ case 'g':
/* */ case 'j':
/* */ case 'k':
/* */ case 'l':
/* */ case 'p':
/* */ case 't':
/* */ case 'w':
/* 512 */ case 'x': } return jjMoveNfa_0(0, 1);
/* */ }
/* */
/* */ private final int jjMoveStringLiteralDfa2_0(long old0, long active0) {
/* 516 */ if ((active0 &= old0) == 0L)
/* 517 */ return jjMoveNfa_0(0, 1); try {
/* 518 */ this.curChar = this.input_stream.readChar();
/* */ } catch (IOException e) {
/* 520 */ return jjMoveNfa_0(0, 1);
/* */ }
/* 522 */ switch (this.curChar)
/* */ {
/* */ case ' ':
/* 525 */ if ((active0 & 0x400000) == 0L)
/* */ break;
/* 527 */ this.jjmatchedKind = 22;
/* 528 */ this.jjmatchedPos = 2; break;
/* */ case 'B':
/* 532 */ return jjMoveStringLiteralDfa3_0(active0, 33554432L);
/* */ case 'C':
/* 534 */ if ((active0 & 0x0) != 0L)
/* */ {
/* 536 */ this.jjmatchedKind = 32;
/* 537 */ this.jjmatchedPos = 2;
/* */ }
/* 539 */ return jjMoveStringLiteralDfa3_0(active0, 266240L);
/* */ case 'D':
/* 541 */ if ((active0 & 0x40) != 0L)
/* */ {
/* 543 */ this.jjmatchedKind = 6;
/* 544 */ this.jjmatchedPos = 2;
/* */ }
/* 546 */ else if ((active0 & 0x0) != 0L)
/* */ {
/* 548 */ this.jjmatchedKind = 39;
/* 549 */ this.jjmatchedPos = 2;
/* */ }
/* 551 */ return jjMoveStringLiteralDfa3_0(active0, 1073741824L);
/* */ case 'E':
/* 553 */ return jjMoveStringLiteralDfa3_0(active0, 268435456L);
/* */ case 'G':
/* 555 */ if ((active0 & 0x0) == 0L)
/* */ break;
/* 557 */ this.jjmatchedKind = 37;
/* 558 */ this.jjmatchedPos = 2; break;
/* */ case 'J':
/* 562 */ return jjMoveStringLiteralDfa3_0(active0, 2097152L);
/* */ case 'K':
/* 564 */ return jjMoveStringLiteralDfa3_0(active0, 134348800L);
/* */ case 'L':
/* 566 */ return jjMoveStringLiteralDfa3_0(active0, 2305843009231519744L);
/* */ case 'M':
/* 568 */ if ((active0 & 0x0) != 0L)
/* */ {
/* 570 */ this.jjmatchedKind = 38;
/* 571 */ this.jjmatchedPos = 2;
/* */ }
/* 573 */ return jjMoveStringLiteralDfa3_0(active0, 536870912L);
/* */ case 'N':
/* 575 */ if ((active0 & 0x0) != 0L)
/* */ {
/* 577 */ this.jjmatchedKind = 36;
/* 578 */ this.jjmatchedPos = 2;
/* */ }
/* 580 */ return jjMoveStringLiteralDfa3_0(active0, 66048L);
/* */ case 'O':
/* 582 */ return jjMoveStringLiteralDfa3_0(active0, 8192L);
/* */ case 'P':
/* 584 */ return jjMoveStringLiteralDfa3_0(active0, 2048L);
/* */ case 'R':
/* 586 */ return jjMoveStringLiteralDfa3_0(active0, 67108864L);
/* */ case 'S':
/* 588 */ if ((active0 & 0x20) != 0L)
/* */ {
/* 590 */ this.jjmatchedKind = 5;
/* 591 */ this.jjmatchedPos = 2;
/* */ }
/* 593 */ return jjMoveStringLiteralDfa3_0(active0, 8589935616L);
/* */ case 'T':
/* 595 */ if ((active0 & 0x80000) != 0L)
/* */ {
/* 597 */ this.jjmatchedKind = 19;
/* 598 */ this.jjmatchedPos = 2;
/* */ }
/* 600 */ return jjMoveStringLiteralDfa3_0(active0, 256L);
/* */ case 'U':
/* 602 */ return jjMoveStringLiteralDfa3_0(active0, 4611686035607257088L);
/* */ case 'X':
/* 604 */ if ((active0 & 0x0) == 0L)
/* */ break;
/* 606 */ this.jjmatchedKind = 35;
/* 607 */ this.jjmatchedPos = 2; break;
/* */ case 'b':
/* 611 */ return jjMoveStringLiteralDfa3_0(active0, 33554432L);
/* */ case 'c':
/* 613 */ if ((active0 & 0x0) != 0L)
/* */ {
/* 615 */ this.jjmatchedKind = 32;
/* 616 */ this.jjmatchedPos = 2;
/* */ }
/* 618 */ return jjMoveStringLiteralDfa3_0(active0, 266240L);
/* */ case 'd':
/* 620 */ if ((active0 & 0x40) != 0L)
/* */ {
/* 622 */ this.jjmatchedKind = 6;
/* 623 */ this.jjmatchedPos = 2;
/* */ }
/* 625 */ else if ((active0 & 0x0) != 0L)
/* */ {
/* 627 */ this.jjmatchedKind = 39;
/* 628 */ this.jjmatchedPos = 2;
/* */ }
/* 630 */ return jjMoveStringLiteralDfa3_0(active0, 1073741824L);
/* */ case 'e':
/* 632 */ return jjMoveStringLiteralDfa3_0(active0, 268435456L);
/* */ case 'g':
/* 634 */ if ((active0 & 0x0) == 0L)
/* */ break;
/* 636 */ this.jjmatchedKind = 37;
/* 637 */ this.jjmatchedPos = 2; break;
/* */ case 'j':
/* 641 */ return jjMoveStringLiteralDfa3_0(active0, 2097152L);
/* */ case 'k':
/* 643 */ return jjMoveStringLiteralDfa3_0(active0, 134348800L);
/* */ case 'l':
/* 645 */ return jjMoveStringLiteralDfa3_0(active0, 2305843009231519744L);
/* */ case 'm':
/* 647 */ if ((active0 & 0x0) != 0L)
/* */ {
/* 649 */ this.jjmatchedKind = 38;
/* 650 */ this.jjmatchedPos = 2;
/* */ }
/* 652 */ return jjMoveStringLiteralDfa3_0(active0, 536870912L);
/* */ case 'n':
/* 654 */ if ((active0 & 0x0) != 0L)
/* */ {
/* 656 */ this.jjmatchedKind = 36;
/* 657 */ this.jjmatchedPos = 2;
/* */ }
/* 659 */ return jjMoveStringLiteralDfa3_0(active0, 66048L);
/* */ case 'o':
/* 661 */ return jjMoveStringLiteralDfa3_0(active0, 8192L);
/* */ case 'p':
/* 663 */ return jjMoveStringLiteralDfa3_0(active0, 2048L);
/* */ case 'r':
/* 665 */ return jjMoveStringLiteralDfa3_0(active0, 67108864L);
/* */ case 's':
/* 667 */ if ((active0 & 0x20) != 0L)
/* */ {
/* 669 */ this.jjmatchedKind = 5;
/* 670 */ this.jjmatchedPos = 2;
/* */ }
/* 672 */ return jjMoveStringLiteralDfa3_0(active0, 8589935616L);
/* */ case 't':
/* 674 */ if ((active0 & 0x80000) != 0L)
/* */ {
/* 676 */ this.jjmatchedKind = 19;
/* 677 */ this.jjmatchedPos = 2;
/* */ }
/* 679 */ return jjMoveStringLiteralDfa3_0(active0, 256L);
/* */ case 'u':
/* 681 */ return jjMoveStringLiteralDfa3_0(active0, 4611686035607257088L);
/* */ case 'x':
/* 683 */ if ((active0 & 0x0) == 0L)
/* */ break;
/* 685 */ this.jjmatchedKind = 35;
/* 686 */ this.jjmatchedPos = 2; break;
/* */ case '!':
/* */ case '"':
/* */ case '#':
/* */ case '$':
/* */ case '%':
/* */ case '&':
/* */ case '\'':
/* */ case '(':
/* */ case ')':
/* */ case '*':
/* */ case '+':
/* */ case ',':
/* */ case '-':
/* */ case '.':
/* */ case '/':
/* */ case '0':
/* */ case '1':
/* */ case '2':
/* */ case '3':
/* */ case '4':
/* */ case '5':
/* */ case '6':
/* */ case '7':
/* */ case '8':
/* */ case '9':
/* */ case ':':
/* */ case ';':
/* */ case '<':
/* */ case '=':
/* */ case '>':
/* */ case '?':
/* */ case '@':
/* */ case 'A':
/* */ case 'F':
/* */ case 'H':
/* */ case 'I':
/* */ case 'Q':
/* */ case 'V':
/* */ case 'W':
/* */ case 'Y':
/* */ case 'Z':
/* */ case '[':
/* */ case '\\':
/* */ case ']':
/* */ case '^':
/* */ case '_':
/* */ case '`':
/* */ case 'a':
/* */ case 'f':
/* */ case 'h':
/* */ case 'i':
/* */ case 'q':
/* */ case 'v':
/* 692 */ case 'w': } return jjMoveNfa_0(0, 2);
/* */ }
/* */
/* */ private final int jjMoveStringLiteralDfa3_0(long old0, long active0) {
/* 696 */ if ((active0 &= old0) == 0L)
/* 697 */ return jjMoveNfa_0(0, 2); try {
/* 698 */ this.curChar = this.input_stream.readChar();
/* */ } catch (IOException e) {
/* 700 */ return jjMoveNfa_0(0, 2);
/* */ }
/* 702 */ switch (this.curChar)
/* */ {
/* */ case 'A':
/* 705 */ return jjMoveStringLiteralDfa4_0(active0, 266240L);
/* */ case 'B':
/* 707 */ return jjMoveStringLiteralDfa4_0(active0, 536870912L);
/* */ case 'C':
/* 709 */ if ((active0 & 0x0) != 0L)
/* */ {
/* 711 */ this.jjmatchedKind = 33;
/* 712 */ this.jjmatchedPos = 3;
/* */ }
/* 714 */ return jjMoveStringLiteralDfa4_0(active0, 512L);
/* */ case 'E':
/* 716 */ if ((active0 & 0x20000) != 0L)
/* */ {
/* 718 */ this.jjmatchedKind = 17;
/* 719 */ this.jjmatchedPos = 3;
/* */ }
/* 721 */ else if ((active0 & 0x0) != 0L)
/* */ {
/* 723 */ this.jjmatchedKind = 62;
/* 724 */ this.jjmatchedPos = 3;
/* */ }
/* 726 */ return jjMoveStringLiteralDfa4_0(active0, 1092616192L);
/* */ case 'G':
/* 728 */ return jjMoveStringLiteralDfa4_0(active0, 65536L);
/* */ case 'L':
/* 730 */ if ((active0 & 0x100000) == 0L)
/* */ break;
/* 732 */ this.jjmatchedKind = 20;
/* 733 */ this.jjmatchedPos = 3; break;
/* */ case 'M':
/* 737 */ if ((active0 & 0x2000) == 0L)
/* */ break;
/* 739 */ this.jjmatchedKind = 13;
/* 740 */ this.jjmatchedPos = 3; break;
/* */ case 'N':
/* 744 */ return jjMoveStringLiteralDfa4_0(active0, 17314086912L);
/* */ case 'R':
/* 746 */ return jjMoveStringLiteralDfa4_0(active0, 268435456L);
/* */ case 'S':
/* 748 */ return jjMoveStringLiteralDfa4_0(active0, 2305843009247248384L);
/* */ case 'T':
/* 750 */ if ((active0 & 0x4000000) != 0L)
/* */ {
/* 752 */ this.jjmatchedKind = 26;
/* 753 */ this.jjmatchedPos = 3;
/* */ }
/* 755 */ return jjMoveStringLiteralDfa4_0(active0, 3072L);
/* */ case 'W':
/* 757 */ return jjMoveStringLiteralDfa4_0(active0, 256L);
/* */ case 'a':
/* 759 */ return jjMoveStringLiteralDfa4_0(active0, 266240L);
/* */ case 'b':
/* 761 */ return jjMoveStringLiteralDfa4_0(active0, 536870912L);
/* */ case 'c':
/* 763 */ if ((active0 & 0x0) != 0L)
/* */ {
/* 765 */ this.jjmatchedKind = 33;
/* 766 */ this.jjmatchedPos = 3;
/* */ }
/* 768 */ return jjMoveStringLiteralDfa4_0(active0, 512L);
/* */ case 'e':
/* 770 */ if ((active0 & 0x20000) != 0L)
/* */ {
/* 772 */ this.jjmatchedKind = 17;
/* 773 */ this.jjmatchedPos = 3;
/* */ }
/* 775 */ else if ((active0 & 0x0) != 0L)
/* */ {
/* 777 */ this.jjmatchedKind = 62;
/* 778 */ this.jjmatchedPos = 3;
/* */ }
/* 780 */ return jjMoveStringLiteralDfa4_0(active0, 1092616192L);
/* */ case 'g':
/* 782 */ return jjMoveStringLiteralDfa4_0(active0, 65536L);
/* */ case 'l':
/* 784 */ if ((active0 & 0x100000) == 0L)
/* */ break;
/* 786 */ this.jjmatchedKind = 20;
/* 787 */ this.jjmatchedPos = 3; break;
/* */ case 'm':
/* 791 */ if ((active0 & 0x2000) == 0L)
/* */ break;
/* 793 */ this.jjmatchedKind = 13;
/* 794 */ this.jjmatchedPos = 3; break;
/* */ case 'n':
/* 798 */ return jjMoveStringLiteralDfa4_0(active0, 17314086912L);
/* */ case 'r':
/* 800 */ return jjMoveStringLiteralDfa4_0(active0, 268435456L);
/* */ case 's':
/* 802 */ return jjMoveStringLiteralDfa4_0(active0, 2305843009247248384L);
/* */ case 't':
/* 804 */ if ((active0 & 0x4000000) != 0L)
/* */ {
/* 806 */ this.jjmatchedKind = 26;
/* 807 */ this.jjmatchedPos = 3;
/* */ }
/* 809 */ return jjMoveStringLiteralDfa4_0(active0, 3072L);
/* */ case 'w':
/* 811 */ return jjMoveStringLiteralDfa4_0(active0, 256L);
/* */ case 'D':
/* */ case 'F':
/* */ case 'H':
/* */ case 'I':
/* */ case 'J':
/* */ case 'K':
/* */ case 'O':
/* */ case 'P':
/* */ case 'Q':
/* */ case 'U':
/* */ case 'V':
/* */ case 'X':
/* */ case 'Y':
/* */ case 'Z':
/* */ case '[':
/* */ case '\\':
/* */ case ']':
/* */ case '^':
/* */ case '_':
/* */ case '`':
/* */ case 'd':
/* */ case 'f':
/* */ case 'h':
/* */ case 'i':
/* */ case 'j':
/* */ case 'k':
/* */ case 'o':
/* */ case 'p':
/* */ case 'q':
/* */ case 'u':
/* 815 */ case 'v': } return jjMoveNfa_0(0, 3);
/* */ }
/* */
/* */ private final int jjMoveStringLiteralDfa4_0(long old0, long active0) {
/* 819 */ if ((active0 &= old0) == 0L)
/* 820 */ return jjMoveNfa_0(0, 3); try {
/* 821 */ this.curChar = this.input_stream.readChar();
/* */ } catch (IOException e) {
/* 823 */ return jjMoveNfa_0(0, 3);
/* */ }
/* 825 */ switch (this.curChar)
/* */ {
/* */ case 'A':
/* 828 */ return jjMoveStringLiteralDfa5_0(active0, 512L);
/* */ case 'C':
/* 830 */ return jjMoveStringLiteralDfa5_0(active0, 18874368L);
/* */ case 'E':
/* 832 */ if ((active0 & 0x10000000) != 0L)
/* */ {
/* 834 */ this.jjmatchedKind = 28;
/* 835 */ this.jjmatchedPos = 4;
/* */ }
/* 837 */ else if ((active0 & 0x0) != 0L)
/* */ {
/* 839 */ this.jjmatchedKind = 61;
/* 840 */ this.jjmatchedPos = 4;
/* */ }
/* 842 */ return jjMoveStringLiteralDfa5_0(active0, 536871168L);
/* */ case 'I':
/* 844 */ return jjMoveStringLiteralDfa5_0(active0, 1024L);
/* */ case 'O':
/* 846 */ return jjMoveStringLiteralDfa5_0(active0, 134217728L);
/* */ case 'P':
/* 848 */ return jjMoveStringLiteralDfa5_0(active0, 4096L);
/* */ case 'R':
/* 850 */ if ((active0 & 0x40000000) == 0L)
/* */ break;
/* 852 */ this.jjmatchedKind = 30;
/* 853 */ this.jjmatchedPos = 4; break;
/* */ case 'T':
/* 857 */ if ((active0 & 0x0) != 0L)
/* */ {
/* 859 */ this.jjmatchedKind = 34;
/* 860 */ this.jjmatchedPos = 4;
/* */ }
/* 862 */ return jjMoveStringLiteralDfa5_0(active0, 33882112L);
/* */ case 'Y':
/* 864 */ if ((active0 & 0x800) == 0L)
/* */ break;
/* 866 */ this.jjmatchedKind = 11;
/* 867 */ this.jjmatchedPos = 4; break;
/* */ case 'a':
/* 871 */ return jjMoveStringLiteralDfa5_0(active0, 512L);
/* */ case 'c':
/* 873 */ return jjMoveStringLiteralDfa5_0(active0, 18874368L);
/* */ case 'e':
/* 875 */ if ((active0 & 0x10000000) != 0L)
/* */ {
/* 877 */ this.jjmatchedKind = 28;
/* 878 */ this.jjmatchedPos = 4;
/* */ }
/* 880 */ else if ((active0 & 0x0) != 0L)
/* */ {
/* 882 */ this.jjmatchedKind = 61;
/* 883 */ this.jjmatchedPos = 4;
/* */ }
/* 885 */ return jjMoveStringLiteralDfa5_0(active0, 536871168L);
/* */ case 'i':
/* 887 */ return jjMoveStringLiteralDfa5_0(active0, 1024L);
/* */ case 'o':
/* 889 */ return jjMoveStringLiteralDfa5_0(active0, 134217728L);
/* */ case 'p':
/* 891 */ return jjMoveStringLiteralDfa5_0(active0, 4096L);
/* */ case 'r':
/* 893 */ if ((active0 & 0x40000000) == 0L)
/* */ break;
/* 895 */ this.jjmatchedKind = 30;
/* 896 */ this.jjmatchedPos = 4; break;
/* */ case 't':
/* 900 */ if ((active0 & 0x0) != 0L)
/* */ {
/* 902 */ this.jjmatchedKind = 34;
/* 903 */ this.jjmatchedPos = 4;
/* */ }
/* 905 */ return jjMoveStringLiteralDfa5_0(active0, 33882112L);
/* */ case 'y':
/* 907 */ if ((active0 & 0x800) == 0L)
/* */ break;
/* 909 */ this.jjmatchedKind = 11;
/* 910 */ this.jjmatchedPos = 4; break;
/* */ case 'B':
/* */ case 'D':
/* */ case 'F':
/* */ case 'G':
/* */ case 'H':
/* */ case 'J':
/* */ case 'K':
/* */ case 'L':
/* */ case 'M':
/* */ case 'N':
/* */ case 'Q':
/* */ case 'S':
/* */ case 'U':
/* */ case 'V':
/* */ case 'W':
/* */ case 'X':
/* */ case 'Z':
/* */ case '[':
/* */ case '\\':
/* */ case ']':
/* */ case '^':
/* */ case '_':
/* */ case '`':
/* */ case 'b':
/* */ case 'd':
/* */ case 'f':
/* */ case 'g':
/* */ case 'h':
/* */ case 'j':
/* */ case 'k':
/* */ case 'l':
/* */ case 'm':
/* */ case 'n':
/* */ case 'q':
/* */ case 's':
/* */ case 'u':
/* */ case 'v':
/* */ case 'w':
/* 916 */ case 'x': } return jjMoveNfa_0(0, 4);
/* */ }
/* */
/* */ private final int jjMoveStringLiteralDfa5_0(long old0, long active0) {
/* 920 */ if ((active0 &= old0) == 0L)
/* 921 */ return jjMoveNfa_0(0, 4); try {
/* 922 */ this.curChar = this.input_stream.readChar();
/* */ } catch (IOException e) {
/* 924 */ return jjMoveNfa_0(0, 4);
/* */ }
/* 926 */ switch (this.curChar)
/* */ {
/* */ case 'E':
/* 929 */ if ((active0 & 0x1000) != 0L)
/* */ {
/* 931 */ this.jjmatchedKind = 12;
/* 932 */ this.jjmatchedPos = 5;
/* */ }
/* 934 */ else if ((active0 & 0x40000) != 0L)
/* */ {
/* 936 */ this.jjmatchedKind = 18;
/* 937 */ this.jjmatchedPos = 5;
/* */ }
/* 939 */ return jjMoveStringLiteralDfa6_0(active0, 256L);
/* */ case 'H':
/* 941 */ if ((active0 & 0x10000) == 0L)
/* */ break;
/* 943 */ this.jjmatchedKind = 16;
/* 944 */ this.jjmatchedPos = 5; break;
/* */ case 'N':
/* 948 */ return jjMoveStringLiteralDfa6_0(active0, 1024L);
/* */ case 'R':
/* 950 */ if ((active0 & 0x20000000) != 0L)
/* */ {
/* 952 */ this.jjmatchedKind = 29;
/* 953 */ this.jjmatchedPos = 5;
/* */ }
/* 955 */ return jjMoveStringLiteralDfa6_0(active0, 33554432L);
/* */ case 'T':
/* 957 */ if ((active0 & 0x200) != 0L)
/* */ {
/* 959 */ this.jjmatchedKind = 9;
/* 960 */ this.jjmatchedPos = 5;
/* */ }
/* 962 */ else if ((active0 & 0x200000) != 0L)
/* */ {
/* 964 */ this.jjmatchedKind = 21;
/* 965 */ this.jjmatchedPos = 5;
/* */ } else {
/* 967 */ if ((active0 & 0x1000000) == 0L)
/* */ break;
/* 969 */ this.jjmatchedKind = 24;
/* 970 */ this.jjmatchedPos = 5; } break;
/* */ case 'W':
/* 974 */ return jjMoveStringLiteralDfa6_0(active0, 134217728L);
/* */ case 'e':
/* 976 */ if ((active0 & 0x1000) != 0L)
/* */ {
/* 978 */ this.jjmatchedKind = 12;
/* 979 */ this.jjmatchedPos = 5;
/* */ }
/* 981 */ else if ((active0 & 0x40000) != 0L)
/* */ {
/* 983 */ this.jjmatchedKind = 18;
/* 984 */ this.jjmatchedPos = 5;
/* */ }
/* 986 */ return jjMoveStringLiteralDfa6_0(active0, 256L);
/* */ case 'h':
/* 988 */ if ((active0 & 0x10000) == 0L)
/* */ break;
/* 990 */ this.jjmatchedKind = 16;
/* 991 */ this.jjmatchedPos = 5; break;
/* */ case 'n':
/* 995 */ return jjMoveStringLiteralDfa6_0(active0, 1024L);
/* */ case 'r':
/* 997 */ if ((active0 & 0x20000000) != 0L)
/* */ {
/* 999 */ this.jjmatchedKind = 29;
/* 1000 */ this.jjmatchedPos = 5;
/* */ }
/* 1002 */ return jjMoveStringLiteralDfa6_0(active0, 33554432L);
/* */ case 't':
/* 1004 */ if ((active0 & 0x200) != 0L)
/* */ {
/* 1006 */ this.jjmatchedKind = 9;
/* 1007 */ this.jjmatchedPos = 5;
/* */ }
/* 1009 */ else if ((active0 & 0x200000) != 0L)
/* */ {
/* 1011 */ this.jjmatchedKind = 21;
/* 1012 */ this.jjmatchedPos = 5;
/* */ } else {
/* 1014 */ if ((active0 & 0x1000000) == 0L)
/* */ break;
/* 1016 */ this.jjmatchedKind = 24;
/* 1017 */ this.jjmatchedPos = 5; } break;
/* */ case 'w':
/* 1021 */ return jjMoveStringLiteralDfa6_0(active0, 134217728L);
/* */ }
/* */
/* 1025 */ return jjMoveNfa_0(0, 5);
/* */ }
/* */
/* */ private final int jjMoveStringLiteralDfa6_0(long old0, long active0) {
/* 1029 */ if ((active0 &= old0) == 0L)
/* 1030 */ return jjMoveNfa_0(0, 5); try {
/* 1031 */ this.curChar = this.input_stream.readChar();
/* */ } catch (IOException e) {
/* 1033 */ return jjMoveNfa_0(0, 5);
/* */ }
/* 1035 */ switch (this.curChar)
/* */ {
/* */ case 'C':
/* 1038 */ return jjMoveStringLiteralDfa7_0(active0, 1024L);
/* */ case 'I':
/* 1040 */ return jjMoveStringLiteralDfa7_0(active0, 33554432L);
/* */ case 'N':
/* 1042 */ if ((active0 & 0x100) != 0L)
/* */ {
/* 1044 */ this.jjmatchedKind = 8;
/* 1045 */ this.jjmatchedPos = 6;
/* */ } else {
/* 1047 */ if ((active0 & 0x8000000) == 0L)
/* */ break;
/* 1049 */ this.jjmatchedKind = 27;
/* 1050 */ this.jjmatchedPos = 6; } break;
/* */ case 'c':
/* 1054 */ return jjMoveStringLiteralDfa7_0(active0, 1024L);
/* */ case 'i':
/* 1056 */ return jjMoveStringLiteralDfa7_0(active0, 33554432L);
/* */ case 'n':
/* 1058 */ if ((active0 & 0x100) != 0L)
/* */ {
/* 1060 */ this.jjmatchedKind = 8;
/* 1061 */ this.jjmatchedPos = 6;
/* */ } else {
/* 1063 */ if ((active0 & 0x8000000) == 0L)
/* */ break;
/* 1065 */ this.jjmatchedKind = 27;
/* 1066 */ this.jjmatchedPos = 6; } break;
/* */ }
/* */
/* 1072 */ return jjMoveNfa_0(0, 6);
/* */ }
/* */
/* */ private final int jjMoveStringLiteralDfa7_0(long old0, long active0) {
/* 1076 */ if ((active0 &= old0) == 0L)
/* 1077 */ return jjMoveNfa_0(0, 6); try {
/* 1078 */ this.curChar = this.input_stream.readChar();
/* */ } catch (IOException e) {
/* 1080 */ return jjMoveNfa_0(0, 6);
/* */ }
/* 1082 */ switch (this.curChar)
/* */ {
/* */ case 'N':
/* 1085 */ return jjMoveStringLiteralDfa8_0(active0, 33554432L);
/* */ case 'T':
/* 1087 */ if ((active0 & 0x400) == 0L)
/* */ break;
/* 1089 */ this.jjmatchedKind = 10;
/* 1090 */ this.jjmatchedPos = 7; break;
/* */ case 'n':
/* 1094 */ return jjMoveStringLiteralDfa8_0(active0, 33554432L);
/* */ case 't':
/* 1096 */ if ((active0 & 0x400) == 0L)
/* */ break;
/* 1098 */ this.jjmatchedKind = 10;
/* 1099 */ this.jjmatchedPos = 7; break;
/* */ }
/* */
/* 1105 */ return jjMoveNfa_0(0, 7);
/* */ }
/* */
/* */ private final int jjMoveStringLiteralDfa8_0(long old0, long active0) {
/* 1109 */ if ((active0 &= old0) == 0L)
/* 1110 */ return jjMoveNfa_0(0, 7); try {
/* 1111 */ this.curChar = this.input_stream.readChar();
/* */ } catch (IOException e) {
/* 1113 */ return jjMoveNfa_0(0, 7);
/* */ }
/* 1115 */ switch (this.curChar)
/* */ {
/* */ case 'G':
/* 1118 */ if ((active0 & 0x2000000) == 0L)
/* */ break;
/* 1120 */ this.jjmatchedKind = 25;
/* 1121 */ this.jjmatchedPos = 8; break;
/* */ case 'g':
/* 1125 */ if ((active0 & 0x2000000) == 0L)
/* */ break;
/* 1127 */ this.jjmatchedKind = 25;
/* 1128 */ this.jjmatchedPos = 8; break;
/* */ }
/* */
/* 1134 */ return jjMoveNfa_0(0, 8);
/* */ }
/* */
/* */ private final int jjMoveNfa_0(int startState, int curPos)
/* */ {
/* 1144 */ int strKind = this.jjmatchedKind;
/* 1145 */ int strPos = this.jjmatchedPos;
/* */ int seenUpto;
/* 1147 */ this.input_stream.backup(seenUpto = curPos + 1);
/* */ try { this.curChar = this.input_stream.readChar(); } catch (IOException e) {
/* 1149 */ throw new Error("Internal Error");
/* 1150 */ }curPos = 0;
/* */
/* 1152 */ int startsAt = 0;
/* 1153 */ this.jjnewStateCnt = 46;
/* 1154 */ int i = 1;
/* 1155 */ this.jjstateSet[0] = startState;
/* 1156 */ int kind = 2147483647;
/* */ while (true)
/* */ {
/* 1159 */ if (++this.jjround == 2147483647)
/* 1160 */ ReInitRounds();
/* 1161 */ if (this.curChar < '@')
/* */ {
/* 1163 */ long l = 1L << this.curChar;
/* */ do
/* */ {
/* 1166 */ i--; switch (this.jjstateSet[i])
/* */ {
/* */ case 0:
/* 1169 */ if ((0x0 & l) != 0L) {
/* 1170 */ jjCheckNAddStates(3, 9);
/* 1171 */ } else if (this.curChar == '$')
/* */ {
/* 1173 */ if (kind > 63)
/* 1174 */ kind = 63;
/* 1175 */ jjCheckNAddStates(10, 12);
/* */ }
/* 1177 */ else if (this.curChar == '.') {
/* 1178 */ jjCheckNAdd(10);
/* 1179 */ } else if (this.curChar == '\'') {
/* 1180 */ jjCheckNAddStates(13, 15);
/* 1181 */ } else if (this.curChar == '?') {
/* 1182 */ jjAddStates(16, 17);
/* 1183 */ }if ((0x0 & l) != 0L)
/* */ {
/* 1185 */ if (kind > 55)
/* 1186 */ kind = 55;
/* 1187 */ jjCheckNAddTwoStates(7, 8);
/* */ } else {
/* 1189 */ if (this.curChar != '0')
/* */ continue;
/* 1191 */ if (kind > 55)
/* 1192 */ kind = 55;
/* 1193 */ jjCheckNAddStates(18, 20); } break;
/* */ case 1:
/* 1197 */ if ((0xFFFFFFFF & l) == 0L) continue;
/* 1198 */ jjCheckNAddStates(13, 15); break;
/* */ case 2:
/* 1201 */ if (this.curChar != '\'') continue;
/* 1202 */ jjCheckNAddStates(21, 23); break;
/* */ case 3:
/* 1205 */ if (this.curChar != '\'') continue;
/* 1206 */ this.jjstateSet[(this.jjnewStateCnt++)] = 2; break;
/* */ case 4:
/* 1209 */ if ((0xFFFFFFFF & l) == 0L) continue;
/* 1210 */ jjCheckNAddStates(21, 23); break;
/* */ case 5:
/* 1213 */ if ((this.curChar != '\'') || (kind <= 54)) continue;
/* 1214 */ kind = 54; break;
/* */ case 6:
/* 1217 */ if ((0x0 & l) == 0L)
/* */ continue;
/* 1219 */ if (kind > 55)
/* 1220 */ kind = 55;
/* 1221 */ jjCheckNAddTwoStates(7, 8);
/* 1222 */ break;
/* */ case 7:
/* 1224 */ if ((0x0 & l) == 0L)
/* */ continue;
/* 1226 */ if (kind > 55)
/* 1227 */ kind = 55;
/* 1228 */ jjCheckNAddTwoStates(7, 8);
/* 1229 */ break;
/* */ case 9:
/* 1231 */ if (this.curChar != '.') continue;
/* 1232 */ jjCheckNAdd(10); break;
/* */ case 10:
/* 1235 */ if ((0x0 & l) == 0L)
/* */ continue;
/* 1237 */ if (kind > 59)
/* 1238 */ kind = 59;
/* 1239 */ jjCheckNAddStates(24, 26);
/* 1240 */ break;
/* */ case 12:
/* 1242 */ if ((0x0 & l) == 0L) continue;
/* 1243 */ jjCheckNAdd(13); break;
/* */ case 13:
/* 1246 */ if ((0x0 & l) == 0L)
/* */ continue;
/* 1248 */ if (kind > 59)
/* 1249 */ kind = 59;
/* 1250 */ jjCheckNAddTwoStates(13, 14);
/* 1251 */ break;
/* */ case 15:
/* 1253 */ if (this.curChar != '?') continue;
/* 1254 */ jjAddStates(16, 17); break;
/* */ case 16:
/* 1257 */ if ((0x0 & l) == 0L)
/* */ continue;
/* 1259 */ if (kind > 69)
/* 1260 */ kind = 69;
/* 1261 */ jjCheckNAddTwoStates(17, 18);
/* 1262 */ break;
/* */ case 17:
/* 1264 */ if ((0x0 & l) == 0L)
/* */ continue;
/* 1266 */ if (kind > 69)
/* 1267 */ kind = 69;
/* 1268 */ jjCheckNAddTwoStates(17, 18);
/* 1269 */ break;
/* */ case 19:
/* 1271 */ if (this.curChar != '0')
/* */ continue;
/* 1273 */ if (kind > 69)
/* 1274 */ kind = 69;
/* 1275 */ jjCheckNAddStates(27, 29);
/* 1276 */ break;
/* */ case 21:
/* 1278 */ if ((0x0 & l) == 0L)
/* */ continue;
/* 1280 */ if (kind > 69)
/* 1281 */ kind = 69;
/* 1282 */ jjCheckNAddTwoStates(21, 18);
/* 1283 */ break;
/* */ case 22:
/* 1285 */ if ((0x0 & l) == 0L)
/* */ continue;
/* 1287 */ if (kind > 69)
/* 1288 */ kind = 69;
/* 1289 */ jjCheckNAddTwoStates(22, 18);
/* 1290 */ break;
/* */ case 23:
/* 1292 */ if ((0x0 & l) == 0L) continue;
/* 1293 */ jjCheckNAddStates(3, 9); break;
/* */ case 24:
/* 1296 */ if ((0x0 & l) == 0L) continue;
/* 1297 */ jjCheckNAddTwoStates(24, 25); break;
/* */ case 25:
/* 1300 */ if (this.curChar != '.')
/* */ continue;
/* 1302 */ if (kind > 59)
/* 1303 */ kind = 59;
/* 1304 */ jjCheckNAddStates(30, 32);
/* 1305 */ break;
/* */ case 26:
/* 1307 */ if ((0x0 & l) == 0L)
/* */ continue;
/* 1309 */ if (kind > 59)
/* 1310 */ kind = 59;
/* 1311 */ jjCheckNAddStates(30, 32);
/* 1312 */ break;
/* */ case 28:
/* 1314 */ if ((0x0 & l) == 0L) continue;
/* 1315 */ jjCheckNAdd(29); break;
/* */ case 29:
/* 1318 */ if ((0x0 & l) == 0L)
/* */ continue;
/* 1320 */ if (kind > 59)
/* 1321 */ kind = 59;
/* 1322 */ jjCheckNAddTwoStates(29, 14);
/* 1323 */ break;
/* */ case 30:
/* 1325 */ if ((0x0 & l) == 0L) continue;
/* 1326 */ jjCheckNAddTwoStates(30, 31); break;
/* */ case 32:
/* 1329 */ if ((0x0 & l) == 0L) continue;
/* 1330 */ jjCheckNAdd(33); break;
/* */ case 33:
/* 1333 */ if ((0x0 & l) == 0L)
/* */ continue;
/* 1335 */ if (kind > 59)
/* 1336 */ kind = 59;
/* 1337 */ jjCheckNAddTwoStates(33, 14);
/* 1338 */ break;
/* */ case 34:
/* 1340 */ if ((0x0 & l) == 0L) continue;
/* 1341 */ jjCheckNAddStates(33, 35); break;
/* */ case 36:
/* 1344 */ if ((0x0 & l) == 0L) continue;
/* 1345 */ jjCheckNAdd(37); break;
/* */ case 37:
/* 1348 */ if ((0x0 & l) == 0L) continue;
/* 1349 */ jjCheckNAddTwoStates(37, 14); break;
/* */ case 38:
/* 1352 */ if (this.curChar != '0')
/* */ continue;
/* 1354 */ if (kind > 55)
/* 1355 */ kind = 55;
/* 1356 */ jjCheckNAddStates(18, 20);
/* 1357 */ break;
/* */ case 40:
/* 1359 */ if ((0x0 & l) == 0L)
/* */ continue;
/* 1361 */ if (kind > 55)
/* 1362 */ kind = 55;
/* 1363 */ jjCheckNAddTwoStates(40, 8);
/* 1364 */ break;
/* */ case 41:
/* 1366 */ if ((0x0 & l) == 0L)
/* */ continue;
/* 1368 */ if (kind > 55)
/* 1369 */ kind = 55;
/* 1370 */ jjCheckNAddTwoStates(41, 8);
/* 1371 */ break;
/* */ case 42:
/* 1373 */ if (this.curChar != '$')
/* */ continue;
/* 1375 */ if (kind > 63)
/* 1376 */ kind = 63;
/* 1377 */ jjCheckNAddStates(10, 12);
/* 1378 */ break;
/* */ case 43:
/* 1380 */ if ((0x0 & l) == 0L)
/* */ continue;
/* 1382 */ if (kind > 63)
/* 1383 */ kind = 63;
/* 1384 */ jjCheckNAdd(43);
/* 1385 */ break;
/* */ case 44:
/* 1387 */ if ((0x0 & l) == 0L) continue;
/* 1388 */ jjCheckNAddTwoStates(44, 45); break;
/* */ case 45:
/* 1391 */ if ((this.curChar != '.') || (kind <= 76)) continue;
/* 1392 */ kind = 76;
/* */ case 8:
/* */ case 11:
/* */ case 14:
/* */ case 18:
/* */ case 20:
/* */ case 27:
/* */ case 31:
/* */ case 35:
/* 1396 */ case 39: } } while (i != startsAt);
/* */ }
/* 1398 */ else if (this.curChar < '€')
/* */ {
/* 1400 */ long l = 1L << (this.curChar & 0x3F);
/* */ do
/* */ {
/* 1403 */ i--; switch (this.jjstateSet[i])
/* */ {
/* */ case 0:
/* 1406 */ if ((0x87FFFFFE & l) == 0L)
/* */ continue;
/* 1408 */ if (kind > 63)
/* 1409 */ kind = 63;
/* 1410 */ jjCheckNAddStates(10, 12);
/* 1411 */ break;
/* */ case 1:
/* 1413 */ jjCheckNAddStates(13, 15);
/* 1414 */ break;
/* */ case 4:
/* 1416 */ jjCheckNAddStates(21, 23);
/* 1417 */ break;
/* */ case 8:
/* 1419 */ if (((0x1000 & l) == 0L) || (kind <= 55)) continue;
/* 1420 */ kind = 55; break;
/* */ case 11:
/* 1423 */ if ((0x20 & l) == 0L) continue;
/* 1424 */ jjAddStates(36, 37); break;
/* */ case 14:
/* 1427 */ if (((0x50 & l) == 0L) || (kind <= 59)) continue;
/* 1428 */ kind = 59; break;
/* */ case 18:
/* 1431 */ if (((0x1000 & l) == 0L) || (kind <= 69)) continue;
/* 1432 */ kind = 69; break;
/* */ case 20:
/* 1435 */ if ((0x1000000 & l) == 0L) continue;
/* 1436 */ jjCheckNAdd(21); break;
/* */ case 21:
/* 1439 */ if ((0x7E & l) == 0L)
/* */ continue;
/* 1441 */ if (kind > 69)
/* 1442 */ kind = 69;
/* 1443 */ jjCheckNAddTwoStates(21, 18);
/* 1444 */ break;
/* */ case 27:
/* 1446 */ if ((0x20 & l) == 0L) continue;
/* 1447 */ jjAddStates(38, 39); break;
/* */ case 31:
/* 1450 */ if ((0x20 & l) == 0L) continue;
/* 1451 */ jjAddStates(40, 41); break;
/* */ case 35:
/* 1454 */ if ((0x20 & l) == 0L) continue;
/* 1455 */ jjAddStates(42, 43); break;
/* */ case 39:
/* 1458 */ if ((0x1000000 & l) == 0L) continue;
/* 1459 */ jjCheckNAdd(40); break;
/* */ case 40:
/* 1462 */ if ((0x7E & l) == 0L)
/* */ continue;
/* 1464 */ if (kind > 55)
/* 1465 */ kind = 55;
/* 1466 */ jjCheckNAddTwoStates(40, 8);
/* 1467 */ break;
/* */ case 43:
/* 1469 */ if ((0x87FFFFFE & l) == 0L)
/* */ continue;
/* 1471 */ if (kind > 63)
/* 1472 */ kind = 63;
/* 1473 */ jjCheckNAdd(43);
/* 1474 */ break;
/* */ case 44:
/* 1476 */ if ((0x87FFFFFE & l) == 0L) continue;
/* 1477 */ jjCheckNAddTwoStates(44, 45);
/* */ case 2:
/* */ case 3:
/* */ case 5:
/* */ case 6:
/* */ case 7:
/* */ case 9:
/* */ case 10:
/* */ case 12:
/* */ case 13:
/* */ case 15:
/* */ case 16:
/* */ case 17:
/* */ case 19:
/* */ case 22:
/* */ case 23:
/* */ case 24:
/* */ case 25:
/* */ case 26:
/* */ case 28:
/* */ case 29:
/* */ case 30:
/* */ case 32:
/* */ case 33:
/* */ case 34:
/* */ case 36:
/* */ case 37:
/* */ case 38:
/* */ case 41:
/* 1481 */ case 42: } } while (i != startsAt);
/* */ }
/* */ else
/* */ {
/* 1485 */ int hiByte = this.curChar >> '\b';
/* 1486 */ int i1 = hiByte >> 6;
/* 1487 */ long l1 = 1L << (hiByte & 0x3F);
/* 1488 */ int i2 = (this.curChar & 0xFF) >> '\006';
/* 1489 */ long l2 = 1L << (this.curChar & 0x3F);
/* */ do
/* */ {
/* 1492 */ i--; switch (this.jjstateSet[i])
/* */ {
/* */ case 0:
/* 1495 */ if (!jjCanMove_0(hiByte, i1, i2, l1, l2))
/* */ continue;
/* 1497 */ if (kind > 63)
/* 1498 */ kind = 63;
/* 1499 */ jjCheckNAddStates(10, 12);
/* 1500 */ break;
/* */ case 1:
/* 1502 */ if (!jjCanMove_1(hiByte, i1, i2, l1, l2)) continue;
/* 1503 */ jjCheckNAddStates(13, 15); break;
/* */ case 4:
/* 1506 */ if (!jjCanMove_1(hiByte, i1, i2, l1, l2)) continue;
/* 1507 */ jjCheckNAddStates(21, 23); break;
/* */ case 43:
/* 1510 */ if (!jjCanMove_0(hiByte, i1, i2, l1, l2))
/* */ continue;
/* 1512 */ if (kind > 63)
/* 1513 */ kind = 63;
/* 1514 */ jjCheckNAdd(43);
/* 1515 */ break;
/* */ case 44:
/* 1517 */ if (!jjCanMove_0(hiByte, i1, i2, l1, l2)) continue;
/* 1518 */ jjCheckNAddTwoStates(44, 45);
/* */ }
/* */ }
/* */
/* 1522 */ while (i != startsAt);
/* */ }
/* 1524 */ if (kind != 2147483647)
/* */ {
/* 1526 */ this.jjmatchedKind = kind;
/* 1527 */ this.jjmatchedPos = curPos;
/* 1528 */ kind = 2147483647;
/* */ }
/* 1530 */ curPos++;
/* 1531 */ if ((i = this.jjnewStateCnt) != (startsAt = 46 - (this.jjnewStateCnt = startsAt)))
/* */ try {
/* 1533 */ this.curChar = this.input_stream.readChar(); } catch (IOException e) {
/* */ }
/* */ }
/* 1536 */ if (this.jjmatchedPos > strPos) {
/* 1537 */ return curPos;
/* */ }
/* 1539 */ int toRet = Math.max(curPos, seenUpto);
/* */
/* 1541 */ if (curPos < toRet)
/* 1542 */ for (i = toRet - Math.min(curPos, seenUpto); i-- > 0; ) try {
/* 1543 */ this.curChar = this.input_stream.readChar(); } catch (IOException e) {
/* 1544 */ throw new Error("Internal Error : Please send a bug report.");
/* */ }
/* 1546 */ if (this.jjmatchedPos < strPos)
/* */ {
/* 1548 */ this.jjmatchedKind = strKind;
/* 1549 */ this.jjmatchedPos = strPos;
/* */ }
/* 1551 */ else if ((this.jjmatchedPos == strPos) && (this.jjmatchedKind > strKind)) {
/* 1552 */ this.jjmatchedKind = strKind;
/* */ }
/* 1554 */ return toRet;
/* */ }
/* */
/* */ private static final boolean jjCanMove_0(int hiByte, int i1, int i2, long l1, long l2)
/* */ {
/* 1563 */ switch (hiByte)
/* */ {
/* */ case 0:
/* 1566 */ return (jjbitVec2[i2] & l2) != 0L;
/* */ case 48:
/* 1568 */ return (jjbitVec3[i2] & l2) != 0L;
/* */ case 49:
/* 1570 */ return (jjbitVec4[i2] & l2) != 0L;
/* */ case 51:
/* 1572 */ return (jjbitVec5[i2] & l2) != 0L;
/* */ case 61:
/* 1574 */ return (jjbitVec6[i2] & l2) != 0L;
/* */ }
/* */
/* 1577 */ return (jjbitVec0[i1] & l1) != 0L;
/* */ }
/* */
/* */ private static final boolean jjCanMove_1(int hiByte, int i1, int i2, long l1, long l2)
/* */ {
/* 1583 */ switch (hiByte)
/* */ {
/* */ case 0:
/* 1586 */ return (jjbitVec8[i2] & l2) != 0L;
/* */ }
/* */
/* 1589 */ return (jjbitVec7[i1] & l1) != 0L;
/* */ }
/* */
/* */ public EJBQLParserTokenManager(JavaCharStream stream)
/* */ {
/* 1631 */ this.input_stream = stream;
/* */ }
/* */
/* */ public EJBQLParserTokenManager(JavaCharStream stream, int lexState) {
/* 1635 */ this(stream);
/* 1636 */ SwitchTo(lexState);
/* */ }
/* */
/* */ public void ReInit(JavaCharStream stream) {
/* 1640 */ this.jjmatchedPos = (this.jjnewStateCnt = 0);
/* 1641 */ this.curLexState = this.defaultLexState;
/* 1642 */ this.input_stream = stream;
/* 1643 */ ReInitRounds();
/* */ }
/* */
/* */ private final void ReInitRounds()
/* */ {
/* 1648 */ this.jjround = -2147483647;
/* 1649 */ for (int i = 46; i-- > 0; )
/* 1650 */ this.jjrounds[i] = -2147483648;
/* */ }
/* */
/* */ public void ReInit(JavaCharStream stream, int lexState) {
/* 1654 */ ReInit(stream);
/* 1655 */ SwitchTo(lexState);
/* */ }
/* */
/* */ public void SwitchTo(int lexState) {
/* 1659 */ if ((lexState >= 2) || (lexState < 0)) {
/* 1660 */ throw new TokenMgrError("Error: Ignoring invalid lexical state : " + lexState + ". State unchanged.", 2);
/* */ }
/* 1662 */ this.curLexState = lexState;
/* */ }
/* */
/* */ protected Token jjFillToken()
/* */ {
/* 1667 */ Token t = Token.newToken(this.jjmatchedKind);
/* 1668 */ t.kind = this.jjmatchedKind;
/* 1669 */ String im = jjstrLiteralImages[this.jjmatchedKind];
/* 1670 */ t.image = (im == null ? this.input_stream.GetImage() : im);
/* 1671 */ t.beginLine = this.input_stream.getBeginLine();
/* 1672 */ t.beginColumn = this.input_stream.getBeginColumn();
/* 1673 */ t.endLine = this.input_stream.getEndLine();
/* 1674 */ t.endColumn = this.input_stream.getEndColumn();
/* 1675 */ return t;
/* */ }
/* */
/* */ public Token getNextToken()
/* */ {
/* 1688 */ Token specialToken = null;
/* */
/* 1690 */ int curPos = 0;
/* */ while (true)
/* */ {
/* */ try
/* */ {
/* 1697 */ this.curChar = this.input_stream.BeginToken();
/* */ }
/* */ catch (IOException e)
/* */ {
/* 1701 */ this.jjmatchedKind = 0;
/* 1702 */ Token matchedToken = jjFillToken();
/* 1703 */ matchedToken.specialToken = specialToken;
/* 1704 */ return matchedToken;
/* */ }
/* 1706 */ this.image = null;
/* 1707 */ this.jjimageLen = 0;
/* */
/* 1709 */ switch (this.curLexState)
/* */ {
/* */ case 0:
/* 1712 */ this.jjmatchedKind = 2147483647;
/* 1713 */ this.jjmatchedPos = 0;
/* 1714 */ curPos = jjMoveStringLiteralDfa0_0();
/* 1715 */ break;
/* */ case 1:
/* 1717 */ this.jjmatchedKind = 2147483647;
/* 1718 */ this.jjmatchedPos = 0;
/* 1719 */ curPos = jjMoveStringLiteralDfa0_1();
/* */ }
/* */
/* 1722 */ if (this.jjmatchedKind == 2147483647)
/* */ break;
/* 1724 */ if (this.jjmatchedPos + 1 < curPos)
/* 1725 */ this.input_stream.backup(curPos - this.jjmatchedPos - 1);
/* 1726 */ if ((jjtoToken[(this.jjmatchedKind >> 6)] & 1L << (this.jjmatchedKind & 0x3F)) != 0L)
/* */ {
/* 1728 */ Token matchedToken = jjFillToken();
/* 1729 */ matchedToken.specialToken = specialToken;
/* 1730 */ TokenLexicalActions(matchedToken);
/* 1731 */ if (jjnewLexState[this.jjmatchedKind] != -1)
/* 1732 */ this.curLexState = jjnewLexState[this.jjmatchedKind];
/* 1733 */ return matchedToken;
/* */ }
/* */
/* 1737 */ if ((jjtoSpecial[(this.jjmatchedKind >> 6)] & 1L << (this.jjmatchedKind & 0x3F)) != 0L)
/* */ {
/* 1739 */ Token matchedToken = jjFillToken();
/* 1740 */ if (specialToken == null) {
/* 1741 */ specialToken = matchedToken;
/* */ }
/* */ else {
/* 1744 */ matchedToken.specialToken = specialToken;
/* 1745 */ specialToken = specialToken.next = matchedToken;
/* */ }
/* 1747 */ SkipLexicalActions(matchedToken);
/* */ }
/* */ else {
/* 1750 */ SkipLexicalActions(null);
/* 1751 */ }if (jjnewLexState[this.jjmatchedKind] != -1) {
/* 1752 */ this.curLexState = jjnewLexState[this.jjmatchedKind];
/* */ }
/* */ }
/* */
/* 1756 */ int error_line = this.input_stream.getEndLine();
/* 1757 */ int error_column = this.input_stream.getEndColumn();
/* 1758 */ String error_after = null;
/* 1759 */ boolean EOFSeen = false;
/* */ try { this.input_stream.readChar(); this.input_stream.backup(1);
/* */ } catch (IOException e1) {
/* 1762 */ EOFSeen = true;
/* 1763 */ error_after = curPos <= 1 ? "" : this.input_stream.GetImage();
/* 1764 */ if ((this.curChar == '\n') || (this.curChar == '\r')) {
/* 1765 */ error_line++;
/* 1766 */ error_column = 0;
/* */ }
/* */ else {
/* 1769 */ error_column++;
/* */ }
/* */ }
/* 1771 */ if (!EOFSeen) {
/* 1772 */ this.input_stream.backup(1);
/* 1773 */ error_after = curPos <= 1 ? "" : this.input_stream.GetImage();
/* */ }
/* 1775 */ throw new TokenMgrError(EOFSeen, this.curLexState, error_line, error_column, error_after, this.curChar, 0);
/* */ }
/* */
/* */ void SkipLexicalActions(Token matchedToken)
/* */ {
/* 1781 */ switch (this.jjmatchedKind)
/* */ {
/* */ case 76:
/* 1784 */ if (this.image == null)
/* 1785 */ this.image = new StringBuffer(new String(this.input_stream.GetSuffix(this.jjimageLen + (this.lengthOfMatch = this.jjmatchedPos + 1))));
/* */ else
/* 1787 */ this.image.append(this.input_stream.GetSuffix(this.jjimageLen + (this.lengthOfMatch = this.jjmatchedPos + 1)));
/* 1788 */ resetPath();
/* 1789 */ addPath(matchedToken.image.toLowerCase());
/* 1790 */ break;
/* */ case 77:
/* 1792 */ if (this.image == null)
/* 1793 */ this.image = new StringBuffer(new String(this.input_stream.GetSuffix(this.jjimageLen + (this.lengthOfMatch = this.jjmatchedPos + 1))));
/* */ else
/* 1795 */ this.image.append(this.input_stream.GetSuffix(this.jjimageLen + (this.lengthOfMatch = this.jjmatchedPos + 1)));
/* 1796 */ addPath(matchedToken.image);
/* 1797 */ break;
/* */ }
/* */ }
/* */
/* */ void TokenLexicalActions(Token matchedToken)
/* */ {
/* 1804 */ switch (this.jjmatchedKind)
/* */ {
/* */ case 63:
/* 1807 */ if (this.image == null)
/* 1808 */ this.image = new StringBuffer(new String(this.input_stream.GetSuffix(this.jjimageLen + (this.lengthOfMatch = this.jjmatchedPos + 1))));
/* */ else
/* 1810 */ this.image.append(this.input_stream.GetSuffix(this.jjimageLen + (this.lengthOfMatch = this.jjmatchedPos + 1)));
/* 1811 */ if (this.catalog.getEntityByAbstractSchemaName(matchedToken.image) != null) {
/* 1812 */ matchedToken.kind = 64; } else {
/* 1813 */ if (this.idManager.getEntity(matchedToken.image.toLowerCase()) == null) break;
/* 1814 */ matchedToken.kind = 65;
/* 1815 */ matchedToken.image = matchedToken.image.toLowerCase();
/* */
/* 1817 */ List pathList = new ArrayList();
/* 1818 */ pathList.add(matchedToken.image);
/* 1819 */ List fieldList = new ArrayList();
/* 1820 */ fieldList.add(this.idManager.getEntity(matchedToken.image));
/* 1821 */ this.idManager.registerPath(matchedToken.image, pathList, fieldList);
/* 1822 */ }break;
/* */ case 69:
/* 1825 */ if (this.image == null)
/* 1826 */ this.image = new StringBuffer(new String(this.input_stream.GetSuffix(this.jjimageLen + (this.lengthOfMatch = this.jjmatchedPos + 1))));
/* */ else
/* 1828 */ this.image.append(this.input_stream.GetSuffix(this.jjimageLen + (this.lengthOfMatch = this.jjmatchedPos + 1)));
/* 1829 */ int n = -1;
/* */ try {
/* 1831 */ n = Integer.parseInt(matchedToken.image.substring(1, this.lengthOfMatch));
/* */ } catch (Exception e) {
/* */ }
/* 1834 */ matchedToken.image = ("" + n);
/* */
/* 1837 */ n--;
/* */
/* 1839 */ if (n >= this.argumentTypes.length) break;
/* 1840 */ switch (EJBQLTypes.getEJBQLType(this.argumentTypes[n])) {
/* */ case 1:
/* 1842 */ matchedToken.kind = 70;
/* 1843 */ break;
/* */ case 2:
/* 1845 */ matchedToken.kind = 71;
/* 1846 */ break;
/* */ case 3:
/* 1848 */ matchedToken.kind = 72;
/* 1849 */ break;
/* */ case 4:
/* 1851 */ matchedToken.kind = 73;
/* 1852 */ break;
/* */ case 5:
/* 1854 */ matchedToken.kind = 74;
/* 1855 */ break;
/* */ case 6:
/* 1857 */ matchedToken.kind = 75;
/* 1858 */ }break;
/* */ case 78:
/* 1863 */ if (this.image == null)
/* 1864 */ this.image = new StringBuffer(new String(this.input_stream.GetSuffix(this.jjimageLen + (this.lengthOfMatch = this.jjmatchedPos + 1))));
/* */ else
/* 1866 */ this.image.append(this.input_stream.GetSuffix(this.jjimageLen + (this.lengthOfMatch = this.jjmatchedPos + 1)));
/* 1867 */ String fieldName = matchedToken.image;
/* 1868 */ matchedToken.image = (this.path + fieldName);
/* */
/* 1870 */ FieldBridge field = getCurrentSchema().getFieldByName(fieldName);
/* 1871 */ if (field == null) {
/* 1872 */ throwUnknownPath("Unknown terminal field", fieldName);
/* */ }
/* 1874 */ if ((field instanceof CMPFieldBridge)) {
/* 1875 */ CMPFieldBridge cmpField = (CMPFieldBridge)field;
/* 1876 */ switch (EJBQLTypes.getEJBQLType(cmpField.getFieldType())) {
/* */ case 1:
/* 1878 */ matchedToken.kind = 79;
/* 1879 */ break;
/* */ case 2:
/* 1881 */ matchedToken.kind = 80;
/* 1882 */ break;
/* */ case 3:
/* 1884 */ matchedToken.kind = 81;
/* 1885 */ break;
/* */ case 4:
/* 1887 */ matchedToken.kind = 82;
/* 1888 */ break;
/* */ case 5:
/* 1890 */ matchedToken.kind = 83;
/* 1891 */ break;
/* */ case 6:
/* 1893 */ matchedToken.kind = 84;
/* 1894 */ break;
/* */ default:
/* 1896 */ throwUnknownPath("Unknown cmp field type", fieldName);
/* */ }
/* */ } else {
/* 1899 */ CMRFieldBridge cmrField = (CMRFieldBridge)field;
/* 1900 */ if (cmrField.isSingleValued())
/* 1901 */ matchedToken.kind = 83;
/* */ else {
/* 1903 */ matchedToken.kind = 86;
/* */ }
/* */ }
/* 1906 */ this.pathList.add(matchedToken.image);
/* 1907 */ this.fieldList.add(field);
/* 1908 */ this.idManager.registerPath(matchedToken.image, this.pathList, this.fieldList);
/* 1909 */ resetPath();
/* 1910 */ break;
/* */ }
/* */ }
/* */ }
/* Location: /home/mnovotny/projects/EMBEDDED_JBOSS_BETA3_COMMUNITY/embedded/output/lib/embedded-jboss/lib/jboss-embedded-all.jar
* Qualified Name: org.jboss.ejb.plugins.cmp.ejbql.EJBQLParserTokenManager
* JD-Core Version: 0.6.0
*/