1 /* 2 * Copyright (c) 1999, 2011, 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 /* 27 * This source code is provided to illustrate the usage of a given feature 28 * or technique and has been deliberately simplified. Additional steps 29 * required for a production-quality application, such as security checks, 30 * input validation and proper error handling, might not be present in 31 * this sample code. 32 */ 33 34 35 /* Generated By:JavaCC: Do not edit this line. ExpressionParserConstants.java */ 36 package com.sun.tools.example.debug.expr; 37 38 public interface ExpressionParserConstants { 39 40 int EOF = 0; 41 int SINGLE_LINE_COMMENT = 6; 42 int FORMAL_COMMENT = 7; 43 int MULTI_LINE_COMMENT = 8; 44 int ABSTRACT = 9; 45 int BOOLEAN = 10; 46 int BREAK = 11; 47 int BYTE = 12; 48 int CASE = 13; 49 int CATCH = 14; 50 int CHAR = 15; 51 int CLASS = 16; 52 int CONST = 17; 53 int CONTINUE = 18; 54 int _DEFAULT = 19; 55 int DO = 20; 56 int DOUBLE = 21; 57 int ELSE = 22; 58 int EXTENDS = 23; 59 int FALSE = 24; 60 int FINAL = 25; 61 int FINALLY = 26; 62 int FLOAT = 27; 63 int FOR = 28; 64 int GOTO = 29; 65 int IF = 30; 66 int IMPLEMENTS = 31; 67 int IMPORT = 32; 68 int INSTANCEOF = 33; 69 int INT = 34; 70 int INTERFACE = 35; 71 int LONG = 36; 72 int NATIVE = 37; 73 int NEW = 38; 74 int NULL = 39; 75 int PACKAGE = 40; 76 int PRIVATE = 41; 77 int PROTECTED = 42; 78 int PUBLIC = 43; 79 int RETURN = 44; 80 int SHORT = 45; 81 int STATIC = 46; 82 int SUPER = 47; 83 int SWITCH = 48; 84 int SYNCHRONIZED = 49; 85 int THIS = 50; 86 int THROW = 51; 87 int THROWS = 52; 88 int TRANSIENT = 53; 89 int TRUE = 54; 90 int TRY = 55; 91 int VOID = 56; 92 int VOLATILE = 57; 93 int WHILE = 58; 94 int INTEGER_LITERAL = 59; 95 int DECIMAL_LITERAL = 60; 96 int HEX_LITERAL = 61; 97 int OCTAL_LITERAL = 62; 98 int FLOATING_POINT_LITERAL = 63; 99 int EXPONENT = 64; 100 int CHARACTER_LITERAL = 65; 101 int STRING_LITERAL = 66; 102 int IDENTIFIER = 67; 103 int LETTER = 68; 104 int DIGIT = 69; 105 int LPAREN = 70; 106 int RPAREN = 71; 107 int LBRACE = 72; 108 int RBRACE = 73; 109 int LBRACKET = 74; 110 int RBRACKET = 75; 111 int SEMICOLON = 76; 112 int COMMA = 77; 113 int DOT = 78; 114 int ASSIGN = 79; 115 int GT = 80; 116 int LT = 81; 117 int BANG = 82; 118 int TILDE = 83; 119 int HOOK = 84; 120 int COLON = 85; 121 int EQ = 86; 122 int LE = 87; 123 int GE = 88; 124 int NE = 89; 125 int SC_OR = 90; 126 int SC_AND = 91; 127 int INCR = 92; 128 int DECR = 93; 129 int PLUS = 94; 130 int MINUS = 95; 131 int STAR = 96; 132 int SLASH = 97; 133 int BIT_AND = 98; 134 int BIT_OR = 99; 135 int XOR = 100; 136 int REM = 101; 137 int LSHIFT = 102; 138 int RSIGNEDSHIFT = 103; 139 int RUNSIGNEDSHIFT = 104; 140 int PLUSASSIGN = 105; 141 int MINUSASSIGN = 106; 142 int STARASSIGN = 107; 143 int SLASHASSIGN = 108; 144 int ANDASSIGN = 109; 145 int ORASSIGN = 110; 146 int XORASSIGN = 111; 147 int REMASSIGN = 112; 148 int LSHIFTASSIGN = 113; 149 int RSIGNEDSHIFTASSIGN = 114; 150 int RUNSIGNEDSHIFTASSIGN = 115; 151 152 int DEFAULT = 0; 153 154 String[] tokenImage = { 155 "<EOF>", 156 "\" \"", 157 "\"\\t\"", 158 "\"\\n\"", 159 "\"\\r\"", 160 "\"\\f\"", 161 "<SINGLE_LINE_COMMENT>", 162 "<FORMAL_COMMENT>", 163 "<MULTI_LINE_COMMENT>", 164 "\"abstract\"", 165 "\"boolean\"", 166 "\"break\"", 167 "\"byte\"", 168 "\"case\"", 169 "\"catch\"", 170 "\"char\"", 171 "\"class\"", 172 "\"const\"", 173 "\"continue\"", 174 "\"default\"", 175 "\"do\"", 176 "\"double\"", 177 "\"else\"", 178 "\"extends\"", 179 "\"false\"", 180 "\"final\"", 181 "\"finally\"", 182 "\"float\"", 183 "\"for\"", 184 "\"goto\"", 185 "\"if\"", 186 "\"implements\"", 187 "\"import\"", 188 "\"instanceof\"", 189 "\"int\"", 190 "\"interface\"", 191 "\"long\"", 192 "\"native\"", 193 "\"new\"", 194 "\"null\"", 195 "\"package\"", 196 "\"private\"", 197 "\"protected\"", 198 "\"public\"", 199 "\"return\"", 200 "\"short\"", 201 "\"static\"", 202 "\"super\"", 203 "\"switch\"", 204 "\"synchronized\"", 205 "\"this\"", 206 "\"throw\"", 207 "\"throws\"", 208 "\"transient\"", 209 "\"true\"", 210 "\"try\"", 211 "\"void\"", 212 "\"volatile\"", 213 "\"while\"", 214 "<INTEGER_LITERAL>", 215 "<DECIMAL_LITERAL>", 216 "<HEX_LITERAL>", 217 "<OCTAL_LITERAL>", 218 "<FLOATING_POINT_LITERAL>", 219 "<EXPONENT>", 220 "<CHARACTER_LITERAL>", 221 "<STRING_LITERAL>", 222 "<IDENTIFIER>", 223 "<LETTER>", 224 "<DIGIT>", 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 "\"*\"", 252 "\"/\"", 253 "\"&\"", 254 "\"|\"", 255 "\"^\"", 256 "\"%\"", 257 "\"<<\"", 258 "\">>\"", 259 "\">>>\"", 260 "\"+=\"", 261 "\"-=\"", 262 "\"*=\"", 263 "\"/=\"", 264 "\"&=\"", 265 "\"|=\"", 266 "\"^=\"", 267 "\"%=\"", 268 "\"<<=\"", 269 "\">>=\"", 270 "\">>>=\"", 271 }; 272 273 } 274