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