/* Generated By:JavaCC: Do not edit this line. SPARQLParser10TokenManager.java */ /** * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you may not use this file except in compliance * with the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package org.apache.jena.sparql.lang.sparql_10 ; /** Token Manager. */ public class SPARQLParser10TokenManager implements SPARQLParser10Constants { /** Debug output. */ public java.io.PrintStream debugStream = System.out; /** Set debug output. */ public void setDebugStream(java.io.PrintStream ds) { debugStream = ds; } private int jjStopAtPos(int pos, int kind) { jjmatchedKind = kind; jjmatchedPos = pos; return pos + 1; } private int jjMoveStringLiteralDfa0_0() { switch(curChar) { case 9: jjmatchedKind = 2; return jjMoveNfa_0(0, 0); case 10: jjmatchedKind = 3; return jjMoveNfa_0(0, 0); case 12: jjmatchedKind = 5; return jjMoveNfa_0(0, 0); case 13: jjmatchedKind = 4; return jjMoveNfa_0(0, 0); case 32: jjmatchedKind = 1; return jjMoveNfa_0(0, 0); case 33: jjmatchedKind = 90; return jjMoveStringLiteralDfa1_0(0x0L, 0x200000L); case 38: return jjMoveStringLiteralDfa1_0(0x0L, 0x40000000L); case 40: jjmatchedKind = 73; return jjMoveNfa_0(0, 0); case 41: jjmatchedKind = 74; return jjMoveNfa_0(0, 0); case 42: jjmatchedKind = 97; return jjMoveNfa_0(0, 0); case 43: jjmatchedKind = 95; return jjMoveNfa_0(0, 0); case 44: jjmatchedKind = 82; return jjMoveNfa_0(0, 0); case 45: jjmatchedKind = 96; return jjMoveNfa_0(0, 0); case 46: jjmatchedKind = 83; return jjMoveNfa_0(0, 0); case 47: jjmatchedKind = 98; return jjMoveNfa_0(0, 0); case 58: jjmatchedKind = 92; return jjMoveNfa_0(0, 0); case 59: jjmatchedKind = 81; return jjMoveNfa_0(0, 0); case 60: jjmatchedKind = 87; return jjMoveStringLiteralDfa1_0(0x0L, 0x1000000L); case 61: jjmatchedKind = 84; return jjMoveNfa_0(0, 0); case 62: jjmatchedKind = 86; return jjMoveStringLiteralDfa1_0(0x0L, 0x2000000L); case 64: jjmatchedKind = 100; return jjMoveNfa_0(0, 0); case 65: return jjMoveStringLiteralDfa1_0(0x842000000L, 0x0L); case 66: return jjMoveStringLiteralDfa1_0(0x10020040000L, 0x0L); case 67: return jjMoveStringLiteralDfa1_0(0x1000000L, 0x0L); case 68: return jjMoveStringLiteralDfa1_0(0x100080a00000L, 0x0L); case 70: return jjMoveStringLiteralDfa1_0(0x40008200000000L, 0x0L); case 71: return jjMoveStringLiteralDfa1_0(0x1000000000L, 0x0L); case 73: return jjMoveStringLiteralDfa1_0(0x7800000000000L, 0x0L); case 76: return jjMoveStringLiteralDfa1_0(0x600004000000L, 0x0L); case 78: return jjMoveStringLiteralDfa1_0(0x100000000L, 0x0L); case 79: return jjMoveStringLiteralDfa1_0(0x2018000000L, 0x0L); case 80: return jjMoveStringLiteralDfa1_0(0x80000L, 0x0L); case 82: return jjMoveStringLiteralDfa1_0(0x8000000400000L, 0x0L); case 83: return jjMoveStringLiteralDfa1_0(0x100e0000100000L, 0x0L); case 84: return jjMoveStringLiteralDfa1_0(0x20000000000000L, 0x0L); case 85: return jjMoveStringLiteralDfa1_0(0x4000000000L, 0x0L); case 87: return jjMoveStringLiteralDfa1_0(0x400000000L, 0x0L); case 91: jjmatchedKind = 78; return jjMoveNfa_0(0, 0); case 93: jjmatchedKind = 79; return jjMoveNfa_0(0, 0); case 94: return jjMoveStringLiteralDfa1_0(0x0L, 0x800000000L); case 97: jjmatchedKind = 17; return jjMoveStringLiteralDfa1_0(0x842000000L, 0x0L); case 98: return jjMoveStringLiteralDfa1_0(0x10020040000L, 0x0L); case 99: return jjMoveStringLiteralDfa1_0(0x1000000L, 0x0L); case 100: return jjMoveStringLiteralDfa1_0(0x100080a00000L, 0x0L); case 102: return jjMoveStringLiteralDfa1_0(0x40008200000000L, 0x0L); case 103: return jjMoveStringLiteralDfa1_0(0x1000000000L, 0x0L); case 105: return jjMoveStringLiteralDfa1_0(0x7800000000000L, 0x0L); case 108: return jjMoveStringLiteralDfa1_0(0x600004000000L, 0x0L); case 110: return jjMoveStringLiteralDfa1_0(0x100000000L, 0x0L); case 111: return jjMoveStringLiteralDfa1_0(0x2018000000L, 0x0L); case 112: return jjMoveStringLiteralDfa1_0(0x80000L, 0x0L); case 114: return jjMoveStringLiteralDfa1_0(0x8000000400000L, 0x0L); case 115: return jjMoveStringLiteralDfa1_0(0x100e0000100000L, 0x0L); case 116: return jjMoveStringLiteralDfa1_0(0x20000000000000L, 0x0L); case 117: return jjMoveStringLiteralDfa1_0(0x4000000000L, 0x0L); case 119: return jjMoveStringLiteralDfa1_0(0x400000000L, 0x0L); case 123: jjmatchedKind = 76; return jjMoveNfa_0(0, 0); case 124: return jjMoveStringLiteralDfa1_0(0x0L, 0x20000000L); case 125: jjmatchedKind = 77; return jjMoveNfa_0(0, 0); case 126: jjmatchedKind = 91; return jjMoveNfa_0(0, 0); default : return jjMoveNfa_0(0, 0); } } private int jjMoveStringLiteralDfa1_0(long active0, long active1) { try { curChar = input_stream.readChar(); } catch(java.io.IOException e) { return jjMoveNfa_0(0, 0); } switch(curChar) { case 38: if ((active1 & 0x40000000L) != 0L) { jjmatchedKind = 94; jjmatchedPos = 1; } break; case 61: if ((active1 & 0x200000L) != 0L) { jjmatchedKind = 85; jjmatchedPos = 1; } else if ((active1 & 0x1000000L) != 0L) { jjmatchedKind = 88; jjmatchedPos = 1; } else if ((active1 & 0x2000000L) != 0L) { jjmatchedKind = 89; jjmatchedPos = 1; } break; case 65: return jjMoveStringLiteralDfa2_0(active0, 0x50700100040000L, active1, 0L); case 69: return jjMoveStringLiteralDfa2_0(active0, 0x8000080d00000L, active1, 0L); case 70: return jjMoveStringLiteralDfa2_0(active0, 0x8000000L, active1, 0L); case 72: return jjMoveStringLiteralDfa2_0(active0, 0x400000000L, active1, 0L); case 73: return jjMoveStringLiteralDfa2_0(active0, 0x8004200000L, active1, 0L); case 78: return jjMoveStringLiteralDfa2_0(active0, 0x4800000000L, active1, 0L); case 79: return jjMoveStringLiteralDfa2_0(active0, 0x10001000000L, active1, 0L); case 80: return jjMoveStringLiteralDfa2_0(active0, 0x2000000000L, active1, 0L); case 82: return jjMoveStringLiteralDfa2_0(active0, 0x20001210080000L, active1, 0L); case 83: return jjMoveStringLiteralDfa2_0(active0, 0x7800042000000L, active1, 0L); case 84: return jjMoveStringLiteralDfa2_0(active0, 0xe0000000000L, active1, 0L); case 89: if ((active0 & 0x20000000L) != 0L) { jjmatchedKind = 29; jjmatchedPos = 1; } break; case 94: if ((active1 & 0x800000000L) != 0L) { jjmatchedKind = 99; jjmatchedPos = 1; } break; case 97: return jjMoveStringLiteralDfa2_0(active0, 0x50700100040000L, active1, 0L); case 101: return jjMoveStringLiteralDfa2_0(active0, 0x8000080d00000L, active1, 0L); case 102: return jjMoveStringLiteralDfa2_0(active0, 0x8000000L, active1, 0L); case 104: return jjMoveStringLiteralDfa2_0(active0, 0x400000000L, active1, 0L); case 105: return jjMoveStringLiteralDfa2_0(active0, 0x8004200000L, active1, 0L); case 110: return jjMoveStringLiteralDfa2_0(active0, 0x4800000000L, active1, 0L); case 111: return jjMoveStringLiteralDfa2_0(active0, 0x10001000000L, active1, 0L); case 112: return jjMoveStringLiteralDfa2_0(active0, 0x2000000000L, active1, 0L); case 114: return jjMoveStringLiteralDfa2_0(active0, 0x20001210080000L, active1, 0L); case 115: return jjMoveStringLiteralDfa2_0(active0, 0x7800042000000L, active1, 0L); case 116: return jjMoveStringLiteralDfa2_0(active0, 0xe0000000000L, active1, 0L); case 121: if ((active0 & 0x20000000L) != 0L) { jjmatchedKind = 29; jjmatchedPos = 1; } break; case 124: if ((active1 & 0x20000000L) != 0L) { jjmatchedKind = 93; jjmatchedPos = 1; } break; default : break; } return jjMoveNfa_0(0, 1); } private int jjMoveStringLiteralDfa2_0(long old0, long active0, long old1, long active1) { if (((active0 &= old0) | (active1 &= old1)) == 0L) return jjMoveNfa_0(0, 1); try { curChar = input_stream.readChar(); } catch(java.io.IOException e) { return jjMoveNfa_0(0, 1); } switch(curChar) { case 65: return jjMoveStringLiteralDfa3_0(active0, 0x1000000000L); case 66: return jjMoveStringLiteralDfa3_0(active0, 0x2000000000000L); case 67: if ((active0 & 0x40000000L) != 0L) { jjmatchedKind = 30; jjmatchedPos = 2; } break; case 68: if ((active0 & 0x800000000L) != 0L) { jjmatchedKind = 35; jjmatchedPos = 2; } return jjMoveStringLiteralDfa3_0(active0, 0x10400000L); case 69: return jjMoveStringLiteralDfa3_0(active0, 0x400080000L); case 70: return jjMoveStringLiteralDfa3_0(active0, 0x8000000L); case 71: return jjMoveStringLiteralDfa3_0(active0, 0x8000000000000L); case 73: return jjMoveStringLiteralDfa3_0(active0, 0x1004000000000L); case 75: if ((active0 & 0x2000000L) != 0L) { jjmatchedKind = 25; jjmatchedPos = 2; } break; case 76: return jjMoveStringLiteralDfa3_0(active0, 0x44008000100000L); case 77: return jjMoveStringLiteralDfa3_0(active0, 0x10000104000000L); case 78: return jjMoveStringLiteralDfa3_0(active0, 0x600001000000L); case 79: return jjMoveStringLiteralDfa3_0(active0, 0x200000000L); case 82: if ((active0 & 0x20000000000L) != 0L) { jjmatchedKind = 41; jjmatchedPos = 2; } return jjMoveStringLiteralDfa3_0(active0, 0xc0000000000L); case 83: return jjMoveStringLiteralDfa3_0(active0, 0x80a40000L); case 84: return jjMoveStringLiteralDfa3_0(active0, 0x102000000000L); case 85: return jjMoveStringLiteralDfa3_0(active0, 0x20810000000000L); case 97: return jjMoveStringLiteralDfa3_0(active0, 0x1000000000L); case 98: return jjMoveStringLiteralDfa3_0(active0, 0x2000000000000L); case 99: if ((active0 & 0x40000000L) != 0L) { jjmatchedKind = 30; jjmatchedPos = 2; } break; case 100: if ((active0 & 0x800000000L) != 0L) { jjmatchedKind = 35; jjmatchedPos = 2; } return jjMoveStringLiteralDfa3_0(active0, 0x10400000L); case 101: return jjMoveStringLiteralDfa3_0(active0, 0x400080000L); case 102: return jjMoveStringLiteralDfa3_0(active0, 0x8000000L); case 103: return jjMoveStringLiteralDfa3_0(active0, 0x8000000000000L); case 105: return jjMoveStringLiteralDfa3_0(active0, 0x1004000000000L); case 107: if ((active0 & 0x2000000L) != 0L) { jjmatchedKind = 25; jjmatchedPos = 2; } break; case 108: return jjMoveStringLiteralDfa3_0(active0, 0x44008000100000L); case 109: return jjMoveStringLiteralDfa3_0(active0, 0x10000104000000L); case 110: return jjMoveStringLiteralDfa3_0(active0, 0x600001000000L); case 111: return jjMoveStringLiteralDfa3_0(active0, 0x200000000L); case 114: if ((active0 & 0x20000000000L) != 0L) { jjmatchedKind = 41; jjmatchedPos = 2; } return jjMoveStringLiteralDfa3_0(active0, 0xc0000000000L); case 115: return jjMoveStringLiteralDfa3_0(active0, 0x80a40000L); case 116: return jjMoveStringLiteralDfa3_0(active0, 0x102000000000L); case 117: return jjMoveStringLiteralDfa3_0(active0, 0x20810000000000L); default : break; } return jjMoveNfa_0(0, 2); } private int jjMoveStringLiteralDfa3_0(long old0, long active0) { if (((active0 &= old0)) == 0L) return jjMoveNfa_0(0, 2); try { curChar = input_stream.readChar(); } catch(java.io.IOException e) { return jjMoveNfa_0(0, 2); } switch(curChar) { case 65: return jjMoveStringLiteralDfa4_0(active0, 0x100000000000L); case 67: if ((active0 & 0x80000000L) != 0L) { jjmatchedKind = 31; jjmatchedPos = 3; } return jjMoveStringLiteralDfa4_0(active0, 0x800000L); case 68: return jjMoveStringLiteralDfa4_0(active0, 0x80000000000L); case 69: if ((active0 & 0x40000L) != 0L) { jjmatchedKind = 18; jjmatchedPos = 3; } else if ((active0 & 0x20000000000000L) != 0L) { jjmatchedKind = 53; jjmatchedPos = 3; } return jjMoveStringLiteralDfa4_0(active0, 0x18000110100000L); case 70: return jjMoveStringLiteralDfa4_0(active0, 0x80000L); case 71: if ((active0 & 0x200000000000L) != 0L) { jjmatchedKind = 45; jjmatchedPos = 3; } return jjMoveStringLiteralDfa4_0(active0, 0x400000000000L); case 73: return jjMoveStringLiteralDfa4_0(active0, 0x4002004000000L); case 76: return jjMoveStringLiteralDfa4_0(active0, 0x2040000000000L); case 77: if ((active0 & 0x200000000L) != 0L) { jjmatchedKind = 33; jjmatchedPos = 3; } break; case 78: return jjMoveStringLiteralDfa4_0(active0, 0x10000000000L); case 79: return jjMoveStringLiteralDfa4_0(active0, 0x4000000000L); case 80: return jjMoveStringLiteralDfa4_0(active0, 0x1000000000L); case 82: return jjMoveStringLiteralDfa4_0(active0, 0x1800400000000L); case 83: return jjMoveStringLiteralDfa4_0(active0, 0x40000009000000L); case 84: return jjMoveStringLiteralDfa4_0(active0, 0x8000200000L); case 85: return jjMoveStringLiteralDfa4_0(active0, 0x400000L); case 97: return jjMoveStringLiteralDfa4_0(active0, 0x100000000000L); case 99: if ((active0 & 0x80000000L) != 0L) { jjmatchedKind = 31; jjmatchedPos = 3; } return jjMoveStringLiteralDfa4_0(active0, 0x800000L); case 100: return jjMoveStringLiteralDfa4_0(active0, 0x80000000000L); case 101: if ((active0 & 0x40000L) != 0L) { jjmatchedKind = 18; jjmatchedPos = 3; } else if ((active0 & 0x20000000000000L) != 0L) { jjmatchedKind = 53; jjmatchedPos = 3; } return jjMoveStringLiteralDfa4_0(active0, 0x18000110100000L); case 102: return jjMoveStringLiteralDfa4_0(active0, 0x80000L); case 103: if ((active0 & 0x200000000000L) != 0L) { jjmatchedKind = 45; jjmatchedPos = 3; } return jjMoveStringLiteralDfa4_0(active0, 0x400000000000L); case 105: return jjMoveStringLiteralDfa4_0(active0, 0x4002004000000L); case 108: return jjMoveStringLiteralDfa4_0(active0, 0x2040000000000L); case 109: if ((active0 & 0x200000000L) != 0L) { jjmatchedKind = 33; jjmatchedPos = 3; } break; case 110: return jjMoveStringLiteralDfa4_0(active0, 0x10000000000L); case 111: return jjMoveStringLiteralDfa4_0(active0, 0x4000000000L); case 112: return jjMoveStringLiteralDfa4_0(active0, 0x1000000000L); case 114: return jjMoveStringLiteralDfa4_0(active0, 0x1800400000000L); case 115: return jjMoveStringLiteralDfa4_0(active0, 0x40000009000000L); case 116: return jjMoveStringLiteralDfa4_0(active0, 0x8000200000L); case 117: return jjMoveStringLiteralDfa4_0(active0, 0x400000L); default : break; } return jjMoveNfa_0(0, 3); } private int jjMoveStringLiteralDfa4_0(long old0, long active0) { if (((active0 &= old0)) == 0L) return jjMoveNfa_0(0, 3); try { curChar = input_stream.readChar(); } catch(java.io.IOException e) { return jjMoveNfa_0(0, 3); } switch(curChar) { case 65: return jjMoveStringLiteralDfa5_0(active0, 0x2040000000000L); case 67: return jjMoveStringLiteralDfa5_0(active0, 0x500000L); case 68: if ((active0 & 0x100000000L) != 0L) { jjmatchedKind = 32; jjmatchedPos = 4; } else if ((active0 & 0x10000000000L) != 0L) { jjmatchedKind = 40; jjmatchedPos = 4; } break; case 69: if ((active0 & 0x400000000L) != 0L) { jjmatchedKind = 34; jjmatchedPos = 4; } else if ((active0 & 0x40000000000000L) != 0L) { jjmatchedKind = 54; jjmatchedPos = 4; } return jjMoveStringLiteralDfa5_0(active0, 0x8008000000L); case 72: if ((active0 & 0x1000000000L) != 0L) { jjmatchedKind = 36; jjmatchedPos = 4; } break; case 73: if ((active0 & 0x800000000000L) != 0L) { jjmatchedKind = 47; jjmatchedPos = 4; } else if ((active0 & 0x1000000000000L) != 0L) { jjmatchedKind = 48; jjmatchedPos = 4; } return jjMoveStringLiteralDfa5_0(active0, 0x280000L); case 77: return jjMoveStringLiteralDfa5_0(active0, 0x400000000000L); case 78: if ((active0 & 0x4000000000L) != 0L) { jjmatchedKind = 38; jjmatchedPos = 4; } break; case 79: return jjMoveStringLiteralDfa5_0(active0, 0x2000000000L); case 82: if ((active0 & 0x10000000L) != 0L) { jjmatchedKind = 28; jjmatchedPos = 4; } return jjMoveStringLiteralDfa5_0(active0, 0x800000L); case 84: if ((active0 & 0x4000000L) != 0L) { jjmatchedKind = 26; jjmatchedPos = 4; } else if ((active0 & 0x80000000000L) != 0L) { jjmatchedKind = 43; jjmatchedPos = 4; } return jjMoveStringLiteralDfa5_0(active0, 0x14100001000000L); case 88: if ((active0 & 0x8000000000000L) != 0L) { jjmatchedKind = 51; jjmatchedPos = 4; } break; case 97: return jjMoveStringLiteralDfa5_0(active0, 0x2040000000000L); case 99: return jjMoveStringLiteralDfa5_0(active0, 0x500000L); case 100: if ((active0 & 0x100000000L) != 0L) { jjmatchedKind = 32; jjmatchedPos = 4; } else if ((active0 & 0x10000000000L) != 0L) { jjmatchedKind = 40; jjmatchedPos = 4; } break; case 101: if ((active0 & 0x400000000L) != 0L) { jjmatchedKind = 34; jjmatchedPos = 4; } else if ((active0 & 0x40000000000000L) != 0L) { jjmatchedKind = 54; jjmatchedPos = 4; } return jjMoveStringLiteralDfa5_0(active0, 0x8008000000L); case 104: if ((active0 & 0x1000000000L) != 0L) { jjmatchedKind = 36; jjmatchedPos = 4; } break; case 105: if ((active0 & 0x800000000000L) != 0L) { jjmatchedKind = 47; jjmatchedPos = 4; } else if ((active0 & 0x1000000000000L) != 0L) { jjmatchedKind = 48; jjmatchedPos = 4; } return jjMoveStringLiteralDfa5_0(active0, 0x280000L); case 109: return jjMoveStringLiteralDfa5_0(active0, 0x400000000000L); case 110: if ((active0 & 0x4000000000L) != 0L) { jjmatchedKind = 38; jjmatchedPos = 4; } break; case 111: return jjMoveStringLiteralDfa5_0(active0, 0x2000000000L); case 114: if ((active0 & 0x10000000L) != 0L) { jjmatchedKind = 28; jjmatchedPos = 4; } return jjMoveStringLiteralDfa5_0(active0, 0x800000L); case 116: if ((active0 & 0x4000000L) != 0L) { jjmatchedKind = 26; jjmatchedPos = 4; } else if ((active0 & 0x80000000000L) != 0L) { jjmatchedKind = 43; jjmatchedPos = 4; } return jjMoveStringLiteralDfa5_0(active0, 0x14100001000000L); case 120: if ((active0 & 0x8000000000000L) != 0L) { jjmatchedKind = 51; jjmatchedPos = 4; } break; default : break; } return jjMoveNfa_0(0, 4); } private int jjMoveStringLiteralDfa5_0(long old0, long active0) { if (((active0 &= old0)) == 0L) return jjMoveNfa_0(0, 4); try { curChar = input_stream.readChar(); } catch(java.io.IOException e) { return jjMoveNfa_0(0, 4); } switch(curChar) { case 65: return jjMoveStringLiteralDfa6_0(active0, 0x400000000000L); case 69: return jjMoveStringLiteralDfa6_0(active0, 0x14000000400000L); case 73: return jjMoveStringLiteralDfa6_0(active0, 0x800000L); case 78: return jjMoveStringLiteralDfa6_0(active0, 0x2042000200000L); case 82: if ((active0 & 0x8000000000L) != 0L) { jjmatchedKind = 39; jjmatchedPos = 5; } return jjMoveStringLiteralDfa6_0(active0, 0x1000000L); case 84: if ((active0 & 0x100000L) != 0L) { jjmatchedKind = 20; jjmatchedPos = 5; } else if ((active0 & 0x8000000L) != 0L) { jjmatchedKind = 27; jjmatchedPos = 5; } break; case 88: if ((active0 & 0x80000L) != 0L) { jjmatchedKind = 19; jjmatchedPos = 5; } break; case 89: return jjMoveStringLiteralDfa6_0(active0, 0x100000000000L); case 97: return jjMoveStringLiteralDfa6_0(active0, 0x400000000000L); case 101: return jjMoveStringLiteralDfa6_0(active0, 0x14000000400000L); case 105: return jjMoveStringLiteralDfa6_0(active0, 0x800000L); case 110: return jjMoveStringLiteralDfa6_0(active0, 0x2042000200000L); case 114: if ((active0 & 0x8000000000L) != 0L) { jjmatchedKind = 39; jjmatchedPos = 5; } return jjMoveStringLiteralDfa6_0(active0, 0x1000000L); case 116: if ((active0 & 0x100000L) != 0L) { jjmatchedKind = 20; jjmatchedPos = 5; } else if ((active0 & 0x8000000L) != 0L) { jjmatchedKind = 27; jjmatchedPos = 5; } break; case 120: if ((active0 & 0x80000L) != 0L) { jjmatchedKind = 19; jjmatchedPos = 5; } break; case 121: return jjMoveStringLiteralDfa6_0(active0, 0x100000000000L); default : break; } return jjMoveNfa_0(0, 5); } private int jjMoveStringLiteralDfa6_0(long old0, long active0) { if (((active0 &= old0)) == 0L) return jjMoveNfa_0(0, 5); try { curChar = input_stream.readChar(); } catch(java.io.IOException e) { return jjMoveNfa_0(0, 5); } switch(curChar) { case 65: return jjMoveStringLiteralDfa7_0(active0, 0x2000000000L); case 66: return jjMoveStringLiteralDfa7_0(active0, 0x800000L); case 67: return jjMoveStringLiteralDfa7_0(active0, 0x200000L); case 68: if ((active0 & 0x400000L) != 0L) { jjmatchedKind = 22; jjmatchedPos = 6; } break; case 71: if ((active0 & 0x40000000000L) != 0L) { jjmatchedKind = 42; jjmatchedPos = 6; } break; case 75: if ((active0 & 0x2000000000000L) != 0L) { jjmatchedKind = 49; jjmatchedPos = 6; } break; case 80: return jjMoveStringLiteralDfa7_0(active0, 0x100000000000L); case 82: return jjMoveStringLiteralDfa7_0(active0, 0x14000000000000L); case 84: return jjMoveStringLiteralDfa7_0(active0, 0x400000000000L); case 85: return jjMoveStringLiteralDfa7_0(active0, 0x1000000L); case 97: return jjMoveStringLiteralDfa7_0(active0, 0x2000000000L); case 98: return jjMoveStringLiteralDfa7_0(active0, 0x800000L); case 99: return jjMoveStringLiteralDfa7_0(active0, 0x200000L); case 100: if ((active0 & 0x400000L) != 0L) { jjmatchedKind = 22; jjmatchedPos = 6; } break; case 103: if ((active0 & 0x40000000000L) != 0L) { jjmatchedKind = 42; jjmatchedPos = 6; } break; case 107: if ((active0 & 0x2000000000000L) != 0L) { jjmatchedKind = 49; jjmatchedPos = 6; } break; case 112: return jjMoveStringLiteralDfa7_0(active0, 0x100000000000L); case 114: return jjMoveStringLiteralDfa7_0(active0, 0x14000000000000L); case 116: return jjMoveStringLiteralDfa7_0(active0, 0x400000000000L); case 117: return jjMoveStringLiteralDfa7_0(active0, 0x1000000L); default : break; } return jjMoveNfa_0(0, 6); } private int jjMoveStringLiteralDfa7_0(long old0, long active0) { if (((active0 &= old0)) == 0L) return jjMoveNfa_0(0, 6); try { curChar = input_stream.readChar(); } catch(java.io.IOException e) { return jjMoveNfa_0(0, 6); } switch(curChar) { case 65: return jjMoveStringLiteralDfa8_0(active0, 0x4000000000000L); case 67: return jjMoveStringLiteralDfa8_0(active0, 0x400001000000L); case 69: if ((active0 & 0x800000L) != 0L) { jjmatchedKind = 23; jjmatchedPos = 7; } else if ((active0 & 0x100000000000L) != 0L) { jjmatchedKind = 44; jjmatchedPos = 7; } break; case 76: if ((active0 & 0x2000000000L) != 0L) { jjmatchedKind = 37; jjmatchedPos = 7; } break; case 77: if ((active0 & 0x10000000000000L) != 0L) { jjmatchedKind = 52; jjmatchedPos = 7; } break; case 84: if ((active0 & 0x200000L) != 0L) { jjmatchedKind = 21; jjmatchedPos = 7; } break; case 97: return jjMoveStringLiteralDfa8_0(active0, 0x4000000000000L); case 99: return jjMoveStringLiteralDfa8_0(active0, 0x400001000000L); case 101: if ((active0 & 0x800000L) != 0L) { jjmatchedKind = 23; jjmatchedPos = 7; } else if ((active0 & 0x100000000000L) != 0L) { jjmatchedKind = 44; jjmatchedPos = 7; } break; case 108: if ((active0 & 0x2000000000L) != 0L) { jjmatchedKind = 37; jjmatchedPos = 7; } break; case 109: if ((active0 & 0x10000000000000L) != 0L) { jjmatchedKind = 52; jjmatchedPos = 7; } break; case 116: if ((active0 & 0x200000L) != 0L) { jjmatchedKind = 21; jjmatchedPos = 7; } break; default : break; } return jjMoveNfa_0(0, 7); } private int jjMoveStringLiteralDfa8_0(long old0, long active0) { if (((active0 &= old0)) == 0L) return jjMoveNfa_0(0, 7); try { curChar = input_stream.readChar(); } catch(java.io.IOException e) { return jjMoveNfa_0(0, 7); } switch(curChar) { case 72: return jjMoveStringLiteralDfa9_0(active0, 0x400000000000L); case 76: if ((active0 & 0x4000000000000L) != 0L) { jjmatchedKind = 50; jjmatchedPos = 8; } break; case 84: if ((active0 & 0x1000000L) != 0L) { jjmatchedKind = 24; jjmatchedPos = 8; } break; case 104: return jjMoveStringLiteralDfa9_0(active0, 0x400000000000L); case 108: if ((active0 & 0x4000000000000L) != 0L) { jjmatchedKind = 50; jjmatchedPos = 8; } break; case 116: if ((active0 & 0x1000000L) != 0L) { jjmatchedKind = 24; jjmatchedPos = 8; } break; default : break; } return jjMoveNfa_0(0, 8); } private int jjMoveStringLiteralDfa9_0(long old0, long active0) { if (((active0 &= old0)) == 0L) return jjMoveNfa_0(0, 8); try { curChar = input_stream.readChar(); } catch(java.io.IOException e) { return jjMoveNfa_0(0, 8); } switch(curChar) { case 69: return jjMoveStringLiteralDfa10_0(active0, 0x400000000000L); case 101: return jjMoveStringLiteralDfa10_0(active0, 0x400000000000L); default : break; } return jjMoveNfa_0(0, 9); } private int jjMoveStringLiteralDfa10_0(long old0, long active0) { if (((active0 &= old0)) == 0L) return jjMoveNfa_0(0, 9); try { curChar = input_stream.readChar(); } catch(java.io.IOException e) { return jjMoveNfa_0(0, 9); } switch(curChar) { case 83: if ((active0 & 0x400000000000L) != 0L) { jjmatchedKind = 46; jjmatchedPos = 10; } break; case 115: if ((active0 & 0x400000000000L) != 0L) { jjmatchedKind = 46; jjmatchedPos = 10; } break; default : break; } return jjMoveNfa_0(0, 10); } static final long[] jjbitVec0 = { 0xfffffffffffffffeL, 0xffffffffffffffffL, 0xffffffffffffffffL, 0xffffffffffffffffL }; static final long[] jjbitVec2 = { 0x0L, 0x0L, 0xffffffffffffffffL, 0xffffffffffffffffL }; static final long[] jjbitVec3 = { 0xfffe7000fffffff6L, 0xffffffffffffffffL, 0xffffffffffffffffL, 0x7e00000000ffffffL }; static final long[] jjbitVec4 = { 0x0L, 0x0L, 0x0L, 0xff7fffffff7fffffL }; static final long[] jjbitVec5 = { 0x0L, 0xbfff000000000000L, 0xffffffffffffffffL, 0xffffffffffffffffL }; static final long[] jjbitVec6 = { 0x3000L, 0xffff000000000000L, 0xffffffffffffffffL, 0xffffffffffffffffL }; static final long[] jjbitVec7 = { 0xffffffffffffffffL, 0xffffffffffffffffL, 0xffffL, 0x0L }; static final long[] jjbitVec8 = { 0xffffffffffffffffL, 0xffffffffffffffffL, 0xffffffffffffffffL, 0xffffffffffffL }; static final long[] jjbitVec9 = { 0xffffffffffffffffL, 0xffffffffffffffffL, 0xffffffffffffffffL, 0x3fffffffffffffffL }; static final long[] jjbitVec10 = { 0x0L, 0x0L, 0x80000000000000L, 0xff7fffffff7fffffL }; static final long[] jjbitVec11 = { 0xffffffffffffffffL, 0xbfffffffffffffffL, 0xffffffffffffffffL, 0xffffffffffffffffL }; static final long[] jjbitVec12 = { 0x8000000000003000L, 0xffff000000000001L, 0xffffffffffffffffL, 0xffffffffffffffffL }; private int jjMoveNfa_0(int startState, int curPos) { int strKind = jjmatchedKind; int strPos = jjmatchedPos; int seenUpto; input_stream.backup(seenUpto = curPos + 1); try { curChar = input_stream.readChar(); } catch(java.io.IOException e) { throw new Error("Internal Error"); } curPos = 0; int startsAt = 0; jjnewStateCnt = 151; 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 0: if ((0x3ff000000000000L & l) != 0L) { if (kind > 56) kind = 56; jjCheckNAddStates(0, 6); } else if (curChar == 45) jjCheckNAddStates(7, 11); else if (curChar == 43) jjCheckNAddStates(12, 16); else if (curChar == 46) jjCheckNAddTwoStates(100, 101); else if (curChar == 58) { if (kind > 9) kind = 9; jjCheckNAdd(80); } else if (curChar == 40) jjCheckNAddStates(17, 19); else if (curChar == 34) jjstateSet[jjnewStateCnt++] = 55; else if (curChar == 39) jjstateSet[jjnewStateCnt++] = 44; else if (curChar == 36) jjstateSet[jjnewStateCnt++] = 17; else if (curChar == 60) jjCheckNAddTwoStates(6, 7); else if (curChar == 35) { if (kind > 7) kind = 7; jjCheckNAddStates(20, 22); } else if (curChar == 63) jjstateSet[jjnewStateCnt++] = 14; if (curChar == 34) jjCheckNAddStates(23, 25); else if (curChar == 39) jjCheckNAddStates(26, 28); break; case 1: if ((0xffffffffffffdbffL & l) == 0L) break; if (kind > 7) kind = 7; jjCheckNAddStates(20, 22); break; case 2: if ((0x2400L & l) != 0L && kind > 7) kind = 7; break; case 3: if (curChar == 10 && kind > 7) kind = 7; break; case 4: if (curChar == 13) jjstateSet[jjnewStateCnt++] = 3; break; case 5: if (curChar == 60) jjCheckNAddTwoStates(6, 7); break; case 6: if ((0xaffffffa00000000L & l) != 0L) jjCheckNAddTwoStates(6, 7); break; case 7: if (curChar == 62 && kind > 8) kind = 8; break; case 8: if (curChar == 58) jjstateSet[jjnewStateCnt++] = 9; break; case 9: if ((0x3ff000000000000L & l) == 0L) break; if (kind > 11) kind = 11; jjCheckNAddTwoStates(10, 11); break; case 10: if ((0x3ff600000000000L & l) != 0L) jjCheckNAddTwoStates(10, 11); break; case 11: if ((0x3ff200000000000L & l) != 0L && kind > 11) kind = 11; break; case 13: if (curChar == 63) jjstateSet[jjnewStateCnt++] = 14; break; case 14: case 15: if ((0x3ff000000000000L & l) == 0L) break; if (kind > 12) kind = 12; jjCheckNAdd(15); break; case 16: if (curChar == 36) jjstateSet[jjnewStateCnt++] = 17; break; case 17: case 18: if ((0x3ff000000000000L & l) == 0L) break; if (kind > 13) kind = 13; jjCheckNAdd(18); break; case 21: if (curChar == 45) jjCheckNAdd(22); break; case 22: if ((0x3ff000000000000L & l) == 0L) break; if (kind > 14) kind = 14; jjCheckNAddTwoStates(21, 22); break; case 24: if ((0x8400000000L & l) != 0L && kind > 68) kind = 68; break; case 25: if (curChar == 39) jjCheckNAddStates(26, 28); break; case 26: if ((0xffffff7fffffdbffL & l) != 0L) jjCheckNAddStates(26, 28); break; case 28: if ((0x8400000000L & l) != 0L) jjCheckNAddStates(26, 28); break; case 29: if (curChar == 39 && kind > 69) kind = 69; break; case 30: if (curChar == 34) jjCheckNAddStates(23, 25); break; case 31: if ((0xfffffffbffffdbffL & l) != 0L) jjCheckNAddStates(23, 25); break; case 33: if ((0x8400000000L & l) != 0L) jjCheckNAddStates(23, 25); break; case 34: if (curChar == 34 && kind > 70) kind = 70; break; case 35: if (curChar == 39) jjCheckNAddStates(29, 32); break; case 36: case 41: if (curChar == 39) jjCheckNAddTwoStates(37, 38); break; case 37: if ((0xffffff7fffffffffL & l) != 0L) jjCheckNAddStates(29, 32); break; case 39: if ((0x8400000000L & l) != 0L) jjCheckNAddStates(29, 32); break; case 40: if (curChar == 39) jjAddStates(33, 34); break; case 42: if (curChar == 39 && kind > 71) kind = 71; break; case 43: if (curChar == 39) jjstateSet[jjnewStateCnt++] = 42; break; case 44: if (curChar == 39) jjstateSet[jjnewStateCnt++] = 35; break; case 45: if (curChar == 39) jjstateSet[jjnewStateCnt++] = 44; break; case 46: if (curChar == 34) jjCheckNAddStates(35, 38); break; case 47: case 52: if (curChar == 34) jjCheckNAddTwoStates(48, 49); break; case 48: if ((0xfffffffbffffffffL & l) != 0L) jjCheckNAddStates(35, 38); break; case 50: if ((0x8400000000L & l) != 0L) jjCheckNAddStates(35, 38); break; case 51: if (curChar == 34) jjAddStates(39, 40); break; case 53: if (curChar == 34 && kind > 72) kind = 72; break; case 54: if (curChar == 34) jjstateSet[jjnewStateCnt++] = 53; break; case 55: if (curChar == 34) jjstateSet[jjnewStateCnt++] = 46; break; case 56: if (curChar == 34) jjstateSet[jjnewStateCnt++] = 55; break; case 57: if (curChar == 40) jjCheckNAddStates(17, 19); break; case 58: if (curChar == 35) jjCheckNAddStates(41, 46); break; case 59: if ((0xffffffffffffdbffL & l) != 0L) jjCheckNAddStates(41, 46); break; case 60: if ((0x2400L & l) != 0L) jjCheckNAddStates(17, 19); break; case 61: if ((0x100003600L & l) != 0L) jjCheckNAddStates(17, 19); break; case 62: if (curChar == 41 && kind > 75) kind = 75; break; case 63: if (curChar == 10) jjCheckNAddStates(17, 19); break; case 64: if (curChar == 13) jjstateSet[jjnewStateCnt++] = 63; break; case 66: if (curChar == 35) jjCheckNAddStates(47, 52); break; case 67: if ((0xffffffffffffdbffL & l) != 0L) jjCheckNAddStates(47, 52); break; case 68: if ((0x2400L & l) != 0L) jjCheckNAddStates(53, 55); break; case 69: if ((0x100003600L & l) != 0L) jjCheckNAddStates(53, 55); break; case 71: if (curChar == 10) jjCheckNAddStates(53, 55); break; case 72: if (curChar == 13) jjstateSet[jjnewStateCnt++] = 71; break; case 74: if ((0x3ff600000000000L & l) != 0L) jjAddStates(56, 57); break; case 75: if ((0x3ff200000000000L & l) != 0L) jjstateSet[jjnewStateCnt++] = 76; break; case 76: if (curChar == 58 && kind > 9) kind = 9; break; case 77: if ((0x3ff600000000000L & l) != 0L) jjAddStates(58, 59); break; case 78: if ((0x3ff200000000000L & l) != 0L) jjstateSet[jjnewStateCnt++] = 79; break; case 79: if (curChar == 58) jjCheckNAdd(80); break; case 80: if ((0x3ff000000000000L & l) == 0L) break; if (kind > 10) kind = 10; jjCheckNAddTwoStates(81, 82); break; case 81: if ((0x3ff600000000000L & l) != 0L) jjCheckNAddTwoStates(81, 82); break; case 82: if ((0x3ff200000000000L & l) != 0L && kind > 10) kind = 10; break; case 83: if (curChar != 58) break; if (kind > 9) kind = 9; jjCheckNAdd(80); break; case 84: if ((0x3ff000000000000L & l) == 0L) break; if (kind > 56) kind = 56; jjCheckNAddStates(0, 6); break; case 85: if ((0x3ff000000000000L & l) == 0L) break; if (kind > 56) kind = 56; jjCheckNAdd(85); break; case 86: if ((0x3ff000000000000L & l) != 0L) jjCheckNAddTwoStates(86, 87); break; case 87: if (curChar != 46) break; if (kind > 57) kind = 57; jjCheckNAdd(88); break; case 88: if ((0x3ff000000000000L & l) == 0L) break; if (kind > 57) kind = 57; jjCheckNAdd(88); break; case 89: if ((0x3ff000000000000L & l) != 0L) jjCheckNAddTwoStates(89, 90); break; case 90: if (curChar == 46) jjCheckNAddTwoStates(91, 92); break; case 91: if ((0x3ff000000000000L & l) != 0L) jjCheckNAddTwoStates(91, 92); break; case 93: if ((0x280000000000L & l) != 0L) jjCheckNAdd(94); break; case 94: if ((0x3ff000000000000L & l) == 0L) break; if (kind > 58) kind = 58; jjCheckNAdd(94); break; case 95: if ((0x3ff000000000000L & l) != 0L) jjCheckNAddTwoStates(95, 96); break; case 97: if ((0x280000000000L & l) != 0L) jjCheckNAdd(98); break; case 98: if ((0x3ff000000000000L & l) == 0L) break; if (kind > 58) kind = 58; jjCheckNAdd(98); break; case 99: if (curChar == 46) jjCheckNAddTwoStates(100, 101); break; case 100: if ((0x3ff000000000000L & l) == 0L) break; if (kind > 57) kind = 57; jjCheckNAdd(100); break; case 101: if ((0x3ff000000000000L & l) != 0L) jjCheckNAddTwoStates(101, 102); break; case 103: if ((0x280000000000L & l) != 0L) jjCheckNAdd(104); break; case 104: if ((0x3ff000000000000L & l) == 0L) break; if (kind > 58) kind = 58; jjCheckNAdd(104); break; case 105: if (curChar == 43) jjCheckNAddStates(12, 16); break; case 106: if ((0x3ff000000000000L & l) == 0L) break; if (kind > 59) kind = 59; jjCheckNAdd(106); break; case 107: if ((0x3ff000000000000L & l) != 0L) jjCheckNAddTwoStates(107, 108); break; case 108: if (curChar != 46) break; if (kind > 60) kind = 60; jjCheckNAdd(109); break; case 109: if ((0x3ff000000000000L & l) == 0L) break; if (kind > 60) kind = 60; jjCheckNAdd(109); break; case 110: if (curChar == 46) jjCheckNAdd(111); break; case 111: if ((0x3ff000000000000L & l) == 0L) break; if (kind > 60) kind = 60; jjCheckNAdd(111); break; case 112: if (curChar == 46) jjCheckNAdd(113); break; case 113: if ((0x3ff000000000000L & l) != 0L) jjCheckNAddTwoStates(113, 114); break; case 115: if ((0x280000000000L & l) != 0L) jjCheckNAdd(116); break; case 116: if ((0x3ff000000000000L & l) == 0L) break; if (kind > 61) kind = 61; jjCheckNAdd(116); break; case 117: if ((0x3ff000000000000L & l) != 0L) jjCheckNAddStates(60, 63); break; case 118: if ((0x3ff000000000000L & l) != 0L) jjCheckNAddTwoStates(118, 119); break; case 119: if (curChar == 46) jjCheckNAddTwoStates(120, 121); break; case 120: if ((0x3ff000000000000L & l) != 0L) jjCheckNAddTwoStates(120, 121); break; case 122: if ((0x280000000000L & l) != 0L) jjCheckNAdd(123); break; case 123: if ((0x3ff000000000000L & l) == 0L) break; if (kind > 61) kind = 61; jjCheckNAdd(123); break; case 124: if ((0x3ff000000000000L & l) != 0L) jjCheckNAddTwoStates(124, 125); break; case 126: if ((0x280000000000L & l) != 0L) jjCheckNAdd(127); break; case 127: if ((0x3ff000000000000L & l) == 0L) break; if (kind > 61) kind = 61; jjCheckNAdd(127); break; case 128: if (curChar == 45) jjCheckNAddStates(7, 11); break; case 129: if ((0x3ff000000000000L & l) == 0L) break; if (kind > 62) kind = 62; jjCheckNAdd(129); break; case 130: if ((0x3ff000000000000L & l) != 0L) jjCheckNAddTwoStates(130, 131); break; case 131: if (curChar != 46) break; if (kind > 63) kind = 63; jjCheckNAdd(132); break; case 132: if ((0x3ff000000000000L & l) == 0L) break; if (kind > 63) kind = 63; jjCheckNAdd(132); break; case 133: if (curChar == 46) jjCheckNAdd(134); break; case 134: if ((0x3ff000000000000L & l) == 0L) break; if (kind > 63) kind = 63; jjCheckNAdd(134); break; case 135: if (curChar == 46) jjCheckNAdd(136); break; case 136: if ((0x3ff000000000000L & l) != 0L) jjCheckNAddTwoStates(136, 137); break; case 138: if ((0x280000000000L & l) != 0L) jjCheckNAdd(139); break; case 139: if ((0x3ff000000000000L & l) == 0L) break; if (kind > 64) kind = 64; jjCheckNAdd(139); break; case 140: if ((0x3ff000000000000L & l) != 0L) jjCheckNAddStates(64, 67); break; case 141: if ((0x3ff000000000000L & l) != 0L) jjCheckNAddTwoStates(141, 142); break; case 142: if (curChar == 46) jjCheckNAddTwoStates(143, 144); break; case 143: if ((0x3ff000000000000L & l) != 0L) jjCheckNAddTwoStates(143, 144); break; case 145: if ((0x280000000000L & l) != 0L) jjCheckNAdd(146); break; case 146: if ((0x3ff000000000000L & l) == 0L) break; if (kind > 64) kind = 64; jjCheckNAdd(146); break; case 147: if ((0x3ff000000000000L & l) != 0L) jjCheckNAddTwoStates(147, 148); break; case 149: if ((0x280000000000L & l) != 0L) jjCheckNAdd(150); break; case 150: if ((0x3ff000000000000L & l) == 0L) break; if (kind > 64) kind = 64; jjCheckNAdd(150); break; default : break; } } while(i != startsAt); } else if (curChar < 128) { long l = 1L << (curChar & 077); do { switch(jjstateSet[--i]) { case 0: if ((0x7fffffe07fffffeL & l) != 0L) jjCheckNAddStates(68, 73); else if (curChar == 91) jjCheckNAddStates(53, 55); else if (curChar == 92) jjstateSet[jjnewStateCnt++] = 24; else if (curChar == 64) jjCheckNAdd(20); else if (curChar == 95) jjstateSet[jjnewStateCnt++] = 8; break; case 1: if (kind > 7) kind = 7; jjAddStates(20, 22); break; case 6: if ((0xc7fffffeafffffffL & l) != 0L) jjAddStates(74, 75); break; case 9: if ((0x7fffffe87fffffeL & l) == 0L) break; if (kind > 11) kind = 11; jjCheckNAddTwoStates(10, 11); break; case 10: if ((0x7fffffe87fffffeL & l) != 0L) jjCheckNAddTwoStates(10, 11); break; case 11: if ((0x7fffffe87fffffeL & l) != 0L && kind > 11) kind = 11; break; case 12: if (curChar == 95) jjstateSet[jjnewStateCnt++] = 8; break; case 14: case 15: if ((0x7fffffe87fffffeL & l) == 0L) break; if (kind > 12) kind = 12; jjCheckNAdd(15); break; case 17: case 18: if ((0x7fffffe87fffffeL & l) == 0L) break; if (kind > 13) kind = 13; jjCheckNAdd(18); break; case 19: if (curChar == 64) jjCheckNAdd(20); break; case 20: if ((0x7fffffe07fffffeL & l) == 0L) break; if (kind > 14) kind = 14; jjCheckNAddTwoStates(20, 21); break; case 22: if ((0x7fffffe07fffffeL & l) == 0L) break; if (kind > 14) kind = 14; jjCheckNAddTwoStates(21, 22); break; case 23: if (curChar == 92) jjstateSet[jjnewStateCnt++] = 24; break; case 24: if ((0x14404410000000L & l) != 0L && kind > 68) kind = 68; break; case 26: if ((0xffffffffefffffffL & l) != 0L) jjCheckNAddStates(26, 28); break; case 27: if (curChar == 92) jjstateSet[jjnewStateCnt++] = 28; break; case 28: if ((0x14404410000000L & l) != 0L) jjCheckNAddStates(26, 28); break; case 31: if ((0xffffffffefffffffL & l) != 0L) jjCheckNAddStates(23, 25); break; case 32: if (curChar == 92) jjstateSet[jjnewStateCnt++] = 33; break; case 33: if ((0x14404410000000L & l) != 0L) jjCheckNAddStates(23, 25); break; case 37: if ((0xffffffffefffffffL & l) != 0L) jjCheckNAddStates(29, 32); break; case 38: if (curChar == 92) jjstateSet[jjnewStateCnt++] = 39; break; case 39: if ((0x14404410000000L & l) != 0L) jjCheckNAddStates(29, 32); break; case 48: if ((0xffffffffefffffffL & l) != 0L) jjCheckNAddStates(35, 38); break; case 49: if (curChar == 92) jjstateSet[jjnewStateCnt++] = 50; break; case 50: if ((0x14404410000000L & l) != 0L) jjCheckNAddStates(35, 38); break; case 59: jjAddStates(41, 46); break; case 65: if (curChar == 91) jjCheckNAddStates(53, 55); break; case 67: jjCheckNAddStates(47, 52); break; case 70: if (curChar == 93 && kind > 80) kind = 80; break; case 73: if ((0x7fffffe07fffffeL & l) != 0L) jjCheckNAddStates(68, 73); break; case 74: if ((0x7fffffe87fffffeL & l) != 0L) jjCheckNAddTwoStates(74, 75); break; case 75: if ((0x7fffffe87fffffeL & l) != 0L) jjCheckNAdd(76); break; case 77: if ((0x7fffffe87fffffeL & l) != 0L) jjCheckNAddTwoStates(77, 78); break; case 78: if ((0x7fffffe87fffffeL & l) != 0L) jjCheckNAdd(79); break; case 80: if ((0x7fffffe87fffffeL & l) == 0L) break; if (kind > 10) kind = 10; jjCheckNAddTwoStates(81, 82); break; case 81: if ((0x7fffffe87fffffeL & l) != 0L) jjCheckNAddTwoStates(81, 82); break; case 82: if ((0x7fffffe87fffffeL & l) != 0L && kind > 10) kind = 10; break; case 92: if ((0x2000000020L & l) != 0L) jjAddStates(76, 77); break; case 96: if ((0x2000000020L & l) != 0L) jjAddStates(78, 79); break; case 102: if ((0x2000000020L & l) != 0L) jjAddStates(80, 81); break; case 114: if ((0x2000000020L & l) != 0L) jjAddStates(82, 83); break; case 121: if ((0x2000000020L & l) != 0L) jjAddStates(84, 85); break; case 125: if ((0x2000000020L & l) != 0L) jjAddStates(86, 87); break; case 137: if ((0x2000000020L & l) != 0L) jjAddStates(88, 89); break; case 144: if ((0x2000000020L & l) != 0L) jjAddStates(90, 91); break; case 148: if ((0x2000000020L & l) != 0L) jjAddStates(92, 93); break; default : break; } } while(i != startsAt); } else { int hiByte = (curChar >> 8); int i1 = hiByte >> 6; long l1 = 1L << (hiByte & 077); int i2 = (curChar & 0xff) >> 6; long l2 = 1L << (curChar & 077); do { switch(jjstateSet[--i]) { case 0: if (jjCanMove_1(hiByte, i1, i2, l1, l2)) jjCheckNAddStates(68, 73); break; case 1: if (!jjCanMove_0(hiByte, i1, i2, l1, l2)) break; if (kind > 7) kind = 7; jjAddStates(20, 22); break; case 6: if (jjCanMove_0(hiByte, i1, i2, l1, l2)) jjAddStates(74, 75); break; case 9: if (!jjCanMove_1(hiByte, i1, i2, l1, l2)) break; if (kind > 11) kind = 11; jjCheckNAddTwoStates(10, 11); break; case 10: if (jjCanMove_2(hiByte, i1, i2, l1, l2)) jjCheckNAddTwoStates(10, 11); break; case 11: if (jjCanMove_2(hiByte, i1, i2, l1, l2) && kind > 11) kind = 11; break; case 14: if (!jjCanMove_1(hiByte, i1, i2, l1, l2)) break; if (kind > 12) kind = 12; jjCheckNAdd(15); break; case 15: if (!jjCanMove_2(hiByte, i1, i2, l1, l2)) break; if (kind > 12) kind = 12; jjCheckNAdd(15); break; case 17: if (!jjCanMove_1(hiByte, i1, i2, l1, l2)) break; if (kind > 13) kind = 13; jjCheckNAdd(18); break; case 18: if (!jjCanMove_2(hiByte, i1, i2, l1, l2)) break; if (kind > 13) kind = 13; jjCheckNAdd(18); break; case 26: if (jjCanMove_0(hiByte, i1, i2, l1, l2)) jjAddStates(26, 28); break; case 31: if (jjCanMove_0(hiByte, i1, i2, l1, l2)) jjAddStates(23, 25); break; case 37: if (jjCanMove_0(hiByte, i1, i2, l1, l2)) jjAddStates(29, 32); break; case 48: if (jjCanMove_0(hiByte, i1, i2, l1, l2)) jjAddStates(35, 38); break; case 59: if (jjCanMove_0(hiByte, i1, i2, l1, l2)) jjAddStates(41, 46); break; case 67: if (jjCanMove_0(hiByte, i1, i2, l1, l2)) jjAddStates(47, 52); break; case 74: if (jjCanMove_2(hiByte, i1, i2, l1, l2)) jjCheckNAddTwoStates(74, 75); break; case 75: if (jjCanMove_2(hiByte, i1, i2, l1, l2)) jjCheckNAdd(76); break; case 77: if (jjCanMove_2(hiByte, i1, i2, l1, l2)) jjCheckNAddTwoStates(77, 78); break; case 78: if (jjCanMove_2(hiByte, i1, i2, l1, l2)) jjCheckNAdd(79); break; case 80: if (!jjCanMove_1(hiByte, i1, i2, l1, l2)) break; if (kind > 10) kind = 10; jjCheckNAddTwoStates(81, 82); break; case 81: if (jjCanMove_2(hiByte, i1, i2, l1, l2)) jjCheckNAddTwoStates(81, 82); break; case 82: if (jjCanMove_2(hiByte, i1, i2, l1, l2) && kind > 10) kind = 10; break; default : break; } } while(i != startsAt); } if (kind != 0x7fffffff) { jjmatchedKind = kind; jjmatchedPos = curPos; kind = 0x7fffffff; } ++curPos; if ((i = jjnewStateCnt) == (startsAt = 151 - (jjnewStateCnt = startsAt))) break; try { curChar = input_stream.readChar(); } catch(java.io.IOException e) { break; } } if (jjmatchedPos > strPos) return curPos; int toRet = Math.max(curPos, seenUpto); if (curPos < toRet) for (i = toRet - Math.min(curPos, seenUpto); i-- > 0; ) try { curChar = input_stream.readChar(); } catch(java.io.IOException e) { throw new Error("Internal Error : Please send a bug report."); } if (jjmatchedPos < strPos) { jjmatchedKind = strKind; jjmatchedPos = strPos; } else if (jjmatchedPos == strPos && jjmatchedKind > strKind) jjmatchedKind = strKind; return toRet; } static final int[] jjnextStates = { 85, 86, 87, 89, 90, 95, 96, 129, 130, 133, 135, 140, 106, 107, 110, 112, 117, 58, 61, 62, 1, 2, 4, 31, 32, 34, 26, 27, 29, 36, 37, 38, 40, 41, 43, 47, 48, 49, 51, 52, 54, 58, 59, 60, 64, 61, 62, 66, 67, 68, 72, 69, 70, 66, 69, 70, 74, 75, 77, 78, 118, 119, 124, 125, 141, 142, 147, 148, 74, 75, 76, 77, 78, 79, 6, 7, 93, 94, 97, 98, 103, 104, 115, 116, 122, 123, 126, 127, 138, 139, 145, 146, 149, 150, }; private static final boolean jjCanMove_0(int hiByte, int i1, int i2, long l1, long l2) { switch(hiByte) { case 0: return ((jjbitVec2[i2] & l2) != 0L); default : if ((jjbitVec0[i1] & l1) != 0L) return true; return false; } } private static final boolean jjCanMove_1(int hiByte, int i1, int i2, long l1, long l2) { switch(hiByte) { case 0: return ((jjbitVec4[i2] & l2) != 0L); case 3: return ((jjbitVec5[i2] & l2) != 0L); case 32: return ((jjbitVec6[i2] & l2) != 0L); case 33: return ((jjbitVec7[i2] & l2) != 0L); case 47: return ((jjbitVec8[i2] & l2) != 0L); case 48: return ((jjbitVec0[i2] & l2) != 0L); case 255: return ((jjbitVec9[i2] & l2) != 0L); default : if ((jjbitVec3[i1] & l1) != 0L) return true; return false; } } private static final boolean jjCanMove_2(int hiByte, int i1, int i2, long l1, long l2) { switch(hiByte) { case 0: return ((jjbitVec10[i2] & l2) != 0L); case 3: return ((jjbitVec11[i2] & l2) != 0L); case 32: return ((jjbitVec12[i2] & l2) != 0L); case 33: return ((jjbitVec7[i2] & l2) != 0L); case 47: return ((jjbitVec8[i2] & l2) != 0L); case 48: return ((jjbitVec0[i2] & l2) != 0L); case 255: return ((jjbitVec9[i2] & l2) != 0L); default : if ((jjbitVec3[i1] & l1) != 0L) return true; return false; } } /** Token literal values. */ public static final String[] jjstrLiteralImages = { "", null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, "\141", 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", null, "\173", "\175", "\133", "\135", null, "\73", "\54", "\56", "\75", "\41\75", "\76", "\74", "\74\75", "\76\75", "\41", "\176", "\72", "\174\174", "\46\46", "\53", "\55", "\52", "\57", "\136\136", "\100", null, null, null, null, null, null, null, }; /** Lexer state names. */ public static final String[] lexStateNames = { "DEFAULT", }; static final long[] jjtoToken = { 0xff7ffffffffe7f01L, 0x1ffffffff1L, }; static final long[] jjtoSkip = { 0xbeL, 0x0L, }; static final long[] jjtoSpecial = { 0x80L, 0x0L, }; protected JavaCharStream input_stream; private final int[] jjrounds = new int[151]; private final int[] jjstateSet = new int[302]; protected char curChar; /** Constructor. */ public SPARQLParser10TokenManager(JavaCharStream stream){ if (JavaCharStream.staticFlag) throw new Error("ERROR: Cannot use a static CharStream class with a non-static lexical analyzer."); input_stream = stream; } /** Constructor. */ public SPARQLParser10TokenManager(JavaCharStream stream, int lexState){ this(stream); SwitchTo(lexState); } /** Reinitialise parser. */ public void ReInit(JavaCharStream stream) { jjmatchedPos = jjnewStateCnt = 0; curLexState = defaultLexState; input_stream = stream; ReInitRounds(); } private void ReInitRounds() { int i; jjround = 0x80000001; for (i = 151; i-- > 0;) jjrounds[i] = 0x80000000; } /** Reinitialise parser. */ public void ReInit(JavaCharStream 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; } 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); } }