com.yahoo.vespa.indexinglanguage.parser.IndexingParserTokenManager Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of indexinglanguage Show documentation
Show all versions of indexinglanguage Show documentation
Interpreter for the Indexing Language
/* IndexingParserTokenManager.java */
/* Generated by: ParserGeneratorCC: Do not edit this line. IndexingParserTokenManager.java */
package com.yahoo.vespa.indexinglanguage.parser;
import java.math.BigDecimal;
import java.math.BigInteger;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.util.LinkedHashMap;
import com.yahoo.collections.Pair;
import com.yahoo.document.datatypes.*;
import com.yahoo.text.StringUtilities;
import com.yahoo.vespa.indexinglanguage.expressions.*;
import com.yahoo.vespa.indexinglanguage.linguistics.AnnotatorConfig;
import com.yahoo.language.process.Embedder;
import com.yahoo.language.Linguistics;
/** Token Manager. */
@SuppressWarnings ("unused")
public class IndexingParserTokenManager implements IndexingParserConstants {
private final int jjStopStringLiteralDfa_0(int pos, long active0, long active1){
switch (pos)
{
case 0:
if ((active1 & 0x200000000L) != 0x0L)
return 13;
if ((active0 & 0xfffffffe00000000L) != 0x0L || (active1 & 0x1ffffffffL) != 0x0L)
{
jjmatchedKind = 98;
return 13;
}
return -1;
case 1:
if ((active0 & 0x80000000000000L) != 0x0L)
return 13;
if ((active0 & 0xff7ffffe00000000L) != 0x0L || (active1 & 0x1ffffffffL) != 0x0L)
{
jjmatchedKind = 98;
jjmatchedPos = 1;
return 13;
}
return -1;
case 2:
if ((active0 & 0xff7ffffe00000000L) != 0x0L || (active1 & 0x1fffffffdL) != 0x0L)
{
jjmatchedKind = 98;
jjmatchedPos = 2;
return 13;
}
if ((active1 & 0x2L) != 0x0L)
return 13;
return -1;
case 3:
if ((active0 & 0xfb77f3be00000000L) != 0x0L || (active1 & 0x15ffeeffdL) != 0x0L)
{
jjmatchedKind = 98;
jjmatchedPos = 3;
return 13;
}
if ((active0 & 0x4080c4000000000L) != 0x0L || (active1 & 0xa0011000L) != 0x0L)
return 13;
return -1;
case 4:
if ((active0 & 0x8304300000000000L) != 0x0L || (active1 & 0x100000c00L) != 0x0L)
return 13;
if ((active0 & 0x7873c3be00000000L) != 0x0L || (active1 & 0x5ffee3fdL) != 0x0L)
{
jjmatchedKind = 98;
jjmatchedPos = 4;
return 13;
}
return -1;
case 5:
if ((active1 & 0x41408020L) != 0x0L)
return 13;
if ((active0 & 0x7873c3be00000000L) != 0x0L || (active1 & 0x1ebe63ddL) != 0x0L)
{
jjmatchedKind = 98;
jjmatchedPos = 5;
return 13;
}
return -1;
case 6:
if ((active0 & 0x2408000000000L) != 0x0L || (active1 & 0x18884200L) != 0x0L)
return 13;
if ((active0 & 0x7871833e00000000L) != 0x0L || (active1 & 0x63621ddL) != 0x0L)
{
jjmatchedKind = 98;
jjmatchedPos = 6;
return 13;
}
return -1;
case 7:
if ((active0 & 0x7831032e00000000L) != 0x0L || (active1 & 0x61021ddL) != 0x0L)
{
jjmatchedKind = 98;
jjmatchedPos = 7;
return 13;
}
if ((active0 & 0x40801000000000L) != 0x0L || (active1 & 0x260000L) != 0x0L)
return 13;
return -1;
case 8:
if ((active0 & 0x7000030c00000000L) != 0x0L || (active1 & 0x20001d4L) != 0x0L)
{
jjmatchedKind = 98;
jjmatchedPos = 8;
return 13;
}
if ((active0 & 0x831002200000000L) != 0x0L || (active1 & 0x4102009L) != 0x0L)
return 13;
return -1;
case 9:
if ((active0 & 0x1000000000000000L) != 0x0L)
return 13;
if ((active0 & 0x6000030c00000000L) != 0x0L || (active1 & 0x20001d4L) != 0x0L)
{
jjmatchedKind = 98;
jjmatchedPos = 9;
return 13;
}
return -1;
case 10:
if ((active0 & 0x10000000000L) != 0x0L || (active1 & 0x10L) != 0x0L)
return 13;
if ((active0 & 0x6000020c00000000L) != 0x0L || (active1 & 0x20001c4L) != 0x0L)
{
jjmatchedKind = 98;
jjmatchedPos = 10;
return 13;
}
return -1;
case 11:
if ((active0 & 0x6000020000000000L) != 0x0L || (active1 & 0x2000044L) != 0x0L)
{
jjmatchedKind = 98;
jjmatchedPos = 11;
return 13;
}
if ((active0 & 0xc00000000L) != 0x0L || (active1 & 0x180L) != 0x0L)
return 13;
return -1;
case 12:
if ((active0 & 0x6000020000000000L) != 0x0L || (active1 & 0x2000044L) != 0x0L)
{
jjmatchedKind = 98;
jjmatchedPos = 12;
return 13;
}
return -1;
case 13:
if ((active1 & 0x40L) != 0x0L)
return 13;
if ((active0 & 0x6000020000000000L) != 0x0L || (active1 & 0x2000004L) != 0x0L)
{
jjmatchedKind = 98;
jjmatchedPos = 13;
return 13;
}
return -1;
case 14:
if ((active0 & 0x2000000000000000L) != 0x0L || (active1 & 0x2000000L) != 0x0L)
return 13;
if ((active0 & 0x4000020000000000L) != 0x0L || (active1 & 0x4L) != 0x0L)
{
jjmatchedKind = 98;
jjmatchedPos = 14;
return 13;
}
return -1;
case 15:
if ((active0 & 0x4000000000000000L) != 0x0L)
return 13;
if ((active0 & 0x20000000000L) != 0x0L || (active1 & 0x4L) != 0x0L)
{
jjmatchedKind = 98;
jjmatchedPos = 15;
return 13;
}
return -1;
case 16:
if ((active0 & 0x20000000000L) != 0x0L || (active1 & 0x4L) != 0x0L)
{
jjmatchedKind = 98;
jjmatchedPos = 16;
return 13;
}
return -1;
case 17:
if ((active0 & 0x20000000000L) != 0x0L)
{
jjmatchedKind = 98;
jjmatchedPos = 17;
return 13;
}
if ((active1 & 0x4L) != 0x0L)
return 13;
return -1;
case 18:
if ((active0 & 0x20000000000L) != 0x0L)
{
jjmatchedKind = 98;
jjmatchedPos = 18;
return 13;
}
return -1;
case 19:
if ((active0 & 0x20000000000L) != 0x0L)
{
jjmatchedKind = 98;
jjmatchedPos = 19;
return 13;
}
return -1;
case 20:
if ((active0 & 0x20000000000L) != 0x0L)
{
jjmatchedKind = 98;
jjmatchedPos = 20;
return 13;
}
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 10:
return jjStopAtPos(0, 10);
case '!':
return jjMoveStringLiteralDfa1_0(0x20000L, 0x0L);
case '$':
return jjStopAtPos(0, 99);
case '%':
return jjStopAtPos(0, 15);
case '(':
return jjStopAtPos(0, 26);
case ')':
return jjStopAtPos(0, 27);
case '*':
return jjStopAtPos(0, 13);
case '+':
return jjStopAtPos(0, 11);
case ',':
return jjStopAtPos(0, 29);
case '-':
return jjStopAtPos(0, 12);
case '.':
return jjStopAtPos(0, 28);
case '/':
return jjStopAtPos(0, 14);
case ':':
return jjStopAtPos(0, 30);
case ';':
return jjStopAtPos(0, 31);
case '<':
jjmatchedKind = 18;
return jjMoveStringLiteralDfa1_0(0x80000L, 0x0L);
case '=':
return jjMoveStringLiteralDfa1_0(0x10000L, 0x0L);
case '>':
jjmatchedKind = 20;
return jjMoveStringLiteralDfa1_0(0x200000L, 0x0L);
case '_':
return jjStartNfaWithStates_0(0, 97, 13);
case 'a':
return jjMoveStringLiteralDfa1_0(0x200000000L, 0x0L);
case 'b':
return jjMoveStringLiteralDfa1_0(0x3c00000000L, 0x0L);
case 'c':
return jjMoveStringLiteralDfa1_0(0x34000000000L, 0x0L);
case 'd':
return jjMoveStringLiteralDfa1_0(0x8000000000L, 0x0L);
case 'e':
return jjMoveStringLiteralDfa1_0(0x3c0000000000L, 0x0L);
case 'f':
return jjMoveStringLiteralDfa1_0(0xc00000000000L, 0x100000000L);
case 'g':
return jjMoveStringLiteralDfa1_0(0x7000000000000L, 0x0L);
case 'h':
return jjMoveStringLiteralDfa1_0(0x78000000000000L, 0x0L);
case 'i':
return jjMoveStringLiteralDfa1_0(0x380000000000000L, 0x0L);
case 'j':
return jjMoveStringLiteralDfa1_0(0x400000000000000L, 0x0L);
case 'l':
return jjMoveStringLiteralDfa1_0(0x800000000000000L, 0x0L);
case 'm':
return jjMoveStringLiteralDfa1_0(0x7000000000000000L, 0x0L);
case 'n':
return jjMoveStringLiteralDfa1_0(0x8000000000000000L, 0x3L);
case 'o':
return jjMoveStringLiteralDfa1_0(0x0L, 0x4L);
case 'p':
return jjMoveStringLiteralDfa1_0(0x0L, 0x18L);
case 'r':
return jjMoveStringLiteralDfa1_0(0x0L, 0x60L);
case 's':
return jjMoveStringLiteralDfa1_0(0x0L, 0xff80L);
case 't':
return jjMoveStringLiteralDfa1_0(0x0L, 0xbfff0000L);
case 'z':
return jjMoveStringLiteralDfa1_0(0x0L, 0x40000000L);
case '{':
return jjStopAtPos(0, 24);
case '|':
jjmatchedKind = 23;
return jjMoveStringLiteralDfa1_0(0x400000L, 0x0L);
case '}':
return jjStopAtPos(0, 25);
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 & 0x10000L) != 0x0L)
return jjStopAtPos(1, 16);
else if ((active0 & 0x20000L) != 0x0L)
return jjStopAtPos(1, 17);
else if ((active0 & 0x80000L) != 0x0L)
return jjStopAtPos(1, 19);
else if ((active0 & 0x200000L) != 0x0L)
return jjStopAtPos(1, 21);
break;
case 'a':
return jjMoveStringLiteralDfa2_0(active0, 0x7008004c00000000L, active1, 0x100000038L);
case 'c':
return jjMoveStringLiteralDfa2_0(active0, 0x40000000000L, active1, 0x40000000L);
case 'e':
return jjMoveStringLiteralDfa2_0(active0, 0x33008000000000L, active1, 0x3c0L);
case 'f':
if ((active0 & 0x80000000000000L) != 0x0L)
return jjStartNfaWithStates_0(1, 55, 13);
break;
case 'g':
return jjMoveStringLiteralDfa2_0(active0, 0x8000000000000000L, active1, 0x0L);
case 'h':
return jjMoveStringLiteralDfa2_0(active0, 0x0L, active1, 0x10000L);
case 'i':
return jjMoveStringLiteralDfa2_0(active0, 0x1000000000L, active1, 0x0L);
case 'l':
return jjMoveStringLiteralDfa2_0(active0, 0x490000000000L, active1, 0x400L);
case 'm':
return jjMoveStringLiteralDfa2_0(active0, 0x100000000000L, active1, 0x0L);
case 'n':
return jjMoveStringLiteralDfa2_0(active0, 0x300000000000000L, active1, 0x0L);
case 'o':
return jjMoveStringLiteralDfa2_0(active0, 0xc40800000000000L, active1, 0x1ffe0003L);
case 'p':
return jjMoveStringLiteralDfa2_0(active0, 0x0L, active1, 0x804L);
case 'r':
return jjMoveStringLiteralDfa2_0(active0, 0x20000000000L, active1, 0xa0000000L);
case 't':
return jjMoveStringLiteralDfa2_0(active0, 0x200000000L, active1, 0x1000L);
case 'u':
return jjMoveStringLiteralDfa2_0(active0, 0x4002000000000L, active1, 0x6000L);
case 'w':
return jjMoveStringLiteralDfa2_0(active0, 0x0L, active1, 0x8000L);
case 'x':
return jjMoveStringLiteralDfa2_0(active0, 0x200000000000L, active1, 0x0L);
case '|':
if ((active0 & 0x400000L) != 0x0L)
return jjStopAtPos(1, 22);
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 '_':
return jjMoveStringLiteralDfa3_0(active0, 0x0L, active1, 0x1ffc0000L);
case 'a':
return jjMoveStringLiteralDfa3_0(active0, 0x4600000000000L, active1, 0x0L);
case 'b':
return jjMoveStringLiteralDfa3_0(active0, 0x100000000000L, active1, 0x2000L);
case 'c':
return jjMoveStringLiteralDfa3_0(active0, 0x0L, active1, 0x8L);
case 'd':
return jjMoveStringLiteralDfa3_0(active0, 0x100000000000000L, active1, 0x0L);
case 'e':
return jjMoveStringLiteralDfa3_0(active0, 0x30000000000L, active1, 0x1400L);
case 'f':
return jjMoveStringLiteralDfa3_0(active0, 0x8000000000L, active1, 0x0L);
case 'h':
return jjMoveStringLiteralDfa3_0(active0, 0x40000000000L, active1, 0x0L);
case 'i':
return jjMoveStringLiteralDfa3_0(active0, 0x400000000000000L, active1, 0x20018000L);
case 'k':
return jjMoveStringLiteralDfa3_0(active0, 0x0L, active1, 0x20000L);
case 'l':
return jjMoveStringLiteralDfa3_0(active0, 0x0L, active1, 0x100000880L);
case 'm':
return jjMoveStringLiteralDfa3_0(active0, 0x0L, active1, 0x4040L);
case 'n':
return jjMoveStringLiteralDfa3_0(active0, 0x1000000000L, active1, 0x20L);
case 'p':
return jjMoveStringLiteralDfa3_0(active0, 0x200000000000000L, active1, 0x0L);
case 'r':
return jjMoveStringLiteralDfa3_0(active0, 0x8000800000000000L, active1, 0x1L);
case 's':
return jjMoveStringLiteralDfa3_0(active0, 0x48086c00000000L, active1, 0x10L);
case 't':
return jjMoveStringLiteralDfa3_0(active0, 0x3000200000000L, active1, 0x304L);
case 'u':
return jjMoveStringLiteralDfa3_0(active0, 0x0L, active1, 0xc0000000L);
case 'w':
if ((active1 & 0x2L) != 0x0L)
return jjStartNfaWithStates_0(2, 65, 13);
return jjMoveStringLiteralDfa3_0(active0, 0x800000000000000L, active1, 0x0L);
case 'x':
return jjMoveStringLiteralDfa3_0(active0, 0x7030000000000000L, active1, 0x0L);
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 '-':
return jjMoveStringLiteralDfa4_0(active0, 0x7000000000000000L, active1, 0x0L);
case '_':
return jjMoveStringLiteralDfa4_0(active0, 0x3800000000000L, active1, 0x300L);
case 'a':
return jjMoveStringLiteralDfa4_0(active0, 0x8000039000000000L, active1, 0x40000L);
case 'b':
return jjMoveStringLiteralDfa4_0(active0, 0x0L, active1, 0x10080000L);
case 'c':
return jjMoveStringLiteralDfa4_0(active0, 0x200000000000L, active1, 0x0L);
case 'd':
return jjMoveStringLiteralDfa4_0(active0, 0x10000000000000L, active1, 0x100020L);
case 'e':
if ((active0 & 0x4000000000L) != 0x0L)
return jjStartNfaWithStates_0(3, 38, 13);
else if ((active0 & 0x80000000000L) != 0x0L)
return jjStartNfaWithStates_0(3, 43, 13);
else if ((active1 & 0x80000000L) != 0x0L)
return jjStartNfaWithStates_0(3, 95, 13);
return jjMoveStringLiteralDfa4_0(active0, 0x920100c00000000L, active1, 0x2020480L);
case 'f':
return jjMoveStringLiteralDfa4_0(active0, 0x0L, active1, 0x200000L);
case 'h':
if ((active0 & 0x8000000000000L) != 0x0L)
return jjStartNfaWithStates_0(3, 51, 13);
break;
case 'i':
return jjMoveStringLiteralDfa4_0(active0, 0x0L, active1, 0x400804L);
case 'k':
return jjMoveStringLiteralDfa4_0(active0, 0x0L, active1, 0x8L);
case 'l':
return jjMoveStringLiteralDfa4_0(active0, 0x0L, active1, 0x800000L);
case 'm':
if ((active1 & 0x1000L) != 0x0L)
return jjStartNfaWithStates_0(3, 76, 13);
else if ((active1 & 0x20000000L) != 0x0L)
return jjStartNfaWithStates_0(3, 93, 13);
return jjMoveStringLiteralDfa4_0(active0, 0x0L, active1, 0x4001L);
case 'n':
if ((active0 & 0x400000000000000L) != 0x0L)
return jjStartNfaWithStates_0(3, 58, 13);
break;
case 'o':
if ((active0 & 0x40000000000L) != 0x0L)
return jjStartNfaWithStates_0(3, 42, 13);
return jjMoveStringLiteralDfa4_0(active0, 0x0L, active1, 0x40L);
case 'p':
return jjMoveStringLiteralDfa4_0(active0, 0x0L, active1, 0x1000000L);
case 'r':
return jjMoveStringLiteralDfa4_0(active0, 0x4000200000000L, active1, 0x40000000L);
case 's':
if ((active1 & 0x10000L) != 0x0L)
return jjStartNfaWithStates_0(3, 80, 13);
return jjMoveStringLiteralDfa4_0(active0, 0x0L, active1, 0x104002010L);
case 't':
return jjMoveStringLiteralDfa4_0(active0, 0x40400000000000L, active1, 0x8000L);
case 'u':
return jjMoveStringLiteralDfa4_0(active0, 0x200000000000000L, active1, 0x0L);
case 'w':
return jjMoveStringLiteralDfa4_0(active0, 0x0L, active1, 0x8000000L);
case 'y':
return jjMoveStringLiteralDfa4_0(active0, 0x2000000000L, active1, 0x0L);
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 '6':
return jjMoveStringLiteralDfa5_0(active0, 0xc00000000L, active1, 0x0L);
case '_':
return jjMoveStringLiteralDfa5_0(active0, 0x2000000000L, active1, 0x8L);
case 'a':
return jjMoveStringLiteralDfa5_0(active0, 0x0L, active1, 0x4001L);
case 'c':
return jjMoveStringLiteralDfa5_0(active0, 0x0L, active1, 0x8080L);
case 'd':
if ((active0 & 0x100000000000L) != 0x0L)
return jjStartNfaWithStates_0(4, 44, 13);
else if ((active0 & 0x4000000000000L) != 0x0L)
return jjStartNfaWithStates_0(4, 50, 13);
break;
case 'e':
if ((active1 & 0x100000000L) != 0x0L)
return jjStartNfaWithStates_0(4, 96, 13);
return jjMoveStringLiteralDfa5_0(active0, 0x10800000000000L, active1, 0x0L);
case 'f':
return jjMoveStringLiteralDfa5_0(active0, 0x1000000000000L, active1, 0x0L);
case 'i':
return jjMoveStringLiteralDfa5_0(active0, 0x200000000L, active1, 0x0L);
case 'l':
return jjMoveStringLiteralDfa5_0(active0, 0x1000000000000000L, active1, 0x200100L);
case 'm':
if ((active0 & 0x8000000000000000L) != 0x0L)
return jjStartNfaWithStates_0(4, 63, 13);
return jjMoveStringLiteralDfa5_0(active0, 0x0L, active1, 0x4L);
case 'n':
return jjMoveStringLiteralDfa5_0(active0, 0x60000000000000L, active1, 0x420000L);
case 'o':
return jjMoveStringLiteralDfa5_0(active0, 0x2000000000000000L, active1, 0x11900020L);
case 'p':
if ((active1 & 0x400L) != 0x0L)
return jjStartNfaWithStates_0(4, 74, 13);
return jjMoveStringLiteralDfa5_0(active0, 0x0L, active1, 0x2000000L);
case 'r':
return jjMoveStringLiteralDfa5_0(active0, 0x800011000000000L, active1, 0x40000L);
case 's':
return jjMoveStringLiteralDfa5_0(active0, 0x0L, active1, 0x8000000L);
case 't':
if ((active0 & 0x200000000000L) != 0x0L)
return jjStartNfaWithStates_0(4, 45, 13);
else if ((active0 & 0x200000000000000L) != 0x0L)
return jjStartNfaWithStates_0(4, 57, 13);
else if ((active1 & 0x800L) != 0x0L)
return jjStartNfaWithStates_0(4, 75, 13);
return jjMoveStringLiteralDfa5_0(active0, 0x4000420000000000L, active1, 0x4002010L);
case 'u':
return jjMoveStringLiteralDfa5_0(active0, 0x8000000000L, active1, 0x0L);
case 'v':
return jjMoveStringLiteralDfa5_0(active0, 0x2000000000000L, active1, 0x40000240L);
case 'x':
if ((active0 & 0x100000000000000L) != 0x0L)
return jjStartNfaWithStates_0(4, 56, 13);
break;
case 'y':
return jjMoveStringLiteralDfa5_0(active0, 0x0L, active1, 0x80000L);
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 '4':
return jjMoveStringLiteralDfa6_0(active0, 0xc00000000L, active1, 0x0L);
case '_':
return jjMoveStringLiteralDfa6_0(active0, 0x10000000000L, active1, 0x0L);
case 'a':
return jjMoveStringLiteralDfa6_0(active0, 0x42800000000000L, active1, 0x300L);
case 'b':
return jjMoveStringLiteralDfa6_0(active0, 0x200000000L, active1, 0x8L);
case 'c':
return jjMoveStringLiteralDfa6_0(active0, 0x2830000000000000L, active1, 0x0L);
case 'e':
if ((active1 & 0x40000000L) != 0x0L)
return jjStartNfaWithStates_0(5, 94, 13);
return jjMoveStringLiteralDfa6_0(active0, 0x1000420000000000L, active1, 0x8000040L);
case 'h':
if ((active1 & 0x8000L) != 0x0L)
return jjStartNfaWithStates_0(5, 79, 13);
return jjMoveStringLiteralDfa6_0(active0, 0x0L, active1, 0x10L);
case 'i':
return jjMoveStringLiteralDfa6_0(active0, 0x1001000000000L, active1, 0x20004L);
case 'l':
return jjMoveStringLiteralDfa6_0(active0, 0x8000000000L, active1, 0x1L);
case 'm':
if ((active1 & 0x20L) != 0x0L)
return jjStartNfaWithStates_0(5, 69, 13);
break;
case 'n':
return jjMoveStringLiteralDfa6_0(active0, 0x0L, active1, 0x800000L);
case 'o':
return jjMoveStringLiteralDfa6_0(active0, 0x4000000000000000L, active1, 0x12200000L);
case 'r':
return jjMoveStringLiteralDfa6_0(active0, 0x0L, active1, 0x4046000L);
case 's':
if ((active1 & 0x1000000L) != 0x0L)
return jjStartNfaWithStates_0(5, 88, 13);
break;
case 't':
if ((active1 & 0x400000L) != 0x0L)
return jjStartNfaWithStates_0(5, 86, 13);
return jjMoveStringLiteralDfa6_0(active0, 0x0L, active1, 0x80080L);
case 'u':
return jjMoveStringLiteralDfa6_0(active0, 0x0L, active1, 0x100000L);
case 'w':
return jjMoveStringLiteralDfa6_0(active0, 0x2000000000L, active1, 0x0L);
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, 0x20000000000L, active1, 0xc0L);
case 'a':
return jjMoveStringLiteralDfa7_0(active0, 0x800002000000000L, active1, 0x240000L);
case 'b':
return jjMoveStringLiteralDfa7_0(active0, 0x0L, active1, 0x100000L);
case 'c':
return jjMoveStringLiteralDfa7_0(active0, 0x2000800000000000L, active1, 0x2000000L);
case 'd':
return jjMoveStringLiteralDfa7_0(active0, 0x400000000L, active1, 0x0L);
case 'e':
if ((active1 & 0x80000L) != 0x0L)
return jjStartNfaWithStates_0(6, 83, 13);
return jjMoveStringLiteralDfa7_0(active0, 0x1000800000000L, active1, 0x0L);
case 'g':
if ((active1 & 0x800000L) != 0x0L)
return jjStartNfaWithStates_0(6, 87, 13);
break;
case 'i':
return jjMoveStringLiteralDfa7_0(active0, 0x0L, active1, 0x4002009L);
case 'k':
return jjMoveStringLiteralDfa7_0(active0, 0x4000000000000000L, active1, 0x0L);
case 'l':
if ((active1 & 0x10000000L) != 0x0L)
return jjStartNfaWithStates_0(6, 92, 13);
break;
case 'm':
return jjMoveStringLiteralDfa7_0(active0, 0x40000000000000L, active1, 0x0L);
case 'n':
if ((active0 & 0x400000000000L) != 0x0L)
return jjStartNfaWithStates_0(6, 46, 13);
return jjMoveStringLiteralDfa7_0(active0, 0x1000000000000000L, active1, 0x100L);
case 'o':
return jjMoveStringLiteralDfa7_0(active0, 0x30000000000000L, active1, 0x0L);
case 'r':
if ((active0 & 0x2000000000000L) != 0x0L)
return jjStartNfaWithStates_0(6, 49, 13);
else if ((active1 & 0x200L) != 0x0L)
return jjStartNfaWithStates_0(6, 73, 13);
return jjMoveStringLiteralDfa7_0(active0, 0x0L, active1, 0x10L);
case 's':
return jjMoveStringLiteralDfa7_0(active0, 0x10000000000L, active1, 0x0L);
case 't':
if ((active0 & 0x8000000000L) != 0x0L)
return jjStartNfaWithStates_0(6, 39, 13);
else if ((active1 & 0x8000000L) != 0x0L)
return jjStartNfaWithStates_0(6, 91, 13);
break;
case 'u':
return jjMoveStringLiteralDfa7_0(active0, 0x200000000L, active1, 0x0L);
case 'y':
if ((active1 & 0x4000L) != 0x0L)
return jjStartNfaWithStates_0(6, 78, 13);
break;
case 'z':
return jjMoveStringLiteralDfa7_0(active0, 0x1000000000L, active1, 0x20004L);
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, active0, active1);
return 7;
}
switch(curChar)
{
case 'd':
return jjMoveStringLiteralDfa8_0(active0, 0x30000000000000L, active1, 0x0L);
case 'e':
if ((active0 & 0x1000000000L) != 0x0L)
return jjStartNfaWithStates_0(7, 36, 13);
else if ((active0 & 0x40000000000000L) != 0x0L)
return jjStartNfaWithStates_0(7, 54, 13);
else if ((active1 & 0x20000L) != 0x0L)
return jjStartNfaWithStates_0(7, 81, 13);
return jjMoveStringLiteralDfa8_0(active0, 0x4000000400000000L, active1, 0x4L);
case 'g':
return jjMoveStringLiteralDfa8_0(active0, 0x1000000000000000L, active1, 0x100L);
case 'h':
if ((active0 & 0x800000000000L) != 0x0L)
return jjStartNfaWithStates_0(7, 47, 13);
return jjMoveStringLiteralDfa8_0(active0, 0x0L, active1, 0x2000000L);
case 'i':
return jjMoveStringLiteralDfa8_0(active0, 0x22000000000L, active1, 0xc0L);
case 'l':
return jjMoveStringLiteralDfa8_0(active0, 0x1000000000000L, active1, 0x100000L);
case 'n':
return jjMoveStringLiteralDfa8_0(active0, 0x800000000L, active1, 0x4002000L);
case 'o':
return jjMoveStringLiteralDfa8_0(active0, 0x0L, active1, 0x10L);
case 's':
return jjMoveStringLiteralDfa8_0(active0, 0x800000000000000L, active1, 0x0L);
case 't':
if ((active1 & 0x200000L) != 0x0L)
return jjStartNfaWithStates_0(7, 85, 13);
return jjMoveStringLiteralDfa8_0(active0, 0x10200000000L, active1, 0x8L);
case 'u':
return jjMoveStringLiteralDfa8_0(active0, 0x2000000000000000L, active1, 0x0L);
case 'y':
if ((active1 & 0x40000L) != 0x0L)
return jjStartNfaWithStates_0(7, 82, 13);
break;
case 'z':
return jjMoveStringLiteralDfa8_0(active0, 0x0L, active1, 0x1L);
default :
break;
}
return jjStartNfa_0(6, active0, active1);
}
private int jjMoveStringLiteralDfa8_0(long old0, long active0, long old1, long active1){
if (((active0 &= old0) | (active1 &= old1)) == 0L)
return jjStartNfa_0(6, old0, old1);
try { curChar = input_stream.readChar(); }
catch(java.io.IOException e) {
jjStopStringLiteralDfa_0(7, active0, active1);
return 8;
}
switch(curChar)
{
case '_':
return jjMoveStringLiteralDfa9_0(active0, 0x0L, active1, 0x2000004L);
case 'a':
return jjMoveStringLiteralDfa9_0(active0, 0x10000000000L, active1, 0x0L);
case 'c':
return jjMoveStringLiteralDfa9_0(active0, 0xc00000000L, active1, 0x0L);
case 'd':
if ((active0 & 0x1000000000000L) != 0x0L)
return jjStartNfaWithStates_0(8, 48, 13);
break;
case 'e':
if ((active0 & 0x200000000L) != 0x0L)
return jjStartNfaWithStates_0(8, 33, 13);
else if ((active0 & 0x10000000000000L) != 0x0L)
return jjStartNfaWithStates_0(8, 52, 13);
else if ((active0 & 0x20000000000000L) != 0x0L)
return jjStartNfaWithStates_0(8, 53, 13);
else if ((active0 & 0x800000000000000L) != 0x0L)
return jjStartNfaWithStates_0(8, 59, 13);
else if ((active1 & 0x1L) != 0x0L)
return jjStartNfaWithStates_0(8, 64, 13);
else if ((active1 & 0x100000L) != 0x0L)
return jjStartNfaWithStates_0(8, 84, 13);
break;
case 'f':
return jjMoveStringLiteralDfa9_0(active0, 0x20000000000L, active1, 0x40L);
case 'g':
if ((active1 & 0x2000L) != 0x0L)
return jjStartNfaWithStates_0(8, 77, 13);
else if ((active1 & 0x4000000L) != 0x0L)
return jjStartNfaWithStates_0(8, 90, 13);
break;
case 'n':
return jjMoveStringLiteralDfa9_0(active0, 0x4000000000000000L, active1, 0x80L);
case 'r':
return jjMoveStringLiteralDfa9_0(active0, 0x2000000000000000L, active1, 0x0L);
case 's':
if ((active1 & 0x8L) != 0x0L)
return jjStartNfaWithStates_0(8, 67, 13);
break;
case 't':
if ((active0 & 0x2000000000L) != 0x0L)
return jjStartNfaWithStates_0(8, 37, 13);
return jjMoveStringLiteralDfa9_0(active0, 0x1000000000000000L, active1, 0x0L);
case 'u':
return jjMoveStringLiteralDfa9_0(active0, 0x0L, active1, 0x110L);
default :
break;
}
return jjStartNfa_0(7, active0, active1);
}
private int jjMoveStringLiteralDfa9_0(long old0, long active0, long old1, long active1){
if (((active0 &= old0) | (active1 &= old1)) == 0L)
return jjStartNfa_0(7, old0, old1);
try { curChar = input_stream.readChar(); }
catch(java.io.IOException e) {
jjStopStringLiteralDfa_0(8, active0, active1);
return 9;
}
switch(curChar)
{
case '-':
return jjMoveStringLiteralDfa10_0(active0, 0x4000000000000000L, active1, 0x0L);
case '_':
return jjMoveStringLiteralDfa10_0(active0, 0x20000000000L, active1, 0x40L);
case 'a':
return jjMoveStringLiteralDfa10_0(active0, 0x0L, active1, 0x100L);
case 'g':
return jjMoveStringLiteralDfa10_0(active0, 0x0L, active1, 0x10L);
case 'h':
if ((active0 & 0x1000000000000000L) != 0x0L)
return jjStartNfaWithStates_0(9, 60, 13);
break;
case 'o':
return jjMoveStringLiteralDfa10_0(active0, 0xc00000000L, active1, 0x0L);
case 'p':
return jjMoveStringLiteralDfa10_0(active0, 0x0L, active1, 0x84L);
case 'r':
return jjMoveStringLiteralDfa10_0(active0, 0x2000000000000000L, active1, 0x0L);
case 's':
return jjMoveStringLiteralDfa10_0(active0, 0x0L, active1, 0x2000000L);
case 't':
return jjMoveStringLiteralDfa10_0(active0, 0x10000000000L, active1, 0x0L);
default :
break;
}
return jjStartNfa_0(8, active0, active1);
}
private int jjMoveStringLiteralDfa10_0(long old0, long active0, long old1, long active1){
if (((active0 &= old0) | (active1 &= old1)) == 0L)
return jjStartNfa_0(8, old0, old1);
try { curChar = input_stream.readChar(); }
catch(java.io.IOException e) {
jjStopStringLiteralDfa_0(9, active0, active1);
return 10;
}
switch(curChar)
{
case 'd':
return jjMoveStringLiteralDfa11_0(active0, 0xc00000000L, active1, 0x0L);
case 'e':
if ((active0 & 0x10000000000L) != 0x0L)
return jjStartNfaWithStates_0(10, 40, 13);
return jjMoveStringLiteralDfa11_0(active0, 0x2000000000000000L, active1, 0x2000000L);
case 'g':
return jjMoveStringLiteralDfa11_0(active0, 0x0L, active1, 0x100L);
case 'h':
if ((active1 & 0x10L) != 0x0L)
return jjStartNfaWithStates_0(10, 68, 13);
break;
case 'l':
return jjMoveStringLiteralDfa11_0(active0, 0x4000000000000000L, active1, 0x0L);
case 'n':
return jjMoveStringLiteralDfa11_0(active0, 0x20000000000L, active1, 0x0L);
case 'r':
return jjMoveStringLiteralDfa11_0(active0, 0x0L, active1, 0x4L);
case 'u':
return jjMoveStringLiteralDfa11_0(active0, 0x0L, active1, 0x80L);
case 'z':
return jjMoveStringLiteralDfa11_0(active0, 0x0L, active1, 0x40L);
default :
break;
}
return jjStartNfa_0(9, active0, active1);
}
private int jjMoveStringLiteralDfa11_0(long old0, long active0, long old1, long active1){
if (((active0 &= old0) | (active1 &= old1)) == 0L)
return jjStartNfa_0(9, old0, old1);
try { curChar = input_stream.readChar(); }
catch(java.io.IOException e) {
jjStopStringLiteralDfa_0(10, active0, active1);
return 11;
}
switch(curChar)
{
case 'c':
return jjMoveStringLiteralDfa12_0(active0, 0x0L, active1, 0x2000000L);
case 'e':
if ((active0 & 0x400000000L) != 0x0L)
return jjStartNfaWithStates_0(11, 34, 13);
else if ((active0 & 0x800000000L) != 0x0L)
return jjStartNfaWithStates_0(11, 35, 13);
else if ((active1 & 0x100L) != 0x0L)
return jjStartNfaWithStates_0(11, 72, 13);
return jjMoveStringLiteralDfa12_0(active0, 0x4000000000000000L, active1, 0x44L);
case 'n':
return jjMoveStringLiteralDfa12_0(active0, 0x2000000000000000L, active1, 0x0L);
case 'o':
return jjMoveStringLiteralDfa12_0(active0, 0x20000000000L, active1, 0x0L);
case 't':
if ((active1 & 0x80L) != 0x0L)
return jjStartNfaWithStates_0(11, 71, 13);
break;
default :
break;
}
return jjStartNfa_0(10, active0, active1);
}
private int jjMoveStringLiteralDfa12_0(long old0, long active0, long old1, long active1){
if (((active0 &= old0) | (active1 &= old1)) == 0L)
return jjStartNfa_0(10, old0, old1);
try { curChar = input_stream.readChar(); }
catch(java.io.IOException e) {
jjStopStringLiteralDfa_0(11, active0, active1);
return 12;
}
switch(curChar)
{
case 'c':
return jjMoveStringLiteralDfa13_0(active0, 0x2000000000000000L, active1, 0x0L);
case 'd':
return jjMoveStringLiteralDfa13_0(active0, 0x0L, active1, 0x4L);
case 'n':
return jjMoveStringLiteralDfa13_0(active0, 0x4000020000000000L, active1, 0x0L);
case 'o':
return jjMoveStringLiteralDfa13_0(active0, 0x0L, active1, 0x2000000L);
case 'r':
return jjMoveStringLiteralDfa13_0(active0, 0x0L, active1, 0x40L);
default :
break;
}
return jjStartNfa_0(11, active0, active1);
}
private int jjMoveStringLiteralDfa13_0(long old0, long active0, long old1, long active1){
if (((active0 &= old0) | (active1 &= old1)) == 0L)
return jjStartNfa_0(11, old0, old1);
try { curChar = input_stream.readChar(); }
catch(java.io.IOException e) {
jjStopStringLiteralDfa_0(12, active0, active1);
return 13;
}
switch(curChar)
{
case '_':
return jjMoveStringLiteralDfa14_0(active0, 0x20000000000L, active1, 0x0L);
case 'e':
return jjMoveStringLiteralDfa14_0(active0, 0x2000000000000000L, active1, 0x0L);
case 'g':
return jjMoveStringLiteralDfa14_0(active0, 0x4000000000000000L, active1, 0x0L);
case 'i':
return jjMoveStringLiteralDfa14_0(active0, 0x0L, active1, 0x4L);
case 'n':
return jjMoveStringLiteralDfa14_0(active0, 0x0L, active1, 0x2000000L);
case 'o':
if ((active1 & 0x40L) != 0x0L)
return jjStartNfaWithStates_0(13, 70, 13);
break;
default :
break;
}
return jjStartNfa_0(12, active0, active1);
}
private int jjMoveStringLiteralDfa14_0(long old0, long active0, long old1, long active1){
if (((active0 &= old0) | (active1 &= old1)) == 0L)
return jjStartNfa_0(12, old0, old1);
try { curChar = input_stream.readChar(); }
catch(java.io.IOException e) {
jjStopStringLiteralDfa_0(13, active0, active1);
return 14;
}
switch(curChar)
{
case 'c':
return jjMoveStringLiteralDfa15_0(active0, 0x0L, active1, 0x4L);
case 'd':
if ((active1 & 0x2000000L) != 0x0L)
return jjStartNfaWithStates_0(14, 89, 13);
break;
case 'e':
return jjMoveStringLiteralDfa15_0(active0, 0x20000000000L, active1, 0x0L);
case 's':
if ((active0 & 0x2000000000000000L) != 0x0L)
return jjStartNfaWithStates_0(14, 61, 13);
break;
case 't':
return jjMoveStringLiteralDfa15_0(active0, 0x4000000000000000L, active1, 0x0L);
default :
break;
}
return jjStartNfa_0(13, active0, active1);
}
private int jjMoveStringLiteralDfa15_0(long old0, long active0, long old1, long active1){
if (((active0 &= old0) | (active1 &= old1)) == 0L)
return jjStartNfa_0(13, old0, old1);
try { curChar = input_stream.readChar(); }
catch(java.io.IOException e) {
jjStopStringLiteralDfa_0(14, active0, active1);
return 15;
}
switch(curChar)
{
case 'a':
return jjMoveStringLiteralDfa16_0(active0, 0x0L, active1, 0x4L);
case 'h':
if ((active0 & 0x4000000000000000L) != 0x0L)
return jjStartNfaWithStates_0(15, 62, 13);
break;
case 'x':
return jjMoveStringLiteralDfa16_0(active0, 0x20000000000L, active1, 0x0L);
default :
break;
}
return jjStartNfa_0(14, active0, active1);
}
private int jjMoveStringLiteralDfa16_0(long old0, long active0, long old1, long active1){
if (((active0 &= old0) | (active1 &= old1)) == 0L)
return jjStartNfa_0(14, old0, old1);
try { curChar = input_stream.readChar(); }
catch(java.io.IOException e) {
jjStopStringLiteralDfa_0(15, active0, active1);
return 16;
}
switch(curChar)
{
case 'i':
return jjMoveStringLiteralDfa17_0(active0, 0x20000000000L, active1, 0x0L);
case 't':
return jjMoveStringLiteralDfa17_0(active0, 0x0L, active1, 0x4L);
default :
break;
}
return jjStartNfa_0(15, active0, active1);
}
private int jjMoveStringLiteralDfa17_0(long old0, long active0, long old1, long active1){
if (((active0 &= old0) | (active1 &= old1)) == 0L)
return jjStartNfa_0(15, old0, old1);
try { curChar = input_stream.readChar(); }
catch(java.io.IOException e) {
jjStopStringLiteralDfa_0(16, active0, active1);
return 17;
}
switch(curChar)
{
case 'e':
if ((active1 & 0x4L) != 0x0L)
return jjStartNfaWithStates_0(17, 66, 13);
break;
case 's':
return jjMoveStringLiteralDfa18_0(active0, 0x20000000000L, active1, 0x0L);
default :
break;
}
return jjStartNfa_0(16, active0, active1);
}
private int jjMoveStringLiteralDfa18_0(long old0, long active0, long old1, long active1){
if (((active0 &= old0) | (active1 &= old1)) == 0L)
return jjStartNfa_0(16, old0, old1);
try { curChar = input_stream.readChar(); }
catch(java.io.IOException e) {
jjStopStringLiteralDfa_0(17, active0, 0L);
return 18;
}
switch(curChar)
{
case 't':
return jjMoveStringLiteralDfa19_0(active0, 0x20000000000L);
default :
break;
}
return jjStartNfa_0(17, active0, 0L);
}
private int jjMoveStringLiteralDfa19_0(long old0, long active0){
if (((active0 &= old0)) == 0L)
return jjStartNfa_0(17, old0, 0L);
try { curChar = input_stream.readChar(); }
catch(java.io.IOException e) {
jjStopStringLiteralDfa_0(18, active0, 0L);
return 19;
}
switch(curChar)
{
case 'e':
return jjMoveStringLiteralDfa20_0(active0, 0x20000000000L);
default :
break;
}
return jjStartNfa_0(18, active0, 0L);
}
private int jjMoveStringLiteralDfa20_0(long old0, long active0){
if (((active0 &= old0)) == 0L)
return jjStartNfa_0(18, old0, 0L);
try { curChar = input_stream.readChar(); }
catch(java.io.IOException e) {
jjStopStringLiteralDfa_0(19, active0, 0L);
return 20;
}
switch(curChar)
{
case 'n':
return jjMoveStringLiteralDfa21_0(active0, 0x20000000000L);
default :
break;
}
return jjStartNfa_0(19, active0, 0L);
}
private int jjMoveStringLiteralDfa21_0(long old0, long active0){
if (((active0 &= old0)) == 0L)
return jjStartNfa_0(19, old0, 0L);
try { curChar = input_stream.readChar(); }
catch(java.io.IOException e) {
jjStopStringLiteralDfa_0(20, active0, 0L);
return 21;
}
switch(curChar)
{
case 't':
if ((active0 & 0x20000000000L) != 0x0L)
return jjStartNfaWithStates_0(21, 41, 13);
break;
default :
break;
}
return jjStartNfa_0(20, active0, 0L);
}
private int jjStartNfaWithStates_0(int pos, int kind, int state)
{
jjmatchedKind = kind;
jjmatchedPos = pos;
try { curChar = input_stream.readChar(); }
catch(java.io.IOException e) { return pos + 1; }
return jjMoveNfa_0(state, pos + 1);
}
static final long[] jjbitVec0 = {
0x0L, 0x0L, 0xffffffffffffffffL, 0xffffffffffffffffL
};
private int jjMoveNfa_0(int startState, int curPos)
{
int startsAt = 0;
jjnewStateCnt = 36;
int i = 1;
jjstateSet[0] = startState;
int kind = 0x7fffffff;
for (;;)
{
if (++jjround == 0x7fffffff)
ReInitRounds();
if (curChar < 64)
{
long l = 1L << curChar;
do
{
switch(jjstateSet[--i])
{
case 0:
if ((0x3ff000000000000L & l) != 0x0L)
{
if (kind > 6)
kind = 6;
{ jjCheckNAddStates(0, 9); }
}
else if (curChar == 39)
{ jjCheckNAddStates(10, 12); }
else if (curChar == 34)
{ jjCheckNAddStates(13, 15); }
else if (curChar == 35)
{
if (kind > 5)
kind = 5;
{ jjCheckNAdd(1); }
}
if (curChar == 48)
{ jjAddStates(16, 17); }
break;
case 1:
if ((0xffffffffffffdbffL & l) == 0x0L)
break;
if (kind > 5)
kind = 5;
{ jjCheckNAdd(1); }
break;
case 2:
case 4:
if (curChar == 34)
{ jjCheckNAddStates(13, 15); }
break;
case 3:
if ((0xfffffffbffffffffL & l) != 0x0L)
{ jjCheckNAddStates(13, 15); }
break;
case 6:
if (curChar == 34 && kind > 32)
kind = 32;
break;
case 7:
case 9:
if (curChar == 39)
{ jjCheckNAddStates(10, 12); }
break;
case 8:
if ((0xffffff7fffffffffL & l) != 0x0L)
{ jjCheckNAddStates(10, 12); }
break;
case 11:
if (curChar == 39 && kind > 32)
kind = 32;
break;
case 13:
if ((0x3ff200000000000L & l) == 0x0L)
break;
if (kind > 98)
kind = 98;
jjstateSet[jjnewStateCnt++] = 13;
break;
case 14:
if ((0x3ff000000000000L & l) == 0x0L)
break;
if (kind > 6)
kind = 6;
{ jjCheckNAddStates(0, 9); }
break;
case 15:
if ((0x3ff000000000000L & l) == 0x0L)
break;
if (kind > 6)
kind = 6;
{ jjCheckNAdd(15); }
break;
case 16:
if ((0x3ff000000000000L & l) != 0x0L)
{ jjCheckNAddTwoStates(16, 17); }
break;
case 18:
if ((0x3ff000000000000L & l) == 0x0L)
break;
if (kind > 8)
kind = 8;
{ jjCheckNAddStates(18, 20); }
break;
case 19:
if (curChar != 46)
break;
if (kind > 8)
kind = 8;
{ jjCheckNAddTwoStates(20, 21); }
break;
case 20:
if ((0x3ff000000000000L & l) == 0x0L)
break;
if (kind > 8)
kind = 8;
{ jjCheckNAddTwoStates(20, 21); }
break;
case 22:
if ((0x280000000000L & l) != 0x0L)
{ jjCheckNAdd(23); }
break;
case 23:
if ((0x3ff000000000000L & l) == 0x0L)
break;
if (kind > 8)
kind = 8;
{ jjCheckNAdd(23); }
break;
case 24:
if ((0x3ff000000000000L & l) != 0x0L)
{ jjCheckNAddStates(21, 24); }
break;
case 25:
if (curChar == 46)
{ jjCheckNAddStates(25, 27); }
break;
case 26:
if ((0x3ff000000000000L & l) != 0x0L)
{ jjCheckNAddStates(25, 27); }
break;
case 28:
if ((0x280000000000L & l) != 0x0L)
{ jjCheckNAdd(29); }
break;
case 29:
if ((0x3ff000000000000L & l) != 0x0L)
{ jjCheckNAddTwoStates(29, 30); }
break;
case 31:
if (curChar == 48)
{ jjAddStates(16, 17); }
break;
case 33:
if ((0x3ff000000000000L & l) == 0x0L)
break;
if (kind > 6)
kind = 6;
jjstateSet[jjnewStateCnt++] = 33;
break;
case 35:
if ((0x3ff000000000000L & l) != 0x0L)
{ jjCheckNAddTwoStates(35, 17); }
break;
default : break;
}
} while(i != startsAt);
}
else if (curChar < 128)
{
long l = 1L << (curChar & 077);
do
{
switch(jjstateSet[--i])
{
case 0:
case 13:
if ((0x7fffffe87fffffeL & l) == 0x0L)
break;
if (kind > 98)
kind = 98;
{ jjCheckNAdd(13); }
break;
case 1:
if (kind > 5)
kind = 5;
jjstateSet[jjnewStateCnt++] = 1;
break;
case 3:
{ jjAddStates(13, 15); }
break;
case 5:
if (curChar == 92)
jjstateSet[jjnewStateCnt++] = 4;
break;
case 8:
{ jjAddStates(10, 12); }
break;
case 10:
if (curChar == 92)
jjstateSet[jjnewStateCnt++] = 9;
break;
case 17:
if ((0x100000001000L & l) != 0x0L && kind > 7)
kind = 7;
break;
case 21:
if ((0x2000000020L & l) != 0x0L)
{ jjAddStates(28, 29); }
break;
case 27:
if ((0x2000000020L & l) != 0x0L)
{ jjAddStates(30, 31); }
break;
case 30:
if ((0x4000000040L & l) != 0x0L && kind > 9)
kind = 9;
break;
case 32:
if ((0x100000001000000L & l) != 0x0L)
{ jjCheckNAdd(33); }
break;
case 33:
if ((0x7e0000007eL & l) == 0x0L)
break;
if (kind > 6)
kind = 6;
{ jjCheckNAdd(33); }
break;
case 34:
if ((0x100000001000000L & l) != 0x0L)
{ jjCheckNAdd(35); }
break;
case 35:
if ((0x7e0000007eL & l) != 0x0L)
{ jjCheckNAddTwoStates(35, 17); }
break;
default : break;
}
} while(i != startsAt);
}
else
{
int i2 = (curChar & 0xff) >> 6;
long l2 = 1L << (curChar & 077);
do
{
switch(jjstateSet[--i])
{
case 1:
if ((jjbitVec0[i2] & l2) == 0L)
break;
if (kind > 5)
kind = 5;
jjstateSet[jjnewStateCnt++] = 1;
break;
case 3:
if ((jjbitVec0[i2] & l2) != 0L)
{ jjAddStates(13, 15); }
break;
case 8:
if ((jjbitVec0[i2] & l2) != 0L)
{ jjAddStates(10, 12); }
break;
default : break;
}
} while(i != startsAt);
}
if (kind != 0x7fffffff)
{
jjmatchedKind = kind;
jjmatchedPos = curPos;
kind = 0x7fffffff;
}
++curPos;
i = jjnewStateCnt;
jjnewStateCnt = startsAt;
startsAt = 36 - 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, null, null, "\12", "\53", "\55",
"\52", "\57", "\45", "\75\75", "\41\75", "\74", "\74\75", "\76", "\76\75", "\174\174",
"\174", "\173", "\175", "\50", "\51", "\56", "\54", "\72", "\73", null,
"\141\164\164\162\151\142\165\164\145", "\142\141\163\145\66\64\144\145\143\157\144\145",
"\142\141\163\145\66\64\145\156\143\157\144\145", "\142\151\156\141\162\151\172\145", "\142\165\163\171\137\167\141\151\164",
"\143\141\163\145", "\144\145\146\141\165\154\164", "\143\154\145\141\162\137\163\164\141\164\145",
"\143\162\145\141\164\145\137\151\146\137\156\157\156\137\145\170\151\163\164\145\156\164", "\145\143\150\157", "\145\154\163\145", "\145\155\142\145\144",
"\145\170\141\143\164", "\146\154\141\164\164\145\156", "\146\157\162\137\145\141\143\150",
"\147\145\164\137\146\151\145\154\144", "\147\145\164\137\166\141\162", "\147\165\141\162\144", "\150\141\163\150",
"\150\145\170\144\145\143\157\144\145", "\150\145\170\145\156\143\157\144\145", "\150\157\163\164\156\141\155\145",
"\151\146", "\151\156\144\145\170", "\151\156\160\165\164", "\152\157\151\156",
"\154\157\167\145\162\143\141\163\145", "\155\141\170\55\154\145\156\147\164\150",
"\155\141\170\55\157\143\143\165\162\162\145\156\143\145\163", "\155\141\170\55\164\157\153\145\156\55\154\145\156\147\164\150",
"\156\147\162\141\155", "\156\157\162\155\141\154\151\172\145", "\156\157\167",
"\157\160\164\151\155\151\172\145\137\160\162\145\144\151\143\141\164\145", "\160\141\143\153\137\142\151\164\163",
"\160\141\163\163\164\150\162\157\165\147\150", "\162\141\156\144\157\155",
"\162\145\155\157\166\145\137\151\146\137\172\145\162\157", "\163\145\154\145\143\164\137\151\156\160\165\164",
"\163\145\164\137\154\141\156\147\165\141\147\145", "\163\145\164\137\166\141\162", "\163\154\145\145\160", "\163\160\154\151\164",
"\163\164\145\155", "\163\165\142\163\164\162\151\156\147", "\163\165\155\155\141\162\171",
"\163\167\151\164\143\150", "\164\150\151\163", "\164\157\153\145\156\151\172\145",
"\164\157\137\141\162\162\141\171", "\164\157\137\142\171\164\145", "\164\157\137\144\157\165\142\154\145",
"\164\157\137\146\154\157\141\164", "\164\157\137\151\156\164", "\164\157\137\154\157\156\147",
"\164\157\137\160\157\163", "\164\157\137\145\160\157\143\150\137\163\145\143\157\156\144",
"\164\157\137\163\164\162\151\156\147", "\164\157\137\167\163\145\164", "\164\157\137\142\157\157\154",
"\164\162\151\155", "\172\143\165\162\166\145", "\164\162\165\145", "\146\141\154\163\145", "\137",
null, "\44", };
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 = {
15, 16, 17, 18, 19, 21, 24, 25, 27, 30, 8, 10, 11, 3, 5, 6,
32, 34, 18, 19, 21, 24, 25, 27, 30, 26, 27, 30, 22, 23, 28, 29,
};
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;
}
try {
input_stream.backup(0);
while (curChar <= 32 && (0x100003200L & (1L << curChar)) != 0x0L)
curChar = input_stream.beginToken();
}
catch (final java.io.IOException e1) {
continue EOFLoop;
}
jjmatchedKind = 0x7fffffff;
jjmatchedPos = 0;
curPos = jjMoveStringLiteralDfa0_0();
if (jjmatchedKind != 0x7fffffff)
{
if (jjmatchedPos + 1 < curPos)
input_stream.backup(curPos - jjmatchedPos - 1);
if ((jjtoToken[jjmatchedKind >> 6] & (1L << (jjmatchedKind & 077))) != 0L)
{
matchedToken = jjFillToken();
matchedToken.specialToken = specialToken;
return matchedToken;
}
else
{
if ((jjtoSpecial[jjmatchedKind >> 6] & (1L << (jjmatchedKind & 077))) != 0L)
{
matchedToken = jjFillToken();
if (specialToken == null)
specialToken = matchedToken;
else
{
matchedToken.specialToken = specialToken;
specialToken = (specialToken.next = matchedToken);
}
}
continue EOFLoop;
}
}
int error_line = input_stream.getEndLine();
int error_column = input_stream.getEndColumn();
String error_after = null;
boolean EOFSeen = false;
try {
input_stream.readChar();
input_stream.backup(1);
}
catch (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 IndexingParserTokenManager(CharStream stream){
input_stream = stream;
}
/** Constructor. */
public IndexingParserTokenManager (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 = 36; 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 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,
};
static final long[] jjtoToken = {
0xffffffffffffffc1L, 0xfffffffffL,
};
static final long[] jjtoSkip = {
0x3eL, 0x0L,
};
static final long[] jjtoSpecial = {
0x20L, 0x0L,
};
static final long[] jjtoMore = {
0x0L, 0x0L,
};
protected CharStream input_stream;
private final int[] jjrounds = new int[36];
private final int[] jjstateSet = new int[2 * 36];
private final StringBuilder jjimage = new StringBuilder();
private StringBuilder image = jjimage;
private int jjimageLen;
private int lengthOfMatch;
protected int curChar;
}