001: /*
002: * Author: Mike Atkinson
003: *
004: * This software has been developed under the copyleft
005: * rules of the GNU General Public License. Please
006: * consult the GNU General Public License for more
007: * details about use and distribution of this software.
008: */
009: package net.sourceforge.jrefactory.parser;
010:
011: import net.sourceforge.jrefactory.ast.*;
012: import net.sourceforge.jrefactory.io.*;
013:
014: /* Generated By:JJTree&JavaCC: Do not edit this line. JavaParserConstants.java */
015: public interface JavaParserConstants {
016:
017: int EOF = 0;
018: int SINGLE_LINE_COMMENT = 13;
019: int FORMAL_COMMENT = 14;
020: int MULTI_LINE_COMMENT = 15;
021: int CATEGORY_COMMENT = 16;
022: int ABSTRACT = 18;
023: int ASSERT = 19;
024: int BOOLEAN = 20;
025: int BREAK = 21;
026: int BYTE = 22;
027: int CASE = 23;
028: int CATCH = 24;
029: int CHAR = 25;
030: int CLASS = 26;
031: int CONST = 27;
032: int CONTINUE = 28;
033: int _DEFAULT = 29;
034: int DO = 30;
035: int DOUBLE = 31;
036: int ELSE = 32;
037: int ENUM = 33;
038: int EXTENDS = 34;
039: int FALSE = 35;
040: int FINAL = 36;
041: int FINALLY = 37;
042: int FLOAT = 38;
043: int FOR = 39;
044: int GOTO = 40;
045: int IF = 41;
046: int IMPLEMENTS = 42;
047: int IMPORT = 43;
048: int INSTANCEOF = 44;
049: int INT = 45;
050: int INTERFACE = 46;
051: int LONG = 47;
052: int NATIVE = 48;
053: int NEW = 49;
054: int NULL = 50;
055: int PACKAGE = 51;
056: int PRIVATE = 52;
057: int PROTECTED = 53;
058: int PUBLIC = 54;
059: int RETURN = 55;
060: int SHORT = 56;
061: int STATIC = 57;
062: int STRICTFP = 58;
063: int SUPER = 59;
064: int SWITCH = 60;
065: int SYNCHRONIZED = 61;
066: int THIS = 62;
067: int THROW = 63;
068: int THROWS = 64;
069: int TRANSIENT = 65;
070: int TRUE = 66;
071: int TRY = 67;
072: int VOID = 68;
073: int VOLATILE = 69;
074: int WHILE = 70;
075: int INTEGER_LITERAL = 71;
076: int DECIMAL_LITERAL = 72;
077: int HEX_LITERAL = 73;
078: int OCTAL_LITERAL = 74;
079: int FLOATING_POINT_LITERAL = 75;
080: int EXPONENT = 76;
081: int CHARACTER_LITERAL = 77;
082: int STRING_LITERAL = 78;
083: int IDENTIFIER = 79;
084: int LETTER = 80;
085: int DIGIT = 81;
086: int LPAREN = 82;
087: int RPAREN = 83;
088: int LBRACE = 84;
089: int RBRACE = 85;
090: int LBRACKET = 86;
091: int RBRACKET = 87;
092: int SEMICOLON = 88;
093: int COMMA = 89;
094: int DOT = 90;
095: int VARARG = 91;
096: int ASSIGN = 92;
097: int GT = 93;
098: int LT = 94;
099: int BANG = 95;
100: int TILDE = 96;
101: int HOOK = 97;
102: int COLON = 98;
103: int EQ = 99;
104: int LE = 100;
105: int GE = 101;
106: int NE = 102;
107: int SC_OR = 103;
108: int SC_AND = 104;
109: int INCR = 105;
110: int DECR = 106;
111: int PLUS = 107;
112: int MINUS = 108;
113: int STAR = 109;
114: int SLASH = 110;
115: int BIT_AND = 111;
116: int BIT_OR = 112;
117: int XOR = 113;
118: int REM = 114;
119: int LSHIFT = 115;
120: int RSIGNEDSHIFT = 116;
121: int RUNSIGNEDSHIFT = 117;
122: int PLUSASSIGN = 118;
123: int MINUSASSIGN = 119;
124: int STARASSIGN = 120;
125: int SLASHASSIGN = 121;
126: int ANDASSIGN = 122;
127: int ORASSIGN = 123;
128: int XORASSIGN = 124;
129: int REMASSIGN = 125;
130: int LSHIFTASSIGN = 126;
131: int RSIGNEDSHIFTASSIGN = 127;
132: int RUNSIGNEDSHIFTASSIGN = 128;
133: int ATTRIBUTE = 129;
134:
135: int DEFAULT = 0;
136: int IN_ONLY_EOF = 1;
137: int IN_SINGLE_LINE_COMMENT = 2;
138: int IN_FORMAL_COMMENT = 3;
139: int IN_MULTI_LINE_COMMENT = 4;
140: int IN_CATEGORY_COMMENT = 5;
141:
142: String[] tokenImage = { "<EOF>", "\" \"", "\"\\t\"", "\"\\f\"",
143: "\"\\u001a\"", "<token of kind 5>", "\"\\n\"", "\"\\r\"",
144: "\"\\r\\n\"", "\"//\"", "<token of kind 10>", "\"/*\"",
145: "\"/*<\"", "<SINGLE_LINE_COMMENT>", "\"*/\"", "\"*/\"",
146: "\"*/\"", "<token of kind 17>", "\"abstract\"",
147: "\"assert\"", "\"boolean\"", "\"break\"", "\"byte\"",
148: "\"case\"", "\"catch\"", "\"char\"", "\"class\"",
149: "\"const\"", "\"continue\"", "\"default\"", "\"do\"",
150: "\"double\"", "\"else\"", "\"enum\"", "\"extends\"",
151: "\"false\"", "\"final\"", "\"finally\"", "\"float\"",
152: "\"for\"", "\"goto\"", "\"if\"", "\"implements\"",
153: "\"import\"", "\"instanceof\"", "\"int\"", "\"interface\"",
154: "\"long\"", "\"native\"", "\"new\"", "\"null\"",
155: "\"package\"", "\"private\"", "\"protected\"",
156: "\"public\"", "\"return\"", "\"short\"", "\"static\"",
157: "\"strictfp\"", "\"super\"", "\"switch\"",
158: "\"synchronized\"", "\"this\"", "\"throw\"", "\"throws\"",
159: "\"transient\"", "\"true\"", "\"try\"", "\"void\"",
160: "\"volatile\"", "\"while\"", "<INTEGER_LITERAL>",
161: "<DECIMAL_LITERAL>", "<HEX_LITERAL>", "<OCTAL_LITERAL>",
162: "<FLOATING_POINT_LITERAL>", "<EXPONENT>",
163: "<CHARACTER_LITERAL>", "<STRING_LITERAL>", "<IDENTIFIER>",
164: "<LETTER>", "<DIGIT>", "\"(\"", "\")\"", "\"{\"", "\"}\"",
165: "\"[\"", "\"]\"", "\";\"", "\",\"", "\".\"", "\"...\"",
166: "\"=\"", "\">\"", "\"<\"", "\"!\"", "\"~\"", "\"?\"",
167: "\":\"", "\"==\"", "\"<=\"", "\">=\"", "\"!=\"", "\"||\"",
168: "\"&&\"", "\"++\"", "\"--\"", "\"+\"", "\"-\"", "\"*\"",
169: "\"/\"", "\"&\"", "\"|\"", "\"^\"", "\"%\"", "\"<<\"",
170: "\">>\"", "\">>>\"", "\"+=\"", "\"-=\"", "\"*=\"",
171: "\"/=\"", "\"&=\"", "\"|=\"", "\"^=\"", "\"%=\"",
172: "\"<<=\"", "\">>=\"", "\">>>=\"", "\"@\"", };
173:
174: }
|