/* Generated By:JavaCC: Do not edit this line. StreamSqlParserTokenManager.java */ package org.yamcs.yarch.streamsql; import java.io.Reader; import java.io.FileInputStream; import java.util.HashSet; import java.util.Set; import java.util.List; import java.util.ArrayList; import java.math.BigDecimal; import java.math.BigInteger; import org.yamcs.yarch.*; import org.yamcs.yarch.TableWriter.InsertMode; import org.yamcs.yarch.TableDefinition.PartitionStorage; /** Token Manager. */ public class StreamSqlParserTokenManager implements StreamSqlParserConstants { /** Debug output. */ public java.io.PrintStream debugStream = System.out; /** Set debug output. */ public void setDebugStream(java.io.PrintStream ds) { debugStream = ds; } private final int jjStopStringLiteralDfa_0(int pos, long active0, long active1, long active2) { switch (pos) { case 0: if ((active1 & 0x1000000000000000L) != 0L) return 10; if ((active0 & 0xffffffffffffffe0L) != 0L || (active1 & 0x1ffffffffffL) != 0L) { jjmatchedKind = 113; return 32; } if ((active1 & 0x8000000000000000L) != 0L) return 13; return -1; case 1: if ((active0 & 0xf807fe0000031800L) != 0L) return 32; if ((active0 & 0x7f801fffffce7e0L) != 0L || (active1 & 0x1ffffffffffL) != 0L) { if (jjmatchedPos != 1) { jjmatchedKind = 113; jjmatchedPos = 1; } return 32; } return -1; case 2: if ((active0 & 0x80000000000L) != 0L) { if (jjmatchedPos != 2) { jjmatchedKind = 113; jjmatchedPos = 2; } return 21; } if ((active0 & 0xcb000000001680L) != 0L || (active1 & 0x1000009803L) != 0L) return 32; if ((active0 & 0xd730f1fffffee160L) != 0L || (active1 & 0x1efffff67fcL) != 0L) { if (jjmatchedPos != 2) { jjmatchedKind = 113; jjmatchedPos = 2; } return 32; } return -1; case 3: if ((active0 & 0xc120f1bd6df8e120L) != 0L || (active1 & 0x16f8ffc64eeL) != 0L) { if (jjmatchedPos != 3) { jjmatchedKind = 113; jjmatchedPos = 3; } return 32; } if ((active0 & 0x1612004292060040L) != 0L || (active1 & 0x8070031310L) != 0L) return 32; if ((active0 & 0x80000000000L) != 0L) { if (jjmatchedPos != 3) { jjmatchedKind = 113; jjmatchedPos = 3; } return 21; } return -1; case 4: if ((active0 & 0x4420302000080100L) != 0L || (active1 & 0x1600e140080L) != 0L) return 32; if ((active0 & 0x8100c19d6df0e020L) != 0L || (active1 & 0xfc1c8646eL) != 0L) { if (jjmatchedPos != 4) { jjmatchedKind = 113; jjmatchedPos = 4; } return 32; } if ((active0 & 0x80000000000L) != 0L || (active1 & 0x20200000L) != 0L) { if (jjmatchedPos != 4) { jjmatchedKind = 113; jjmatchedPos = 4; } return 21; } return -1; case 5: if ((active0 & 0x1000000000L) != 0L || (active1 & 0x24200000L) != 0L) { if (jjmatchedPos != 5) { jjmatchedKind = 113; jjmatchedPos = 5; } return 21; } if ((active0 & 0xc08d48404000L) != 0L || (active1 & 0xf89c06002L) != 0L) return 32; if ((active0 & 0x80000000000L) != 0L) return 21; if ((active0 & 0x8100010025b0a020L) != 0L || (active1 & 0x4008046cL) != 0L) { if (jjmatchedPos != 5) { jjmatchedKind = 113; jjmatchedPos = 5; } return 32; } return -1; case 6: if ((active0 & 0x8100010020200000L) != 0L || (active1 & 0x4008004cL) != 0L) { jjmatchedKind = 113; jjmatchedPos = 6; return 32; } if ((active0 & 0x580a020L) != 0L || (active1 & 0x800420L) != 0L) return 32; if ((active0 & 0x801000100000L) != 0L || (active1 & 0x824200000L) != 0L) { jjmatchedKind = 113; jjmatchedPos = 6; return 21; } return -1; case 7: if ((active0 & 0x8100000020000000L) != 0L || (active1 & 0x80040L) != 0L) return 32; if ((active0 & 0x10000200000L) != 0L || (active1 & 0x4000000cL) != 0L) { jjmatchedKind = 113; jjmatchedPos = 7; return 32; } if ((active0 & 0x801000100000L) != 0L || (active1 & 0x824200000L) != 0L) { jjmatchedKind = 113; jjmatchedPos = 7; return 21; } return -1; case 8: if ((active0 & 0x801000100000L) != 0L || (active1 & 0x824200000L) != 0L) { if (jjmatchedPos != 8) { jjmatchedKind = 113; jjmatchedPos = 8; } return 21; } if ((active0 & 0x10000000000L) != 0L || (active1 & 0x4000000cL) != 0L) return 32; if ((active0 & 0x200000L) != 0L) { if (jjmatchedPos != 8) { jjmatchedKind = 113; jjmatchedPos = 8; } return 32; } return -1; case 9: if ((active0 & 0x200000L) != 0L) return 32; if ((active0 & 0x801000100000L) != 0L || (active1 & 0x824200008L) != 0L) { jjmatchedKind = 113; jjmatchedPos = 9; return 21; } return -1; case 10: if ((active0 & 0x1000000000L) != 0L) return 21; if ((active0 & 0x800000100000L) != 0L || (active1 & 0x824200008L) != 0L) { jjmatchedKind = 113; jjmatchedPos = 10; return 21; } return -1; case 11: if ((active0 & 0x800000100000L) != 0L || (active1 & 0x820000008L) != 0L) { jjmatchedKind = 113; jjmatchedPos = 11; return 21; } if ((active1 & 0x4200000L) != 0L) return 21; return -1; case 12: if ((active1 & 0x20000008L) != 0L) { jjmatchedKind = 113; jjmatchedPos = 12; return 21; } if ((active0 & 0x800000100000L) != 0L || (active1 & 0x800000000L) != 0L) return 21; return -1; case 13: if ((active1 & 0x20000000L) != 0L) return 21; if ((active1 & 0x8L) != 0L) { jjmatchedKind = 113; jjmatchedPos = 13; return 21; } return -1; case 14: if ((active1 & 0x8L) != 0L) { jjmatchedKind = 113; jjmatchedPos = 14; return 21; } return -1; case 15: if ((active1 & 0x8L) != 0L) { jjmatchedKind = 113; jjmatchedPos = 15; return 21; } return -1; default : return -1; } } private final int jjStartNfa_0(int pos, long active0, long active1, long active2) { return jjMoveNfa_0(jjStopStringLiteralDfa_0(pos, active0, active1, active2), pos + 1); } private int jjStopAtPos(int pos, int kind) { jjmatchedKind = kind; jjmatchedPos = pos; return pos + 1; } private int jjMoveStringLiteralDfa0_0() { switch(curChar) { case 33: return jjStopAtPos(0, 128); case 40: return jjStopAtPos(0, 117); case 41: return jjStopAtPos(0, 118); case 42: jjmatchedKind = 126; return jjMoveStringLiteralDfa1_0(0x0L, 0x400000000000000L, 0x0L); case 43: return jjStopAtPos(0, 123); case 44: return jjStopAtPos(0, 119); case 45: return jjStartNfaWithStates_0(0, 124, 10); case 47: return jjStartNfaWithStates_0(0, 127, 13); case 59: return jjStopAtPos(0, 121); case 60: return jjStopAtPos(0, 130); case 61: jjmatchedKind = 120; return jjMoveStringLiteralDfa1_0(0x0L, 0x0L, 0x8L); case 62: return jjStopAtPos(0, 129); case 91: return jjStopAtPos(0, 132); case 93: return jjStopAtPos(0, 133); case 65: case 97: return jjMoveStringLiteralDfa1_0(0x1fe0L, 0x0L, 0x0L); case 66: case 98: return jjMoveStringLiteralDfa1_0(0x3e000L, 0x0L, 0x0L); case 67: case 99: return jjMoveStringLiteralDfa1_0(0xfc0000L, 0x0L, 0x0L); case 68: case 100: return jjMoveStringLiteralDfa1_0(0xff000000L, 0x0L, 0x0L); case 69: case 101: return jjMoveStringLiteralDfa1_0(0xf00000000L, 0x0L, 0x0L); case 70: case 102: return jjMoveStringLiteralDfa1_0(0x7000000000L, 0x0L, 0x0L); case 72: case 104: return jjMoveStringLiteralDfa1_0(0x18000000000L, 0x0L, 0x0L); case 73: case 105: return jjMoveStringLiteralDfa1_0(0x7fe0000000000L, 0x0L, 0x0L); case 75: case 107: return jjMoveStringLiteralDfa1_0(0x8000000000000L, 0x0L, 0x0L); case 76: case 108: return jjMoveStringLiteralDfa1_0(0x10000000000000L, 0x0L, 0x0L); case 77: case 109: return jjMoveStringLiteralDfa1_0(0x60000000000000L, 0x0L, 0x0L); case 78: case 110: return jjMoveStringLiteralDfa1_0(0x780000000000000L, 0x0L, 0x0L); case 79: case 111: return jjMoveStringLiteralDfa1_0(0xf800000000000000L, 0x3L, 0x0L); case 80: case 112: return jjMoveStringLiteralDfa1_0(0x0L, 0x7cL, 0x0L); case 82: case 114: return jjMoveStringLiteralDfa1_0(0x0L, 0x1f80L, 0x0L); case 83: case 115: return jjMoveStringLiteralDfa1_0(0x0L, 0x1ffe000L, 0x0L); case 84: case 116: return jjMoveStringLiteralDfa1_0(0x0L, 0xfe000000L, 0x0L); case 85: case 117: return jjMoveStringLiteralDfa1_0(0x0L, 0x3f00000000L, 0x0L); case 86: case 118: return jjMoveStringLiteralDfa1_0(0x0L, 0x4000000000L, 0x0L); case 87: case 119: return jjMoveStringLiteralDfa1_0(0x0L, 0x18000000000L, 0x0L); case 124: return jjMoveStringLiteralDfa1_0(0x0L, 0x2000000000000000L, 0x0L); default : return jjMoveNfa_0(5, 0); } } private int jjMoveStringLiteralDfa1_0(long active0, long active1, long active2) { try { curChar = input_stream.readChar(); } catch(java.io.IOException e) { jjStopStringLiteralDfa_0(0, active0, active1, active2); return 1; } switch(curChar) { case 42: if ((active1 & 0x400000000000000L) != 0L) return jjStopAtPos(1, 122); break; case 62: if ((active2 & 0x8L) != 0L) return jjStopAtPos(1, 131); break; case 65: case 97: return jjMoveStringLiteralDfa2_0(active0, 0x8003000000L, active1, 0x400e00208cL, active2, 0L); case 68: case 100: return jjMoveStringLiteralDfa2_0(active0, 0x20L, active1, 0L, active2, 0L); case 69: case 101: return jjMoveStringLiteralDfa2_0(active0, 0x2800001c002000L, active1, 0xc700L, active2, 0L); case 70: case 102: if ((active0 & 0x20000000000L) != 0L) return jjStartNfaWithStates_0(1, 41, 32); return jjMoveStringLiteralDfa2_0(active0, 0x40L, active1, 0L, active2, 0L); case 72: case 104: return jjMoveStringLiteralDfa2_0(active0, 0x40000L, active1, 0x18000060000L, active2, 0L); case 73: case 105: return jjMoveStringLiteralDfa2_0(active0, 0x10011020004000L, active1, 0x70010000L, active2, 0L); case 76: case 108: return jjMoveStringLiteralDfa2_0(active0, 0x2000080180L, active1, 0L, active2, 0L); case 77: case 109: return jjMoveStringLiteralDfa2_0(active0, 0L, active1, 0x80000L, active2, 0L); case 78: case 110: if ((active0 & 0x40000000000L) != 0L) { jjmatchedKind = 42; jjmatchedPos = 1; } else if ((active0 & 0x800000000000000L) != 0L) { jjmatchedKind = 59; jjmatchedPos = 1; } return jjMoveStringLiteralDfa2_0(active0, 0x1003f80300000600L, active1, 0x100000000L, active2, 0L); case 79: case 111: return jjMoveStringLiteralDfa2_0(active0, 0x1c0000040308000L, active1, 0x1810L, active2, 0L); case 80: case 112: return jjMoveStringLiteralDfa2_0(active0, 0L, active1, 0xe00100000L, active2, 0L); case 82: case 114: if ((active0 & 0x2000000000000000L) != 0L) { jjmatchedKind = 61; jjmatchedPos = 1; } return jjMoveStringLiteralDfa2_0(active0, 0xc000004080400000L, active1, 0x60L, active2, 0L); case 83: case 115: if ((active0 & 0x800L) != 0L) { jjmatchedKind = 11; jjmatchedPos = 1; } else if ((active0 & 0x4000000000000L) != 0L) return jjStartNfaWithStates_0(1, 50, 32); return jjMoveStringLiteralDfa2_0(active0, 0x400001000L, active1, 0x3000000000L, active2, 0L); case 84: case 116: return jjMoveStringLiteralDfa2_0(active0, 0L, active1, 0x1e00000L, active2, 0L); case 85: case 117: return jjMoveStringLiteralDfa2_0(active0, 0x600000000800000L, active1, 0x80000003L, active2, 0L); case 88: case 120: return jjMoveStringLiteralDfa2_0(active0, 0x800000000L, active1, 0L, active2, 0L); case 89: case 121: if ((active0 & 0x10000L) != 0L) { jjmatchedKind = 16; jjmatchedPos = 1; } return jjMoveStringLiteralDfa2_0(active0, 0x20000L, active1, 0L, active2, 0L); case 124: if ((active1 & 0x2000000000000000L) != 0L) return jjStopAtPos(1, 125); break; default : break; } return jjStartNfa_0(0, active0, active1, active2); } private int jjMoveStringLiteralDfa2_0(long old0, long active0, long old1, long active1, long old2, long active2) { if (((active0 &= old0) | (active1 &= old1) | (active2 &= old2)) == 0L) return jjStartNfa_0(0, old0, old1, old2); try { curChar = input_stream.readChar(); } catch(java.io.IOException e) { jjStopStringLiteralDfa_0(1, active0, active1, 0L); return 2; } switch(curChar) { case 95: return jjMoveStringLiteralDfa3_0(active0, 0x80000000000L, active1, 0L); case 65: case 97: return jjMoveStringLiteralDfa3_0(active0, 0x40040L, active1, 0x80300L); case 66: case 98: return jjMoveStringLiteralDfa3_0(active0, 0L, active1, 0xe000000L); case 67: case 99: if ((active0 & 0x1000L) != 0L) return jjStartNfaWithStates_0(2, 12, 32); return jjMoveStringLiteralDfa3_0(active0, 0x404000000L, active1, 0L); case 68: case 100: if ((active0 & 0x200L) != 0L) return jjStartNfaWithStates_0(2, 9, 32); else if ((active0 & 0x40000000000000L) != 0L) return jjStartNfaWithStates_0(2, 54, 32); return jjMoveStringLiteralDfa3_0(active0, 0x4000200000000000L, active1, 0x200000000L); case 69: case 101: if ((active1 & 0x1000000000L) != 0L) return jjStartNfaWithStates_0(2, 100, 32); return jjMoveStringLiteralDfa3_0(active0, 0x400000L, active1, 0x18000300000L); case 70: case 102: return jjMoveStringLiteralDfa3_0(active0, 0x100000000000000L, active1, 0L); case 71: case 103: return jjMoveStringLiteralDfa3_0(active0, 0x100000000L, active1, 0L); case 73: case 105: return jjMoveStringLiteralDfa3_0(active0, 0x8000000800000000L, active1, 0x2100000020L); case 75: case 107: return jjMoveStringLiteralDfa3_0(active0, 0x10000000000000L, active1, 0L); case 76: case 108: if ((active0 & 0x80L) != 0L) return jjStartNfaWithStates_0(2, 7, 32); return jjMoveStringLiteralDfa3_0(active0, 0x1600000008100000L, active1, 0x4000004000L); case 77: case 109: return jjMoveStringLiteralDfa3_0(active0, 0x200000L, active1, 0x70002000L); case 78: case 110: return jjMoveStringLiteralDfa3_0(active0, 0x4000L, active1, 0x80L); case 79: case 111: return jjMoveStringLiteralDfa3_0(active0, 0x6080088000L, active1, 0x60040L); case 80: case 112: return jjMoveStringLiteralDfa3_0(active0, 0x100000000000L, active1, 0x80000000L); case 82: case 114: return jjMoveStringLiteralDfa3_0(active0, 0x20000000800000L, active1, 0x1c0001cL); case 83: case 115: return jjMoveStringLiteralDfa3_0(active0, 0xc10030000000L, active1, 0xc00000000L); case 84: case 116: if ((active0 & 0x1000000000000L) != 0L) { jjmatchedKind = 48; jjmatchedPos = 2; } else if ((active0 & 0x80000000000000L) != 0L) return jjStartNfaWithStates_0(2, 55, 32); else if ((active1 & 0x1L) != 0L) { jjmatchedKind = 64; jjmatchedPos = 2; } else if ((active1 & 0x8000L) != 0L) return jjStartNfaWithStates_0(2, 79, 32); return jjMoveStringLiteralDfa3_0(active0, 0x2000003022100L, active1, 0x2L); case 85: case 117: return jjMoveStringLiteralDfa3_0(active0, 0x240000000L, active1, 0L); case 86: case 118: return jjMoveStringLiteralDfa3_0(active0, 0x8000000020L, active1, 0x400L); case 87: case 119: if ((active1 & 0x800L) != 0L) { jjmatchedKind = 75; jjmatchedPos = 2; } return jjMoveStringLiteralDfa3_0(active0, 0L, active1, 0x1000L); case 88: case 120: return jjMoveStringLiteralDfa3_0(active0, 0x1000000000L, active1, 0L); case 89: case 121: if ((active0 & 0x400L) != 0L) return jjStartNfaWithStates_0(2, 10, 32); else if ((active0 & 0x8000000000000L) != 0L) return jjStartNfaWithStates_0(2, 51, 32); break; case 90: case 122: return jjMoveStringLiteralDfa3_0(active0, 0L, active1, 0x10000L); default : break; } return jjStartNfa_0(1, active0, active1, 0L); } private int jjMoveStringLiteralDfa3_0(long old0, long active0, long old1, long active1) { if (((active0 &= old0) | (active1 &= old1)) == 0L) return jjStartNfa_0(1, old0, old1, 0L); try { curChar = input_stream.readChar(); } catch(java.io.IOException e) { jjStopStringLiteralDfa_0(2, active0, active1, 0L); return 3; } switch(curChar) { case 65: case 97: return jjMoveStringLiteralDfa4_0(active0, 0x2401404020L, active1, 0x200000000L); case 66: case 98: return jjMoveStringLiteralDfa4_0(active0, 0x40000000L, active1, 0L); case 67: case 99: if ((active0 & 0x10000000L) != 0L) return jjStartNfaWithStates_0(3, 28, 32); break; case 68: case 100: if ((active1 & 0x100L) != 0L) return jjStartNfaWithStates_0(3, 72, 32); break; case 69: case 101: if ((active0 & 0x20000L) != 0L) return jjStartNfaWithStates_0(3, 17, 32); else if ((active0 & 0x2000000L) != 0L) return jjStartNfaWithStates_0(3, 25, 32); else if ((active0 & 0x10000000000000L) != 0L) return jjStartNfaWithStates_0(3, 52, 32); else if ((active1 & 0x10000L) != 0L) return jjStartNfaWithStates_0(3, 80, 32); else if ((active1 & 0x10000000L) != 0L) { jjmatchedKind = 92; jjmatchedPos = 3; } return jjMoveStringLiteralDfa4_0(active0, 0x4000e01008000100L, active1, 0xc60d04400L); case 71: case 103: return jjMoveStringLiteralDfa4_0(active0, 0x8020000000000000L, active1, 0x80L); case 73: case 105: return jjMoveStringLiteralDfa4_0(active0, 0x8104000000L, active1, 0x1000000L); case 75: case 107: return jjMoveStringLiteralDfa4_0(active0, 0x80000000000L, active1, 0L); case 76: case 108: if ((active0 & 0x200000000000000L) != 0L) { jjmatchedKind = 57; jjmatchedPos = 3; } else if ((active1 & 0x200L) != 0L) return jjStartNfaWithStates_0(3, 73, 32); return jjMoveStringLiteralDfa4_0(active0, 0x400000000008000L, active1, 0x8e080000L); case 77: case 109: if ((active0 & 0x200000000L) != 0L) return jjStartNfaWithStates_0(3, 33, 32); else if ((active0 & 0x4000000000L) != 0L) return jjStartNfaWithStates_0(3, 38, 32); return jjMoveStringLiteralDfa4_0(active0, 0L, active1, 0x20L); case 78: case 110: if ((active1 & 0x8000000000L) != 0L) return jjStartNfaWithStates_0(3, 103, 32); return jjMoveStringLiteralDfa4_0(active0, 0L, active1, 0x2000000000L); case 79: case 111: if ((active0 & 0x2000000000000L) != 0L) return jjStartNfaWithStates_0(3, 49, 32); return jjMoveStringLiteralDfa4_0(active0, 0x100000000000000L, active1, 0L); case 80: case 112: if ((active0 & 0x40L) != 0L) return jjStartNfaWithStates_0(3, 6, 32); else if ((active0 & 0x80000000L) != 0L) return jjStartNfaWithStates_0(3, 31, 32); return jjMoveStringLiteralDfa4_0(active0, 0x200000L, active1, 0x202002L); case 81: case 113: return jjMoveStringLiteralDfa4_0(active0, 0L, active1, 0x100000000L); case 82: case 114: if ((active0 & 0x40000L) != 0L) return jjStartNfaWithStates_0(3, 18, 32); return jjMoveStringLiteralDfa4_0(active0, 0x800000L, active1, 0x10000040000L); case 83: case 115: if ((active1 & 0x1000L) != 0L) return jjStartNfaWithStates_0(3, 76, 32); return jjMoveStringLiteralDfa4_0(active0, 0x800080000L, active1, 0L); case 84: case 116: if ((active1 & 0x10L) != 0L) return jjStartNfaWithStates_0(3, 68, 32); return jjMoveStringLiteralDfa4_0(active0, 0x10020000000L, active1, 0x4cL); case 85: case 117: return jjMoveStringLiteralDfa4_0(active0, 0x100000100000L, active1, 0x4000000000L); case 87: case 119: if ((active1 & 0x20000L) != 0L) return jjStartNfaWithStates_0(3, 81, 32); return jjMoveStringLiteralDfa4_0(active0, 0x2000L, active1, 0L); case 89: case 121: if ((active0 & 0x1000000000000000L) != 0L) return jjStartNfaWithStates_0(3, 60, 32); break; default : break; } return jjStartNfa_0(2, active0, active1, 0L); } private int jjMoveStringLiteralDfa4_0(long old0, long active0, long old1, long active1) { if (((active0 &= old0) | (active1 &= old1)) == 0L) return jjStartNfa_0(2, old0, old1, 0L); try { curChar = input_stream.readChar(); } catch(java.io.IOException e) { jjStopStringLiteralDfa_0(3, active0, active1, 0L); return 4; } switch(curChar) { case 95: return jjMoveStringLiteralDfa5_0(active0, 0L, active1, 0x20200000L); case 65: case 97: return jjMoveStringLiteralDfa5_0(active0, 0L, active1, 0xc00020L); case 67: case 99: return jjMoveStringLiteralDfa5_0(active0, 0L, active1, 0x4000L); case 68: case 100: if ((active1 & 0x100000L) != 0L) return jjStartNfaWithStates_0(4, 84, 32); return jjMoveStringLiteralDfa5_0(active0, 0x1001000000L, active1, 0L); case 69: case 101: if ((active0 & 0x80000L) != 0L) return jjStartNfaWithStates_0(4, 19, 32); else if ((active0 & 0x20000000000000L) != 0L) return jjStartNfaWithStates_0(4, 53, 32); else if ((active1 & 0x80L) != 0L) return jjStartNfaWithStates_0(4, 71, 32); else if ((active1 & 0x2000000L) != 0L) { jjmatchedKind = 89; jjmatchedPos = 4; } else if ((active1 & 0x4000000000L) != 0L) return jjStartNfaWithStates_0(4, 102, 32); else if ((active1 & 0x10000000000L) != 0L) return jjStartNfaWithStates_0(4, 104, 32); return jjMoveStringLiteralDfa5_0(active0, 0x8000080a000L, active1, 0x8c000000L); case 71: case 103: if ((active1 & 0x2000000000L) != 0L) return jjStartNfaWithStates_0(4, 101, 32); break; case 73: case 105: return jjMoveStringLiteralDfa5_0(active0, 0x8000000020000000L, active1, 0xcL); case 76: case 108: return jjMoveStringLiteralDfa5_0(active0, 0x100000040000000L, active1, 0x82000L); case 77: case 109: return jjMoveStringLiteralDfa5_0(active0, 0x4100000L, active1, 0L); case 78: case 110: return jjMoveStringLiteralDfa5_0(active0, 0x8100000020L, active1, 0x1000000L); case 79: case 111: return jjMoveStringLiteralDfa5_0(active0, 0x10000000000L, active1, 0x40L); case 80: case 112: return jjMoveStringLiteralDfa5_0(active0, 0x400000000L, active1, 0L); case 82: case 114: if ((active0 & 0x100L) != 0L) return jjStartNfaWithStates_0(4, 8, 32); else if ((active0 & 0x4000000000000000L) != 0L) return jjStartNfaWithStates_0(4, 62, 32); return jjMoveStringLiteralDfa5_0(active0, 0xc00000204000L, active1, 0xc00000400L); case 83: case 115: if ((active0 & 0x400000000000000L) != 0L) return jjStartNfaWithStates_0(4, 58, 32); return jjMoveStringLiteralDfa5_0(active0, 0L, active1, 0x40000000L); case 84: case 116: if ((active0 & 0x2000000000L) != 0L) return jjStartNfaWithStates_0(4, 37, 32); else if ((active0 & 0x100000000000L) != 0L) return jjStartNfaWithStates_0(4, 44, 32); else if ((active1 & 0x40000L) != 0L) return jjStartNfaWithStates_0(4, 82, 32); return jjMoveStringLiteralDfa5_0(active0, 0x808400000L, active1, 0x200000000L); case 85: case 117: return jjMoveStringLiteralDfa5_0(active0, 0L, active1, 0x100000002L); case 88: case 120: if ((active0 & 0x200000000000L) != 0L) return jjStartNfaWithStates_0(4, 45, 32); break; default : break; } return jjStartNfa_0(3, active0, active1, 0L); } private int jjMoveStringLiteralDfa5_0(long old0, long active0, long old1, long active1) { if (((active0 &= old0) | (active1 &= old1)) == 0L) return jjStartNfa_0(3, old0, old1, 0L); try { curChar = input_stream.readChar(); } catch(java.io.IOException e) { jjStopStringLiteralDfa_0(4, active0, active1, 0L); return 5; } switch(curChar) { case 95: return jjMoveStringLiteralDfa6_0(active0, 0x1000000000L, active1, 0x4000000L); case 65: case 97: return jjMoveStringLiteralDfa6_0(active0, 0x4008000L, active1, 0x20000000L); case 66: case 98: return jjMoveStringLiteralDfa6_0(active0, 0L, active1, 0x200040L); case 67: case 99: return jjMoveStringLiteralDfa6_0(active0, 0x20L, active1, 0L); case 69: case 101: if ((active0 & 0x400000L) != 0L) return jjStartNfaWithStates_0(5, 22, 32); else if ((active0 & 0x8000000L) != 0L) return jjStartNfaWithStates_0(5, 27, 32); else if ((active0 & 0x40000000L) != 0L) return jjStartNfaWithStates_0(5, 30, 32); else if ((active0 & 0x100000000L) != 0L) return jjStartNfaWithStates_0(5, 32, 32); else if ((active0 & 0x400000000L) != 0L) return jjStartNfaWithStates_0(5, 34, 32); else if ((active1 & 0x2000L) != 0L) return jjStartNfaWithStates_0(5, 77, 32); else if ((active1 & 0x100000000L) != 0L) return jjStartNfaWithStates_0(5, 96, 32); else if ((active1 & 0x200000000L) != 0L) return jjStartNfaWithStates_0(5, 97, 32); return jjMoveStringLiteralDfa6_0(active0, 0x202000L, active1, 0L); case 71: case 103: if ((active0 & 0x8000000000L) != 0L) return jjStartNfaWithStates_0(5, 39, 32); else if ((active1 & 0x1000000L) != 0L) return jjStartNfaWithStates_0(5, 88, 32); return jjMoveStringLiteralDfa6_0(active0, 0x10000000000L, active1, 0L); case 73: case 105: return jjMoveStringLiteralDfa6_0(active0, 0x1000000L, active1, 0x80000L); case 76: case 108: return jjMoveStringLiteralDfa6_0(active0, 0x100000000000000L, active1, 0L); case 77: case 109: if ((active1 & 0x400000L) != 0L) { jjmatchedKind = 86; jjmatchedPos = 5; } return jjMoveStringLiteralDfa6_0(active0, 0L, active1, 0x800000L); case 78: case 110: return jjMoveStringLiteralDfa6_0(active0, 0x8000000020900000L, active1, 0L); case 82: case 114: return jjMoveStringLiteralDfa6_0(active0, 0L, active1, 0x20L); case 83: case 115: if ((active0 & 0x800000000L) != 0L) return jjStartNfaWithStates_0(5, 35, 32); else if ((active1 & 0x8000000L) != 0L) return jjStartNfaWithStates_0(5, 91, 32); else if ((active1 & 0x80000000L) != 0L) return jjStartNfaWithStates_0(5, 95, 32); return jjMoveStringLiteralDfa6_0(active0, 0L, active1, 0x400L); case 84: case 116: if ((active0 & 0x400000000000L) != 0L) { jjmatchedKind = 46; jjmatchedPos = 5; } else if ((active1 & 0x2L) != 0L) return jjStartNfaWithStates_0(5, 65, 32); else if ((active1 & 0x4000L) != 0L) return jjStartNfaWithStates_0(5, 78, 32); else if ((active1 & 0x400000000L) != 0L) { jjmatchedKind = 98; jjmatchedPos = 5; } return jjMoveStringLiteralDfa6_0(active0, 0x800000000000L, active1, 0x84000000cL); case 89: case 121: if ((active0 & 0x4000L) != 0L) return jjStartNfaWithStates_0(5, 14, 32); else if ((active0 & 0x80000000000L) != 0L) return jjStartNfaWithStates_0(5, 43, 21); break; default : break; } return jjStartNfa_0(4, active0, active1, 0L); } private int jjMoveStringLiteralDfa6_0(long old0, long active0, long old1, long active1) { if (((active0 &= old0) | (active1 &= old1)) == 0L) return jjStartNfa_0(4, old0, old1, 0L); try { curChar = input_stream.readChar(); } catch(java.io.IOException e) { jjStopStringLiteralDfa_0(5, active0, active1, 0L); return 6; } switch(curChar) { case 95: return jjMoveStringLiteralDfa7_0(active0, 0x800000100000L, active1, 0x800000000L); case 65: case 97: return jjMoveStringLiteralDfa7_0(active0, 0x8000000000000000L, active1, 0x40000000L); case 67: case 99: return jjMoveStringLiteralDfa7_0(active0, 0x20000000L, active1, 0L); case 68: case 100: return jjMoveStringLiteralDfa7_0(active0, 0x1000000000L, active1, 0L); case 69: case 101: if ((active0 & 0x20L) != 0L) return jjStartNfaWithStates_0(6, 5, 32); else if ((active1 & 0x400L) != 0L) return jjStartNfaWithStates_0(6, 74, 32); break; case 70: case 102: return jjMoveStringLiteralDfa7_0(active0, 0L, active1, 0x4000000L); case 73: case 105: return jjMoveStringLiteralDfa7_0(active0, 0L, active1, 0xcL); case 76: case 108: if ((active0 & 0x4000000L) != 0L) return jjStartNfaWithStates_0(6, 26, 32); break; case 78: case 110: if ((active0 & 0x2000L) != 0L) return jjStartNfaWithStates_0(6, 13, 32); else if ((active0 & 0x8000L) != 0L) return jjStartNfaWithStates_0(6, 15, 32); return jjMoveStringLiteralDfa7_0(active0, 0L, active1, 0x20080000L); case 79: case 111: return jjMoveStringLiteralDfa7_0(active0, 0x100000000000000L, active1, 0L); case 82: case 114: if ((active0 & 0x1000000L) != 0L) return jjStartNfaWithStates_0(6, 24, 32); return jjMoveStringLiteralDfa7_0(active0, 0x10000000000L, active1, 0L); case 83: case 115: if ((active1 & 0x800000L) != 0L) return jjStartNfaWithStates_0(6, 87, 32); return jjMoveStringLiteralDfa7_0(active0, 0x200000L, active1, 0L); case 84: case 116: if ((active0 & 0x800000L) != 0L) return jjStartNfaWithStates_0(6, 23, 32); break; case 85: case 117: return jjMoveStringLiteralDfa7_0(active0, 0L, active1, 0x40L); case 89: case 121: if ((active1 & 0x20L) != 0L) return jjStartNfaWithStates_0(6, 69, 32); return jjMoveStringLiteralDfa7_0(active0, 0L, active1, 0x200000L); default : break; } return jjStartNfa_0(5, active0, active1, 0L); } private int jjMoveStringLiteralDfa7_0(long old0, long active0, long old1, long active1) { if (((active0 &= old0) | (active1 &= old1)) == 0L) return jjStartNfa_0(5, old0, old1, 0L); try { curChar = input_stream.readChar(); } catch(java.io.IOException e) { jjStopStringLiteralDfa_0(6, active0, active1, 0L); return 7; } switch(curChar) { case 95: return jjMoveStringLiteralDfa8_0(active0, 0L, active1, 0x200000L); case 65: case 97: return jjMoveStringLiteralDfa8_0(active0, 0x810000000000L, active1, 0x800000000L); case 68: case 100: return jjMoveStringLiteralDfa8_0(active0, 0L, active1, 0x20000000L); case 69: case 101: return jjMoveStringLiteralDfa8_0(active0, 0x1000000000L, active1, 0L); case 70: case 102: if ((active1 & 0x40L) != 0L) return jjStartNfaWithStates_0(7, 70, 32); return jjMoveStringLiteralDfa8_0(active0, 0x100000L, active1, 0L); case 76: case 108: if ((active0 & 0x8000000000000000L) != 0L) return jjStartNfaWithStates_0(7, 63, 32); break; case 77: case 109: return jjMoveStringLiteralDfa8_0(active0, 0L, active1, 0x40000000L); case 79: case 111: return jjMoveStringLiteralDfa8_0(active0, 0L, active1, 0x400000cL); case 83: case 115: return jjMoveStringLiteralDfa8_0(active0, 0x200000L, active1, 0L); case 84: case 116: if ((active0 & 0x20000000L) != 0L) return jjStartNfaWithStates_0(7, 29, 32); else if ((active1 & 0x80000L) != 0L) return jjStartNfaWithStates_0(7, 83, 32); break; case 87: case 119: if ((active0 & 0x100000000000000L) != 0L) return jjStartNfaWithStates_0(7, 56, 32); break; default : break; } return jjStartNfa_0(6, active0, active1, 0L); } private int jjMoveStringLiteralDfa8_0(long old0, long active0, long old1, long active1) { if (((active0 &= old0) | (active1 &= old1)) == 0L) return jjStartNfa_0(6, old0, old1, 0L); try { curChar = input_stream.readChar(); } catch(java.io.IOException e) { jjStopStringLiteralDfa_0(7, active0, active1, 0L); return 8; } switch(curChar) { case 95: return jjMoveStringLiteralDfa9_0(active0, 0L, active1, 0x20000000L); case 65: case 97: return jjMoveStringLiteralDfa9_0(active0, 0x100000L, active1, 0L); case 69: case 101: return jjMoveStringLiteralDfa9_0(active0, 0x200000L, active1, 0L); case 76: case 108: return jjMoveStringLiteralDfa9_0(active0, 0x1000000000L, active1, 0L); case 77: case 109: if ((active0 & 0x10000000000L) != 0L) return jjStartNfaWithStates_0(8, 40, 32); break; case 78: case 110: if ((active1 & 0x4L) != 0L) { jjmatchedKind = 66; jjmatchedPos = 8; } return jjMoveStringLiteralDfa9_0(active0, 0L, active1, 0x8L); case 80: case 112: if ((active1 & 0x40000000L) != 0L) return jjStartNfaWithStates_0(8, 94, 32); return jjMoveStringLiteralDfa9_0(active0, 0x800000000000L, active1, 0x800000000L); case 82: case 114: return jjMoveStringLiteralDfa9_0(active0, 0L, active1, 0x4000000L); case 83: case 115: return jjMoveStringLiteralDfa9_0(active0, 0L, active1, 0x200000L); default : break; } return jjStartNfa_0(7, active0, active1, 0L); } private int jjMoveStringLiteralDfa9_0(long old0, long active0, long old1, long active1) { if (((active0 &= old0) | (active1 &= old1)) == 0L) return jjStartNfa_0(7, old0, old1, 0L); try { curChar = input_stream.readChar(); } catch(java.io.IOException e) { jjStopStringLiteralDfa_0(8, active0, active1, 0L); return 9; } switch(curChar) { case 95: return jjMoveStringLiteralDfa10_0(active0, 0L, active1, 0x8L); case 65: case 97: return jjMoveStringLiteralDfa10_0(active0, 0x1000000000L, active1, 0L); case 68: case 100: if ((active0 & 0x200000L) != 0L) return jjStartNfaWithStates_0(9, 21, 32); break; case 77: case 109: return jjMoveStringLiteralDfa10_0(active0, 0x100000L, active1, 0x4000000L); case 80: case 112: return jjMoveStringLiteralDfa10_0(active0, 0x800000000000L, active1, 0x800000000L); case 84: case 116: return jjMoveStringLiteralDfa10_0(active0, 0L, active1, 0x200000L); case 86: case 118: return jjMoveStringLiteralDfa10_0(active0, 0L, active1, 0x20000000L); default : break; } return jjStartNfa_0(8, active0, active1, 0L); } private int jjMoveStringLiteralDfa10_0(long old0, long active0, long old1, long active1) { if (((active0 &= old0) | (active1 &= old1)) == 0L) return jjStartNfa_0(8, old0, old1, 0L); try { curChar = input_stream.readChar(); } catch(java.io.IOException e) { jjStopStringLiteralDfa_0(9, active0, active1, 0L); return 10; } switch(curChar) { case 65: case 97: return jjMoveStringLiteralDfa11_0(active0, 0L, active1, 0x24000000L); case 69: case 101: return jjMoveStringLiteralDfa11_0(active0, 0x800000000000L, active1, 0x800200000L); case 73: case 105: return jjMoveStringLiteralDfa11_0(active0, 0x100000L, active1, 0L); case 83: case 115: return jjMoveStringLiteralDfa11_0(active0, 0L, active1, 0x8L); case 89: case 121: if ((active0 & 0x1000000000L) != 0L) return jjStartNfaWithStates_0(10, 36, 21); break; default : break; } return jjStartNfa_0(9, active0, active1, 0L); } private int jjMoveStringLiteralDfa11_0(long old0, long active0, long old1, long active1) { if (((active0 &= old0) | (active1 &= old1)) == 0L) return jjStartNfa_0(9, old0, old1, 0L); try { curChar = input_stream.readChar(); } catch(java.io.IOException e) { jjStopStringLiteralDfa_0(10, active0, active1, 0L); return 11; } switch(curChar) { case 76: case 108: return jjMoveStringLiteralDfa12_0(active0, 0x100000L, active1, 0x20000000L); case 78: case 110: return jjMoveStringLiteralDfa12_0(active0, 0x800000000000L, active1, 0x800000000L); case 80: case 112: if ((active1 & 0x200000L) != 0L) return jjStartNfaWithStates_0(11, 85, 21); break; case 84: case 116: if ((active1 & 0x4000000L) != 0L) return jjStartNfaWithStates_0(11, 90, 21); return jjMoveStringLiteralDfa12_0(active0, 0L, active1, 0x8L); default : break; } return jjStartNfa_0(10, active0, active1, 0L); } private int jjMoveStringLiteralDfa12_0(long old0, long active0, long old1, long active1) { if (((active0 &= old0) | (active1 &= old1)) == 0L) return jjStartNfa_0(10, old0, old1, 0L); try { curChar = input_stream.readChar(); } catch(java.io.IOException e) { jjStopStringLiteralDfa_0(11, active0, active1, 0L); return 12; } switch(curChar) { case 68: case 100: if ((active0 & 0x800000000000L) != 0L) return jjStartNfaWithStates_0(12, 47, 21); else if ((active1 & 0x800000000L) != 0L) return jjStartNfaWithStates_0(12, 99, 21); break; case 79: case 111: return jjMoveStringLiteralDfa13_0(active0, 0L, active1, 0x8L); case 85: case 117: return jjMoveStringLiteralDfa13_0(active0, 0L, active1, 0x20000000L); case 89: case 121: if ((active0 & 0x100000L) != 0L) return jjStartNfaWithStates_0(12, 20, 21); break; default : break; } return jjStartNfa_0(11, active0, active1, 0L); } private int jjMoveStringLiteralDfa13_0(long old0, long active0, long old1, long active1) { if (((active0 &= old0) | (active1 &= old1)) == 0L) return jjStartNfa_0(11, old0, old1, 0L); try { curChar = input_stream.readChar(); } catch(java.io.IOException e) { jjStopStringLiteralDfa_0(12, 0L, active1, 0L); return 13; } switch(curChar) { case 69: case 101: if ((active1 & 0x20000000L) != 0L) return jjStartNfaWithStates_0(13, 93, 21); break; case 82: case 114: return jjMoveStringLiteralDfa14_0(active1, 0x8L); default : break; } return jjStartNfa_0(12, 0L, active1, 0L); } private int jjMoveStringLiteralDfa14_0(long old1, long active1) { if (((active1 &= old1)) == 0L) return jjStartNfa_0(12, 0L, old1, 0L); try { curChar = input_stream.readChar(); } catch(java.io.IOException e) { jjStopStringLiteralDfa_0(13, 0L, active1, 0L); return 14; } switch(curChar) { case 65: case 97: return jjMoveStringLiteralDfa15_0(active1, 0x8L); default : break; } return jjStartNfa_0(13, 0L, active1, 0L); } private int jjMoveStringLiteralDfa15_0(long old1, long active1) { if (((active1 &= old1)) == 0L) return jjStartNfa_0(13, 0L, old1, 0L); try { curChar = input_stream.readChar(); } catch(java.io.IOException e) { jjStopStringLiteralDfa_0(14, 0L, active1, 0L); return 15; } switch(curChar) { case 71: case 103: return jjMoveStringLiteralDfa16_0(active1, 0x8L); default : break; } return jjStartNfa_0(14, 0L, active1, 0L); } private int jjMoveStringLiteralDfa16_0(long old1, long active1) { if (((active1 &= old1)) == 0L) return jjStartNfa_0(14, 0L, old1, 0L); try { curChar = input_stream.readChar(); } catch(java.io.IOException e) { jjStopStringLiteralDfa_0(15, 0L, active1, 0L); return 16; } switch(curChar) { case 69: case 101: if ((active1 & 0x8L) != 0L) return jjStartNfaWithStates_0(16, 67, 21); break; default : break; } return jjStartNfa_0(15, 0L, active1, 0L); } private int jjStartNfaWithStates_0(int pos, int kind, int state) { jjmatchedKind = kind; jjmatchedPos = pos; try { curChar = input_stream.readChar(); } catch(java.io.IOException e) { return pos + 1; } return jjMoveNfa_0(state, pos + 1); } static final long[] jjbitVec0 = { 0x0L, 0x0L, 0xffffffffffffffffL, 0xffffffffffffffffL }; private int jjMoveNfa_0(int startState, int curPos) { int startsAt = 0; jjnewStateCnt = 32; int i = 1; jjstateSet[0] = startState; int kind = 0x7fffffff; for (;;) { if (++jjround == 0x7fffffff) ReInitRounds(); if (curChar < 64) { long l = 1L << curChar; do { switch(jjstateSet[--i]) { case 32: case 21: if ((0x3ff001800000000L & l) == 0L) break; if (kind > 113) kind = 113; jjCheckNAdd(21); break; case 5: if ((0x3ff000000000000L & l) != 0L) { if (kind > 105) kind = 105; jjCheckNAddStates(0, 5); } else if (curChar == 34) jjCheckNAddTwoStates(23, 24); else if (curChar == 47) jjstateSet[jjnewStateCnt++] = 13; else if (curChar == 45) jjstateSet[jjnewStateCnt++] = 10; else if (curChar == 39) jjCheckNAddTwoStates(6, 7); else if (curChar == 46) jjCheckNAdd(1); break; case 0: if (curChar == 46) jjCheckNAdd(1); break; case 1: if ((0x3ff000000000000L & l) == 0L) break; if (kind > 106) kind = 106; jjCheckNAddStates(6, 8); break; case 2: if ((0x280000000000L & l) != 0L) jjCheckNAdd(3); break; case 4: if ((0x3ff000000000000L & l) == 0L) break; if (kind > 106) kind = 106; jjstateSet[jjnewStateCnt++] = 4; break; case 6: if ((0xffffff7fffffffffL & l) != 0L) jjCheckNAddTwoStates(6, 7); break; case 7: if (curChar != 39) break; if (kind > 110) kind = 110; jjstateSet[jjnewStateCnt++] = 8; break; case 8: if (curChar == 39) jjCheckNAddTwoStates(9, 7); break; case 9: if ((0xffffff7fffffffffL & l) != 0L) jjCheckNAddTwoStates(9, 7); break; case 10: if (curChar != 45) break; if (kind > 111) kind = 111; jjCheckNAdd(11); break; case 11: if ((0xffffffffffffdbffL & l) == 0L) break; if (kind > 111) kind = 111; jjCheckNAdd(11); break; case 12: if (curChar == 45) jjstateSet[jjnewStateCnt++] = 10; break; case 13: if (curChar == 42) jjCheckNAddTwoStates(14, 15); break; case 14: if ((0xfffffbffffffffffL & l) != 0L) jjCheckNAddTwoStates(14, 15); break; case 15: if (curChar == 42) jjCheckNAddStates(9, 11); break; case 16: if ((0xffff7bffffffffffL & l) != 0L) jjCheckNAddTwoStates(17, 15); break; case 17: if ((0xfffffbffffffffffL & l) != 0L) jjCheckNAddTwoStates(17, 15); break; case 18: if (curChar == 47 && kind > 112) kind = 112; break; case 19: if (curChar == 47) jjstateSet[jjnewStateCnt++] = 13; break; case 22: if (curChar == 34) jjCheckNAddTwoStates(23, 24); break; case 23: if ((0xfffffffbffffdbffL & l) != 0L) jjCheckNAddTwoStates(23, 24); break; case 24: if (curChar == 34 && kind > 116) kind = 116; break; case 25: if ((0x3ff000000000000L & l) == 0L) break; if (kind > 105) kind = 105; jjCheckNAddStates(0, 5); break; case 26: if ((0x3ff000000000000L & l) == 0L) break; if (kind > 105) kind = 105; jjCheckNAdd(26); break; case 27: if ((0x3ff000000000000L & l) != 0L) jjCheckNAddTwoStates(27, 0); break; case 28: if ((0x3ff000000000000L & l) != 0L) jjCheckNAddStates(12, 14); break; case 29: if ((0x280000000000L & l) != 0L) jjCheckNAdd(30); break; case 31: if ((0x3ff000000000000L & l) == 0L) break; if (kind > 106) kind = 106; jjstateSet[jjnewStateCnt++] = 31; break; default : break; } } while(i != startsAt); } else if (curChar < 128) { long l = 1L << (curChar & 077); do { switch(jjstateSet[--i]) { case 32: if ((0x7fffffe87fffffeL & l) != 0L) { if (kind > 113) kind = 113; jjCheckNAdd(21); } if ((0x7fffffe07fffffeL & l) != 0L) { if (kind > 113) kind = 113; jjCheckNAddTwoStates(20, 21); } break; case 5: case 20: if ((0x7fffffe07fffffeL & l) == 0L) break; if (kind > 113) kind = 113; jjCheckNAddTwoStates(20, 21); break; case 3: if ((0x2000000020L & l) != 0L) jjstateSet[jjnewStateCnt++] = 4; break; case 6: jjCheckNAddTwoStates(6, 7); break; case 9: jjCheckNAddTwoStates(9, 7); break; case 11: if (kind > 111) kind = 111; jjstateSet[jjnewStateCnt++] = 11; break; case 14: jjCheckNAddTwoStates(14, 15); break; case 16: case 17: jjCheckNAddTwoStates(17, 15); break; case 21: if ((0x7fffffe87fffffeL & l) == 0L) break; if (kind > 113) kind = 113; jjCheckNAdd(21); break; case 23: jjAddStates(15, 16); break; case 30: if ((0x2000000020L & l) != 0L) jjstateSet[jjnewStateCnt++] = 31; break; default : break; } } while(i != startsAt); } else { int i2 = (curChar & 0xff) >> 6; long l2 = 1L << (curChar & 077); do { switch(jjstateSet[--i]) { case 6: if ((jjbitVec0[i2] & l2) != 0L) jjCheckNAddTwoStates(6, 7); break; case 9: if ((jjbitVec0[i2] & l2) != 0L) jjCheckNAddTwoStates(9, 7); break; case 11: if ((jjbitVec0[i2] & l2) == 0L) break; if (kind > 111) kind = 111; jjstateSet[jjnewStateCnt++] = 11; break; case 14: if ((jjbitVec0[i2] & l2) != 0L) jjCheckNAddTwoStates(14, 15); break; case 16: case 17: if ((jjbitVec0[i2] & l2) != 0L) jjCheckNAddTwoStates(17, 15); break; case 23: if ((jjbitVec0[i2] & l2) != 0L) jjAddStates(15, 16); break; default : break; } } while(i != startsAt); } if (kind != 0x7fffffff) { jjmatchedKind = kind; jjmatchedPos = curPos; kind = 0x7fffffff; } ++curPos; if ((i = jjnewStateCnt) == (startsAt = 32 - (jjnewStateCnt = startsAt))) return curPos; try { curChar = input_stream.readChar(); } catch(java.io.IOException e) { return curPos; } } } static final int[] jjnextStates = { 26, 27, 0, 28, 29, 30, 1, 2, 3, 15, 16, 18, 28, 29, 30, 23, 24, }; /** Token literal values. */ 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, 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, "\50", "\51", "\54", "\75", "\73", "\52\52", "\53", "\55", "\174\174", "\52", "\57", "\41", "\76", "\74", "\75\76", "\133", "\135", }; /** Lexer state names. */ public static final String[] lexStateNames = { "DEFAULT", }; static final long[] jjtoToken = { 0xffffffffffffffe1L, 0xfff247ffffffffffL, 0x3fL, }; static final long[] jjtoSkip = { 0x1eL, 0x1800000000000L, 0x0L, }; static final long[] jjtoSpecial = { 0x0L, 0x1800000000000L, 0x0L, }; protected SimpleCharStream input_stream; private final int[] jjrounds = new int[32]; private final int[] jjstateSet = new int[64]; protected char curChar; /** Constructor. */ public StreamSqlParserTokenManager(SimpleCharStream stream){ if (SimpleCharStream.staticFlag) throw new Error("ERROR: Cannot use a static CharStream class with a non-static lexical analyzer."); input_stream = stream; } /** Constructor. */ public StreamSqlParserTokenManager(SimpleCharStream stream, int lexState){ this(stream); SwitchTo(lexState); } /** Reinitialise parser. */ public void ReInit(SimpleCharStream stream) { jjmatchedPos = jjnewStateCnt = 0; curLexState = defaultLexState; input_stream = stream; ReInitRounds(); } private void ReInitRounds() { int i; jjround = 0x80000001; for (i = 32; i-- > 0;) jjrounds[i] = 0x80000000; } /** Reinitialise parser. */ public void ReInit(SimpleCharStream stream, int lexState) { ReInit(stream); SwitchTo(lexState); } /** Switch to specified lex state. */ public void SwitchTo(int lexState) { if (lexState >= 1 || lexState < 0) throw new TokenMgrError("Error: Ignoring invalid lexical state : " + lexState + ". State unchanged.", TokenMgrError.INVALID_LEXICAL_STATE); else curLexState = lexState; } protected Token jjFillToken() { final Token t; final String curTokenImage; final int beginLine; final int endLine; final int beginColumn; final int endColumn; String im = jjstrLiteralImages[jjmatchedKind]; curTokenImage = (im == null) ? input_stream.GetImage() : im; beginLine = input_stream.getBeginLine(); beginColumn = input_stream.getBeginColumn(); endLine = input_stream.getEndLine(); endColumn = input_stream.getEndColumn(); t = Token.newToken(jjmatchedKind, curTokenImage); t.beginLine = beginLine; t.endLine = endLine; t.beginColumn = beginColumn; t.endColumn = endColumn; return t; } int curLexState = 0; int defaultLexState = 0; int jjnewStateCnt; int jjround; int jjmatchedPos; int jjmatchedKind; /** Get the next Token. */ public Token getNextToken() { Token specialToken = null; Token matchedToken; int curPos = 0; EOFLoop : for (;;) { try { curChar = input_stream.BeginToken(); } catch(java.io.IOException e) { jjmatchedKind = 0; matchedToken = jjFillToken(); matchedToken.specialToken = specialToken; return matchedToken; } try { input_stream.backup(0); while (curChar <= 32 && (0x100002600L & (1L << curChar)) != 0L) curChar = input_stream.BeginToken(); } catch (java.io.IOException e1) { continue EOFLoop; } jjmatchedKind = 0x7fffffff; jjmatchedPos = 0; curPos = jjMoveStringLiteralDfa0_0(); if (jjmatchedKind != 0x7fffffff) { if (jjmatchedPos + 1 < curPos) input_stream.backup(curPos - jjmatchedPos - 1); if ((jjtoToken[jjmatchedKind >> 6] & (1L << (jjmatchedKind & 077))) != 0L) { matchedToken = jjFillToken(); matchedToken.specialToken = specialToken; return matchedToken; } else { if ((jjtoSpecial[jjmatchedKind >> 6] & (1L << (jjmatchedKind & 077))) != 0L) { matchedToken = jjFillToken(); if (specialToken == null) specialToken = matchedToken; else { matchedToken.specialToken = specialToken; specialToken = (specialToken.next = matchedToken); } } continue EOFLoop; } } int error_line = input_stream.getEndLine(); int error_column = input_stream.getEndColumn(); String error_after = null; boolean EOFSeen = false; try { input_stream.readChar(); input_stream.backup(1); } catch (java.io.IOException e1) { EOFSeen = true; error_after = curPos <= 1 ? "" : input_stream.GetImage(); if (curChar == '\n' || curChar == '\r') { error_line++; error_column = 0; } else error_column++; } if (!EOFSeen) { input_stream.backup(1); error_after = curPos <= 1 ? "" : input_stream.GetImage(); } throw new TokenMgrError(EOFSeen, curLexState, error_line, error_column, error_after, curChar, TokenMgrError.LEXICAL_ERROR); } } private void jjCheckNAdd(int state) { if (jjrounds[state] != jjround) { jjstateSet[jjnewStateCnt++] = state; jjrounds[state] = jjround; } } private void jjAddStates(int start, int end) { do { jjstateSet[jjnewStateCnt++] = jjnextStates[start]; } while (start++ != end); } private void jjCheckNAddTwoStates(int state1, int state2) { jjCheckNAdd(state1); jjCheckNAdd(state2); } private void jjCheckNAddStates(int start, int end) { do { jjCheckNAdd(jjnextStates[start]); } while (start++ != end); } }