| /* |
| * Copyright (c) 1999, 2013, Oracle and/or its affiliates. All rights reserved. |
| * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
| * |
| * This code is free software; you can redistribute it and/or modify it |
| * under the terms of the GNU General Public License version 2 only, as |
| * published by the Free Software Foundation. Oracle designates this |
| * particular file as subject to the "Classpath" exception as provided |
| * by Oracle in the LICENSE file that accompanied this code. |
| * |
| * This code is distributed in the hope that it will be useful, but WITHOUT |
| * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or |
| * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License |
| * version 2 for more details (a copy is included in the LICENSE file that |
| * accompanied this code). |
| * |
| * You should have received a copy of the GNU General Public License version |
| * 2 along with this work; if not, write to the Free Software Foundation, |
| * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. |
| * |
| * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA |
| * or visit www.oracle.com if you need additional information or have any |
| * questions. |
| */ |
| |
| /* Generated By:JavaCC: Do not edit this line. ExpressionParserConstants.java */ |
| package com.sun.tools.example.debug.expr; |
| |
| |
| /** |
| * Token literal values and constants. |
| * Generated by org.javacc.parser.OtherFilesGen#start() |
| */ |
| public interface ExpressionParserConstants { |
| |
| /** End of File. */ |
| int EOF = 0; |
| /** RegularExpression Id. */ |
| int SINGLE_LINE_COMMENT = 6; |
| /** RegularExpression Id. */ |
| int FORMAL_COMMENT = 7; |
| /** RegularExpression Id. */ |
| int MULTI_LINE_COMMENT = 8; |
| /** RegularExpression Id. */ |
| int ABSTRACT = 9; |
| /** RegularExpression Id. */ |
| int BOOLEAN = 10; |
| /** RegularExpression Id. */ |
| int BREAK = 11; |
| /** RegularExpression Id. */ |
| int BYTE = 12; |
| /** RegularExpression Id. */ |
| int CASE = 13; |
| /** RegularExpression Id. */ |
| int CATCH = 14; |
| /** RegularExpression Id. */ |
| int CHAR = 15; |
| /** RegularExpression Id. */ |
| int CLASS = 16; |
| /** RegularExpression Id. */ |
| int CONST = 17; |
| /** RegularExpression Id. */ |
| int CONTINUE = 18; |
| /** RegularExpression Id. */ |
| int _DEFAULT = 19; |
| /** RegularExpression Id. */ |
| int DO = 20; |
| /** RegularExpression Id. */ |
| int DOUBLE = 21; |
| /** RegularExpression Id. */ |
| int ELSE = 22; |
| /** RegularExpression Id. */ |
| int EXTENDS = 23; |
| /** RegularExpression Id. */ |
| int FALSE = 24; |
| /** RegularExpression Id. */ |
| int FINAL = 25; |
| /** RegularExpression Id. */ |
| int FINALLY = 26; |
| /** RegularExpression Id. */ |
| int FLOAT = 27; |
| /** RegularExpression Id. */ |
| int FOR = 28; |
| /** RegularExpression Id. */ |
| int GOTO = 29; |
| /** RegularExpression Id. */ |
| int IF = 30; |
| /** RegularExpression Id. */ |
| int IMPLEMENTS = 31; |
| /** RegularExpression Id. */ |
| int IMPORT = 32; |
| /** RegularExpression Id. */ |
| int INSTANCEOF = 33; |
| /** RegularExpression Id. */ |
| int INT = 34; |
| /** RegularExpression Id. */ |
| int INTERFACE = 35; |
| /** RegularExpression Id. */ |
| int LONG = 36; |
| /** RegularExpression Id. */ |
| int NATIVE = 37; |
| /** RegularExpression Id. */ |
| int NEW = 38; |
| /** RegularExpression Id. */ |
| int NULL = 39; |
| /** RegularExpression Id. */ |
| int PACKAGE = 40; |
| /** RegularExpression Id. */ |
| int PRIVATE = 41; |
| /** RegularExpression Id. */ |
| int PROTECTED = 42; |
| /** RegularExpression Id. */ |
| int PUBLIC = 43; |
| /** RegularExpression Id. */ |
| int RETURN = 44; |
| /** RegularExpression Id. */ |
| int SHORT = 45; |
| /** RegularExpression Id. */ |
| int STATIC = 46; |
| /** RegularExpression Id. */ |
| int SUPER = 47; |
| /** RegularExpression Id. */ |
| int SWITCH = 48; |
| /** RegularExpression Id. */ |
| int SYNCHRONIZED = 49; |
| /** RegularExpression Id. */ |
| int THIS = 50; |
| /** RegularExpression Id. */ |
| int THROW = 51; |
| /** RegularExpression Id. */ |
| int THROWS = 52; |
| /** RegularExpression Id. */ |
| int TRANSIENT = 53; |
| /** RegularExpression Id. */ |
| int TRUE = 54; |
| /** RegularExpression Id. */ |
| int TRY = 55; |
| /** RegularExpression Id. */ |
| int VOID = 56; |
| /** RegularExpression Id. */ |
| int VOLATILE = 57; |
| /** RegularExpression Id. */ |
| int WHILE = 58; |
| /** RegularExpression Id. */ |
| int INTEGER_LITERAL = 59; |
| /** RegularExpression Id. */ |
| int DECIMAL_LITERAL = 60; |
| /** RegularExpression Id. */ |
| int HEX_LITERAL = 61; |
| /** RegularExpression Id. */ |
| int OCTAL_LITERAL = 62; |
| /** RegularExpression Id. */ |
| int FLOATING_POINT_LITERAL = 63; |
| /** RegularExpression Id. */ |
| int EXPONENT = 64; |
| /** RegularExpression Id. */ |
| int CHARACTER_LITERAL = 65; |
| /** RegularExpression Id. */ |
| int STRING_LITERAL = 66; |
| /** RegularExpression Id. */ |
| int IDENTIFIER = 67; |
| /** RegularExpression Id. */ |
| int LETTER = 68; |
| /** RegularExpression Id. */ |
| int DIGIT = 69; |
| /** RegularExpression Id. */ |
| int LPAREN = 70; |
| /** RegularExpression Id. */ |
| int RPAREN = 71; |
| /** RegularExpression Id. */ |
| int LBRACE = 72; |
| /** RegularExpression Id. */ |
| int RBRACE = 73; |
| /** RegularExpression Id. */ |
| int LBRACKET = 74; |
| /** RegularExpression Id. */ |
| int RBRACKET = 75; |
| /** RegularExpression Id. */ |
| int SEMICOLON = 76; |
| /** RegularExpression Id. */ |
| int COMMA = 77; |
| /** RegularExpression Id. */ |
| int DOT = 78; |
| /** RegularExpression Id. */ |
| int ASSIGN = 79; |
| /** RegularExpression Id. */ |
| int GT = 80; |
| /** RegularExpression Id. */ |
| int LT = 81; |
| /** RegularExpression Id. */ |
| int BANG = 82; |
| /** RegularExpression Id. */ |
| int TILDE = 83; |
| /** RegularExpression Id. */ |
| int HOOK = 84; |
| /** RegularExpression Id. */ |
| int COLON = 85; |
| /** RegularExpression Id. */ |
| int EQ = 86; |
| /** RegularExpression Id. */ |
| int LE = 87; |
| /** RegularExpression Id. */ |
| int GE = 88; |
| /** RegularExpression Id. */ |
| int NE = 89; |
| /** RegularExpression Id. */ |
| int SC_OR = 90; |
| /** RegularExpression Id. */ |
| int SC_AND = 91; |
| /** RegularExpression Id. */ |
| int INCR = 92; |
| /** RegularExpression Id. */ |
| int DECR = 93; |
| /** RegularExpression Id. */ |
| int PLUS = 94; |
| /** RegularExpression Id. */ |
| int MINUS = 95; |
| /** RegularExpression Id. */ |
| int STAR = 96; |
| /** RegularExpression Id. */ |
| int SLASH = 97; |
| /** RegularExpression Id. */ |
| int BIT_AND = 98; |
| /** RegularExpression Id. */ |
| int BIT_OR = 99; |
| /** RegularExpression Id. */ |
| int XOR = 100; |
| /** RegularExpression Id. */ |
| int REM = 101; |
| /** RegularExpression Id. */ |
| int LSHIFT = 102; |
| /** RegularExpression Id. */ |
| int RSIGNEDSHIFT = 103; |
| /** RegularExpression Id. */ |
| int RUNSIGNEDSHIFT = 104; |
| /** RegularExpression Id. */ |
| int PLUSASSIGN = 105; |
| /** RegularExpression Id. */ |
| int MINUSASSIGN = 106; |
| /** RegularExpression Id. */ |
| int STARASSIGN = 107; |
| /** RegularExpression Id. */ |
| int SLASHASSIGN = 108; |
| /** RegularExpression Id. */ |
| int ANDASSIGN = 109; |
| /** RegularExpression Id. */ |
| int ORASSIGN = 110; |
| /** RegularExpression Id. */ |
| int XORASSIGN = 111; |
| /** RegularExpression Id. */ |
| int REMASSIGN = 112; |
| /** RegularExpression Id. */ |
| int LSHIFTASSIGN = 113; |
| /** RegularExpression Id. */ |
| int RSIGNEDSHIFTASSIGN = 114; |
| /** RegularExpression Id. */ |
| int RUNSIGNEDSHIFTASSIGN = 115; |
| |
| /** Lexical state. */ |
| int DEFAULT = 0; |
| |
| /** Literal token values. */ |
| String[] tokenImage = { |
| "<EOF>", |
| "\" \"", |
| "\"\\t\"", |
| "\"\\n\"", |
| "\"\\r\"", |
| "\"\\f\"", |
| "<SINGLE_LINE_COMMENT>", |
| "<FORMAL_COMMENT>", |
| "<MULTI_LINE_COMMENT>", |
| "\"abstract\"", |
| "\"boolean\"", |
| "\"break\"", |
| "\"byte\"", |
| "\"case\"", |
| "\"catch\"", |
| "\"char\"", |
| "\"class\"", |
| "\"const\"", |
| "\"continue\"", |
| "\"default\"", |
| "\"do\"", |
| "\"double\"", |
| "\"else\"", |
| "\"extends\"", |
| "\"false\"", |
| "\"final\"", |
| "\"finally\"", |
| "\"float\"", |
| "\"for\"", |
| "\"goto\"", |
| "\"if\"", |
| "\"implements\"", |
| "\"import\"", |
| "\"instanceof\"", |
| "\"int\"", |
| "\"interface\"", |
| "\"long\"", |
| "\"native\"", |
| "\"new\"", |
| "\"null\"", |
| "\"package\"", |
| "\"private\"", |
| "\"protected\"", |
| "\"public\"", |
| "\"return\"", |
| "\"short\"", |
| "\"static\"", |
| "\"super\"", |
| "\"switch\"", |
| "\"synchronized\"", |
| "\"this\"", |
| "\"throw\"", |
| "\"throws\"", |
| "\"transient\"", |
| "\"true\"", |
| "\"try\"", |
| "\"void\"", |
| "\"volatile\"", |
| "\"while\"", |
| "<INTEGER_LITERAL>", |
| "<DECIMAL_LITERAL>", |
| "<HEX_LITERAL>", |
| "<OCTAL_LITERAL>", |
| "<FLOATING_POINT_LITERAL>", |
| "<EXPONENT>", |
| "<CHARACTER_LITERAL>", |
| "<STRING_LITERAL>", |
| "<IDENTIFIER>", |
| "<LETTER>", |
| "<DIGIT>", |
| "\"(\"", |
| "\")\"", |
| "\"{\"", |
| "\"}\"", |
| "\"[\"", |
| "\"]\"", |
| "\";\"", |
| "\",\"", |
| "\".\"", |
| "\"=\"", |
| "\">\"", |
| "\"<\"", |
| "\"!\"", |
| "\"~\"", |
| "\"?\"", |
| "\":\"", |
| "\"==\"", |
| "\"<=\"", |
| "\">=\"", |
| "\"!=\"", |
| "\"||\"", |
| "\"&&\"", |
| "\"++\"", |
| "\"--\"", |
| "\"+\"", |
| "\"-\"", |
| "\"*\"", |
| "\"/\"", |
| "\"&\"", |
| "\"|\"", |
| "\"^\"", |
| "\"%\"", |
| "\"<<\"", |
| "\">>\"", |
| "\">>>\"", |
| "\"+=\"", |
| "\"-=\"", |
| "\"*=\"", |
| "\"/=\"", |
| "\"&=\"", |
| "\"|=\"", |
| "\"^=\"", |
| "\"%=\"", |
| "\"<<=\"", |
| "\">>=\"", |
| "\">>>=\"", |
| }; |
| |
| } |