All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.yahoo.searchlib.rankingexpression.parser.RankingExpressionParserTokenManager Maven / Gradle / Ivy

There is a newer version: 8.458.13
Show newest version
/* RankingExpressionParserTokenManager.java */
/* Generated by: ParserGeneratorCC: Do not edit this line. RankingExpressionParserTokenManager.java */
package com.yahoo.searchlib.rankingexpression.parser;
import com.yahoo.searchlib.rankingexpression.Reference;
import com.yahoo.searchlib.rankingexpression.rule.*;
import com.yahoo.searchlib.rankingexpression.evaluation.Value;
import com.yahoo.searchlib.rankingexpression.evaluation.StringValue;
import com.yahoo.searchlib.rankingexpression.evaluation.TensorValue;
import com.yahoo.tensor.*;
import com.yahoo.tensor.functions.*;
import java.util.LinkedHashMap;
import java.util.Arrays;
import java.util.ArrayList;
import java.util.List;
import java.util.Optional;

/** Token Manager. */
@SuppressWarnings ("unused")
public class RankingExpressionParserTokenManager implements RankingExpressionParserConstants {
private final int jjStopStringLiteralDfa_0(int pos, long active0, long active1){
   switch (pos)
   {
      case 0:
         if ((active0 & 0x1800400000000L) != 0x0L || (active1 & 0x1000000001L) != 0x0L)
            return 22;
         if ((active0 & 0xfffe7fc300000000L) != 0x0L || (active1 & 0xffffffffeL) != 0x0L)
         {
            jjmatchedKind = 101;
            return 22;
         }
         return -1;
      case 1:
         if ((active0 & 0xffffffc000000000L) != 0x0L || (active1 & 0x1fffffffffL) != 0x0L)
         {
            jjmatchedKind = 101;
            jjmatchedPos = 1;
            return 22;
         }
         if ((active0 & 0x300000000L) != 0x0L)
            return 22;
         return -1;
      case 2:
         if ((active0 & 0x8cf3878000000000L) != 0x0L || (active1 & 0x1aa7efff93L) != 0x0L)
         {
            if (jjmatchedPos != 2)
            {
               jjmatchedKind = 101;
               jjmatchedPos = 2;
            }
            return 22;
         }
         if ((active0 & 0x730c784000000000L) != 0x0L || (active1 & 0x55810006cL) != 0x0L)
            return 22;
         return -1;
      case 3:
         if ((active0 & 0x46b000000000000L) != 0x0L || (active1 & 0x10afff7dd2L) != 0x0L)
         {
            if (jjmatchedPos != 3)
            {
               jjmatchedKind = 101;
               jjmatchedPos = 3;
            }
            return 22;
         }
         if ((active0 & 0xaa90978000000000L) != 0x0L || (active1 & 0xa00008201L) != 0x0L)
            return 22;
         return -1;
      case 4:
         if ((active0 & 0x440000000000000L) != 0x0L || (active1 & 0x8fff39d0L) != 0x0L)
         {
            jjmatchedKind = 101;
            jjmatchedPos = 4;
            return 22;
         }
         if ((active0 & 0x802b000000000000L) != 0x0L || (active1 & 0x1020004402L) != 0x0L)
            return 22;
         return -1;
      case 5:
         if ((active0 & 0x40000000000000L) != 0x0L || (active1 & 0x4de00d0L) != 0x0L)
         {
            jjmatchedKind = 101;
            jjmatchedPos = 5;
            return 22;
         }
         if ((active0 & 0x400000000000000L) != 0x0L || (active1 & 0x8b213900L) != 0x0L)
            return 22;
         return -1;
      case 6:
         if ((active0 & 0x40000000000000L) != 0x0L || (active1 & 0x400010L) != 0x0L)
            return 22;
         if ((active1 & 0x49e00c0L) != 0x0L)
         {
            jjmatchedKind = 101;
            jjmatchedPos = 6;
            return 22;
         }
         return -1;
      case 7:
         if ((active1 & 0x49e00c0L) != 0x0L)
         {
            jjmatchedKind = 101;
            jjmatchedPos = 7;
            return 22;
         }
         return -1;
      case 8:
         if ((active1 & 0x4800000L) != 0x0L)
            return 22;
         if ((active1 & 0x1e00c0L) != 0x0L)
         {
            jjmatchedKind = 101;
            jjmatchedPos = 8;
            return 22;
         }
         return -1;
      case 9:
         if ((active1 & 0x1e00c0L) != 0x0L)
         {
            jjmatchedKind = 101;
            jjmatchedPos = 9;
            return 22;
         }
         return -1;
      case 10:
         if ((active1 & 0x1e0040L) != 0x0L)
         {
            jjmatchedKind = 101;
            jjmatchedPos = 10;
            return 22;
         }
         if ((active1 & 0x80L) != 0x0L)
            return 22;
         return -1;
      case 11:
         if ((active1 & 0x60000L) != 0x0L)
            return 22;
         if ((active1 & 0x180040L) != 0x0L)
         {
            jjmatchedKind = 101;
            jjmatchedPos = 11;
            return 22;
         }
         return -1;
      case 12:
         if ((active1 & 0x180000L) != 0x0L)
         {
            jjmatchedKind = 101;
            jjmatchedPos = 12;
            return 22;
         }
         if ((active1 & 0x40L) != 0x0L)
            return 22;
         return -1;
      case 13:
         if ((active1 & 0x180000L) != 0x0L)
         {
            jjmatchedKind = 101;
            jjmatchedPos = 13;
            return 22;
         }
         return -1;
      case 14:
         if ((active1 & 0x180000L) != 0x0L)
         {
            jjmatchedKind = 101;
            jjmatchedPos = 14;
            return 22;
         }
         return -1;
      case 15:
         if ((active1 & 0x180000L) != 0x0L)
         {
            jjmatchedKind = 101;
            jjmatchedPos = 15;
            return 22;
         }
         return -1;
      case 16:
         if ((active1 & 0x80000L) != 0x0L)
         {
            jjmatchedKind = 101;
            jjmatchedPos = 16;
            return 22;
         }
         if ((active1 & 0x100000L) != 0x0L)
            return 22;
         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 '!':
         jjmatchedKind = 35;
         return jjMoveStringLiteralDfa1_0(0x20000000L, 0x0L);
      case '$':
         return jjStopAtPos(0, 21);
      case '%':
         return jjStopAtPos(0, 19);
      case '&':
         return jjMoveStringLiteralDfa1_0(0x1000000000L, 0x0L);
      case '(':
         return jjStopAtPos(0, 8);
      case ')':
         return jjStopAtPos(0, 9);
      case '*':
         return jjStopAtPos(0, 17);
      case '+':
         return jjStopAtPos(0, 14);
      case ',':
         return jjStopAtPos(0, 22);
      case '-':
         return jjStopAtPos(0, 15);
      case '.':
         return jjStopAtPos(0, 18);
      case '/':
         return jjStopAtPos(0, 16);
      case ':':
         return jjStopAtPos(0, 23);
      case '<':
         jjmatchedKind = 27;
         return jjMoveStringLiteralDfa1_0(0x4000000L, 0x0L);
      case '=':
         return jjMoveStringLiteralDfa1_0(0x40000000L, 0x0L);
      case '>':
         jjmatchedKind = 25;
         return jjMoveStringLiteralDfa1_0(0x1000000L, 0x0L);
      case '[':
         return jjStopAtPos(0, 10);
      case ']':
         return jjStopAtPos(0, 11);
      case '^':
         return jjStopAtPos(0, 20);
      case 'a':
         return jjMoveStringLiteralDfa1_0(0x800003c000000000L, 0x13000000L);
      case 'b':
         return jjMoveStringLiteralDfa1_0(0x0L, 0x8L);
      case 'c':
         return jjMoveStringLiteralDfa1_0(0x1c0000000000L, 0x24101000L);
      case 'd':
         return jjMoveStringLiteralDfa1_0(0x0L, 0x8000L);
      case 'e':
         return jjMoveStringLiteralDfa1_0(0x4000600000000000L, 0x8080000L);
      case 'f':
         jjmatchedKind = 34;
         return jjMoveStringLiteralDfa1_0(0x1800000000000L, 0x1000000001L);
      case 'h':
         return jjMoveStringLiteralDfa1_0(0x0L, 0x10L);
      case 'i':
         return jjMoveStringLiteralDfa1_0(0x2000300000000L, 0x0L);
      case 'j':
         return jjMoveStringLiteralDfa1_0(0x0L, 0x200L);
      case 'l':
         return jjMoveStringLiteralDfa1_0(0xc000000000000L, 0x60002L);
      case 'm':
         return jjMoveStringLiteralDfa1_0(0x0L, 0x1c0200460L);
      case 'p':
         return jjMoveStringLiteralDfa1_0(0x0L, 0x200000004L);
      case 'r':
         return jjMoveStringLiteralDfa1_0(0x30000000000000L, 0x14900L);
      case 's':
         return jjMoveStringLiteralDfa1_0(0xfc0000000000000L, 0x400400000L);
      case 't':
         return jjMoveStringLiteralDfa1_0(0x3000000000000000L, 0x800002000L);
      case 'u':
         return jjMoveStringLiteralDfa1_0(0x0L, 0x80L);
      case 'x':
         return jjMoveStringLiteralDfa1_0(0x0L, 0x800000L);
      case '{':
         return jjStopAtPos(0, 12);
      case '|':
         return jjMoveStringLiteralDfa1_0(0x2000000000L, 0x0L);
      case '}':
         return jjStopAtPos(0, 13);
      case '~':
         return jjMoveStringLiteralDfa1_0(0x10000000L, 0x0L);
      default :
         return jjMoveNfa_0(0, 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 '&':
         if ((active0 & 0x1000000000L) != 0x0L)
            return jjStopAtPos(1, 36);
         break;
      case '1':
         return jjMoveStringLiteralDfa2_0(active0, 0x0L, active1, 0x20000L);
      case '2':
         return jjMoveStringLiteralDfa2_0(active0, 0x0L, active1, 0x40000L);
      case '=':
         if ((active0 & 0x1000000L) != 0x0L)
            return jjStopAtPos(1, 24);
         else if ((active0 & 0x4000000L) != 0x0L)
            return jjStopAtPos(1, 26);
         else if ((active0 & 0x10000000L) != 0x0L)
            return jjStopAtPos(1, 28);
         else if ((active0 & 0x20000000L) != 0x0L)
            return jjStopAtPos(1, 29);
         else if ((active0 & 0x40000000L) != 0x0L)
            return jjStopAtPos(1, 30);
         break;
      case 'a':
         return jjMoveStringLiteralDfa2_0(active0, 0x3000800000000000L, active1, 0x1040214070L);
      case 'b':
         return jjMoveStringLiteralDfa2_0(active0, 0x4000000000L, active1, 0x0L);
      case 'c':
         return jjMoveStringLiteralDfa2_0(active0, 0x8000000000L, active1, 0x0L);
      case 'd':
         return jjMoveStringLiteralDfa2_0(active0, 0x0L, active1, 0x2L);
      case 'e':
         return jjMoveStringLiteralDfa2_0(active0, 0x10040000000000L, active1, 0x84002d00L);
      case 'f':
         if ((active0 & 0x100000000L) != 0x0L)
            return jjStartNfaWithStates_0(1, 32, 22);
         break;
      case 'i':
         return jjMoveStringLiteralDfa2_0(active0, 0x3c0000000000000L, active1, 0x100008008L);
      case 'l':
         return jjMoveStringLiteralDfa2_0(active0, 0x1200000000000L, active1, 0x0L);
      case 'm':
         return jjMoveStringLiteralDfa2_0(active0, 0x0L, active1, 0x1L);
      case 'n':
         if ((active0 & 0x200000000L) != 0x0L)
            return jjStartNfaWithStates_0(1, 33, 22);
         return jjMoveStringLiteralDfa2_0(active0, 0x0L, active1, 0x80L);
      case 'o':
         return jjMoveStringLiteralDfa2_0(active0, 0x2c180000000000L, active1, 0x20501204L);
      case 'q':
         return jjMoveStringLiteralDfa2_0(active0, 0xc00000000000000L, active1, 0x0L);
      case 'r':
         return jjMoveStringLiteralDfa2_0(active0, 0x4000000000000000L, active1, 0xa03000000L);
      case 's':
         return jjMoveStringLiteralDfa2_0(active0, 0x2010000000000L, active1, 0x0L);
      case 't':
         return jjMoveStringLiteralDfa2_0(active0, 0x8000020000000000L, active1, 0x0L);
      case 'u':
         return jjMoveStringLiteralDfa2_0(active0, 0x0L, active1, 0x400080000L);
      case 'v':
         return jjMoveStringLiteralDfa2_0(active0, 0x0L, active1, 0x10000000L);
      case 'w':
         return jjMoveStringLiteralDfa2_0(active0, 0x0L, active1, 0x800000L);
      case 'x':
         return jjMoveStringLiteralDfa2_0(active0, 0x400000000000L, active1, 0x8000000L);
      case '|':
         if ((active0 & 0x2000000000L) != 0x0L)
            return jjStopAtPos(1, 37);
         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 'N':
         return jjMoveStringLiteralDfa3_0(active0, 0x2000000000000L, active1, 0x0L);
      case '_':
         return jjMoveStringLiteralDfa3_0(active0, 0x0L, active1, 0x860000L);
      case 'a':
         return jjMoveStringLiteralDfa3_0(active0, 0x8000020000000000L, active1, 0x8000L);
      case 'b':
         return jjMoveStringLiteralDfa3_0(active0, 0x800000000000L, active1, 0x0L);
      case 'c':
         return jjMoveStringLiteralDfa3_0(active0, 0x0L, active1, 0x80000L);
      case 'd':
         return jjMoveStringLiteralDfa3_0(active0, 0x0L, active1, 0x80000100L);
      case 'e':
         return jjMoveStringLiteralDfa3_0(active0, 0x0L, active1, 0x2L);
      case 'f':
         if ((active0 & 0x4000000000000000L) != 0x0L)
            return jjStartNfaWithStates_0(2, 62, 22);
         return jjMoveStringLiteralDfa3_0(active0, 0x0L, active1, 0x400000L);
      case 'g':
         if ((active0 & 0x4000000000000L) != 0x0L)
         {
            jjmatchedKind = 50;
            jjmatchedPos = 2;
         }
         else if ((active1 & 0x10000000L) != 0x0L)
            return jjStartNfaWithStates_0(2, 92, 22);
         return jjMoveStringLiteralDfa3_0(active0, 0xc8000000000000L, active1, 0x3000000L);
      case 'i':
         return jjMoveStringLiteralDfa3_0(active0, 0x50000000000L, active1, 0x200L);
      case 'l':
         return jjMoveStringLiteralDfa3_0(active0, 0x10000000000000L, active1, 0x1004000000L);
      case 'm':
         if ((active1 & 0x400000000L) != 0x0L)
            return jjStartNfaWithStates_0(2, 98, 22);
         return jjMoveStringLiteralDfa3_0(active0, 0x0L, active1, 0x10L);
      case 'n':
         if ((active0 & 0x100000000000000L) != 0x0L)
         {
            jjmatchedKind = 56;
            jjmatchedPos = 2;
         }
         else if ((active0 & 0x1000000000000000L) != 0x0L)
         {
            jjmatchedKind = 60;
            jjmatchedPos = 2;
         }
         else if ((active1 & 0x100000000L) != 0x0L)
            return jjStartNfaWithStates_0(2, 96, 22);
         return jjMoveStringLiteralDfa3_0(active0, 0x2200000000000000L, active1, 0x17800L);
      case 'o':
         return jjMoveStringLiteralDfa3_0(active0, 0x1008000000000L, active1, 0x200000001L);
      case 'p':
         if ((active0 & 0x400000000000L) != 0x0L)
         {
            jjmatchedKind = 46;
            jjmatchedPos = 2;
         }
         else if ((active1 & 0x20L) != 0x0L)
         {
            jjmatchedKind = 69;
            jjmatchedPos = 2;
         }
         return jjMoveStringLiteralDfa3_0(active0, 0x0L, active1, 0x80000c0L);
      case 'r':
         return jjMoveStringLiteralDfa3_0(active0, 0x800000000000000L, active1, 0x400L);
      case 's':
         if ((active0 & 0x4000000000L) != 0x0L)
            return jjStartNfaWithStates_0(2, 38, 22);
         else if ((active0 & 0x80000000000L) != 0x0L)
         {
            jjmatchedKind = 43;
            jjmatchedPos = 2;
         }
         return jjMoveStringLiteralDfa3_0(active0, 0x100000000000L, active1, 0x100000L);
      case 't':
         if ((active1 & 0x8L) != 0x0L)
            return jjStartNfaWithStates_0(2, 67, 22);
         return jjMoveStringLiteralDfa3_0(active0, 0x0L, active1, 0x200000L);
      case 'u':
         if ((active0 & 0x200000000000L) != 0x0L)
            return jjStartNfaWithStates_0(2, 45, 22);
         return jjMoveStringLiteralDfa3_0(active0, 0x420000000000000L, active1, 0x820000000L);
      case 'w':
         if ((active1 & 0x4L) != 0x0L)
            return jjStartNfaWithStates_0(2, 66, 22);
         break;
      case 'x':
         if ((active1 & 0x40000000L) != 0x0L)
            return jjStartNfaWithStates_0(2, 94, 22);
         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 '1':
         return jjMoveStringLiteralDfa4_0(active0, 0x8000000000000L, active1, 0x0L);
      case '_':
         return jjMoveStringLiteralDfa4_0(active0, 0x0L, active1, 0x40L);
      case 'a':
         return jjMoveStringLiteralDfa4_0(active0, 0x402000000000000L, active1, 0x8000880L);
      case 'c':
         return jjMoveStringLiteralDfa4_0(active0, 0x0L, active1, 0x1000L);
      case 'd':
         if ((active1 & 0x1L) != 0x0L)
            return jjStartNfaWithStates_0(3, 64, 22);
         else if ((active1 & 0x200000000L) != 0x0L)
            return jjStartNfaWithStates_0(3, 97, 22);
         return jjMoveStringLiteralDfa4_0(active0, 0x0L, active1, 0x10000L);
      case 'e':
         if ((active1 & 0x800000000L) != 0x0L)
            return jjStartNfaWithStates_0(3, 99, 22);
         break;
      case 'g':
         if ((active1 & 0x8000L) != 0x0L)
            return jjStartNfaWithStates_0(3, 79, 22);
         return jjMoveStringLiteralDfa4_0(active0, 0x0L, active1, 0x4400L);
      case 'h':
         if ((active0 & 0x100000000000L) != 0x0L)
            return jjStartNfaWithStates_0(3, 44, 22);
         else if ((active0 & 0x200000000000000L) != 0x0L)
            return jjStartNfaWithStates_0(3, 57, 22);
         else if ((active0 & 0x2000000000000000L) != 0x0L)
            return jjStartNfaWithStates_0(3, 61, 22);
         break;
      case 'i':
         return jjMoveStringLiteralDfa4_0(active0, 0x0L, active1, 0x80100000L);
      case 'l':
         if ((active0 & 0x40000000000L) != 0x0L)
            return jjStartNfaWithStates_0(3, 42, 22);
         return jjMoveStringLiteralDfa4_0(active0, 0x0L, active1, 0x4080000L);
      case 'm':
         return jjMoveStringLiteralDfa4_0(active0, 0x40000000000000L, active1, 0x3200010L);
      case 'n':
         if ((active0 & 0x10000000000L) != 0x0L)
            return jjStartNfaWithStates_0(3, 40, 22);
         else if ((active0 & 0x20000000000L) != 0x0L)
         {
            jjmatchedKind = 41;
            jjmatchedPos = 3;
         }
         else if ((active0 & 0x80000000000000L) != 0x0L)
            return jjStartNfaWithStates_0(3, 55, 22);
         else if ((active1 & 0x200L) != 0x0L)
            return jjStartNfaWithStates_0(3, 73, 22);
         return jjMoveStringLiteralDfa4_0(active0, 0x8020000000000000L, active1, 0x20060000L);
      case 'o':
         return jjMoveStringLiteralDfa4_0(active0, 0x1000000000000L, active1, 0x0L);
      case 'p':
         return jjMoveStringLiteralDfa4_0(active0, 0x0L, active1, 0x800000L);
      case 's':
         if ((active0 & 0x8000000000L) != 0x0L)
            return jjStartNfaWithStates_0(3, 39, 22);
         else if ((active0 & 0x800000000000L) != 0x0L)
            return jjStartNfaWithStates_0(3, 47, 22);
         return jjMoveStringLiteralDfa4_0(active0, 0x0L, active1, 0x1000002000L);
      case 't':
         if ((active0 & 0x800000000000000L) != 0x0L)
            return jjStartNfaWithStates_0(3, 59, 22);
         return jjMoveStringLiteralDfa4_0(active0, 0x0L, active1, 0x400000L);
      case 'u':
         if ((active0 & 0x10000000000000L) != 0x0L)
            return jjStartNfaWithStates_0(3, 52, 22);
         return jjMoveStringLiteralDfa4_0(active0, 0x0L, active1, 0x100L);
      case 'x':
         return jjMoveStringLiteralDfa4_0(active0, 0x0L, active1, 0x2L);
      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 '0':
         if ((active0 & 0x8000000000000L) != 0x0L)
            return jjStartNfaWithStates_0(4, 51, 22);
         break;
      case '2':
         if ((active0 & 0x8000000000000000L) != 0x0L)
            return jjStartNfaWithStates_0(4, 63, 22);
         break;
      case '_':
         return jjMoveStringLiteralDfa5_0(active0, 0x0L, active1, 0x4000000L);
      case 'a':
         return jjMoveStringLiteralDfa5_0(active0, 0x0L, active1, 0x81001000L);
      case 'c':
         return jjMoveStringLiteralDfa5_0(active0, 0x0L, active1, 0x180L);
      case 'd':
         if ((active0 & 0x20000000000000L) != 0x0L)
            return jjStartNfaWithStates_0(4, 53, 22);
         break;
      case 'e':
         if ((active1 & 0x400L) != 0x0L)
            return jjStartNfaWithStates_0(4, 74, 22);
         else if ((active1 & 0x4000L) != 0x0L)
            return jjStartNfaWithStates_0(4, 78, 22);
         else if ((active1 & 0x1000000000L) != 0x0L)
            return jjStartNfaWithStates_0(4, 100, 22);
         break;
      case 'i':
         return jjMoveStringLiteralDfa5_0(active0, 0x0L, active1, 0x2080010L);
      case 'l':
         return jjMoveStringLiteralDfa5_0(active0, 0x0L, active1, 0x800000L);
      case 'm':
         return jjMoveStringLiteralDfa5_0(active0, 0x0L, active1, 0x400800L);
      case 'n':
         if ((active0 & 0x2000000000000L) != 0x0L)
            return jjStartNfaWithStates_0(4, 49, 22);
         return jjMoveStringLiteralDfa5_0(active0, 0x0L, active1, 0x8100000L);
      case 'o':
         return jjMoveStringLiteralDfa5_0(active0, 0x40000000000000L, active1, 0x72000L);
      case 'p':
         if ((active1 & 0x2L) != 0x0L)
            return jjStartNfaWithStates_0(4, 65, 22);
         break;
      case 'r':
         if ((active0 & 0x1000000000000L) != 0x0L)
            return jjStartNfaWithStates_0(4, 48, 22);
         return jjMoveStringLiteralDfa5_0(active0, 0x400000000000000L, active1, 0x0L);
      case 's':
         return jjMoveStringLiteralDfa5_0(active0, 0x0L, active1, 0x40L);
      case 't':
         if ((active1 & 0x20000000L) != 0x0L)
            return jjStartNfaWithStates_0(4, 93, 22);
         break;
      case 'u':
         return jjMoveStringLiteralDfa5_0(active0, 0x0L, active1, 0x200000L);
      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 'a':
         return jjMoveStringLiteralDfa6_0(active0, 0x0L, active1, 0x400000L);
      case 'c':
         return jjMoveStringLiteralDfa6_0(active0, 0x0L, active1, 0x4000000L);
      case 'd':
         if ((active1 & 0x8000000L) != 0x0L)
            return jjStartNfaWithStates_0(5, 91, 22);
         return jjMoveStringLiteralDfa6_0(active0, 0x0L, active1, 0x80000L);
      case 'e':
         if ((active0 & 0x400000000000000L) != 0x0L)
            return jjStartNfaWithStates_0(5, 58, 22);
         else if ((active1 & 0x100L) != 0x0L)
            return jjStartNfaWithStates_0(5, 72, 22);
         else if ((active1 & 0x800L) != 0x0L)
            return jjStartNfaWithStates_0(5, 75, 22);
         return jjMoveStringLiteralDfa6_0(active0, 0x0L, active1, 0x100000L);
      case 'i':
         return jjMoveStringLiteralDfa6_0(active0, 0x40000000000000L, active1, 0x0L);
      case 'k':
         return jjMoveStringLiteralDfa6_0(active0, 0x0L, active1, 0x80L);
      case 'l':
         if ((active1 & 0x200000L) != 0x0L)
            return jjStartNfaWithStates_0(5, 85, 22);
         break;
      case 'm':
         if ((active1 & 0x10000L) != 0x0L)
            return jjStartNfaWithStates_0(5, 80, 22);
         break;
      case 'n':
         if ((active1 & 0x2000000L) != 0x0L)
            return jjStartNfaWithStates_0(5, 89, 22);
         else if ((active1 & 0x80000000L) != 0x0L)
            return jjStartNfaWithStates_0(5, 95, 22);
         return jjMoveStringLiteralDfa6_0(active0, 0x0L, active1, 0x10L);
      case 'r':
         if ((active1 & 0x2000L) != 0x0L)
            return jjStartNfaWithStates_0(5, 77, 22);
         return jjMoveStringLiteralDfa6_0(active0, 0x0L, active1, 0x60000L);
      case 't':
         if ((active1 & 0x1000L) != 0x0L)
            return jjStartNfaWithStates_0(5, 76, 22);
         break;
      case 'u':
         return jjMoveStringLiteralDfa6_0(active0, 0x0L, active1, 0x800040L);
      case 'x':
         if ((active1 & 0x1000000L) != 0x0L)
            return jjStartNfaWithStates_0(5, 88, 22);
         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 '_':
         return jjMoveStringLiteralDfa7_0(active0, 0x0L, active1, 0x100080L);
      case 'a':
         return jjMoveStringLiteralDfa7_0(active0, 0x0L, active1, 0x4000000L);
      case 'b':
         return jjMoveStringLiteralDfa7_0(active0, 0x0L, active1, 0x40L);
      case 'd':
         if ((active0 & 0x40000000000000L) != 0x0L)
            return jjStartNfaWithStates_0(6, 54, 22);
         break;
      case 'e':
         return jjMoveStringLiteralDfa7_0(active0, 0x0L, active1, 0x80000L);
      case 'g':
         if ((active1 & 0x10L) != 0x0L)
            return jjStartNfaWithStates_0(6, 68, 22);
         break;
      case 'm':
         return jjMoveStringLiteralDfa7_0(active0, 0x0L, active1, 0x60000L);
      case 's':
         return jjMoveStringLiteralDfa7_0(active0, 0x0L, active1, 0x800000L);
      case 'x':
         if ((active1 & 0x400000L) != 0x0L)
            return jjStartNfaWithStates_0(6, 86, 22);
         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 '_':
         return jjMoveStringLiteralDfa8_0(active1, 0x800000L);
      case 'a':
         return jjMoveStringLiteralDfa8_0(active1, 0xe0000L);
      case 'b':
         return jjMoveStringLiteralDfa8_0(active1, 0x80L);
      case 's':
         return jjMoveStringLiteralDfa8_0(active1, 0x4100040L);
      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 'b':
         if ((active1 & 0x800000L) != 0x0L)
            return jjStartNfaWithStates_0(8, 87, 22);
         break;
      case 'i':
         return jjMoveStringLiteralDfa9_0(active1, 0x100080L);
      case 'l':
         return jjMoveStringLiteralDfa9_0(active1, 0x60000L);
      case 'n':
         return jjMoveStringLiteralDfa9_0(active1, 0x80000L);
      case 'p':
         return jjMoveStringLiteralDfa9_0(active1, 0x40L);
      case 't':
         if ((active1 & 0x4000000L) != 0x0L)
            return jjStartNfaWithStates_0(8, 90, 22);
         break;
      default :
         break;
   }
   return jjStartNfa_0(7, 0L, active1);
}
private int jjMoveStringLiteralDfa9_0(long old1, long active1){
   if (((active1 &= old1)) == 0L)
      return jjStartNfa_0(7, 0L, old1);
   try { curChar = input_stream.readChar(); }
   catch(java.io.IOException e) {
      jjStopStringLiteralDfa_0(8, 0L, active1);
      return 9;
   }
   switch(curChar)
   {
      case '_':
         return jjMoveStringLiteralDfa10_0(active1, 0x80000L);
      case 'a':
         return jjMoveStringLiteralDfa10_0(active1, 0x40L);
      case 'i':
         return jjMoveStringLiteralDfa10_0(active1, 0x60000L);
      case 'm':
         return jjMoveStringLiteralDfa10_0(active1, 0x100000L);
      case 't':
         return jjMoveStringLiteralDfa10_0(active1, 0x80L);
      default :
         break;
   }
   return jjStartNfa_0(8, 0L, active1);
}
private int jjMoveStringLiteralDfa10_0(long old1, long active1){
   if (((active1 &= old1)) == 0L)
      return jjStartNfa_0(8, 0L, old1);
   try { curChar = input_stream.readChar(); }
   catch(java.io.IOException e) {
      jjStopStringLiteralDfa_0(9, 0L, active1);
      return 10;
   }
   switch(curChar)
   {
      case 'c':
         return jjMoveStringLiteralDfa11_0(active1, 0x40L);
      case 'd':
         return jjMoveStringLiteralDfa11_0(active1, 0x80000L);
      case 'i':
         return jjMoveStringLiteralDfa11_0(active1, 0x100000L);
      case 's':
         if ((active1 & 0x80L) != 0x0L)
            return jjStartNfaWithStates_0(10, 71, 22);
         break;
      case 'z':
         return jjMoveStringLiteralDfa11_0(active1, 0x60000L);
      default :
         break;
   }
   return jjStartNfa_0(9, 0L, active1);
}
private int jjMoveStringLiteralDfa11_0(long old1, long active1){
   if (((active1 &= old1)) == 0L)
      return jjStartNfa_0(9, 0L, old1);
   try { curChar = input_stream.readChar(); }
   catch(java.io.IOException e) {
      jjStopStringLiteralDfa_0(10, 0L, active1);
      return 11;
   }
   switch(curChar)
   {
      case 'e':
         if ((active1 & 0x20000L) != 0x0L)
            return jjStartNfaWithStates_0(11, 81, 22);
         else if ((active1 & 0x40000L) != 0x0L)
            return jjStartNfaWithStates_0(11, 82, 22);
         return jjMoveStringLiteralDfa12_0(active1, 0x40L);
      case 'i':
         return jjMoveStringLiteralDfa12_0(active1, 0x80000L);
      case 'l':
         return jjMoveStringLiteralDfa12_0(active1, 0x100000L);
      default :
         break;
   }
   return jjStartNfa_0(10, 0L, active1);
}
private int jjMoveStringLiteralDfa12_0(long old1, long active1){
   if (((active1 &= old1)) == 0L)
      return jjStartNfa_0(10, 0L, old1);
   try { curChar = input_stream.readChar(); }
   catch(java.io.IOException e) {
      jjStopStringLiteralDfa_0(11, 0L, active1);
      return 12;
   }
   switch(curChar)
   {
      case 'a':
         return jjMoveStringLiteralDfa13_0(active1, 0x100000L);
      case 's':
         if ((active1 & 0x40L) != 0x0L)
            return jjStartNfaWithStates_0(12, 70, 22);
         return jjMoveStringLiteralDfa13_0(active1, 0x80000L);
      default :
         break;
   }
   return jjStartNfa_0(11, 0L, active1);
}
private int jjMoveStringLiteralDfa13_0(long old1, long active1){
   if (((active1 &= old1)) == 0L)
      return jjStartNfa_0(11, 0L, old1);
   try { curChar = input_stream.readChar(); }
   catch(java.io.IOException e) {
      jjStopStringLiteralDfa_0(12, 0L, active1);
      return 13;
   }
   switch(curChar)
   {
      case 'r':
         return jjMoveStringLiteralDfa14_0(active1, 0x100000L);
      case 't':
         return jjMoveStringLiteralDfa14_0(active1, 0x80000L);
      default :
         break;
   }
   return jjStartNfa_0(12, 0L, active1);
}
private int jjMoveStringLiteralDfa14_0(long old1, long active1){
   if (((active1 &= old1)) == 0L)
      return jjStartNfa_0(12, 0L, old1);
   try { curChar = input_stream.readChar(); }
   catch(java.io.IOException e) {
      jjStopStringLiteralDfa_0(13, 0L, active1);
      return 14;
   }
   switch(curChar)
   {
      case 'a':
         return jjMoveStringLiteralDfa15_0(active1, 0x80000L);
      case 'i':
         return jjMoveStringLiteralDfa15_0(active1, 0x100000L);
      default :
         break;
   }
   return jjStartNfa_0(13, 0L, active1);
}
private int jjMoveStringLiteralDfa15_0(long old1, long active1){
   if (((active1 &= old1)) == 0L)
      return jjStartNfa_0(13, 0L, old1);
   try { curChar = input_stream.readChar(); }
   catch(java.io.IOException e) {
      jjStopStringLiteralDfa_0(14, 0L, active1);
      return 15;
   }
   switch(curChar)
   {
      case 'n':
         return jjMoveStringLiteralDfa16_0(active1, 0x80000L);
      case 't':
         return jjMoveStringLiteralDfa16_0(active1, 0x100000L);
      default :
         break;
   }
   return jjStartNfa_0(14, 0L, active1);
}
private int jjMoveStringLiteralDfa16_0(long old1, long active1){
   if (((active1 &= old1)) == 0L)
      return jjStartNfa_0(14, 0L, old1);
   try { curChar = input_stream.readChar(); }
   catch(java.io.IOException e) {
      jjStopStringLiteralDfa_0(15, 0L, active1);
      return 16;
   }
   switch(curChar)
   {
      case 'c':
         return jjMoveStringLiteralDfa17_0(active1, 0x80000L);
      case 'y':
         if ((active1 & 0x100000L) != 0x0L)
            return jjStartNfaWithStates_0(16, 84, 22);
         break;
      default :
         break;
   }
   return jjStartNfa_0(15, 0L, active1);
}
private int jjMoveStringLiteralDfa17_0(long old1, long active1){
   if (((active1 &= old1)) == 0L)
      return jjStartNfa_0(15, 0L, old1);
   try { curChar = input_stream.readChar(); }
   catch(java.io.IOException e) {
      jjStopStringLiteralDfa_0(16, 0L, active1);
      return 17;
   }
   switch(curChar)
   {
      case 'e':
         if ((active1 & 0x80000L) != 0x0L)
            return jjStartNfaWithStates_0(17, 83, 22);
         break;
      default :
         break;
   }
   return jjStartNfa_0(16, 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
};
private int jjMoveNfa_0(int startState, int curPos)
{
   int startsAt = 0;
   jjnewStateCnt = 29;
   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) != 0x0L)
                  {
                     if (kind > 101)
                        kind = 101;
                     { jjCheckNAdd(22); }
                  }
                  else if ((0x100002600L & l) != 0x0L)
                  {
                     if (kind > 1)
                        kind = 1;
                  }
                  else if (curChar == 35)
                  {
                     if (kind > 102)
                        kind = 102;
                     { jjCheckNAdd(24); }
                  }
                  else if (curChar == 39)
                     { jjCheckNAddStates(0, 2); }
                  else if (curChar == 34)
                     { jjCheckNAddStates(3, 5); }
                  if ((0x3ff000000000000L & l) != 0x0L)
                  {
                     if (kind > 6)
                        kind = 6;
                     { jjCheckNAddStates(6, 9); }
                  }
                  if ((0x3fe000000000000L & l) != 0x0L)
                  {
                     if (kind > 2)
                        kind = 2;
                     { jjCheckNAddTwoStates(2, 3); }
                  }
                  else if (curChar == 48)
                  {
                     if (kind > 2)
                        kind = 2;
                     { jjCheckNAddStates(10, 12); }
                  }
                  break;
               case 1:
                  if ((0x3fe000000000000L & l) == 0x0L)
                     break;
                  if (kind > 2)
                     kind = 2;
                  { jjCheckNAddTwoStates(2, 3); }
                  break;
               case 2:
                  if ((0x3ff000000000000L & l) == 0x0L)
                     break;
                  if (kind > 2)
                     kind = 2;
                  { jjCheckNAddTwoStates(2, 3); }
                  break;
               case 4:
                  if ((0x3ff000000000000L & l) == 0x0L)
                     break;
                  if (kind > 6)
                     kind = 6;
                  { jjCheckNAddStates(6, 9); }
                  break;
               case 5:
                  if (curChar != 46)
                     break;
                  if (kind > 6)
                     kind = 6;
                  { jjCheckNAddStates(13, 15); }
                  break;
               case 6:
                  if ((0x3ff000000000000L & l) == 0x0L)
                     break;
                  if (kind > 6)
                     kind = 6;
                  { jjCheckNAddStates(13, 15); }
                  break;
               case 8:
                  if ((0x280000000000L & l) != 0x0L)
                     { jjCheckNAdd(9); }
                  break;
               case 9:
                  if ((0x3ff000000000000L & l) == 0x0L)
                     break;
                  if (kind > 6)
                     kind = 6;
                  { jjCheckNAddTwoStates(9, 10); }
                  break;
               case 11:
               case 13:
                  if (curChar == 34)
                     { jjCheckNAddStates(3, 5); }
                  break;
               case 12:
                  if ((0xfffffffbffffffffL & l) != 0x0L)
                     { jjCheckNAddStates(3, 5); }
                  break;
               case 15:
                  if (curChar == 34 && kind > 31)
                     kind = 31;
                  break;
               case 16:
               case 18:
                  if (curChar == 39)
                     { jjCheckNAddStates(0, 2); }
                  break;
               case 17:
                  if ((0xffffff7fffffffffL & l) != 0x0L)
                     { jjCheckNAddStates(0, 2); }
                  break;
               case 20:
                  if (curChar == 39 && kind > 31)
                     kind = 31;
                  break;
               case 21:
                  if ((0x3ff000000000000L & l) == 0x0L)
                     break;
                  if (kind > 101)
                     kind = 101;
                  { jjCheckNAdd(22); }
                  break;
               case 22:
                  if ((0x3ff001000000000L & l) == 0x0L)
                     break;
                  if (kind > 101)
                     kind = 101;
                  { jjCheckNAdd(22); }
                  break;
               case 23:
                  if (curChar != 35)
                     break;
                  if (kind > 102)
                     kind = 102;
                  { jjCheckNAdd(24); }
                  break;
               case 24:
                  if ((0xffffffffffffdbffL & l) == 0x0L)
                     break;
                  if (kind > 102)
                     kind = 102;
                  { jjCheckNAdd(24); }
                  break;
               case 25:
                  if (curChar != 48)
                     break;
                  if (kind > 2)
                     kind = 2;
                  { jjCheckNAddStates(10, 12); }
                  break;
               case 27:
                  if ((0x3ff000000000000L & l) == 0x0L)
                     break;
                  if (kind > 2)
                     kind = 2;
                  { jjCheckNAddTwoStates(27, 3); }
                  break;
               case 28:
                  if ((0xff000000000000L & l) == 0x0L)
                     break;
                  if (kind > 2)
                     kind = 2;
                  { jjCheckNAddTwoStates(28, 3); }
                  break;
               default : break;
            }
         } while(i != startsAt);
      }
      else if (curChar < 128)
      {
         long l = 1L << (curChar & 077);
         do
         {
            switch(jjstateSet[--i])
            {
               case 0:
               case 22:
                  if ((0x7fffffe87ffffffL & l) == 0x0L)
                     break;
                  if (kind > 101)
                     kind = 101;
                  { jjCheckNAdd(22); }
                  break;
               case 3:
                  if ((0x100000001000L & l) != 0x0L && kind > 2)
                     kind = 2;
                  break;
               case 7:
                  if ((0x2000000020L & l) != 0x0L)
                     { jjAddStates(16, 17); }
                  break;
               case 10:
                  if ((0x5000000050L & l) != 0x0L && kind > 6)
                     kind = 6;
                  break;
               case 12:
                  { jjAddStates(3, 5); }
                  break;
               case 14:
                  if (curChar == 92)
                     jjstateSet[jjnewStateCnt++] = 13;
                  break;
               case 17:
                  { jjAddStates(0, 2); }
                  break;
               case 19:
                  if (curChar == 92)
                     jjstateSet[jjnewStateCnt++] = 18;
                  break;
               case 24:
                  if (kind > 102)
                     kind = 102;
                  jjstateSet[jjnewStateCnt++] = 24;
                  break;
               case 26:
                  if ((0x100000001000000L & l) != 0x0L)
                     { jjCheckNAdd(27); }
                  break;
               case 27:
                  if ((0x7e0000007eL & l) == 0x0L)
                     break;
                  if (kind > 2)
                     kind = 2;
                  { jjCheckNAddTwoStates(27, 3); }
                  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 12:
                  if (jjCanMove_0(hiByte, i1, i2, l1, l2))
                     { jjAddStates(3, 5); }
                  break;
               case 17:
                  if (jjCanMove_0(hiByte, i1, i2, l1, l2))
                     { jjAddStates(0, 2); }
                  break;
               case 24:
                  if (!jjCanMove_0(hiByte, i1, i2, l1, l2))
                     break;
                  if (kind > 102)
                     kind = 102;
                  jjstateSet[jjnewStateCnt++] = 24;
                  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;
      i = jjnewStateCnt;
      jjnewStateCnt = startsAt;
      startsAt = 29 - jjnewStateCnt;
      if (i == startsAt)
         return curPos;
      try { curChar = input_stream.readChar(); }
      catch(final java.io.IOException e) { return curPos; }
   }
}

/** Token literal values. */
public static final String[] jjstrLiteralImages = {
"", null, null, null, null, null, null, null, "\50", "\51", "\133", "\135", 
"\173", "\175", "\53", "\55", "\57", "\52", "\56", "\45", "\136", "\44", "\54", "\72", 
"\76\75", "\76", "\74\75", "\74", "\176\75", "\41\75", "\75\75", null, "\151\146", 
"\151\156", "\146", "\41", "\46\46", "\174\174", "\141\142\163", "\141\143\157\163", 
"\141\163\151\156", "\141\164\141\156", "\143\145\151\154", "\143\157\163", "\143\157\163\150", 
"\145\154\165", "\145\170\160", "\146\141\142\163", "\146\154\157\157\162", 
"\151\163\116\141\156", "\154\157\147", "\154\157\147\61\60", "\162\145\154\165", 
"\162\157\165\156\144", "\163\151\147\155\157\151\144", "\163\151\147\156", "\163\151\156", 
"\163\151\156\150", "\163\161\165\141\162\145", "\163\161\162\164", "\164\141\156", 
"\164\141\156\150", "\145\162\146", "\141\164\141\156\62", "\146\155\157\144", 
"\154\144\145\170\160", "\160\157\167", "\142\151\164", "\150\141\155\155\151\156\147", "\155\141\160", 
"\155\141\160\137\163\165\142\163\160\141\143\145\163", "\165\156\160\141\143\153\137\142\151\164\163", "\162\145\144\165\143\145", 
"\152\157\151\156", "\155\145\162\147\145", "\162\145\156\141\155\145", "\143\157\156\143\141\164", 
"\164\145\156\163\157\162", "\162\141\156\147\145", "\144\151\141\147", "\162\141\156\144\157\155", 
"\154\61\137\156\157\162\155\141\154\151\172\145", "\154\62\137\156\157\162\155\141\154\151\172\145", 
"\145\165\143\154\151\144\145\141\156\137\144\151\163\164\141\156\143\145", "\143\157\163\151\156\145\137\163\151\155\151\154\141\162\151\164\171", 
"\155\141\164\155\165\154", "\163\157\146\164\155\141\170", "\170\167\137\160\154\165\163\137\142", 
"\141\162\147\155\141\170", "\141\162\147\155\151\156", "\143\145\154\154\137\143\141\163\164", 
"\145\170\160\141\156\144", "\141\166\147", "\143\157\165\156\164", "\155\141\170", 
"\155\145\144\151\141\156", "\155\151\156", "\160\162\157\144", "\163\165\155", "\164\162\165\145", 
"\146\141\154\163\145", null, null, };
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);
   t.kind = jjmatchedKind;
   t.image = curTokenImage;

   t.beginLine = beginLine;
   t.endLine = endLine;
   t.beginColumn = beginColumn;
   t.endColumn = endColumn;

   return t;
}
static final int[] jjnextStates = {
   17, 19, 20, 12, 14, 15, 4, 5, 7, 10, 26, 28, 3, 6, 7, 10, 
   8, 9, 
};
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;
   }
}

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(final Exception e)
   {
      jjmatchedKind = 0;
      jjmatchedPos = -1;
      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 (final 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 TokenMgrException(EOFSeen, curLexState, error_line, error_column, error_after, curChar, TokenMgrException.LEXICAL_ERROR);
  }
}

