1 |
| |
2 |
| package net.sourceforge.pmd.cpd.cppast; |
3 |
| |
4 |
| public class CPPParserTokenManager implements CPPParserConstants |
5 |
| { |
6 |
| public java.io.PrintStream debugStream = System.out; |
7 |
0
| public void setDebugStream(java.io.PrintStream ds) { debugStream = ds; }
|
8 |
3
| private final int jjStopStringLiteralDfa_0(int pos, long active0, long active1, long active2)
|
9 |
| { |
10 |
3
| switch (pos)
|
11 |
| { |
12 |
3
| case 0:
|
13 |
3
| if ((active1 & 0x7fffffffffffeL) != 0L || (active2 & 0x8L) != 0L)
|
14 |
| { |
15 |
0
| jjmatchedKind = 132;
|
16 |
0
| return 33;
|
17 |
| } |
18 |
3
| if ((active0 & 0xa000000008000000L) != 0L)
|
19 |
0
| return 1;
|
20 |
3
| return -1;
|
21 |
0
| case 1:
|
22 |
0
| if ((active1 & 0x80c00L) != 0L)
|
23 |
0
| return 33;
|
24 |
0
| if ((active1 & 0x7fffffff7f3feL) != 0L || (active2 & 0x8L) != 0L)
|
25 |
| { |
26 |
0
| if (jjmatchedPos != 1)
|
27 |
| { |
28 |
0
| jjmatchedKind = 132;
|
29 |
0
| jjmatchedPos = 1;
|
30 |
| } |
31 |
0
| return 33;
|
32 |
| } |
33 |
0
| return -1;
|
34 |
0
| case 2:
|
35 |
0
| if ((active1 & 0x8000a10000L) != 0L)
|
36 |
0
| return 33;
|
37 |
0
| if ((active1 & 0x7ff7fff56fbfeL) != 0L || (active2 & 0x8L) != 0L)
|
38 |
| { |
39 |
0
| jjmatchedKind = 132;
|
40 |
0
| jjmatchedPos = 2;
|
41 |
0
| return 33;
|
42 |
| } |
43 |
0
| return -1;
|
44 |
0
| case 3:
|
45 |
0
| if ((active1 & 0x6ef3fff12cbd4L) != 0L || (active2 & 0x8L) != 0L)
|
46 |
| { |
47 |
0
| jjmatchedKind = 132;
|
48 |
0
| jjmatchedPos = 3;
|
49 |
0
| return 33;
|
50 |
| } |
51 |
0
| if ((active1 & 0x110400044302aL) != 0L)
|
52 |
0
| return 33;
|
53 |
0
| return -1;
|
54 |
0
| case 4:
|
55 |
0
| if ((active1 & 0xad37bf124b80L) != 0L || (active2 & 0x8L) != 0L)
|
56 |
| { |
57 |
0
| jjmatchedKind = 132;
|
58 |
0
| jjmatchedPos = 4;
|
59 |
0
| return 33;
|
60 |
| } |
61 |
0
| if ((active1 & 0x6420840008054L) != 0L)
|
62 |
0
| return 33;
|
63 |
0
| return -1;
|
64 |
0
| case 5:
|
65 |
0
| if ((active1 & 0x17a4124a00L) != 0L)
|
66 |
0
| return 33;
|
67 |
0
| if ((active1 & 0xad201b000180L) != 0L || (active2 & 0x8L) != 0L)
|
68 |
| { |
69 |
0
| jjmatchedKind = 132;
|
70 |
0
| jjmatchedPos = 5;
|
71 |
0
| return 33;
|
72 |
| } |
73 |
0
| return -1;
|
74 |
0
| case 6:
|
75 |
0
| if ((active1 & 0x90001000100L) != 0L || (active2 & 0x8L) != 0L)
|
76 |
0
| return 33;
|
77 |
0
| if ((active1 & 0xa4201a000080L) != 0L)
|
78 |
| { |
79 |
0
| jjmatchedKind = 132;
|
80 |
0
| jjmatchedPos = 6;
|
81 |
0
| return 33;
|
82 |
| } |
83 |
0
| return -1;
|
84 |
0
| case 7:
|
85 |
0
| if ((active1 & 0xa000000L) != 0L)
|
86 |
| { |
87 |
0
| jjmatchedKind = 132;
|
88 |
0
| jjmatchedPos = 7;
|
89 |
0
| return 33;
|
90 |
| } |
91 |
0
| if ((active1 & 0xa42010000080L) != 0L)
|
92 |
0
| return 33;
|
93 |
0
| return -1;
|
94 |
0
| case 8:
|
95 |
0
| if ((active1 & 0x2000000L) != 0L)
|
96 |
0
| return 33;
|
97 |
0
| if ((active1 & 0x8000000L) != 0L)
|
98 |
| { |
99 |
0
| jjmatchedKind = 132;
|
100 |
0
| jjmatchedPos = 8;
|
101 |
0
| return 33;
|
102 |
| } |
103 |
0
| return -1;
|
104 |
0
| default :
|
105 |
0
| return -1;
|
106 |
| } |
107 |
| } |
108 |
3
| private final int jjStartNfa_0(int pos, long active0, long active1, long active2)
|
109 |
| { |
110 |
3
| return jjMoveNfa_0(jjStopStringLiteralDfa_0(pos, active0, active1, active2), pos + 1);
|
111 |
| } |
112 |
27
| private final int jjStopAtPos(int pos, int kind)
|
113 |
| { |
114 |
27
| jjmatchedKind = kind;
|
115 |
27
| jjmatchedPos = pos;
|
116 |
27
| return pos + 1;
|
117 |
| } |
118 |
7
| private final int jjStartNfaWithStates_0(int pos, int kind, int state)
|
119 |
| { |
120 |
7
| jjmatchedKind = kind;
|
121 |
7
| jjmatchedPos = pos;
|
122 |
7
| try { curChar = input_stream.readChar(); }
|
123 |
0
| catch(java.io.IOException e) { return pos + 1; }
|
124 |
7
| return jjMoveNfa_0(state, pos + 1);
|
125 |
| } |
126 |
40
| private final int jjMoveStringLiteralDfa0_0()
|
127 |
| { |
128 |
40
| switch(curChar)
|
129 |
| { |
130 |
0
| case 13:
|
131 |
0
| return jjMoveStringLiteralDfa1_0(0x8L, 0x0L, 0x0L);
|
132 |
0
| case 33:
|
133 |
0
| jjmatchedKind = 60;
|
134 |
0
| return jjMoveStringLiteralDfa1_0(0x200000000000L, 0x0L, 0x0L);
|
135 |
1
| case 35:
|
136 |
1
| return jjStopAtPos(0, 7);
|
137 |
0
| case 37:
|
138 |
0
| jjmatchedKind = 56;
|
139 |
0
| return jjMoveStringLiteralDfa1_0(0x80000000L, 0x0L, 0x0L);
|
140 |
0
| case 38:
|
141 |
0
| jjmatchedKind = 43;
|
142 |
0
| return jjMoveStringLiteralDfa1_0(0x11000000000L, 0x0L, 0x0L);
|
143 |
4
| case 40:
|
144 |
4
| return jjStopAtPos(0, 20);
|
145 |
4
| case 41:
|
146 |
4
| return jjStopAtPos(0, 21);
|
147 |
0
| case 42:
|
148 |
0
| jjmatchedKind = 54;
|
149 |
0
| return jjMoveStringLiteralDfa1_0(0x20000000L, 0x0L, 0x0L);
|
150 |
0
| case 43:
|
151 |
0
| jjmatchedKind = 52;
|
152 |
0
| return jjMoveStringLiteralDfa1_0(0x200000100000000L, 0x0L, 0x0L);
|
153 |
0
| case 44:
|
154 |
0
| return jjStopAtPos(0, 25);
|
155 |
0
| case 45:
|
156 |
0
| jjmatchedKind = 53;
|
157 |
0
| return jjMoveStringLiteralDfa1_0(0x4400000200000000L, 0x1L, 0x0L);
|
158 |
0
| case 46:
|
159 |
0
| jjmatchedKind = 61;
|
160 |
0
| return jjMoveStringLiteralDfa1_0(0x8000000008000000L, 0x0L, 0x0L);
|
161 |
0
| case 47:
|
162 |
0
| jjmatchedKind = 55;
|
163 |
0
| return jjMoveStringLiteralDfa1_0(0x40000060L, 0x0L, 0x0L);
|
164 |
0
| case 58:
|
165 |
0
| jjmatchedKind = 23;
|
166 |
0
| return jjMoveStringLiteralDfa1_0(0x400000L, 0x0L, 0x0L);
|
167 |
3
| case 59:
|
168 |
3
| return jjStopAtPos(0, 24);
|
169 |
0
| case 60:
|
170 |
0
| jjmatchedKind = 46;
|
171 |
0
| return jjMoveStringLiteralDfa1_0(0x5000400000000L, 0x0L, 0x0L);
|
172 |
3
| case 61:
|
173 |
3
| jjmatchedKind = 28;
|
174 |
3
| return jjMoveStringLiteralDfa1_0(0x100000000000L, 0x0L, 0x0L);
|
175 |
0
| case 62:
|
176 |
0
| jjmatchedKind = 47;
|
177 |
0
| return jjMoveStringLiteralDfa1_0(0xa000800000000L, 0x0L, 0x0L);
|
178 |
0
| case 63:
|
179 |
0
| return jjStopAtPos(0, 26);
|
180 |
0
| case 91:
|
181 |
0
| return jjStopAtPos(0, 18);
|
182 |
0
| case 93:
|
183 |
0
| return jjStopAtPos(0, 19);
|
184 |
0
| case 94:
|
185 |
0
| jjmatchedKind = 42;
|
186 |
0
| return jjMoveStringLiteralDfa1_0(0x2000000000L, 0x0L, 0x0L);
|
187 |
0
| case 97:
|
188 |
0
| return jjMoveStringLiteralDfa1_0(0x0L, 0x2L, 0x0L);
|
189 |
0
| case 98:
|
190 |
0
| return jjMoveStringLiteralDfa1_0(0x0L, 0x4L, 0x0L);
|
191 |
1
| case 99:
|
192 |
1
| return jjMoveStringLiteralDfa1_0(0x0L, 0x8000000f8L, 0x0L);
|
193 |
0
| case 100:
|
194 |
0
| return jjMoveStringLiteralDfa1_0(0x0L, 0xf00L, 0x0L);
|
195 |
0
| case 101:
|
196 |
0
| return jjMoveStringLiteralDfa1_0(0x0L, 0x7000L, 0x0L);
|
197 |
0
| case 102:
|
198 |
0
| return jjMoveStringLiteralDfa1_0(0x0L, 0x2000000038000L, 0x8L);
|
199 |
0
| case 103:
|
200 |
0
| return jjMoveStringLiteralDfa1_0(0x0L, 0x40000L, 0x0L);
|
201 |
2
| case 105:
|
202 |
2
| return jjMoveStringLiteralDfa1_0(0x0L, 0x380000L, 0x0L);
|
203 |
0
| case 108:
|
204 |
0
| return jjMoveStringLiteralDfa1_0(0x0L, 0x400000L, 0x0L);
|
205 |
0
| case 110:
|
206 |
0
| return jjMoveStringLiteralDfa1_0(0x0L, 0x800000L, 0x0L);
|
207 |
0
| case 111:
|
208 |
0
| return jjMoveStringLiteralDfa1_0(0x0L, 0x800000000000L, 0x0L);
|
209 |
0
| case 112:
|
210 |
0
| return jjMoveStringLiteralDfa1_0(0x0L, 0x7000000L, 0x0L);
|
211 |
0
| case 114:
|
212 |
0
| return jjMoveStringLiteralDfa1_0(0x0L, 0x38000000L, 0x0L);
|
213 |
0
| case 115:
|
214 |
0
| return jjMoveStringLiteralDfa1_0(0x0L, 0x17c0000000L, 0x0L);
|
215 |
0
| case 116:
|
216 |
0
| return jjMoveStringLiteralDfa1_0(0x0L, 0x501e000000000L, 0x0L);
|
217 |
0
| case 117:
|
218 |
0
| return jjMoveStringLiteralDfa1_0(0x0L, 0x60000000000L, 0x0L);
|
219 |
4
| case 118:
|
220 |
4
| return jjMoveStringLiteralDfa1_0(0x0L, 0x380000000000L, 0x0L);
|
221 |
0
| case 119:
|
222 |
0
| return jjMoveStringLiteralDfa1_0(0x0L, 0x400000000000L, 0x0L);
|
223 |
4
| case 123:
|
224 |
4
| return jjStopAtPos(0, 16);
|
225 |
0
| case 124:
|
226 |
0
| jjmatchedKind = 41;
|
227 |
0
| return jjMoveStringLiteralDfa1_0(0xc000000000L, 0x0L, 0x0L);
|
228 |
4
| case 125:
|
229 |
4
| return jjStopAtPos(0, 17);
|
230 |
0
| case 126:
|
231 |
0
| return jjStopAtPos(0, 59);
|
232 |
10
| default :
|
233 |
10
| return jjMoveNfa_0(32, 0);
|
234 |
| } |
235 |
| } |
236 |
10
| private final int jjMoveStringLiteralDfa1_0(long active0, long active1, long active2)
|
237 |
| { |
238 |
10
| try { curChar = input_stream.readChar(); }
|
239 |
| catch(java.io.IOException e) { |
240 |
0
| jjStopStringLiteralDfa_0(0, active0, active1, active2);
|
241 |
0
| return 1;
|
242 |
| } |
243 |
10
| switch(curChar)
|
244 |
| { |
245 |
0
| case 10:
|
246 |
0
| if ((active0 & 0x8L) != 0L)
|
247 |
0
| return jjStopAtPos(1, 3);
|
248 |
0
| break;
|
249 |
0
| case 38:
|
250 |
0
| if ((active0 & 0x10000000000L) != 0L)
|
251 |
0
| return jjStopAtPos(1, 40);
|
252 |
0
| break;
|
253 |
0
| case 42:
|
254 |
0
| if ((active0 & 0x40L) != 0L)
|
255 |
0
| return jjStopAtPos(1, 6);
|
256 |
0
| else if ((active0 & 0x8000000000000000L) != 0L)
|
257 |
0
| return jjStopAtPos(1, 63);
|
258 |
0
| break;
|
259 |
0
| case 43:
|
260 |
0
| if ((active0 & 0x200000000000000L) != 0L)
|
261 |
0
| return jjStopAtPos(1, 57);
|
262 |
0
| break;
|
263 |
0
| case 45:
|
264 |
0
| if ((active0 & 0x400000000000000L) != 0L)
|
265 |
0
| return jjStopAtPos(1, 58);
|
266 |
0
| break;
|
267 |
0
| case 46:
|
268 |
0
| return jjMoveStringLiteralDfa2_0(active0, 0x8000000L, active1, 0L, active2, 0L);
|
269 |
0
| case 47:
|
270 |
0
| if ((active0 & 0x20L) != 0L)
|
271 |
0
| return jjStopAtPos(1, 5);
|
272 |
0
| break;
|
273 |
0
| case 58:
|
274 |
0
| if ((active0 & 0x400000L) != 0L)
|
275 |
0
| return jjStopAtPos(1, 22);
|
276 |
0
| break;
|
277 |
0
| case 60:
|
278 |
0
| if ((active0 & 0x4000000000000L) != 0L)
|
279 |
| { |
280 |
0
| jjmatchedKind = 50;
|
281 |
0
| jjmatchedPos = 1;
|
282 |
| } |
283 |
0
| return jjMoveStringLiteralDfa2_0(active0, 0x400000000L, active1, 0L, active2, 0L);
|
284 |
0
| case 61:
|
285 |
0
| if ((active0 & 0x20000000L) != 0L)
|
286 |
0
| return jjStopAtPos(1, 29);
|
287 |
0
| else if ((active0 & 0x40000000L) != 0L)
|
288 |
0
| return jjStopAtPos(1, 30);
|
289 |
0
| else if ((active0 & 0x80000000L) != 0L)
|
290 |
0
| return jjStopAtPos(1, 31);
|
291 |
0
| else if ((active0 & 0x100000000L) != 0L)
|
292 |
0
| return jjStopAtPos(1, 32);
|
293 |
0
| else if ((active0 & 0x200000000L) != 0L)
|
294 |
0
| return jjStopAtPos(1, 33);
|
295 |
0
| else if ((active0 & 0x1000000000L) != 0L)
|
296 |
0
| return jjStopAtPos(1, 36);
|
297 |
0
| else if ((active0 & 0x2000000000L) != 0L)
|
298 |
0
| return jjStopAtPos(1, 37);
|
299 |
0
| else if ((active0 & 0x4000000000L) != 0L)
|
300 |
0
| return jjStopAtPos(1, 38);
|
301 |
0
| else if ((active0 & 0x100000000000L) != 0L)
|
302 |
0
| return jjStopAtPos(1, 44);
|
303 |
0
| else if ((active0 & 0x200000000000L) != 0L)
|
304 |
0
| return jjStopAtPos(1, 45);
|
305 |
0
| else if ((active0 & 0x1000000000000L) != 0L)
|
306 |
0
| return jjStopAtPos(1, 48);
|
307 |
0
| else if ((active0 & 0x2000000000000L) != 0L)
|
308 |
0
| return jjStopAtPos(1, 49);
|
309 |
0
| break;
|
310 |
0
| case 62:
|
311 |
0
| if ((active0 & 0x8000000000000L) != 0L)
|
312 |
| { |
313 |
0
| jjmatchedKind = 51;
|
314 |
0
| jjmatchedPos = 1;
|
315 |
| } |
316 |
0
| else if ((active0 & 0x4000000000000000L) != 0L)
|
317 |
| { |
318 |
0
| jjmatchedKind = 62;
|
319 |
0
| jjmatchedPos = 1;
|
320 |
| } |
321 |
0
| return jjMoveStringLiteralDfa2_0(active0, 0x800000000L, active1, 0x1L, active2, 0L);
|
322 |
0
| case 97:
|
323 |
0
| return jjMoveStringLiteralDfa2_0(active0, 0L, active1, 0x2000000000018L, active2, 0L);
|
324 |
0
| case 101:
|
325 |
0
| return jjMoveStringLiteralDfa2_0(active0, 0L, active1, 0x2038800300L, active2, 0L);
|
326 |
0
| case 102:
|
327 |
0
| if ((active1 & 0x80000L) != 0L)
|
328 |
0
| return jjStartNfaWithStates_0(1, 83, 33);
|
329 |
0
| break;
|
330 |
1
| case 104:
|
331 |
1
| return jjMoveStringLiteralDfa2_0(active0, 0L, active1, 0x4404040000020L, active2, 0L);
|
332 |
0
| case 105:
|
333 |
0
| return jjMoveStringLiteralDfa2_0(active0, 0L, active1, 0x80180000000L, active2, 0x8L);
|
334 |
0
| case 108:
|
335 |
0
| return jjMoveStringLiteralDfa2_0(active0, 0L, active1, 0x800009000L, active2, 0L);
|
336 |
2
| case 110:
|
337 |
2
| return jjMoveStringLiteralDfa2_0(active0, 0L, active1, 0x60000302000L, active2, 0L);
|
338 |
4
| case 111:
|
339 |
4
| if ((active1 & 0x400L) != 0L)
|
340 |
| { |
341 |
0
| jjmatchedKind = 74;
|
342 |
0
| jjmatchedPos = 1;
|
343 |
| } |
344 |
4
| return jjMoveStringLiteralDfa2_0(active0, 0L, active1, 0x3000004508c0L, active2, 0L);
|
345 |
0
| case 112:
|
346 |
0
| return jjMoveStringLiteralDfa2_0(active0, 0L, active1, 0x800000000000L, active2, 0L);
|
347 |
0
| case 114:
|
348 |
0
| return jjMoveStringLiteralDfa2_0(active0, 0L, active1, 0x1008003020004L, active2, 0L);
|
349 |
0
| case 116:
|
350 |
0
| return jjMoveStringLiteralDfa2_0(active0, 0L, active1, 0x600000000L, active2, 0L);
|
351 |
0
| case 117:
|
352 |
0
| return jjMoveStringLiteralDfa2_0(active0, 0L, active1, 0x4000002L, active2, 0L);
|
353 |
0
| case 119:
|
354 |
0
| return jjMoveStringLiteralDfa2_0(active0, 0L, active1, 0x1000000000L, active2, 0L);
|
355 |
0
| case 120:
|
356 |
0
| return jjMoveStringLiteralDfa2_0(active0, 0L, active1, 0x4000L, active2, 0L);
|
357 |
0
| case 121:
|
358 |
0
| return jjMoveStringLiteralDfa2_0(active0, 0L, active1, 0x10000000000L, active2, 0L);
|
359 |
0
| case 124:
|
360 |
0
| if ((active0 & 0x8000000000L) != 0L)
|
361 |
0
| return jjStopAtPos(1, 39);
|
362 |
0
| break;
|
363 |
3
| default :
|
364 |
3
| break;
|
365 |
| } |
366 |
3
| return jjStartNfa_0(0, active0, active1, active2);
|
367 |
| } |
368 |
7
| private final int jjMoveStringLiteralDfa2_0(long old0, long active0, long old1, long active1, long old2, long active2)
|
369 |
| { |
370 |
7
| if (((active0 &= old0) | (active1 &= old1) | (active2 &= old2)) == 0L)
|
371 |
0
| return jjStartNfa_0(0, old0, old1, old2);
|
372 |
7
| try { curChar = input_stream.readChar(); }
|
373 |
| catch(java.io.IOException e) { |
374 |
0
| jjStopStringLiteralDfa_0(1, active0, active1, active2);
|
375 |
0
| return 2;
|
376 |
| } |
377 |
7
| switch(curChar)
|
378 |
| { |
379 |
0
| case 42:
|
380 |
0
| if ((active1 & 0x1L) != 0L)
|
381 |
0
| return jjStopAtPos(2, 64);
|
382 |
0
| break;
|
383 |
0
| case 46:
|
384 |
0
| if ((active0 & 0x8000000L) != 0L)
|
385 |
0
| return jjStopAtPos(2, 27);
|
386 |
0
| break;
|
387 |
0
| case 61:
|
388 |
0
| if ((active0 & 0x400000000L) != 0L)
|
389 |
0
| return jjStopAtPos(2, 34);
|
390 |
0
| else if ((active0 & 0x800000000L) != 0L)
|
391 |
0
| return jjStopAtPos(2, 35);
|
392 |
0
| break;
|
393 |
1
| case 97:
|
394 |
1
| return jjMoveStringLiteralDfa3_0(active0, 0L, active1, 0xa00000020L, active2, 0L);
|
395 |
0
| case 98:
|
396 |
0
| return jjMoveStringLiteralDfa3_0(active0, 0L, active1, 0x4000000L, active2, 0L);
|
397 |
0
| case 100:
|
398 |
0
| return jjMoveStringLiteralDfa3_0(active0, 0L, active1, 0x8000000L, active2, 0L);
|
399 |
0
| case 101:
|
400 |
0
| return jjMoveStringLiteralDfa3_0(active0, 0L, active1, 0x800000000004L, active2, 0L);
|
401 |
0
| case 102:
|
402 |
0
| return jjMoveStringLiteralDfa3_0(active0, 0L, active1, 0x100L, active2, 0L);
|
403 |
0
| case 103:
|
404 |
0
| return jjMoveStringLiteralDfa3_0(active0, 0L, active1, 0x90000000L, active2, 0L);
|
405 |
4
| case 105:
|
406 |
4
| return jjMoveStringLiteralDfa3_0(active0, 0L, active1, 0x525001020000L, active2, 0L);
|
407 |
0
| case 108:
|
408 |
0
| return jjMoveStringLiteralDfa3_0(active0, 0L, active1, 0x2200000100200L, active2, 0L);
|
409 |
0
| case 109:
|
410 |
0
| return jjMoveStringLiteralDfa3_0(active0, 0L, active1, 0x2000000000L, active2, 0L);
|
411 |
0
| case 110:
|
412 |
0
| return jjMoveStringLiteralDfa3_0(active0, 0L, active1, 0x4000c0L, active2, 0x8L);
|
413 |
0
| case 111:
|
414 |
0
| return jjMoveStringLiteralDfa3_0(active0, 0L, active1, 0x42008000L, active2, 0L);
|
415 |
0
| case 112:
|
416 |
0
| return jjMoveStringLiteralDfa3_0(active0, 0L, active1, 0x10000000000L, active2, 0L);
|
417 |
0
| case 114:
|
418 |
0
| if ((active1 & 0x10000L) != 0L)
|
419 |
0
| return jjStartNfaWithStates_0(2, 80, 33);
|
420 |
0
| return jjMoveStringLiteralDfa3_0(active0, 0L, active1, 0x4080400000000L, active2, 0L);
|
421 |
0
| case 115:
|
422 |
0
| return jjMoveStringLiteralDfa3_0(active0, 0L, active1, 0x40000001008L, active2, 0L);
|
423 |
2
| case 116:
|
424 |
2
| if ((active1 & 0x200000L) != 0L)
|
425 |
2
| return jjStartNfaWithStates_0(2, 85, 33);
|
426 |
0
| return jjMoveStringLiteralDfa3_0(active0, 0L, active1, 0x20044012L, active2, 0L);
|
427 |
0
| case 117:
|
428 |
0
| return jjMoveStringLiteralDfa3_0(active0, 0L, active1, 0x1000000002800L, active2, 0L);
|
429 |
0
| case 119:
|
430 |
0
| if ((active1 & 0x800000L) != 0L)
|
431 |
0
| return jjStartNfaWithStates_0(2, 87, 33);
|
432 |
0
| break;
|
433 |
0
| case 121:
|
434 |
0
| if ((active1 & 0x8000000000L) != 0L)
|
435 |
0
| return jjStartNfaWithStates_0(2, 103, 33);
|
436 |
0
| break;
|
437 |
0
| case 122:
|
438 |
0
| return jjMoveStringLiteralDfa3_0(active0, 0L, active1, 0x100000000L, active2, 0L);
|
439 |
0
| default :
|
440 |
0
| break;
|
441 |
| } |
442 |
0
| return jjStartNfa_0(1, active0, active1, active2);
|
443 |
| } |
444 |
5
| private final int jjMoveStringLiteralDfa3_0(long old0, long active0, long old1, long active1, long old2, long active2)
|
445 |
| { |
446 |
5
| if (((active0 &= old0) | (active1 &= old1) | (active2 &= old2)) == 0L)
|
447 |
0
| return jjStartNfa_0(1, old0, old1, old2);
|
448 |
5
| try { curChar = input_stream.readChar(); }
|
449 |
| catch(java.io.IOException e) { |
450 |
0
| jjStopStringLiteralDfa_0(2, 0L, active1, active2);
|
451 |
0
| return 3;
|
452 |
| } |
453 |
5
| switch(curChar)
|
454 |
| { |
455 |
0
| case 97:
|
456 |
0
| return jjMoveStringLiteralDfa4_0(active1, 0x200000008104L, active2, 0x8L);
|
457 |
0
| case 98:
|
458 |
0
| return jjMoveStringLiteralDfa4_0(active1, 0x800L, active2, 0L);
|
459 |
0
| case 99:
|
460 |
0
| return jjMoveStringLiteralDfa4_0(active1, 0x10L, active2, 0L);
|
461 |
4
| case 100:
|
462 |
4
| if ((active1 & 0x100000000000L) != 0L)
|
463 |
4
| return jjStartNfaWithStates_0(3, 108, 33);
|
464 |
0
| break;
|
465 |
0
| case 101:
|
466 |
0
| if ((active1 & 0x8L) != 0L)
|
467 |
0
| return jjStartNfaWithStates_0(3, 67, 33);
|
468 |
0
| else if ((active1 & 0x1000L) != 0L)
|
469 |
0
| return jjStartNfaWithStates_0(3, 76, 33);
|
470 |
0
| else if ((active1 & 0x1000000000000L) != 0L)
|
471 |
0
| return jjStartNfaWithStates_0(3, 112, 33);
|
472 |
0
| return jjMoveStringLiteralDfa4_0(active1, 0x10108024200L, active2, 0L);
|
473 |
0
| case 103:
|
474 |
0
| if ((active1 & 0x400000L) != 0L)
|
475 |
0
| return jjStartNfaWithStates_0(3, 86, 33);
|
476 |
0
| break;
|
477 |
0
| case 105:
|
478 |
0
| return jjMoveStringLiteralDfa4_0(active1, 0x40010100000L, active2, 0L);
|
479 |
0
| case 108:
|
480 |
0
| return jjMoveStringLiteralDfa4_0(active1, 0x400004000000L, active2, 0L);
|
481 |
0
| case 109:
|
482 |
0
| if ((active1 & 0x2000L) != 0L)
|
483 |
0
| return jjStartNfaWithStates_0(3, 77, 33);
|
484 |
0
| break;
|
485 |
0
| case 110:
|
486 |
0
| return jjMoveStringLiteralDfa4_0(active1, 0x80000000L, active2, 0L);
|
487 |
0
| case 111:
|
488 |
0
| if ((active1 & 0x2L) != 0L)
|
489 |
0
| return jjStartNfaWithStates_0(3, 65, 33);
|
490 |
0
| else if ((active1 & 0x40000L) != 0L)
|
491 |
0
| return jjStartNfaWithStates_0(3, 82, 33);
|
492 |
0
| return jjMoveStringLiteralDfa4_0(active1, 0x4020000000000L, active2, 0L);
|
493 |
0
| case 112:
|
494 |
0
| return jjMoveStringLiteralDfa4_0(active1, 0x2000000000L, active2, 0L);
|
495 |
1
| case 114:
|
496 |
1
| if ((active1 & 0x20L) != 0L)
|
497 |
1
| return jjStartNfaWithStates_0(3, 69, 33);
|
498 |
0
| return jjMoveStringLiteralDfa4_0(active1, 0x800040000000L, active2, 0L);
|
499 |
0
| case 115:
|
500 |
0
| if ((active1 & 0x4000000000L) != 0L)
|
501 |
0
| return jjStartNfaWithStates_0(3, 102, 33);
|
502 |
0
| return jjMoveStringLiteralDfa4_0(active1, 0x2000800000040L, active2, 0L);
|
503 |
0
| case 116:
|
504 |
0
| return jjMoveStringLiteralDfa4_0(active1, 0x81202000080L, active2, 0L);
|
505 |
0
| case 117:
|
506 |
0
| return jjMoveStringLiteralDfa4_0(active1, 0x420000000L, active2, 0L);
|
507 |
0
| case 118:
|
508 |
0
| return jjMoveStringLiteralDfa4_0(active1, 0x1000000L, active2, 0L);
|
509 |
0
| default :
|
510 |
0
| break;
|
511 |
| } |
512 |
0
| return jjStartNfa_0(2, 0L, active1, active2);
|
513 |
| } |
514 |
0
| private final int jjMoveStringLiteralDfa4_0(long old1, long active1, long old2, long active2)
|
515 |
| { |
516 |
0
| if (((active1 &= old1) | (active2 &= old2)) == 0L)
|
517 |
0
| return jjStartNfa_0(2, 0L, old1, old2);
|
518 |
0
| try { curChar = input_stream.readChar(); }
|
519 |
| catch(java.io.IOException e) { |
520 |
0
| jjStopStringLiteralDfa_0(3, 0L, active1, active2);
|
521 |
0
| return 4;
|
522 |
| } |
523 |
0
| switch(curChar)
|
524 |
| { |
525 |
0
| case 97:
|
526 |
0
| return jjMoveStringLiteralDfa5_0(active1, 0x800001000000L, active2, 0L);
|
527 |
0
| case 99:
|
528 |
0
| return jjMoveStringLiteralDfa5_0(active1, 0x1408000000L, active2, 0L);
|
529 |
0
| case 100:
|
530 |
0
| return jjMoveStringLiteralDfa5_0(active1, 0x10000000000L, active2, 0L);
|
531 |
0
| case 101:
|
532 |
0
| if ((active1 & 0x400000000000L) != 0L)
|
533 |
0
| return jjStartNfaWithStates_0(4, 110, 33);
|
534 |
0
| else if ((active1 & 0x2000000000000L) != 0L)
|
535 |
0
| return jjStartNfaWithStates_0(4, 113, 33);
|
536 |
0
| return jjMoveStringLiteralDfa5_0(active1, 0x82000000L, active2, 0L);
|
537 |
0
| case 103:
|
538 |
0
| return jjMoveStringLiteralDfa5_0(active1, 0x40000000000L, active2, 0L);
|
539 |
0
| case 104:
|
540 |
0
| if ((active1 & 0x10L) != 0L)
|
541 |
0
| return jjStartNfaWithStates_0(4, 68, 33);
|
542 |
0
| break;
|
543 |
0
| case 105:
|
544 |
0
| return jjMoveStringLiteralDfa5_0(active1, 0x204000080L, active2, 0L);
|
545 |
0
| case 107:
|
546 |
0
| if ((active1 & 0x4L) != 0L)
|
547 |
0
| return jjStartNfaWithStates_0(4, 66, 33);
|
548 |
0
| break;
|
549 |
0
| case 108:
|
550 |
0
| return jjMoveStringLiteralDfa5_0(active1, 0x2000000800L, active2, 0x8L);
|
551 |
0
| case 110:
|
552 |
0
| if ((active1 & 0x20000000000L) != 0L)
|
553 |
0
| return jjStartNfaWithStates_0(4, 105, 33);
|
554 |
0
| return jjMoveStringLiteralDfa5_0(active1, 0x120000L, active2, 0L);
|
555 |
0
| case 111:
|
556 |
0
| return jjMoveStringLiteralDfa5_0(active1, 0x100000000L, active2, 0L);
|
557 |
0
| case 114:
|
558 |
0
| return jjMoveStringLiteralDfa5_0(active1, 0x20004000L, active2, 0L);
|
559 |
0
| case 115:
|
560 |
0
| if ((active1 & 0x800000000L) != 0L)
|
561 |
0
| return jjStartNfaWithStates_0(4, 99, 33);
|
562 |
0
| return jjMoveStringLiteralDfa5_0(active1, 0x10000000L, active2, 0L);
|
563 |
0
| case 116:
|
564 |
0
| if ((active1 & 0x40L) != 0L)
|
565 |
0
| return jjStartNfaWithStates_0(4, 70, 33);
|
566 |
0
| else if ((active1 & 0x8000L) != 0L)
|
567 |
0
| return jjStartNfaWithStates_0(4, 79, 33);
|
568 |
0
| else if ((active1 & 0x40000000L) != 0L)
|
569 |
0
| return jjStartNfaWithStates_0(4, 94, 33);
|
570 |
0
| return jjMoveStringLiteralDfa5_0(active1, 0x200000000200L, active2, 0L);
|
571 |
0
| case 117:
|
572 |
0
| return jjMoveStringLiteralDfa5_0(active1, 0x80000000100L, active2, 0L);
|
573 |
0
| case 119:
|
574 |
0
| if ((active1 & 0x4000000000000L) != 0L)
|
575 |
0
| return jjStartNfaWithStates_0(4, 114, 33);
|
576 |
0
| break;
|
577 |
0
| default :
|
578 |
0
| break;
|
579 |
| } |
580 |
0
| return jjStartNfa_0(3, 0L, active1, active2);
|
581 |
| } |
582 |
0
| private final int jjMoveStringLiteralDfa5_0(long old1, long active1, long old2, long active2)
|
583 |
| { |
584 |
0
| if (((active1 &= old1) | (active2 &= old2)) == 0L)
|
585 |
0
| return jjStartNfa_0(3, 0L, old1, old2);
|
586 |
0
| try { curChar = input_stream.readChar(); }
|
587 |
| catch(java.io.IOException e) { |
588 |
0
| jjStopStringLiteralDfa_0(4, 0L, active1, active2);
|
589 |
0
| return 5;
|
590 |
| } |
591 |
0
| switch(curChar)
|
592 |
| { |
593 |
0
| case 97:
|
594 |
0
| return jjMoveStringLiteralDfa6_0(active1, 0x82000000000L, active2, 0L);
|
595 |
0
| case 99:
|
596 |
0
| if ((active1 & 0x4000000L) != 0L)
|
597 |
0
| return jjStartNfaWithStates_0(5, 90, 33);
|
598 |
0
| else if ((active1 & 0x200000000L) != 0L)
|
599 |
0
| return jjStartNfaWithStates_0(5, 97, 33);
|
600 |
0
| return jjMoveStringLiteralDfa6_0(active1, 0x2000000L, active2, 0L);
|
601 |
0
| case 100:
|
602 |
0
| if ((active1 & 0x20000L) != 0L)
|
603 |
0
| return jjStartNfaWithStates_0(5, 81, 33);
|
604 |
0
| else if ((active1 & 0x80000000L) != 0L)
|
605 |
0
| return jjStartNfaWithStates_0(5, 95, 33);
|
606 |
0
| break;
|
607 |
0
| case 101:
|
608 |
0
| if ((active1 & 0x200L) != 0L)
|
609 |
0
| return jjStartNfaWithStates_0(5, 73, 33);
|
610 |
0
| else if ((active1 & 0x800L) != 0L)
|
611 |
0
| return jjStartNfaWithStates_0(5, 75, 33);
|
612 |
0
| else if ((active1 & 0x100000L) != 0L)
|
613 |
0
| return jjStartNfaWithStates_0(5, 84, 33);
|
614 |
0
| return jjMoveStringLiteralDfa6_0(active1, 0x10000000000L, active2, 0L);
|
615 |
0
| case 102:
|
616 |
0
| if ((active1 & 0x100000000L) != 0L)
|
617 |
0
| return jjStartNfaWithStates_0(5, 96, 33);
|
618 |
0
| break;
|
619 |
0
| case 104:
|
620 |
0
| if ((active1 & 0x1000000000L) != 0L)
|
621 |
0
| return jjStartNfaWithStates_0(5, 100, 33);
|
622 |
0
| break;
|
623 |
0
| case 105:
|
624 |
0
| return jjMoveStringLiteralDfa6_0(active1, 0x200000000000L, active2, 0L);
|
625 |
0
| case 108:
|
626 |
0
| return jjMoveStringLiteralDfa6_0(active1, 0x8000100L, active2, 0x8L);
|
627 |
0
| case 110:
|
628 |
0
| if ((active1 & 0x4000L) != 0L)
|
629 |
0
| return jjStartNfaWithStates_0(5, 78, 33);
|
630 |
0
| else if ((active1 & 0x20000000L) != 0L)
|
631 |
0
| return jjStartNfaWithStates_0(5, 93, 33);
|
632 |
0
| return jjMoveStringLiteralDfa6_0(active1, 0x40000000080L, active2, 0L);
|
633 |
0
| case 116:
|
634 |
0
| if ((active1 & 0x400000000L) != 0L)
|
635 |
0
| return jjStartNfaWithStates_0(5, 98, 33);
|
636 |
0
| return jjMoveStringLiteralDfa6_0(active1, 0x800011000000L, active2, 0L);
|
637 |
0
| default :
|
638 |
0
| break;
|
639 |
| } |
640 |
0
| return jjStartNfa_0(4, 0L, active1, active2);
|
641 |
| } |
642 |
0
| private final int jjMoveStringLiteralDfa6_0(long old1, long active1, long old2, long active2)
|
643 |
| { |
644 |
0
| if (((active1 &= old1) | (active2 &= old2)) == 0L)
|
645 |
0
| return jjStartNfa_0(4, 0L, old1, old2);
|
646 |
0
| try { curChar = input_stream.readChar(); }
|
647 |
| catch(java.io.IOException e) { |
648 |
0
| jjStopStringLiteralDfa_0(5, 0L, active1, active2);
|
649 |
0
| return 6;
|
650 |
| } |
651 |
0
| switch(curChar)
|
652 |
| { |
653 |
0
| case 97:
|
654 |
0
| return jjMoveStringLiteralDfa7_0(active1, 0x8000000L, active2, 0L);
|
655 |
0
| case 101:
|
656 |
0
| if ((active1 & 0x1000000L) != 0L)
|
657 |
0
| return jjStartNfaWithStates_0(6, 88, 33);
|
658 |
0
| return jjMoveStringLiteralDfa7_0(active1, 0x40010000000L, active2, 0L);
|
659 |
0
| case 102:
|
660 |
0
| if ((active1 & 0x10000000000L) != 0L)
|
661 |
0
| return jjStartNfaWithStates_0(6, 104, 33);
|
662 |
0
| break;
|
663 |
0
| case 108:
|
664 |
0
| if ((active1 & 0x80000000000L) != 0L)
|
665 |
0
| return jjStartNfaWithStates_0(6, 107, 33);
|
666 |
0
| return jjMoveStringLiteralDfa7_0(active1, 0x200000000000L, active2, 0L);
|
667 |
0
| case 111:
|
668 |
0
| return jjMoveStringLiteralDfa7_0(active1, 0x800000000000L, active2, 0L);
|
669 |
0
| case 116:
|
670 |
0
| if ((active1 & 0x100L) != 0L)
|
671 |
0
| return jjStartNfaWithStates_0(6, 72, 33);
|
672 |
0
| return jjMoveStringLiteralDfa7_0(active1, 0x2002000000L, active2, 0L);
|
673 |
0
| case 117:
|
674 |
0
| return jjMoveStringLiteralDfa7_0(active1, 0x80L, active2, 0L);
|
675 |
0
| case 121:
|
676 |
0
| if ((active2 & 0x8L) != 0L)
|
677 |
0
| return jjStartNfaWithStates_0(6, 131, 33);
|
678 |
0
| break;
|
679 |
0
| default :
|
680 |
0
| break;
|
681 |
| } |
682 |
0
| return jjStartNfa_0(5, 0L, active1, active2);
|
683 |
| } |
684 |
0
| private final int jjMoveStringLiteralDfa7_0(long old1, long active1, long old2, long active2)
|
685 |
| { |
686 |
0
| if (((active1 &= old1) | (active2 &= old2)) == 0L)
|
687 |
0
| return jjStartNfa_0(5, 0L, old1, old2);
|
688 |
0
| try { curChar = input_stream.readChar(); }
|
689 |
| catch(java.io.IOException e) { |
690 |
0
| jjStopStringLiteralDfa_0(6, 0L, active1, 0L);
|
691 |
0
| return 7;
|
692 |
| } |
693 |
0
| switch(curChar)
|
694 |
| { |
695 |
0
| case 100:
|
696 |
0
| if ((active1 & 0x40000000000L) != 0L)
|
697 |
0
| return jjStartNfaWithStates_0(7, 106, 33);
|
698 |
0
| break;
|
699 |
0
| case 101:
|
700 |
0
| if ((active1 & 0x80L) != 0L)
|
701 |
0
| return jjStartNfaWithStates_0(7, 71, 33);
|
702 |
0
| else if ((active1 & 0x2000000000L) != 0L)
|
703 |
0
| return jjStartNfaWithStates_0(7, 101, 33);
|
704 |
0
| else if ((active1 & 0x200000000000L) != 0L)
|
705 |
0
| return jjStartNfaWithStates_0(7, 109, 33);
|
706 |
0
| return jjMoveStringLiteralDfa8_0(active1, 0x2000000L);
|
707 |
0
| case 114:
|
708 |
0
| if ((active1 & 0x10000000L) != 0L)
|
709 |
0
| return jjStartNfaWithStates_0(7, 92, 33);
|
710 |
0
| else if ((active1 & 0x800000000000L) != 0L)
|
711 |
0
| return jjStartNfaWithStates_0(7, 111, 33);
|
712 |
0
| return jjMoveStringLiteralDfa8_0(active1, 0x8000000L);
|
713 |
0
| default :
|
714 |
0
| break;
|
715 |
| } |
716 |
0
| return jjStartNfa_0(6, 0L, active1, 0L);
|
717 |
| } |
718 |
0
| private final int jjMoveStringLiteralDfa8_0(long old1, long active1)
|
719 |
| { |
720 |
0
| if (((active1 &= old1)) == 0L)
|
721 |
0
| return jjStartNfa_0(6, 0L, old1, 0L);
|
722 |
0
| try { curChar = input_stream.readChar(); }
|
723 |
| catch(java.io.IOException e) { |
724 |
0
| jjStopStringLiteralDfa_0(7, 0L, active1, 0L);
|
725 |
0
| return 8;
|
726 |
| } |
727 |
0
| switch(curChar)
|
728 |
| { |
729 |
0
| case 100:
|
730 |
0
| if ((active1 & 0x2000000L) != 0L)
|
731 |
0
| return jjStartNfaWithStates_0(8, 89, 33);
|
732 |
0
| break;
|
733 |
0
| case 101:
|
734 |
0
| return jjMoveStringLiteralDfa9_0(active1, 0x8000000L);
|
735 |
0
| default :
|
736 |
0
| break;
|
737 |
| } |
738 |
0
| return jjStartNfa_0(7, 0L, active1, 0L);
|
739 |
| } |
740 |
0
| private final int jjMoveStringLiteralDfa9_0(long old1, long active1)
|
741 |
| { |
742 |
0
| if (((active1 &= old1)) == 0L)
|
743 |
0
| return jjStartNfa_0(7, 0L, old1, 0L);
|
744 |
0
| try { curChar = input_stream.readChar(); }
|
745 |
| catch(java.io.IOException e) { |
746 |
0
| jjStopStringLiteralDfa_0(8, 0L, active1, 0L);
|
747 |
0
| return 9;
|
748 |
| } |
749 |
0
| switch(curChar)
|
750 |
| { |
751 |
0
| case 100:
|
752 |
0
| if ((active1 & 0x8000000L) != 0L)
|
753 |
0
| return jjStartNfaWithStates_0(9, 91, 33);
|
754 |
0
| break;
|
755 |
0
| default :
|
756 |
0
| break;
|
757 |
| } |
758 |
0
| return jjStartNfa_0(8, 0L, active1, 0L);
|
759 |
| } |
760 |
80
| private final void jjCheckNAdd(int state)
|
761 |
| { |
762 |
80
| if (jjrounds[state] != jjround)
|
763 |
| { |
764 |
80
| jjstateSet[jjnewStateCnt++] = state;
|
765 |
80
| jjrounds[state] = jjround;
|
766 |
| } |
767 |
| } |
768 |
2
| private final void jjAddStates(int start, int end)
|
769 |
| { |
770 |
2
| do {
|
771 |
4
| jjstateSet[jjnewStateCnt++] = jjnextStates[start];
|
772 |
4
| } while (start++ != end);
|
773 |
| } |
774 |
10
| private final void jjCheckNAddTwoStates(int state1, int state2)
|
775 |
| { |
776 |
10
| jjCheckNAdd(state1);
|
777 |
10
| jjCheckNAdd(state2);
|
778 |
| } |
779 |
6
| private final void jjCheckNAddStates(int start, int end)
|
780 |
| { |
781 |
6
| do {
|
782 |
34
| jjCheckNAdd(jjnextStates[start]);
|
783 |
34
| } while (start++ != end);
|
784 |
| } |
785 |
0
| private final void jjCheckNAddStates(int start)
|
786 |
| { |
787 |
0
| jjCheckNAdd(jjnextStates[start]);
|
788 |
0
| jjCheckNAdd(jjnextStates[start + 1]);
|
789 |
| } |
790 |
| static final long[] jjbitVec0 = { |
791 |
| 0x0L, 0x0L, 0xffffffffffffffffL, 0xffffffffffffffffL |
792 |
| }; |
793 |
20
| private final int jjMoveNfa_0(int startState, int curPos)
|
794 |
| { |
795 |
20
| int[] nextStates;
|
796 |
20
| int startsAt = 0;
|
797 |
20
| jjnewStateCnt = 82;
|
798 |
20
| int i = 1;
|
799 |
20
| jjstateSet[0] = startState;
|
800 |
20
| int j, kind = 0x7fffffff;
|
801 |
20
| for (;;)
|
802 |
| { |
803 |
49
| if (++jjround == 0x7fffffff)
|
804 |
0
| ReInitRounds();
|
805 |
49
| if (curChar < 64)
|
806 |
| { |
807 |
27
| long l = 1L << curChar;
|
808 |
27
| MatchLoop: do
|
809 |
| { |
810 |
81
| switch(jjstateSet[--i])
|
811 |
| { |
812 |
3
| case 32:
|
813 |
3
| if ((0x3ff000000000000L & l) != 0L)
|
814 |
2
| jjCheckNAddStates(0, 5);
|
815 |
1
| else if (curChar == 36)
|
816 |
| { |
817 |
1
| if (kind > 132)
|
818 |
1
| kind = 132;
|
819 |
1
| jjCheckNAdd(33);
|
820 |
| } |
821 |
0
| else if (curChar == 34)
|
822 |
0
| jjCheckNAddStates(6, 8);
|
823 |
0
| else if (curChar == 39)
|
824 |
0
| jjAddStates(9, 10);
|
825 |
0
| else if (curChar == 46)
|
826 |
0
| jjCheckNAdd(1);
|
827 |
3
| if ((0x3fe000000000000L & l) != 0L)
|
828 |
| { |
829 |
2
| if (kind > 119)
|
830 |
2
| kind = 119;
|
831 |
2
| jjCheckNAddStates(11, 18);
|
832 |
| } |
833 |
1
| else if (curChar == 48)
|
834 |
0
| jjAddStates(19, 22);
|
835 |
3
| if (curChar == 48)
|
836 |
| { |
837 |
0
| if (kind > 115)
|
838 |
0
| kind = 115;
|
839 |
0
| jjCheckNAddStates(23, 30);
|
840 |
| } |
841 |
3
| break;
|
842 |
4
| case 0:
|
843 |
4
| if (curChar == 46)
|
844 |
0
| jjCheckNAdd(1);
|
845 |
4
| break;
|
846 |
0
| case 1:
|
847 |
0
| if ((0x3ff000000000000L & l) == 0L)
|
848 |
0
| break;
|
849 |
0
| if (kind > 127)
|
850 |
0
| kind = 127;
|
851 |
0
| jjCheckNAddStates(31, 33);
|
852 |
0
| break;
|
853 |
0
| case 3:
|
854 |
0
| if ((0x280000000000L & l) != 0L)
|
855 |
0
| jjCheckNAdd(4);
|
856 |
0
| break;
|
857 |
0
| case 4:
|
858 |
0
| if ((0x3ff000000000000L & l) == 0L)
|
859 |
0
| break;
|
860 |
0
| if (kind > 127)
|
861 |
0
| kind = 127;
|
862 |
0
| jjCheckNAddTwoStates(4, 5);
|
863 |
0
| break;
|
864 |
1
| case 6:
|
865 |
1
| if (curChar == 39)
|
866 |
1
| jjAddStates(9, 10);
|
867 |
1
| break;
|
868 |
0
| case 7:
|
869 |
0
| if ((0xffffff7fffffdbffL & l) != 0L)
|
870 |
0
| jjCheckNAdd(8);
|
871 |
0
| break;
|
872 |
1
| case 8:
|
873 |
1
| if (curChar == 39 && kind > 129)
|
874 |
1
| kind = 129;
|
875 |
1
| break;
|
876 |
0
| case 10:
|
877 |
0
| if ((0x8000008400000000L & l) != 0L)
|
878 |
0
| jjCheckNAdd(8);
|
879 |
0
| break;
|
880 |
0
| case 11:
|
881 |
0
| if (curChar == 48)
|
882 |
0
| jjCheckNAddTwoStates(12, 8);
|
883 |
0
| break;
|
884 |
0
| case 12:
|
885 |
0
| if ((0xff000000000000L & l) != 0L)
|
886 |
0
| jjCheckNAddTwoStates(12, 8);
|
887 |
0
| break;
|
888 |
0
| case 13:
|
889 |
0
| if ((0x3fe000000000000L & l) != 0L)
|
890 |
0
| jjCheckNAddTwoStates(14, 8);
|
891 |
0
| break;
|
892 |
0
| case 14:
|
893 |
0
| if ((0x3ff000000000000L & l) != 0L)
|
894 |
0
| jjCheckNAddTwoStates(14, 8);
|
895 |
0
| break;
|
896 |
0
| case 15:
|
897 |
0
| if (curChar == 48)
|
898 |
0
| jjAddStates(34, 35);
|
899 |
0
| break;
|
900 |
0
| case 17:
|
901 |
0
| if ((0x3ff000000000000L & l) != 0L)
|
902 |
0
| jjCheckNAddTwoStates(17, 8);
|
903 |
0
| break;
|
904 |
1
| case 19:
|
905 |
1
| if (curChar == 34)
|
906 |
0
| jjCheckNAddStates(6, 8);
|
907 |
1
| break;
|
908 |
0
| case 20:
|
909 |
0
| if ((0xfffffffbffffdbffL & l) != 0L)
|
910 |
0
| jjCheckNAddStates(6, 8);
|
911 |
0
| break;
|
912 |
0
| case 22:
|
913 |
0
| if ((0x8000008400000400L & l) != 0L)
|
914 |
0
| jjCheckNAddStates(6, 8);
|
915 |
0
| break;
|
916 |
0
| case 23:
|
917 |
0
| if (curChar == 34 && kind > 130)
|
918 |
0
| kind = 130;
|
919 |
0
| break;
|
920 |
0
| case 24:
|
921 |
0
| if (curChar == 48)
|
922 |
0
| jjCheckNAddStates(36, 39);
|
923 |
0
| break;
|
924 |
0
| case 25:
|
925 |
0
| if ((0xff000000000000L & l) != 0L)
|
926 |
0
| jjCheckNAddStates(36, 39);
|
927 |
0
| break;
|
928 |
0
| case 26:
|
929 |
0
| if ((0x3fe000000000000L & l) != 0L)
|
930 |
0
| jjCheckNAddStates(40, 43);
|
931 |
0
| break;
|
932 |
0
| case 27:
|
933 |
0
| if ((0x3ff000000000000L & l) != 0L)
|
934 |
0
| jjCheckNAddStates(40, 43);
|
935 |
0
| break;
|
936 |
0
| case 28:
|
937 |
0
| if (curChar == 48)
|
938 |
0
| jjAddStates(44, 45);
|
939 |
0
| break;
|
940 |
0
| case 30:
|
941 |
0
| if ((0x3ff000000000000L & l) != 0L)
|
942 |
0
| jjCheckNAddStates(46, 49);
|
943 |
0
| break;
|
944 |
16
| case 33:
|
945 |
16
| if ((0x3ff001000000000L & l) == 0L)
|
946 |
15
| break;
|
947 |
1
| if (kind > 132)
|
948 |
1
| kind = 132;
|
949 |
1
| jjCheckNAdd(33);
|
950 |
1
| break;
|
951 |
0
| case 34:
|
952 |
0
| if (curChar != 48)
|
953 |
0
| break;
|
954 |
0
| if (kind > 115)
|
955 |
0
| kind = 115;
|
956 |
0
| jjCheckNAddStates(23, 30);
|
957 |
0
| break;
|
958 |
0
| case 35:
|
959 |
0
| if ((0xff000000000000L & l) == 0L)
|
960 |
0
| break;
|
961 |
0
| if (kind > 115)
|
962 |
0
| kind = 115;
|
963 |
0
| jjCheckNAdd(35);
|
964 |
0
| break;
|
965 |
0
| case 36:
|
966 |
0
| if ((0xff000000000000L & l) != 0L)
|
967 |
0
| jjCheckNAddTwoStates(36, 37);
|
968 |
0
| break;
|
969 |
0
| case 38:
|
970 |
0
| if ((0xff000000000000L & l) != 0L)
|
971 |
0
| jjCheckNAddTwoStates(38, 39);
|
972 |
0
| break;
|
973 |
0
| case 40:
|
974 |
0
| if ((0xff000000000000L & l) != 0L)
|
975 |
0
| jjCheckNAddStates(50, 52);
|
976 |
0
| break;
|
977 |
0
| case 45:
|
978 |
0
| if ((0x3fe000000000000L & l) == 0L)
|
979 |
0
| break;
|
980 |
0
| if (kind > 119)
|
981 |
0
| kind = 119;
|
982 |
0
| jjCheckNAddStates(11, 18);
|
983 |
0
| break;
|
984 |
4
| case 46:
|
985 |
4
| if ((0x3ff000000000000L & l) == 0L)
|
986 |
2
| break;
|
987 |
2
| if (kind > 119)
|
988 |
2
| kind = 119;
|
989 |
2
| jjCheckNAdd(46);
|
990 |
2
| break;
|
991 |
4
| case 47:
|
992 |
4
| if ((0x3ff000000000000L & l) != 0L)
|
993 |
2
| jjCheckNAddTwoStates(47, 48);
|
994 |
4
| break;
|
995 |
4
| case 49:
|
996 |
4
| if ((0x3ff000000000000L & l) != 0L)
|
997 |
2
| jjCheckNAddTwoStates(49, 50);
|
998 |
4
| break;
|
999 |
4
| case 51:
|
1000 |
4
| if ((0x3ff000000000000L & l) != 0L)
|
1001 |
2
| jjCheckNAddStates(53, 55);
|
1002 |
4
| break;
|
1003 |
0
| case 56:
|
1004 |
0
| if (curChar == 48)
|
1005 |
0
| jjAddStates(19, 22);
|
1006 |
0
| break;
|
1007 |
0
| case 58:
|
1008 |
0
| if ((0x3ff000000000000L & l) == 0L)
|
1009 |
0
| break;
|
1010 |
0
| if (kind > 123)
|
1011 |
0
| kind = 123;
|
1012 |
0
| jjstateSet[jjnewStateCnt++] = 58;
|
1013 |
0
| break;
|
1014 |
0
| case 60:
|
1015 |
0
| if ((0x3ff000000000000L & l) == 0L)
|
1016 |
0
| break;
|
1017 |
0
| if (kind > 124)
|
1018 |
0
| kind = 124;
|
1019 |
0
| jjAddStates(56, 57);
|
1020 |
0
| break;
|
1021 |
0
| case 63:
|
1022 |
0
| if ((0x3ff000000000000L & l) != 0L)
|
1023 |
0
| jjAddStates(58, 59);
|
1024 |
0
| break;
|
1025 |
0
| case 66:
|
1026 |
0
| if ((0x3ff000000000000L & l) != 0L)
|
1027 |
0
| jjAddStates(60, 62);
|
1028 |
0
| break;
|
1029 |
0
| case 71:
|
1030 |
0
| if ((0x3ff000000000000L & l) != 0L)
|
1031 |
0
| jjCheckNAddStates(0, 5);
|
1032 |
0
| break;
|
1033 |
4
| case 72:
|
1034 |
4
| if ((0x3ff000000000000L & l) != 0L)
|
1035 |
2
| jjCheckNAddTwoStates(72, 73);
|
1036 |
4
| break;
|
1037 |
4
| case 73:
|
1038 |
4
| if (curChar != 46)
|
1039 |
4
| break;
|
1040 |
0
| if (kind > 127)
|
1041 |
0
| kind = 127;
|
1042 |
0
| jjCheckNAddStates(63, 65);
|
1043 |
0
| break;
|
1044 |
0
| case 74:
|
1045 |
0
| if ((0x3ff000000000000L & l) == 0L)
|
1046 |
0
| break;
|
1047 |
0
| if (kind > 127)
|
1048 |
0
| kind = 127;
|
1049 |
0
| jjCheckNAddStates(63, 65);
|
1050 |
0
| break;
|
1051 |
4
| case 75:
|
1052 |
4
| if ((0x3ff000000000000L & l) != 0L)
|
1053 |
2
| jjCheckNAddTwoStates(75, 0);
|
1054 |
4
| break;
|
1055 |
4
| case 76:
|
1056 |
4
| if ((0x3ff000000000000L & l) != 0L)
|
1057 |
2
| jjCheckNAddTwoStates(76, 77);
|
1058 |
4
| break;
|
1059 |
0
| case 78:
|
1060 |
0
| if ((0x280000000000L & l) != 0L)
|
1061 |
0
| jjCheckNAdd(79);
|
1062 |
0
| break;
|
1063 |
0
| case 79:
|
1064 |
0
| if ((0x3ff000000000000L & l) == 0L)
|
1065 |
0
| break;
|
1066 |
0
| if (kind > 128)
|
1067 |
0
| kind = 128;
|
1068 |
0
| jjCheckNAddTwoStates(79, 80);
|
1069 |
0
| break;
|
1070 |
23
| default : break;
|
1071 |
| } |
1072 |
81
| } while(i != startsAt);
|
1073 |
| } |
1074 |
22
| else if (curChar < 128)
|
1075 |
| { |
1076 |
22
| long l = 1L << (curChar & 077);
|
1077 |
22
| MatchLoop: do
|
1078 |
| { |
1079 |
23
| switch(jjstateSet[--i])
|
1080 |
| { |
1081 |
7
| case 32:
|
1082 |
7
| if ((0x7fffffe87fffffeL & l) != 0L)
|
1083 |
| { |
1084 |
7
| if (kind > 132)
|
1085 |
7
| kind = 132;
|
1086 |
7
| jjCheckNAdd(33);
|
1087 |
| } |
1088 |
7
| if (curChar == 76)
|
1089 |
1
| jjAddStates(66, 67);
|
1090 |
7
| break;
|
1091 |
0
| case 2:
|
1092 |
0
| if ((0x2000000020L & l) != 0L)
|
1093 |
0
| jjAddStates(68, 69);
|
1094 |
0
| break;
|
1095 |
0
| case 5:
|
1096 |
0
| if ((0x104000001040L & l) != 0L && kind > 127)
|
1097 |
0
| kind = 127;
|
1098 |
0
| break;
|
1099 |
1
| case 7:
|
1100 |
1
| if ((0xffffffffefffffffL & l) != 0L)
|
1101 |
1
| jjCheckNAdd(8);
|
1102 |
1
| break;
|
1103 |
1
| case 9:
|
1104 |
1
| if (curChar == 92)
|
1105 |
0
| jjAddStates(70, 73);
|
1106 |
1
| break;
|
1107 |
0
| case 10:
|
1108 |
0
| if ((0x54404610000000L & l) != 0L)
|
1109 |
0
| jjCheckNAdd(8);
|
1110 |
0
| break;
|
1111 |
0
| case 16:
|
1112 |
0
| if (curChar == 120)
|
1113 |
0
| jjCheckNAdd(17);
|
1114 |
0
| break;
|
1115 |
0
| case 17:
|
1116 |
0
| if ((0x7e0000007eL & l) != 0L)
|
1117 |
0
| jjCheckNAddTwoStates(17, 8);
|
1118 |
0
| break;
|
1119 |
0
| case 18:
|
1120 |
0
| if (curChar == 88)
|
1121 |
0
| jjCheckNAdd(17);
|
1122 |
0
| break;
|
1123 |
0
| case 20:
|
1124 |
0
| if ((0xffffffffefffffffL & l) != 0L)
|
1125 |
0
| jjCheckNAddStates(6, 8);
|
1126 |
0
| break;
|
1127 |
0
| case 21:
|
1128 |
0
| if (curChar == 92)
|
1129 |
0
| jjAddStates(74, 77);
|
1130 |
0
| break;
|
1131 |
0
| case 22:
|
1132 |
0
| if ((0x54404610000000L & l) != 0L)
|
1133 |
0
| jjCheckNAddStates(6, 8);
|
1134 |
0
| break;
|
1135 |
0
| case 29:
|
1136 |
0
| if (curChar == 120)
|
1137 |
0
| jjCheckNAdd(30);
|
1138 |
0
| break;
|
1139 |
0
| case 30:
|
1140 |
0
| if ((0x7e0000007eL & l) != 0L)
|
1141 |
0
| jjCheckNAddStates(46, 49);
|
1142 |
0
| break;
|
1143 |
0
| case 31:
|
1144 |
0
| if (curChar == 88)
|
1145 |
0
| jjCheckNAdd(30);
|
1146 |
0
| break;
|
1147 |
14
| case 33:
|
1148 |
14
| if ((0x7fffffe87fffffeL & l) == 0L)
|
1149 |
0
| break;
|
1150 |
14
| if (kind > 132)
|
1151 |
14
| kind = 132;
|
1152 |
14
| jjCheckNAdd(33);
|
1153 |
14
| break;
|
1154 |
0
| case 37:
|
1155 |
0
| if ((0x100000001000L & l) != 0L && kind > 116)
|
1156 |
0
| kind = 116;
|
1157 |
0
| break;
|
1158 |
0
| case 39:
|
1159 |
0
| if ((0x20000000200000L & l) != 0L && kind > 117)
|
1160 |
0
| kind = 117;
|
1161 |
0
| break;
|
1162 |
0
| case 41:
|
1163 |
0
| if ((0x100000001000L & l) != 0L && kind > 118)
|
1164 |
0
| kind = 118;
|
1165 |
0
| break;
|
1166 |
0
| case 42:
|
1167 |
0
| if ((0x20000000200000L & l) != 0L)
|
1168 |
0
| jjstateSet[jjnewStateCnt++] = 41;
|
1169 |
0
| break;
|
1170 |
0
| case 43:
|
1171 |
0
| if ((0x20000000200000L & l) != 0L && kind > 118)
|
1172 |
0
| kind = 118;
|
1173 |
0
| break;
|
1174 |
0
| case 44:
|
1175 |
0
| if ((0x100000001000L & l) != 0L)
|
1176 |
0
| jjstateSet[jjnewStateCnt++] = 43;
|
1177 |
0
| break;
|
1178 |
0
| case 48:
|
1179 |
0
| if ((0x20100000201000L & l) != 0L && kind > 120)
|
1180 |
0
| kind = 120;
|
1181 |
0
| break;
|
1182 |
0
| case 50:
|
1183 |
0
| if ((0x20000000200000L & l) != 0L && kind > 121)
|
1184 |
0
| kind = 121;
|
1185 |
0
| break;
|
1186 |
0
| case 52:
|
1187 |
0
| if ((0x100000001000L & l) != 0L && kind > 122)
|
1188 |
0
| kind = 122;
|
1189 |
0
| break;
|
1190 |
0
| case 53:
|
1191 |
0
| if ((0x20000000200000L & l) != 0L)
|
1192 |
0
| jjstateSet[jjnewStateCnt++] = 52;
|
1193 |
0
| break;
|
1194 |
0
| case 54:
|
1195 |
0
| if ((0x20000000200000L & l) != 0L && kind > 122)
|
1196 |
0
| kind = 122;
|
1197 |
0
| break;
|
1198 |
0
| case 55:
|
1199 |
0
| if ((0x100000001000L & l) != 0L)
|
1200 |
0
| jjstateSet[jjnewStateCnt++] = 54;
|
1201 |
0
| break;
|
1202 |
0
| case 57:
|
1203 |
0
| if ((0x100000001000000L & l) != 0L)
|
1204 |
0
| jjCheckNAdd(58);
|
1205 |
0
| break;
|
1206 |
0
| case 58:
|
1207 |
0
| if ((0x7e0000007eL & l) == 0L)
|
1208 |
0
| break;
|
1209 |
0
| if (kind > 123)
|
1210 |
0
| kind = 123;
|
1211 |
0
| jjCheckNAdd(58);
|
1212 |
0
| break;
|
1213 |
0
| case 59:
|
1214 |
0
| if ((0x100000001000000L & l) != 0L)
|
1215 |
0
| jjCheckNAdd(60);
|
1216 |
0
| break;
|
1217 |
0
| case 60:
|
1218 |
0
| if ((0x7e0000007eL & l) == 0L)
|
1219 |
0
| break;
|
1220 |
0
| if (kind > 124)
|
1221 |
0
| kind = 124;
|
1222 |
0
| jjCheckNAddTwoStates(60, 61);
|
1223 |
0
| break;
|
1224 |
0
| case 61:
|
1225 |
0
| if ((0x20100000201000L & l) != 0L && kind > 124)
|
1226 |
0
| kind = 124;
|
1227 |
0
| break;
|
1228 |
0
| case 62:
|
1229 |
0
| if ((0x100000001000000L & l) != 0L)
|
1230 |
0
| jjCheckNAdd(63);
|
1231 |
0
| break;
|
1232 |
0
| case 63:
|
1233 |
0
| if ((0x7e0000007eL & l) != 0L)
|
1234 |
0
| jjCheckNAddTwoStates(63, 64);
|
1235 |
0
| break;
|
1236 |
0
| case 64:
|
1237 |
0
| if ((0x20000000200000L & l) != 0L && kind > 125)
|
1238 |
0
| kind = 125;
|
1239 |
0
| break;
|
1240 |
0
| case 65:
|
1241 |
0
| if ((0x100000001000000L & l) != 0L)
|
1242 |
0
| jjCheckNAdd(66);
|
1243 |
0
| break;
|
1244 |
0
| case 66:
|
1245 |
0
| if ((0x7e0000007eL & l) != 0L)
|
1246 |
0
| jjCheckNAddStates(60, 62);
|
1247 |
0
| break;
|
1248 |
0
| case 67:
|
1249 |
0
| if ((0x100000001000L & l) != 0L && kind > 126)
|
1250 |
0
| kind = 126;
|
1251 |
0
| break;
|
1252 |
0
| case 68:
|
1253 |
0
| if ((0x20000000200000L & l) != 0L)
|
1254 |
0
| jjstateSet[jjnewStateCnt++] = 67;
|
1255 |
0
| break;
|
1256 |
0
| case 69:
|
1257 |
0
| if ((0x20000000200000L & l) != 0L && kind > 126)
|
1258 |
0
| kind = 126;
|
1259 |
0
| break;
|
1260 |
0
| case 70:
|
1261 |
0
| if ((0x100000001000L & l) != 0L)
|
1262 |
0
| jjstateSet[jjnewStateCnt++] = 69;
|
1263 |
0
| break;
|
1264 |
0
| case 77:
|
1265 |
0
| if ((0x2000000020L & l) != 0L)
|
1266 |
0
| jjAddStates(78, 79);
|
1267 |
0
| break;
|
1268 |
0
| case 80:
|
1269 |
0
| if ((0x104000001040L & l) != 0L && kind > 128)
|
1270 |
0
| kind = 128;
|
1271 |
0
| break;
|
1272 |
0
| case 81:
|
1273 |
0
| if (curChar == 76)
|
1274 |
0
| jjAddStates(66, 67);
|
1275 |
0
| break;
|
1276 |
0
| default : break;
|
1277 |
| } |
1278 |
23
| } while(i != startsAt);
|
1279 |
| } |
1280 |
| else |
1281 |
| { |
1282 |
0
| int i2 = (curChar & 0xff) >> 6;
|
1283 |
0
| long l2 = 1L << (curChar & 077);
|
1284 |
0
| MatchLoop: do
|
1285 |
| { |
1286 |
0
| switch(jjstateSet[--i])
|
1287 |
| { |
1288 |
0
| case 7:
|
1289 |
0
| if ((jjbitVec0[i2] & l2) != 0L)
|
1290 |
0
| jjstateSet[jjnewStateCnt++] = 8;
|
1291 |
0
| break;
|
1292 |
0
| case 20:
|
1293 |
0
| if ((jjbitVec0[i2] & l2) != 0L)
|
1294 |
0
| jjAddStates(6, 8);
|
1295 |
0
| break;
|
1296 |
0
| default : break;
|
1297 |
| } |
1298 |
0
| } while(i != startsAt);
|
1299 |
| } |
1300 |
49
| if (kind != 0x7fffffff)
|
1301 |
| { |
1302 |
28
| jjmatchedKind = kind;
|
1303 |
28
| jjmatchedPos = curPos;
|
1304 |
28
| kind = 0x7fffffff;
|
1305 |
| } |
1306 |
49
| ++curPos;
|
1307 |
?
| if ((i = jjnewStateCnt) == (startsAt = 82 - (jjnewStateCnt = startsAt)))
|
1308 |
20
| return curPos;
|
1309 |
29
| try { curChar = input_stream.readChar(); }
|
1310 |
0
| catch(java.io.IOException e) { return curPos; }
|
1311 |
| } |
1312 |
| } |
1313 |
0
| private final int jjMoveStringLiteralDfa0_1()
|
1314 |
| { |
1315 |
0
| switch(curChar)
|
1316 |
| { |
1317 |
0
| case 10:
|
1318 |
0
| return jjStopAtPos(0, 8);
|
1319 |
0
| default :
|
1320 |
0
| return 1;
|
1321 |
| } |
1322 |
| } |
1323 |
109
| private final int jjMoveStringLiteralDfa0_3()
|
1324 |
| { |
1325 |
109
| switch(curChar)
|
1326 |
| { |
1327 |
1
| case 10:
|
1328 |
1
| return jjStopAtPos(0, 12);
|
1329 |
6
| case 92:
|
1330 |
6
| return jjMoveStringLiteralDfa1_3(0x6000L);
|
1331 |
102
| default :
|
1332 |
102
| return 1;
|
1333 |
| } |
1334 |
| } |
1335 |
6
| private final int jjMoveStringLiteralDfa1_3(long active0)
|
1336 |
| { |
1337 |
6
| try { curChar = input_stream.readChar(); }
|
1338 |
| catch(java.io.IOException e) { |
1339 |
0
| return 1;
|
1340 |
| } |
1341 |
6
| switch(curChar)
|
1342 |
| { |
1343 |
6
| case 10:
|
1344 |
6
| if ((active0 & 0x2000L) != 0L)
|
1345 |
6
| return jjStopAtPos(1, 13);
|
1346 |
0
| break;
|
1347 |
0
| case 13:
|
1348 |
0
| return jjMoveStringLiteralDfa2_3(active0, 0x4000L);
|
1349 |
0
| default :
|
1350 |
0
| return 2;
|
1351 |
| } |
1352 |
0
| return 2;
|
1353 |
| } |
1354 |
0
| private final int jjMoveStringLiteralDfa2_3(long old0, long active0)
|
1355 |
| { |
1356 |
0
| if (((active0 &= old0)) == 0L)
|
1357 |
0
| return 2;
|
1358 |
0
| try { curChar = input_stream.readChar(); }
|
1359 |
| catch(java.io.IOException e) { |
1360 |
0
| return 2;
|
1361 |
| } |
1362 |
0
| switch(curChar)
|
1363 |
| { |
1364 |
0
| case 10:
|
1365 |
0
| if ((active0 & 0x4000L) != 0L)
|
1366 |
0
| return jjStopAtPos(2, 14);
|
1367 |
0
| break;
|
1368 |
0
| default :
|
1369 |
0
| return 3;
|
1370 |
| } |
1371 |
0
| return 3;
|
1372 |
| } |
1373 |
0
| private final int jjMoveStringLiteralDfa0_2()
|
1374 |
| { |
1375 |
0
| switch(curChar)
|
1376 |
| { |
1377 |
0
| case 42:
|
1378 |
0
| return jjMoveStringLiteralDfa1_2(0x400L);
|
1379 |
0
| default :
|
1380 |
0
| return 1;
|
1381 |
| } |
1382 |
| } |
1383 |
0
| private final int jjMoveStringLiteralDfa1_2(long active0)
|
1384 |
| { |
1385 |
0
| try { curChar = input_stream.readChar(); }
|
1386 |
| catch(java.io.IOException e) { |
1387 |
0
| return 1;
|
1388 |
| } |
1389 |
0
| switch(curChar)
|
1390 |
| { |
1391 |
0
| case 47:
|
1392 |
0
| if ((active0 & 0x400L) != 0L)
|
1393 |
0
| return jjStopAtPos(1, 10);
|
1394 |
0
| break;
|
1395 |
0
| default :
|
1396 |
0
| return 2;
|
1397 |
| } |
1398 |
0
| return 2;
|
1399 |
| } |
1400 |
| static final int[] jjnextStates = { |
1401 |
| 72, 73, 75, 0, 76, 77, 20, 21, 23, 7, 9, 46, 47, 48, 49, 50, |
1402 |
| 51, 53, 55, 57, 59, 62, 65, 35, 36, 37, 38, 39, 40, 42, 44, 1, |
1403 |
| 2, 5, 16, 18, 20, 21, 25, 23, 20, 21, 27, 23, 29, 31, 20, 21, |
1404 |
| 30, 23, 40, 42, 44, 51, 53, 55, 60, 61, 63, 64, 66, 68, 70, 74, |
1405 |
| 2, 5, 6, 19, 3, 4, 10, 11, 13, 15, 22, 24, 26, 28, 78, 79, |
1406 |
| }; |
1407 |
| public static final String[] jjstrLiteralImages = { |
1408 |
| "", null, null, null, null, null, null, null, null, null, null, null, null, |
1409 |
| null, null, null, "\173", "\175", "\133", "\135", "\50", "\51", "\72\72", "\72", |
1410 |
| "\73", "\54", "\77", "\56\56\56", "\75", "\52\75", "\57\75", "\45\75", "\53\75", |
1411 |
| "\55\75", "\74\74\75", "\76\76\75", "\46\75", "\136\75", "\174\75", "\174\174", |
1412 |
| "\46\46", "\174", "\136", "\46", "\75\75", "\41\75", "\74", "\76", "\74\75", "\76\75", |
1413 |
| "\74\74", "\76\76", "\53", "\55", "\52", "\57", "\45", "\53\53", "\55\55", "\176", |
1414 |
| "\41", "\56", "\55\76", "\56\52", "\55\76\52", "\141\165\164\157", |
1415 |
| "\142\162\145\141\153", "\143\141\163\145", "\143\141\164\143\150", "\143\150\141\162", |
1416 |
| "\143\157\156\163\164", "\143\157\156\164\151\156\165\145", "\144\145\146\141\165\154\164", |
1417 |
| "\144\145\154\145\164\145", "\144\157", "\144\157\165\142\154\145", "\145\154\163\145", |
1418 |
| "\145\156\165\155", "\145\170\164\145\162\156", "\146\154\157\141\164", "\146\157\162", |
1419 |
| "\146\162\151\145\156\144", "\147\157\164\157", "\151\146", "\151\156\154\151\156\145", "\151\156\164", |
1420 |
| "\154\157\156\147", "\156\145\167", "\160\162\151\166\141\164\145", |
1421 |
| "\160\162\157\164\145\143\164\145\144", "\160\165\142\154\151\143", "\162\145\144\145\143\154\141\162\145\144", |
1422 |
| "\162\145\147\151\163\164\145\162", "\162\145\164\165\162\156", "\163\150\157\162\164", |
1423 |
| "\163\151\147\156\145\144", "\163\151\172\145\157\146", "\163\164\141\164\151\143", |
1424 |
| "\163\164\162\165\143\164", "\143\154\141\163\163", "\163\167\151\164\143\150", |
1425 |
| "\164\145\155\160\154\141\164\145", "\164\150\151\163", "\164\162\171", "\164\171\160\145\144\145\146", |
1426 |
| "\165\156\151\157\156", "\165\156\163\151\147\156\145\144", "\166\151\162\164\165\141\154", |
1427 |
| "\166\157\151\144", "\166\157\154\141\164\151\154\145", "\167\150\151\154\145", |
1428 |
| "\157\160\145\162\141\164\157\162", "\164\162\165\145", "\146\141\154\163\145", "\164\150\162\157\167", null, null, |
1429 |
| null, null, null, null, null, null, null, null, null, null, null, null, null, null, |
1430 |
| "\146\151\156\141\154\154\171", null, }; |
1431 |
| public static final String[] lexStateNames = { |
1432 |
| "DEFAULT", |
1433 |
| "IN_LINE_COMMENT", |
1434 |
| "IN_COMMENT", |
1435 |
| "PREPROCESSOR_OUTPUT", |
1436 |
| }; |
1437 |
| public static final int[] jjnewLexState = { |
1438 |
| -1, -1, -1, -1, -1, 1, 2, 3, 0, -1, 0, -1, 0, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, |
1439 |
| -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, |
1440 |
| -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, |
1441 |
| -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, |
1442 |
| -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, |
1443 |
| -1, -1, -1, -1, -1, -1, -1, -1, |
1444 |
| }; |
1445 |
| static final long[] jjtoToken = { |
1446 |
| 0xffffffffffff0001L, 0xffffffffffffffffL, 0x1fL, |
1447 |
| }; |
1448 |
| static final long[] jjtoSkip = { |
1449 |
| 0x15feL, 0x0L, 0x0L, |
1450 |
| }; |
1451 |
| static final long[] jjtoMore = { |
1452 |
| 0xea00L, 0x0L, 0x0L, |
1453 |
| }; |
1454 |
| protected SimpleCharStream input_stream; |
1455 |
| private final int[] jjrounds = new int[82]; |
1456 |
| private final int[] jjstateSet = new int[164]; |
1457 |
| protected char curChar; |
1458 |
4
| public CPPParserTokenManager(SimpleCharStream stream){
|
1459 |
4
| if (SimpleCharStream.staticFlag)
|
1460 |
0
| throw new Error("ERROR: Cannot use a static CharStream class with a non-static lexical analyzer.");
|
1461 |
4
| input_stream = stream;
|
1462 |
| } |
1463 |
0
| public CPPParserTokenManager(SimpleCharStream stream, int lexState){
|
1464 |
0
| this(stream);
|
1465 |
0
| SwitchTo(lexState);
|
1466 |
| } |
1467 |
0
| public void ReInit(SimpleCharStream stream)
|
1468 |
| { |
1469 |
0
| jjmatchedPos = jjnewStateCnt = 0;
|
1470 |
0
| curLexState = defaultLexState;
|
1471 |
0
| input_stream = stream;
|
1472 |
0
| ReInitRounds();
|
1473 |
| } |
1474 |
0
| private final void ReInitRounds()
|
1475 |
| { |
1476 |
0
| int i;
|
1477 |
0
| jjround = 0x80000001;
|
1478 |
0
| for (i = 82; i-- > 0;)
|
1479 |
0
| jjrounds[i] = 0x80000000;
|
1480 |
| } |
1481 |
0
| public void ReInit(SimpleCharStream stream, int lexState)
|
1482 |
| { |
1483 |
0
| ReInit(stream);
|
1484 |
0
| SwitchTo(lexState);
|
1485 |
| } |
1486 |
0
| public void SwitchTo(int lexState)
|
1487 |
| { |
1488 |
0
| if (lexState >= 4 || lexState < 0)
|
1489 |
0
| throw new TokenMgrError("Error: Ignoring invalid lexical state : " + lexState + ". State unchanged.", TokenMgrError.INVALID_LEXICAL_STATE);
|
1490 |
| else |
1491 |
0
| curLexState = lexState;
|
1492 |
| } |
1493 |
| |
1494 |
43
| protected Token jjFillToken()
|
1495 |
| { |
1496 |
43
| Token t = Token.newToken(jjmatchedKind);
|
1497 |
43
| t.kind = jjmatchedKind;
|
1498 |
43
| String im = jjstrLiteralImages[jjmatchedKind];
|
1499 |
43
| t.image = (im == null) ? input_stream.GetImage() : im;
|
1500 |
43
| t.beginLine = input_stream.getBeginLine();
|
1501 |
43
| t.beginColumn = input_stream.getBeginColumn();
|
1502 |
43
| t.endLine = input_stream.getEndLine();
|
1503 |
43
| t.endColumn = input_stream.getEndColumn();
|
1504 |
43
| return t;
|
1505 |
| } |
1506 |
| |
1507 |
| int curLexState = 0; |
1508 |
| int defaultLexState = 0; |
1509 |
| int jjnewStateCnt; |
1510 |
| int jjround; |
1511 |
| int jjmatchedPos; |
1512 |
| int jjmatchedKind; |
1513 |
| |
1514 |
43
| public Token getNextToken()
|
1515 |
| { |
1516 |
43
| int kind;
|
1517 |
43
| Token specialToken = null;
|
1518 |
43
| Token matchedToken;
|
1519 |
43
| int curPos = 0;
|
1520 |
| |
1521 |
43
| EOFLoop :
|
1522 |
| for (;;) |
1523 |
| { |
1524 |
49
| try
|
1525 |
| { |
1526 |
49
| curChar = input_stream.BeginToken();
|
1527 |
| } |
1528 |
| catch(java.io.IOException e) |
1529 |
| { |
1530 |
4
| jjmatchedKind = 0;
|
1531 |
4
| matchedToken = jjFillToken();
|
1532 |
4
| return matchedToken;
|
1533 |
| } |
1534 |
| |
1535 |
45
| for (;;)
|
1536 |
| { |
1537 |
153
| switch(curLexState)
|
1538 |
| { |
1539 |
44
| case 0:
|
1540 |
44
| try { input_stream.backup(0);
|
1541 |
44
| while (curChar <= 32 && (0x100000600L & (1L << curChar)) != 0L)
|
1542 |
31
| curChar = input_stream.BeginToken();
|
1543 |
| } |
1544 |
4
| catch (java.io.IOException e1) { continue EOFLoop; }
|
1545 |
40
| jjmatchedKind = 0x7fffffff;
|
1546 |
40
| jjmatchedPos = 0;
|
1547 |
40
| curPos = jjMoveStringLiteralDfa0_0();
|
1548 |
40
| break;
|
1549 |
0
| case 1:
|
1550 |
0
| jjmatchedKind = 0x7fffffff;
|
1551 |
0
| jjmatchedPos = 0;
|
1552 |
0
| curPos = jjMoveStringLiteralDfa0_1();
|
1553 |
0
| if (jjmatchedPos == 0 && jjmatchedKind > 9)
|
1554 |
| { |
1555 |
0
| jjmatchedKind = 9;
|
1556 |
| } |
1557 |
0
| break;
|
1558 |
0
| case 2:
|
1559 |
0
| jjmatchedKind = 0x7fffffff;
|
1560 |
0
| jjmatchedPos = 0;
|
1561 |
0
| curPos = jjMoveStringLiteralDfa0_2();
|
1562 |
0
| if (jjmatchedPos == 0 && jjmatchedKind > 11)
|
1563 |
| { |
1564 |
0
| jjmatchedKind = 11;
|
1565 |
| } |
1566 |
0
| break;
|
1567 |
109
| case 3:
|
1568 |
109
| jjmatchedKind = 0x7fffffff;
|
1569 |
109
| jjmatchedPos = 0;
|
1570 |
109
| curPos = jjMoveStringLiteralDfa0_3();
|
1571 |
109
| if (jjmatchedPos == 0 && jjmatchedKind > 15)
|
1572 |
| { |
1573 |
102
| jjmatchedKind = 15;
|
1574 |
| } |
1575 |
109
| break;
|
1576 |
| } |
1577 |
149
| if (jjmatchedKind != 0x7fffffff)
|
1578 |
| { |
1579 |
149
| if (jjmatchedPos + 1 < curPos)
|
1580 |
19
| input_stream.backup(curPos - jjmatchedPos - 1);
|
1581 |
149
| if ((jjtoToken[jjmatchedKind >> 6] & (1L << (jjmatchedKind & 077))) != 0L)
|
1582 |
| { |
1583 |
39
| matchedToken = jjFillToken();
|
1584 |
39
| if (jjnewLexState[jjmatchedKind] != -1)
|
1585 |
0
| curLexState = jjnewLexState[jjmatchedKind];
|
1586 |
39
| return matchedToken;
|
1587 |
| } |
1588 |
110
| else if ((jjtoSkip[jjmatchedKind >> 6] & (1L << (jjmatchedKind & 077))) != 0L)
|
1589 |
| { |
1590 |
2
| if (jjnewLexState[jjmatchedKind] != -1)
|
1591 |
2
| curLexState = jjnewLexState[jjmatchedKind];
|
1592 |
2
| continue EOFLoop;
|
1593 |
| } |
1594 |
108
| if (jjnewLexState[jjmatchedKind] != -1)
|
1595 |
0
| curLexState = jjnewLexState[jjmatchedKind];
|
1596 |
108
| curPos = 0;
|
1597 |
108
| jjmatchedKind = 0x7fffffff;
|
1598 |
108
| try {
|
1599 |
108
| curChar = input_stream.readChar();
|
1600 |
108
| continue;
|
1601 |
| } |
1602 |
| catch (java.io.IOException e1) { } |
1603 |
| } |
1604 |
0
| int error_line = input_stream.getEndLine();
|
1605 |
0
| int error_column = input_stream.getEndColumn();
|
1606 |
0
| String error_after = null;
|
1607 |
0
| boolean EOFSeen = false;
|
1608 |
0
| try { input_stream.readChar(); input_stream.backup(1); }
|
1609 |
| catch (java.io.IOException e1) { |
1610 |
0
| EOFSeen = true;
|
1611 |
0
| error_after = curPos <= 1 ? "" : input_stream.GetImage();
|
1612 |
0
| if (curChar == '\n' || curChar == '\r') {
|
1613 |
0
| error_line++;
|
1614 |
0
| error_column = 0;
|
1615 |
| } |
1616 |
| else |
1617 |
0
| error_column++;
|
1618 |
| } |
1619 |
0
| if (!EOFSeen) {
|
1620 |
0
| input_stream.backup(1);
|
1621 |
0
| error_after = curPos <= 1 ? "" : input_stream.GetImage();
|
1622 |
| } |
1623 |
0
| throw new TokenMgrError(EOFSeen, curLexState, error_line, error_column, error_after, curChar, TokenMgrError.LEXICAL_ERROR);
|
1624 |
| } |
1625 |
| } |
1626 |
| } |
1627 |
| |
1628 |
| } |