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