001: /* Generated By:JJTree&JavaCC: Do not edit this line. JavaParserConstants.java */
002: package net.sourceforge.pmd.ast;
003:
004: /**
005: * Token literal values and constants.
006: * Generated by org.javacc.parser.OtherFilesGen#start()
007: */
008: public interface JavaParserConstants {
009:
010: /** End of File. */
011: int EOF = 0;
012: /** RegularExpression Id. */
013: int SINGLE_LINE_COMMENT = 6;
014: /** RegularExpression Id. */
015: int FORMAL_COMMENT = 9;
016: /** RegularExpression Id. */
017: int MULTI_LINE_COMMENT = 10;
018: /** RegularExpression Id. */
019: int ABSTRACT = 12;
020: /** RegularExpression Id. */
021: int BOOLEAN = 13;
022: /** RegularExpression Id. */
023: int BREAK = 14;
024: /** RegularExpression Id. */
025: int BYTE = 15;
026: /** RegularExpression Id. */
027: int CASE = 16;
028: /** RegularExpression Id. */
029: int CATCH = 17;
030: /** RegularExpression Id. */
031: int CHAR = 18;
032: /** RegularExpression Id. */
033: int CLASS = 19;
034: /** RegularExpression Id. */
035: int CONST = 20;
036: /** RegularExpression Id. */
037: int CONTINUE = 21;
038: /** RegularExpression Id. */
039: int _DEFAULT = 22;
040: /** RegularExpression Id. */
041: int DO = 23;
042: /** RegularExpression Id. */
043: int DOUBLE = 24;
044: /** RegularExpression Id. */
045: int ELSE = 25;
046: /** RegularExpression Id. */
047: int EXTENDS = 26;
048: /** RegularExpression Id. */
049: int FALSE = 27;
050: /** RegularExpression Id. */
051: int FINAL = 28;
052: /** RegularExpression Id. */
053: int FINALLY = 29;
054: /** RegularExpression Id. */
055: int FLOAT = 30;
056: /** RegularExpression Id. */
057: int FOR = 31;
058: /** RegularExpression Id. */
059: int GOTO = 32;
060: /** RegularExpression Id. */
061: int IF = 33;
062: /** RegularExpression Id. */
063: int IMPLEMENTS = 34;
064: /** RegularExpression Id. */
065: int IMPORT = 35;
066: /** RegularExpression Id. */
067: int INSTANCEOF = 36;
068: /** RegularExpression Id. */
069: int INT = 37;
070: /** RegularExpression Id. */
071: int INTERFACE = 38;
072: /** RegularExpression Id. */
073: int LONG = 39;
074: /** RegularExpression Id. */
075: int NATIVE = 40;
076: /** RegularExpression Id. */
077: int NEW = 41;
078: /** RegularExpression Id. */
079: int NULL = 42;
080: /** RegularExpression Id. */
081: int PACKAGE = 43;
082: /** RegularExpression Id. */
083: int PRIVATE = 44;
084: /** RegularExpression Id. */
085: int PROTECTED = 45;
086: /** RegularExpression Id. */
087: int PUBLIC = 46;
088: /** RegularExpression Id. */
089: int RETURN = 47;
090: /** RegularExpression Id. */
091: int SHORT = 48;
092: /** RegularExpression Id. */
093: int STATIC = 49;
094: /** RegularExpression Id. */
095: int SUPER = 50;
096: /** RegularExpression Id. */
097: int SWITCH = 51;
098: /** RegularExpression Id. */
099: int SYNCHRONIZED = 52;
100: /** RegularExpression Id. */
101: int THIS = 53;
102: /** RegularExpression Id. */
103: int THROW = 54;
104: /** RegularExpression Id. */
105: int THROWS = 55;
106: /** RegularExpression Id. */
107: int TRANSIENT = 56;
108: /** RegularExpression Id. */
109: int TRUE = 57;
110: /** RegularExpression Id. */
111: int TRY = 58;
112: /** RegularExpression Id. */
113: int VOID = 59;
114: /** RegularExpression Id. */
115: int VOLATILE = 60;
116: /** RegularExpression Id. */
117: int WHILE = 61;
118: /** RegularExpression Id. */
119: int STRICTFP = 62;
120: /** RegularExpression Id. */
121: int INTEGER_LITERAL = 63;
122: /** RegularExpression Id. */
123: int DECIMAL_LITERAL = 64;
124: /** RegularExpression Id. */
125: int HEX_LITERAL = 65;
126: /** RegularExpression Id. */
127: int OCTAL_LITERAL = 66;
128: /** RegularExpression Id. */
129: int FLOATING_POINT_LITERAL = 67;
130: /** RegularExpression Id. */
131: int HEX_FLOATING_POINT_LITERAL = 68;
132: /** RegularExpression Id. */
133: int EXPONENT = 69;
134: /** RegularExpression Id. */
135: int CHARACTER_LITERAL = 70;
136: /** RegularExpression Id. */
137: int STRING_LITERAL = 71;
138: /** RegularExpression Id. */
139: int IDENTIFIER = 72;
140: /** RegularExpression Id. */
141: int LETTER = 73;
142: /** RegularExpression Id. */
143: int PART_LETTER = 74;
144: /** RegularExpression Id. */
145: int LPAREN = 75;
146: /** RegularExpression Id. */
147: int RPAREN = 76;
148: /** RegularExpression Id. */
149: int LBRACE = 77;
150: /** RegularExpression Id. */
151: int RBRACE = 78;
152: /** RegularExpression Id. */
153: int LBRACKET = 79;
154: /** RegularExpression Id. */
155: int RBRACKET = 80;
156: /** RegularExpression Id. */
157: int SEMICOLON = 81;
158: /** RegularExpression Id. */
159: int COMMA = 82;
160: /** RegularExpression Id. */
161: int DOT = 83;
162: /** RegularExpression Id. */
163: int AT = 84;
164: /** RegularExpression Id. */
165: int ASSIGN = 85;
166: /** RegularExpression Id. */
167: int LT = 86;
168: /** RegularExpression Id. */
169: int BANG = 87;
170: /** RegularExpression Id. */
171: int TILDE = 88;
172: /** RegularExpression Id. */
173: int HOOK = 89;
174: /** RegularExpression Id. */
175: int COLON = 90;
176: /** RegularExpression Id. */
177: int EQ = 91;
178: /** RegularExpression Id. */
179: int LE = 92;
180: /** RegularExpression Id. */
181: int GE = 93;
182: /** RegularExpression Id. */
183: int NE = 94;
184: /** RegularExpression Id. */
185: int SC_OR = 95;
186: /** RegularExpression Id. */
187: int SC_AND = 96;
188: /** RegularExpression Id. */
189: int INCR = 97;
190: /** RegularExpression Id. */
191: int DECR = 98;
192: /** RegularExpression Id. */
193: int PLUS = 99;
194: /** RegularExpression Id. */
195: int MINUS = 100;
196: /** RegularExpression Id. */
197: int STAR = 101;
198: /** RegularExpression Id. */
199: int SLASH = 102;
200: /** RegularExpression Id. */
201: int BIT_AND = 103;
202: /** RegularExpression Id. */
203: int BIT_OR = 104;
204: /** RegularExpression Id. */
205: int XOR = 105;
206: /** RegularExpression Id. */
207: int REM = 106;
208: /** RegularExpression Id. */
209: int LSHIFT = 107;
210: /** RegularExpression Id. */
211: int PLUSASSIGN = 108;
212: /** RegularExpression Id. */
213: int MINUSASSIGN = 109;
214: /** RegularExpression Id. */
215: int STARASSIGN = 110;
216: /** RegularExpression Id. */
217: int SLASHASSIGN = 111;
218: /** RegularExpression Id. */
219: int ANDASSIGN = 112;
220: /** RegularExpression Id. */
221: int ORASSIGN = 113;
222: /** RegularExpression Id. */
223: int XORASSIGN = 114;
224: /** RegularExpression Id. */
225: int REMASSIGN = 115;
226: /** RegularExpression Id. */
227: int LSHIFTASSIGN = 116;
228: /** RegularExpression Id. */
229: int RSIGNEDSHIFTASSIGN = 117;
230: /** RegularExpression Id. */
231: int RUNSIGNEDSHIFTASSIGN = 118;
232: /** RegularExpression Id. */
233: int ELLIPSIS = 119;
234: /** RegularExpression Id. */
235: int RUNSIGNEDSHIFT = 120;
236: /** RegularExpression Id. */
237: int RSIGNEDSHIFT = 121;
238: /** RegularExpression Id. */
239: int GT = 122;
240:
241: /** Lexical state. */
242: int DEFAULT = 0;
243: /** Lexical state. */
244: int IN_FORMAL_COMMENT = 1;
245: /** Lexical state. */
246: int IN_MULTI_LINE_COMMENT = 2;
247:
248: /** Literal token values. */
249: String[] tokenImage = { "<EOF>", "\" \"", "\"\\t\"", "\"\\n\"",
250: "\"\\r\"", "\"\\f\"", "<SINGLE_LINE_COMMENT>",
251: "<token of kind 7>", "\"/*\"", "\"*/\"", "\"*/\"",
252: "<token of kind 11>", "\"abstract\"", "\"boolean\"",
253: "\"break\"", "\"byte\"", "\"case\"", "\"catch\"",
254: "\"char\"", "\"class\"", "\"const\"", "\"continue\"",
255: "\"default\"", "\"do\"", "\"double\"", "\"else\"",
256: "\"extends\"", "\"false\"", "\"final\"", "\"finally\"",
257: "\"float\"", "\"for\"", "\"goto\"", "\"if\"",
258: "\"implements\"", "\"import\"", "\"instanceof\"",
259: "\"int\"", "\"interface\"", "\"long\"", "\"native\"",
260: "\"new\"", "\"null\"", "\"package\"", "\"private\"",
261: "\"protected\"", "\"public\"", "\"return\"", "\"short\"",
262: "\"static\"", "\"super\"", "\"switch\"",
263: "\"synchronized\"", "\"this\"", "\"throw\"", "\"throws\"",
264: "\"transient\"", "\"true\"", "\"try\"", "\"void\"",
265: "\"volatile\"", "\"while\"", "\"strictfp\"",
266: "<INTEGER_LITERAL>", "<DECIMAL_LITERAL>", "<HEX_LITERAL>",
267: "<OCTAL_LITERAL>", "<FLOATING_POINT_LITERAL>",
268: "<HEX_FLOATING_POINT_LITERAL>", "<EXPONENT>",
269: "<CHARACTER_LITERAL>", "<STRING_LITERAL>", "<IDENTIFIER>",
270: "<LETTER>", "<PART_LETTER>", "\"(\"", "\")\"", "\"{\"",
271: "\"}\"", "\"[\"", "\"]\"", "\";\"", "\",\"", "\".\"",
272: "\"@\"", "\"=\"", "\"<\"", "\"!\"", "\"~\"", "\"?\"",
273: "\":\"", "\"==\"", "\"<=\"", "\">=\"", "\"!=\"", "\"||\"",
274: "\"&&\"", "\"++\"", "\"--\"", "\"+\"", "\"-\"", "\"*\"",
275: "\"/\"", "\"&\"", "\"|\"", "\"^\"", "\"%\"", "\"<<\"",
276: "\"+=\"", "\"-=\"", "\"*=\"", "\"/=\"", "\"&=\"", "\"|=\"",
277: "\"^=\"", "\"%=\"", "\"<<=\"", "\">>=\"", "\">>>=\"",
278: "\"...\"", "\">>>\"", "\">>\"", "\">\"", "\"\\u001a\"",
279: "\"~[]\"", };
280:
281: }
|