void SkipLexicalActions(Token matchedToken)
{
   switch(jjmatchedKind)
   {
      default :
         break;
   }
}
void MoreLexicalActions()
{
   jjimageLen += (lengthOfMatch = jjmatchedPos + 1);
   switch(jjmatchedKind)
   {
      default :
         break;
   }
}
void TokenLexicalActions(Token matchedToken)
{
   switch(jjmatchedKind)
   {
      default :
         break;
   }
}
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 RankingExpressionParserTokenManager(SimpleCharStream stream){
    input_stream = stream;
  }

  /** Constructor. */
  public RankingExpressionParserTokenManager (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 = 29; 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 TokenMgrException("Error: Ignoring invalid lexical state : " + lexState + ". State unchanged.", TokenMgrException.INVALID_LEXICAL_STATE);
    else
      curLexState = lexState;
  }


/** Lexer state names. */
public static final String[] lexStateNames = {
   "DEFAULT",
};

/** Lex State array. */
public static final int[] jjnewLexState = {
   -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 
   -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 
   -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 
   -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 
   -1, -1, -1, 
};
static final long[] jjtoToken = {
   0xffffffffffffff45L, 0x3fffffffffL, 
};
static final long[] jjtoSkip = {
   0x2L, 0x4000000000L, 
};
static final long[] jjtoSpecial = {
   0x0L, 0x4000000000L, 
};
static final long[] jjtoMore = {
   0x0L, 0x0L, 
};
    protected SimpleCharStream  input_stream;

    private final int[] jjrounds = new int[29];
    private final int[] jjstateSet = new int[2 * 29];
    private final StringBuilder jjimage = new StringBuilder();
    private StringBuilder image = jjimage;
    private int jjimageLen;
    private int lengthOfMatch;
    protected int curChar;
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy