⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 javaparsertokenmanager.java

📁 java覆盖率测试工具
💻 JAVA
📖 第 1 页 / 共 4 页
字号:
/* Generated By:JavaCC: Do not edit this line. JavaParserTokenManager.java */

/*
 * Cobertura - http://cobertura.sourceforge.net/
 *
 * This file was taken from JavaNCSS
 * http://www.kclee.com/clemens/java/javancss/
 * Copyright (C) 2000 Chr. Clemens Lee <clemens a.t kclee d.o.t com>
 *
 * Cobertura is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published
 * by the Free Software Foundation; either version 2 of the License,
 * or (at your option) any later version.
 *
 * Cobertura is distributed in the hope that it will be useful, but
 * WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
 * General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with Cobertura; if not, write to the Free Software
 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
 * USA
 */

package net.sourceforge.cobertura.javancss;

public class JavaParserTokenManager implements JavaParserConstants
{

	// added by SMS

	private final int jjStopStringLiteralDfa_0(int pos, long active0, long active1)
	{
		switch (pos)
		{
			case 0:
				if ((active1 & 0x100000L) != 0L)
					return 4;
				if ((active0 & 0xffffffffffffe000L) != 0L || (active1 & 0x1L) != 0L)
				{
					jjmatchedKind = 73;
					return 28;
				}
				return -1;
			case 1:
				if ((active0 & 0x806000000L) != 0L)
					return 28;
				if ((active0 & 0xfffffff7f9ffe000L) != 0L || (active1 & 0x1L) != 0L)
				{
					if (jjmatchedPos != 1)
					{
						jjmatchedKind = 73;
						jjmatchedPos = 1;
					}
					return 28;
				}
				return -1;
			case 2:
				if ((active0 & 0x2000098200000000L) != 0L)
					return 28;
				if ((active0 & 0xdffff675fdffe000L) != 0L || (active1 & 0x1L) != 0L)
				{
					if (jjmatchedPos != 2)
					{
						jjmatchedKind = 73;
						jjmatchedPos = 2;
					}
					return 28;
				}
				return -1;
			case 3:
				if ((active0 & 0x8effe571f5e9e000L) != 0L || (active1 & 0x1L) != 0L)
				{
					jjmatchedKind = 73;
					jjmatchedPos = 3;
					return 28;
				}
				if ((active0 & 0x5100120408160000L) != 0L)
					return 28;
				return -1;
			case 4:
				if ((active0 & 0x6240001e0690000L) != 0L || (active1 & 0x1L) != 0L)
					return 28;
				if ((active0 & 0x88dbe5701580e000L) != 0L)
				{
					if (jjmatchedPos != 4)
					{
						jjmatchedKind = 73;
						jjmatchedPos = 4;
					}
					return 28;
				}
				return -1;
			case 5:
				if ((active0 & 0x44b042004004000L) != 0L)
					return 28;
				if ((active0 & 0x8890e1509180a000L) != 0L)
				{
					jjmatchedKind = 73;
					jjmatchedPos = 5;
					return 28;
				}
				return -1;
			case 6:
				if ((active0 & 0x8890815000802000L) != 0L)
				{
					jjmatchedKind = 73;
					jjmatchedPos = 6;
					return 28;
				}
				if ((active0 & 0x600091008000L) != 0L)
					return 28;
				return -1;
			case 7:
				if ((active0 & 0x8010000000802000L) != 0L)
					return 28;
				if ((active0 & 0x880815000000000L) != 0L)
				{
					jjmatchedKind = 73;
					jjmatchedPos = 7;
					return 28;
				}
				return -1;
			case 8:
				if ((active0 & 0x800810000000000L) != 0L)
					return 28;
				if ((active0 & 0x80005000000000L) != 0L)
				{
					jjmatchedKind = 73;
					jjmatchedPos = 8;
					return 28;
				}
				return -1;
			case 9:
				if ((active0 & 0x5000000000L) != 0L)
					return 28;
				if ((active0 & 0x80000000000000L) != 0L)
				{
					jjmatchedKind = 73;
					jjmatchedPos = 9;
					return 28;
				}
				return -1;
			case 10:
				if ((active0 & 0x80000000000000L) != 0L)
				{
					jjmatchedKind = 73;
					jjmatchedPos = 10;
					return 28;
				}
				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 final int jjStopAtPos(int pos, int kind)
	{
		jjmatchedKind = kind;
		jjmatchedPos = pos;
		return pos + 1;
	}

	private final 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);
	}

