History

My first initial commit with all of mine experimental changes.

Dmitry Kabak (userdima committed 13 years ago

Commit d37b88d1 parent 3f5b46618352 files · +2598093 −-8690Browse files

Showing the changes to java/pkg/com/sun/tools/example/debug/expr/ExpressionParserConstants.java (1 of 18352 files). Show all

Unified · Split

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