|
Lines 1-7
Link Here
|
| 1 |
/** |
1 |
/** |
| 2 |
* <copyright> |
2 |
* <copyright> |
| 3 |
* |
3 |
* |
| 4 |
* Copyright (c) 2005, 2009 IBM Corporation, Zeligsoft Inc., and others. |
4 |
* Copyright (c) 2005, 2009 IBM Corporation, Borland Software Corp., Open Canarias S.L. and others. |
| 5 |
* All rights reserved. This program and the accompanying materials |
5 |
* All rights reserved. This program and the accompanying materials |
| 6 |
* are made available under the terms of the Eclipse Public License v1.0 |
6 |
* are made available under the terms of the Eclipse Public License v1.0 |
| 7 |
* which accompanies this distribution, and is available at |
7 |
* which accompanies this distribution, and is available at |
|
Lines 10-32
Link Here
|
| 10 |
* Contributors: |
10 |
* Contributors: |
| 11 |
* IBM - Initial API and implementation |
11 |
* IBM - Initial API and implementation |
| 12 |
* E.D.Willink - Lexer and Parser refactoring to support extensibility and flexible error handling |
12 |
* E.D.Willink - Lexer and Parser refactoring to support extensibility and flexible error handling |
| 13 |
* - Bug 259818 |
13 |
* Borland - Bug 242880 |
|
|
14 |
* Adolfo Sanchez-Barbudo Herrera - LPG v2.0.17 adoption |
| 14 |
* |
15 |
* |
| 15 |
* </copyright> |
16 |
* </copyright> |
| 16 |
* |
17 |
* |
| 17 |
* $Id: OCLBacktrackingLexerprs.java,v 1.1 2009/01/13 20:31:30 cdamus Exp $ |
18 |
* '$'Id'' |
| 18 |
*/ |
19 |
*/ |
| 19 |
|
20 |
|
| 20 |
package org.eclipse.ocl.parser.backtracking; |
21 |
package org.eclipse.ocl.parser.backtracking; |
| 21 |
|
22 |
|
| 22 |
/** |
23 |
public class OCLBacktrackingLexerprs implements lpg.runtime.ParseTable, OCLBacktrackingLexersym { |
| 23 |
* The backtracking variant of the OCL lexer parse table. |
24 |
public final static int ERROR_SYMBOL = 0; |
| 24 |
* |
25 |
public final int getErrorSymbol() { return ERROR_SYMBOL; } |
| 25 |
* @noextend This class is not intended to be subclassed by clients. |
26 |
|
| 26 |
* |
27 |
public final static int SCOPE_UBOUND = 0; |
| 27 |
* @since 1.3 |
28 |
public final int getScopeUbound() { return SCOPE_UBOUND; } |
| 28 |
*/ |
29 |
|
| 29 |
public class OCLBacktrackingLexerprs implements lpg.lpgjavaruntime.ParseTable, OCLBacktrackingLexersym { |
30 |
public final static int SCOPE_SIZE = 0; |
|
|
31 |
public final int getScopeSize() { return SCOPE_SIZE; } |
| 32 |
|
| 33 |
public final static int MAX_NAME_LENGTH = 0; |
| 34 |
public final int getMaxNameLength() { return MAX_NAME_LENGTH; } |
| 35 |
|
| 36 |
public final static int NUM_STATES = 50; |
| 37 |
public final int getNumStates() { return NUM_STATES; } |
| 38 |
|
| 39 |
public final static int NT_OFFSET = 103; |
| 40 |
public final int getNtOffset() { return NT_OFFSET; } |
| 41 |
|
| 42 |
public final static int LA_STATE_OFFSET = 824; |
| 43 |
public final int getLaStateOffset() { return LA_STATE_OFFSET; } |
| 44 |
|
| 45 |
public final static int MAX_LA = 1; |
| 46 |
public final int getMaxLa() { return MAX_LA; } |
| 47 |
|
| 48 |
public final static int NUM_RULES = 309; |
| 49 |
public final int getNumRules() { return NUM_RULES; } |
| 50 |
|
| 51 |
public final static int NUM_NONTERMINALS = 44; |
| 52 |
public final int getNumNonterminals() { return NUM_NONTERMINALS; } |
| 53 |
|
| 54 |
public final static int NUM_SYMBOLS = 147; |
| 55 |
public final int getNumSymbols() { return NUM_SYMBOLS; } |
| 56 |
|
| 57 |
public final static int SEGMENT_SIZE = 8192; |
| 58 |
public final int getSegmentSize() { return SEGMENT_SIZE; } |
| 59 |
|
| 60 |
public final static int START_STATE = 310; |
| 61 |
public final int getStartState() { return START_STATE; } |
| 62 |
|
| 63 |
public final static int IDENTIFIER_SYMBOL = 0; |
| 64 |
public final int getIdentifier_SYMBOL() { return IDENTIFIER_SYMBOL; } |
| 65 |
|
| 66 |
public final static int EOFT_SYMBOL = 99; |
| 67 |
public final int getEoftSymbol() { return EOFT_SYMBOL; } |
| 68 |
|
| 69 |
public final static int EOLT_SYMBOL = 104; |
| 70 |
public final int getEoltSymbol() { return EOLT_SYMBOL; } |
| 71 |
|
| 72 |
public final static int ACCEPT_ACTION = 514; |
| 73 |
public final int getAcceptAction() { return ACCEPT_ACTION; } |
| 74 |
|
| 75 |
public final static int ERROR_ACTION = 515; |
| 76 |
public final int getErrorAction() { return ERROR_ACTION; } |
| 77 |
|
| 78 |
public final static boolean BACKTRACK = false; |
| 79 |
public final boolean getBacktrack() { return BACKTRACK; } |
| 80 |
|
| 81 |
public final int getStartSymbol() { return lhs(0); } |
| 82 |
public final boolean isValidForParser() { return OCLBacktrackingLexersym.isValidForParser; } |
| 83 |
|
| 84 |
|
| 85 |
public interface IsNullable { |
| 86 |
public final static byte isNullable[] = {0, |
| 87 |
0,0,0,0,0,0,0,0,0,0, |
| 88 |
0,0,0,0,0,0,0,0,0,0, |
| 89 |
0,0,0,0,0,0,0,0,0,0, |
| 90 |
0,0,0,0,0,0,0,0,0,0, |
| 91 |
0,0,0,0,0,0,0,0,0,0, |
| 92 |
0,0,0,0,0,0,0,0,0,0, |
| 93 |
0,0,0,0,0,0,0,0,0,0, |
| 94 |
0,0,0,0,0,0,0,0,0,0, |
| 95 |
0,0,0,0,0,0,0,0,0,0, |
| 96 |
0,0,0,0,0,0,0,0,0,0, |
| 97 |
0,0,0,0,0,0,0,0,0,0, |
| 98 |
0,0,0,0,0,0,1,0,0,0, |
| 99 |
0,0,0,0,0,0,0,0,0,0, |
| 100 |
0,1,0,0,0,0,0,0,0,0, |
| 101 |
0,0,0,0,0,0,0 |
| 102 |
}; |
| 103 |
}; |
| 104 |
public final static byte isNullable[] = IsNullable.isNullable; |
| 105 |
public final boolean isNullable(int index) { return isNullable[index] != 0; } |
| 106 |
|
| 107 |
public interface ProsthesesIndex { |
| 108 |
public final static byte prosthesesIndex[] = {0, |
| 109 |
20,25,26,27,35,4,15,37,40,43, |
| 110 |
24,5,3,6,17,18,23,32,34,36, |
| 111 |
41,42,2,7,8,9,10,11,12,13, |
| 112 |
14,16,19,33,38,39,44,1,21,22, |
| 113 |
28,29,30,31 |
| 114 |
}; |
| 115 |
}; |
| 116 |
public final static byte prosthesesIndex[] = ProsthesesIndex.prosthesesIndex; |
| 117 |
public final int prosthesesIndex(int index) { return prosthesesIndex[index]; } |
| 30 |
|
118 |
|
| 31 |
public interface IsKeyword { |
119 |
public interface IsKeyword { |
| 32 |
public final static byte isKeyword[] = {0, |
120 |
public final static byte isKeyword[] = {0, |
|
Lines 74-86
Link Here
|
| 74 |
1,1,1,1,1,1,1,1,1,1, |
162 |
1,1,1,1,1,1,1,1,1,1, |
| 75 |
1,1,1,1,1,1,1,1,1,1, |
163 |
1,1,1,1,1,1,1,1,1,1, |
| 76 |
1,1,1,1,1,1,1,1,1,1, |
164 |
1,1,1,1,1,1,1,1,1,1, |
|
|
165 |
1,1,2,1,1,1,1,1,1,1, |
| 77 |
1,1,1,1,1,1,1,1,1,1, |
166 |
1,1,1,1,1,1,1,1,1,1, |
| 78 |
1,1,1,1,1,1,1,1,1,1, |
167 |
1,1,1,1,1,1,1,1,1,1, |
| 79 |
1,1,1,1,1,1,1,1,1,1, |
168 |
2,2,1,2,1,2,0,1,3,3, |
| 80 |
1,1,1,1,1,1,1,1,1,1, |
169 |
3,3,3,3,3,4,4,3,3 |
| 81 |
1,1,1,1,1,1,1,2,2,1, |
|
|
| 82 |
2,1,2,0,1,3,3,3,3,3, |
| 83 |
3,3,4,4,3,3 |
| 84 |
}; |
170 |
}; |
| 85 |
}; |
171 |
}; |
| 86 |
public final static byte baseCheck[] = BaseCheck.baseCheck; |
172 |
public final static byte baseCheck[] = BaseCheck.baseCheck; |
|
Lines 90-146
Link Here
|
| 90 |
|
176 |
|
| 91 |
public interface BaseAction { |
177 |
public interface BaseAction { |
| 92 |
public final static char baseAction[] = { |
178 |
public final static char baseAction[] = { |
| 93 |
21,21,21,21,21,21,21,21,21,21, |
179 |
23,23,23,23,23,23,23,23,23,23, |
| 94 |
21,21,21,21,21,21,21,21,21,21, |
180 |
23,23,23,23,23,23,23,23,23,23, |
| 95 |
21,21,21,21,21,21,21,21,21,21, |
181 |
23,23,23,23,23,23,23,23,23,23, |
| 96 |
21,21,21,21,21,21,21,21,21,21, |
182 |
23,23,23,23,23,23,23,23,23,23, |
| 97 |
21,22,23,23,23,27,27,27,27,28, |
183 |
23,24,25,25,25,29,29,29,29,30, |
| 98 |
28,26,26,6,6,35,35,30,13,13, |
184 |
30,28,28,7,7,39,39,32,15,15, |
| 99 |
13,9,9,9,9,9,2,2,2,2, |
185 |
15,11,11,11,11,11,2,2,2,2, |
| 100 |
3,3,3,3,3,3,3,3,3,3, |
186 |
3,3,3,3,3,3,3,3,3,3, |
| 101 |
3,3,3,3,3,3,3,3,3,3, |
187 |
3,3,3,3,3,3,3,3,3,3, |
| 102 |
3,3,3,3,3,3,4,4,4,4, |
188 |
3,3,3,3,3,3,4,4,4,4, |
| 103 |
4,4,4,4,4,4,4,4,4,4, |
189 |
4,4,4,4,4,4,4,4,4,4, |
| 104 |
4,4,4,4,4,4,4,4,4,4, |
190 |
4,4,4,4,4,4,4,4,4,4, |
| 105 |
4,4,1,1,1,1,1,1,1,1, |
191 |
4,4,1,1,1,1,1,1,1,1, |
| 106 |
1,1,37,37,37,37,37,37,37,37, |
192 |
1,1,41,41,41,41,41,41,41,41, |
| 107 |
38,38,38,38,38,38,38,38,38,38, |
193 |
42,42,42,42,42,42,42,42,42,42, |
| 108 |
38,38,36,36,39,39,39,15,15,40, |
194 |
42,42,40,40,43,43,43,17,17,44, |
| 109 |
40,29,29,11,11,11,11,11,32,32, |
195 |
44,31,31,13,13,13,13,13,34,34, |
| 110 |
32,32,32,32,32,32,32,32,32,32, |
196 |
34,34,34,34,34,34,34,34,34,34, |
| 111 |
32,32,32,32,32,32,32,32,32,32, |
197 |
34,34,34,34,34,34,34,34,34,34, |
| 112 |
32,32,32,32,32,32,32,32,17,17, |
198 |
34,34,34,34,34,34,34,34,19,19, |
| 113 |
17,17,17,17,17,17,17,17,17,17, |
199 |
19,19,19,19,19,19,19,19,19,19, |
| 114 |
17,17,17,17,17,17,17,17,17,17, |
200 |
19,19,19,19,19,19,19,19,19,19, |
| 115 |
17,17,17,17,17,17,17,18,18,18, |
201 |
19,19,19,19,19,19,19,5,5,5, |
| 116 |
18,18,18,18,18,18,18,18,18,18, |
202 |
5,5,5,5,5,5,5,5,5,5, |
| 117 |
18,18,18,18,18,18,18,18,18,18, |
203 |
5,5,5,5,5,5,5,5,5,5, |
| 118 |
18,18,18,18,18,18,7,7,7,7, |
204 |
5,5,5,5,5,20,20,8,8,35, |
| 119 |
7,7,7,7,7,7,7,7,7,7, |
205 |
35,35,35,9,16,16,16,16,33,33, |
| 120 |
7,7,7,7,7,7,7,7,7,7, |
206 |
33,33,33,33,33,33,36,36,36,36, |
| 121 |
7,7,7,7,7,7,14,14,14,14, |
207 |
21,21,21,21,21,10,10,10,10,10, |
| 122 |
31,31,31,31,31,31,31,31,19,19, |
208 |
10,6,22,37,37,12,12,14,14,18, |
| 123 |
19,19,19,8,8,8,8,8,5,20, |
209 |
26,26,26,26,26,26,26,26,26,27, |
| 124 |
33,33,10,10,12,12,16,24,24,24, |
210 |
988,486,485,485,485,1426,2,339,1333,326, |
| 125 |
24,24,24,24,24,24,25,891,478,472, |
211 |
1377,487,1380,493,1082,326,1366,54,488,1427, |
| 126 |
472,472,2,354,1236,344,479,1280,491,1283, |
212 |
43,162,318,322,6,7,8,9,478,1320, |
| 127 |
344,1247,408,480,1269,54,162,408,339,6, |
213 |
54,320,315,309,490,490,490,490,490,490, |
| 128 |
7,8,9,421,1223,54,337,488,309,481, |
214 |
1314,490,490,490,44,392,318,405,309,490, |
| 129 |
481,481,481,481,985,481,481,44,431,334, |
215 |
490,490,490,490,490,1087,490,490,490,1384, |
| 130 |
427,309,481,481,481,481,481,1330,481,481, |
216 |
392,1385,430,406,409,409,409,409,409,409, |
| 131 |
304,431,1217,437,406,457,457,457,457,457, |
217 |
1165,409,409,409,1243,409,891,424,424,424, |
| 132 |
990,457,457,1287,457,794,466,466,466,466, |
218 |
424,424,600,296,296,296,296,296,296,1428, |
| 133 |
1291,54,1,47,47,47,47,402,1307,54, |
219 |
296,296,296,1388,54,100,424,424,424,697, |
| 134 |
1288,47,1068,466,466,466,47,1318,54,47, |
220 |
296,296,296,296,296,296,1313,296,296,296, |
| 135 |
1146,205,52,52,52,52,1331,100,466,1216, |
221 |
304,1404,54,424,794,294,294,294,294,294, |
| 136 |
473,503,313,313,313,313,313,986,313,313, |
222 |
1083,1,47,47,47,47,503,263,263,263, |
| 137 |
994,400,496,496,496,1219,400,1069,1258,417, |
223 |
263,263,47,1316,294,294,294,47,1166,431, |
| 138 |
1333,496,52,52,417,1289,496,600,313,313, |
224 |
47,1091,403,498,498,498,1344,421,403,1355, |
| 139 |
313,313,313,1332,313,313,697,311,311,311, |
225 |
467,473,1430,421,498,1386,467,1415,54,498, |
| 140 |
311,1220,1334,103,45,45,45,45,1335,1336, |
226 |
1429,263,263,103,45,45,45,45,205,52, |
| 141 |
1337,1281,45,506,311,311,311,45,1329,506, |
227 |
52,52,52,1317,45,1431,1432,1433,1434,45, |
| 142 |
45,1073,165,164,164,164,1148,165,164,164, |
228 |
1378,515,45,1170,165,164,164,164,1245,165, |
| 143 |
164,43,506,334,506,506 |
229 |
164,164,164,515,515,515,515,515,515,515, |
|
|
230 |
515,52,52,515,515 |
| 144 |
}; |
231 |
}; |
| 145 |
}; |
232 |
}; |
| 146 |
public final static char baseAction[] = BaseAction.baseAction; |
233 |
public final static char baseAction[] = BaseAction.baseAction; |
|
Lines 236-242
Link Here
|
| 236 |
37,38,39,40,41,42,43,44,45,46, |
323 |
37,38,39,40,41,42,43,44,45,46, |
| 237 |
47,48,49,50,51,52,53,54,55,56, |
324 |
47,48,49,50,51,52,53,54,55,56, |
| 238 |
57,58,59,60,61,62,63,64,65,66, |
325 |
57,58,59,60,61,62,63,64,65,66, |
| 239 |
67,68,69,70,71,72,0,74,75,76, |
326 |
67,68,69,70,71,72,73,74,75,76, |
| 240 |
77,78,79,80,81,82,83,84,85,86, |
327 |
77,78,79,80,81,82,83,84,85,86, |
| 241 |
87,88,89,90,91,92,93,94,95,96, |
328 |
87,88,89,90,91,92,93,94,95,96, |
| 242 |
0,1,2,3,4,5,6,7,8,9, |
329 |
0,1,2,3,4,5,6,7,8,9, |
|
Lines 246-299
Link Here
|
| 246 |
40,41,42,43,44,45,46,47,48,49, |
333 |
40,41,42,43,44,45,46,47,48,49, |
| 247 |
50,51,52,53,54,55,56,57,58,59, |
334 |
50,51,52,53,54,55,56,57,58,59, |
| 248 |
60,61,62,63,64,65,66,67,68,69, |
335 |
60,61,62,63,64,65,66,67,68,69, |
| 249 |
70,71,72,73,0,75,76,77,78,79, |
336 |
70,71,72,0,74,75,76,77,78,79, |
| 250 |
80,81,82,83,84,85,86,87,88,89, |
337 |
80,81,82,83,84,85,86,87,88,89, |
| 251 |
90,0,0,0,0,0,0,97,98,0, |
338 |
90,91,92,93,94,95,96,0,1,2, |
| 252 |
100,101,102,0,1,2,3,4,5,6, |
|
|
| 253 |
7,8,9,10,11,12,13,14,0,16, |
| 254 |
17,18,19,20,21,22,23,24,25,26, |
| 255 |
27,28,29,30,31,32,33,34,35,36, |
| 256 |
37,38,39,40,41,42,43,44,45,46, |
| 257 |
47,48,49,50,51,52,53,54,55,56, |
| 258 |
57,58,59,60,61,62,63,64,65,75, |
| 259 |
67,68,69,70,71,76,73,0,0,0, |
| 260 |
77,78,0,1,2,3,4,5,6,7, |
| 261 |
8,9,10,11,12,13,14,102,16,17, |
| 262 |
18,19,20,21,22,23,24,25,26,27, |
| 263 |
28,29,30,31,32,33,34,35,36,37, |
| 264 |
38,39,40,41,42,43,44,45,46,47, |
| 265 |
48,49,50,51,52,53,54,55,56,57, |
| 266 |
58,59,60,61,62,63,64,65,71,0, |
| 267 |
0,73,0,0,0,0,74,0,1,2, |
| 268 |
3,4,5,6,7,8,9,10,11,12, |
339 |
3,4,5,6,7,8,9,10,11,12, |
| 269 |
13,14,0,16,17,18,19,20,21,22, |
340 |
13,14,15,16,17,18,19,20,21,22, |
| 270 |
23,24,25,26,27,28,29,30,31,32, |
341 |
23,24,25,26,27,28,29,30,31,32, |
| 271 |
33,34,35,36,37,38,39,40,41,42, |
342 |
33,34,35,36,37,38,39,40,41,42, |
| 272 |
43,44,45,46,47,48,49,50,51,52, |
343 |
43,44,45,46,47,48,49,50,51,52, |
| 273 |
53,54,55,56,57,58,59,60,61,62, |
344 |
53,54,55,56,57,58,59,60,61,62, |
| 274 |
63,64,65,68,69,0,0,0,0,0, |
345 |
63,64,65,66,67,68,69,70,71,72, |
| 275 |
0,74,0,1,2,3,4,5,6,7, |
346 |
73,0,75,76,77,78,79,80,81,82, |
| 276 |
8,9,10,11,12,0,1,2,3,4, |
347 |
83,84,85,86,87,88,89,90,0,0, |
| 277 |
5,6,7,8,9,10,0,1,2,3, |
348 |
0,0,0,0,97,98,0,100,101,102, |
| 278 |
4,5,6,7,8,9,10,0,1,2, |
|
|
| 279 |
3,4,5,6,7,8,9,10,0,1, |
| 280 |
2,3,4,5,6,7,8,9,10,0, |
| 281 |
0,66,0,67,66,66,0,0,0,67, |
| 282 |
0,1,2,3,4,5,6,7,8,9, |
349 |
0,1,2,3,4,5,6,7,8,9, |
| 283 |
10,15,15,15,69,70,0,1,2,3, |
350 |
10,11,12,13,14,0,16,17,18,19, |
| 284 |
4,5,6,7,8,9,10,0,1,2, |
351 |
20,21,22,23,24,25,26,27,28,29, |
| 285 |
3,4,5,6,7,8,9,10,0,0, |
352 |
30,31,32,33,34,35,36,37,38,39, |
| 286 |
0,0,0,0,0,0,0,0,0,11, |
353 |
40,41,42,43,44,45,46,47,48,49, |
| 287 |
12,0,13,11,14,0,15,0,0,0, |
354 |
50,51,52,53,54,55,56,57,58,59, |
| 288 |
0,72,0,0,68,0,0,0,0,0, |
355 |
60,61,62,63,64,65,75,67,68,69, |
|
|
356 |
70,71,76,73,0,0,0,77,78,0, |
| 357 |
1,2,3,4,5,6,7,8,9,10, |
| 358 |
11,12,13,14,102,16,17,18,19,20, |
| 359 |
21,22,23,24,25,26,27,28,29,30, |
| 360 |
31,32,33,34,35,36,37,38,39,40, |
| 361 |
41,42,43,44,45,46,47,48,49,50, |
| 362 |
51,52,53,54,55,56,57,58,59,60, |
| 363 |
61,62,63,64,65,71,0,0,73,0, |
| 364 |
0,0,0,74,0,1,2,3,4,5, |
| 365 |
6,7,8,9,10,11,12,13,14,0, |
| 366 |
16,17,18,19,20,21,22,23,24,25, |
| 367 |
26,27,28,29,30,31,32,33,34,35, |
| 368 |
36,37,38,39,40,41,42,43,44,45, |
| 369 |
46,47,48,49,50,51,52,53,54,55, |
| 370 |
56,57,58,59,60,61,62,63,64,65, |
| 371 |
68,69,0,0,0,0,0,0,74,0, |
| 372 |
1,2,3,4,5,6,7,8,9,10, |
| 373 |
11,12,0,1,2,3,4,5,6,7, |
| 374 |
8,9,10,0,1,2,3,4,5,6, |
| 375 |
7,8,9,10,0,1,2,3,4,5, |
| 376 |
6,7,8,9,10,0,1,2,3,4, |
| 377 |
5,6,7,8,9,10,0,0,66,0, |
| 378 |
67,66,66,0,0,0,67,0,1,2, |
| 379 |
3,4,5,6,7,8,9,10,15,15, |
| 380 |
15,69,70,0,1,2,3,4,5,6, |
| 381 |
7,8,9,10,0,1,2,3,4,5, |
| 382 |
6,7,8,9,10,0,0,0,0,0, |
| 383 |
0,0,0,0,0,0,11,12,0,13, |
| 384 |
11,14,0,15,0,0,0,0,72,0, |
| 385 |
0,68,0,0,0,0,0,0,0,0, |
| 289 |
0,0,0,0,0,0,0,0,0,0, |
386 |
0,0,0,0,0,0,0,0,0,0, |
| 290 |
0,0,0,0,0,0,97,98,0,100, |
387 |
0,0,0,97,98,0,100,101,99,102, |
| 291 |
101,99,102,0,0,0,0,0,0,0, |
|
|
| 292 |
0,0,0,0,0,0,0,0,0,0, |
388 |
0,0,0,0,0,0,0,0,0,0, |
| 293 |
0,0,0,0,0,0,0,0,0,0, |
389 |
0,0,0,0,0,0,0,0,0,0, |
| 294 |
0,0,0,0,0,0,0,0,0,0, |
390 |
0,0,0,0,0,0,0,0,0,0, |
| 295 |
0,0,0,0,0,0,0,0,0,0, |
391 |
0,0,0,0,0,0,0,0,0,0, |
| 296 |
0,0,99,99,99,99,0,0,0,0 |
392 |
0,0,0,0,0,0,0,0,0,99, |
|
|
393 |
99,99,99,0,0,0,0 |
| 297 |
}; |
394 |
}; |
| 298 |
}; |
395 |
}; |
| 299 |
public final static byte termCheck[] = TermCheck.termCheck; |
396 |
public final static byte termCheck[] = TermCheck.termCheck; |
|
Lines 301-450
Link Here
|
| 301 |
|
398 |
|
| 302 |
public interface TermAction { |
399 |
public interface TermAction { |
| 303 |
public final static char termAction[] = {0, |
400 |
public final static char termAction[] = {0, |
| 304 |
506,553,553,553,553,553,553,553,553,553, |
401 |
515,562,562,562,562,562,562,562,562,562, |
| 305 |
553,553,553,553,553,553,553,553,553,553, |
402 |
562,562,562,562,562,562,562,562,562,562, |
| 306 |
553,553,553,553,553,553,553,553,553,553, |
403 |
562,562,562,562,562,562,562,562,562,562, |
| 307 |
553,553,553,553,553,553,553,553,553,553, |
404 |
562,562,562,562,562,562,562,562,562,562, |
| 308 |
553,553,553,553,553,553,553,553,553,553, |
405 |
562,562,562,562,562,562,562,562,562,562, |
| 309 |
553,553,553,553,553,553,553,553,553,553, |
406 |
562,562,562,562,562,562,562,562,562,562, |
| 310 |
553,553,553,553,553,553,553,553,553,553, |
407 |
562,562,562,562,562,562,562,562,562,562, |
| 311 |
553,473,553,553,553,553,553,553,552,553, |
408 |
562,473,562,562,562,562,562,562,561,562, |
| 312 |
553,553,553,553,553,553,553,553,553,553, |
409 |
562,562,562,562,562,562,562,562,562,562, |
| 313 |
553,553,553,553,553,553,553,553,553,506, |
410 |
562,562,562,562,562,562,562,562,562,515, |
| 314 |
553,553,506,551,551,551,551,551,551,551, |
411 |
562,562,515,560,560,560,560,560,560,560, |
| 315 |
551,551,551,551,551,551,551,551,551,551, |
412 |
560,560,560,560,560,560,560,560,560,560, |
| 316 |
551,551,551,551,551,551,551,551,551,551, |
413 |
560,560,560,560,560,560,560,560,560,560, |
| 317 |
551,551,551,551,551,551,551,551,551,551, |
414 |
560,560,560,560,560,560,560,560,560,560, |
| 318 |
551,551,551,551,551,551,551,551,551,551, |
415 |
560,560,560,560,560,560,560,560,560,560, |
| 319 |
551,551,551,551,551,551,551,551,551,551, |
416 |
560,560,560,560,560,560,560,560,560,560, |
| 320 |
551,551,551,551,551,551,551,551,551,551, |
417 |
560,560,560,560,560,560,560,560,560,560, |
| 321 |
551,551,551,556,551,551,551,551,551,551, |
418 |
560,560,560,565,560,560,560,560,560,560, |
| 322 |
517,551,551,551,551,551,551,551,551,551, |
419 |
526,560,560,560,560,560,560,560,560,560, |
| 323 |
551,551,551,551,551,551,551,551,551,551, |
420 |
560,560,560,560,560,560,560,560,560,560, |
| 324 |
551,511,551,551,10,558,558,558,558,558, |
421 |
560,520,560,560,10,567,567,567,567,567, |
| 325 |
558,558,558,558,558,558,558,558,558,558, |
422 |
567,567,567,567,567,567,567,567,567,567, |
| 326 |
558,558,558,558,558,558,558,558,558,558, |
423 |
567,567,567,567,567,567,567,567,567,567, |
| 327 |
558,558,558,558,558,558,558,558,558,558, |
424 |
567,567,567,567,567,567,567,567,567,567, |
| 328 |
558,558,558,558,558,558,558,558,558,558, |
425 |
567,567,567,567,567,567,567,567,567,567, |
| 329 |
558,558,558,558,558,558,558,558,558,558, |
426 |
567,567,567,567,567,567,567,567,567,567, |
| 330 |
558,558,558,558,558,558,558,558,558,558, |
427 |
567,567,567,567,567,567,567,567,567,567, |
| 331 |
558,558,558,558,558,558,558,558,558,558, |
428 |
567,567,567,567,567,567,567,567,567,567, |
| 332 |
558,558,558,558,558,558,558,558,558,558, |
429 |
567,567,567,567,567,567,567,567,567,567, |
| 333 |
558,558,558,558,558,558,558,558,558,558, |
430 |
567,567,567,567,567,567,567,567,567,567, |
| 334 |
558,558,558,48,506,506,506,558,314,481, |
431 |
567,567,567,48,515,515,515,567,297,490, |
| 335 |
481,481,481,481,481,481,481,481,481,481, |
432 |
490,490,490,490,490,490,490,490,490,490, |
| 336 |
481,481,481,481,481,481,481,481,481,481, |
433 |
490,490,490,490,490,490,490,490,490,490, |
| 337 |
481,481,481,481,481,481,481,481,481,481, |
434 |
490,490,490,490,490,490,490,490,490,490, |
| 338 |
481,481,481,481,481,481,481,481,481,481, |
435 |
490,490,490,490,490,490,490,490,490,490, |
| 339 |
481,481,481,481,481,481,481,481,481,481, |
436 |
490,490,490,490,490,490,490,490,490,490, |
| 340 |
481,481,481,481,481,481,481,481,481,481, |
437 |
490,490,490,490,490,490,490,490,490,490, |
| 341 |
481,481,481,481,429,481,481,481,481,481, |
438 |
490,490,490,490,416,490,490,490,490,490, |
| 342 |
481,481,481,481,481,481,481,481,481,481, |
439 |
490,490,490,490,490,490,490,490,490,490, |
| 343 |
481,481,481,481,481,481,481,481,481,481, |
440 |
490,490,490,490,490,490,490,490,490,490, |
| 344 |
481,481,481,481,481,506,457,457,457,457, |
441 |
490,490,490,490,436,515,409,409,409,409, |
| 345 |
457,457,457,457,457,457,457,457,457,457, |
442 |
409,409,409,409,409,409,409,409,409,409, |
| 346 |
457,457,457,457,457,457,457,457,457,457, |
443 |
409,409,409,409,409,409,409,409,409,409, |
| 347 |
457,457,457,457,457,457,457,457,457,457, |
444 |
409,409,409,409,409,409,409,409,409,409, |
| 348 |
457,457,457,457,457,457,457,457,457,457, |
445 |
409,409,409,409,409,409,409,409,409,409, |
| 349 |
457,457,457,457,457,457,457,457,457,457, |
446 |
409,409,409,409,409,409,409,409,409,409, |
| 350 |
457,457,457,457,457,457,457,457,457,457, |
447 |
409,409,409,409,409,409,409,409,409,409, |
| 351 |
457,445,457,457,457,457,457,457,457,457, |
448 |
409,443,409,409,409,409,409,409,409,409, |
| 352 |
457,457,457,457,457,457,457,457,457,457, |
449 |
409,409,409,409,409,409,409,409,409,409, |
| 353 |
457,457,457,457,457,457,457,457,457,457, |
450 |
409,409,409,409,409,409,409,409,409,409, |
| 354 |
457,457,315,819,819,819,819,819,819,819, |
451 |
409,436,515,778,778,778,778,778,778,778, |
| 355 |
819,819,819,819,819,819,819,819,819,819, |
452 |
778,778,778,778,778,778,778,778,778,778, |
| 356 |
819,819,819,819,819,819,819,819,819,819, |
453 |
778,778,778,778,778,778,778,778,778,778, |
| 357 |
819,819,819,819,819,819,819,819,819,819, |
454 |
778,778,778,778,778,778,778,778,778,778, |
| 358 |
819,819,819,819,819,819,819,819,819,819, |
455 |
778,778,778,778,778,778,778,778,778,778, |
| 359 |
819,819,819,819,819,819,819,819,819,819, |
456 |
778,778,778,778,778,778,778,778,778,778, |
| 360 |
819,819,819,819,819,819,819,819,429,819, |
457 |
778,778,778,778,778,778,778,778,778,778, |
| 361 |
819,819,819,819,819,819,819,819,819,819, |
458 |
778,778,778,778,778,778,778,778,778,778, |
| 362 |
819,819,819,819,819,819,819,819,819,819, |
459 |
778,778,778,778,778,778,778,778,778,778, |
| 363 |
819,819,819,819,819,819,819,819,819,506, |
460 |
778,778,778,778,778,778,778,778,778,298, |
| 364 |
819,819,819,819,819,819,819,819,819,819, |
461 |
811,811,811,811,811,811,811,811,811,811, |
| 365 |
819,819,819,819,819,819,819,819,819,819, |
462 |
811,811,811,811,811,811,811,811,811,811, |
| 366 |
819,819,819,819,819,819,819,819,819,819, |
463 |
811,811,811,811,811,811,811,811,811,811, |
| 367 |
819,819,819,819,819,819,819,819,819,819, |
464 |
811,811,811,811,811,811,811,811,811,811, |
| 368 |
819,819,819,819,819,819,819,819,819,819, |
465 |
811,811,811,811,811,811,811,811,811,811, |
| 369 |
819,819,819,819,819,819,819,819,819,819, |
466 |
811,811,811,811,811,811,811,811,811,811, |
| 370 |
819,819,819,819,819,471,819,819,819,819, |
467 |
811,811,811,811,811,416,811,811,811,811, |
| 371 |
819,819,819,819,819,819,819,819,819,819, |
468 |
811,811,811,811,811,811,811,811,811,811, |
| 372 |
819,819,819,819,819,819,819,819,819,819, |
469 |
811,811,811,811,811,811,811,811,811,811, |
| 373 |
819,819,819,819,819,819,506,817,817,817, |
470 |
811,811,811,811,811,436,515,811,811,811, |
| 374 |
817,817,817,817,817,817,817,817,817,817, |
471 |
811,811,811,811,811,811,811,811,811,811, |
| 375 |
817,817,817,817,817,817,817,817,817,817, |
472 |
811,811,811,811,811,811,811,811,811,811, |
| 376 |
817,817,817,817,817,817,817,817,817,817, |
473 |
811,811,811,811,811,811,811,811,811,811, |
| 377 |
817,817,817,817,817,817,817,817,817,817, |
474 |
811,811,811,811,811,811,811,811,811,811, |
| 378 |
817,817,817,817,817,817,817,817,817,817, |
475 |
811,811,811,811,811,811,811,811,811,811, |
| 379 |
817,817,817,817,817,817,817,817,817,817, |
476 |
811,811,811,811,811,811,811,811,811,811, |
| 380 |
817,817,817,817,817,817,817,817,817,822, |
477 |
811,811,483,811,811,811,811,811,811,811, |
| 381 |
817,817,817,817,817,817,817,817,817,817, |
478 |
811,811,811,811,811,811,811,811,811,811, |
| 382 |
817,817,817,817,817,817,817,817,817,817, |
479 |
811,811,811,811,811,811,811,811,811,811, |
| 383 |
817,817,447,506,466,466,466,466,466,466, |
480 |
811,811,436,515,809,809,809,809,809,809, |
| 384 |
466,466,466,466,466,466,466,466,466,466, |
481 |
809,809,809,809,809,809,809,809,809,809, |
| 385 |
466,466,466,466,466,466,466,466,466,466, |
482 |
809,809,809,809,809,809,809,809,809,809, |
| 386 |
466,466,466,466,466,466,466,466,466,466, |
483 |
809,809,809,809,809,809,809,809,809,809, |
| 387 |
466,466,466,466,466,466,466,466,466,466, |
484 |
809,809,809,809,809,809,809,809,809,809, |
| 388 |
466,466,466,466,466,466,466,466,466,466, |
485 |
809,809,809,809,809,809,809,809,809,809, |
| 389 |
466,466,466,466,466,466,466,466,466,466, |
486 |
809,809,809,809,809,809,809,809,809,809, |
| 390 |
466,466,466,466,466,466,506,466,466,466, |
487 |
809,809,809,809,809,809,814,809,809,809, |
| 391 |
466,466,466,466,466,466,466,466,466,466, |
488 |
809,809,809,809,809,809,809,809,809,809, |
| 392 |
466,466,466,466,466,466,466,466,466,447, |
489 |
809,809,809,809,809,809,809,809,809,448, |
| 393 |
506,478,478,478,478,478,478,478,478,478, |
490 |
515,424,424,424,424,424,424,424,424,424, |
| 394 |
478,472,472,472,472,527,472,472,472,472, |
491 |
424,424,424,424,424,424,424,424,424,424, |
| 395 |
472,472,472,472,472,472,472,472,472,472, |
492 |
424,424,424,424,424,424,424,424,424,424, |
| 396 |
472,472,472,472,472,472,472,472,472,472, |
493 |
424,424,424,424,424,424,424,424,424,424, |
| 397 |
472,472,472,472,472,472,472,472,472,472, |
494 |
424,424,424,424,424,424,424,424,424,424, |
| 398 |
472,472,472,472,472,472,472,472,472,472, |
495 |
424,424,424,424,424,424,424,424,424,424, |
| 399 |
472,472,472,472,472,472,384,382,410,420, |
496 |
424,424,424,424,424,424,424,424,424,424, |
| 400 |
519,521,479,395,506,364,390,393,412,536, |
497 |
424,424,424,515,424,424,424,424,424,424, |
| 401 |
377,358,540,533,534,531,532,546,537,523, |
498 |
424,424,424,424,424,424,424,424,424,424, |
| 402 |
524,506,506,506,38,506,506,479,479,32, |
499 |
424,424,424,424,424,424,448,515,486,486, |
| 403 |
479,479,371,506,400,400,400,400,400,400, |
500 |
486,486,486,486,486,486,486,486,485,485, |
| 404 |
400,400,400,400,496,496,496,496,506,496, |
501 |
485,485,536,485,485,485,485,485,485,485, |
| 405 |
496,496,496,496,496,496,496,496,496,496, |
502 |
485,485,485,485,485,485,485,485,485,485, |
| 406 |
496,496,496,496,496,496,496,496,496,496, |
503 |
485,485,485,485,485,485,485,485,485,485, |
| 407 |
496,496,496,496,496,496,496,496,496,496, |
504 |
485,485,485,485,485,485,485,485,485,485, |
| 408 |
496,496,496,496,496,496,496,496,496,496, |
505 |
485,485,485,485,485,485,485,485,485,485, |
| 409 |
496,496,496,496,496,496,496,496,496,545, |
506 |
485,485,485,373,350,371,384,528,530,487, |
| 410 |
832,455,825,824,826,539,395,16,506,506, |
507 |
386,515,324,365,369,380,545,329,343,549, |
| 411 |
463,827,1,671,671,671,671,671,671,671, |
508 |
542,543,540,541,555,546,532,533,515,515, |
| 412 |
671,671,671,670,670,670,670,510,670,670, |
509 |
515,38,515,515,487,487,32,487,487,358, |
| 413 |
670,670,670,670,670,670,670,670,670,670, |
510 |
515,403,403,403,403,403,403,403,403,403, |
| 414 |
670,670,670,670,670,670,670,670,670,670, |
511 |
403,498,498,498,498,515,498,498,498,498, |
| 415 |
670,670,670,670,670,670,670,670,670,670, |
512 |
498,498,498,498,498,498,498,498,498,498, |
| 416 |
670,670,670,670,670,670,670,670,670,670, |
513 |
498,498,498,498,498,498,498,498,498,498, |
| 417 |
670,670,670,670,670,670,670,670,380,506, |
514 |
498,498,498,498,498,498,498,498,498,498, |
| 418 |
506,815,506,506,506,14,672,317,671,671, |
515 |
498,498,498,498,498,498,498,498,498,498, |
| 419 |
671,671,671,671,671,671,671,671,670,670, |
516 |
498,498,498,498,498,498,554,824,465,817, |
| 420 |
670,670,506,670,670,670,670,670,670,670, |
517 |
816,818,548,386,16,515,515,470,819,1, |
| 421 |
670,670,670,670,670,670,670,670,670,670, |
518 |
680,680,680,680,680,680,680,680,680,680, |
| 422 |
670,670,670,670,670,670,670,670,670,670, |
519 |
679,679,679,679,519,679,679,679,679,679, |
| 423 |
670,670,670,670,670,670,670,670,670,670, |
520 |
679,679,679,679,679,679,679,679,679,679, |
| 424 |
670,670,670,670,670,670,670,670,670,670, |
521 |
679,679,679,679,679,679,679,679,679,679, |
| 425 |
670,670,670,535,557,506,35,506,308,3, |
522 |
679,679,679,679,679,679,679,679,679,679, |
| 426 |
506,672,6,560,560,560,560,560,560,560, |
523 |
679,679,679,679,679,679,679,679,679,679, |
| 427 |
560,560,560,334,334,506,344,344,344,344, |
524 |
679,679,679,679,679,420,515,515,807,515, |
| 428 |
344,344,344,344,344,344,506,408,408,408, |
525 |
515,515,14,681,300,680,680,680,680,680, |
| 429 |
408,408,408,408,408,408,408,506,417,417, |
526 |
680,680,680,680,680,679,679,679,679,515, |
| 430 |
417,417,417,417,417,417,417,417,58,560, |
527 |
679,679,679,679,679,679,679,679,679,679, |
| 431 |
560,560,560,560,560,560,560,560,560,12, |
528 |
679,679,679,679,679,679,679,679,679,679, |
| 432 |
312,814,506,542,814,814,20,19,325,440, |
529 |
679,679,679,679,679,679,679,679,679,679, |
| 433 |
57,560,560,560,560,560,560,560,560,560, |
530 |
679,679,679,679,679,679,679,679,679,679, |
| 434 |
560,529,528,830,448,341,60,560,560,560, |
531 |
679,679,679,679,679,679,679,679,679,679, |
| 435 |
560,560,560,560,560,560,560,59,560,560, |
532 |
544,566,515,35,515,291,3,515,681,6, |
| 436 |
560,560,560,560,560,560,560,560,7,506, |
533 |
569,569,569,569,569,569,569,569,569,569, |
| 437 |
506,322,506,163,53,161,167,506,506,334, |
534 |
318,318,515,326,326,326,326,326,326,326, |
| 438 |
334,506,426,543,450,506,829,506,506,506, |
535 |
326,326,326,515,421,421,421,421,421,421, |
| 439 |
506,668,506,506,530,506,506,506,506,506, |
536 |
421,421,421,421,515,467,467,467,467,467, |
| 440 |
506,506,506,506,506,506,506,506,506,506, |
537 |
467,467,467,467,467,58,569,569,569,569, |
| 441 |
506,506,506,506,506,506,668,668,506,668, |
538 |
569,569,569,569,569,569,12,295,806,515, |
| 442 |
668,505,315,506,506,506,506,506,506,506, |
539 |
551,806,806,20,19,308,451,57,569,569, |
| 443 |
506,506,506,506,506,506,506,506,506,506, |
540 |
569,569,569,569,569,569,569,569,538,537, |
| 444 |
506,506,506,506,506,506,506,506,506,506, |
541 |
822,459,456,60,569,569,569,569,569,569, |
| 445 |
506,506,506,506,506,506,506,506,506,506, |
542 |
569,569,569,569,59,569,569,569,569,569, |
| 446 |
506,506,506,506,506,506,506,506,506,506, |
543 |
569,569,569,569,569,7,515,515,305,515, |
| 447 |
506,506,1,6,12,1 |
544 |
163,53,161,167,515,515,318,318,515,399, |
|
|
545 |
552,462,515,821,515,515,515,515,677,515, |
| 546 |
515,539,515,515,515,515,515,515,515,515, |
| 547 |
515,515,515,515,515,515,515,515,515,515, |
| 548 |
515,515,515,677,677,515,677,677,514,298, |
| 549 |
515,515,515,515,515,515,515,515,515,515, |
| 550 |
515,515,515,515,515,515,515,515,515,515, |
| 551 |
515,515,515,515,515,515,515,515,515,515, |
| 552 |
515,515,515,515,515,515,515,515,515,515, |
| 553 |
515,515,515,515,515,515,515,515,515,1, |
| 554 |
6,12,1 |
| 448 |
}; |
555 |
}; |
| 449 |
}; |
556 |
}; |
| 450 |
public final static char termAction[] = TermAction.termAction; |
557 |
public final static char termAction[] = TermAction.termAction; |
|
Lines 464-519
Link Here
|
| 464 |
public final int scopeState(int index) { return 0;} |
571 |
public final int scopeState(int index) { return 0;} |
| 465 |
public final int inSymb(int index) { return 0;} |
572 |
public final int inSymb(int index) { return 0;} |
| 466 |
public final String name(int index) { return null; } |
573 |
public final String name(int index) { return null; } |
| 467 |
public final int getErrorSymbol() { return 0; } |
|
|
| 468 |
public final int getScopeUbound() { return 0; } |
| 469 |
public final int getScopeSize() { return 0; } |
| 470 |
public final int getMaxNameLength() { return 0; } |
| 471 |
|
| 472 |
public final static int |
| 473 |
NUM_STATES = 49, |
| 474 |
NT_OFFSET = 103, |
| 475 |
LA_STATE_OFFSET = 832, |
| 476 |
MAX_LA = 1, |
| 477 |
NUM_RULES = 326, |
| 478 |
NUM_NONTERMINALS = 40, |
| 479 |
NUM_SYMBOLS = 143, |
| 480 |
SEGMENT_SIZE = 8192, |
| 481 |
START_STATE = 327, |
| 482 |
IDENTIFIER_SYMBOL = 0, |
| 483 |
EOFT_SYMBOL = 99, |
| 484 |
EOLT_SYMBOL = 104, |
| 485 |
ACCEPT_ACTION = 505, |
| 486 |
ERROR_ACTION = 506; |
| 487 |
|
| 488 |
public final static boolean BACKTRACK = false; |
| 489 |
|
| 490 |
public final int getNumStates() { return NUM_STATES; } |
| 491 |
public final int getNtOffset() { return NT_OFFSET; } |
| 492 |
public final int getLaStateOffset() { return LA_STATE_OFFSET; } |
| 493 |
public final int getMaxLa() { return MAX_LA; } |
| 494 |
public final int getNumRules() { return NUM_RULES; } |
| 495 |
public final int getNumNonterminals() { return NUM_NONTERMINALS; } |
| 496 |
public final int getNumSymbols() { return NUM_SYMBOLS; } |
| 497 |
public final int getSegmentSize() { return SEGMENT_SIZE; } |
| 498 |
public final int getStartState() { return START_STATE; } |
| 499 |
public final int getStartSymbol() { return lhs[0]; } |
| 500 |
public final int getIdentifierSymbol() { return IDENTIFIER_SYMBOL; } |
| 501 |
public final int getEoftSymbol() { return EOFT_SYMBOL; } |
| 502 |
public final int getEoltSymbol() { return EOLT_SYMBOL; } |
| 503 |
public final int getAcceptAction() { return ACCEPT_ACTION; } |
| 504 |
public final int getErrorAction() { return ERROR_ACTION; } |
| 505 |
public final boolean isValidForParser() { return isValidForParser; } |
| 506 |
public final boolean getBacktrack() { return BACKTRACK; } |
| 507 |
|
| 508 |
public final int originalState(int state) { return 0; } |
574 |
public final int originalState(int state) { return 0; } |
| 509 |
public final int asi(int state) { return 0; } |
575 |
public final int asi(int state) { return 0; } |
| 510 |
public final int nasi(int state) { return 0; } |
576 |
public final int nasi(int state) { return 0; } |
| 511 |
public final int inSymbol(int state) { return 0; } |
577 |
public final int inSymbol(int state) { return 0; } |
| 512 |
|
578 |
|
|
|
579 |
/** |
| 580 |
* assert(! goto_default); |
| 581 |
*/ |
| 513 |
public final int ntAction(int state, int sym) { |
582 |
public final int ntAction(int state, int sym) { |
| 514 |
return baseAction[state + sym]; |
583 |
return baseAction[state + sym]; |
| 515 |
} |
584 |
} |
| 516 |
|
585 |
|
|
|
586 |
/** |
| 587 |
* assert(! shift_default); |
| 588 |
*/ |
| 517 |
public final int tAction(int state, int sym) { |
589 |
public final int tAction(int state, int sym) { |
| 518 |
int i = baseAction[state], |
590 |
int i = baseAction[state], |
| 519 |
k = i + sym; |
591 |
k = i + sym; |