	private final int jjMoveStringLiteralDfa0_0()
	{
		switch (curChar)
		{
			case 33:
				jjmatchedKind = 88;
				return jjMoveStringLiteralDfa1_0(0x0L, 0x80000000L);
			case 37:
				jjmatchedKind = 107;
				return jjMoveStringLiteralDfa1_0(0x0L, 0x40000000000000L);
			case 38:
				jjmatchedKind = 104;
				return jjMoveStringLiteralDfa1_0(0x0L, 0x8000200000000L);
			case 40:
				return jjStopAtPos(0, 76);
			case 41:
				return jjStopAtPos(0, 77);
			case 42:
				jjmatchedKind = 102;
				return jjMoveStringLiteralDfa1_0(0x0L, 0x2000000000000L);
			case 43:
				jjmatchedKind = 100;
				return jjMoveStringLiteralDfa1_0(0x0L, 0x800400000000L);
			case 44:
				return jjStopAtPos(0, 83);
			case 45:
				jjmatchedKind = 101;
				return jjMoveStringLiteralDfa1_0(0x0L, 0x1000800000000L);
			case 46:
				return jjStartNfaWithStates_0(0, 84, 4);
			case 47:
				jjmatchedKind = 103;
				return jjMoveStringLiteralDfa1_0(0x180L, 0x4000000000000L);
			case 58:
				return jjStopAtPos(0, 91);
			case 59:
				return jjStopAtPos(0, 82);
			case 60:
				jjmatchedKind = 87;
				return jjMoveStringLiteralDfa1_0(0x0L, 0x80100020000000L);
			case 61:
				jjmatchedKind = 85;
				return jjMoveStringLiteralDfa1_0(0x0L, 0x10000000L);
			case 62:
				jjmatchedKind = 86;
				return jjMoveStringLiteralDfa1_0(0x0L, 0x300600040000000L);
			case 63:
				return jjStopAtPos(0, 90);
			case 91:
				return jjStopAtPos(0, 80);
			case 93:
				return jjStopAtPos(0, 81);
			case 94:
				jjmatchedKind = 106;
				return jjMoveStringLiteralDfa1_0(0x0L, 0x20000000000000L);
			case 97:
				return jjMoveStringLiteralDfa1_0(0x6000L, 0x0L);
			case 98:
				return jjMoveStringLiteralDfa1_0(0x38000L, 0x0L);
			case 99:
				return jjMoveStringLiteralDfa1_0(0xfc0000L, 0x0L);
			case 100:
				return jjMoveStringLiteralDfa1_0(0x7000000L, 0x0L);
			case 101:
				return jjMoveStringLiteralDfa1_0(0x18000000L, 0x0L);
			case 102:
				return jjMoveStringLiteralDfa1_0(0x3e0000000L, 0x0L);
			case 103:
				return jjMoveStringLiteralDfa1_0(0x400000000L, 0x0L);
			case 105:
				return jjMoveStringLiteralDfa1_0(0x1f800000000L, 0x0L);
			case 108:
				return jjMoveStringLiteralDfa1_0(0x20000000000L, 0x0L);
			case 110:
				return jjMoveStringLiteralDfa1_0(0x1c0000000000L, 0x0L);
			case 112:
				return jjMoveStringLiteralDfa1_0(0x1e00000000000L, 0x0L);
			case 114:
				return jjMoveStringLiteralDfa1_0(0x2000000000000L, 0x0L);
			case 115:
				return jjMoveStringLiteralDfa1_0(0xfc000000000000L, 0x0L);
			case 116:
				return jjMoveStringLiteralDfa1_0(0x3f00000000000000L, 0x0L);
			case 118:
				return jjMoveStringLiteralDfa1_0(0xc000000000000000L, 0x0L);
			case 119:
				return jjMoveStringLiteralDfa1_0(0x0L, 0x1L);
			case 123:
				return jjStopAtPos(0, 78);
			case 124:
				jjmatchedKind = 105;
				return jjMoveStringLiteralDfa1_0(0x0L, 0x10000100000000L);
			case 125:
				return jjStopAtPos(0, 79);
			case 126:
				return jjStopAtPos(0, 89);
			default:
				return jjMoveNfa_0(0, 0);
		}
	}

