1 2 package de.gulden.util.javasource.jjt; 3 4 public interface ParserConstants { 5 6 int EOF = 0; 7 int SINGLE_LINE_COMMENT = 9; 8 int FORMAL_COMMENT = 10; 9 int MULTI_LINE_COMMENT = 11; 10 int ABSTRACT = 13; 11 int ASSERT = 14; 12 int BOOLEAN = 15; 13 int BREAK = 16; 14 int BYTE = 17; 15 int CASE = 18; 16 int CATCH = 19; 17 int CHAR = 20; 18 int CLASS = 21; 19 int CONST = 22; 20 int CONTINUE = 23; 21 int _DEFAULT = 24; 22 int DO = 25; 23 int DOUBLE = 26; 24 int ELSE = 27; 25 int EXTENDS = 28; 26 int FALSE = 29; 27 int FINAL = 30; 28 int FINALLY = 31; 29 int FLOAT = 32; 30 int FOR = 33; 31 int GOTO = 34; 32 int IF = 35; 33 int IMPLEMENTS = 36; 34 int IMPORT = 37; 35 int INSTANCEOF = 38; 36 int INT = 39; 37 int INTERFACE = 40; 38 int LONG = 41; 39 int NATIVE = 42; 40 int NEW = 43; 41 int NULL = 44; 42 int PACKAGE = 45; 43 int PRIVATE = 46; 44 int PROTECTED = 47; 45 int PUBLIC = 48; 46 int RETURN = 49; 47 int SHORT = 50; 48 int STATIC = 51; 49 int STRICTFP = 52; 50 int SUPER = 53; 51 int SWITCH = 54; 52 int SYNCHRONIZED = 55; 53 int THIS = 56; 54 int THROW = 57; 55 int THROWS = 58; 56 int TRANSIENT = 59; 57 int TRUE = 60; 58 int TRY = 61; 59 int VOID = 62; 60 int VOLATILE = 63; 61 int WHILE = 64; 62 int INTEGER_LITERAL = 65; 63 int DECIMAL_LITERAL = 66; 64 int HEX_LITERAL = 67; 65 int OCTAL_LITERAL = 68; 66 int FLOATING_POINT_LITERAL = 69; 67 int EXPONENT = 70; 68 int CHARACTER_LITERAL = 71; 69 int STRING_LITERAL = 72; 70 int IDENTIFIER = 73; 71 int LETTER = 74; 72 int DIGIT = 75; 73 int LPAREN = 76; 74 int RPAREN = 77; 75 int LBRACE = 78; 76 int RBRACE = 79; 77 int LBRACKET = 80; 78 int RBRACKET = 81; 79 int SEMICOLON = 82; 80 int COMMA = 83; 81 int DOT = 84; 82 int ASSIGN = 85; 83 int GT = 86; 84 int LT = 87; 85 int BANG = 88; 86 int TILDE = 89; 87 int HOOK = 90; 88 int COLON = 91; 89 int EQ = 92; 90 int LE = 93; 91 int GE = 94; 92 int NE = 95; 93 int SC_OR = 96; 94 int SC_AND = 97; 95 int INCR = 98; 96 int DECR = 99; 97 int PLUS = 100; 98 int MINUS = 101; 99 int STAR = 102; 100 int SLASH = 103; 101 int BIT_AND = 104; 102 int BIT_OR = 105; 103 int XOR = 106; 104 int REM = 107; 105 int LSHIFT = 108; 106 int RSIGNEDSHIFT = 109; 107 int RUNSIGNEDSHIFT = 110; 108 int PLUSASSIGN = 111; 109 int MINUSASSIGN = 112; 110 int STARASSIGN = 113; 111 int SLASHASSIGN = 114; 112 int ANDASSIGN = 115; 113 int ORASSIGN = 116; 114 int XORASSIGN = 117; 115 int REMASSIGN = 118; 116 int LSHIFTASSIGN = 119; 117 int RSIGNEDSHIFTASSIGN = 120; 118 int RUNSIGNEDSHIFTASSIGN = 121; 119 120 int DEFAULT = 0; 121 int IN_SINGLE_LINE_COMMENT = 1; 122 int IN_FORMAL_COMMENT = 2; 123 int IN_MULTI_LINE_COMMENT = 3; 124 125 String [] tokenImage = { 126 "<EOF>", 127 "\" \"", 128 "\"\\t\"", 129 "\"\\n\"", 130 "\"\\r\"", 131 "\"\\f\"", 132 "\"//\"", 133 "<token of kind 7>", 134 "\"/*\"", 135 "<SINGLE_LINE_COMMENT>", 136 "\"*/\"", 137 "\"*/\"", 138 "<token of kind 12>", 139 "\"abstract\"", 140 "\"assert\"", 141 "\"boolean\"", 142 "\"break\"", 143 "\"byte\"", 144 "\"case\"", 145 "\"catch\"", 146 "\"char\"", 147 "\"class\"", 148 "\"const\"", 149 "\"continue\"", 150 "\"default\"", 151 "\"do\"", 152 "\"double\"", 153 "\"else\"", 154 "\"extends\"", 155 "\"false\"", 156 "\"final\"", 157 "\"finally\"", 158 "\"float\"", 159 "\"for\"", 160 "\"goto\"", 161 "\"if\"", 162 "\"implements\"", 163 "\"import\"", 164 "\"instanceof\"", 165 "\"int\"", 166 "\"interface\"", 167 "\"long\"", 168 "\"native\"", 169 "\"new\"", 170 "\"null\"", 171 "\"package\"", 172 "\"private\"", 173 "\"protected\"", 174 "\"public\"", 175 "\"return\"", 176 "\"short\"", 177 "\"static\"", 178 "\"strictfp\"", 179 "\"super\"", 180 "\"switch\"", 181 "\"synchronized\"", 182 "\"this\"", 183 "\"throw\"", 184 "\"throws\"", 185 "\"transient\"", 186 "\"true\"", 187 "\"try\"", 188 "\"void\"", 189 "\"volatile\"", 190 "\"while\"", 191 "<INTEGER_LITERAL>", 192 "<DECIMAL_LITERAL>", 193 "<HEX_LITERAL>", 194 "<OCTAL_LITERAL>", 195 "<FLOATING_POINT_LITERAL>", 196 "<EXPONENT>", 197 "<CHARACTER_LITERAL>", 198 "<STRING_LITERAL>", 199 "<IDENTIFIER>", 200 "<LETTER>", 201 "<DIGIT>", 202 "\"(\"", 203 "\")\"", 204 "\"{\"", 205 "\"}\"", 206 "\"[\"", 207 "\"]\"", 208 "\";\"", 209 "\",\"", 210 "\".\"", 211 "\"=\"", 212 "\">\"", 213 "\"<\"", 214 "\"!\"", 215 "\"~\"", 216 "\"?\"", 217 "\":\"", 218 "\"==\"", 219 "\"<=\"", 220 "\">=\"", 221 "\"!=\"", 222 "\"||\"", 223 "\"&&\"", 224 "\"++\"", 225 "\"--\"", 226 "\"+\"", 227 "\"-\"", 228 "\"*\"", 229 "\"/\"", 230 "\"&\"", 231 "\"|\"", 232 "\"^\"", 233 "\"%\"", 234 "\"<<\"", 235 "\">>\"", 236 "\">>>\"", 237 "\"+=\"", 238 "\"-=\"", 239 "\"*=\"", 240 "\"/=\"", 241 "\"&=\"", 242 "\"|=\"", 243 "\"^=\"", 244 "\"%=\"", 245 "\"<<=\"", 246 "\">>=\"", 247 "\">>>=\"", 248 }; 249 250 } 251 | Popular Tags |