001: /* Generated By:JavaCC: Do not edit this line. JavaParserConstants.java */
002:
003: /*
004: * Cobertura - http://cobertura.sourceforge.net/
005: *
006: * This file was taken from JavaNCSS
007: * http://www.kclee.com/clemens/java/javancss/
008: * Copyright (C) 2000 Chr. Clemens Lee <clemens a.t kclee d.o.t com>
009: *
010: * Cobertura is free software; you can redistribute it and/or modify
011: * it under the terms of the GNU General Public License as published
012: * by the Free Software Foundation; either version 2 of the License,
013: * or (at your option) any later version.
014: *
015: * Cobertura is distributed in the hope that it will be useful, but
016: * WITHOUT ANY WARRANTY; without even the implied warranty of
017: * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
018: * General Public License for more details.
019: *
020: * You should have received a copy of the GNU General Public License
021: * along with Cobertura; if not, write to the Free Software
022: * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
023: * USA
024: */
025:
026: package net.sourceforge.cobertura.javancss;
027:
028: public interface JavaParserConstants {
029:
030: int EOF = 0;
031: int SINGLE_LINE_COMMENT = 8;
032: int SINGLE_LINE_COMMENT2 = 9;
033: int END_OF_LINE_MULTI = 10;
034: int MULTI_LINE_COMMENT = 11;
035: int ABSTRACT = 13;
036: int ASSERT = 14;
037: int BOOLEAN = 15;
038: int BREAK = 16;
039: int BYTE = 17;
040: int CASE = 18;
041: int CATCH = 19;
042: int CHAR = 20;
043: int CLASS = 21;
044: int CONST = 22;
045: int CONTINUE = 23;
046: int _DEFAULT = 24;
047: int DO = 25;
048: int DOUBLE = 26;
049: int ELSE = 27;
050: int EXTENDS = 28;
051: int FALSE = 29;
052: int FINAL = 30;
053: int FINALLY = 31;
054: int FLOAT = 32;
055: int FOR = 33;
056: int GOTO = 34;
057: int IF = 35;
058: int IMPLEMENTS = 36;
059: int IMPORT = 37;
060: int INSTANCEOF = 38;
061: int INT = 39;
062: int INTERFACE = 40;
063: int LONG = 41;
064: int NATIVE = 42;
065: int NEW = 43;
066: int NULL = 44;
067: int PACKAGE = 45;
068: int PRIVATE = 46;
069: int PROTECTED = 47;
070: int PUBLIC = 48;
071: int RETURN = 49;
072: int SHORT = 50;
073: int STATIC = 51;
074: int TESTAAAA = 52;
075: int SUPER = 53;
076: int SWITCH = 54;
077: int SYNCHRONIZED = 55;
078: int THIS = 56;
079: int THROW = 57;
080: int THROWS = 58;
081: int TRANSIENT = 59;
082: int TRUE = 60;
083: int TRY = 61;
084: int VOID = 62;
085: int VOLATILE = 63;
086: int WHILE = 64;
087: int INTEGER_LITERAL = 65;
088: int DECIMAL_LITERAL = 66;
089: int HEX_LITERAL = 67;
090: int OCTAL_LITERAL = 68;
091: int FLOATING_POINT_LITERAL = 69;
092: int EXPONENT = 70;
093: int CHARACTER_LITERAL = 71;
094: int STRING_LITERAL = 72;
095: int IDENTIFIER = 73;
096: int LETTER = 74;
097: int DIGIT = 75;
098: int LPAREN = 76;
099: int RPAREN = 77;
100: int LBRACE = 78;
101: int RBRACE = 79;
102: int LBRACKET = 80;
103: int RBRACKET = 81;
104: int SEMICOLON = 82;
105: int COMMA = 83;
106: int DOT = 84;
107: int ASSIGN = 85;
108: int GT = 86;
109: int LT = 87;
110: int BANG = 88;
111: int TILDE = 89;
112: int HOOK = 90;
113: int COLON = 91;
114: int EQ = 92;
115: int LE = 93;
116: int GE = 94;
117: int NE = 95;
118: int SC_OR = 96;
119: int SC_AND = 97;
120: int INCR = 98;
121: int DECR = 99;
122: int PLUS = 100;
123: int MINUS = 101;
124: int STAR = 102;
125: int SLASH = 103;
126: int BIT_AND = 104;
127: int BIT_OR = 105;
128: int XOR = 106;
129: int REM = 107;
130: int LSHIFT = 108;
131: int RSIGNEDSHIFT = 109;
132: int RUNSIGNEDSHIFT = 110;
133: int PLUSASSIGN = 111;
134: int MINUSASSIGN = 112;
135: int STARASSIGN = 113;
136: int SLASHASSIGN = 114;
137: int ANDASSIGN = 115;
138: int ORASSIGN = 116;
139: int XORASSIGN = 117;
140: int REMASSIGN = 118;
141: int LSHIFTASSIGN = 119;
142: int RSIGNEDSHIFTASSIGN = 120;
143: int RUNSIGNEDSHIFTASSIGN = 121;
144:
145: int DEFAULT = 0;
146: int IN_SINGLE_LINE_COMMENT = 1;
147: int IN_MULTI_LINE_COMMENT = 2;
148:
149: String[] tokenImage = { "<EOF>", "\" \"", "\"\\t\"", "\"\\n\"",
150: "\"\\r\"", "\"\\f\"", "\"\\u001a\"", "\"/*\"", "\"//\"",
151: "<SINGLE_LINE_COMMENT2>", "<END_OF_LINE_MULTI>", "\"*/\"",
152: "<token of kind 12>", "\"abstract\"", "\"assert\"",
153: "\"boolean\"", "\"break\"", "\"byte\"", "\"case\"",
154: "\"catch\"", "\"char\"", "\"class\"", "\"const\"",
155: "\"continue\"", "\"default\"", "\"do\"", "\"double\"",
156: "\"else\"", "\"extends\"", "\"false\"", "\"final\"",
157: "\"finally\"", "\"float\"", "\"for\"", "\"goto\"",
158: "\"if\"", "\"implements\"", "\"import\"", "\"instanceof\"",
159: "\"int\"", "\"interface\"", "\"long\"", "\"native\"",
160: "\"new\"", "\"null\"", "\"package\"", "\"private\"",
161: "\"protected\"", "\"public\"", "\"return\"", "\"short\"",
162: "\"static\"", "\"strictfp\"", "\"super\"", "\"switch\"",
163: "\"synchronized\"", "\"this\"", "\"throw\"", "\"throws\"",
164: "\"transient\"", "\"true\"", "\"try\"", "\"void\"",
165: "\"volatile\"", "\"while\"", "<INTEGER_LITERAL>",
166: "<DECIMAL_LITERAL>", "<HEX_LITERAL>", "<OCTAL_LITERAL>",
167: "<FLOATING_POINT_LITERAL>", "<EXPONENT>",
168: "<CHARACTER_LITERAL>", "<STRING_LITERAL>", "<IDENTIFIER>",
169: "<LETTER>", "<DIGIT>", "\"(\"", "\")\"", "\"{\"", "\"}\"",
170: "\"[\"", "\"]\"", "\";\"", "\",\"", "\".\"", "\"=\"",
171: "\">\"", "\"<\"", "\"!\"", "\"~\"", "\"?\"", "\":\"",
172: "\"==\"", "\"<=\"", "\">=\"", "\"!=\"", "\"||\"", "\"&&\"",
173: "\"++\"", "\"--\"", "\"+\"", "\"-\"", "\"*\"", "\"/\"",
174: "\"&\"", "\"|\"", "\"^\"", "\"%\"", "\"<<\"", "\">>\"",
175: "\">>>\"", "\"+=\"", "\"-=\"", "\"*=\"", "\"/=\"",
176: "\"&=\"", "\"|=\"", "\"^=\"", "\"%=\"", "\"<<=\"",
177: "\">>=\"", "\">>>=\"", };
178:
179: }
|