	private final 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 38:
				if ((active1 & 0x200000000L) != 0L)
					return jjStopAtPos(1, 97);
				break;
			case 42:
				if ((active0 & 0x80L) != 0L)
					return jjStopAtPos(1, 7);
				break;
			case 43:
				if ((active1 & 0x400000000L) != 0L)
					return jjStopAtPos(1, 98);
				break;
			case 45:
				if ((active1 & 0x800000000L) != 0L)
					return jjStopAtPos(1, 99);
				break;
			case 47:
				if ((active0 & 0x100L) != 0L)
					return jjStopAtPos(1, 8);
				break;
			case 60:
				if ((active1 & 0x100000000000L) != 0L)
				{
					jjmatchedKind = 108;
					jjmatchedPos = 1;
				}
				return jjMoveStringLiteralDfa2_0(active0, 0L, active1, 0x80000000000000L);
			case 61:
				if ((active1 & 0x10000000L) != 0L)
					return jjStopAtPos(1, 92);
				else if ((active1 & 0x20000000L) != 0L)
					return jjStopAtPos(1, 93);
				else if ((active1 & 0x40000000L) != 0L)
					return jjStopAtPos(1, 94);
				else if ((active1 & 0x80000000L) != 0L)
					return jjStopAtPos(1, 95);
				else if ((active1 & 0x800000000000L) != 0L)
					return jjStopAtPos(1, 111);
				else if ((active1 & 0x1000000000000L) != 0L)
					return jjStopAtPos(1, 112);
				else if ((active1 & 0x2000000000000L) != 0L)
					return jjStopAtPos(1, 113);
				else if ((active1 & 0x4000000000000L) != 0L)
					return jjStopAtPos(1, 114);
				else if ((active1 & 0x8000000000000L) != 0L)
					return jjStopAtPos(1, 115);
				else if ((active1 & 0x10000000000000L) != 0L)
					return jjStopAtPos(1, 116);
				else if ((active1 & 0x20000000000000L) != 0L)
					return jjStopAtPos(1, 117);
				else if ((active1 & 0x40000000000000L) != 0L)
					return jjStopAtPos(1, 118);
				break;
			case 62:
				if ((active1 & 0x200000000000L) != 0L)
				{
					jjmatchedKind = 109;
					jjmatchedPos = 1;
				}
				return jjMoveStringLiteralDfa2_0(active0, 0L, active1, 0x300400000000000L);
			case 97:
				return jjMoveStringLiteralDfa2_0(active0, 0x2400200c0000L, active1, 0L);
			case 98:
				return jjMoveStringLiteralDfa2_0(active0, 0x2000L, active1, 0L);
			case 101:
				return jjMoveStringLiteralDfa2_0(active0, 0x2080001000000L, active1, 0L);
			case 102:
				if ((active0 & 0x800000000L) != 0L)
					return jjStartNfaWithStates_0(1, 35, 28);
				break;
			case 104:
				return jjMoveStringLiteralDfa2_0(active0, 0x704000000100000L, active1, 0x1L);
			case 105:
				return jjMoveStringLiteralDfa2_0(active0, 0xc0000000L, active1, 0L);
			case 108:
				return jjMoveStringLiteralDfa2_0(active0, 0x108200000L, active1, 0L);
			case 109:
				return jjMoveStringLiteralDfa2_0(active0, 0x3000000000L, active1, 0L);
			case 110:
				return jjMoveStringLiteralDfa2_0(active0, 0x1c000000000L, active1, 0L);
			case 111:
				if ((active0 & 0x2000000L) != 0L)
				{
					jjmatchedKind = 25;
					jjmatchedPos = 1;
				}
				return jjMoveStringLiteralDfa2_0(active0, 0xc000020604c08000L, active1, 0L);
			case 114:
				return jjMoveStringLiteralDfa2_0(active0, 0x3800c00000010000L, active1, 0L);
			case 115:
				return jjMoveStringLiteralDfa2_0(active0, 0x4000L, active1, 0L);
			case 116:
				return jjMoveStringLiteralDfa2_0(active0, 0x18000000000000L, active1, 0L);
			case 117:
				return jjMoveStringLiteralDfa2_0(active0, 0x21100000000000L, active1, 0L);
			case 119:
				return jjMoveStringLiteralDfa2_0(active0, 0x40000000000000L, active1, 0L);
			case 120:
				return jjMoveStringLiteralDfa2_0(active0, 0x10000000L, active1, 0L);
			case 121:
				return jjMoveStringLiteralDfa2_0(active0, 0x80000000020000L, active1, 0L);
			case 124:
				if ((active1 & 0x100000000L) != 0L)
					return jjStopAtPos(1, 96);
				break;
			default:
				break;
		}
		return jjStartNfa_0(0, active0, active1);
	}

	private final 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 61:
				if ((active1 & 0x80000000000000L) != 0L)
					return jjStopAtPos(2, 119);
				else if ((active1 & 0x100000000000000L) != 0L)
					return jjStopAtPos(2, 120);
				break;
			case 62:
				if ((active1 & 0x400000000000L) != 0L)
				{
					jjmatchedKind = 110;
					jjmatchedPos = 2;
				}
				return jjMoveStringLiteralDfa3_0(active0, 0L, active1, 0x200000000000000L);
			case 97:
				return jjMoveStringLiteralDfa3_0(active0, 0x808000000300000L, active1, 0L);
			case 98:
				return jjMoveStringLiteralDfa3_0(active0, 0x1000000000000L, active1, 0L);
			case 99:
				return jjMoveStringLiteralDfa3_0(active0, 0x200000000000L, active1, 0L);
			case 101:
				return jjMoveStringLiteralDfa3_0(active0, 0x10000L, active1, 0L);
			case 102:
				return jjMoveStringLiteralDfa3_0(active0, 0x1000000L, active1, 0L);
			case 105:
				return jjMoveStringLiteralDfa3_0(active0, 0x4140400000000000L, active1, 0x1L);
			case 108:
				return jjMoveStringLiteralDfa3_0(active0, 0x8000100020000000L, active1, 0L);
			case 110:
				return jjMoveStringLiteralDfa3_0(active0, 0x800200c0c00000L, active1, 0L);
			case 111:
				return jjMoveStringLiteralDfa3_0(active0, 0x4800100008000L, active1, 0L);
			case 112:
				return jjMoveStringLiteralDfa3_0(active0, 0x20003000000000L, active1, 0L);
			case 114:
				if ((active0 & 0x200000000L) != 0L)
					return jjStartNfaWithStates_0(2, 33, 28);
				return jjMoveStringLiteralDfa3_0(active0, 0x610000000000000L, active1, 0L);
			case 115:
				return jjMoveStringLiteralDfa3_0(active0, 0x4008046000L, active1, 0L);
			case 116:
				if ((active0 & 0x8000000000L) != 0L)
				{
					jjmatchedKind = 39;
					jjmatchedPos = 2;
				}
				return jjMoveStringLiteralDfa3_0(active0, 0x20504100a0000L, active1, 0L);
			case 117:

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -