| JavaCCParserConstants.java |
1 /* Generated By:JavaCC: Do not edit this line. JavaCCParserConstants.java */
2 package jminusminus;
3
4
5 /**
6 * Token literal values and constants.
7 * Generated by org.javacc.parser.OtherFilesGen#start()
8 */
9 public interface JavaCCParserConstants {
10
11 /** End of File. */
12 int EOF = 0;
13 /** RegularExpression Id. */
14 int BEGIN_COMMENT = 6;
15 /** RegularExpression Id. */
16 int END_COMMENT = 7;
17 /** RegularExpression Id. */
18 int COMMENT = 8;
19 /** RegularExpression Id. */
20 int ABSTRACT = 9;
21 /** RegularExpression Id. */
22 int BOOLEAN = 10;
23 /** RegularExpression Id. */
24 int CHAR = 11;
25 /** RegularExpression Id. */
26 int CLASS = 12;
27 /** RegularExpression Id. */
28 int ELSE = 13;
29 /** RegularExpression Id. */
30 int EXTENDS = 14;
31 /** RegularExpression Id. */
32 int FALSE = 15;
33 /** RegularExpression Id. */
34 int IF = 16;
35 /** RegularExpression Id. */
36 int IMPORT = 17;
37 /** RegularExpression Id. */
38 int INSTANCEOF = 18;
39 /** RegularExpression Id. */
40 int INT = 19;
41 /** RegularExpression Id. */
42 int NEW = 20;
43 /** RegularExpression Id. */
44 int NULL = 21;
45 /** RegularExpression Id. */
46 int PACKAGE = 22;
47 /** RegularExpression Id. */
48 int PRIVATE = 23;
49 /** RegularExpression Id. */
50 int PROTECTED = 24;
51 /** RegularExpression Id. */
52 int PUBLIC = 25;
53 /** RegularExpression Id. */
54 int RETURN = 26;
55 /** RegularExpression Id. */
56 int STATIC = 27;
57 /** RegularExpression Id. */
58 int SUPER = 28;
59 /** RegularExpression Id. */
60 int THIS = 29;
61 /** RegularExpression Id. */
62 int TRUE = 30;
63 /** RegularExpression Id. */
64 int VOID = 31;
65 /** RegularExpression Id. */
66 int WHILE = 32;
67 /** RegularExpression Id. */
68 int COMMA = 33;
69 /** RegularExpression Id. */
70 int DOT = 34;
71 /** RegularExpression Id. */
72 int LBRACK = 35;
73 /** RegularExpression Id. */
74 int LCURLY = 36;
75 /** RegularExpression Id. */
76 int LPAREN = 37;
77 /** RegularExpression Id. */
78 int RPAREN = 38;
79 /** RegularExpression Id. */
80 int RBRACK = 39;
81 /** RegularExpression Id. */
82 int RCURLY = 40;
83 /** RegularExpression Id. */
84 int SEMI = 41;
85 /** RegularExpression Id. */
86 int ASSIGN = 42;
87 /** RegularExpression Id. */
88 int DEC = 43;
89 /** RegularExpression Id. */
90 int EQUAL = 44;
91 /** RegularExpression Id. */
92 int GT = 45;
93 /** RegularExpression Id. */
94 int INC = 46;
95 /** RegularExpression Id. */
96 int LAND = 47;
97 /** RegularExpression Id. */
98 int LE = 48;
99 /** RegularExpression Id. */
100 int LNOT = 49;
101 /** RegularExpression Id. */
102 int MINUS = 50;
103 /** RegularExpression Id. */
104 int PLUS = 51;
105 /** RegularExpression Id. */
106 int PLUS_ASSIGN = 52;
107 /** RegularExpression Id. */
108 int STAR = 53;
109 /** RegularExpression Id. */
110 int IDENTIFIER = 54;
111 /** RegularExpression Id. */
112 int LETTER = 55;
113 /** RegularExpression Id. */
114 int DIGIT = 56;
115 /** RegularExpression Id. */
116 int INT_LITERAL = 57;
117 /** RegularExpression Id. */
118 int CHAR_LITERAL = 58;
119 /** RegularExpression Id. */
120 int STRING_LITERAL = 59;
121 /** RegularExpression Id. */
122 int ESC = 60;
123 /** RegularExpression Id. */
124 int ERROR = 61;
125
126 /** Lexical state. */
127 int DEFAULT = 0;
128 /** Lexical state. */
129 int IN_SINGLE_LINE_COMMENT = 1;
130
131 /** Literal token values. */
132 String[] tokenImage = {
133 "<EOF>",
134 "\" \"",
135 "\"\\t\"",
136 "\"\\n\"",
137 "\"\\r\"",
138 "\"\\f\"",
139 "\"//\"",
140 "<END_COMMENT>",
141 "<COMMENT>",
142 "\"abstract\"",
143 "\"boolean\"",
144 "\"char\"",
145 "\"class\"",
146 "\"else\"",
147 "\"extends\"",
148 "\"false\"",
149 "\"if\"",
150 "\"import\"",
151 "\"instanceof\"",
152 "\"int\"",
153 "\"new\"",
154 "\"null\"",
155 "\"package\"",
156 "\"private\"",
157 "\"protected\"",
158 "\"public\"",
159 "\"return\"",
160 "\"static\"",
161 "\"super\"",
162 "\"this\"",
163 "\"true\"",
164 "\"void\"",
165 "\"while\"",
166 "\",\"",
167 "\".\"",
168 "\"[\"",
169 "\"{\"",
170 "\"(\"",
171 "\")\"",
172 "\"]\"",
173 "\"}\"",
174 "\";\"",
175 "\"=\"",
176 "\"--\"",
177 "\"==\"",
178 "\">\"",
179 "\"++\"",
180 "\"&&\"",
181 "\"<=\"",
182 "\"!\"",
183 "\"-\"",
184 "\"+\"",
185 "\"+=\"",
186 "\"*\"",
187 "<IDENTIFIER>",
188 "<LETTER>",
189 "<DIGIT>",
190 "<INT_LITERAL>",
191 "<CHAR_LITERAL>",
192 "<STRING_LITERAL>",
193 "<ESC>",
194 "<ERROR>",
195 };
196
197 }
198