1/* 2 * Copyright (c) 1999, 2013, Oracle and/or its affiliates. All rights reserved. 3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4 * 5 * This code is free software; you can redistribute it and/or modify it 6 * under the terms of the GNU General Public License version 2 only, as 7 * published by the Free Software Foundation. Oracle designates this 8 * particular file as subject to the "Classpath" exception as provided 9 * by Oracle in the LICENSE file that accompanied this code. 10 * 11 * This code is distributed in the hope that it will be useful, but WITHOUT 12 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 13 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 14 * version 2 for more details (a copy is included in the LICENSE file that 15 * accompanied this code). 16 * 17 * You should have received a copy of the GNU General Public License version 18 * 2 along with this work; if not, write to the Free Software Foundation, 19 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 20 * 21 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 22 * or visit www.oracle.com if you need additional information or have any 23 * questions. 24 */ 25 26/* Generated By:JavaCC: Do not edit this line. ExpressionParserConstants.java */ 27package com.sun.tools.example.debug.expr; 28 29 30/** 31 * Token literal values and constants. 32 * Generated by org.javacc.parser.OtherFilesGen#start() 33 */ 34public interface ExpressionParserConstants { 35 36 /** End of File. */ 37 int EOF = 0; 38 /** RegularExpression Id. */ 39 int SINGLE_LINE_COMMENT = 6; 40 /** RegularExpression Id. */ 41 int FORMAL_COMMENT = 7; 42 /** RegularExpression Id. */ 43 int MULTI_LINE_COMMENT = 8; 44 /** RegularExpression Id. */ 45 int ABSTRACT = 9; 46 /** RegularExpression Id. */ 47 int BOOLEAN = 10; 48 /** RegularExpression Id. */ 49 int BREAK = 11; 50 /** RegularExpression Id. */ 51 int BYTE = 12; 52 /** RegularExpression Id. */ 53 int CASE = 13; 54 /** RegularExpression Id. */ 55 int CATCH = 14; 56 /** RegularExpression Id. */ 57 int CHAR = 15; 58 /** RegularExpression Id. */ 59 int CLASS = 16; 60 /** RegularExpression Id. */ 61 int CONST = 17; 62 /** RegularExpression Id. */ 63 int CONTINUE = 18; 64 /** RegularExpression Id. */ 65 int _DEFAULT = 19; 66 /** RegularExpression Id. */ 67 int DO = 20; 68 /** RegularExpression Id. */ 69 int DOUBLE = 21; 70 /** RegularExpression Id. */ 71 int ELSE = 22; 72 /** RegularExpression Id. */ 73 int EXTENDS = 23; 74 /** RegularExpression Id. */ 75 int FALSE = 24; 76 /** RegularExpression Id. */ 77 int FINAL = 25; 78 /** RegularExpression Id. */ 79 int FINALLY = 26; 80 /** RegularExpression Id. */ 81 int FLOAT = 27; 82 /** RegularExpression Id. */ 83 int FOR = 28; 84 /** RegularExpression Id. */ 85 int GOTO = 29; 86 /** RegularExpression Id. */ 87 int IF = 30; 88 /** RegularExpression Id. */ 89 int IMPLEMENTS = 31; 90 /** RegularExpression Id. */ 91 int IMPORT = 32; 92 /** RegularExpression Id. */ 93 int INSTANCEOF = 33; 94 /** RegularExpression Id. */ 95 int INT = 34; 96 /** RegularExpression Id. */ 97 int INTERFACE = 35; 98 /** RegularExpression Id. */ 99 int LONG = 36; 100 /** RegularExpression Id. */ 101 int NATIVE = 37; 102 /** RegularExpression Id. */ 103 int NEW = 38; 104 /** RegularExpression Id. */ 105 int NULL = 39; 106 /** RegularExpression Id. */ 107 int PACKAGE = 40; 108 /** RegularExpression Id. */ 109 int PRIVATE = 41; 110 /** RegularExpression Id. */ 111 int PROTECTED = 42; 112 /** RegularExpression Id. */ 113 int PUBLIC = 43; 114 /** RegularExpression Id. */ 115 int RETURN = 44; 116 /** RegularExpression Id. */ 117 int SHORT = 45; 118 /** RegularExpression Id. */ 119 int STATIC = 46; 120 /** RegularExpression Id. */ 121 int SUPER = 47; 122 /** RegularExpression Id. */ 123 int SWITCH = 48; 124 /** RegularExpression Id. */ 125 int SYNCHRONIZED = 49; 126 /** RegularExpression Id. */ 127 int THIS = 50; 128 /** RegularExpression Id. */ 129 int THROW = 51; 130 /** RegularExpression Id. */ 131 int THROWS = 52; 132 /** RegularExpression Id. */ 133 int TRANSIENT = 53; 134 /** RegularExpression Id. */ 135 int TRUE = 54; 136 /** RegularExpression Id. */ 137 int TRY = 55; 138 /** RegularExpression Id. */ 139 int VOID = 56; 140 /** RegularExpression Id. */ 141 int VOLATILE = 57; 142 /** RegularExpression Id. */ 143 int WHILE = 58; 144 /** RegularExpression Id. */ 145 int INTEGER_LITERAL = 59; 146 /** RegularExpression Id. */ 147 int DECIMAL_LITERAL = 60; 148 /** RegularExpression Id. */ 149 int HEX_LITERAL = 61; 150 /** RegularExpression Id. */ 151 int OCTAL_LITERAL = 62; 152 /** RegularExpression Id. */ 153 int FLOATING_POINT_LITERAL = 63; 154 /** RegularExpression Id. */ 155 int EXPONENT = 64; 156 /** RegularExpression Id. */ 157 int CHARACTER_LITERAL = 65; 158 /** RegularExpression Id. */ 159 int STRING_LITERAL = 66; 160 /** RegularExpression Id. */ 161 int IDENTIFIER = 67; 162 /** RegularExpression Id. */ 163 int LETTER = 68; 164 /** RegularExpression Id. */ 165 int DIGIT = 69; 166 /** RegularExpression Id. */ 167 int LPAREN = 70; 168 /** RegularExpression Id. */ 169 int RPAREN = 71; 170 /** RegularExpression Id. */ 171 int LBRACE = 72; 172 /** RegularExpression Id. */ 173 int RBRACE = 73; 174 /** RegularExpression Id. */ 175 int LBRACKET = 74; 176 /** RegularExpression Id. */ 177 int RBRACKET = 75; 178 /** RegularExpression Id. */ 179 int SEMICOLON = 76; 180 /** RegularExpression Id. */ 181 int COMMA = 77; 182 /** RegularExpression Id. */ 183 int DOT = 78; 184 /** RegularExpression Id. */ 185 int ASSIGN = 79; 186 /** RegularExpression Id. */ 187 int GT = 80; 188 /** RegularExpression Id. */ 189 int LT = 81; 190 /** RegularExpression Id. */ 191 int BANG = 82; 192 /** RegularExpression Id. */ 193 int TILDE = 83; 194 /** RegularExpression Id. */ 195 int HOOK = 84; 196 /** RegularExpression Id. */ 197 int COLON = 85; 198 /** RegularExpression Id. */ 199 int EQ = 86; 200 /** RegularExpression Id. */ 201 int LE = 87; 202 /** RegularExpression Id. */ 203 int GE = 88; 204 /** RegularExpression Id. */ 205 int NE = 89; 206 /** RegularExpression Id. */ 207 int SC_OR = 90; 208 /** RegularExpression Id. */ 209 int SC_AND = 91; 210 /** RegularExpression Id. */ 211 int INCR = 92; 212 /** RegularExpression Id. */ 213 int DECR = 93; 214 /** RegularExpression Id. */ 215 int PLUS = 94; 216 /** RegularExpression Id. */ 217 int MINUS = 95; 218 /** RegularExpression Id. */ 219 int STAR = 96; 220 /** RegularExpression Id. */ 221 int SLASH = 97; 222 /** RegularExpression Id. */ 223 int BIT_AND = 98; 224 /** RegularExpression Id. */ 225 int BIT_OR = 99; 226 /** RegularExpression Id. */ 227 int XOR = 100; 228 /** RegularExpression Id. */ 229 int REM = 101; 230 /** RegularExpression Id. */ 231 int LSHIFT = 102; 232 /** RegularExpression Id. */ 233 int RSIGNEDSHIFT = 103; 234 /** RegularExpression Id. */ 235 int RUNSIGNEDSHIFT = 104; 236 /** RegularExpression Id. */ 237 int PLUSASSIGN = 105; 238 /** RegularExpression Id. */ 239 int MINUSASSIGN = 106; 240 /** RegularExpression Id. */ 241 int STARASSIGN = 107; 242 /** RegularExpression Id. */ 243 int SLASHASSIGN = 108; 244 /** RegularExpression Id. */ 245 int ANDASSIGN = 109; 246 /** RegularExpression Id. */ 247 int ORASSIGN = 110; 248 /** RegularExpression Id. */ 249 int XORASSIGN = 111; 250 /** RegularExpression Id. */ 251 int REMASSIGN = 112; 252 /** RegularExpression Id. */ 253 int LSHIFTASSIGN = 113; 254 /** RegularExpression Id. */ 255 int RSIGNEDSHIFTASSIGN = 114; 256 /** RegularExpression Id. */ 257 int RUNSIGNEDSHIFTASSIGN = 115; 258 259 /** Lexical state. */ 260 int DEFAULT = 0; 261 262 /** Literal token values. */ 263 String[] tokenImage = { 264 "<EOF>", 265 "\" \"", 266 "\"\\t\"", 267 "\"\\n\"", 268 "\"\\r\"", 269 "\"\\f\"", 270 "<SINGLE_LINE_COMMENT>", 271 "<FORMAL_COMMENT>", 272 "<MULTI_LINE_COMMENT>", 273 "\"abstract\"", 274 "\"boolean\"", 275 "\"break\"", 276 "\"byte\"", 277 "\"case\"", 278 "\"catch\"", 279 "\"char\"", 280 "\"class\"", 281 "\"const\"", 282 "\"continue\"", 283 "\"default\"", 284 "\"do\"", 285 "\"double\"", 286 "\"else\"", 287 "\"extends\"", 288 "\"false\"", 289 "\"final\"", 290 "\"finally\"", 291 "\"float\"", 292 "\"for\"", 293 "\"goto\"", 294 "\"if\"", 295 "\"implements\"", 296 "\"import\"", 297 "\"instanceof\"", 298 "\"int\"", 299 "\"interface\"", 300 "\"long\"", 301 "\"native\"", 302 "\"new\"", 303 "\"null\"", 304 "\"package\"", 305 "\"private\"", 306 "\"protected\"", 307 "\"public\"", 308 "\"return\"", 309 "\"short\"", 310 "\"static\"", 311 "\"super\"", 312 "\"switch\"", 313 "\"synchronized\"", 314 "\"this\"", 315 "\"throw\"", 316 "\"throws\"", 317 "\"transient\"", 318 "\"true\"", 319 "\"try\"", 320 "\"void\"", 321 "\"volatile\"", 322 "\"while\"", 323 "<INTEGER_LITERAL>", 324 "<DECIMAL_LITERAL>", 325 "<HEX_LITERAL>", 326 "<OCTAL_LITERAL>", 327 "<FLOATING_POINT_LITERAL>", 328 "<EXPONENT>", 329 "<CHARACTER_LITERAL>", 330 "<STRING_LITERAL>", 331 "<IDENTIFIER>", 332 "<LETTER>", 333 "<DIGIT>", 334 "\"(\"", 335 "\")\"", 336 "\"{\"", 337 "\"}\"", 338 "\"[\"", 339 "\"]\"", 340 "\";\"", 341 "\",\"", 342 "\".\"", 343 "\"=\"", 344 "\">\"", 345 "\"<\"", 346 "\"!\"", 347 "\"~\"", 348 "\"?\"", 349 "\":\"", 350 "\"==\"", 351 "\"<=\"", 352 "\">=\"", 353 "\"!=\"", 354 "\"||\"", 355 "\"&&\"", 356 "\"++\"", 357 "\"--\"", 358 "\"+\"", 359 "\"-\"", 360 "\"*\"", 361 "\"/\"", 362 "\"&\"", 363 "\"|\"", 364 "\"^\"", 365 "\"%\"", 366 "\"<<\"", 367 "\">>\"", 368 "\">>>\"", 369 "\"+=\"", 370 "\"-=\"", 371 "\"*=\"", 372 "\"/=\"", 373 "\"&=\"", 374 "\"|=\"", 375 "\"^=\"", 376 "\"%=\"", 377 "\"<<=\"", 378 "\">>=\"", 379 "\">>>=\"", 380 }; 381 382} 383