1 2 package net.sourceforge.pmd.cpd.cppast; 3 4 public interface CPPParserConstants { 5 6 int EOF = 0; 7 int LCURLYBRACE = 19; 8 int RCURLYBRACE = 20; 9 int LSQUAREBRACKET = 21; 10 int RSQUAREBRACKET = 22; 11 int LPARENTHESIS = 23; 12 int RPARENTHESIS = 24; 13 int SCOPE = 25; 14 int COLON = 26; 15 int SEMICOLON = 27; 16 int COMMA = 28; 17 int QUESTIONMARK = 29; 18 int ELLIPSIS = 30; 19 int ASSIGNEQUAL = 31; 20 int TIMESEQUAL = 32; 21 int DIVIDEEQUAL = 33; 22 int MODEQUAL = 34; 23 int PLUSEQUAL = 35; 24 int MINUSEQUAL = 36; 25 int SHIFTLEFTEQUAL = 37; 26 int SHIFTRIGHTEQUAL = 38; 27 int BITWISEANDEQUAL = 39; 28 int BITWISEXOREQUAL = 40; 29 int BITWISEOREQUAL = 41; 30 int OR = 42; 31 int AND = 43; 32 int BITWISEOR = 44; 33 int BITWISEXOR = 45; 34 int AMPERSAND = 46; 35 int EQUAL = 47; 36 int NOTEQUAL = 48; 37 int LESSTHAN = 49; 38 int GREATERTHAN = 50; 39 int LESSTHANOREQUALTO = 51; 40 int GREATERTHANOREQUALTO = 52; 41 int SHIFTLEFT = 53; 42 int SHIFTRIGHT = 54; 43 int PLUS = 55; 44 int MINUS = 56; 45 int STAR = 57; 46 int DIVIDE = 58; 47 int MOD = 59; 48 int PLUSPLUS = 60; 49 int MINUSMINUS = 61; 50 int TILDE = 62; 51 int NOT = 63; 52 int DOT = 64; 53 int POINTERTO = 65; 54 int DOTSTAR = 66; 55 int ARROWSTAR = 67; 56 int AUTO = 68; 57 int BREAK = 69; 58 int CASE = 70; 59 int CATCH = 71; 60 int CHAR = 72; 61 int CONST = 73; 62 int CONTINUE = 74; 63 int _DEFAULT = 75; 64 int DELETE = 76; 65 int DO = 77; 66 int DOUBLE = 78; 67 int ELSE = 79; 68 int ENUM = 80; 69 int EXTERN = 81; 70 int FLOAT = 82; 71 int FOR = 83; 72 int FRIEND = 84; 73 int GOTO = 85; 74 int IF = 86; 75 int INLINE = 87; 76 int INT = 88; 77 int LONG = 89; 78 int NEW = 90; 79 int PRIVATE = 91; 80 int PROTECTED = 92; 81 int PUBLIC = 93; 82 int REDECLARED = 94; 83 int REGISTER = 95; 84 int RETURN = 96; 85 int SHORT = 97; 86 int SIGNED = 98; 87 int SIZEOF = 99; 88 int STATIC = 100; 89 int STRUCT = 101; 90 int CLASS = 102; 91 int SWITCH = 103; 92 int TEMPLATE = 104; 93 int THIS = 105; 94 int TRY = 106; 95 int TYPEDEF = 107; 96 int UNION = 108; 97 int UNSIGNED = 109; 98 int VIRTUAL = 110; 99 int VOID = 111; 100 int VOLATILE = 112; 101 int WHILE = 113; 102 int OPERATOR = 114; 103 int TRUETOK = 115; 104 int FALSETOK = 116; 105 int THROW = 117; 106 int OCTALINT = 118; 107 int OCTALLONG = 119; 108 int UNSIGNED_OCTALINT = 120; 109 int UNSIGNED_OCTALLONG = 121; 110 int DECIMALINT = 122; 111 int DECIMALLONG = 123; 112 int UNSIGNED_DECIMALINT = 124; 113 int UNSIGNED_DECIMALLONG = 125; 114 int HEXADECIMALINT = 126; 115 int HEXADECIMALLONG = 127; 116 int UNSIGNED_HEXADECIMALINT = 128; 117 int UNSIGNED_HEXADECIMALLONG = 129; 118 int FLOATONE = 130; 119 int FLOATTWO = 131; 120 int CHARACTER = 132; 121 int STRING = 133; 122 int ID = 135; 123 124 int DEFAULT = 0; 125 int IN_LINE_COMMENT = 1; 126 int IN_COMMENT = 2; 127 int IN_PREPROCESSOR_OUTPUT_COMMENT = 3; 128 int PREPROCESSOR_OUTPUT = 4; 129 130 String [] tokenImage = { 131 "<EOF>", 132 "\" \"", 133 "\"\\f\"", 134 "\"\\t\"", 135 "\"\\r\\n\"", 136 "\"\\n\"", 137 "\"//\"", 138 "\"/*\"", 139 "\"#\"", 140 "\"\\n\"", 141 "<token of kind 10>", 142 "\"*/\"", 143 "<token of kind 12>", 144 "\"*/\"", 145 "\"\\n\"", 146 "\"/*\"", 147 "\"\\\\\\n\"", 148 "\"\\\\\\r\\n\"", 149 "<token of kind 18>", 150 "\"{\"", 151 "\"}\"", 152 "\"[\"", 153 "\"]\"", 154 "\"(\"", 155 "\")\"", 156 "\"::\"", 157 "\":\"", 158 "\";\"", 159 "\",\"", 160 "\"?\"", 161 "\"...\"", 162 "\"=\"", 163 "\"*=\"", 164 "\"/=\"", 165 "\"%=\"", 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 "\"auto\"", 200 "\"break\"", 201 "\"case\"", 202 "\"catch\"", 203 "\"char\"", 204 "\"const\"", 205 "\"continue\"", 206 "\"default\"", 207 "\"delete\"", 208 "\"do\"", 209 "\"double\"", 210 "\"else\"", 211 "\"enum\"", 212 "\"extern\"", 213 "\"float\"", 214 "\"for\"", 215 "\"friend\"", 216 "\"goto\"", 217 "\"if\"", 218 "\"inline\"", 219 "\"int\"", 220 "\"long\"", 221 "\"new\"", 222 "\"private\"", 223 "\"protected\"", 224 "\"public\"", 225 "\"redeclared\"", 226 "\"register\"", 227 "\"return\"", 228 "\"short\"", 229 "\"signed\"", 230 "\"sizeof\"", 231 "\"static\"", 232 "\"struct\"", 233 "\"class\"", 234 "\"switch\"", 235 "\"template\"", 236 "\"this\"", 237 "\"try\"", 238 "\"typedef\"", 239 "\"union\"", 240 "\"unsigned\"", 241 "\"virtual\"", 242 "\"void\"", 243 "\"volatile\"", 244 "\"while\"", 245 "\"operator\"", 246 "\"true\"", 247 "\"false\"", 248 "\"throw\"", 249 "<OCTALINT>", 250 "<OCTALLONG>", 251 "<UNSIGNED_OCTALINT>", 252 "<UNSIGNED_OCTALLONG>", 253 "<DECIMALINT>", 254 "<DECIMALLONG>", 255 "<UNSIGNED_DECIMALINT>", 256 "<UNSIGNED_DECIMALLONG>", 257 "<HEXADECIMALINT>", 258 "<HEXADECIMALLONG>", 259 "<UNSIGNED_HEXADECIMALINT>", 260 "<UNSIGNED_HEXADECIMALLONG>", 261 "<FLOATONE>", 262 "<FLOATTWO>", 263 "<CHARACTER>", 264 "<STRING>", 265 "\"finally\"", 266 "<ID>", 267 }; 268 269 } 270 | Popular Tags |