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

com.google.common.css.compiler.ast.GssParserCCTokenManager Maven / Gradle / Ivy

Go to download

Closure Stylesheets is an extension to CSS that adds variables, functions, conditionals, and mixins to standard CSS. The tool also supports minification, linting, RTL flipping, and CSS class renaming.

The newest version!
/* GssParserCCTokenManager.java */
/* Generated By:JavaCC: Do not edit this line. GssParserCCTokenManager.java */
package com.google.common.css.compiler.ast;
import com.google.common.base.CharMatcher;
import com.google.common.base.Preconditions;
import com.google.common.collect.ImmutableList;
import com.google.common.collect.ImmutableSet;
import com.google.common.collect.Lists;
import com.google.common.css.*;
import java.util.Iterator;
import java.util.List;
import java.util.Set;
import java.util.regex.Pattern;

/** Token Manager. */
@SuppressWarnings("unused")public class GssParserCCTokenManager implements GssParserCCConstants {

  /** 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){
   switch (pos)
   {
      case 0:
         if ((active0 & 0x10000L) != 0L)
            return 276;
         if ((active0 & 0x4000000080L) != 0L)
            return 172;
         if ((active0 & 0x40L) != 0L)
            return 135;
         if ((active0 & 0x20L) != 0L)
            return 5;
         if ((active0 & 0x10L) != 0L)
            return 9;
         return -1;
      default :
         return -1;
   }
}
private final int jjStartNfa_0(int pos, long active0){
   return jjMoveNfa_0(jjStopStringLiteralDfa_0(pos, active0), pos + 1);
}
private int jjStopAtPos(int pos, int kind)
{
   jjmatchedKind = kind;
   jjmatchedPos = pos;
   return pos + 1;
}
private int jjMoveStringLiteralDfa0_0(){
   switch(curChar)
   {
      case 33:
         return jjStartNfaWithStates_0(0, 16, 276);
      case 37:
         return jjStopAtPos(0, 17);
      case 40:
         return jjStopAtPos(0, 11);
      case 41:
         return jjStopAtPos(0, 12);
      case 42:
         return jjStartNfaWithStates_0(0, 5, 5);
      case 44:
         return jjStopAtPos(0, 15);
      case 45:
         jjmatchedKind = 7;
         return jjMoveStringLiteralDfa1_0(0x4000000000L);
      case 46:
         return jjStartNfaWithStates_0(0, 4, 9);
      case 47:
         return jjStartNfaWithStates_0(0, 6, 135);
      case 58:
         return jjStopAtPos(0, 3);
      case 59:
         return jjStopAtPos(0, 2);
      case 60:
         return jjMoveStringLiteralDfa1_0(0x2000000000L);
      case 61:
         return jjStopAtPos(0, 8);
      case 91:
         return jjStopAtPos(0, 9);
      case 93:
         return jjStopAtPos(0, 10);
      case 123:
         return jjStopAtPos(0, 13);
      case 125:
         return jjStopAtPos(0, 14);
      default :
         return jjMoveNfa_0(0, 0);
   }
}
private int jjMoveStringLiteralDfa1_0(long active0){
   try { curChar = input_stream.readChar(); }
   catch(java.io.IOException e) {
      jjStopStringLiteralDfa_0(0, active0);
      return 1;
   }
   switch(curChar)
   {
      case 33:
         return jjMoveStringLiteralDfa2_0(active0, 0x2000000000L);
      case 45:
         return jjMoveStringLiteralDfa2_0(active0, 0x4000000000L);
      default :
         break;
   }
   return jjStartNfa_0(0, active0);
}
private int jjMoveStringLiteralDfa2_0(long old0, long active0){
   if (((active0 &= old0)) == 0L)
      return jjStartNfa_0(0, old0);
   try { curChar = input_stream.readChar(); }
   catch(java.io.IOException e) {
      jjStopStringLiteralDfa_0(1, active0);
      return 2;
   }
   switch(curChar)
   {
      case 45:
         return jjMoveStringLiteralDfa3_0(active0, 0x2000000000L);
      case 62:
         if ((active0 & 0x4000000000L) != 0L)
            return jjStopAtPos(2, 38);
         break;
      default :
         break;
   }
   return jjStartNfa_0(1, active0);
}
private int jjMoveStringLiteralDfa3_0(long old0, long active0){
   if (((active0 &= old0)) == 0L)
      return jjStartNfa_0(1, old0);
   try { curChar = input_stream.readChar(); }
   catch(java.io.IOException e) {
      jjStopStringLiteralDfa_0(2, active0);
      return 3;
   }
   switch(curChar)
   {
      case 45:
         if ((active0 & 0x2000000000L) != 0L)
            return jjStopAtPos(3, 37);
         break;
      default :
         break;
   }
   return jjStartNfa_0(2, active0);
}
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 = 276;
   int i = 1;
   jjstateSet[0] = startState;
   int kind = 0x7fffffff;
   for (;;)
   {
      if (++jjround == 0x7fffffff)
         ReInitRounds();
      if (curChar < 64)
      {
         long l = 1L << curChar;
         do
         {
            switch(jjstateSet[--i])
            {
               case 0:
                  if ((0x3ff000000000000L & l) != 0L)
                  {
                     if (kind > 58)
                        kind = 58;
                     { jjCheckNAddStates(0, 2); }
                  }
                  else if ((0x100003600L & l) != 0L)
                  {
                     if (kind > 45)
                        kind = 45;
                     { jjCheckNAddStates(3, 13); }
                  }
                  else if (curChar == 45)
                     { jjAddStates(14, 15); }
                  else if (curChar == 36)
                     { jjAddStates(16, 17); }
                  else if (curChar == 47)
                     { jjCheckNAddTwoStates(135, 150); }
                  else if (curChar == 39)
                     { jjCheckNAddStates(18, 20); }
                  else if (curChar == 34)
                     { jjCheckNAddStates(21, 23); }
                  else if (curChar == 33)
                     { jjCheckNAddTwoStates(13, 22); }
                  else if (curChar == 35)
                     { jjCheckNAdd(11); }
                  else if (curChar == 46)
                     { jjCheckNAdd(9); }
                  else if (curChar == 62)
                  {
                     if (kind > 50)
                        kind = 50;
                  }
                  else if (curChar == 43)
                  {
                     if (kind > 49)
                        kind = 49;
                  }
                  else if (curChar == 42)
                     jjstateSet[jjnewStateCnt++] = 5;
                  else if (curChar == 38)
                     jjstateSet[jjnewStateCnt++] = 1;
                  if (curChar == 45)
                     { jjAddStates(24, 25); }
                  break;
               case 276:
               case 13:
                  if ((0x100003600L & l) != 0L)
                     { jjCheckNAddTwoStates(13, 22); }
                  break;
               case 135:
                  if (curChar != 42)
                     break;
                  if (kind > 1)
                     kind = 1;
                  { jjCheckNAddStates(26, 31); }
                  break;
               case 1:
                  if (curChar == 38 && kind > 30)
                     kind = 30;
                  break;
               case 3:
                  if (curChar == 61 && kind > 33)
                     kind = 33;
                  break;
               case 4:
                  if (curChar == 42)
                     jjstateSet[jjnewStateCnt++] = 5;
                  break;
               case 5:
                  if (curChar == 61 && kind > 35)
                     kind = 35;
                  break;
               case 6:
                  if (curChar == 43 && kind > 49)
                     kind = 49;
                  break;
               case 7:
                  if (curChar == 62 && kind > 50)
                     kind = 50;
                  break;
               case 8:
                  if (curChar == 46)
                     { jjCheckNAdd(9); }
                  break;
               case 9:
                  if ((0x3ff000000000000L & l) == 0L)
                     break;
                  if (kind > 58)
                     kind = 58;
                  { jjCheckNAdd(9); }
                  break;
               case 10:
                  if (curChar == 35)
                     { jjCheckNAdd(11); }
                  break;
               case 11:
                  if ((0x3ff200000000000L & l) == 0L)
                     break;
                  if (kind > 59)
                     kind = 59;
                  { jjCheckNAdd(11); }
                  break;
               case 12:
                  if (curChar == 33)
                     { jjCheckNAddTwoStates(13, 22); }
                  break;
               case 23:
                  if (curChar == 34)
                     { jjCheckNAddStates(21, 23); }
                  break;
               case 24:
                  if ((0xfffffffbffffcbffL & l) != 0L)
                     { jjCheckNAddStates(21, 23); }
                  break;
               case 25:
                  if (curChar == 34 && kind > 61)
                     kind = 61;
                  break;
               case 27:
                  if (curChar == 10)
                     { jjCheckNAddStates(21, 23); }
                  break;
               case 28:
               case 32:
                  if (curChar == 13)
                     { jjCheckNAdd(27); }
                  break;
               case 29:
                  if ((0x3400L & l) != 0L)
                     { jjCheckNAddStates(21, 23); }
                  break;
               case 30:
                  if ((0xfc00ffffffffcbffL & l) != 0L)
                     { jjCheckNAddStates(21, 23); }
                  break;
               case 31:
                  if ((0x3ff000000000000L & l) != 0L)
                     { jjCheckNAddStates(32, 37); }
                  break;
               case 33:
                  if ((0x100003600L & l) != 0L)
                     { jjCheckNAddStates(21, 23); }
                  break;
               case 34:
                  if ((0x3ff000000000000L & l) != 0L)
                     { jjCheckNAddStates(38, 46); }
                  break;
               case 35:
                  if ((0x3ff000000000000L & l) != 0L)
                     { jjCheckNAddStates(47, 51); }
                  break;
               case 36:
                  if ((0x3ff000000000000L & l) != 0L)
                     { jjCheckNAddStates(52, 57); }
                  break;
               case 37:
                  if ((0x3ff000000000000L & l) != 0L)
                     { jjCheckNAddStates(58, 64); }
                  break;
               case 38:
                  if ((0x3ff000000000000L & l) != 0L)
                     { jjCheckNAddStates(65, 72); }
                  break;
               case 39:
                  if (curChar == 39)
                     { jjCheckNAddStates(18, 20); }
                  break;
               case 40:
                  if ((0xffffff7fffffcbffL & l) != 0L)
                     { jjCheckNAddStates(18, 20); }
                  break;
               case 41:
                  if (curChar == 39 && kind > 62)
                     kind = 62;
                  break;
               case 43:
                  if (curChar == 10)
                     { jjCheckNAddStates(18, 20); }
                  break;
               case 44:
               case 48:
                  if (curChar == 13)
                     { jjCheckNAdd(43); }
                  break;
               case 45:
                  if ((0x3400L & l) != 0L)
                     { jjCheckNAddStates(18, 20); }
                  break;
               case 46:
                  if ((0xfc00ffffffffcbffL & l) != 0L)
                     { jjCheckNAddStates(18, 20); }
                  break;
               case 47:
                  if ((0x3ff000000000000L & l) != 0L)
                     { jjCheckNAddStates(73, 78); }
                  break;
               case 49:
                  if ((0x100003600L & l) != 0L)
                     { jjCheckNAddStates(18, 20); }
                  break;
               case 50:
                  if ((0x3ff000000000000L & l) != 0L)
                     { jjCheckNAddStates(79, 87); }
                  break;
               case 51:
                  if ((0x3ff000000000000L & l) != 0L)
                     { jjCheckNAddStates(88, 92); }
                  break;
               case 52:
                  if ((0x3ff000000000000L & l) != 0L)
                     { jjCheckNAddStates(93, 98); }
                  break;
               case 53:
                  if ((0x3ff000000000000L & l) != 0L)
                     { jjCheckNAddStates(99, 105); }
                  break;
               case 54:
                  if ((0x3ff000000000000L & l) != 0L)
                     { jjCheckNAddStates(106, 113); }
                  break;
               case 56:
                  if (curChar == 40)
                     { jjCheckNAddStates(114, 116); }
                  break;
               case 57:
                  if ((0xfffffc7a00000000L & l) != 0L)
                     { jjCheckNAddStates(117, 119); }
                  break;
               case 58:
                  if ((0x100003600L & l) != 0L)
                     { jjCheckNAddTwoStates(58, 59); }
                  break;
               case 59:
                  if (curChar == 41 && kind > 63)
                     kind = 63;
                  break;
               case 60:
                  if ((0x100003600L & l) != 0L)
                     { jjCheckNAddStates(120, 123); }
                  break;
               case 67:
                  if (curChar == 40 && kind > 67)
                     kind = 67;
                  break;
               case 71:
                  if (curChar == 40 && kind > 68)
                     kind = 68;
                  break;
               case 76:
                  if (curChar == 40 && kind > 69)
                     kind = 69;
                  break;
               case 80:
                  if (curChar == 43)
                     jjstateSet[jjnewStateCnt++] = 81;
                  break;
               case 81:
                  if ((0x3ff000000000000L & l) == 0L)
                     break;
                  if (kind > 71)
                     kind = 71;
                  { jjCheckNAddStates(124, 126); }
                  break;
               case 82:
                  if (curChar == 45)
                     jjstateSet[jjnewStateCnt++] = 83;
                  break;
               case 83:
                  if ((0x3ff000000000000L & l) == 0L)
                     break;
                  if (kind > 71)
                     kind = 71;
                  jjstateSet[jjnewStateCnt++] = 84;
                  break;
               case 84:
                  if ((0x3ff000000000000L & l) == 0L)
                     break;
                  if (kind > 71)
                     kind = 71;
                  { jjCheckNAddStates(127, 130); }
                  break;
               case 85:
                  if ((0x3ff000000000000L & l) != 0L && kind > 71)
                     kind = 71;
                  break;
               case 86:
                  if ((0x3ff000000000000L & l) == 0L)
                     break;
                  if (kind > 71)
                     kind = 71;
                  { jjCheckNAdd(85); }
                  break;
               case 87:
                  if ((0x3ff000000000000L & l) == 0L)
                     break;
                  if (kind > 71)
                     kind = 71;
                  { jjCheckNAddTwoStates(85, 86); }
                  break;
               case 88:
                  if ((0x3ff000000000000L & l) == 0L)
                     break;
                  if (kind > 71)
                     kind = 71;
                  { jjCheckNAddStates(131, 133); }
                  break;
               case 89:
                  if (curChar != 63)
                     break;
                  if (kind > 71)
                     kind = 71;
                  jjstateSet[jjnewStateCnt++] = 90;
                  break;
               case 90:
                  if (curChar != 63)
                     break;
                  if (kind > 71)
                     kind = 71;
                  { jjCheckNAddStates(134, 137); }
                  break;
               case 91:
                  if (curChar == 63 && kind > 71)
                     kind = 71;
                  break;
               case 92:
                  if (curChar != 63)
                     break;
                  if (kind > 71)
                     kind = 71;
                  { jjCheckNAdd(91); }
                  break;
               case 93:
                  if (curChar != 63)
                     break;
                  if (kind > 71)
                     kind = 71;
                  { jjCheckNAddTwoStates(91, 92); }
                  break;
               case 94:
                  if (curChar != 63)
                     break;
                  if (kind > 71)
                     kind = 71;
                  { jjCheckNAddStates(138, 140); }
                  break;
               case 95:
                  if ((0x3ff000000000000L & l) == 0L)
                     break;
                  if (kind > 71)
                     kind = 71;
                  { jjCheckNAddStates(141, 146); }
                  break;
               case 96:
                  if ((0x3ff000000000000L & l) == 0L)
                     break;
                  if (kind > 71)
                     kind = 71;
                  { jjCheckNAddTwoStates(82, 89); }
                  break;
               case 97:
                  if ((0x3ff000000000000L & l) == 0L)
                     break;
                  if (kind > 71)
                     kind = 71;
                  { jjCheckNAddStates(147, 149); }
                  break;
               case 98:
                  if ((0x3ff000000000000L & l) == 0L)
                     break;
                  if (kind > 71)
                     kind = 71;
                  { jjCheckNAddStates(150, 153); }
                  break;
               case 99:
                  if ((0x3ff000000000000L & l) == 0L)
                     break;
                  if (kind > 71)
                     kind = 71;
                  { jjCheckNAddStates(154, 158); }
                  break;
               case 101:
                  if (curChar == 45)
                     { jjAddStates(24, 25); }
                  break;
               case 105:
                  if (curChar == 45)
                     jjstateSet[jjnewStateCnt++] = 104;
                  break;
               case 115:
                  if (curChar == 45)
                     jjstateSet[jjnewStateCnt++] = 114;
                  break;
               case 128:
                  if (curChar == 45)
                     jjstateSet[jjnewStateCnt++] = 127;
                  break;
               case 131:
                  if ((0x3ff000000000000L & l) == 0L)
                     break;
                  if (kind > 58)
                     kind = 58;
                  { jjCheckNAddStates(0, 2); }
                  break;
               case 132:
                  if ((0x3ff000000000000L & l) == 0L)
                     break;
                  if (kind > 58)
                     kind = 58;
                  { jjCheckNAdd(132); }
                  break;
               case 133:
                  if ((0x3ff000000000000L & l) != 0L)
                     { jjCheckNAddTwoStates(133, 8); }
                  break;
               case 134:
                  if (curChar == 47)
                     { jjCheckNAddTwoStates(135, 150); }
                  break;
               case 136:
                  if ((0xffff7bffffffffffL & l) == 0L)
                     break;
                  if (kind > 1)
                     kind = 1;
                  { jjCheckNAddStates(26, 31); }
                  break;
               case 137:
                  if (curChar != 47)
                     break;
                  if (kind > 1)
                     kind = 1;
                  { jjCheckNAddStates(26, 31); }
                  break;
               case 138:
                  if (curChar != 47)
                     break;
                  if (kind > 1)
                     kind = 1;
                  { jjCheckNAddTwoStates(140, 141); }
                  break;
               case 139:
                  if (curChar != 10)
                     break;
                  if (kind > 1)
                     kind = 1;
                  { jjCheckNAddTwoStates(140, 141); }
                  break;
               case 140:
                  if (curChar == 13)
                     jjstateSet[jjnewStateCnt++] = 139;
                  break;
               case 141:
                  if ((0x100003600L & l) == 0L)
                     break;
                  if (kind > 1)
                     kind = 1;
                  { jjCheckNAddTwoStates(140, 141); }
                  break;
               case 142:
                  if (curChar == 42)
                     jjstateSet[jjnewStateCnt++] = 138;
                  break;
               case 143:
                  if (curChar != 42)
                     break;
                  if (kind > 1)
                     kind = 1;
                  { jjCheckNAddStates(159, 164); }
                  break;
               case 144:
                  if (curChar == 42)
                     { jjCheckNAddTwoStates(144, 136); }
                  break;
               case 145:
                  if (curChar != 42)
                     break;
                  if (kind > 1)
                     kind = 1;
                  { jjCheckNAddStates(165, 168); }
                  break;
               case 147:
                  if (curChar == 47 && kind > 52)
                     kind = 52;
                  break;
               case 153:
                  if (curChar == 61 && kind > 36)
                     kind = 36;
                  break;
               case 155:
                  if (curChar == 61 && kind > 32)
                     kind = 32;
                  break;
               case 156:
                  if (curChar == 36)
                     { jjAddStates(16, 17); }
                  break;
               case 157:
                  if (curChar == 61 && kind > 34)
                     kind = 34;
                  break;
               case 159:
                  if ((0x3ff200000000000L & l) == 0L)
                     break;
                  if (kind > 65)
                     kind = 65;
                  jjstateSet[jjnewStateCnt++] = 159;
                  break;
               case 160:
                  if ((0x100003600L & l) == 0L)
                     break;
                  if (kind > 45)
                     kind = 45;
                  { jjCheckNAddStates(3, 13); }
                  break;
               case 161:
                  if ((0x100003600L & l) == 0L)
                     break;
                  if (kind > 45)
                     kind = 45;
                  { jjCheckNAdd(161); }
                  break;
               case 162:
                  if ((0x100003600L & l) != 0L)
                     { jjCheckNAddTwoStates(162, 163); }
                  break;
               case 163:
                  if (curChar == 45)
                     { jjCheckNAdd(164); }
                  break;
               case 164:
                  if ((0x100003600L & l) == 0L)
                     break;
                  if (kind > 48)
                     kind = 48;
                  { jjCheckNAdd(164); }
                  break;
               case 165:
                  if ((0x100003600L & l) != 0L)
                     { jjCheckNAddTwoStates(165, 6); }
                  break;
               case 166:
                  if ((0x100003600L & l) != 0L)
                     { jjCheckNAddTwoStates(166, 7); }
                  break;
               case 167:
                  if ((0x100003600L & l) != 0L)
                     { jjCheckNAddTwoStates(167, 168); }
                  break;
               case 169:
                  if ((0x100003600L & l) != 0L)
                     { jjCheckNAddTwoStates(169, 170); }
                  break;
               case 170:
                  if (curChar == 47)
                     { jjCheckNAdd(150); }
                  break;
               case 171:
                  if (curChar == 45)
                     { jjAddStates(14, 15); }
                  break;
               case 173:
                  if (curChar == 45)
                     jjstateSet[jjnewStateCnt++] = 174;
                  break;
               case 174:
                  if (curChar == 36)
                     jjstateSet[jjnewStateCnt++] = 175;
                  break;
               case 176:
                  if ((0x3ff200000000000L & l) == 0L)
                     break;
                  if (kind > 66)
                     kind = 66;
                  { jjCheckNAddStates(169, 171); }
                  break;
               case 177:
                  if ((0x3ff200000000000L & l) == 0L)
                     break;
                  if (kind > 66)
                     kind = 66;
                  { jjCheckNAddTwoStates(173, 177); }
                  break;
               case 179:
                  if (curChar == 45)
                     jjstateSet[jjnewStateCnt++] = 180;
                  break;
               case 180:
                  if (curChar == 36)
                     jjstateSet[jjnewStateCnt++] = 181;
                  break;
               case 182:
                  if (curChar == 40 && kind > 72)
                     kind = 72;
                  break;
               case 183:
                  if ((0x3ff200000000000L & l) != 0L)
                     { jjCheckNAddStates(172, 175); }
                  break;
               case 184:
                  if ((0x3ff200000000000L & l) != 0L)
                     { jjCheckNAddStates(176, 178); }
                  break;
               case 215:
                  if (curChar == 45)
                     jjstateSet[jjnewStateCnt++] = 214;
                  break;
               case 220:
                  if (curChar == 45)
                     jjstateSet[jjnewStateCnt++] = 221;
                  break;
               case 222:
                  if (curChar == 45)
                     jjstateSet[jjnewStateCnt++] = 223;
                  break;
               case 223:
                  if (curChar == 36)
                     jjstateSet[jjnewStateCnt++] = 224;
                  break;
               case 225:
                  if ((0x3ff200000000000L & l) == 0L)
                     break;
                  if (kind > 76)
                     kind = 76;
                  { jjCheckNAddStates(179, 181); }
                  break;
               case 226:
                  if ((0x3ff200000000000L & l) == 0L)
                     break;
                  if (kind > 76)
                     kind = 76;
                  { jjCheckNAddTwoStates(222, 226); }
                  break;
               case 227:
                  if (curChar == 45)
                     { jjAddStates(182, 185); }
                  break;
               case 236:
                  if (curChar == 45)
                     jjstateSet[jjnewStateCnt++] = 235;
                  break;
               case 251:
                  if (curChar == 45)
                     jjstateSet[jjnewStateCnt++] = 250;
                  break;
               case 263:
                  if (curChar == 45)
                     jjstateSet[jjnewStateCnt++] = 262;
                  break;
               case 274:
                  if (curChar == 45)
                     jjstateSet[jjnewStateCnt++] = 273;
                  break;
               default : break;
            }
         } while(i != startsAt);
      }
      else if (curChar < 128)
      {
         long l = 1L << (curChar & 077);
         do
         {
            switch(jjstateSet[--i])
            {
               case 0:
                  if ((0x7fffffe87fffffeL & l) != 0L)
                  {
                     if (kind > 66)
                        kind = 66;
                     { jjCheckNAddStates(186, 190); }
                  }
                  else if (curChar == 64)
                     { jjAddStates(191, 198); }
                  else if (curChar == 126)
                  {
                     if (kind > 51)
                        kind = 51;
                     jjstateSet[jjnewStateCnt++] = 155;
                  }
                  else if (curChar == 124)
                     { jjAddStates(199, 200); }
                  else if (curChar == 94)
                     jjstateSet[jjnewStateCnt++] = 3;
                  if (curChar == 117)
                     { jjAddStates(201, 202); }
                  else if (curChar == 85)
                     jjstateSet[jjnewStateCnt++] = 80;
                  else if (curChar == 99)
                     jjstateSet[jjnewStateCnt++] = 78;
                  else if (curChar == 108)
                     jjstateSet[jjnewStateCnt++] = 73;
                  else if (curChar == 110)
                     jjstateSet[jjnewStateCnt++] = 68;
                  else if (curChar == 100)
                     jjstateSet[jjnewStateCnt++] = 64;
                  break;
               case 276:
               case 22:
                  if (curChar == 105)
                     jjstateSet[jjnewStateCnt++] = 21;
                  break;
               case 172:
                  if ((0x7fffffe87fffffeL & l) != 0L)
                     { jjCheckNAddStates(176, 178); }
                  if ((0x7fffffe87fffffeL & l) != 0L)
                  {
                     if (kind > 66)
                        kind = 66;
                     { jjCheckNAddTwoStates(173, 177); }
                  }
                  if (curChar == 109)
                     jjstateSet[jjnewStateCnt++] = 117;
                  else if (curChar == 119)
                     jjstateSet[jjnewStateCnt++] = 110;
                  break;
               case 135:
               case 150:
                  if (curChar == 100)
                     jjstateSet[jjnewStateCnt++] = 149;
                  break;
               case 2:
                  if (curChar == 94)
                     jjstateSet[jjnewStateCnt++] = 3;
                  break;
               case 11:
                  if ((0x7fffffe87fffffeL & l) == 0L)
                     break;
                  if (kind > 59)
                     kind = 59;
                  jjstateSet[jjnewStateCnt++] = 11;
                  break;
               case 14:
                  if (curChar == 116 && kind > 60)
                     kind = 60;
                  break;
               case 15:
                  if (curChar == 110)
                     jjstateSet[jjnewStateCnt++] = 14;
                  break;
               case 16:
                  if (curChar == 97)
                     jjstateSet[jjnewStateCnt++] = 15;
                  break;
               case 17:
                  if (curChar == 116)
                     jjstateSet[jjnewStateCnt++] = 16;
                  break;
               case 18:
                  if (curChar == 114)
                     jjstateSet[jjnewStateCnt++] = 17;
                  break;
               case 19:
                  if (curChar == 111)
                     jjstateSet[jjnewStateCnt++] = 18;
                  break;
               case 20:
                  if (curChar == 112)
                     jjstateSet[jjnewStateCnt++] = 19;
                  break;
               case 21:
                  if (curChar == 109)
                     jjstateSet[jjnewStateCnt++] = 20;
                  break;
               case 24:
                  if ((0xffffffffefffffffL & l) != 0L)
                     { jjCheckNAddStates(21, 23); }
                  break;
               case 26:
                  if (curChar == 92)
                     { jjAddStates(203, 206); }
                  break;
               case 30:
                  if ((0xffffff81ffffffffL & l) != 0L)
                     { jjCheckNAddStates(21, 23); }
                  break;
               case 31:
                  if ((0x7e00000000L & l) != 0L)
                     { jjCheckNAddStates(32, 37); }
                  break;
               case 34:
                  if ((0x7e00000000L & l) != 0L)
                     { jjCheckNAddStates(38, 46); }
                  break;
               case 35:
                  if ((0x7e00000000L & l) != 0L)
                     { jjCheckNAddStates(47, 51); }
                  break;
               case 36:
                  if ((0x7e00000000L & l) != 0L)
                     { jjCheckNAddStates(52, 57); }
                  break;
               case 37:
                  if ((0x7e00000000L & l) != 0L)
                     { jjCheckNAddStates(58, 64); }
                  break;
               case 38:
                  if ((0x7e00000000L & l) != 0L)
                     { jjCheckNAddStates(65, 72); }
                  break;
               case 40:
                  if ((0xffffffffefffffffL & l) != 0L)
                     { jjCheckNAddStates(18, 20); }
                  break;
               case 42:
                  if (curChar == 92)
                     { jjAddStates(207, 210); }
                  break;
               case 46:
                  if ((0xffffff81ffffffffL & l) != 0L)
                     { jjCheckNAddStates(18, 20); }
                  break;
               case 47:
                  if ((0x7e00000000L & l) != 0L)
                     { jjCheckNAddStates(73, 78); }
                  break;
               case 50:
                  if ((0x7e00000000L & l) != 0L)
                     { jjCheckNAddStates(79, 87); }
                  break;
               case 51:
                  if ((0x7e00000000L & l) != 0L)
                     { jjCheckNAddStates(88, 92); }
                  break;
               case 52:
                  if ((0x7e00000000L & l) != 0L)
                     { jjCheckNAddStates(93, 98); }
                  break;
               case 53:
                  if ((0x7e00000000L & l) != 0L)
                     { jjCheckNAddStates(99, 105); }
                  break;
               case 54:
                  if ((0x7e00000000L & l) != 0L)
                     { jjCheckNAddStates(106, 113); }
                  break;
               case 55:
                  if (curChar == 110)
                     { jjCheckNAdd(56); }
                  break;
               case 57:
                  if ((0x7fffffffefffffffL & l) != 0L)
                     { jjAddStates(117, 119); }
                  break;
               case 61:
                  if (curChar == 105)
                     jjstateSet[jjnewStateCnt++] = 55;
                  break;
               case 62:
                  if (curChar == 97)
                     jjstateSet[jjnewStateCnt++] = 61;
                  break;
               case 63:
                  if (curChar == 109)
                     jjstateSet[jjnewStateCnt++] = 62;
                  break;
               case 64:
                  if (curChar == 111)
                     jjstateSet[jjnewStateCnt++] = 63;
                  break;
               case 65:
                  if (curChar == 100)
                     jjstateSet[jjnewStateCnt++] = 64;
                  break;
               case 66:
                  if (curChar == 116)
                     jjstateSet[jjnewStateCnt++] = 67;
                  break;
               case 68:
                  if (curChar == 111)
                     jjstateSet[jjnewStateCnt++] = 66;
                  break;
               case 69:
                  if (curChar == 110)
                     jjstateSet[jjnewStateCnt++] = 68;
                  break;
               case 70:
                  if (curChar == 103)
                     jjstateSet[jjnewStateCnt++] = 71;
                  break;
               case 72:
                  if (curChar == 110)
                     jjstateSet[jjnewStateCnt++] = 70;
                  break;
               case 73:
                  if (curChar == 97)
                     jjstateSet[jjnewStateCnt++] = 72;
                  break;
               case 74:
                  if (curChar == 108)
                     jjstateSet[jjnewStateCnt++] = 73;
                  break;
               case 75:
                  if (curChar == 99)
                     jjstateSet[jjnewStateCnt++] = 76;
                  break;
               case 77:
               case 102:
               case 112:
                  if (curChar == 108)
                     { jjCheckNAdd(75); }
                  break;
               case 78:
                  if (curChar == 97)
                     jjstateSet[jjnewStateCnt++] = 77;
                  break;
               case 79:
                  if (curChar == 99)
                     jjstateSet[jjnewStateCnt++] = 78;
                  break;
               case 81:
                  if ((0x7e0000007eL & l) == 0L)
                     break;
                  if (kind > 71)
                     kind = 71;
                  { jjCheckNAddStates(124, 126); }
                  break;
               case 83:
                  if ((0x7e0000007eL & l) == 0L)
                     break;
                  if (kind > 71)
                     kind = 71;
                  jjstateSet[jjnewStateCnt++] = 84;
                  break;
               case 84:
                  if ((0x7e0000007eL & l) == 0L)
                     break;
                  if (kind > 71)
                     kind = 71;
                  { jjCheckNAddStates(127, 130); }
                  break;
               case 85:
                  if ((0x7e0000007eL & l) != 0L && kind > 71)
                     kind = 71;
                  break;
               case 86:
                  if ((0x7e0000007eL & l) == 0L)
                     break;
                  if (kind > 71)
                     kind = 71;
                  { jjCheckNAdd(85); }
                  break;
               case 87:
                  if ((0x7e0000007eL & l) == 0L)
                     break;
                  if (kind > 71)
                     kind = 71;
                  { jjCheckNAddTwoStates(85, 86); }
                  break;
               case 88:
                  if ((0x7e0000007eL & l) == 0L)
                     break;
                  if (kind > 71)
                     kind = 71;
                  { jjCheckNAddStates(131, 133); }
                  break;
               case 95:
                  if ((0x7e0000007eL & l) == 0L)
                     break;
                  if (kind > 71)
                     kind = 71;
                  { jjCheckNAddStates(141, 146); }
                  break;
               case 96:
                  if ((0x7e0000007eL & l) == 0L)
                     break;
                  if (kind > 71)
                     kind = 71;
                  { jjCheckNAddTwoStates(82, 89); }
                  break;
               case 97:
                  if ((0x7e0000007eL & l) == 0L)
                     break;
                  if (kind > 71)
                     kind = 71;
                  { jjCheckNAddStates(147, 149); }
                  break;
               case 98:
                  if ((0x7e0000007eL & l) == 0L)
                     break;
                  if (kind > 71)
                     kind = 71;
                  { jjCheckNAddStates(150, 153); }
                  break;
               case 99:
                  if ((0x7e0000007eL & l) == 0L)
                     break;
                  if (kind > 71)
                     kind = 71;
                  { jjCheckNAddStates(154, 158); }
                  break;
               case 100:
                  if (curChar == 85)
                     jjstateSet[jjnewStateCnt++] = 80;
                  break;
               case 103:
                  if (curChar == 97)
                     jjstateSet[jjnewStateCnt++] = 102;
                  break;
               case 104:
                  if (curChar == 99)
                     jjstateSet[jjnewStateCnt++] = 103;
                  break;
               case 106:
                  if (curChar == 116)
                     jjstateSet[jjnewStateCnt++] = 105;
                  break;
               case 107:
                  if (curChar == 105)
                     jjstateSet[jjnewStateCnt++] = 106;
                  break;
               case 108:
                  if (curChar == 107)
                     jjstateSet[jjnewStateCnt++] = 107;
                  break;
               case 109:
                  if (curChar == 98)
                     jjstateSet[jjnewStateCnt++] = 108;
                  break;
               case 110:
                  if (curChar == 101)
                     jjstateSet[jjnewStateCnt++] = 109;
                  break;
               case 111:
                  if (curChar == 119)
                     jjstateSet[jjnewStateCnt++] = 110;
                  break;
               case 113:
                  if (curChar == 97)
                     jjstateSet[jjnewStateCnt++] = 112;
                  break;
               case 114:
                  if (curChar == 99)
                     jjstateSet[jjnewStateCnt++] = 113;
                  break;
               case 116:
                  if (curChar == 122)
                     jjstateSet[jjnewStateCnt++] = 115;
                  break;
               case 117:
                  if (curChar == 111)
                     jjstateSet[jjnewStateCnt++] = 116;
                  break;
               case 118:
                  if (curChar == 109)
                     jjstateSet[jjnewStateCnt++] = 117;
                  break;
               case 119:
                  if (curChar == 117)
                     { jjAddStates(201, 202); }
                  break;
               case 120:
                  if (curChar == 108)
                     { jjCheckNAdd(56); }
                  break;
               case 121:
                  if (curChar == 114)
                     jjstateSet[jjnewStateCnt++] = 120;
                  break;
               case 122:
                  if (curChar == 120)
                     { jjCheckNAdd(56); }
                  break;
               case 123:
                  if (curChar == 105)
                     jjstateSet[jjnewStateCnt++] = 122;
                  break;
               case 124:
                  if (curChar == 102)
                     jjstateSet[jjnewStateCnt++] = 123;
                  break;
               case 125:
                  if (curChar == 101)
                     jjstateSet[jjnewStateCnt++] = 124;
                  break;
               case 126:
                  if (curChar == 114)
                     jjstateSet[jjnewStateCnt++] = 125;
                  break;
               case 127:
                  if (curChar == 112)
                     jjstateSet[jjnewStateCnt++] = 126;
                  break;
               case 129:
                  if (curChar == 108)
                     jjstateSet[jjnewStateCnt++] = 128;
                  break;
               case 130:
                  if (curChar == 114)
                     jjstateSet[jjnewStateCnt++] = 129;
                  break;
               case 136:
                  if (kind > 1)
                     kind = 1;
                  { jjAddStates(26, 31); }
                  break;
               case 146:
                  if (curChar == 112)
                     jjstateSet[jjnewStateCnt++] = 147;
                  break;
               case 148:
                  if (curChar == 101)
                     jjstateSet[jjnewStateCnt++] = 146;
                  break;
               case 149:
                  if (curChar == 101)
                     jjstateSet[jjnewStateCnt++] = 148;
                  break;
               case 151:
                  if (curChar == 124)
                     { jjAddStates(199, 200); }
                  break;
               case 152:
                  if (curChar == 124 && kind > 31)
                     kind = 31;
                  break;
               case 154:
                  if (curChar != 126)
                     break;
                  if (kind > 51)
                     kind = 51;
                  jjstateSet[jjnewStateCnt++] = 155;
                  break;
               case 158:
               case 159:
                  if ((0x7fffffe87fffffeL & l) == 0L)
                     break;
                  if (kind > 65)
                     kind = 65;
                  { jjCheckNAdd(159); }
                  break;
               case 168:
                  if (curChar == 126 && kind > 51)
                     kind = 51;
                  break;
               case 175:
                  if ((0x7fffffe87fffffeL & l) == 0L)
                     break;
                  if (kind > 66)
                     kind = 66;
                  { jjCheckNAddTwoStates(173, 176); }
                  break;
               case 176:
                  if ((0x7fffffe87fffffeL & l) == 0L)
                     break;
                  if (kind > 66)
                     kind = 66;
                  { jjCheckNAddStates(169, 171); }
                  break;
               case 177:
                  if ((0x7fffffe87fffffeL & l) == 0L)
                     break;
                  if (kind > 66)
                     kind = 66;
                  { jjCheckNAddTwoStates(173, 177); }
                  break;
               case 178:
               case 184:
                  if ((0x7fffffe87fffffeL & l) != 0L)
                     { jjCheckNAddStates(176, 178); }
                  break;
               case 181:
                  if ((0x7fffffe87fffffeL & l) != 0L)
                     { jjCheckNAddStates(211, 213); }
                  break;
               case 183:
                  if ((0x7fffffe87fffffeL & l) != 0L)
                     { jjCheckNAddStates(172, 175); }
                  break;
               case 185:
                  if ((0x7fffffe87fffffeL & l) == 0L)
                     break;
                  if (kind > 66)
                     kind = 66;
                  { jjCheckNAddStates(186, 190); }
                  break;
               case 186:
                  if (curChar == 64)
                     { jjAddStates(191, 198); }
                  break;
               case 187:
                  if (curChar == 116 && kind > 73)
                     kind = 73;
                  break;
               case 188:
                  if (curChar == 115)
                     jjstateSet[jjnewStateCnt++] = 187;
                  break;
               case 189:
                  if (curChar == 105)
                     jjstateSet[jjnewStateCnt++] = 188;
                  break;
               case 190:
                  if (curChar == 108)
                     jjstateSet[jjnewStateCnt++] = 189;
                  break;
               case 191:
                  if (curChar == 115 && kind > 74)
                     kind = 74;
                  break;
               case 192:
               case 228:
               case 243:
               case 255:
               case 266:
                  if (curChar == 101)
                     { jjCheckNAdd(191); }
                  break;
               case 193:
                  if (curChar == 109)
                     jjstateSet[jjnewStateCnt++] = 192;
                  break;
               case 194:
                  if (curChar == 97)
                     jjstateSet[jjnewStateCnt++] = 193;
                  break;
               case 195:
                  if (curChar == 114)
                     jjstateSet[jjnewStateCnt++] = 194;
                  break;
               case 196:
                  if (curChar == 102)
                     jjstateSet[jjnewStateCnt++] = 195;
                  break;
               case 197:
                  if (curChar == 121)
                     jjstateSet[jjnewStateCnt++] = 196;
                  break;
               case 198:
                  if (curChar == 101)
                     jjstateSet[jjnewStateCnt++] = 197;
                  break;
               case 199:
                  if (curChar == 107)
                     jjstateSet[jjnewStateCnt++] = 198;
                  break;
               case 200:
                  if (curChar == 101 && kind > 75)
                     kind = 75;
                  break;
               case 201:
                  if (curChar == 103)
                     { jjCheckNAdd(200); }
                  break;
               case 202:
                  if (curChar == 97)
                     jjstateSet[jjnewStateCnt++] = 201;
                  break;
               case 203:
                  if (curChar == 112)
                     jjstateSet[jjnewStateCnt++] = 202;
                  break;
               case 204:
                  if (curChar == 110 && kind > 75)
                     kind = 75;
                  break;
               case 205:
                  if (curChar == 105)
                     jjstateSet[jjnewStateCnt++] = 204;
                  break;
               case 206:
                  if (curChar == 120)
                     jjstateSet[jjnewStateCnt++] = 205;
                  break;
               case 207:
                  if (curChar == 105)
                     jjstateSet[jjnewStateCnt++] = 206;
                  break;
               case 208:
                  if (curChar == 109)
                     jjstateSet[jjnewStateCnt++] = 207;
                  break;
               case 209:
                  if (curChar == 102)
                     jjstateSet[jjnewStateCnt++] = 208;
                  break;
               case 210:
                  if (curChar == 101)
                     jjstateSet[jjnewStateCnt++] = 209;
                  break;
               case 211:
                  if (curChar == 100)
                     jjstateSet[jjnewStateCnt++] = 210;
                  break;
               case 212:
                  if (curChar == 99)
                     { jjCheckNAdd(200); }
                  break;
               case 213:
                  if (curChar == 97)
                     jjstateSet[jjnewStateCnt++] = 212;
                  break;
               case 214:
                  if (curChar == 102)
                     jjstateSet[jjnewStateCnt++] = 213;
                  break;
               case 216:
                  if (curChar == 116)
                     jjstateSet[jjnewStateCnt++] = 215;
                  break;
               case 217:
                  if (curChar == 110)
                     jjstateSet[jjnewStateCnt++] = 216;
                  break;
               case 218:
                  if (curChar == 111)
                     jjstateSet[jjnewStateCnt++] = 217;
                  break;
               case 219:
                  if (curChar == 102)
                     jjstateSet[jjnewStateCnt++] = 218;
                  break;
               case 221:
               case 226:
                  if ((0x7fffffe87fffffeL & l) == 0L)
                     break;
                  if (kind > 76)
                     kind = 76;
                  { jjCheckNAddTwoStates(222, 226); }
                  break;
               case 224:
                  if ((0x7fffffe87fffffeL & l) == 0L)
                     break;
                  if (kind > 76)
                     kind = 76;
                  { jjCheckNAddTwoStates(222, 225); }
                  break;
               case 225:
                  if ((0x7fffffe87fffffeL & l) == 0L)
                     break;
                  if (kind > 76)
                     kind = 76;
                  { jjCheckNAddStates(179, 181); }
                  break;
               case 229:
                  if (curChar == 109)
                     jjstateSet[jjnewStateCnt++] = 228;
                  break;
               case 230:
                  if (curChar == 97)
                     jjstateSet[jjnewStateCnt++] = 229;
                  break;
               case 231:
                  if (curChar == 114)
                     jjstateSet[jjnewStateCnt++] = 230;
                  break;
               case 232:
                  if (curChar == 102)
                     jjstateSet[jjnewStateCnt++] = 231;
                  break;
               case 233:
                  if (curChar == 121)
                     jjstateSet[jjnewStateCnt++] = 232;
                  break;
               case 234:
                  if (curChar == 101)
                     jjstateSet[jjnewStateCnt++] = 233;
                  break;
               case 235:
                  if (curChar == 107)
                     jjstateSet[jjnewStateCnt++] = 234;
                  break;
               case 237:
                  if (curChar == 116)
                     jjstateSet[jjnewStateCnt++] = 236;
                  break;
               case 238:
                  if (curChar == 105)
                     jjstateSet[jjnewStateCnt++] = 237;
                  break;
               case 239:
                  if (curChar == 107)
                     jjstateSet[jjnewStateCnt++] = 238;
                  break;
               case 240:
                  if (curChar == 98)
                     jjstateSet[jjnewStateCnt++] = 239;
                  break;
               case 241:
                  if (curChar == 101)
                     jjstateSet[jjnewStateCnt++] = 240;
                  break;
               case 242:
                  if (curChar == 119)
                     jjstateSet[jjnewStateCnt++] = 241;
                  break;
               case 244:
                  if (curChar == 109)
                     jjstateSet[jjnewStateCnt++] = 243;
                  break;
               case 245:
                  if (curChar == 97)
                     jjstateSet[jjnewStateCnt++] = 244;
                  break;
               case 246:
                  if (curChar == 114)
                     jjstateSet[jjnewStateCnt++] = 245;
                  break;
               case 247:
                  if (curChar == 102)
                     jjstateSet[jjnewStateCnt++] = 246;
                  break;
               case 248:
                  if (curChar == 121)
                     jjstateSet[jjnewStateCnt++] = 247;
                  break;
               case 249:
                  if (curChar == 101)
                     jjstateSet[jjnewStateCnt++] = 248;
                  break;
               case 250:
                  if (curChar == 107)
                     jjstateSet[jjnewStateCnt++] = 249;
                  break;
               case 252:
                  if (curChar == 122)
                     jjstateSet[jjnewStateCnt++] = 251;
                  break;
               case 253:
                  if (curChar == 111)
                     jjstateSet[jjnewStateCnt++] = 252;
                  break;
               case 254:
                  if (curChar == 109)
                     jjstateSet[jjnewStateCnt++] = 253;
                  break;
               case 256:
                  if (curChar == 109)
                     jjstateSet[jjnewStateCnt++] = 255;
                  break;
               case 257:
                  if (curChar == 97)
                     jjstateSet[jjnewStateCnt++] = 256;
                  break;
               case 258:
                  if (curChar == 114)
                     jjstateSet[jjnewStateCnt++] = 257;
                  break;
               case 259:
                  if (curChar == 102)
                     jjstateSet[jjnewStateCnt++] = 258;
                  break;
               case 260:
                  if (curChar == 121)
                     jjstateSet[jjnewStateCnt++] = 259;
                  break;
               case 261:
                  if (curChar == 101)
                     jjstateSet[jjnewStateCnt++] = 260;
                  break;
               case 262:
                  if (curChar == 107)
                     jjstateSet[jjnewStateCnt++] = 261;
                  break;
               case 264:
                  if (curChar == 115)
                     jjstateSet[jjnewStateCnt++] = 263;
                  break;
               case 265:
                  if (curChar == 109)
                     jjstateSet[jjnewStateCnt++] = 264;
                  break;
               case 267:
                  if (curChar == 109)
                     jjstateSet[jjnewStateCnt++] = 266;
                  break;
               case 268:
                  if (curChar == 97)
                     jjstateSet[jjnewStateCnt++] = 267;
                  break;
               case 269:
                  if (curChar == 114)
                     jjstateSet[jjnewStateCnt++] = 268;
                  break;
               case 270:
                  if (curChar == 102)
                     jjstateSet[jjnewStateCnt++] = 269;
                  break;
               case 271:
                  if (curChar == 121)
                     jjstateSet[jjnewStateCnt++] = 270;
                  break;
               case 272:
                  if (curChar == 101)
                     jjstateSet[jjnewStateCnt++] = 271;
                  break;
               case 273:
                  if (curChar == 107)
                     jjstateSet[jjnewStateCnt++] = 272;
                  break;
               case 275:
                  if (curChar == 111)
                     jjstateSet[jjnewStateCnt++] = 274;
                  break;
               default : break;
            }
         } while(i != startsAt);
      }
      else
      {
         int hiByte = (curChar >> 8);
         int i1 = hiByte >> 6;
         long l1 = 1L << (hiByte & 077);
         int i2 = (curChar & 0xff) >> 6;
         long l2 = 1L << (curChar & 077);
         do
         {
            switch(jjstateSet[--i])
            {
               case 0:
                  if (!jjCanMove_0(hiByte, i1, i2, l1, l2))
                     break;
                  if (kind > 66)
                     kind = 66;
                  { jjCheckNAddStates(186, 190); }
                  break;
               case 172:
                  if (jjCanMove_0(hiByte, i1, i2, l1, l2))
                  {
                     if (kind > 66)
                        kind = 66;
                     { jjCheckNAddTwoStates(173, 177); }
                  }
                  if (jjCanMove_0(hiByte, i1, i2, l1, l2))
                     { jjCheckNAddStates(176, 178); }
                  break;
               case 11:
                  if (!jjCanMove_0(hiByte, i1, i2, l1, l2))
                     break;
                  if (kind > 59)
                     kind = 59;
                  jjstateSet[jjnewStateCnt++] = 11;
                  break;
               case 24:
               case 30:
                  if (jjCanMove_0(hiByte, i1, i2, l1, l2))
                     { jjCheckNAddStates(21, 23); }
                  break;
               case 40:
               case 46:
                  if (jjCanMove_0(hiByte, i1, i2, l1, l2))
                     { jjCheckNAddStates(18, 20); }
                  break;
               case 57:
                  if (jjCanMove_0(hiByte, i1, i2, l1, l2))
                     { jjAddStates(117, 119); }
                  break;
               case 136:
                  if (!jjCanMove_0(hiByte, i1, i2, l1, l2))
                     break;
                  if (kind > 1)
                     kind = 1;
                  { jjAddStates(26, 31); }
                  break;
               case 158:
               case 159:
                  if (!jjCanMove_0(hiByte, i1, i2, l1, l2))
                     break;
                  if (kind > 65)
                     kind = 65;
                  { jjCheckNAdd(159); }
                  break;
               case 175:
                  if (!jjCanMove_0(hiByte, i1, i2, l1, l2))
                     break;
                  if (kind > 66)
                     kind = 66;
                  { jjCheckNAddTwoStates(173, 176); }
                  break;
               case 176:
                  if (!jjCanMove_0(hiByte, i1, i2, l1, l2))
                     break;
                  if (kind > 66)
                     kind = 66;
                  { jjCheckNAddStates(169, 171); }
                  break;
               case 177:
                  if (!jjCanMove_0(hiByte, i1, i2, l1, l2))
                     break;
                  if (kind > 66)
                     kind = 66;
                  { jjCheckNAddTwoStates(173, 177); }
                  break;
               case 178:
               case 184:
                  if (jjCanMove_0(hiByte, i1, i2, l1, l2))
                     { jjCheckNAddStates(176, 178); }
                  break;
               case 181:
                  if (jjCanMove_0(hiByte, i1, i2, l1, l2))
                     { jjCheckNAddStates(211, 213); }
                  break;
               case 183:
                  if (jjCanMove_0(hiByte, i1, i2, l1, l2))
                     { jjCheckNAddStates(172, 175); }
                  break;
               case 221:
               case 226:
                  if (!jjCanMove_0(hiByte, i1, i2, l1, l2))
                     break;
                  if (kind > 76)
                     kind = 76;
                  { jjCheckNAddTwoStates(222, 226); }
                  break;
               case 224:
                  if (!jjCanMove_0(hiByte, i1, i2, l1, l2))
                     break;
                  if (kind > 76)
                     kind = 76;
                  { jjCheckNAddTwoStates(222, 225); }
                  break;
               case 225:
                  if (!jjCanMove_0(hiByte, i1, i2, l1, l2))
                     break;
                  if (kind > 76)
                     kind = 76;
                  { jjCheckNAddStates(179, 181); }
                  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 = 276 - (jjnewStateCnt = startsAt)))
         return curPos;
      try { curChar = input_stream.readChar(); }
      catch(java.io.IOException e) { return curPos; }
   }
}
static final int[] jjnextStates = {
   132, 133, 8, 161, 162, 163, 165, 6, 166, 7, 167, 168, 169, 170, 172, 178, 
   157, 158, 40, 41, 42, 24, 25, 26, 111, 118, 136, 137, 142, 140, 141, 143, 
   24, 32, 33, 25, 26, 34, 24, 35, 32, 33, 25, 26, 36, 37, 38, 24, 
   32, 33, 25, 26, 24, 35, 32, 33, 25, 26, 24, 35, 32, 33, 25, 26, 
   36, 24, 35, 32, 33, 25, 26, 36, 37, 40, 48, 49, 41, 42, 50, 40, 
   51, 48, 49, 41, 42, 52, 53, 54, 40, 48, 49, 41, 42, 40, 51, 48, 
   49, 41, 42, 40, 51, 48, 49, 41, 42, 52, 40, 51, 48, 49, 41, 42, 
   52, 53, 57, 59, 60, 57, 58, 59, 57, 58, 59, 60, 82, 89, 95, 85, 
   86, 87, 88, 85, 86, 87, 91, 92, 93, 94, 91, 92, 93, 96, 82, 89, 
   97, 98, 99, 96, 82, 89, 96, 82, 89, 97, 96, 82, 89, 97, 98, 144, 
   136, 145, 142, 140, 141, 145, 142, 140, 141, 173, 177, 176, 179, 184, 182, 183, 
   179, 184, 182, 222, 226, 225, 242, 254, 265, 275, 173, 177, 179, 184, 182, 190, 
   199, 203, 211, 219, 220, 221, 227, 152, 153, 121, 130, 28, 29, 30, 31, 44, 
   45, 46, 47, 179, 182, 183, 
};
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;
   }
}

/** Token literal values. */
public static final String[] jjstrLiteralImages = {
"", null, "\73", "\72", "\56", "\52", "\57", "\55", "\75", "\133", "\135", 
"\50", "\51", "\173", "\175", "\54", "\41", "\45", null, null, null, null, null, null, 
null, null, null, null, null, null, null, null, null, null, null, null, null, 
"\74\41\55\55", "\55\55\76", 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, };
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(Exception e)
   {
      jjmatchedKind = 0;
      jjmatchedPos = -1;
      matchedToken = jjFillToken();
      matchedToken.specialToken = specialToken;
      return matchedToken;
   }

   jjmatchedKind = 0x7fffffff;
   jjmatchedPos = 0;
   curPos = jjMoveStringLiteralDfa0_0();
   if (jjmatchedPos == 0 && jjmatchedKind > 77)
   {
      jjmatchedKind = 77;
   }
   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 GssParserCCTokenManager(CharStream stream){


    input_stream = stream;
  }

  /** Constructor. */
  public GssParserCCTokenManager (CharStream stream, int lexState){
    ReInit(stream);
    SwitchTo(lexState);
  }

  /** Reinitialise parser. */
  
  public void ReInit(CharStream stream)
  {


    jjmatchedPos = jjnewStateCnt = 0;
    curLexState = defaultLexState;
    input_stream = stream;
    ReInitRounds();
  }

  private void ReInitRounds()
  {
    int i;
    jjround = 0x80000001;
    for (i = 276; i-- > 0;)
      jjrounds[i] = 0x80000000;
  }

  /** Reinitialise parser. */
  public void ReInit(CharStream 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 = {
   0xfc1f207fc003fffdL, 0x3fbeL, 
};
static final long[] jjtoSkip = {
   0x2L, 0x0L, 
};
static final long[] jjtoSpecial = {
   0x2L, 0x0L, 
};
    protected CharStream  input_stream;

    private final int[] jjrounds = new int[276];
    private final int[] jjstateSet = new int[2 * 276];

    
    protected int curChar;
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy