/* CCJSqlParserTokenManager.java */ /* Generated By:JavaCC: Do not edit this line. CCJSqlParserTokenManager.java */ /* ================================================================ * JSQLParser : java based sql parser * ================================================================ * * Project Info: http://jsqlparser.sourceforge.net * Project Lead: Leonardo Francalanci (leoonardoo@yahoo.it); * * (C) Copyright 2004, by Leonardo Francalanci * * This library is free software; you can redistribute it and/or modify it under the terms * of the GNU Lesser General Public License as published by the Free Software Foundation; * either version 2.1 of the License, or (at your option) any later version. * * This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; * without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. * See the GNU Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public License along with this * library; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, * Boston, MA 02111-1307, USA. */ package net.sf.jsqlparser.parser; import java.util.ArrayList; import java.util.List; import net.sf.jsqlparser.expression.BinaryExpression; import net.sf.jsqlparser.expression.DoubleValue; import net.sf.jsqlparser.expression.Expression; import net.sf.jsqlparser.expression.Function; import net.sf.jsqlparser.expression.InverseExpression; import net.sf.jsqlparser.expression.JdbcParameter; import net.sf.jsqlparser.expression.NamedParameter; import net.sf.jsqlparser.expression.LongValue; import net.sf.jsqlparser.expression.DateValue; import net.sf.jsqlparser.expression.TimeValue; import net.sf.jsqlparser.expression.TimestampValue; import net.sf.jsqlparser.expression.NullValue; import net.sf.jsqlparser.expression.Parenthesis; import net.sf.jsqlparser.expression.StringValue; import net.sf.jsqlparser.expression.CaseExpression; import net.sf.jsqlparser.expression.WhenClause; import net.sf.jsqlparser.expression.AnyComparisonExpression; import net.sf.jsqlparser.expression.AllComparisonExpression; import net.sf.jsqlparser.expression.operators.arithmetic.Addition; import net.sf.jsqlparser.expression.operators.arithmetic.BitwiseAnd; import net.sf.jsqlparser.expression.operators.arithmetic.BitwiseOr; import net.sf.jsqlparser.expression.operators.arithmetic.BitwiseXor; import net.sf.jsqlparser.expression.operators.arithmetic.Concat; import net.sf.jsqlparser.expression.operators.arithmetic.Division; import net.sf.jsqlparser.expression.operators.arithmetic.Multiplication; import net.sf.jsqlparser.expression.operators.arithmetic.Subtraction; import net.sf.jsqlparser.expression.operators.conditional.AndExpression; import net.sf.jsqlparser.expression.operators.conditional.OrExpression; import net.sf.jsqlparser.expression.operators.relational.Between; import net.sf.jsqlparser.expression.operators.relational.EqualsTo; import net.sf.jsqlparser.expression.operators.relational.ExpressionList; import net.sf.jsqlparser.expression.operators.relational.GreaterThan; import net.sf.jsqlparser.expression.operators.relational.GreaterThanEquals; import net.sf.jsqlparser.expression.operators.relational.InExpression; import net.sf.jsqlparser.expression.operators.relational.IsNullExpression; import net.sf.jsqlparser.expression.operators.relational.ItemsList; import net.sf.jsqlparser.expression.operators.relational.LikeExpression; import net.sf.jsqlparser.expression.operators.relational.ExistsExpression; import net.sf.jsqlparser.expression.operators.relational.Matches; import net.sf.jsqlparser.expression.operators.relational.MinorThan; import net.sf.jsqlparser.expression.operators.relational.MinorThanEquals; import net.sf.jsqlparser.expression.operators.relational.NotEqualsTo; import net.sf.jsqlparser.schema.Column; import net.sf.jsqlparser.schema.Table; import net.sf.jsqlparser.statement.Statement; import net.sf.jsqlparser.statement.create.table.ColDataType; import net.sf.jsqlparser.statement.create.table.ColumnDefinition; import net.sf.jsqlparser.statement.create.table.CreateTable; import net.sf.jsqlparser.statement.create.table.Index; import net.sf.jsqlparser.statement.delete.Delete; import net.sf.jsqlparser.statement.drop.Drop; import net.sf.jsqlparser.statement.insert.Insert; import net.sf.jsqlparser.statement.replace.Replace; import net.sf.jsqlparser.statement.select.AllColumns; import net.sf.jsqlparser.statement.select.AllTableColumns; import net.sf.jsqlparser.statement.select.Distinct; import net.sf.jsqlparser.statement.select.FromItem; import net.sf.jsqlparser.statement.select.Join; import net.sf.jsqlparser.statement.select.SubJoin; import net.sf.jsqlparser.statement.select.Limit; import net.sf.jsqlparser.statement.select.OrderByElement; import net.sf.jsqlparser.statement.select.PlainSelect; import net.sf.jsqlparser.statement.select.Select; import net.sf.jsqlparser.statement.select.SelectBody; import net.sf.jsqlparser.statement.select.SelectExpressionItem; import net.sf.jsqlparser.statement.select.SelectItem; import net.sf.jsqlparser.statement.select.SubSelect; import net.sf.jsqlparser.statement.select.Top; import net.sf.jsqlparser.statement.select.Union; import net.sf.jsqlparser.statement.select.UnionTypes; import net.sf.jsqlparser.statement.select.WithItem; import net.sf.jsqlparser.statement.select.Connect; import net.sf.jsqlparser.statement.truncate.Truncate; import net.sf.jsqlparser.statement.update.Update; import net.sf.jsqlparser.statement.select.Alias; import net.sf.jsqlparser.statement.select.Into; /** Token Manager. */ @SuppressWarnings("unused")public class CCJSqlParserTokenManager implements CCJSqlParserConstants { /** 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){ switch (pos) { case 0: if ((active1 & 0x8000000L) != 0L) return 36; if ((active1 & 0x20000000L) != 0L) return 37; if ((active1 & 0x4000000000000L) != 0L) return 8; if ((active1 & 0x800000000L) != 0L) return 1; if ((active1 & 0x2000000000000L) != 0L) return 5; if ((active1 & 0x10000000L) != 0L) return 38; if ((active0 & 0xffffffffffffffc0L) != 0L || (active1 & 0xffL) != 0L) { jjmatchedKind = 78; return 39; } if ((active1 & 0x800L) != 0L) return 39; return -1; case 1: if ((active0 & 0xdfd9fffff77e0780L) != 0L || (active1 & 0x7fL) != 0L) { if (jjmatchedPos != 1) { jjmatchedKind = 78; jjmatchedPos = 1; } return 39; } if ((active0 & 0x202600000881f840L) != 0L || (active1 & 0x80L) != 0L) return 39; return -1; case 2: if ((active0 & 0xfffffffffc000780L) != 0L || (active1 & 0xffL) != 0L) { jjmatchedKind = 78; jjmatchedPos = 2; return 39; } if ((active0 & 0x3fe0000L) != 0L) return 39; return -1; case 3: if ((active0 & 0xfffffc0000000780L) != 0L || (active1 & 0xffL) != 0L) { jjmatchedKind = 78; jjmatchedPos = 3; return 39; } if ((active0 & 0x3fffc000000L) != 0L) return 39; return -1; case 4: if ((active0 & 0xff80400000000300L) != 0L || (active1 & 0xffL) != 0L) { jjmatchedKind = 78; jjmatchedPos = 4; return 39; } if ((active0 & 0x7fbc0000000480L) != 0L) return 39; return -1; case 5: if ((active0 & 0x300L) != 0L || (active1 & 0xfeL) != 0L) { jjmatchedKind = 78; jjmatchedPos = 5; return 39; } if ((active0 & 0xff80400000000000L) != 0L || (active1 & 0x1L) != 0L) return 39; return -1; case 6: if ((active1 & 0xe0L) != 0L) { jjmatchedKind = 78; jjmatchedPos = 6; return 39; } if ((active0 & 0x300L) != 0L || (active1 & 0x1eL) != 0L) return 39; return -1; case 7: if ((active1 & 0x80L) != 0L) { jjmatchedKind = 78; jjmatchedPos = 7; return 39; } if ((active1 & 0x60L) != 0L) return 39; return -1; default : return -1; } } private final int jjStartNfa_0(int pos, long active0, long active1){ return jjMoveNfa_0(jjStopStringLiteralDfa_0(pos, active0, active1), pos + 1); } private int jjStopAtPos(int pos, int kind) { jjmatchedKind = kind; jjmatchedPos = pos; return pos + 1; } private int jjMoveStringLiteralDfa0_0(){ switch(curChar) { case 33: jjmatchedKind = 88; return jjMoveStringLiteralDfa1_0(0x0L, 0x80000000000L); case 34: return jjStartNfaWithStates_0(0, 92, 38); case 35: return jjStartNfaWithStates_0(0, 75, 39); case 36: return jjStopAtPos(0, 90); case 37: return jjStopAtPos(0, 84); case 38: return jjStopAtPos(0, 111); case 39: return jjStartNfaWithStates_0(0, 91, 36); case 40: return jjStopAtPos(0, 97); case 41: return jjStopAtPos(0, 98); case 42: return jjStopAtPos(0, 100); case 43: return jjStopAtPos(0, 112); case 44: return jjStopAtPos(0, 96); case 45: return jjStartNfaWithStates_0(0, 113, 5); case 46: return jjStartNfaWithStates_0(0, 99, 1); case 47: return jjStartNfaWithStates_0(0, 114, 8); case 58: return jjStopAtPos(0, 116); case 59: return jjStopAtPos(0, 83); case 60: jjmatchedKind = 103; return jjMoveStringLiteralDfa1_0(0x0L, 0x60000000000L); case 61: return jjStopAtPos(0, 95); case 62: jjmatchedKind = 102; return jjMoveStringLiteralDfa1_0(0x0L, 0x10000000000L); case 63: return jjStopAtPos(0, 101); case 64: jjmatchedKind = 89; return jjMoveStringLiteralDfa1_0(0x0L, 0x100000000000L); case 91: return jjStopAtPos(0, 85); case 92: return jjStopAtPos(0, 94); case 93: return jjStopAtPos(0, 86); case 94: return jjStopAtPos(0, 115); case 96: return jjStartNfaWithStates_0(0, 93, 37); case 65: case 97: return jjMoveStringLiteralDfa1_0(0x8e0040L, 0x0L); case 66: case 98: return jjMoveStringLiteralDfa1_0(0x1000000000800L, 0x10L); case 67: case 99: return jjMoveStringLiteralDfa1_0(0x100000800000100L, 0x0L); case 68: case 100: return jjMoveStringLiteralDfa1_0(0x80000044001000L, 0x40L); case 69: case 101: return jjMoveStringLiteralDfa1_0(0x800404002000000L, 0x1L); case 70: case 102: return jjMoveStringLiteralDfa1_0(0x10200000000L, 0x0L); case 71: case 103: return jjMoveStringLiteralDfa1_0(0x800000000000L, 0x0L); case 72: case 104: return jjMoveStringLiteralDfa1_0(0x1000000000000000L, 0x0L); case 73: case 105: return jjMoveStringLiteralDfa1_0(0x2006000008006000L, 0x80L); case 74: case 106: return jjMoveStringLiteralDfa1_0(0x80000000L, 0x0L); case 75: case 107: return jjMoveStringLiteralDfa1_0(0x100000L, 0x0L); case 76: case 108: return jjMoveStringLiteralDfa1_0(0x8000120000000L, 0x0L); case 78: case 110: return jjMoveStringLiteralDfa1_0(0x10200200L, 0x4L); case 79: case 111: return jjMoveStringLiteralDfa1_0(0x430000400018000L, 0x0L); case 80: case 112: return jjMoveStringLiteralDfa1_0(0x400L, 0x2L); case 82: case 114: return jjMoveStringLiteralDfa1_0(0x40000000000000L, 0x8L); case 83: case 115: return jjMoveStringLiteralDfa1_0(0x200008000400080L, 0x0L); case 84: case 116: return jjMoveStringLiteralDfa1_0(0x42001000000L, 0x20L); case 85: case 117: return jjMoveStringLiteralDfa1_0(0x4000300000000000L, 0x0L); case 86: case 118: return jjMoveStringLiteralDfa1_0(0x8000000000000000L, 0x0L); case 87: case 119: return jjMoveStringLiteralDfa1_0(0xa1000000000L, 0x0L); case 123: jjmatchedKind = 121; return jjMoveStringLiteralDfa1_0(0x0L, 0x1e0000000000000L); case 124: jjmatchedKind = 110; return jjMoveStringLiteralDfa1_0(0x0L, 0x200000000000L); case 125: return jjStopAtPos(0, 122); case 126: return jjStopAtPos(0, 87); default : return jjMoveNfa_0(7, 0); } } private int jjMoveStringLiteralDfa1_0(long active0, long active1){ try { curChar = input_stream.readChar(); } catch(java.io.IOException e) { jjStopStringLiteralDfa_0(0, active0, active1); return 1; } switch(curChar) { case 61: if ((active1 & 0x10000000000L) != 0L) return jjStopAtPos(1, 104); else if ((active1 & 0x20000000000L) != 0L) return jjStopAtPos(1, 105); else if ((active1 & 0x80000000000L) != 0L) return jjStopAtPos(1, 107); break; case 62: if ((active1 & 0x40000000000L) != 0L) return jjStopAtPos(1, 106); break; case 64: if ((active1 & 0x100000000000L) != 0L) return jjStopAtPos(1, 108); break; case 65: case 97: return jjMoveStringLiteralDfa2_0(active0, 0x9000040800000000L, active1, 0x4L); case 68: case 100: if ((active1 & 0x20000000000000L) != 0L) return jjStopAtPos(1, 117); break; case 69: case 101: return jjMoveStringLiteralDfa2_0(active0, 0x281000104500000L, active1, 0x18L); case 70: case 102: return jjMoveStringLiteralDfa2_0(active0, 0x400000000000000L, active1, 0x100000000000000L); case 72: case 104: return jjMoveStringLiteralDfa2_0(active0, 0x83000000000L, active1, 0L); case 73: case 105: return jjMoveStringLiteralDfa2_0(active0, 0x48020020000000L, active1, 0x40L); case 76: case 108: return jjMoveStringLiteralDfa2_0(active0, 0x4000020000L, active1, 0L); case 78: case 110: if ((active0 & 0x4000L) != 0L) { jjmatchedKind = 14; jjmatchedPos = 1; } else if ((active0 & 0x10000L) != 0L) return jjStartNfaWithStates_0(1, 16, 39); return jjMoveStringLiteralDfa2_0(active0, 0x200620000a0c0000L, active1, 0x80L); case 79: case 111: if ((active0 & 0x1000L) != 0L) return jjStartNfaWithStates_0(1, 12, 39); return jjMoveStringLiteralDfa2_0(active0, 0x8081200300L, active1, 0L); case 80: case 112: return jjMoveStringLiteralDfa2_0(active0, 0x4000000400000000L, active1, 0L); case 82: case 114: if ((active0 & 0x8000L) != 0L) { jjmatchedKind = 15; jjmatchedPos = 1; } return jjMoveStringLiteralDfa2_0(active0, 0x120800240000400L, active1, 0x22L); case 83: case 115: if ((active0 & 0x40L) != 0L) { jjmatchedKind = 6; jjmatchedPos = 1; } else if ((active0 & 0x2000L) != 0L) return jjStartNfaWithStates_0(1, 13, 39); return jjMoveStringLiteralDfa2_0(active0, 0x100000800000L, active1, 0x1L); case 84: case 116: if ((active1 & 0x40000000000000L) != 0L) { jjmatchedKind = 118; jjmatchedPos = 1; } return jjMoveStringLiteralDfa2_0(active0, 0x80L, active1, 0x80000000000000L); case 85: case 117: return jjMoveStringLiteralDfa2_0(active0, 0x10010010000000L, active1, 0L); case 88: case 120: return jjMoveStringLiteralDfa2_0(active0, 0x800400000000000L, active1, 0L); case 89: case 121: if ((active0 & 0x800L) != 0L) return jjStartNfaWithStates_0(1, 11, 39); break; case 124: if ((active1 & 0x200000000000L) != 0L) return jjStopAtPos(1, 109); break; default : break; } return jjStartNfa_0(0, active0, active1); } private int jjMoveStringLiteralDfa2_0(long old0, long active0, long old1, long active1){ if (((active0 &= old0) | (active1 &= old1)) == 0L) return jjStartNfa_0(0, old0, old1); try { curChar = input_stream.readChar(); } catch(java.io.IOException e) { jjStopStringLiteralDfa_0(1, active0, active1); return 2; } switch(curChar) { case 65: case 97: return jjMoveStringLiteralDfa3_0(active0, 0x80L, active1, 0L); case 66: case 98: return jjMoveStringLiteralDfa3_0(active0, 0x40000000000L, active1, 0L); case 67: case 99: if ((active0 & 0x800000L) != 0L) return jjStartNfaWithStates_0(2, 23, 39); return jjMoveStringLiteralDfa3_0(active0, 0x400000000200L, active1, 0x1L); case 68: case 100: if ((active0 & 0x40000L) != 0L) return jjStartNfaWithStates_0(2, 18, 39); else if ((active0 & 0x2000000L) != 0L) return jjStartNfaWithStates_0(2, 25, 39); return jjMoveStringLiteralDfa3_0(active0, 0x4022000000000000L, active1, 0L); case 69: case 101: return jjMoveStringLiteralDfa3_0(active0, 0x100083400000000L, active1, 0L); case 70: case 102: return jjMoveStringLiteralDfa3_0(active0, 0x400000100000000L, active1, 0L); case 71: case 103: return jjMoveStringLiteralDfa3_0(active0, 0x41000000000000L, active1, 0L); case 73: case 105: return jjMoveStringLiteralDfa3_0(active0, 0x800300080000400L, active1, 0x2L); case 75: case 107: return jjMoveStringLiteralDfa3_0(active0, 0x20000000L, active1, 0L); case 76: case 108: if ((active0 & 0x20000L) != 0L) return jjStartNfaWithStates_0(2, 17, 39); return jjMoveStringLiteralDfa3_0(active0, 0x8280010010000000L, active1, 0L); case 77: case 109: return jjMoveStringLiteralDfa3_0(active0, 0x8008000000000L, active1, 0L); case 78: case 110: if ((active1 & 0x100000000000000L) != 0L) return jjStopAtPos(2, 120); return jjMoveStringLiteralDfa3_0(active0, 0x4000000000100L, active1, 0L); case 79: case 111: return jjMoveStringLiteralDfa3_0(active0, 0x800240000000L, active1, 0L); case 80: case 112: if ((active0 & 0x1000000L) != 0L) return jjStartNfaWithStates_0(2, 24, 39); return jjMoveStringLiteralDfa3_0(active0, 0L, active1, 0x8L); case 83: case 115: if ((active1 & 0x80000000000000L) != 0L) return jjStopAtPos(2, 119); return jjMoveStringLiteralDfa3_0(active0, 0x2000004804000000L, active1, 0x40L); case 84: case 116: if ((active0 & 0x200000L) != 0L) return jjStartNfaWithStates_0(2, 21, 39); else if ((active0 & 0x400000L) != 0L) return jjStartNfaWithStates_0(2, 22, 39); return jjMoveStringLiteralDfa3_0(active0, 0x10020008000000L, active1, 0x94L); case 85: case 117: return jjMoveStringLiteralDfa3_0(active0, 0L, active1, 0x20L); case 86: case 118: return jjMoveStringLiteralDfa3_0(active0, 0x1000000000000000L, active1, 0L); case 89: case 121: if ((active0 & 0x80000L) != 0L) return jjStartNfaWithStates_0(2, 19, 39); else if ((active0 & 0x100000L) != 0L) return jjStartNfaWithStates_0(2, 20, 39); break; default : break; } return jjStartNfa_0(1, active0, active1); } private int jjMoveStringLiteralDfa3_0(long old0, long active0, long old1, long active1){ if (((active0 &= old0) | (active1 &= old1)) == 0L) return jjStartNfa_0(1, old0, old1); try { curChar = input_stream.readChar(); } catch(java.io.IOException e) { jjStopStringLiteralDfa_0(2, active0, active1); return 3; } switch(curChar) { case 65: case 97: return jjMoveStringLiteralDfa4_0(active0, 0x4100000000000000L, active1, 0x1L); case 67: case 99: if ((active0 & 0x4000000L) != 0L) return jjStartNfaWithStates_0(3, 26, 39); break; case 69: case 101: if ((active0 & 0x20000000L) != 0L) return jjStartNfaWithStates_0(3, 29, 39); else if ((active0 & 0x800000000L) != 0L) return jjStartNfaWithStates_0(3, 35, 39); else if ((active0 & 0x4000000000L) != 0L) return jjStartNfaWithStates_0(3, 38, 39); else if ((active0 & 0x8000000000L) != 0L) return jjStartNfaWithStates_0(3, 39, 39); return jjMoveStringLiteralDfa4_0(active0, 0x22b6400000000000L, active1, 0x80L); case 72: case 104: if ((active0 & 0x20000000000L) != 0L) return jjStartNfaWithStates_0(3, 41, 39); return jjMoveStringLiteralDfa4_0(active0, 0x40000000000000L, active1, 0L); case 73: case 105: return jjMoveStringLiteralDfa4_0(active0, 0x1009000000000000L, active1, 0L); case 76: case 108: if ((active0 & 0x10000000L) != 0L) return jjStartNfaWithStates_0(3, 28, 39); else if ((active0 & 0x10000000000L) != 0L) return jjStartNfaWithStates_0(3, 40, 39); return jjMoveStringLiteralDfa4_0(active0, 0x40000000000L, active1, 0x8L); case 77: case 109: if ((active0 & 0x200000000L) != 0L) return jjStartNfaWithStates_0(3, 33, 39); return jjMoveStringLiteralDfa4_0(active0, 0L, active1, 0x2L); case 78: case 110: if ((active0 & 0x80000000L) != 0L) return jjStartNfaWithStates_0(3, 31, 39); else if ((active0 & 0x400000000L) != 0L) return jjStartNfaWithStates_0(3, 34, 39); else if ((active0 & 0x1000000000L) != 0L) return jjStartNfaWithStates_0(3, 36, 39); else if ((active0 & 0x2000000000L) != 0L) return jjStartNfaWithStates_0(3, 37, 39); return jjMoveStringLiteralDfa4_0(active0, 0x100000000100L, active1, 0x20L); case 79: case 111: if ((active0 & 0x8000000L) != 0L) return jjStartNfaWithStates_0(3, 27, 39); return jjMoveStringLiteralDfa4_0(active0, 0x200000000400L, active1, 0L); case 80: case 112: if ((active0 & 0x40000000L) != 0L) return jjStartNfaWithStates_0(3, 30, 39); break; case 82: case 114: return jjMoveStringLiteralDfa4_0(active0, 0x80000000080L, active1, 0L); case 83: case 115: return jjMoveStringLiteralDfa4_0(active0, 0xc00000000000000L, active1, 0L); case 84: case 116: if ((active0 & 0x100000000L) != 0L) return jjStartNfaWithStates_0(3, 32, 39); return jjMoveStringLiteralDfa4_0(active0, 0L, active1, 0x40L); case 85: case 117: return jjMoveStringLiteralDfa4_0(active0, 0x8000800000000000L, active1, 0x4L); case 87: case 119: return jjMoveStringLiteralDfa4_0(active0, 0L, active1, 0x10L); case 89: case 121: return jjMoveStringLiteralDfa4_0(active0, 0x200L, active1, 0L); default : break; } return jjStartNfa_0(2, active0, active1); } private int jjMoveStringLiteralDfa4_0(long old0, long active0, long old1, long active1){ if (((active0 &= old0) | (active1 &= old1)) == 0L) return jjStartNfa_0(2, old0, old1); try { curChar = input_stream.readChar(); } catch(java.io.IOException e) { jjStopStringLiteralDfa_0(3, active0, active1); return 4; } switch(curChar) { case 65: case 97: return jjMoveStringLiteralDfa5_0(active0, 0L, active1, 0xaL); case 67: case 99: return jjMoveStringLiteralDfa5_0(active0, 0x200000000000200L, active1, 0x20L); case 69: case 101: if ((active0 & 0x40000000000L) != 0L) return jjStartNfaWithStates_0(4, 42, 39); else if ((active0 & 0x80000000000L) != 0L) return jjStartNfaWithStates_0(4, 43, 39); return jjMoveStringLiteralDfa5_0(active0, 0x8400000000000100L, active1, 0x10L); case 71: case 103: if ((active0 & 0x100000000000L) != 0L) return jjStartNfaWithStates_0(4, 44, 39); break; case 73: case 105: return jjMoveStringLiteralDfa5_0(active0, 0L, active1, 0x40L); case 78: case 110: if ((active0 & 0x200000000000L) != 0L) return jjStartNfaWithStates_0(4, 45, 39); else if ((active0 & 0x1000000000000L) != 0L) return jjStartNfaWithStates_0(4, 48, 39); return jjMoveStringLiteralDfa5_0(active0, 0x1000000000000000L, active1, 0L); case 80: case 112: if ((active0 & 0x800000000000L) != 0L) return jjStartNfaWithStates_0(4, 47, 39); return jjMoveStringLiteralDfa5_0(active0, 0x400000000000L, active1, 0x1L); case 82: case 114: if ((active0 & 0x400L) != 0L) return jjStartNfaWithStates_0(4, 10, 39); else if ((active0 & 0x4000000000000L) != 0L) return jjStartNfaWithStates_0(4, 50, 39); else if ((active0 & 0x10000000000000L) != 0L) return jjStartNfaWithStates_0(4, 52, 39); else if ((active0 & 0x20000000000000L) != 0L) return jjStartNfaWithStates_0(4, 53, 39); return jjMoveStringLiteralDfa5_0(active0, 0x2000000000000000L, active1, 0x84L); case 84: case 116: if ((active0 & 0x80L) != 0L) return jjStartNfaWithStates_0(4, 7, 39); else if ((active0 & 0x8000000000000L) != 0L) return jjStartNfaWithStates_0(4, 51, 39); else if ((active0 & 0x40000000000000L) != 0L) return jjStartNfaWithStates_0(4, 54, 39); return jjMoveStringLiteralDfa5_0(active0, 0x4980000000000000L, active1, 0L); case 88: case 120: if ((active0 & 0x2000000000000L) != 0L) return jjStartNfaWithStates_0(4, 49, 39); break; default : break; } return jjStartNfa_0(3, active0, active1); } private int jjMoveStringLiteralDfa5_0(long old0, long active0, long old1, long active1){ if (((active0 &= old0) | (active1 &= old1)) == 0L) return jjStartNfa_0(3, old0, old1); try { curChar = input_stream.readChar(); } catch(java.io.IOException e) { jjStopStringLiteralDfa_0(4, active0, active1); return 5; } switch(curChar) { case 65: case 97: return jjMoveStringLiteralDfa6_0(active0, 0L, active1, 0x24L); case 67: case 99: return jjMoveStringLiteralDfa6_0(active0, 0x100L, active1, 0x8L); case 69: case 101: if ((active0 & 0x80000000000000L) != 0L) return jjStartNfaWithStates_0(5, 55, 39); else if ((active0 & 0x100000000000000L) != 0L) return jjStartNfaWithStates_0(5, 56, 39); else if ((active0 & 0x4000000000000000L) != 0L) return jjStartNfaWithStates_0(5, 62, 39); else if ((active1 & 0x1L) != 0L) return jjStartNfaWithStates_0(5, 64, 39); return jjMoveStringLiteralDfa6_0(active0, 0L, active1, 0x10L); case 71: case 103: if ((active0 & 0x1000000000000000L) != 0L) return jjStartNfaWithStates_0(5, 60, 39); break; case 76: case 108: return jjMoveStringLiteralDfa6_0(active0, 0x200L, active1, 0L); case 78: case 110: return jjMoveStringLiteralDfa6_0(active0, 0L, active1, 0x40L); case 82: case 114: return jjMoveStringLiteralDfa6_0(active0, 0L, active1, 0x2L); case 83: case 115: if ((active0 & 0x800000000000000L) != 0L) return jjStartNfaWithStates_0(5, 59, 39); else if ((active0 & 0x8000000000000000L) != 0L) return jjStartNfaWithStates_0(5, 63, 39); return jjMoveStringLiteralDfa6_0(active0, 0L, active1, 0x80L); case 84: case 116: if ((active0 & 0x400000000000L) != 0L) return jjStartNfaWithStates_0(5, 46, 39); else if ((active0 & 0x200000000000000L) != 0L) return jjStartNfaWithStates_0(5, 57, 39); else if ((active0 & 0x400000000000000L) != 0L) return jjStartNfaWithStates_0(5, 58, 39); else if ((active0 & 0x2000000000000000L) != 0L) return jjStartNfaWithStates_0(5, 61, 39); break; default : break; } return jjStartNfa_0(4, active0, active1); } private int jjMoveStringLiteralDfa6_0(long old0, long active0, long old1, long active1){ if (((active0 &= old0) | (active1 &= old1)) == 0L) return jjStartNfa_0(4, old0, old1); try { curChar = input_stream.readChar(); } catch(java.io.IOException e) { jjStopStringLiteralDfa_0(5, active0, active1); return 6; } switch(curChar) { case 67: case 99: return jjMoveStringLiteralDfa7_0(active0, 0L, active1, 0x40L); case 69: case 101: if ((active0 & 0x200L) != 0L) return jjStartNfaWithStates_0(6, 9, 39); else if ((active1 & 0x8L) != 0L) return jjStartNfaWithStates_0(6, 67, 39); return jjMoveStringLiteralDfa7_0(active0, 0L, active1, 0x80L); case 76: case 108: if ((active1 & 0x4L) != 0L) return jjStartNfaWithStates_0(6, 66, 39); break; case 78: case 110: if ((active1 & 0x10L) != 0L) return jjStartNfaWithStates_0(6, 68, 39); break; case 84: case 116: if ((active0 & 0x100L) != 0L) return jjStartNfaWithStates_0(6, 8, 39); return jjMoveStringLiteralDfa7_0(active0, 0L, active1, 0x20L); case 89: case 121: if ((active1 & 0x2L) != 0L) return jjStartNfaWithStates_0(6, 65, 39); break; default : break; } return jjStartNfa_0(5, active0, active1); } private int jjMoveStringLiteralDfa7_0(long old0, long active0, long old1, long active1){ if (((active0 &= old0) | (active1 &= old1)) == 0L) return jjStartNfa_0(5, old0, old1); try { curChar = input_stream.readChar(); } catch(java.io.IOException e) { jjStopStringLiteralDfa_0(6, 0L, active1); return 7; } switch(curChar) { case 67: case 99: return jjMoveStringLiteralDfa8_0(active1, 0x80L); case 69: case 101: if ((active1 & 0x20L) != 0L) return jjStartNfaWithStates_0(7, 69, 39); break; case 84: case 116: if ((active1 & 0x40L) != 0L) return jjStartNfaWithStates_0(7, 70, 39); break; default : break; } return jjStartNfa_0(6, 0L, active1); } private int jjMoveStringLiteralDfa8_0(long old1, long active1){ if (((active1 &= old1)) == 0L) return jjStartNfa_0(6, 0L, old1); try { curChar = input_stream.readChar(); } catch(java.io.IOException e) { jjStopStringLiteralDfa_0(7, 0L, active1); return 8; } switch(curChar) { case 84: case 116: if ((active1 & 0x80L) != 0L) return jjStartNfaWithStates_0(8, 71, 39); break; default : break; } return jjStartNfa_0(7, 0L, active1); } 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 = { 0xfffffffffffffffeL, 0xffffffffffffffffL, 0xffffffffffffffffL, 0xffffffffffffffffL }; static final long[] jjbitVec2 = { 0x0L, 0x0L, 0xffffffffffffffffL, 0xffffffffffffffffL }; static final long[] jjbitVec3 = { 0xfff0000000200002L, 0xffffffffffffdfffL, 0xfffff00f7fffffffL, 0x12000000007fffffL }; static final long[] jjbitVec4 = { 0x0L, 0x0L, 0x420043c00000000L, 0xff7fffffff7fffffL }; static final long[] jjbitVec5 = { 0xffffcffffffffL, 0xffffffffffff0000L, 0xf9ff3fffffffffffL, 0x401f00030003L }; static final long[] jjbitVec6 = { 0x0L, 0x400000000000000L, 0xfffffffbffffd740L, 0xffffffcff7fffL }; static final long[] jjbitVec7 = { 0xffffffffffffffffL, 0xffffffffffffffffL, 0xfffffffffffff003L, 0x33fffffffff199fL }; static final long[] jjbitVec8 = { 0xfffe000000000000L, 0xfffffffe027fffffL, 0xffL, 0x707ffffff0000L }; static final long[] jjbitVec9 = { 0x7fffffe00000000L, 0xfffe0000000007ffL, 0xffffffffffffffffL, 0x1c000060002fffffL }; static final long[] jjbitVec10 = { 0x1ffffffd0000L, 0x0L, 0x3fffffffffL, 0x0L }; static final long[] jjbitVec11 = { 0x23ffffffffffffe0L, 0x3ff010000L, 0x3c5fdfffff99fe0L, 0xf0003b0000000L }; static final long[] jjbitVec12 = { 0x36dfdfffff987e0L, 0x1c00005e000000L, 0x23edfdfffffbafe0L, 0x100010000L }; static final long[] jjbitVec13 = { 0x23cdfdfffff99fe0L, 0x3b0000000L, 0x3bfc718d63dc7e0L, 0x0L }; static final long[] jjbitVec14 = { 0x3effdfffffddfe0L, 0x300000000L, 0x3effdfffffddfe0L, 0x340000000L }; static final long[] jjbitVec15 = { 0x3fffdfffffddfe0L, 0x300000000L, 0x2ffbfffffc7fffe0L, 0x7fL }; static final long[] jjbitVec16 = { 0x800dfffffffffffeL, 0x7fL, 0x200decaefef02596L, 0x3000005fL }; static final long[] jjbitVec17 = { 0x1L, 0x7fffffffeffL, 0xf00L, 0x0L }; static final long[] jjbitVec18 = { 0x6fbffffffffL, 0x3f0000L, 0xffffffff00000000L, 0x7fffffffff003fL }; static final long[] jjbitVec19 = { 0xffffffffffffffffL, 0xffffffff83ffffffL, 0xffffff07ffffffffL, 0x3ffffffffffffffL }; static final long[] jjbitVec20 = { 0xffffffffffffff7fL, 0xffffffff3d7f3d7fL, 0x7f3d7fffffff3d7fL, 0xffff7fffff7f7f3dL }; static final long[] jjbitVec21 = { 0xffffffff7f3d7fffL, 0x7ffff7fL, 0xffffffff00000000L, 0x1fffffffffffffL }; static final long[] jjbitVec22 = { 0xffffffffffffffffL, 0x7f9fffffffffffL, 0xffffffff07fffffeL, 0x7ffffffffffL }; static final long[] jjbitVec23 = { 0x0L, 0x0L, 0xfffffffffffffL, 0x8000000L }; static final long[] jjbitVec24 = { 0xffffffff00000000L, 0xffffffffffffffL, 0x1ffffffffffL, 0x0L }; static final long[] jjbitVec25 = { 0xffffffffffffffffL, 0xffffffffffffffffL, 0xffffffff0fffffffL, 0x3ffffffffffffffL }; static final long[] jjbitVec26 = { 0xffffffff3f3fffffL, 0x3fffffffaaff3f3fL, 0x5fdfffffffffffffL, 0x1fdc1fff0fcf1fdcL }; static final long[] jjbitVec27 = { 0x8000000000000000L, 0x8000000000000001L, 0xffff00000000L, 0x0L }; static final long[] jjbitVec28 = { 0x3fbbd503e2ffc84L, 0xffffffff00000000L, 0xfL, 0x0L }; static final long[] jjbitVec29 = { 0x3fffffffffL, 0x0L, 0x0L, 0x0L }; static final long[] jjbitVec30 = { 0x73e03fe000000e0L, 0xfffffffffffffffeL, 0xfffffffe601fffffL, 0x7fffffffffffffffL }; static final long[] jjbitVec31 = { 0xfffe1fffffffffe0L, 0xffffffffffffffffL, 0xffffff00007fffL, 0x0L }; static final long[] jjbitVec32 = { 0xffffffffffffffffL, 0xffffffffffffffffL, 0x3fffffffffffffL, 0x0L }; static final long[] jjbitVec33 = { 0xffffffffffffffffL, 0xffffffffffffffffL, 0x3fffffffffL, 0x0L }; static final long[] jjbitVec34 = { 0xffffffffffffffffL, 0xffffffffffffffffL, 0x1fffL, 0x0L }; static final long[] jjbitVec35 = { 0xffffffffffffffffL, 0xffffffffffffffffL, 0xfffffffffL, 0x0L }; static final long[] jjbitVec36 = { 0x3fffffffffffL, 0x0L, 0x0L, 0x0L }; static final long[] jjbitVec37 = { 0x5f7ffdffa0f8007fL, 0xffffffffffffffdbL, 0x3ffffffffffffL, 0xfffffffffff80000L }; static final long[] jjbitVec38 = { 0x3fffffffffffffffL, 0xffffffffffff0000L, 0xfffffffffffcffffL, 0xfff0000000000ffL }; static final long[] jjbitVec39 = { 0x18000000000000L, 0xffd702000000e000L, 0xffffffffffffffffL, 0x1fffffffffffffffL }; static final long[] jjbitVec40 = { 0x87fffffe00000010L, 0xffffffe007fffffeL, 0x7fffffffffffffffL, 0x631cfcfcfcL }; private int jjMoveNfa_0(int startState, int curPos) { int startsAt = 0; jjnewStateCnt = 36; 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 37: case 26: if ((0xffffffffffffdbffL & l) != 0L) { jjCheckNAddTwoStates(26, 27); } break; case 38: if ((0xfffffffbffffdbffL & l) != 0L) { jjCheckNAddTwoStates(23, 24); } else if (curChar == 34) { if (kind > 82) kind = 82; } break; case 39: if ((0x3ff001000000000L & l) != 0L) { if (kind > 78) kind = 78; { jjCheckNAdd(16); } } else if (curChar == 35) { if (kind > 78) kind = 78; { jjCheckNAddTwoStates(15, 16); } } break; case 36: if ((0xffffff7fffffffffL & l) != 0L) { jjCheckNAddTwoStates(18, 19); } else if (curChar == 39) { if (kind > 81) kind = 81; jjstateSet[jjnewStateCnt++] = 20; } break; case 7: if ((0x3ff000000000000L & l) != 0L) { if (kind > 73) kind = 73; { jjCheckNAddStates(0, 5); } } else if (curChar == 34) { jjCheckNAddTwoStates(23, 24); } else if (curChar == 39) { jjCheckNAddTwoStates(18, 19); } else if (curChar == 35) { if (kind > 78) kind = 78; { jjCheckNAddTwoStates(15, 16); } } else if (curChar == 47) jjstateSet[jjnewStateCnt++] = 8; else if (curChar == 45) jjstateSet[jjnewStateCnt++] = 5; else if (curChar == 46) { jjCheckNAdd(1); } break; case 0: if (curChar == 46) { jjCheckNAdd(1); } break; case 1: if ((0x3ff000000000000L & l) == 0L) break; if (kind > 72) kind = 72; { jjCheckNAddTwoStates(1, 2); } break; case 3: if ((0x280000000000L & l) != 0L) { jjCheckNAdd(4); } break; case 4: if ((0x3ff000000000000L & l) == 0L) break; if (kind > 72) kind = 72; { jjCheckNAdd(4); } break; case 5: if (curChar != 45) break; if (kind > 76) kind = 76; { jjCheckNAdd(6); } break; case 6: if ((0xffffffffffffdbffL & l) == 0L) break; if (kind > 76) kind = 76; { jjCheckNAdd(6); } break; case 8: if (curChar == 42) { jjCheckNAddTwoStates(9, 10); } break; case 9: if ((0xfffffbffffffffffL & l) != 0L) { jjCheckNAddTwoStates(9, 10); } break; case 10: if (curChar == 42) { jjCheckNAddStates(6, 8); } break; case 11: if ((0xffff7bffffffffffL & l) != 0L) { jjCheckNAddTwoStates(12, 10); } break; case 12: if ((0xfffffbffffffffffL & l) != 0L) { jjCheckNAddTwoStates(12, 10); } break; case 13: if (curChar == 47 && kind > 77) kind = 77; break; case 14: if (curChar == 47) jjstateSet[jjnewStateCnt++] = 8; break; case 15: if (curChar != 35) break; if (kind > 78) kind = 78; { jjCheckNAddTwoStates(15, 16); } break; case 16: if ((0x3ff001000000000L & l) == 0L) break; if (kind > 78) kind = 78; { jjCheckNAdd(16); } break; case 17: if (curChar == 39) { jjCheckNAddTwoStates(18, 19); } break; case 18: if ((0xffffff7fffffffffL & l) != 0L) { jjCheckNAddTwoStates(18, 19); } break; case 19: if (curChar != 39) break; if (kind > 81) kind = 81; jjstateSet[jjnewStateCnt++] = 20; break; case 20: if (curChar == 39) { jjCheckNAddTwoStates(21, 19); } break; case 21: if ((0xffffff7fffffffffL & l) != 0L) { jjCheckNAddTwoStates(21, 19); } 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 > 82) kind = 82; break; case 28: if ((0x3ff000000000000L & l) == 0L) break; if (kind > 73) kind = 73; { jjCheckNAddStates(0, 5); } break; case 29: if ((0x3ff000000000000L & l) != 0L) { jjCheckNAddTwoStates(29, 0); } break; case 30: if ((0x3ff000000000000L & l) != 0L) { jjCheckNAddStates(9, 11); } break; case 31: if (curChar == 46) { jjCheckNAdd(32); } break; case 33: if ((0x280000000000L & l) != 0L) { jjCheckNAdd(34); } break; case 34: if ((0x3ff000000000000L & l) == 0L) break; if (kind > 72) kind = 72; { jjCheckNAdd(34); } break; case 35: if ((0x3ff000000000000L & l) == 0L) break; if (kind > 73) kind = 73; { jjCheckNAdd(35); } break; default : break; } } while(i != startsAt); } else if (curChar < 128) { long l = 1L << (curChar & 077); do { switch(jjstateSet[--i]) { case 37: if ((0xfffffffeffffffffL & l) != 0L) { jjCheckNAddTwoStates(26, 27); } else if (curChar == 96) { if (kind > 82) kind = 82; } break; case 38: case 23: { jjCheckNAddTwoStates(23, 24); } break; case 39: if ((0x7fffffe87fffffeL & l) != 0L) { if (kind > 78) kind = 78; { jjCheckNAdd(16); } } if ((0x7fffffe87fffffeL & l) != 0L) { if (kind > 78) kind = 78; { jjCheckNAddTwoStates(15, 16); } } break; case 36: case 18: { jjCheckNAddTwoStates(18, 19); } break; case 7: if ((0x7fffffe87fffffeL & l) != 0L) { if (kind > 78) kind = 78; { jjCheckNAddTwoStates(15, 16); } } else if (curChar == 96) { jjCheckNAddTwoStates(26, 27); } break; case 2: if ((0x2000000020L & l) != 0L) { jjAddStates(12, 13); } break; case 6: if (kind > 76) kind = 76; jjstateSet[jjnewStateCnt++] = 6; break; case 9: { jjCheckNAddTwoStates(9, 10); } break; case 11: case 12: { jjCheckNAddTwoStates(12, 10); } break; case 15: if ((0x7fffffe87fffffeL & l) == 0L) break; if (kind > 78) kind = 78; { jjCheckNAddTwoStates(15, 16); } break; case 16: if ((0x7fffffe87fffffeL & l) == 0L) break; if (kind > 78) kind = 78; { jjCheckNAdd(16); } break; case 21: { jjCheckNAddTwoStates(21, 19); } break; case 25: if (curChar == 96) { jjCheckNAddTwoStates(26, 27); } break; case 26: if ((0xfffffffeffffffffL & l) != 0L) { jjCheckNAddTwoStates(26, 27); } break; case 27: if (curChar == 96 && kind > 82) kind = 82; break; case 32: if ((0x2000000020L & l) != 0L) { jjAddStates(14, 15); } 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 37: case 26: if (jjCanMove_0(hiByte, i1, i2, l1, l2)) { jjCheckNAddTwoStates(26, 27); } break; case 38: case 23: if (jjCanMove_0(hiByte, i1, i2, l1, l2)) { jjCheckNAddTwoStates(23, 24); } break; case 39: if (jjCanMove_1(hiByte, i1, i2, l1, l2)) { if (kind > 78) kind = 78; { jjCheckNAddTwoStates(15, 16); } } if (jjCanMove_1(hiByte, i1, i2, l1, l2)) { if (kind > 78) kind = 78; { jjCheckNAdd(16); } } break; case 36: case 18: if (jjCanMove_0(hiByte, i1, i2, l1, l2)) { jjCheckNAddTwoStates(18, 19); } break; case 7: case 15: if (!jjCanMove_1(hiByte, i1, i2, l1, l2)) break; if (kind > 78) kind = 78; { jjCheckNAddTwoStates(15, 16); } break; case 6: if (!jjCanMove_0(hiByte, i1, i2, l1, l2)) break; if (kind > 76) kind = 76; jjstateSet[jjnewStateCnt++] = 6; break; case 9: if (jjCanMove_0(hiByte, i1, i2, l1, l2)) { jjCheckNAddTwoStates(9, 10); } break; case 11: case 12: if (jjCanMove_0(hiByte, i1, i2, l1, l2)) { jjCheckNAddTwoStates(12, 10); } break; case 16: if (!jjCanMove_1(hiByte, i1, i2, l1, l2)) break; if (kind > 78) kind = 78; { jjCheckNAdd(16); } break; case 21: if (jjCanMove_0(hiByte, i1, i2, l1, l2)) { jjCheckNAddTwoStates(21, 19); } break; default : if (i1 == 0 || l1 == 0 || i2 == 0 || l2 == 0) break; else break; } } while(i != startsAt); } if (kind != 0x7fffffff) { jjmatchedKind = kind; jjmatchedPos = curPos; kind = 0x7fffffff; } ++curPos; if ((i = jjnewStateCnt) == (startsAt = 36 - (jjnewStateCnt = startsAt))) return curPos; try { curChar = input_stream.readChar(); } catch(java.io.IOException e) { return curPos; } } } static final int[] jjnextStates = { 29, 0, 30, 31, 32, 35, 10, 11, 13, 30, 31, 32, 3, 4, 33, 34, }; 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 2: return ((jjbitVec5[i2] & l2) != 0L); case 3: return ((jjbitVec6[i2] & l2) != 0L); case 4: return ((jjbitVec7[i2] & l2) != 0L); case 5: return ((jjbitVec8[i2] & l2) != 0L); case 6: return ((jjbitVec9[i2] & l2) != 0L); case 7: return ((jjbitVec10[i2] & l2) != 0L); case 9: return ((jjbitVec11[i2] & l2) != 0L); case 10: return ((jjbitVec12[i2] & l2) != 0L); case 11: return ((jjbitVec13[i2] & l2) != 0L); case 12: return ((jjbitVec14[i2] & l2) != 0L); case 13: return ((jjbitVec15[i2] & l2) != 0L); case 14: return ((jjbitVec16[i2] & l2) != 0L); case 15: return ((jjbitVec17[i2] & l2) != 0L); case 16: return ((jjbitVec18[i2] & l2) != 0L); case 17: return ((jjbitVec19[i2] & l2) != 0L); case 18: return ((jjbitVec20[i2] & l2) != 0L); case 19: return ((jjbitVec21[i2] & l2) != 0L); case 20: return ((jjbitVec0[i2] & l2) != 0L); case 22: return ((jjbitVec22[i2] & l2) != 0L); case 23: return ((jjbitVec23[i2] & l2) != 0L); case 24: return ((jjbitVec24[i2] & l2) != 0L); case 30: return ((jjbitVec25[i2] & l2) != 0L); case 31: return ((jjbitVec26[i2] & l2) != 0L); case 32: return ((jjbitVec27[i2] & l2) != 0L); case 33: return ((jjbitVec28[i2] & l2) != 0L); case 45: return ((jjbitVec29[i2] & l2) != 0L); case 48: return ((jjbitVec30[i2] & l2) != 0L); case 49: return ((jjbitVec31[i2] & l2) != 0L); case 77: return ((jjbitVec32[i2] & l2) != 0L); case 159: return ((jjbitVec33[i2] & l2) != 0L); case 164: return ((jjbitVec34[i2] & l2) != 0L); case 215: return ((jjbitVec35[i2] & l2) != 0L); case 250: return ((jjbitVec36[i2] & l2) != 0L); case 251: return ((jjbitVec37[i2] & l2) != 0L); case 253: return ((jjbitVec38[i2] & l2) != 0L); case 254: return ((jjbitVec39[i2] & l2) != 0L); case 255: return ((jjbitVec40[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, 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, "\43", null, null, null, null, null, null, null, "\73", "\45", "\133", "\135", "\176", "\41", "\100", "\44", "\47", "\42", "\140", "\134", "\75", "\54", "\50", "\51", "\56", "\52", "\77", "\76", "\74", "\76\75", "\74\75", "\74\76", "\41\75", "\100\100", "\174\174", "\174", "\46", "\53", "\55", "\57", "\136", "\72", null, null, null, null, "\173", "\175", }; 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; jjmatchedPos = -1; matchedToken = jjFillToken(); matchedToken.specialToken = specialToken; return matchedToken; } try { input_stream.backup(0); while (curChar <= 32 && (0x100003600L & (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); } /** Constructor. */ public CCJSqlParserTokenManager(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 CCJSqlParserTokenManager (SimpleCharStream stream, int lexState){ ReInit(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 = 36; 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; } /** Lexer state names. */ public static final String[] lexStateNames = { "DEFAULT", }; static final long[] jjtoToken = { 0xffffffffffffffc1L, 0x7fffffffffe4bffL, }; static final long[] jjtoSkip = { 0x3eL, 0x3000L, }; static final long[] jjtoSpecial = { 0x0L, 0x3000L, }; protected SimpleCharStream input_stream; private final int[] jjrounds = new int[36]; private final int[] jjstateSet = new int[2 * 36]; protected char curChar; }