Please wait. This can take some minutes ...
Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance.
Project price only 1 $
You can buy this project and download/modify it how often you want.
io.joern.pythonparser.PythonParserTokenManager Maven / Gradle / Ivy
/* PythonParserTokenManager.java */
/* Generated By:JavaCC: Do not edit this line. PythonParserTokenManager.java */
package io.joern.pythonparser;
import java.util.ArrayList;
import java.util.Collections;
import java.util.Stack;
import io.joern.pythonparser.ast.Module;
import io.joern.pythonparser.ast.*;
/** Token Manager. */
@SuppressWarnings ("unused")
public class PythonParserTokenManager implements PythonParserConstants {
// All kinds of parentheses are tracked here: ( { [
Stack parenthesesStack = new Stack();
int currentIndent = 0;
int dedentsToEmit;
Stack indentStack = new Stack();
{
pushParenScope();
indentStack.push(0);
}
void pushParenScope() {
parenthesesStack.push(0);
}
void popParenScope() {
parenthesesStack.pop();
}
void countOpenParen() {
Integer top = parenthesesStack.pop();
parenthesesStack.push(top + 1);
}
void countCloseParen() {
Integer top = parenthesesStack.pop();
parenthesesStack.push(top - 1);
}
int openParenCounter() {
return parenthesesStack.peek();
}
// matchedToken must have the form:
// The matched tokens image this cut to not contain
// and the input stream is backed up by the length()
String adjustTokenAndBackupInput(Token matchedToken, int prefixLen) {
int quoteLen = matchedToken.image.length() - prefixLen;
String result = matchedToken.image.substring(0, matchedToken.image.length() - quoteLen);
input_stream.backup(quoteLen);
return result;
}
// Cut token image by quote length since we do not want the close quote in the content.
String cutContentTokenImage(Token matchedToken, int quoteLen) {
String result = matchedToken.image.substring(0, matchedToken.image.length() - quoteLen);
return result;
}
// Cut content token image by length of endToken1 or endToken2 since we do not them in the content.
// In our case this is either a close quote or "{".
// We also backup the input by this length to generate an extra token for close quote or "{"
String cutContentTokenImageAndBackupInput(Token matchedToken, String endToken1, String endToken2) {
int length;
if (matchedToken.image.endsWith(endToken1)) {
length = endToken1.length();
} else if (matchedToken.image.endsWith(endToken2)) {
length = endToken2.length();
} else {
throw new RuntimeException("Unexpected end of matchedToken " + matchedToken.image);
}
String result = matchedToken.image.substring(0, matchedToken.image.length() - length);
input_stream.backup(length);
return result;
}
// Stores the format string lexing state we were in before switching to the DEFAULT state
// in order to parse a replacement field. Naturally needs to be a stack since replacement
// fields can be nested.
// Note that during format string lexing of strings containing multiple replacement fields,
// we switch back and forth multiple times between the lexer DEFAULT state and the stacks
// top state.
Stack formatStringLexStateStack = new Stack();
// Number of opened curly brackets while parsing a format string in FORMAT_SPEC_LEX.
int formatSpecOpenCurly = 0;
void CommonTokenAction(Token token) {
CharStreamImpl inputStreamImpl = (CharStreamImpl)input_stream;
token.startPos = inputStreamImpl.getBeginPos();
// EOF token still have the image of the previous token.
// Likely the JavaCC authors deemed the image of an EOF token to be irrelevant and
// that would be true if we would not use it to calculate the endPos field.
// We rather correct the image instead of doing a separate endPos calculation in order
// to also have a more meaningful image field.
if (token.kind == EOF) {
token.image = "";
}
token.endPos = token.startPos + token.image.length();
}
/** 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_14(int pos, long active0, long active1, long active2){
switch (pos)
{
case 0:
if ((active2 & 0x40000000L) != 0L)
{
jjmatchedKind = 155;
return -1;
}
return -1;
default :
return -1;
}
}
private final int jjStartNfa_14(int pos, long active0, long active1, long active2){
return jjMoveNfa_14(jjStopStringLiteralDfa_14(pos, active0, active1, active2), pos + 1);
}
private int jjStopAtPos(int pos, int kind)
{
jjmatchedKind = kind;
jjmatchedPos = pos;
return pos + 1;
}
private int jjMoveStringLiteralDfa0_14(){
switch(curChar)
{
case 92:
return jjMoveStringLiteralDfa1_14(0x30000000L);
case 123:
return jjMoveStringLiteralDfa1_14(0x40000000L);
default :
return jjMoveNfa_14(0, 0);
}
}
private int jjMoveStringLiteralDfa1_14(long active2){
try { curChar = input_stream.readChar(); }
catch(java.io.IOException e) {
jjStopStringLiteralDfa_14(0, 0L, 0L, active2);
return 1;
}
switch(curChar)
{
case 34:
if ((active2 & 0x20000000L) != 0L)
return jjStopAtPos(1, 157);
break;
case 92:
if ((active2 & 0x10000000L) != 0L)
return jjStopAtPos(1, 156);
break;
case 123:
if ((active2 & 0x40000000L) != 0L)
return jjStopAtPos(1, 158);
break;
default :
break;
}
return jjStartNfa_14(0, 0L, 0L, active2);
}
private int jjMoveNfa_14(int startState, int curPos)
{
int startsAt = 0;
jjnewStateCnt = 1;
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 (curChar == 34)
kind = 155;
break;
default : break;
}
} while(i != startsAt);
}
else if (curChar < 128)
{
long l = 1L << (curChar & 077);
do
{
switch(jjstateSet[--i])
{
case 0:
if (curChar == 123)
kind = 155;
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])
{
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 = 1 - (jjnewStateCnt = startsAt)))
return curPos;
try { curChar = input_stream.readChar(); }
catch(java.io.IOException e) { return curPos; }
}
}
private int jjMoveStringLiteralDfa0_7(){
switch(curChar)
{
case 34:
return jjStopAtPos(0, 127);
case 92:
return jjMoveStringLiteralDfa1_7(0x3L);
default :
return 1;
}
}
private int jjMoveStringLiteralDfa1_7(long active2){
try { curChar = input_stream.readChar(); }
catch(java.io.IOException e) {
return 1;
}
switch(curChar)
{
case 34:
if ((active2 & 0x2L) != 0L)
return jjStopAtPos(1, 129);
break;
case 92:
if ((active2 & 0x1L) != 0L)
return jjStopAtPos(1, 128);
break;
default :
return 2;
}
return 2;
}
private int jjMoveStringLiteralDfa0_5()
{
return jjMoveNfa_5(0, 0);
}
private int jjMoveNfa_5(int startState, int curPos)
{
int startsAt = 0;
jjnewStateCnt = 1;
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 (curChar == 25)
kind = 116;
break;
default : break;
}
} while(i != startsAt);
}
else if (curChar < 128)
{
long l = 1L << (curChar & 077);
do
{
switch(jjstateSet[--i])
{
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])
{
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 = 1 - (jjnewStateCnt = startsAt)))
return curPos;
try { curChar = input_stream.readChar(); }
catch(java.io.IOException e) { return curPos; }
}
}
private int jjMoveStringLiteralDfa0_15(){
switch(curChar)
{
case 34:
return jjStopAtPos(0, 161);
case 123:
return jjStopAtPos(0, 160);
default :
return 1;
}
}
private int jjMoveStringLiteralDfa0_3()
{
return 1;
}
private int jjMoveStringLiteralDfa0_12()
{
return 1;
}
private int jjMoveStringLiteralDfa0_21(){
switch(curChar)
{
case 39:
return jjMoveStringLiteralDfa1_21(0x40000000000000L);
case 123:
return jjStopAtPos(0, 181);
default :
return 1;
}
}
private int jjMoveStringLiteralDfa1_21(long active2){
try { curChar = input_stream.readChar(); }
catch(java.io.IOException e) {
return 1;
}
switch(curChar)
{
case 39:
return jjMoveStringLiteralDfa2_21(active2, 0x40000000000000L);
default :
return 2;
}
}
private int jjMoveStringLiteralDfa2_21(long old2, long active2){
if (((active2 &= old2)) == 0L)
return 2;
try { curChar = input_stream.readChar(); }
catch(java.io.IOException e) {
return 2;
}
switch(curChar)
{
case 39:
if ((active2 & 0x40000000000000L) != 0L)
return jjStopAtPos(2, 182);
break;
default :
return 3;
}
return 3;
}
private int jjMoveStringLiteralDfa0_11(){
switch(curChar)
{
case 123:
return jjStopAtPos(0, 143);
case 125:
return jjStopAtPos(0, 144);
default :
return 1;
}
}
private int jjMoveStringLiteralDfa0_10(){
switch(curChar)
{
case 39:
return jjMoveStringLiteralDfa1_10(0x800L);
case 92:
return jjMoveStringLiteralDfa1_10(0x3000L);
default :
return 1;
}
}
private int jjMoveStringLiteralDfa1_10(long active2){
try { curChar = input_stream.readChar(); }
catch(java.io.IOException e) {
return 1;
}
switch(curChar)
{
case 39:
if ((active2 & 0x2000L) != 0L)
return jjStopAtPos(1, 141);
return jjMoveStringLiteralDfa2_10(active2, 0x800L);
case 92:
if ((active2 & 0x1000L) != 0L)
return jjStopAtPos(1, 140);
break;
default :
return 2;
}
return 2;
}
private int jjMoveStringLiteralDfa2_10(long old2, long active2){
if (((active2 &= old2)) == 0L)
return 2;
try { curChar = input_stream.readChar(); }
catch(java.io.IOException e) {
return 2;
}
switch(curChar)
{
case 39:
if ((active2 & 0x800L) != 0L)
return jjStopAtPos(2, 139);
break;
default :
return 3;
}
return 3;
}
private int jjMoveStringLiteralDfa0_13(){
switch(curChar)
{
case 34:
jjmatchedKind = 151;
return jjMoveStringLiteralDfa1_13(0x2000000L);
case 39:
jjmatchedKind = 152;
return jjMoveStringLiteralDfa1_13(0x4000000L);
default :
return 1;
}
}
private int jjMoveStringLiteralDfa1_13(long active2){
try { curChar = input_stream.readChar(); }
catch(java.io.IOException e) {
return 1;
}
switch(curChar)
{
case 34:
return jjMoveStringLiteralDfa2_13(active2, 0x2000000L);
case 39:
return jjMoveStringLiteralDfa2_13(active2, 0x4000000L);
default :
return 2;
}
}
private int jjMoveStringLiteralDfa2_13(long old2, long active2){
if (((active2 &= old2)) == 0L)
return 2;
try { curChar = input_stream.readChar(); }
catch(java.io.IOException e) {
return 2;
}
switch(curChar)
{
case 34:
if ((active2 & 0x2000000L) != 0L)
return jjStopAtPos(2, 153);
break;
case 39:
if ((active2 & 0x4000000L) != 0L)
return jjStopAtPos(2, 154);
break;
default :
return 3;
}
return 3;
}
private int jjMoveStringLiteralDfa0_2()
{
return 1;
}
private int jjMoveStringLiteralDfa0_19(){
switch(curChar)
{
case 34:
return jjMoveStringLiteralDfa1_19(0x800000000000L);
case 123:
return jjStopAtPos(0, 174);
default :
return 1;
}
}
private int jjMoveStringLiteralDfa1_19(long active2){
try { curChar = input_stream.readChar(); }
catch(java.io.IOException e) {
return 1;
}
switch(curChar)
{
case 34:
return jjMoveStringLiteralDfa2_19(active2, 0x800000000000L);
default :
return 2;
}
}
private int jjMoveStringLiteralDfa2_19(long old2, long active2){
if (((active2 &= old2)) == 0L)
return 2;
try { curChar = input_stream.readChar(); }
catch(java.io.IOException e) {
return 2;
}
switch(curChar)
{
case 34:
if ((active2 & 0x800000000000L) != 0L)
return jjStopAtPos(2, 175);
break;
default :
return 3;
}
return 3;
}
private int jjMoveStringLiteralDfa0_4()
{
return 1;
}
private int jjMoveStringLiteralDfa0_6(){
switch(curChar)
{
case 70:
return jjMoveStringLiteralDfa1_6(0x0L, 0x780000L);
case 83:
return jjMoveStringLiteralDfa1_6(0x600000000000000L, 0x0L);
default :
return 1;
}
}
private int jjMoveStringLiteralDfa1_6(long active1, long active2){
try { curChar = input_stream.readChar(); }
catch(java.io.IOException e) {
return 1;
}
switch(curChar)
{
case 79:
return jjMoveStringLiteralDfa2_6(active1, 0L, active2, 0x780000L);
case 84:
return jjMoveStringLiteralDfa2_6(active1, 0x600000000000000L, active2, 0L);
default :
return 2;
}
}
private int jjMoveStringLiteralDfa2_6(long old1, long active1, long old2, long active2){
if (((active1 &= old1) | (active2 &= old2)) == 0L)
return 2;
try { curChar = input_stream.readChar(); }
catch(java.io.IOException e) {
return 2;
}
switch(curChar)
{
case 82:
return jjMoveStringLiteralDfa3_6(active1, 0x600000000000000L, active2, 0x780000L);
default :
return 3;
}
}
private int jjMoveStringLiteralDfa3_6(long old1, long active1, long old2, long active2){
if (((active1 &= old1) | (active2 &= old2)) == 0L)
return 3;
try { curChar = input_stream.readChar(); }
catch(java.io.IOException e) {
return 3;
}
switch(curChar)
{
case 73:
return jjMoveStringLiteralDfa4_6(active1, 0x600000000000000L, active2, 0L);
case 77:
return jjMoveStringLiteralDfa4_6(active1, 0L, active2, 0x780000L);
default :
return 4;
}
}
private int jjMoveStringLiteralDfa4_6(long old1, long active1, long old2, long active2){
if (((active1 &= old1) | (active2 &= old2)) == 0L)
return 4;
try { curChar = input_stream.readChar(); }
catch(java.io.IOException e) {
return 4;
}
switch(curChar)
{
case 65:
return jjMoveStringLiteralDfa5_6(active1, 0L, active2, 0x780000L);
case 78:
return jjMoveStringLiteralDfa5_6(active1, 0x600000000000000L, active2, 0L);
default :
return 5;
}
}
private int jjMoveStringLiteralDfa5_6(long old1, long active1, long old2, long active2){
if (((active1 &= old1) | (active2 &= old2)) == 0L)
return 5;
try { curChar = input_stream.readChar(); }
catch(java.io.IOException e) {
return 5;
}
switch(curChar)
{
case 71:
return jjMoveStringLiteralDfa6_6(active1, 0x600000000000000L, active2, 0L);
case 84:
return jjMoveStringLiteralDfa6_6(active1, 0L, active2, 0x780000L);
default :
return 6;
}
}
private int jjMoveStringLiteralDfa6_6(long old1, long active1, long old2, long active2){
if (((active1 &= old1) | (active2 &= old2)) == 0L)
return 6;
try { curChar = input_stream.readChar(); }
catch(java.io.IOException e) {
return 6;
}
switch(curChar)
{
case 95:
return jjMoveStringLiteralDfa7_6(active1, 0x600000000000000L, active2, 0x780000L);
default :
return 7;
}
}
private int jjMoveStringLiteralDfa7_6(long old1, long active1, long old2, long active2){
if (((active1 &= old1) | (active2 &= old2)) == 0L)
return 7;
try { curChar = input_stream.readChar(); }
catch(java.io.IOException e) {
return 7;
}
switch(curChar)
{
case 67:
return jjMoveStringLiteralDfa8_6(active1, 0x400000000000000L, active2, 0L);
case 81:
return jjMoveStringLiteralDfa8_6(active1, 0x200000000000000L, active2, 0L);
case 83:
return jjMoveStringLiteralDfa8_6(active1, 0L, active2, 0x780000L);
default :
return 8;
}
}
private int jjMoveStringLiteralDfa8_6(long old1, long active1, long old2, long active2){
if (((active1 &= old1) | (active2 &= old2)) == 0L)
return 8;
try { curChar = input_stream.readChar(); }
catch(java.io.IOException e) {
return 8;
}
switch(curChar)
{
case 79:
return jjMoveStringLiteralDfa9_6(active1, 0x400000000000000L, active2, 0L);
case 84:
return jjMoveStringLiteralDfa9_6(active1, 0L, active2, 0x780000L);
case 85:
return jjMoveStringLiteralDfa9_6(active1, 0x200000000000000L, active2, 0L);
default :
return 9;
}
}
private int jjMoveStringLiteralDfa9_6(long old1, long active1, long old2, long active2){
if (((active1 &= old1) | (active2 &= old2)) == 0L)
return 9;
try { curChar = input_stream.readChar(); }
catch(java.io.IOException e) {
return 9;
}
switch(curChar)
{
case 78:
return jjMoveStringLiteralDfa10_6(active1, 0x400000000000000L, active2, 0L);
case 79:
return jjMoveStringLiteralDfa10_6(active1, 0x200000000000000L, active2, 0L);
case 82:
return jjMoveStringLiteralDfa10_6(active1, 0L, active2, 0x780000L);
default :
return 10;
}
}
private int jjMoveStringLiteralDfa10_6(long old1, long active1, long old2, long active2){
if (((active1 &= old1) | (active2 &= old2)) == 0L)
return 10;
try { curChar = input_stream.readChar(); }
catch(java.io.IOException e) {
return 10;
}
switch(curChar)
{
case 73:
return jjMoveStringLiteralDfa11_6(active1, 0L, active2, 0x780000L);
case 84:
return jjMoveStringLiteralDfa11_6(active1, 0x600000000000000L, active2, 0L);
default :
return 11;
}
}
private int jjMoveStringLiteralDfa11_6(long old1, long active1, long old2, long active2){
if (((active1 &= old1) | (active2 &= old2)) == 0L)
return 11;
try { curChar = input_stream.readChar(); }
catch(java.io.IOException e) {
return 11;
}
switch(curChar)
{
case 69:
return jjMoveStringLiteralDfa12_6(active1, 0x600000000000000L, active2, 0L);
case 78:
return jjMoveStringLiteralDfa12_6(active1, 0L, active2, 0x780000L);
default :
return 12;
}
}
private int jjMoveStringLiteralDfa12_6(long old1, long active1, long old2, long active2){
if (((active1 &= old1) | (active2 &= old2)) == 0L)
return 12;
try { curChar = input_stream.readChar(); }
catch(java.io.IOException e) {
return 12;
}
switch(curChar)
{
case 71:
return jjMoveStringLiteralDfa13_6(active1, 0L, active2, 0x780000L);
case 78:
return jjMoveStringLiteralDfa13_6(active1, 0x400000000000000L, active2, 0L);
case 95:
return jjMoveStringLiteralDfa13_6(active1, 0x200000000000000L, active2, 0L);
default :
return 13;
}
}
private int jjMoveStringLiteralDfa13_6(long old1, long active1, long old2, long active2){
if (((active1 &= old1) | (active2 &= old2)) == 0L)
return 13;
try { curChar = input_stream.readChar(); }
catch(java.io.IOException e) {
return 13;
}
switch(curChar)
{
case 79:
return jjMoveStringLiteralDfa14_6(active1, 0x200000000000000L, active2, 0L);
case 84:
if ((active1 & 0x400000000000000L) != 0L)
return jjStopAtPos(13, 122);
break;
case 95:
return jjMoveStringLiteralDfa14_6(active1, 0L, active2, 0x780000L);
default :
return 14;
}
return 14;
}
private int jjMoveStringLiteralDfa14_6(long old1, long active1, long old2, long active2){
if (((active1 &= old1) | (active2 &= old2)) == 0L)
return 14;
try { curChar = input_stream.readChar(); }
catch(java.io.IOException e) {
return 14;
}
switch(curChar)
{
case 67:
return jjMoveStringLiteralDfa15_6(active1, 0L, active2, 0x500000L);
case 80:
return jjMoveStringLiteralDfa15_6(active1, 0x200000000000000L, active2, 0L);
case 81:
return jjMoveStringLiteralDfa15_6(active1, 0L, active2, 0x280000L);
default :
return 15;
}
}
private int jjMoveStringLiteralDfa15_6(long old1, long active1, long old2, long active2){
if (((active1 &= old1) | (active2 &= old2)) == 0L)
return 15;
try { curChar = input_stream.readChar(); }
catch(java.io.IOException e) {
return 15;
}
switch(curChar)
{
case 69:
return jjMoveStringLiteralDfa16_6(active1, 0x200000000000000L, active2, 0L);
case 79:
return jjMoveStringLiteralDfa16_6(active1, 0L, active2, 0x100000L);
case 85:
return jjMoveStringLiteralDfa16_6(active1, 0L, active2, 0x680000L);
default :
return 16;
}
}
private int jjMoveStringLiteralDfa16_6(long old1, long active1, long old2, long active2){
if (((active1 &= old1) | (active2 &= old2)) == 0L)
return 16;
try { curChar = input_stream.readChar(); }
catch(java.io.IOException e) {
return 16;
}
switch(curChar)
{
case 78:
if ((active1 & 0x200000000000000L) != 0L)
return jjStopAtPos(16, 121);
return jjMoveStringLiteralDfa17_6(active1, 0L, active2, 0x100000L);
case 79:
return jjMoveStringLiteralDfa17_6(active1, 0L, active2, 0x280000L);
case 82:
return jjMoveStringLiteralDfa17_6(active1, 0L, active2, 0x400000L);
default :
return 17;
}
}
private int jjMoveStringLiteralDfa17_6(long old1, long active1, long old2, long active2){
if (((active1 &= old1) | (active2 &= old2)) == 0L)
return 17;
try { curChar = input_stream.readChar(); }
catch(java.io.IOException e) {
return 17;
}
switch(curChar)
{
case 76:
return jjMoveStringLiteralDfa18_6(active2, 0x400000L);
case 84:
return jjMoveStringLiteralDfa18_6(active2, 0x380000L);
default :
return 18;
}
}
private int jjMoveStringLiteralDfa18_6(long old2, long active2){
if (((active2 &= old2)) == 0L)
return 18;
try { curChar = input_stream.readChar(); }
catch(java.io.IOException e) {
return 18;
}
switch(curChar)
{
case 69:
return jjMoveStringLiteralDfa19_6(active2, 0x380000L);
case 89:
return jjMoveStringLiteralDfa19_6(active2, 0x400000L);
default :
return 19;
}
}
private int jjMoveStringLiteralDfa19_6(long old2, long active2){
if (((active2 &= old2)) == 0L)
return 19;
try { curChar = input_stream.readChar(); }
catch(java.io.IOException e) {
return 19;
}
switch(curChar)
{
case 78:
return jjMoveStringLiteralDfa20_6(active2, 0x100000L);
case 95:
return jjMoveStringLiteralDfa20_6(active2, 0x680000L);
default :
return 20;
}
}
private int jjMoveStringLiteralDfa20_6(long old2, long active2){
if (((active2 &= old2)) == 0L)
return 20;
try { curChar = input_stream.readChar(); }
catch(java.io.IOException e) {
return 20;
}
switch(curChar)
{
case 67:
return jjMoveStringLiteralDfa21_6(active2, 0x200000L);
case 79:
return jjMoveStringLiteralDfa21_6(active2, 0x480000L);
case 84:
if ((active2 & 0x100000L) != 0L)
return jjStopAtPos(20, 148);
break;
default :
return 21;
}
return 21;
}
private int jjMoveStringLiteralDfa21_6(long old2, long active2){
if (((active2 &= old2)) == 0L)
return 21;
try { curChar = input_stream.readChar(); }
catch(java.io.IOException e) {
return 21;
}
switch(curChar)
{
case 76:
return jjMoveStringLiteralDfa22_6(active2, 0x200000L);
case 80:
return jjMoveStringLiteralDfa22_6(active2, 0x480000L);
default :
return 22;
}
}
private int jjMoveStringLiteralDfa22_6(long old2, long active2){
if (((active2 &= old2)) == 0L)
return 22;
try { curChar = input_stream.readChar(); }
catch(java.io.IOException e) {
return 22;
}
switch(curChar)
{
case 69:
return jjMoveStringLiteralDfa23_6(active2, 0x480000L);
case 79:
return jjMoveStringLiteralDfa23_6(active2, 0x200000L);
default :
return 23;
}
}
private int jjMoveStringLiteralDfa23_6(long old2, long active2){
if (((active2 &= old2)) == 0L)
return 23;
try { curChar = input_stream.readChar(); }
catch(java.io.IOException e) {
return 23;
}
switch(curChar)
{
case 78:
if ((active2 & 0x80000L) != 0L)
return jjStopAtPos(23, 147);
else if ((active2 & 0x400000L) != 0L)
return jjStopAtPos(23, 150);
break;
case 83:
return jjMoveStringLiteralDfa24_6(active2, 0x200000L);
default :
return 24;
}
return 24;
}
private int jjMoveStringLiteralDfa24_6(long old2, long active2){
if (((active2 &= old2)) == 0L)
return 24;
try { curChar = input_stream.readChar(); }
catch(java.io.IOException e) {
return 24;
}
switch(curChar)
{
case 69:
if ((active2 & 0x200000L) != 0L)
return jjStopAtPos(24, 149);
break;
default :
return 25;
}
return 25;
}
private final int jjStopStringLiteralDfa_0(int pos, long active0, long active1){
switch (pos)
{
case 0:
if ((active0 & 0x30000001fbd76bfeL) != 0L)
{
jjmatchedKind = 99;
return 4;
}
if ((active0 & 0x200088400L) != 0L)
{
jjmatchedKind = 99;
return 22;
}
if ((active0 & 0x4000000L) != 0L)
{
jjmatchedKind = 99;
return 119;
}
if ((active0 & 0x800000000L) != 0L || (active1 & 0x10000L) != 0L)
return 120;
if ((active0 & 0x201000L) != 0L)
{
jjmatchedKind = 99;
return 121;
}
return -1;
case 1:
if ((active0 & 0x3f9e7feecL) != 0L)
{
if (jjmatchedPos != 1)
{
jjmatchedKind = 99;
jjmatchedPos = 1;
}
return 4;
}
if ((active0 & 0x3000000002100112L) != 0L)
return 4;
if ((active0 & 0x80000L) != 0L)
{
if (jjmatchedPos != 1)
{
jjmatchedKind = 99;
jjmatchedPos = 1;
}
return 122;
}
if ((active0 & 0x4000000L) != 0L)
{
if (jjmatchedPos != 1)
{
jjmatchedKind = 99;
jjmatchedPos = 1;
}
return 123;
}
return -1;
case 2:
if ((active0 & 0x8024e0L) != 0L)
return 4;
if ((active0 & 0x3ff6fdb0cL) != 0L)
{
jjmatchedKind = 99;
jjmatchedPos = 2;
return 4;
}
return -1;
case 3:
if ((active0 & 0x18048080cL) != 0L)
return 4;
if ((active0 & 0x27f27d300L) != 0L)
{
jjmatchedKind = 99;
jjmatchedPos = 3;
return 4;
}
return -1;
case 4:
if ((active0 & 0x245230100L) != 0L)
return 4;
if ((active0 & 0x3a04d200L) != 0L)
{
jjmatchedKind = 99;
jjmatchedPos = 4;
return 4;
}
return -1;
case 5:
if ((active0 & 0x12045200L) != 0L)
return 4;
if ((active0 & 0x28008000L) != 0L)
{
jjmatchedKind = 99;
jjmatchedPos = 5;
return 4;
}
return -1;
case 6:
if ((active0 & 0x8000L) != 0L)
return 4;
if ((active0 & 0x28000000L) != 0L)
{
jjmatchedKind = 99;
jjmatchedPos = 6;
return 4;
}
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 jjMoveStringLiteralDfa0_0(){
switch(curChar)
{
case 33:
return jjMoveStringLiteralDfa1_0(0x80000000000000L, 0x380000L);
case 34:
jjmatchedKind = 123;
return jjMoveStringLiteralDfa1_0(0x0L, 0x2000000000000000L);
case 37:
jjmatchedKind = 67;
return jjMoveStringLiteralDfa1_0(0x400000000000L, 0x0L);
case 38:
jjmatchedKind = 73;
return jjMoveStringLiteralDfa1_0(0x800000000000L, 0x0L);
case 39:
jjmatchedKind = 124;
return jjMoveStringLiteralDfa1_0(0x0L, 0x4000000000000000L);
case 40:
return jjStopAtPos(0, 74);
case 41:
return jjStopAtPos(0, 75);
case 42:
jjmatchedKind = 81;
return jjMoveStringLiteralDfa1_0(0x10080000000000L, 0x40000L);
case 43:
jjmatchedKind = 62;
return jjMoveStringLiteralDfa1_0(0x20000000000L, 0x0L);
case 44:
return jjStopAtPos(0, 38);
case 45:
jjmatchedKind = 63;
return jjMoveStringLiteralDfa1_0(0x40400000000L, 0x0L);
case 46:
jjmatchedKind = 80;
return jjMoveStringLiteralDfa1_0(0x800000000L, 0x0L);
case 47:
jjmatchedKind = 65;
return jjMoveStringLiteralDfa1_0(0x20200000000000L, 0x4L);
case 58:
jjmatchedKind = 36;
return jjMoveStringLiteralDfa1_0(0x10000000000L, 0x0L);
case 59:
return jjStopAtPos(0, 37);
case 60:
jjmatchedKind = 56;
return jjMoveStringLiteralDfa1_0(0x204000000000000L, 0x20L);
case 61:
jjmatchedKind = 39;
return jjMoveStringLiteralDfa1_0(0x40000000000000L, 0x0L);
case 62:
jjmatchedKind = 58;
return jjMoveStringLiteralDfa1_0(0x808000000000000L, 0x40L);
case 64:
jjmatchedKind = 64;
return jjMoveStringLiteralDfa1_0(0x100000000000L, 0x0L);
case 70:
return jjMoveStringLiteralDfa1_0(0x200000000L, 0x0L);
case 78:
return jjMoveStringLiteralDfa1_0(0x80000000L, 0x0L);
case 84:
return jjMoveStringLiteralDfa1_0(0x100000000L, 0x0L);
case 91:
return jjStopAtPos(0, 76);
case 93:
return jjStopAtPos(0, 77);
case 94:
jjmatchedKind = 72;
return jjMoveStringLiteralDfa1_0(0x2000000000000L, 0x0L);
case 97:
return jjMoveStringLiteralDfa1_0(0x42100120L, 0x0L);
case 98:
return jjMoveStringLiteralDfa1_0(0x4000000L, 0x0L);
case 99:
return jjMoveStringLiteralDfa1_0(0x8010000L, 0x0L);
case 100:
return jjMoveStringLiteralDfa1_0(0x800080L, 0x0L);
case 101:
return jjMoveStringLiteralDfa1_0(0x400cL, 0x0L);
case 102:
return jjMoveStringLiteralDfa1_0(0x88400L, 0x0L);
case 103:
return jjMoveStringLiteralDfa1_0(0x10000000L, 0x0L);
case 105:
return jjMoveStringLiteralDfa1_0(0x3000000000040002L, 0x0L);
case 108:
return jjMoveStringLiteralDfa1_0(0x200L, 0x0L);
case 110:
return jjMoveStringLiteralDfa1_0(0x20000040L, 0x0L);
case 111:
return jjMoveStringLiteralDfa1_0(0x10L, 0x0L);
case 112:
return jjMoveStringLiteralDfa1_0(0x400000L, 0x0L);
case 114:
return jjMoveStringLiteralDfa1_0(0x201000L, 0x0L);
case 116:
return jjMoveStringLiteralDfa1_0(0x2000L, 0x0L);
case 119:
return jjMoveStringLiteralDfa1_0(0x20800L, 0x0L);
case 121:
return jjMoveStringLiteralDfa1_0(0x1000000L, 0x0L);
case 123:
return jjStopAtPos(0, 78);
case 124:
jjmatchedKind = 71;
return jjMoveStringLiteralDfa1_0(0x1000000000000L, 0x0L);
case 125:
return jjStopAtPos(0, 79);
case 126:
return jjStopAtPos(0, 68);
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 34:
return jjMoveStringLiteralDfa2_0(active0, 0L, active1, 0x2000000000000000L);
case 39:
return jjMoveStringLiteralDfa2_0(active0, 0L, active1, 0x4000000000000000L);
case 42:
if ((active1 & 0x40000L) != 0L)
{
jjmatchedKind = 82;
jjmatchedPos = 1;
}
return jjMoveStringLiteralDfa2_0(active0, 0x10000000000000L, active1, 0L);
case 46:
return jjMoveStringLiteralDfa2_0(active0, 0x800000000L, active1, 0L);
case 47:
if ((active1 & 0x4L) != 0L)
{
jjmatchedKind = 66;
jjmatchedPos = 1;
}
return jjMoveStringLiteralDfa2_0(active0, 0x20000000000000L, active1, 0L);
case 60:
if ((active1 & 0x20L) != 0L)
{
jjmatchedKind = 69;
jjmatchedPos = 1;
}
return jjMoveStringLiteralDfa2_0(active0, 0x4000000000000L, active1, 0L);
case 61:
if ((active0 & 0x10000000000L) != 0L)
return jjStopAtPos(1, 40);
else if ((active0 & 0x20000000000L) != 0L)
return jjStopAtPos(1, 41);
else if ((active0 & 0x40000000000L) != 0L)
return jjStopAtPos(1, 42);
else if ((active0 & 0x80000000000L) != 0L)
return jjStopAtPos(1, 43);
else if ((active0 & 0x100000000000L) != 0L)
return jjStopAtPos(1, 44);
else if ((active0 & 0x200000000000L) != 0L)
return jjStopAtPos(1, 45);
else if ((active0 & 0x400000000000L) != 0L)
return jjStopAtPos(1, 46);
else if ((active0 & 0x800000000000L) != 0L)
return jjStopAtPos(1, 47);
else if ((active0 & 0x1000000000000L) != 0L)
return jjStopAtPos(1, 48);
else if ((active0 & 0x2000000000000L) != 0L)
return jjStopAtPos(1, 49);
else if ((active0 & 0x40000000000000L) != 0L)
return jjStopAtPos(1, 54);
else if ((active0 & 0x80000000000000L) != 0L)
return jjStopAtPos(1, 55);
else if ((active0 & 0x200000000000000L) != 0L)
return jjStopAtPos(1, 57);
else if ((active0 & 0x800000000000000L) != 0L)
return jjStopAtPos(1, 59);
break;
case 62:
if ((active0 & 0x400000000L) != 0L)
return jjStopAtPos(1, 34);
else if ((active1 & 0x40L) != 0L)
{
jjmatchedKind = 70;
jjmatchedPos = 1;
}
return jjMoveStringLiteralDfa2_0(active0, 0x8000000000000L, active1, 0L);
case 97:
if ((active1 & 0x200000L) != 0L)
return jjStopAtPos(1, 85);
return jjMoveStringLiteralDfa2_0(active0, 0x200600200L, active1, 0L);
case 101:
return jjMoveStringLiteralDfa2_0(active0, 0x801080L, active1, 0L);
case 102:
if ((active0 & 0x2L) != 0L)
return jjStartNfaWithStates_0(1, 1, 4);
break;
case 104:
return jjMoveStringLiteralDfa2_0(active0, 0x20000L, active1, 0L);
case 105:
return jjMoveStringLiteralDfa2_0(active0, 0x1008800L, active1, 0L);
case 108:
return jjMoveStringLiteralDfa2_0(active0, 0x1001000cL, active1, 0L);
case 109:
return jjMoveStringLiteralDfa2_0(active0, 0x40000L, active1, 0L);
case 110:
if ((active0 & 0x2000000000000000L) != 0L)
return jjStartNfaWithStates_0(1, 61, 4);
return jjMoveStringLiteralDfa2_0(active0, 0x20L, active1, 0L);
case 111:
return jjMoveStringLiteralDfa2_0(active0, 0xa8000440L, active1, 0L);
case 114:
if ((active0 & 0x10L) != 0L)
return jjStartNfaWithStates_0(1, 4, 4);
else if ((active1 & 0x100000L) != 0L)
return jjStopAtPos(1, 84);
return jjMoveStringLiteralDfa2_0(active0, 0x104082000L, active1, 0L);
case 115:
if ((active0 & 0x100000L) != 0L)
{
jjmatchedKind = 20;
jjmatchedPos = 1;
}
else if ((active0 & 0x1000000000000000L) != 0L)
return jjStartNfaWithStates_0(1, 60, 4);
else if ((active1 & 0x80000L) != 0L)
return jjStopAtPos(1, 83);
return jjMoveStringLiteralDfa2_0(active0, 0x2000100L, active1, 0L);
case 119:
return jjMoveStringLiteralDfa2_0(active0, 0x40000000L, active1, 0L);
case 120:
return jjMoveStringLiteralDfa2_0(active0, 0x4000L, active1, 0L);
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 34:
if ((active1 & 0x2000000000000000L) != 0L)
return jjStopAtPos(2, 125);
break;
case 39:
if ((active1 & 0x4000000000000000L) != 0L)
return jjStopAtPos(2, 126);
break;
case 46:
if ((active0 & 0x800000000L) != 0L)
return jjStopAtPos(2, 35);
break;
case 61:
if ((active0 & 0x4000000000000L) != 0L)
return jjStopAtPos(2, 50);
else if ((active0 & 0x8000000000000L) != 0L)
return jjStopAtPos(2, 51);
else if ((active0 & 0x10000000000000L) != 0L)
return jjStopAtPos(2, 52);
else if ((active0 & 0x20000000000000L) != 0L)
return jjStopAtPos(2, 53);
break;
case 97:
return jjMoveStringLiteralDfa3_0(active0, 0x40010000L, active1, 0L);
case 99:
return jjMoveStringLiteralDfa3_0(active0, 0x4000L, active1, 0L);
case 100:
if ((active0 & 0x20L) != 0L)
return jjStartNfaWithStates_0(2, 5, 4);
break;
case 101:
return jjMoveStringLiteralDfa3_0(active0, 0x5000000L, active1, 0L);
case 102:
if ((active0 & 0x80L) != 0L)
return jjStartNfaWithStates_0(2, 7, 4);
break;
case 105:
return jjMoveStringLiteralDfa3_0(active0, 0x220008L, active1, 0L);
case 108:
if ((active0 & 0x800000L) != 0L)
return jjStartNfaWithStates_0(2, 23, 4);
return jjMoveStringLiteralDfa3_0(active0, 0x200000000L, active1, 0L);
case 109:
return jjMoveStringLiteralDfa3_0(active0, 0x200L, active1, 0L);
case 110:
return jjMoveStringLiteralDfa3_0(active0, 0xa8008000L, active1, 0L);
case 111:
return jjMoveStringLiteralDfa3_0(active0, 0x10080000L, active1, 0L);
case 112:
return jjMoveStringLiteralDfa3_0(active0, 0x40000L, active1, 0L);
case 114:
if ((active0 & 0x400L) != 0L)
return jjStartNfaWithStates_0(2, 10, 4);
break;
case 115:
return jjMoveStringLiteralDfa3_0(active0, 0x2400004L, active1, 0L);
case 116:
if ((active0 & 0x40L) != 0L)
return jjStartNfaWithStates_0(2, 6, 4);
return jjMoveStringLiteralDfa3_0(active0, 0x1800L, active1, 0L);
case 117:
return jjMoveStringLiteralDfa3_0(active0, 0x100000000L, active1, 0L);
case 121:
if ((active0 & 0x2000L) != 0L)
return jjStartNfaWithStates_0(2, 13, 4);
return jjMoveStringLiteralDfa3_0(active0, 0x100L, active1, 0L);
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, 0L);
return 3;
}
switch(curChar)
{
case 97:
return jjMoveStringLiteralDfa4_0(active0, 0x4008000L);
case 98:
return jjMoveStringLiteralDfa4_0(active0, 0x10000200L);
case 101:
if ((active0 & 0x4L) != 0L)
return jjStartNfaWithStates_0(3, 2, 4);
else if ((active0 & 0x80000000L) != 0L)
return jjStartNfaWithStates_0(3, 31, 4);
else if ((active0 & 0x100000000L) != 0L)
return jjStartNfaWithStates_0(3, 32, 4);
return jjMoveStringLiteralDfa4_0(active0, 0x2004000L);
case 102:
if ((active0 & 0x8L) != 0L)
return jjStartNfaWithStates_0(3, 3, 4);
break;
case 104:
if ((active0 & 0x800L) != 0L)
return jjStartNfaWithStates_0(3, 11, 4);
break;
case 105:
return jjMoveStringLiteralDfa4_0(active0, 0x40000000L);
case 108:
return jjMoveStringLiteralDfa4_0(active0, 0x21020000L);
case 109:
if ((active0 & 0x80000L) != 0L)
return jjStartNfaWithStates_0(3, 19, 4);
break;
case 110:
return jjMoveStringLiteralDfa4_0(active0, 0x100L);
case 111:
return jjMoveStringLiteralDfa4_0(active0, 0x40000L);
case 115:
if ((active0 & 0x400000L) != 0L)
return jjStartNfaWithStates_0(3, 22, 4);
return jjMoveStringLiteralDfa4_0(active0, 0x200210000L);
case 116:
return jjMoveStringLiteralDfa4_0(active0, 0x8000000L);
case 117:
return jjMoveStringLiteralDfa4_0(active0, 0x1000L);
default :
break;
}
return jjStartNfa_0(2, active0, 0L);
}
private int jjMoveStringLiteralDfa4_0(long old0, long active0){
if (((active0 &= old0)) == 0L)
return jjStartNfa_0(2, old0, 0L);
try { curChar = input_stream.readChar(); }
catch(java.io.IOException e) {
jjStopStringLiteralDfa_0(3, active0, 0L);
return 4;
}
switch(curChar)
{
case 97:
return jjMoveStringLiteralDfa5_0(active0, 0x10000000L);
case 99:
if ((active0 & 0x100L) != 0L)
return jjStartNfaWithStates_0(4, 8, 4);
break;
case 100:
if ((active0 & 0x1000000L) != 0L)
return jjStartNfaWithStates_0(4, 24, 4);
return jjMoveStringLiteralDfa5_0(active0, 0x200L);
case 101:
if ((active0 & 0x20000L) != 0L)
return jjStartNfaWithStates_0(4, 17, 4);
else if ((active0 & 0x200000L) != 0L)
return jjStartNfaWithStates_0(4, 21, 4);
else if ((active0 & 0x200000000L) != 0L)
return jjStartNfaWithStates_0(4, 33, 4);
break;
case 105:
return jjMoveStringLiteralDfa5_0(active0, 0x8000000L);
case 107:
if ((active0 & 0x4000000L) != 0L)
return jjStartNfaWithStates_0(4, 26, 4);
break;
case 108:
return jjMoveStringLiteralDfa5_0(active0, 0x8000L);
case 111:
return jjMoveStringLiteralDfa5_0(active0, 0x20000000L);
case 112:
return jjMoveStringLiteralDfa5_0(active0, 0x4000L);
case 114:
return jjMoveStringLiteralDfa5_0(active0, 0x2041000L);
case 115:
if ((active0 & 0x10000L) != 0L)
return jjStartNfaWithStates_0(4, 16, 4);
break;
case 116:
if ((active0 & 0x40000000L) != 0L)
return jjStartNfaWithStates_0(4, 30, 4);
break;
default :
break;
}
return jjStartNfa_0(3, active0, 0L);
}
private int jjMoveStringLiteralDfa5_0(long old0, long active0){
if (((active0 &= old0)) == 0L)
return jjStartNfa_0(3, old0, 0L);
try { curChar = input_stream.readChar(); }
catch(java.io.IOException e) {
jjStopStringLiteralDfa_0(4, active0, 0L);
return 5;
}
switch(curChar)
{
case 97:
if ((active0 & 0x200L) != 0L)
return jjStartNfaWithStates_0(5, 9, 4);
break;
case 99:
return jjMoveStringLiteralDfa6_0(active0, 0x20000000L);
case 108:
if ((active0 & 0x10000000L) != 0L)
return jjStartNfaWithStates_0(5, 28, 4);
return jjMoveStringLiteralDfa6_0(active0, 0x8000L);
case 110:
if ((active0 & 0x1000L) != 0L)
return jjStartNfaWithStates_0(5, 12, 4);
return jjMoveStringLiteralDfa6_0(active0, 0x8000000L);
case 116:
if ((active0 & 0x4000L) != 0L)
return jjStartNfaWithStates_0(5, 14, 4);
else if ((active0 & 0x40000L) != 0L)
return jjStartNfaWithStates_0(5, 18, 4);
else if ((active0 & 0x2000000L) != 0L)
return jjStartNfaWithStates_0(5, 25, 4);
break;
default :
break;
}
return jjStartNfa_0(4, active0, 0L);
}
private int jjMoveStringLiteralDfa6_0(long old0, long active0){
if (((active0 &= old0)) == 0L)
return jjStartNfa_0(4, old0, 0L);
try { curChar = input_stream.readChar(); }
catch(java.io.IOException e) {
jjStopStringLiteralDfa_0(5, active0, 0L);
return 6;
}
switch(curChar)
{
case 97:
return jjMoveStringLiteralDfa7_0(active0, 0x20000000L);
case 117:
return jjMoveStringLiteralDfa7_0(active0, 0x8000000L);
case 121:
if ((active0 & 0x8000L) != 0L)
return jjStartNfaWithStates_0(6, 15, 4);
break;
default :
break;
}
return jjStartNfa_0(5, active0, 0L);
}
private int jjMoveStringLiteralDfa7_0(long old0, long active0){
if (((active0 &= old0)) == 0L)
return jjStartNfa_0(5, old0, 0L);
try { curChar = input_stream.readChar(); }
catch(java.io.IOException e) {
jjStopStringLiteralDfa_0(6, active0, 0L);
return 7;
}
switch(curChar)
{
case 101:
if ((active0 & 0x8000000L) != 0L)
return jjStartNfaWithStates_0(7, 27, 4);
break;
case 108:
if ((active0 & 0x20000000L) != 0L)
return jjStartNfaWithStates_0(7, 29, 4);
break;
default :
break;
}
return jjStartNfa_0(6, 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 = {
0xfff0000040220002L, 0xffffffffffffdfffL, 0xfffff02fffffffffL, 0x12000000007fffffL
};
static final long[] jjbitVec2 = {
0x20000000L, 0x2000L, 0x0L, 0x0L
};
static final long[] jjbitVec3 = {
0xffffffffffffffffL, 0xffffffffffffffffL, 0xffffffffffffffffL, 0x0L
};
static final long[] jjbitVec4 = {
0x0L, 0x0L, 0x420040000000000L, 0xff7fffffff7fffffL
};
static final long[] jjbitVec5 = {
0xffffffffffffffffL, 0xffffffffffffffffL, 0xffffffffffffffffL, 0x501f0003ffc3L
};
static final long[] jjbitVec6 = {
0x0L, 0xbcdf000000000000L, 0xfffffffbffffd740L, 0xffbfffffffffffffL
};
static final long[] jjbitVec7 = {
0xffffffffffffffffL, 0xffffffffffffffffL, 0xfffffffffffffc03L, 0xffffffffffffffffL
};
static final long[] jjbitVec8 = {
0xfffeffffffffffffL, 0xffffffff027fffffL, 0x1ffL, 0x787ffffff0000L
};
static final long[] jjbitVec9 = {
0xffffffff00000000L, 0xfffec000000007ffL, 0xffffffffffffffffL, 0x9c00c060002fffffL
};
static final long[] jjbitVec10 = {
0xfffffffd0000L, 0xffffffffffffe000L, 0x2003fffffffffL, 0x43007fffffffc00L
};
static final long[] jjbitVec11 = {
0x110043fffffL, 0xffff07ff01ffffffL, 0xffffffff00007effL, 0x3ffL
};
static final long[] jjbitVec12 = {
0x23fffffffffffff0L, 0xfffe0003ff010000L, 0x23c5fdfffff99fe1L, 0x10030003b0004000L
};
static final long[] jjbitVec13 = {
0x36dfdfffff987e0L, 0x1c00005e000000L, 0x23edfdfffffbbfe0L, 0x200000300010000L
};
static final long[] jjbitVec14 = {
0x23edfdfffff99fe0L, 0x20003b0000000L, 0x3ffc718d63dc7e8L, 0x10000L
};
static final long[] jjbitVec15 = {
0x23fffdfffffddfe0L, 0x327000000L, 0x23effdfffffddfe1L, 0x6000360000000L
};
static final long[] jjbitVec16 = {
0x27fffffffffddff0L, 0xfc00000380704000L, 0x2ffbfffffc7fffe0L, 0x7fL
};
static final long[] jjbitVec17 = {
0xdfffffffffffeL, 0x7fL, 0x200dffaffffff7d6L, 0xf000005fL
};
static final long[] jjbitVec18 = {
0x1L, 0x1ffffffffeffL, 0x1f00L, 0x0L
};
static final long[] jjbitVec19 = {
0x800007ffffffffffL, 0xffe1c0623c3f0000L, 0xffffffff00004003L, 0xf7ffffffffff20bfL
};
static final long[] jjbitVec20 = {
0xffffffffffffffffL, 0xffffffff3d7f3dffL, 0x7f3dffffffff3dffL, 0xffffffffff7fff3dL
};
static final long[] jjbitVec21 = {
0xffffffffff3dffffL, 0x7ffffffL, 0xffffffff0000ffffL, 0x3f3fffffffffffffL
};
static final long[] jjbitVec22 = {
0xfffffffffffffffeL, 0xffffffffffffffffL, 0xffffffffffffffffL, 0xffffffffffffffffL
};
static final long[] jjbitVec23 = {
0xffffffffffffffffL, 0xffff9fffffffffffL, 0xffffffff07fffffeL, 0x1ffc7ffffffffffL
};
static final long[] jjbitVec24 = {
0x3ffff8003ffffL, 0x1dfff0003ffffL, 0xfffffffffffffL, 0x10800000L
};
static final long[] jjbitVec25 = {
0xffffffff00000000L, 0x1ffffffffffffffL, 0xffff05ffffffffffL, 0x3fffffffffffffL
};
static final long[] jjbitVec26 = {
0x7fffffffL, 0x1f3fffffff0000L, 0xffff0fffffffffffL, 0x3ffL
};
static final long[] jjbitVec27 = {
0xffffffff007fffffL, 0x1fffffL, 0x8000000000L, 0x0L
};
static final long[] jjbitVec28 = {
0xfffffffffffe0L, 0x1fe0L, 0xfc00c001fffffff8L, 0x3fffffffffL
};
static final long[] jjbitVec29 = {
0xfffffffffL, 0x3ffffffffc00e000L, 0xe7ffffffffff01ffL, 0x46fde0000000000L
};
static final long[] jjbitVec30 = {
0xffffffff3f3fffffL, 0x3fffffffaaff3f3fL, 0x5fdfffffffffffffL, 0x1fdc1fff0fcf1fdcL
};
static final long[] jjbitVec31 = {
0x0L, 0x8002000000000000L, 0x1fff0000L, 0x0L
};
static final long[] jjbitVec32 = {
0xf3fffd503f2ffc84L, 0xffffffff000043e0L, 0x1ffL, 0x0L
};
static final long[] jjbitVec33 = {
0xffffffffffffffffL, 0xffffffffffffffffL, 0xffffffffffffffffL, 0xc781fffffffffL
};
static final long[] jjbitVec34 = {
0xffff20bfffffffffL, 0x80ffffffffffL, 0x7f7f7f7f007fffffL, 0x7f7f7f7fL
};
static final long[] jjbitVec35 = {
0x1f3e03fe000000e0L, 0xfffffffffffffffeL, 0xfffffffef87fffffL, 0xf7ffffffffffffffL
};
static final long[] jjbitVec36 = {
0xfffeffffffffffe0L, 0xffffffffffffffffL, 0xffffffff00007fffL, 0xffff000000000000L
};
static final long[] jjbitVec37 = {
0xffffffffffffffffL, 0xffffffffffffffffL, 0x1fffL, 0x3fffffffffff0000L
};
static final long[] jjbitVec38 = {
0xc00ffff1fffL, 0x80007fffffffffffL, 0xffffffff3fffffffL, 0xffffffffffffL
};
static final long[] jjbitVec39 = {
0xfffffffcff800000L, 0xffffffffffffffffL, 0xfffffffffffff9ffL, 0xfffc000003eb07ffL
};
static final long[] jjbitVec40 = {
0x7fffff7bbL, 0xfffffffffffffL, 0xffffffffffffcL, 0x68fc000000000000L
};
static final long[] jjbitVec41 = {
0xffff003ffffffc00L, 0x1fffffff0000007fL, 0x7fffffffffff0L, 0x7c00ffdf00008000L
};
static final long[] jjbitVec42 = {
0x1ffffffffffL, 0xc47fffff00000ff7L, 0x3e62ffffffffffffL, 0x1c07ff38000005L
};
static final long[] jjbitVec43 = {
0xffff7f7f007e7e7eL, 0xffff03fff7ffffffL, 0xffffffffffffffffL, 0x7ffffffffL
};
static final long[] jjbitVec44 = {
0xffffffffffffffffL, 0xffffffffffffffffL, 0xffff000fffffffffL, 0xffffffffffff87fL
};
static final long[] jjbitVec45 = {
0xffffffffffffffffL, 0xffff3fffffffffffL, 0xffffffffffffffffL, 0x3ffffffL
};
static final long[] jjbitVec46 = {
0x5f7ffdffa0f8007fL, 0xffffffffffffffdbL, 0x3ffffffffffffL, 0xfffffffffff80000L
};
static final long[] jjbitVec47 = {
0x3fffffffffffffffL, 0xffffffffffff0000L, 0xfffffffffffcffffL, 0xfff0000000000ffL
};
static final long[] jjbitVec48 = {
0x0L, 0xffdf000000000000L, 0xffffffffffffffffL, 0x1fffffffffffffffL
};
static final long[] jjbitVec49 = {
0x7fffffe00000000L, 0xffffffc007fffffeL, 0x7fffffffffffffffL, 0x1cfcfcfcL
};
static final long[] jjbitVec50 = {
0x0L, 0x0L, 0xffffffffffffffffL, 0xffffffffffffffffL
};
private int jjMoveNfa_0(int startState, int curPos)
{
int startsAt = 0;
jjnewStateCnt = 119;
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 122:
if ((0x3ff000000000000L & l) != 0L)
{
if (kind > 99)
kind = 99;
{ jjCheckNAdd(4); }
}
else if ((0x8400000000L & l) != 0L)
{
if (kind > 120)
kind = 120;
}
if (curChar == 39)
jjstateSet[jjnewStateCnt++] = 36;
else if (curChar == 34)
jjstateSet[jjnewStateCnt++] = 33;
break;
case 123:
if ((0x3ff000000000000L & l) != 0L)
{
if (kind > 99)
kind = 99;
{ jjCheckNAdd(4); }
}
else if ((0x8400000000L & l) != 0L)
{
if (kind > 118)
kind = 118;
}
if (curChar == 39)
jjstateSet[jjnewStateCnt++] = 47;
else if (curChar == 34)
jjstateSet[jjnewStateCnt++] = 44;
break;
case 22:
if ((0x3ff000000000000L & l) != 0L)
{
if (kind > 99)
kind = 99;
{ jjCheckNAdd(4); }
}
else if ((0x8400000000L & l) != 0L)
{
if (kind > 119)
kind = 119;
}
if (curChar == 39)
jjstateSet[jjnewStateCnt++] = 27;
else if (curChar == 34)
jjstateSet[jjnewStateCnt++] = 24;
break;
case 119:
if ((0x3ff000000000000L & l) != 0L)
{
if (kind > 99)
kind = 99;
{ jjCheckNAdd(4); }
}
else if ((0x8400000000L & l) != 0L)
{
if (kind > 117)
kind = 117;
}
if (curChar == 39)
jjstateSet[jjnewStateCnt++] = 19;
else if (curChar == 34)
jjstateSet[jjnewStateCnt++] = 16;
break;
case 120:
if ((0x3ff000000000000L & l) != 0L)
{ jjCheckNAddStates(0, 3); }
if ((0x3ff000000000000L & l) != 0L)
{
if (kind > 95)
kind = 95;
{ jjCheckNAddStates(4, 6); }
}
break;
case 121:
if ((0x3ff000000000000L & l) != 0L)
{
if (kind > 99)
kind = 99;
{ jjCheckNAdd(4); }
}
else if ((0x8400000000L & l) != 0L)
{
if (kind > 117)
kind = 117;
}
if (curChar == 39)
jjstateSet[jjnewStateCnt++] = 19;
else if (curChar == 34)
jjstateSet[jjnewStateCnt++] = 16;
break;
case 0:
if ((0x3ff000000000000L & l) != 0L)
{ jjCheckNAddStates(7, 21); }
else if ((0x2400L & l) != 0L)
{
if (kind > 103)
kind = 103;
}
else if ((0x100000200L & l) != 0L)
{
if (kind > 102)
kind = 102;
}
else if (curChar == 46)
{ jjCheckNAddTwoStates(67, 73); }
else if (curChar == 35)
{
if (kind > 106)
kind = 106;
{ jjCheckNAdd(12); }
}
if ((0x3fe000000000000L & l) != 0L)
{
if (kind > 86)
kind = 86;
{ jjCheckNAddTwoStates(1, 2); }
}
else if (curChar == 48)
{
if (kind > 86)
kind = 86;
{ jjCheckNAddStates(22, 27); }
}
break;
case 2:
if ((0x3ff000000000000L & l) == 0L)
break;
if (kind > 86)
kind = 86;
{ jjCheckNAddTwoStates(1, 2); }
break;
case 4:
if ((0x3ff000000000000L & l) == 0L)
break;
if (kind > 99)
kind = 99;
{ jjCheckNAdd(4); }
break;
case 5:
if ((0x100000200L & l) != 0L && kind > 102)
kind = 102;
break;
case 6:
if ((0x2400L & l) != 0L && kind > 103)
kind = 103;
break;
case 8:
if ((0x2400L & l) != 0L && kind > 104)
kind = 104;
break;
case 9:
if (curChar == 10 && kind > 104)
kind = 104;
break;
case 10:
if (curChar == 13)
jjstateSet[jjnewStateCnt++] = 9;
break;
case 11:
if (curChar != 35)
break;
if (kind > 106)
kind = 106;
{ jjCheckNAdd(12); }
break;
case 12:
if ((0xffffffffffffdbffL & l) == 0L)
break;
if (kind > 106)
kind = 106;
{ jjCheckNAdd(12); }
break;
case 14:
if ((0x8400000000L & l) != 0L && kind > 117)
kind = 117;
break;
case 15:
if (curChar == 34 && kind > 117)
kind = 117;
break;
case 16:
if (curChar == 34)
jjstateSet[jjnewStateCnt++] = 15;
break;
case 17:
if (curChar == 34)
jjstateSet[jjnewStateCnt++] = 16;
break;
case 18:
if (curChar == 39 && kind > 117)
kind = 117;
break;
case 19:
if (curChar == 39)
jjstateSet[jjnewStateCnt++] = 18;
break;
case 20:
if (curChar == 39)
jjstateSet[jjnewStateCnt++] = 19;
break;
case 23:
if (curChar == 34 && kind > 119)
kind = 119;
break;
case 24:
if (curChar == 34)
jjstateSet[jjnewStateCnt++] = 23;
break;
case 25:
if (curChar == 34)
jjstateSet[jjnewStateCnt++] = 24;
break;
case 26:
if (curChar == 39 && kind > 119)
kind = 119;
break;
case 27:
if (curChar == 39)
jjstateSet[jjnewStateCnt++] = 26;
break;
case 28:
if (curChar == 39)
jjstateSet[jjnewStateCnt++] = 27;
break;
case 31:
if ((0x8400000000L & l) != 0L && kind > 120)
kind = 120;
break;
case 32:
if (curChar == 34 && kind > 120)
kind = 120;
break;
case 33:
if (curChar == 34)
jjstateSet[jjnewStateCnt++] = 32;
break;
case 34:
if (curChar == 34)
jjstateSet[jjnewStateCnt++] = 33;
break;
case 35:
if (curChar == 39 && kind > 120)
kind = 120;
break;
case 36:
if (curChar == 39)
jjstateSet[jjnewStateCnt++] = 35;
break;
case 37:
if (curChar == 39)
jjstateSet[jjnewStateCnt++] = 36;
break;
case 42:
if ((0x8400000000L & l) != 0L && kind > 118)
kind = 118;
break;
case 43:
if (curChar == 34 && kind > 118)
kind = 118;
break;
case 44:
if (curChar == 34)
jjstateSet[jjnewStateCnt++] = 43;
break;
case 45:
if (curChar == 34)
jjstateSet[jjnewStateCnt++] = 44;
break;
case 46:
if (curChar == 39 && kind > 118)
kind = 118;
break;
case 47:
if (curChar == 39)
jjstateSet[jjnewStateCnt++] = 46;
break;
case 48:
if (curChar == 39)
jjstateSet[jjnewStateCnt++] = 47;
break;
case 53:
if (curChar != 48)
break;
if (kind > 86)
kind = 86;
{ jjCheckNAddStates(22, 27); }
break;
case 55:
if (curChar != 48)
break;
if (kind > 86)
kind = 86;
{ jjCheckNAddTwoStates(54, 55); }
break;
case 58:
if ((0x3000000000000L & l) == 0L)
break;
if (kind > 87)
kind = 87;
{ jjAddStates(28, 29); }
break;
case 61:
if ((0xff000000000000L & l) == 0L)
break;
if (kind > 88)
kind = 88;
{ jjAddStates(30, 31); }
break;
case 62:
if ((0xff000000000000L & l) == 0L)
break;
if (kind > 88)
kind = 88;
{ jjCheckNAdd(62); }
break;
case 65:
if ((0x3ff000000000000L & l) == 0L)
break;
if (kind > 89)
kind = 89;
{ jjAddStates(32, 33); }
break;
case 66:
if (curChar == 46)
{ jjCheckNAddTwoStates(67, 73); }
break;
case 67:
if ((0x3ff000000000000L & l) == 0L)
break;
if (kind > 95)
kind = 95;
{ jjCheckNAddStates(4, 6); }
break;
case 70:
if ((0x280000000000L & l) != 0L)
{ jjCheckNAdd(71); }
break;
case 71:
if ((0x3ff000000000000L & l) == 0L)
break;
if (kind > 95)
kind = 95;
{ jjCheckNAddTwoStates(72, 71); }
break;
case 73:
if ((0x3ff000000000000L & l) != 0L)
{ jjCheckNAddStates(0, 3); }
break;
case 76:
if ((0x280000000000L & l) != 0L)
{ jjCheckNAdd(77); }
break;
case 77:
if ((0x3ff000000000000L & l) != 0L)
{ jjCheckNAddStates(34, 36); }
break;
case 86:
if ((0x3ff000000000000L & l) != 0L)
{ jjCheckNAddStates(7, 21); }
break;
case 88:
if ((0x3ff000000000000L & l) != 0L)
{ jjCheckNAddStates(37, 39); }
break;
case 89:
if (curChar != 46)
break;
if (kind > 95)
kind = 95;
{ jjCheckNAddTwoStates(90, 92); }
break;
case 90:
if ((0x3ff000000000000L & l) == 0L)
break;
if (kind > 95)
kind = 95;
{ jjCheckNAddStates(40, 42); }
break;
case 93:
if ((0x280000000000L & l) != 0L)
{ jjCheckNAdd(94); }
break;
case 94:
if ((0x3ff000000000000L & l) == 0L)
break;
if (kind > 95)
kind = 95;
{ jjCheckNAddTwoStates(95, 94); }
break;
case 97:
if ((0x3ff000000000000L & l) != 0L)
{ jjCheckNAddStates(43, 45); }
break;
case 99:
if ((0x280000000000L & l) != 0L)
{ jjCheckNAdd(100); }
break;
case 100:
if ((0x3ff000000000000L & l) == 0L)
break;
if (kind > 95)
kind = 95;
{ jjCheckNAddTwoStates(101, 100); }
break;
case 103:
if ((0x3ff000000000000L & l) != 0L)
{ jjCheckNAddStates(46, 48); }
break;
case 105:
if ((0x3ff000000000000L & l) != 0L)
{ jjCheckNAddStates(49, 51); }
break;
case 107:
if ((0x280000000000L & l) != 0L)
{ jjCheckNAdd(108); }
break;
case 108:
if ((0x3ff000000000000L & l) != 0L)
{ jjCheckNAddStates(52, 54); }
break;
case 111:
if ((0x3ff000000000000L & l) != 0L)
{ jjCheckNAddStates(55, 57); }
break;
case 112:
if (curChar == 46)
{ jjCheckNAddStates(58, 60); }
break;
case 113:
if ((0x3ff000000000000L & l) != 0L)
{ jjCheckNAddStates(61, 64); }
break;
case 116:
if ((0x280000000000L & l) != 0L)
{ jjCheckNAdd(117); }
break;
case 117:
if ((0x3ff000000000000L & l) != 0L)
{ jjCheckNAddStates(65, 67); }
break;
default : break;
}
} while(i != startsAt);
}
else if (curChar < 128)
{
long l = 1L << (curChar & 077);
do
{
switch(jjstateSet[--i])
{
case 122:
case 4:
if ((0x7fffffe87fffffeL & l) == 0L)
break;
if (kind > 99)
kind = 99;
{ jjCheckNAdd(4); }
break;
case 123:
if ((0x7fffffe87fffffeL & l) == 0L)
break;
if (kind > 99)
kind = 99;
{ jjCheckNAdd(4); }
break;
case 22:
if ((0x7fffffe87fffffeL & l) != 0L)
{
if (kind > 99)
kind = 99;
{ jjCheckNAdd(4); }
}
if (curChar == 82)
{ jjCheckNAddStates(68, 70); }
else if (curChar == 114)
{ jjCheckNAddStates(68, 70); }
break;
case 119:
if ((0x7fffffe87fffffeL & l) != 0L)
{
if (kind > 99)
kind = 99;
{ jjCheckNAdd(4); }
}
if (curChar == 82)
{ jjCheckNAddStates(71, 73); }
else if (curChar == 114)
{ jjCheckNAddStates(71, 73); }
break;
case 121:
if ((0x7fffffe87fffffeL & l) != 0L)
{
if (kind > 99)
kind = 99;
{ jjCheckNAdd(4); }
}
if (curChar == 70)
{ jjCheckNAddStates(68, 70); }
else if (curChar == 102)
{ jjCheckNAddStates(68, 70); }
else if (curChar == 66)
{ jjCheckNAddStates(71, 73); }
else if (curChar == 98)
{ jjCheckNAddStates(71, 73); }
break;
case 0:
if ((0x7fffffe87fffffeL & l) != 0L)
{
if (kind > 99)
kind = 99;
{ jjCheckNAdd(4); }
}
else if (curChar == 92)
{ jjAddStates(74, 75); }
if ((0x24000400240004L & l) != 0L)
{ jjAddStates(76, 78); }
else if ((0x4000000040L & l) != 0L)
{ jjAddStates(79, 81); }
if (curChar == 82)
{ jjCheckNAddStates(82, 85); }
else if (curChar == 114)
{ jjCheckNAddStates(82, 85); }
else if (curChar == 85)
{ jjCheckNAddTwoStates(41, 49); }
else if (curChar == 117)
{ jjCheckNAddTwoStates(41, 49); }
else if (curChar == 66)
{ jjCheckNAddTwoStates(41, 49); }
else if (curChar == 98)
{ jjCheckNAddTwoStates(41, 49); }
else if (curChar == 70)
{ jjCheckNAddTwoStates(30, 38); }
else if (curChar == 102)
{ jjCheckNAddTwoStates(30, 38); }
break;
case 1:
if (curChar == 95)
jjstateSet[jjnewStateCnt++] = 2;
break;
case 3:
if ((0x7fffffe87fffffeL & l) == 0L)
break;
if (kind > 99)
kind = 99;
{ jjCheckNAdd(4); }
break;
case 7:
if (curChar == 92)
{ jjAddStates(74, 75); }
break;
case 12:
if (kind > 106)
kind = 106;
jjstateSet[jjnewStateCnt++] = 12;
break;
case 13:
if ((0x24000400240004L & l) != 0L)
{ jjAddStates(76, 78); }
break;
case 21:
if ((0x4000000040L & l) != 0L)
{ jjAddStates(79, 81); }
break;
case 29:
if (curChar == 102)
{ jjCheckNAddTwoStates(30, 38); }
break;
case 30:
if (curChar == 114)
{ jjCheckNAddStates(68, 70); }
break;
case 38:
if (curChar == 82)
{ jjCheckNAddStates(68, 70); }
break;
case 39:
if (curChar == 70)
{ jjCheckNAddTwoStates(30, 38); }
break;
case 40:
if (curChar == 98)
{ jjCheckNAddTwoStates(41, 49); }
break;
case 41:
if (curChar == 114)
{ jjCheckNAddStates(71, 73); }
break;
case 49:
if (curChar == 82)
{ jjCheckNAddStates(71, 73); }
break;
case 50:
if (curChar == 66)
{ jjCheckNAddTwoStates(41, 49); }
break;
case 51:
if (curChar == 117)
{ jjCheckNAddTwoStates(41, 49); }
break;
case 52:
if (curChar == 85)
{ jjCheckNAddTwoStates(41, 49); }
break;
case 54:
if (curChar == 95)
jjstateSet[jjnewStateCnt++] = 55;
break;
case 56:
if ((0x400000004L & l) != 0L)
{ jjCheckNAddTwoStates(57, 58); }
break;
case 57:
if (curChar == 95)
{ jjCheckNAdd(58); }
break;
case 59:
if ((0x800000008000L & l) != 0L)
{ jjCheckNAddTwoStates(60, 61); }
break;
case 60:
if (curChar == 95)
{ jjCheckNAdd(61); }
break;
case 63:
if ((0x100000001000000L & l) != 0L)
{ jjCheckNAddTwoStates(64, 65); }
break;
case 64:
if (curChar == 95)
{ jjCheckNAdd(65); }
break;
case 65:
if ((0x7e0000007eL & l) == 0L)
break;
if (kind > 89)
kind = 89;
{ jjCheckNAddTwoStates(64, 65); }
break;
case 68:
if (curChar == 95)
jjstateSet[jjnewStateCnt++] = 67;
break;
case 69:
if ((0x2000000020L & l) != 0L)
{ jjCheckNAddTwoStates(70, 71); }
break;
case 72:
if (curChar == 95)
{ jjCheckNAdd(71); }
break;
case 74:
if (curChar == 95)
jjstateSet[jjnewStateCnt++] = 73;
break;
case 75:
if ((0x2000000020L & l) != 0L)
{ jjCheckNAddTwoStates(76, 77); }
break;
case 78:
if (curChar == 95)
{ jjCheckNAdd(77); }
break;
case 79:
if ((0x40000000400L & l) != 0L && kind > 98)
kind = 98;
break;
case 80:
if (curChar == 114)
{ jjCheckNAddStates(82, 85); }
break;
case 81:
if (curChar == 98)
{ jjCheckNAddStates(71, 73); }
break;
case 82:
if (curChar == 66)
{ jjCheckNAddStates(71, 73); }
break;
case 83:
if (curChar == 102)
{ jjCheckNAddStates(68, 70); }
break;
case 84:
if (curChar == 70)
{ jjCheckNAddStates(68, 70); }
break;
case 85:
if (curChar == 82)
{ jjCheckNAddStates(82, 85); }
break;
case 87:
if (curChar == 95)
jjstateSet[jjnewStateCnt++] = 88;
break;
case 91:
if (curChar == 95)
jjstateSet[jjnewStateCnt++] = 90;
break;
case 92:
if ((0x2000000020L & l) != 0L)
{ jjCheckNAddTwoStates(93, 94); }
break;
case 95:
if (curChar == 95)
{ jjCheckNAdd(94); }
break;
case 96:
if (curChar == 95)
jjstateSet[jjnewStateCnt++] = 97;
break;
case 98:
if ((0x2000000020L & l) != 0L)
{ jjCheckNAddTwoStates(99, 100); }
break;
case 101:
if (curChar == 95)
{ jjCheckNAdd(100); }
break;
case 102:
if (curChar == 95)
jjstateSet[jjnewStateCnt++] = 103;
break;
case 104:
if (curChar == 95)
jjstateSet[jjnewStateCnt++] = 105;
break;
case 106:
if ((0x2000000020L & l) != 0L)
{ jjCheckNAddTwoStates(107, 108); }
break;
case 109:
if (curChar == 95)
{ jjCheckNAdd(108); }
break;
case 110:
if (curChar == 95)
jjstateSet[jjnewStateCnt++] = 111;
break;
case 114:
if (curChar == 95)
jjstateSet[jjnewStateCnt++] = 113;
break;
case 115:
if ((0x2000000020L & l) != 0L)
{ jjCheckNAddTwoStates(116, 117); }
break;
case 118:
if (curChar == 95)
{ jjCheckNAdd(117); }
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 122:
case 4:
if (!jjCanMove_0(hiByte, i1, i2, l1, l2))
break;
if (kind > 99)
kind = 99;
{ jjCheckNAdd(4); }
break;
case 123:
if (!jjCanMove_0(hiByte, i1, i2, l1, l2))
break;
if (kind > 99)
kind = 99;
{ jjCheckNAdd(4); }
break;
case 22:
if (!jjCanMove_0(hiByte, i1, i2, l1, l2))
break;
if (kind > 99)
kind = 99;
{ jjCheckNAdd(4); }
break;
case 119:
if (!jjCanMove_0(hiByte, i1, i2, l1, l2))
break;
if (kind > 99)
kind = 99;
{ jjCheckNAdd(4); }
break;
case 121:
if (!jjCanMove_0(hiByte, i1, i2, l1, l2))
break;
if (kind > 99)
kind = 99;
{ jjCheckNAdd(4); }
break;
case 0:
if (!jjCanMove_0(hiByte, i1, i2, l1, l2))
break;
if (kind > 99)
kind = 99;
{ jjCheckNAdd(4); }
break;
case 12:
if (!jjCanMove_1(hiByte, i1, i2, l1, l2))
break;
if (kind > 106)
kind = 106;
jjstateSet[jjnewStateCnt++] = 12;
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 = 119 - (jjnewStateCnt = startsAt)))
return curPos;
try { curChar = input_stream.readChar(); }
catch(java.io.IOException e) { return curPos; }
}
}
private final int jjStopStringLiteralDfa_20(int pos, long active0, long active1, long active2){
switch (pos)
{
case 0:
if ((active2 & 0x8000000000000L) != 0L)
{
jjmatchedKind = 176;
return -1;
}
return -1;
default :
return -1;
}
}
private final int jjStartNfa_20(int pos, long active0, long active1, long active2){
return jjMoveNfa_20(jjStopStringLiteralDfa_20(pos, active0, active1, active2), pos + 1);
}
private int jjMoveStringLiteralDfa0_20(){
switch(curChar)
{
case 92:
return jjMoveStringLiteralDfa1_20(0x6000000000000L);
case 123:
return jjMoveStringLiteralDfa1_20(0x8000000000000L);
default :
return jjMoveNfa_20(0, 0);
}
}
private int jjMoveStringLiteralDfa1_20(long active2){
try { curChar = input_stream.readChar(); }
catch(java.io.IOException e) {
jjStopStringLiteralDfa_20(0, 0L, 0L, active2);
return 1;
}
switch(curChar)
{
case 39:
if ((active2 & 0x4000000000000L) != 0L)
return jjStopAtPos(1, 178);
break;
case 92:
if ((active2 & 0x2000000000000L) != 0L)
return jjStopAtPos(1, 177);
break;
case 123:
if ((active2 & 0x8000000000000L) != 0L)
return jjStopAtPos(1, 179);
break;
default :
break;
}
return jjStartNfa_20(0, 0L, 0L, active2);
}
private int jjMoveNfa_20(int startState, int curPos)
{
int startsAt = 0;
jjnewStateCnt = 4;
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 (curChar == 39)
jjstateSet[jjnewStateCnt++] = 2;
break;
case 1:
if (curChar == 39 && kind > 176)
kind = 176;
break;
case 2:
if (curChar == 39)
jjstateSet[jjnewStateCnt++] = 1;
break;
default : break;
}
} while(i != startsAt);
}
else if (curChar < 128)
{
long l = 1L << (curChar & 077);
do
{
switch(jjstateSet[--i])
{
case 0:
if (curChar == 123)
kind = 176;
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])
{
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 = 4 - (jjnewStateCnt = startsAt)))
return curPos;
try { curChar = input_stream.readChar(); }
catch(java.io.IOException e) { return curPos; }
}
}
private final int jjStopStringLiteralDfa_16(int pos, long active0, long active1, long active2){
switch (pos)
{
case 0:
if ((active2 & 0x2000000000L) != 0L)
{
jjmatchedKind = 162;
return -1;
}
return -1;
default :
return -1;
}
}
private final int jjStartNfa_16(int pos, long active0, long active1, long active2){
return jjMoveNfa_16(jjStopStringLiteralDfa_16(pos, active0, active1, active2), pos + 1);
}
private int jjMoveStringLiteralDfa0_16(){
switch(curChar)
{
case 92:
return jjMoveStringLiteralDfa1_16(0x1800000000L);
case 123:
return jjMoveStringLiteralDfa1_16(0x2000000000L);
default :
return jjMoveNfa_16(0, 0);
}
}
private int jjMoveStringLiteralDfa1_16(long active2){
try { curChar = input_stream.readChar(); }
catch(java.io.IOException e) {
jjStopStringLiteralDfa_16(0, 0L, 0L, active2);
return 1;
}
switch(curChar)
{
case 39:
if ((active2 & 0x1000000000L) != 0L)
return jjStopAtPos(1, 164);
break;
case 92:
if ((active2 & 0x800000000L) != 0L)
return jjStopAtPos(1, 163);
break;
case 123:
if ((active2 & 0x2000000000L) != 0L)
return jjStopAtPos(1, 165);
break;
default :
break;
}
return jjStartNfa_16(0, 0L, 0L, active2);
}
private int jjMoveNfa_16(int startState, int curPos)
{
int startsAt = 0;
jjnewStateCnt = 1;
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 (curChar == 39)
kind = 162;
break;
default : break;
}
} while(i != startsAt);
}
else if (curChar < 128)
{
long l = 1L << (curChar & 077);
do
{
switch(jjstateSet[--i])
{
case 0:
if (curChar == 123)
kind = 162;
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])
{
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 = 1 - (jjnewStateCnt = startsAt)))
return curPos;
try { curChar = input_stream.readChar(); }
catch(java.io.IOException e) { return curPos; }
}
}
private int jjMoveStringLiteralDfa0_8(){
switch(curChar)
{
case 39:
return jjStopAtPos(0, 131);
case 92:
return jjMoveStringLiteralDfa1_8(0x30L);
default :
return 1;
}
}
private int jjMoveStringLiteralDfa1_8(long active2){
try { curChar = input_stream.readChar(); }
catch(java.io.IOException e) {
return 1;
}
switch(curChar)
{
case 39:
if ((active2 & 0x20L) != 0L)
return jjStopAtPos(1, 133);
break;
case 92:
if ((active2 & 0x10L) != 0L)
return jjStopAtPos(1, 132);
break;
default :
return 2;
}
return 2;
}
private final int jjStopStringLiteralDfa_18(int pos, long active0, long active1, long active2){
switch (pos)
{
case 0:
if ((active2 & 0x100000000000L) != 0L)
{
jjmatchedKind = 169;
return -1;
}
return -1;
default :
return -1;
}
}
private final int jjStartNfa_18(int pos, long active0, long active1, long active2){
return jjMoveNfa_18(jjStopStringLiteralDfa_18(pos, active0, active1, active2), pos + 1);
}
private int jjMoveStringLiteralDfa0_18(){
switch(curChar)
{
case 92:
return jjMoveStringLiteralDfa1_18(0xc0000000000L);
case 123:
return jjMoveStringLiteralDfa1_18(0x100000000000L);
default :
return jjMoveNfa_18(0, 0);
}
}
private int jjMoveStringLiteralDfa1_18(long active2){
try { curChar = input_stream.readChar(); }
catch(java.io.IOException e) {
jjStopStringLiteralDfa_18(0, 0L, 0L, active2);
return 1;
}
switch(curChar)
{
case 34:
if ((active2 & 0x80000000000L) != 0L)
return jjStopAtPos(1, 171);
break;
case 92:
if ((active2 & 0x40000000000L) != 0L)
return jjStopAtPos(1, 170);
break;
case 123:
if ((active2 & 0x100000000000L) != 0L)
return jjStopAtPos(1, 172);
break;
default :
break;
}
return jjStartNfa_18(0, 0L, 0L, active2);
}
private int jjMoveNfa_18(int startState, int curPos)
{
int startsAt = 0;
jjnewStateCnt = 4;
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 (curChar == 34)
jjstateSet[jjnewStateCnt++] = 2;
break;
case 1:
if (curChar == 34 && kind > 169)
kind = 169;
break;
case 2:
if (curChar == 34)
jjstateSet[jjnewStateCnt++] = 1;
break;
default : break;
}
} while(i != startsAt);
}
else if (curChar < 128)
{
long l = 1L << (curChar & 077);
do
{
switch(jjstateSet[--i])
{
case 0:
if (curChar == 123)
kind = 169;
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])
{
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 = 4 - (jjnewStateCnt = startsAt)))
return curPos;
try { curChar = input_stream.readChar(); }
catch(java.io.IOException e) { return curPos; }
}
}
private int jjMoveStringLiteralDfa0_17(){
switch(curChar)
{
case 39:
return jjStopAtPos(0, 168);
case 123:
return jjStopAtPos(0, 167);
default :
return 1;
}
}
private final int jjStopStringLiteralDfa_1(int pos, long active0, long active1){
switch (pos)
{
default :
return -1;
}
}
private final int jjStartNfa_1(int pos, long active0, long active1){
return jjMoveNfa_1(jjStopStringLiteralDfa_1(pos, active0, active1), pos + 1);
}
private int jjMoveStringLiteralDfa0_1(){
switch(curChar)
{
case 9:
return jjStopAtPos(0, 109);
case 32:
return jjStopAtPos(0, 108);
default :
return jjMoveNfa_1(0, 0);
}
}
private int jjMoveNfa_1(int startState, int curPos)
{
int startsAt = 0;
jjnewStateCnt = 3;
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 ((0x2400L & l) != 0L)
{
if (kind > 110)
kind = 110;
}
else if (curChar == 35)
{
if (kind > 107)
kind = 107;
{ jjCheckNAdd(1); }
}
break;
case 1:
if ((0xffffffffffffdbffL & l) == 0L)
break;
if (kind > 107)
kind = 107;
{ jjCheckNAdd(1); }
break;
case 2:
if ((0x2400L & l) != 0L)
kind = 110;
break;
default : break;
}
} while(i != startsAt);
}
else if (curChar < 128)
{
long l = 1L << (curChar & 077);
do
{
switch(jjstateSet[--i])
{
case 1:
kind = 107;
jjstateSet[jjnewStateCnt++] = 1;
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 1:
if (!jjCanMove_1(hiByte, i1, i2, l1, l2))
break;
if (kind > 107)
kind = 107;
jjstateSet[jjnewStateCnt++] = 1;
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 = 3 - (jjnewStateCnt = startsAt)))
return curPos;
try { curChar = input_stream.readChar(); }
catch(java.io.IOException e) { return curPos; }
}
}
private int jjMoveStringLiteralDfa0_9(){
switch(curChar)
{
case 34:
return jjMoveStringLiteralDfa1_9(0x80L);
case 92:
return jjMoveStringLiteralDfa1_9(0x300L);
default :
return 1;
}
}
private int jjMoveStringLiteralDfa1_9(long active2){
try { curChar = input_stream.readChar(); }
catch(java.io.IOException e) {
return 1;
}
switch(curChar)
{
case 34:
if ((active2 & 0x200L) != 0L)
return jjStopAtPos(1, 137);
return jjMoveStringLiteralDfa2_9(active2, 0x80L);
case 92:
if ((active2 & 0x100L) != 0L)
return jjStopAtPos(1, 136);
break;
default :
return 2;
}
return 2;
}
private int jjMoveStringLiteralDfa2_9(long old2, long active2){
if (((active2 &= old2)) == 0L)
return 2;
try { curChar = input_stream.readChar(); }
catch(java.io.IOException e) {
return 2;
}
switch(curChar)
{
case 34:
if ((active2 & 0x80L) != 0L)
return jjStopAtPos(2, 135);
break;
default :
return 3;
}
return 3;
}
/** Token literal values. */
public static final String[] jjstrLiteralImages = {
"", "\151\146", "\145\154\163\145", "\145\154\151\146", "\157\162",
"\141\156\144", "\156\157\164", "\144\145\146", "\141\163\171\156\143",
"\154\141\155\142\144\141", "\146\157\162", "\167\151\164\150", "\162\145\164\165\162\156",
"\164\162\171", "\145\170\143\145\160\164", "\146\151\156\141\154\154\171",
"\143\154\141\163\163", "\167\150\151\154\145", "\151\155\160\157\162\164", "\146\162\157\155",
"\141\163", "\162\141\151\163\145", "\160\141\163\163", "\144\145\154",
"\171\151\145\154\144", "\141\163\163\145\162\164", "\142\162\145\141\153",
"\143\157\156\164\151\156\165\145", "\147\154\157\142\141\154", "\156\157\156\154\157\143\141\154",
"\141\167\141\151\164", "\116\157\156\145", "\124\162\165\145", "\106\141\154\163\145", "\55\76",
"\56\56\56", "\72", "\73", "\54", "\75", "\72\75", "\53\75", "\55\75", "\52\75", "\100\75",
"\57\75", "\45\75", "\46\75", "\174\75", "\136\75", "\74\74\75", "\76\76\75",
"\52\52\75", "\57\57\75", "\75\75", "\41\75", "\74", "\74\75", "\76", "\76\75", "\151\163",
"\151\156", "\53", "\55", "\100", "\57", "\57\57", "\45", "\176", "\74\74", "\76\76",
"\174", "\136", "\46", "\50", "\51", "\133", "\135", "\173", "\175", "\56", "\52",
"\52\52", "\41\163", "\41\162", "\41\141", null, null, null, null, null, null, null,
null, null, null, null, null, null, null, null, null, null, null, null, null, null,
null, null, null, null, null, null, null, null, null, null, null, null, null, null,
"\123\124\122\111\116\107\137\121\125\117\124\105\137\117\120\105\116", "\123\124\122\111\116\107\137\103\117\116\124\105\116\124", "\42", "\47",
"\42\42\42", "\47\47\47", null, null, null, null, null, null, null, null, null, null, null,
null, null, null, null, null, null, null, null, null,
"\106\117\122\115\101\124\137\123\124\122\111\116\107\137\121\125\117\124\105\137\117\120\105\116",
"\106\117\122\115\101\124\137\123\124\122\111\116\107\137\103\117\116\124\105\116\124",
"\106\117\122\115\101\124\137\123\124\122\111\116\107\137\121\125\117\124\105\137\103\114\117\123\105",
"\106\117\122\115\101\124\137\123\124\122\111\116\107\137\103\125\122\114\131\137\117\120\105\116", "\42", "\47", "\42\42\42", "\47\47\47", null, null, null, null, null, "\173",
"\42", null, null, null, null, null, "\173", "\47", null, null, null, null, null,
"\173", "\42\42\42", null, null, null, null, null, "\173", "\47\47\47", };
protected Token jjFillToken()
{
final Token t;
final String curTokenImage;
final int beginLine;
final int endLine;
final int beginColumn;
final int endColumn;
if (jjmatchedPos < 0)
{
if (image == null)
curTokenImage = "";
else
curTokenImage = image.toString();
beginLine = endLine = input_stream.getEndLine();
beginColumn = endColumn = input_stream.getEndColumn();
}
else
{
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;
}
static final int[] jjnextStates = {
74, 73, 75, 79, 68, 67, 69, 87, 88, 89, 96, 97, 98, 102, 103, 104,
105, 106, 110, 111, 112, 79, 54, 55, 56, 59, 62, 63, 57, 58, 60, 61,
64, 65, 78, 77, 79, 87, 88, 89, 91, 90, 92, 96, 97, 98, 102, 103,
79, 104, 105, 106, 109, 108, 79, 110, 111, 112, 113, 115, 79, 114, 113, 115,
79, 118, 117, 79, 31, 34, 37, 42, 45, 48, 8, 10, 14, 17, 20, 22,
25, 28, 81, 82, 83, 84,
};
private static final boolean jjCanMove_0(int hiByte, int i1, int i2, long l1, long l2)
{
switch(hiByte)
{
case 0:
return ((jjbitVec4[i2] & l2) != 0L);
case 2:
return ((jjbitVec5[i2] & l2) != 0L);
case 3:
return ((jjbitVec6[i2] & l2) != 0L);
case 4:
return ((jjbitVec7[i2] & l2) != 0L);
case 5:
return ((jjbitVec8[i2] & l2) != 0L);
case 6:
return ((jjbitVec9[i2] & l2) != 0L);
case 7:
return ((jjbitVec10[i2] & l2) != 0L);
case 8:
return ((jjbitVec11[i2] & l2) != 0L);
case 9:
return ((jjbitVec12[i2] & l2) != 0L);
case 10:
return ((jjbitVec13[i2] & l2) != 0L);
case 11:
return ((jjbitVec14[i2] & l2) != 0L);
case 12:
return ((jjbitVec15[i2] & l2) != 0L);
case 13:
return ((jjbitVec16[i2] & l2) != 0L);
case 14:
return ((jjbitVec17[i2] & l2) != 0L);
case 15:
return ((jjbitVec18[i2] & l2) != 0L);
case 16:
return ((jjbitVec19[i2] & l2) != 0L);
case 18:
return ((jjbitVec20[i2] & l2) != 0L);
case 19:
return ((jjbitVec21[i2] & l2) != 0L);
case 20:
return ((jjbitVec22[i2] & l2) != 0L);
case 22:
return ((jjbitVec23[i2] & l2) != 0L);
case 23:
return ((jjbitVec24[i2] & l2) != 0L);
case 24:
return ((jjbitVec25[i2] & l2) != 0L);
case 25:
return ((jjbitVec26[i2] & l2) != 0L);
case 26:
return ((jjbitVec27[i2] & l2) != 0L);
case 27:
return ((jjbitVec28[i2] & l2) != 0L);
case 28:
return ((jjbitVec29[i2] & l2) != 0L);
case 31:
return ((jjbitVec30[i2] & l2) != 0L);
case 32:
return ((jjbitVec31[i2] & l2) != 0L);
case 33:
return ((jjbitVec32[i2] & l2) != 0L);
case 44:
return ((jjbitVec33[i2] & l2) != 0L);
case 45:
return ((jjbitVec34[i2] & l2) != 0L);
case 48:
return ((jjbitVec35[i2] & l2) != 0L);
case 49:
return ((jjbitVec36[i2] & l2) != 0L);
case 164:
return ((jjbitVec37[i2] & l2) != 0L);
case 166:
return ((jjbitVec38[i2] & l2) != 0L);
case 167:
return ((jjbitVec39[i2] & l2) != 0L);
case 168:
return ((jjbitVec40[i2] & l2) != 0L);
case 169:
return ((jjbitVec41[i2] & l2) != 0L);
case 170:
return ((jjbitVec42[i2] & l2) != 0L);
case 171:
return ((jjbitVec43[i2] & l2) != 0L);
case 215:
return ((jjbitVec44[i2] & l2) != 0L);
case 250:
return ((jjbitVec45[i2] & l2) != 0L);
case 251:
return ((jjbitVec46[i2] & l2) != 0L);
case 253:
return ((jjbitVec47[i2] & l2) != 0L);
case 254:
return ((jjbitVec48[i2] & l2) != 0L);
case 255:
return ((jjbitVec49[i2] & l2) != 0L);
default :
if ((jjbitVec2[i1] & l1) != 0L)
if ((jjbitVec3[i2] & l2) == 0L)
return false;
else
return true;
if ((jjbitVec0[i1] & l1) != 0L)
return true;
return false;
}
}
private static final boolean jjCanMove_1(int hiByte, int i1, int i2, long l1, long l2)
{
switch(hiByte)
{
case 0:
return ((jjbitVec50[i2] & l2) != 0L);
default :
if ((jjbitVec22[i1] & l1) != 0L)
return true;
return false;
}
}
int curLexState = 0;
int defaultLexState = 0;
int jjnewStateCnt;
int jjround;
int jjmatchedPos;
int jjmatchedKind;
/** Get the next Token. */
public Token getNextToken()
{
Token specialToken = null;
Token matchedToken;
int curPos = 0;
EOFLoop :
for (;;)
{
try
{
curChar = input_stream.BeginToken();
}
catch(Exception e)
{
jjmatchedKind = 0;
jjmatchedPos = -1;
matchedToken = jjFillToken();
matchedToken.specialToken = specialToken;
CommonTokenAction(matchedToken);
return matchedToken;
}
image = jjimage;
image.setLength(0);
jjimageLen = 0;
for (;;)
{
switch(curLexState)
{
case 0:
try { input_stream.backup(0);
while (curChar <= 25 && (0x2000000L & (1L << curChar)) != 0L)
curChar = input_stream.BeginToken();
}
catch (java.io.IOException e1) { continue EOFLoop; }
jjmatchedKind = 0x7fffffff;
jjmatchedPos = 0;
curPos = jjMoveStringLiteralDfa0_0();
break;
case 1:
try { input_stream.backup(0);
while (curChar <= 25 && (0x2000000L & (1L << curChar)) != 0L)
curChar = input_stream.BeginToken();
}
catch (java.io.IOException e1) { continue EOFLoop; }
jjmatchedKind = 0x7fffffff;
jjmatchedPos = 0;
curPos = jjMoveStringLiteralDfa0_1();
if (jjmatchedPos == 0 && jjmatchedKind > 112)
{
jjmatchedKind = 112;
}
break;
case 2:
jjmatchedKind = 113;
jjmatchedPos = -1;
curPos = 0;
curPos = jjMoveStringLiteralDfa0_2();
break;
case 3:
jjmatchedKind = 114;
jjmatchedPos = -1;
curPos = 0;
curPos = jjMoveStringLiteralDfa0_3();
break;
case 4:
jjmatchedKind = 115;
jjmatchedPos = -1;
curPos = 0;
curPos = jjMoveStringLiteralDfa0_4();
break;
case 5:
jjmatchedKind = 116;
jjmatchedPos = -1;
curPos = 0;
curPos = jjMoveStringLiteralDfa0_5();
break;
case 6:
jjmatchedKind = 0x7fffffff;
jjmatchedPos = 0;
curPos = jjMoveStringLiteralDfa0_6();
break;
case 7:
jjmatchedKind = 0x7fffffff;
jjmatchedPos = 0;
curPos = jjMoveStringLiteralDfa0_7();
if (jjmatchedPos == 0 && jjmatchedKind > 130)
{
jjmatchedKind = 130;
}
break;
case 8:
jjmatchedKind = 0x7fffffff;
jjmatchedPos = 0;
curPos = jjMoveStringLiteralDfa0_8();
if (jjmatchedPos == 0 && jjmatchedKind > 134)
{
jjmatchedKind = 134;
}
break;
case 9:
jjmatchedKind = 0x7fffffff;
jjmatchedPos = 0;
curPos = jjMoveStringLiteralDfa0_9();
if (jjmatchedPos == 0 && jjmatchedKind > 138)
{
jjmatchedKind = 138;
}
break;
case 10:
jjmatchedKind = 0x7fffffff;
jjmatchedPos = 0;
curPos = jjMoveStringLiteralDfa0_10();
if (jjmatchedPos == 0 && jjmatchedKind > 142)
{
jjmatchedKind = 142;
}
break;
case 11:
jjmatchedKind = 0x7fffffff;
jjmatchedPos = 0;
curPos = jjMoveStringLiteralDfa0_11();
if (jjmatchedPos == 0 && jjmatchedKind > 145)
{
jjmatchedKind = 145;
}
break;
case 12:
jjmatchedKind = 146;
jjmatchedPos = -1;
curPos = 0;
curPos = jjMoveStringLiteralDfa0_12();
break;
case 13:
jjmatchedKind = 0x7fffffff;
jjmatchedPos = 0;
curPos = jjMoveStringLiteralDfa0_13();
break;
case 14:
jjmatchedKind = 0x7fffffff;
jjmatchedPos = 0;
curPos = jjMoveStringLiteralDfa0_14();
if (jjmatchedPos == 0 && jjmatchedKind > 159)
{
jjmatchedKind = 159;
}
break;
case 15:
jjmatchedKind = 0x7fffffff;
jjmatchedPos = 0;
curPos = jjMoveStringLiteralDfa0_15();
break;
case 16:
jjmatchedKind = 0x7fffffff;
jjmatchedPos = 0;
curPos = jjMoveStringLiteralDfa0_16();
if (jjmatchedPos == 0 && jjmatchedKind > 166)
{
jjmatchedKind = 166;
}
break;
case 17:
jjmatchedKind = 0x7fffffff;
jjmatchedPos = 0;
curPos = jjMoveStringLiteralDfa0_17();
break;
case 18:
jjmatchedKind = 0x7fffffff;
jjmatchedPos = 0;
curPos = jjMoveStringLiteralDfa0_18();
if (jjmatchedPos == 0 && jjmatchedKind > 173)
{
jjmatchedKind = 173;
}
break;
case 19:
jjmatchedKind = 0x7fffffff;
jjmatchedPos = 0;
curPos = jjMoveStringLiteralDfa0_19();
break;
case 20:
jjmatchedKind = 0x7fffffff;
jjmatchedPos = 0;
curPos = jjMoveStringLiteralDfa0_20();
if (jjmatchedPos == 0 && jjmatchedKind > 180)
{
jjmatchedKind = 180;
}
break;
case 21:
jjmatchedKind = 0x7fffffff;
jjmatchedPos = 0;
curPos = jjMoveStringLiteralDfa0_21();
break;
}
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;
TokenLexicalActions(matchedToken);
if (jjnewLexState[jjmatchedKind] != -1)
curLexState = jjnewLexState[jjmatchedKind];
CommonTokenAction(matchedToken);
return matchedToken;
}
else if ((jjtoSkip[jjmatchedKind >> 6] & (1L << (jjmatchedKind & 077))) != 0L)
{
if ((jjtoSpecial[jjmatchedKind >> 6] & (1L << (jjmatchedKind & 077))) != 0L)
{
matchedToken = jjFillToken();
if (specialToken == null)
specialToken = matchedToken;
else
{
matchedToken.specialToken = specialToken;
specialToken = (specialToken.next = matchedToken);
}
SkipLexicalActions(matchedToken);
}
else
SkipLexicalActions(null);
if (jjnewLexState[jjmatchedKind] != -1)
curLexState = jjnewLexState[jjmatchedKind];
continue EOFLoop;
}
MoreLexicalActions();
if (jjnewLexState[jjmatchedKind] != -1)
curLexState = jjnewLexState[jjmatchedKind];
curPos = 0;
jjmatchedKind = 0x7fffffff;
try {
curChar = input_stream.readChar();
continue;
}
catch (java.io.IOException e1) { }
}
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);
}
}
}
int[] jjemptyLineNo = new int[22];
int[] jjemptyColNo = new int[22];
boolean[] jjbeenHere = new boolean[22];
void SkipLexicalActions(Token matchedToken)
{
switch(jjmatchedKind)
{
case 103 :
image.append(input_stream.GetSuffix(jjimageLen + (lengthOfMatch = jjmatchedPos + 1)));
if (openParenCounter() == 0) {
SwitchTo(NEWLINE_EMIT);
}
break;
case 108 :
image.append(input_stream.GetSuffix(jjimageLen + (lengthOfMatch = jjmatchedPos + 1)));
currentIndent += 1;
break;
case 109 :
image.append(input_stream.GetSuffix(jjimageLen + (lengthOfMatch = jjmatchedPos + 1)));
currentIndent = currentIndent / 8 + 8;
break;
case 110 :
image.append(input_stream.GetSuffix(jjimageLen + (lengthOfMatch = jjmatchedPos + 1)));
currentIndent = 0;
break;
case 112 :
image.append(input_stream.GetSuffix(jjimageLen + (lengthOfMatch = jjmatchedPos + 1)));
// Rewind input stream by the one consumed character because we dont
// really wont to skip it. We just used it as the end marker for the
// indentation check. The documentation says input_stream is read only
// so we are a little bit of the beaten path here but so far it works.
input_stream.backup(1);
int lastIndent = indentStack.peek();
if (currentIndent > lastIndent) {
indentStack.push(currentIndent);
SwitchTo(INDENT_EMIT);
} else if (currentIndent < lastIndent) {
assert(dedentsToEmit == 0);
while (currentIndent < lastIndent) {
dedentsToEmit += 1;
indentStack.pop();
lastIndent = indentStack.peek();
}
if (currentIndent == lastIndent) {
SwitchTo(DEDENT_EMIT);
} else {
SwitchTo(MISSDENT_EMIT);
}
} else {
SwitchTo(DEFAULT);
}
currentIndent = 0;
break;
default :
break;
}
}
void MoreLexicalActions()
{
jjimageLen += (lengthOfMatch = jjmatchedPos + 1);
switch(jjmatchedKind)
{
case 143 :
image.append(input_stream.GetSuffix(jjimageLen));
jjimageLen = 0;
formatSpecOpenCurly += 1;
break;
case 144 :
image.append(input_stream.GetSuffix(jjimageLen));
jjimageLen = 0;
formatSpecOpenCurly -= 1;
if (formatSpecOpenCurly < 0) {
formatSpecOpenCurly = 0;
SwitchTo(FORMAT_SPEC_LEX_EMIT);
}
break;
default :
break;
}
}
void TokenLexicalActions(Token matchedToken)
{
switch(jjmatchedKind)
{
case 36 :
image.append(jjstrLiteralImages[36]);
lengthOfMatch = jjstrLiteralImages[36].length();
// Only on top level of the replacement field lexing we can
// switch into the format spec lexing. At top level
// openParenCounter() is 1 because of the opening curly bracket.
if (!formatStringLexStateStack.isEmpty() && openParenCounter() == 1) {
// We reached a ":" of a format spec of a replacement field of a format string.
SwitchTo(FORMAT_SPEC_LEX);
}
break;
case 74 :
image.append(jjstrLiteralImages[74]);
lengthOfMatch = jjstrLiteralImages[74].length();
countOpenParen();
break;
case 75 :
image.append(jjstrLiteralImages[75]);
lengthOfMatch = jjstrLiteralImages[75].length();
countCloseParen();
break;
case 76 :
image.append(jjstrLiteralImages[76]);
lengthOfMatch = jjstrLiteralImages[76].length();
countOpenParen();
break;
case 77 :
image.append(jjstrLiteralImages[77]);
lengthOfMatch = jjstrLiteralImages[77].length();
countCloseParen();
break;
case 78 :
image.append(jjstrLiteralImages[78]);
lengthOfMatch = jjstrLiteralImages[78].length();
countOpenParen();
break;
case 79 :
image.append(jjstrLiteralImages[79]);
lengthOfMatch = jjstrLiteralImages[79].length();
countCloseParen();
if (!formatStringLexStateStack.isEmpty() && openParenCounter() == 0) {
popParenScope();
SwitchTo(formatStringLexStateStack.peek());
}
break;
case 113 :
if (jjmatchedPos == -1)
{
if (jjbeenHere[2] &&
jjemptyLineNo[2] == input_stream.getBeginLine() &&
jjemptyColNo[2] == input_stream.getBeginColumn())
throw new TokenMgrError(("Error: Bailing out of infinite loop caused by repeated empty string matches at line " + input_stream.getBeginLine() + ", column " + input_stream.getBeginColumn() + "."), TokenMgrError.LOOP_DETECTED);
jjemptyLineNo[2] = input_stream.getBeginLine();
jjemptyColNo[2] = input_stream.getBeginColumn();
jjbeenHere[2] = true;
}
image.append(input_stream.GetSuffix(jjimageLen + (lengthOfMatch = jjmatchedPos + 1)));
SwitchTo(DEFAULT);
break;
case 114 :
if (jjmatchedPos == -1)
{
if (jjbeenHere[3] &&
jjemptyLineNo[3] == input_stream.getBeginLine() &&
jjemptyColNo[3] == input_stream.getBeginColumn())
throw new TokenMgrError(("Error: Bailing out of infinite loop caused by repeated empty string matches at line " + input_stream.getBeginLine() + ", column " + input_stream.getBeginColumn() + "."), TokenMgrError.LOOP_DETECTED);
jjemptyLineNo[3] = input_stream.getBeginLine();
jjemptyColNo[3] = input_stream.getBeginColumn();
jjbeenHere[3] = true;
}
image.append(input_stream.GetSuffix(jjimageLen + (lengthOfMatch = jjmatchedPos + 1)));
SwitchTo(DEFAULT);
break;
case 115 :
if (jjmatchedPos == -1)
{
if (jjbeenHere[4] &&
jjemptyLineNo[4] == input_stream.getBeginLine() &&
jjemptyColNo[4] == input_stream.getBeginColumn())
throw new TokenMgrError(("Error: Bailing out of infinite loop caused by repeated empty string matches at line " + input_stream.getBeginLine() + ", column " + input_stream.getBeginColumn() + "."), TokenMgrError.LOOP_DETECTED);
jjemptyLineNo[4] = input_stream.getBeginLine();
jjemptyColNo[4] = input_stream.getBeginColumn();
jjbeenHere[4] = true;
}
image.append(input_stream.GetSuffix(jjimageLen + (lengthOfMatch = jjmatchedPos + 1)));
dedentsToEmit -= 1;
if (dedentsToEmit == 0) {
SwitchTo(DEFAULT);
}
// This disables the build in infinite loop detection.
// We take care of not looping forever by decrementing
// dedentsToEmit.
jjbeenHere[DEDENT_EMIT] = false;
break;
case 116 :
if (jjmatchedPos == -1)
{
if (jjbeenHere[5] &&
jjemptyLineNo[5] == input_stream.getBeginLine() &&
jjemptyColNo[5] == input_stream.getBeginColumn())
throw new TokenMgrError(("Error: Bailing out of infinite loop caused by repeated empty string matches at line " + input_stream.getBeginLine() + ", column " + input_stream.getBeginColumn() + "."), TokenMgrError.LOOP_DETECTED);
jjemptyLineNo[5] = input_stream.getBeginLine();
jjemptyColNo[5] = input_stream.getBeginColumn();
jjbeenHere[5] = true;
}
image.append(input_stream.GetSuffix(jjimageLen + (lengthOfMatch = jjmatchedPos + 1)));
SwitchTo(INDENT_CHECK);
break;
case 117 :
image.append(input_stream.GetSuffix(jjimageLen + (lengthOfMatch = jjmatchedPos + 1)));
matchedToken.image = adjustTokenAndBackupInput(matchedToken, 1);
break;
case 118 :
image.append(input_stream.GetSuffix(jjimageLen + (lengthOfMatch = jjmatchedPos + 1)));
matchedToken.image = adjustTokenAndBackupInput(matchedToken, 2);
matchedToken.kind = STRING_PREFIX;
break;
case 119 :
image.append(input_stream.GetSuffix(jjimageLen + (lengthOfMatch = jjmatchedPos + 1)));
matchedToken.image = adjustTokenAndBackupInput(matchedToken, 1);
break;
case 120 :
image.append(input_stream.GetSuffix(jjimageLen + (lengthOfMatch = jjmatchedPos + 1)));
matchedToken.image = adjustTokenAndBackupInput(matchedToken, 2);
matchedToken.kind = FORMAT_STRING_PREFIX;
break;
case 123 :
image.append(jjstrLiteralImages[123]);
lengthOfMatch = jjstrLiteralImages[123].length();
matchedToken.kind = STRING_QUOTE_OPEN;
break;
case 124 :
image.append(jjstrLiteralImages[124]);
lengthOfMatch = jjstrLiteralImages[124].length();
matchedToken.kind = STRING_QUOTE_OPEN;
break;
case 125 :
image.append(jjstrLiteralImages[125]);
lengthOfMatch = jjstrLiteralImages[125].length();
matchedToken.kind = STRING_QUOTE_OPEN;
break;
case 126 :
image.append(jjstrLiteralImages[126]);
lengthOfMatch = jjstrLiteralImages[126].length();
matchedToken.kind = STRING_QUOTE_OPEN;
break;
case 127 :
image.append(input_stream.GetSuffix(jjimageLen + (lengthOfMatch = jjmatchedPos + 1)));
matchedToken.image = cutContentTokenImage(matchedToken, 1);
matchedToken.kind = STRING_CONTENT;
break;
case 131 :
image.append(input_stream.GetSuffix(jjimageLen + (lengthOfMatch = jjmatchedPos + 1)));
matchedToken.image = cutContentTokenImage(matchedToken, 1);
matchedToken.kind = STRING_CONTENT;
break;
case 135 :
image.append(input_stream.GetSuffix(jjimageLen + (lengthOfMatch = jjmatchedPos + 1)));
matchedToken.image = cutContentTokenImage(matchedToken, 3);
matchedToken.kind = STRING_CONTENT;
break;
case 139 :
image.append(input_stream.GetSuffix(jjimageLen + (lengthOfMatch = jjmatchedPos + 1)));
matchedToken.image = cutContentTokenImage(matchedToken, 3);
matchedToken.kind = STRING_CONTENT;
break;
case 146 :
image.append(input_stream.GetSuffix(jjimageLen + (lengthOfMatch = jjmatchedPos + 1)));
// We get here with an already matched closing curly bracket for the entire replacement
// field. Thus we need to cut the token image by one to remove the closing curly bracket
// and also we backup the input stream by one in order to generate a separate token for
// it in DEFAULT state to indicate the replacement field end.
matchedToken.image = matchedToken.image.substring(0, matchedToken.image.length() - 1);
input_stream.backup(1);
break;
case 151 :
image.append(jjstrLiteralImages[151]);
lengthOfMatch = jjstrLiteralImages[151].length();
formatStringLexStateStack.push(FSDQ_LEX); matchedToken.kind = FORMAT_STRING_QUOTE_OPEN;
break;
case 152 :
image.append(jjstrLiteralImages[152]);
lengthOfMatch = jjstrLiteralImages[152].length();
formatStringLexStateStack.push(FSSQ_LEX); matchedToken.kind = FORMAT_STRING_QUOTE_OPEN;
break;
case 153 :
image.append(jjstrLiteralImages[153]);
lengthOfMatch = jjstrLiteralImages[153].length();
formatStringLexStateStack.push(FTDQ_LEX); matchedToken.kind = FORMAT_STRING_QUOTE_OPEN;
break;
case 154 :
image.append(jjstrLiteralImages[154]);
lengthOfMatch = jjstrLiteralImages[154].length();
formatStringLexStateStack.push(FTSQ_LEX); matchedToken.kind = FORMAT_STRING_QUOTE_OPEN;
break;
case 155 :
image.append(input_stream.GetSuffix(jjimageLen + (lengthOfMatch = jjmatchedPos + 1)));
matchedToken.image = cutContentTokenImageAndBackupInput(matchedToken, "{", "\"");
matchedToken.kind = FORMAT_STRING_CONTENT;
break;
case 160 :
image.append(jjstrLiteralImages[160]);
lengthOfMatch = jjstrLiteralImages[160].length();
matchedToken.kind = FORMAT_STRING_CURLY_OPEN;
pushParenScope();
countOpenParen();
break;
case 161 :
image.append(jjstrLiteralImages[161]);
lengthOfMatch = jjstrLiteralImages[161].length();
formatStringLexStateStack.pop(); matchedToken.kind = FORMAT_STRING_QUOTE_CLOSE;
break;
case 162 :
image.append(input_stream.GetSuffix(jjimageLen + (lengthOfMatch = jjmatchedPos + 1)));
matchedToken.image = cutContentTokenImageAndBackupInput(matchedToken, "{", "'");
matchedToken.kind = FORMAT_STRING_CONTENT;
break;
case 167 :
image.append(jjstrLiteralImages[167]);
lengthOfMatch = jjstrLiteralImages[167].length();
matchedToken.kind = FORMAT_STRING_CURLY_OPEN;
pushParenScope();
countOpenParen();
break;
case 168 :
image.append(jjstrLiteralImages[168]);
lengthOfMatch = jjstrLiteralImages[168].length();
formatStringLexStateStack.pop(); matchedToken.kind = FORMAT_STRING_QUOTE_CLOSE;
break;
case 169 :
image.append(input_stream.GetSuffix(jjimageLen + (lengthOfMatch = jjmatchedPos + 1)));
matchedToken.image = cutContentTokenImageAndBackupInput(matchedToken, "{", "\"\"\"");
matchedToken.kind = FORMAT_STRING_CONTENT;
break;
case 174 :
image.append(jjstrLiteralImages[174]);
lengthOfMatch = jjstrLiteralImages[174].length();
matchedToken.kind = FORMAT_STRING_CURLY_OPEN;
pushParenScope();
countOpenParen();
break;
case 175 :
image.append(jjstrLiteralImages[175]);
lengthOfMatch = jjstrLiteralImages[175].length();
formatStringLexStateStack.pop(); matchedToken.kind = FORMAT_STRING_QUOTE_CLOSE;
break;
case 176 :
image.append(input_stream.GetSuffix(jjimageLen + (lengthOfMatch = jjmatchedPos + 1)));
matchedToken.image = cutContentTokenImageAndBackupInput(matchedToken, "{", "'''");
matchedToken.kind = FORMAT_STRING_CONTENT;
break;
case 181 :
image.append(jjstrLiteralImages[181]);
lengthOfMatch = jjstrLiteralImages[181].length();
matchedToken.kind = FORMAT_STRING_CURLY_OPEN;
pushParenScope();
countOpenParen();
break;
case 182 :
image.append(jjstrLiteralImages[182]);
lengthOfMatch = jjstrLiteralImages[182].length();
formatStringLexStateStack.pop(); matchedToken.kind = FORMAT_STRING_QUOTE_CLOSE;
break;
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 PythonParserTokenManager(CharStream stream){
input_stream = stream;
}
/** Constructor. */
public PythonParserTokenManager (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 = 119; 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 >= 22 || 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",
"INDENT_CHECK",
"MISSDENT_EMIT",
"INDENT_EMIT",
"DEDENT_EMIT",
"NEWLINE_EMIT",
"NEVER",
"NSDQ_LEX",
"NSSQ_LEX",
"NTDQ_LEX",
"NTSQ_LEX",
"FORMAT_SPEC_LEX",
"FORMAT_SPEC_LEX_EMIT",
"FORMAT_STRING_LEX",
"FSDQ_LEX",
"FSDQ_LEX_EMIT_END",
"FSSQ_LEX",
"FSSQ_LEX_EMIT_END",
"FTDQ_LEX",
"FTDQ_LEX_EMIT_END",
"FTSQ_LEX",
"FTSQ_LEX_EMIT_END",
};
/** Lex State array. */
public static final int[] jjnewLexState = {
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 13, 13, -1, -1, 7, 8,
9, 10, 0, -1, -1, -1, 0, -1, -1, -1, 0, -1, -1, -1, 0, -1, -1, -1, -1, -1, -1, 0, -1, -1, -1,
-1, 14, 16, 18, 20, 15, -1, -1, -1, -1, 0, 0, 17, -1, -1, -1, -1, 0, 0, 19, -1, -1, -1, -1, 0,
0, 21, -1, -1, -1, -1, 0, 0,
};
static final long[] jjtoToken = {
0xffffffffffffffffL, 0xfffe000c83ffffffL, 0x61c3870ffc0888L,
};
static final long[] jjtoSkip = {
0x0L, 0x1ffc000000000L, 0x0L,
};
static final long[] jjtoSpecial = {
0x0L, 0xc0000000000L, 0x0L,
};
static final long[] jjtoMore = {
0x0L, 0x0L, 0x1e3c78f003f777L,
};
protected CharStream input_stream;
private final int[] jjrounds = new int[119];
private final int[] jjstateSet = new int[2 * 119];
private final StringBuilder jjimage = new StringBuilder();
private StringBuilder image = jjimage;
private int jjimageLen;
private int lengthOfMatch;
protected int curChar;
}