|
Lines 1-7
Link Here
|
| 1 |
/** |
1 |
/** |
| 2 |
* <copyright> |
2 |
* <copyright> |
| 3 |
* |
3 |
* |
| 4 |
* Copyright (c) 2005, 2007 IBM Corporation and others. |
4 |
* Copyright (c) 2005, 2009 IBM Corporation, Zeligsoft Inc, 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-25
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 |
* Adolfo Sanchez-Barbudo Herrera - LPG v2.0.17 adoption |
| 13 |
* E.D.Willink - Extended API and implementation for QVTr |
14 |
* E.D.Willink - Extended API and implementation for QVTr |
| 14 |
* |
15 |
* |
| 15 |
* </copyright> |
16 |
* </copyright> |
| 16 |
* |
17 |
* |
| 17 |
* $Id: QVTrKWLexerprs.java,v 1.10 2009/03/06 22:39:37 ewillink Exp $ |
18 |
* |
| 18 |
*/ |
19 |
*/ |
| 19 |
|
20 |
|
| 20 |
package org.eclipse.qvt.declarative.parser.qvtrelation; |
21 |
package org.eclipse.qvt.declarative.parser.qvtrelation; |
| 21 |
|
22 |
|
| 22 |
public class QVTrKWLexerprs implements lpg.lpgjavaruntime.ParseTable, QVTrKWLexersym { |
23 |
public class QVTrKWLexerprs implements lpg.runtime.ParseTable, QVTrKWLexersym { |
|
|
24 |
public final static int ERROR_SYMBOL = 0; |
| 25 |
public final int getErrorSymbol() { return ERROR_SYMBOL; } |
| 26 |
|
| 27 |
public final static int SCOPE_UBOUND = 0; |
| 28 |
public final int getScopeUbound() { return SCOPE_UBOUND; } |
| 29 |
|
| 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 = 340; |
| 37 |
public final int getNumStates() { return NUM_STATES; } |
| 38 |
|
| 39 |
public final static int NT_OFFSET = 56; |
| 40 |
public final int getNtOffset() { return NT_OFFSET; } |
| 41 |
|
| 42 |
public final static int LA_STATE_OFFSET = 504; |
| 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 = 80; |
| 49 |
public final int getNumRules() { return NUM_RULES; } |
| 50 |
|
| 51 |
public final static int NUM_NONTERMINALS = 2; |
| 52 |
public final int getNumNonterminals() { return NUM_NONTERMINALS; } |
| 53 |
|
| 54 |
public final static int NUM_SYMBOLS = 58; |
| 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 = 81; |
| 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 = 40; |
| 67 |
public final int getEoftSymbol() { return EOFT_SYMBOL; } |
| 68 |
|
| 69 |
public final static int EOLT_SYMBOL = 57; |
| 70 |
public final int getEoltSymbol() { return EOLT_SYMBOL; } |
| 71 |
|
| 72 |
public final static int ACCEPT_ACTION = 423; |
| 73 |
public final int getAcceptAction() { return ACCEPT_ACTION; } |
| 74 |
|
| 75 |
public final static int ERROR_ACTION = 424; |
| 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 QVTrKWLexersym.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 |
| 93 |
}; |
| 94 |
}; |
| 95 |
public final static byte isNullable[] = IsNullable.isNullable; |
| 96 |
public final boolean isNullable(int index) { return isNullable[index] != 0; } |
| 97 |
|
| 98 |
public interface ProsthesesIndex { |
| 99 |
public final static byte prosthesesIndex[] = {0, |
| 100 |
2,1 |
| 101 |
}; |
| 102 |
}; |
| 103 |
public final static byte prosthesesIndex[] = ProsthesesIndex.prosthesesIndex; |
| 104 |
public final int prosthesesIndex(int index) { return prosthesesIndex[index]; } |
| 23 |
|
105 |
|
| 24 |
public interface IsKeyword { |
106 |
public interface IsKeyword { |
| 25 |
public final static byte isKeyword[] = {0, |
107 |
public final static byte isKeyword[] = {0, |
|
Lines 28-34
Link Here
|
| 28 |
0,0,0,0,0,0,0,0,0,0, |
110 |
0,0,0,0,0,0,0,0,0,0, |
| 29 |
0,0,0,0,0,0,0,0,0,0, |
111 |
0,0,0,0,0,0,0,0,0,0, |
| 30 |
0,0,0,0,0,0,0,0,0,0, |
112 |
0,0,0,0,0,0,0,0,0,0, |
| 31 |
0,0,0,0,0 |
113 |
0,0,0,0,0,0 |
| 32 |
}; |
114 |
}; |
| 33 |
}; |
115 |
}; |
| 34 |
public final static byte isKeyword[] = IsKeyword.isKeyword; |
116 |
public final static byte isKeyword[] = IsKeyword.isKeyword; |
|
Lines 61-101
Link Here
|
| 61 |
1,1,1,1,1,1,1,1,1,1, |
143 |
1,1,1,1,1,1,1,1,1,1, |
| 62 |
1,1,1,1,1,1,1,1,1,1, |
144 |
1,1,1,1,1,1,1,1,1,1, |
| 63 |
1,1,1,1,1,1,1,1,1,1, |
145 |
1,1,1,1,1,1,1,1,1,1, |
| 64 |
1,1,83,22,158,72,161,156,163,167, |
146 |
1,1,83,134,53,155,160,163,164,80, |
| 65 |
168,173,86,26,90,57,91,175,94,170, |
147 |
166,171,81,167,89,98,96,177,35,173, |
| 66 |
36,15,56,103,65,71,180,76,37,105, |
148 |
34,15,61,102,67,55,179,78,42,107, |
| 67 |
181,183,87,185,115,45,73,67,186,187, |
149 |
182,184,91,129,47,186,93,72,188,180, |
| 68 |
190,191,192,194,108,195,203,196,204,208, |
150 |
192,193,194,196,111,197,199,198,205,207, |
| 69 |
205,213,215,217,218,221,222,109,211,112, |
151 |
206,214,216,218,219,210,222,112,223,114, |
| 70 |
227,224,114,116,229,124,230,232,128,233, |
152 |
226,224,116,118,228,125,229,231,22,233, |
| 71 |
234,235,137,236,246,237,129,241,250,140, |
153 |
234,232,130,235,246,236,132,248,249,139, |
| 72 |
249,251,255,159,257,259,261,263,266,42, |
154 |
250,253,258,254,262,265,268,269,272,40, |
| 73 |
269,271,272,273,276,277,278,280,281,284, |
155 |
275,277,278,279,270,263,282,286,288,290, |
| 74 |
127,285,286,290,295,293,298,300,299,307, |
156 |
121,292,240,294,300,302,303,304,307,313, |
| 75 |
302,309,312,133,313,314,315,317,316,321, |
157 |
284,315,309,141,311,296,318,323,319,320, |
| 76 |
325,322,328,326,149,329,334,141,337,335, |
158 |
324,327,328,329,149,335,339,150,330,334, |
| 77 |
342,339,344,345,346,348,352,354,355,353, |
159 |
342,338,344,346,349,350,351,353,358,360, |
| 78 |
360,359,367,369,371,372,374,378,376,380, |
160 |
361,364,366,369,372,373,375,379,377,381, |
| 79 |
381,382,384,385,387,388,392,395,398,394, |
161 |
382,383,385,386,388,389,393,396,399,395, |
| 80 |
399,400,402,407,409,411,412,413,417,414, |
162 |
400,401,403,408,410,412,413,414,418,415, |
| 81 |
154,423,425,426,427,428,430,431,438,434, |
163 |
153,424,426,427,428,429,431,432,439,435, |
| 82 |
435,439,442,446,443,448,449,451,457,452, |
164 |
436,440,443,447,444,449,450,452,458,453, |
| 83 |
459,25,461,462,463,464,468,469,472,473, |
165 |
460,37,462,463,464,465,469,470,473,474, |
| 84 |
475,477,476,478,480,482,488,491,492,493, |
166 |
476,478,477,479,481,483,489,492,493,494, |
| 85 |
496,497,500,502,505,501,508,516,512,518, |
167 |
497,498,501,503,506,502,509,517,513,519, |
| 86 |
519,521,522,524,525,527,530,533,535,537, |
168 |
520,522,523,525,526,528,531,534,536,538, |
| 87 |
542,534,544,549,545,552,546,556,558,559, |
169 |
543,535,545,550,546,553,547,557,559,560, |
| 88 |
560,562,565,568,566,570,573,575,571,577, |
170 |
561,563,566,569,567,571,574,576,572,578, |
| 89 |
581,584,506,585,579,586,593,595,587,150, |
171 |
582,585,507,586,580,587,594,596,588,142, |
| 90 |
589,591,597,600,598,601,605,610,611,607, |
172 |
590,592,598,601,599,602,606,611,612,608, |
| 91 |
613,616,619,620,618,621,624,625,630,631, |
173 |
614,617,620,621,619,622,625,626,632,634, |
| 92 |
635,637,642,645,648,633,650,651,652,653, |
174 |
636,644,645,647,651,631,649,638,654,655, |
| 93 |
657,655,658,660,661,663,664,672,675,676, |
175 |
657,658,660,662,663,665,666,674,669,677, |
| 94 |
677,666,667,682,683,684,685,687,691,695, |
176 |
678,668,679,683,684,685,686,692,687,697, |
| 95 |
692,699,698,703,702,705,706,710,713,718, |
177 |
689,699,700,702,703,704,710,712,717,719, |
| 96 |
711,722,725,719,723,728,730,731,732,715, |
178 |
713,722,725,718,727,729,730,732,733,707, |
| 97 |
734,738,735,740,742,746,748,749,750,753, |
179 |
735,739,741,742,744,746,750,751,752,753, |
| 98 |
751,758,424,424 |
180 |
758,764,424,424 |
| 99 |
}; |
181 |
}; |
| 100 |
}; |
182 |
}; |
| 101 |
public final static char baseAction[] = BaseAction.baseAction; |
183 |
public final static char baseAction[] = BaseAction.baseAction; |
|
Lines 107-192
Link Here
|
| 107 |
public final static byte termCheck[] = {0, |
189 |
public final static byte termCheck[] = {0, |
| 108 |
0,1,2,3,4,5,6,7,8,9, |
190 |
0,1,2,3,4,5,6,7,8,9, |
| 109 |
10,11,12,0,0,15,2,3,4,19, |
191 |
10,11,12,0,0,15,2,3,4,19, |
| 110 |
20,0,22,23,0,0,26,27,28,29, |
192 |
20,0,22,23,3,4,26,27,28,29, |
| 111 |
30,31,32,8,34,0,0,37,2,4, |
193 |
30,31,32,0,0,35,0,4,38,0, |
| 112 |
4,0,7,19,0,9,11,3,12,25, |
194 |
7,0,8,2,11,4,0,13,15,16, |
| 113 |
15,16,28,29,18,0,0,1,2,35, |
195 |
9,5,0,12,0,19,0,3,19,18, |
| 114 |
19,40,7,8,0,24,0,3,4,3, |
196 |
0,25,8,24,28,29,0,7,8,3, |
| 115 |
0,0,0,3,2,0,21,36,8,38, |
197 |
4,0,36,21,3,21,37,0,39,0, |
| 116 |
5,15,7,8,13,0,0,23,16,0, |
198 |
0,21,5,4,7,8,15,7,0,23, |
| 117 |
0,21,7,0,5,5,11,8,8,33, |
199 |
0,11,0,5,2,0,8,0,1,2, |
| 118 |
14,8,0,1,0,1,13,0,0,2, |
200 |
5,0,1,8,14,34,0,1,16,8, |
| 119 |
8,0,8,0,0,0,5,2,10,5, |
201 |
0,0,2,0,8,0,0,0,5,2, |
| 120 |
7,6,14,0,13,12,0,0,0,22, |
202 |
0,10,7,6,0,14,13,12,0,0, |
| 121 |
3,4,0,10,6,12,0,1,6,0, |
203 |
1,0,22,0,10,6,12,6,0,19, |
| 122 |
0,1,6,4,16,19,7,15,0,0, |
204 |
0,0,4,15,24,7,6,16,0,0, |
| 123 |
24,3,12,0,1,0,8,0,0,6, |
205 |
1,3,0,1,0,15,8,16,6,0, |
| 124 |
0,1,0,1,6,16,0,0,13,0, |
206 |
1,12,0,0,1,0,0,13,27,4, |
| 125 |
4,4,0,1,0,1,27,8,21,0, |
207 |
0,1,0,40,8,13,0,1,0,0, |
| 126 |
0,1,0,1,0,0,0,8,3,0, |
208 |
8,0,1,0,1,0,8,0,3,10, |
| 127 |
0,0,3,0,0,0,10,2,8,15, |
209 |
3,0,0,0,3,0,0,0,0,2, |
| 128 |
7,7,0,0,0,3,3,0,17,2, |
210 |
8,3,7,7,0,0,0,3,2,0, |
| 129 |
0,7,0,1,0,1,0,0,1,3, |
211 |
17,2,7,0,1,0,1,0,0,1, |
| 130 |
0,0,2,0,3,15,0,1,0,0, |
212 |
3,0,0,0,3,0,1,0,0,1, |
| 131 |
1,0,0,0,0,0,0,9,0,8, |
213 |
0,0,0,0,0,0,9,15,8,0, |
| 132 |
0,18,10,9,11,0,1,7,0,0, |
214 |
9,18,10,0,11,0,1,0,0,0, |
| 133 |
0,15,3,3,0,7,0,3,0,1, |
215 |
15,3,0,0,7,3,7,0,19,6, |
| 134 |
0,5,0,3,29,0,1,5,0,1, |
216 |
3,0,0,29,0,1,5,0,0,0, |
| 135 |
0,0,0,3,3,0,0,0,6,0, |
217 |
3,0,1,5,0,1,0,0,0,3, |
| 136 |
0,0,3,0,0,0,9,7,13,0, |
218 |
3,0,13,0,6,0,24,0,3,0, |
| 137 |
7,7,0,4,0,1,4,0,0,0, |
219 |
9,0,9,0,7,0,7,4,7,0, |
| 138 |
24,0,5,5,19,6,0,1,0,1, |
220 |
1,0,0,0,9,4,0,5,0,6, |
| 139 |
9,0,0,0,0,0,0,3,2,8, |
221 |
0,5,0,1,0,1,8,0,0,0, |
| 140 |
0,0,9,11,0,0,2,0,0,14, |
222 |
3,11,0,0,2,2,0,0,0,0, |
| 141 |
2,4,7,0,0,2,0,1,0,18, |
223 |
1,4,14,0,0,7,2,0,0,20, |
| 142 |
20,0,1,0,0,0,3,0,14,2, |
224 |
2,0,1,0,18,0,3,14,0,0, |
| 143 |
5,0,0,0,0,1,18,4,0,0, |
225 |
0,2,0,5,0,18,4,0,1,0, |
| 144 |
8,17,11,4,0,7,0,1,0,1, |
226 |
0,11,17,0,4,0,1,8,0,1, |
| 145 |
0,0,1,0,4,0,3,0,1,0, |
227 |
7,0,0,1,0,4,0,3,0,1, |
| 146 |
0,0,7,0,0,4,0,0,9,9, |
228 |
0,0,0,7,0,0,4,0,0,9, |
| 147 |
6,0,9,0,0,4,2,0,0,0, |
229 |
9,6,0,9,0,0,4,2,0,0, |
| 148 |
13,0,16,5,7,12,0,1,0,1, |
230 |
0,13,0,16,5,7,12,0,1,0, |
| 149 |
0,0,0,0,13,5,0,6,6,20, |
231 |
1,0,0,0,0,13,5,0,6,6, |
| 150 |
7,5,0,1,0,0,0,0,1,0, |
232 |
20,7,5,0,1,0,0,0,0,1, |
| 151 |
0,6,6,0,0,11,6,0,0,2, |
233 |
0,0,6,6,0,0,11,6,0,0, |
| 152 |
11,0,0,9,6,0,1,0,0,16, |
234 |
2,11,0,0,9,6,0,1,0,0, |
| 153 |
0,0,5,11,4,14,0,6,0,3, |
235 |
16,0,0,5,11,4,14,0,6,0, |
| 154 |
0,0,0,0,1,17,4,0,0,9, |
236 |
3,0,0,0,0,1,17,4,0,0, |
| 155 |
3,0,0,12,0,0,0,0,10,0, |
237 |
9,3,0,0,12,0,0,0,0,10, |
| 156 |
9,0,7,11,8,11,28,0,11,2, |
238 |
0,9,0,7,11,8,11,28,0,11, |
| 157 |
0,0,0,2,2,0,0,1,17,0, |
239 |
2,0,0,0,2,2,0,0,1,17, |
| 158 |
0,0,23,2,0,0,2,0,3,10, |
240 |
0,0,0,23,2,0,0,2,0,3, |
| 159 |
10,0,22,18,7,0,1,0,0,8, |
241 |
10,10,0,22,18,7,0,1,0,0, |
| 160 |
0,0,5,0,0,2,0,9,4,0, |
242 |
8,0,0,5,0,0,2,0,9,4, |
| 161 |
10,10,0,0,0,0,0,11,4,10, |
243 |
0,10,10,0,0,0,0,0,11,4, |
| 162 |
4,0,1,0,0,0,14,14,0,6, |
244 |
10,4,0,1,0,0,0,14,14,0, |
| 163 |
2,0,8,2,9,0,1,0,0,0, |
245 |
6,2,0,8,2,9,0,1,0,0, |
| 164 |
1,0,4,2,0,0,2,0,1,0, |
246 |
0,1,0,4,2,0,0,2,0,1, |
| 165 |
0,6,0,1,0,1,0,20,0,9, |
247 |
0,0,6,0,1,0,1,0,20,0, |
| 166 |
0,1,13,0,0,0,0,4,0,5, |
248 |
9,0,1,13,0,0,0,0,4,0, |
| 167 |
0,6,0,1,0,1,0,0,10,0, |
249 |
5,0,6,0,1,0,1,0,0,10, |
| 168 |
0,15,5,4,0,27,0,7,32,0, |
250 |
0,0,15,5,4,0,27,0,7,32, |
| 169 |
0,15,0,3,5,0,1,0,0,0, |
251 |
0,0,15,0,3,5,0,1,0,0, |
| 170 |
0,31,4,0,0,1,6,10,16,0, |
252 |
0,0,31,4,0,0,1,6,10,16, |
| 171 |
0,25,0,14,0,1,0,8,2,9, |
253 |
0,0,25,0,14,0,1,0,33,8, |
| 172 |
17,0,10,39,0,1,5,0,1,0, |
254 |
10,17,9,0,0,2,0,1,0,5, |
| 173 |
0,0,0,4,0,1,0,0,1,0, |
255 |
0,1,4,0,0,18,0,0,1,0, |
| 174 |
0,2,0,0,1,0,0,16,18,17, |
256 |
1,0,0,2,0,0,1,0,0,16, |
| 175 |
14,0,10,2,0,0,0,12,4,3, |
257 |
14,17,4,0,10,2,0,0,0,12, |
| 176 |
5,0,0,0,0,25,0,1,5,5, |
258 |
3,5,0,0,0,0,0,25,0,5, |
| 177 |
0,0,26,11,0,1,5,0,0,9, |
259 |
5,0,1,5,11,9,0,1,0,0, |
| 178 |
2,0,0,6,0,0,1,26,6,0, |
260 |
2,0,0,0,26,6,0,6,26,0, |
| 179 |
0,2,0,12,0,3,12,0,0,2, |
261 |
1,0,0,2,12,12,0,0,0,3, |
| 180 |
10,0,0,2,0,1,4,0,10,0, |
262 |
2,0,10,2,0,1,0,10,0,0, |
| 181 |
0,0,1,0,0,6,9,0,1,0, |
263 |
4,0,0,1,0,6,30,9,0,1, |
| 182 |
1,0,8,13,30,0,13,0,0,0, |
264 |
0,0,1,0,13,0,0,13,8,0, |
| 183 |
0,10,0,4,7,5,0,0,10,14, |
265 |
0,0,0,10,0,4,7,0,0,14, |
| 184 |
3,9,0,0,0,0,0,0,0,0, |
266 |
10,9,5,0,0,0,3,0,0,0, |
| 185 |
0,0,0,0,0,0,0,0,0,0, |
267 |
0,0,0,0,0,0,0,0,0,0, |
| 186 |
0,0,0,0,0,0,0,0,0,0, |
268 |
0,0,0,0,0,0,0,0,0,0, |
| 187 |
0,0,0,0,0,0,0,0,0,0, |
269 |
0,0,0,0,0,0,0,0,0,0, |
| 188 |
0,0,0,0,0,0,0,0,0,0, |
270 |
0,0,0,0,0,0,0,0,0,0, |
| 189 |
0,0,0 |
271 |
0,0,0,0,0,0,0,0,0,0 |
| 190 |
}; |
272 |
}; |
| 191 |
}; |
273 |
}; |
| 192 |
public final static byte termCheck[] = TermCheck.termCheck; |
274 |
public final static byte termCheck[] = TermCheck.termCheck; |
|
Lines 196-276
Link Here
|
| 196 |
public final static char termAction[] = {0, |
278 |
public final static char termAction[] = {0, |
| 197 |
424,104,102,97,98,101,108,91,100,109, |
279 |
424,104,102,97,98,101,108,91,100,109, |
| 198 |
103,105,96,424,424,107,135,136,137,90, |
280 |
103,105,96,424,424,107,135,136,137,90, |
| 199 |
86,424,85,99,424,424,92,95,87,89, |
281 |
86,424,85,99,196,197,92,95,87,89, |
| 200 |
106,84,94,120,93,424,424,88,154,134, |
282 |
106,84,94,424,424,93,424,134,88,424, |
| 201 |
156,424,441,308,424,153,133,163,436,310, |
283 |
441,424,129,154,133,156,424,128,132,131, |
| 202 |
132,131,311,309,155,424,424,124,123,312, |
284 |
153,162,424,436,424,308,424,147,217,155, |
| 203 |
217,423,139,138,424,220,424,144,145,167, |
285 |
424,310,148,220,311,309,424,139,138,144, |
| 204 |
424,424,424,147,165,424,140,218,148,219, |
286 |
145,424,312,110,167,146,218,424,219,424, |
| 205 |
150,166,152,151,111,424,424,143,164,424, |
287 |
424,140,150,115,152,151,166,119,424,143, |
| 206 |
424,146,119,424,122,126,118,121,125,168, |
288 |
424,118,424,122,165,424,121,424,124,123, |
| 207 |
495,129,424,142,424,158,128,424,424,449, |
289 |
126,424,142,125,495,168,424,158,164,141, |
| 208 |
141,424,157,424,424,424,183,189,440,162, |
290 |
424,424,449,424,157,424,424,424,183,189, |
| 209 |
187,190,458,424,184,188,424,424,22,174, |
291 |
424,440,187,190,424,458,184,188,424,424, |
| 210 |
196,197,424,193,205,192,424,427,239,424, |
292 |
427,22,174,424,193,201,192,205,424,230, |
| 211 |
424,252,201,503,426,230,208,240,424,424, |
293 |
424,424,503,161,229,208,239,426,424,424, |
| 212 |
229,250,425,424,290,424,249,424,424,291, |
294 |
252,250,424,290,424,240,249,362,291,424, |
| 213 |
424,112,424,114,211,362,424,424,113,424, |
295 |
112,425,424,424,114,424,424,111,361,116, |
| 214 |
115,116,424,117,424,127,361,130,110,424, |
296 |
424,117,424,423,120,113,424,127,424,424, |
| 215 |
424,159,424,160,424,424,424,149,169,424, |
297 |
130,424,159,424,160,424,149,424,163,170, |
| 216 |
424,424,171,424,424,424,170,445,172,161, |
298 |
169,424,424,424,171,424,424,424,424,445, |
| 217 |
173,175,424,424,424,176,177,424,450,443, |
299 |
172,176,173,175,424,424,424,177,443,424, |
| 218 |
424,442,424,178,424,179,424,424,459,180, |
300 |
450,181,442,424,178,424,179,424,424,459, |
| 219 |
424,424,181,424,182,501,424,185,424,424, |
301 |
180,424,424,424,182,424,185,424,424,194, |
| 220 |
194,424,424,424,424,424,424,191,424,195, |
302 |
424,424,424,424,424,424,191,501,195,424, |
| 221 |
424,186,198,200,199,424,203,206,424,424, |
303 |
200,186,198,424,199,424,203,424,424,424, |
| 222 |
424,204,207,210,424,209,424,477,424,213, |
304 |
204,207,424,424,206,210,209,424,231,211, |
| 223 |
424,212,424,214,202,424,216,215,424,221, |
305 |
477,424,424,202,424,213,212,424,424,424, |
| 224 |
424,424,424,222,223,424,424,424,224,424, |
306 |
214,424,216,215,424,221,424,424,424,222, |
| 225 |
424,424,484,424,424,424,227,228,225,424, |
307 |
223,424,225,424,224,424,226,424,484,424, |
| 226 |
487,486,424,232,424,447,437,424,9,424, |
308 |
227,424,237,424,228,424,487,232,486,424, |
| 227 |
226,424,233,235,231,234,424,236,424,438, |
309 |
447,424,424,424,242,437,9,233,424,234, |
| 228 |
237,424,424,424,424,424,424,243,244,238, |
310 |
424,235,424,236,424,438,238,424,424,424, |
| 229 |
424,424,242,241,424,424,428,424,424,429, |
311 |
243,241,424,424,244,428,424,424,424,424, |
| 230 |
435,247,248,424,424,251,424,504,424,246, |
312 |
504,247,429,424,424,248,435,424,424,245, |
| 231 |
245,424,479,424,424,424,254,424,498,257, |
313 |
251,424,479,424,246,424,254,498,424,424, |
| 232 |
256,424,424,424,424,260,253,259,424,424, |
314 |
424,257,424,256,424,253,259,424,260,424, |
| 233 |
261,255,258,262,424,263,424,264,424,265, |
315 |
424,258,255,424,262,424,264,261,424,265, |
| 234 |
424,424,267,424,266,424,268,424,448,424, |
316 |
263,424,424,267,424,266,424,268,424,448, |
| 235 |
424,424,269,424,424,272,424,424,270,271, |
317 |
424,424,424,269,424,424,272,424,424,270, |
| 236 |
274,424,273,424,424,277,278,424,424,424, |
318 |
271,274,424,273,424,424,277,278,424,424, |
| 237 |
276,424,275,280,279,439,424,283,424,284, |
319 |
424,276,424,275,280,279,439,424,283,424, |
| 238 |
424,424,424,424,282,285,424,286,287,281, |
320 |
284,424,424,424,424,282,285,424,286,287, |
| 239 |
289,288,424,292,424,424,424,424,296,424, |
321 |
281,289,288,424,292,424,424,424,424,296, |
| 240 |
424,294,295,424,424,293,298,424,424,462, |
322 |
424,424,294,295,424,424,293,298,424,424, |
| 241 |
297,424,424,300,301,424,302,424,424,299, |
323 |
462,297,424,424,300,301,424,302,424,424, |
| 242 |
424,424,304,303,305,480,424,306,424,455, |
324 |
299,424,424,304,303,305,480,424,306,424, |
| 243 |
424,424,424,424,434,474,490,424,424,313, |
325 |
455,424,424,424,424,434,474,490,424,424, |
| 244 |
315,424,424,314,424,424,424,424,316,424, |
326 |
313,315,424,424,314,424,424,424,424,316, |
| 245 |
456,424,320,317,319,318,307,424,321,324, |
327 |
424,456,424,320,317,319,318,307,424,321, |
| 246 |
424,424,424,326,494,424,424,328,323,424, |
328 |
324,424,424,424,326,494,424,424,328,323, |
| 247 |
424,424,322,461,424,424,330,424,355,329, |
329 |
424,424,424,322,461,424,424,330,424,355, |
| 248 |
482,424,325,327,475,424,500,424,424,331, |
330 |
329,482,424,325,327,475,424,500,424,424, |
| 249 |
424,424,332,424,424,335,424,333,478,424, |
331 |
331,424,424,332,424,424,335,424,333,478, |
| 250 |
481,334,424,424,424,424,424,336,339,337, |
332 |
424,481,334,424,424,424,424,424,336,339, |
| 251 |
340,424,341,424,424,424,338,342,424,343, |
333 |
337,340,424,341,424,424,424,338,342,424, |
| 252 |
344,424,345,346,492,424,491,424,424,424, |
334 |
343,344,424,345,346,492,424,491,424,424, |
| 253 |
465,424,348,349,424,424,430,424,431,424, |
335 |
424,465,424,348,349,424,424,430,424,431, |
| 254 |
424,350,424,454,424,352,424,347,424,444, |
336 |
424,424,350,424,454,424,352,424,347,424, |
| 255 |
424,354,351,424,424,424,424,499,424,356, |
337 |
444,424,354,351,424,424,424,424,499,424, |
| 256 |
424,358,424,451,424,359,424,424,363,424, |
338 |
356,424,358,424,451,424,359,424,424,363, |
| 257 |
424,360,366,365,424,357,36,367,353,424, |
339 |
424,424,360,366,365,424,357,36,367,353, |
| 258 |
424,364,424,370,369,424,457,424,424,424, |
340 |
424,424,364,424,370,369,424,457,424,424, |
| 259 |
424,469,373,424,424,377,375,374,372,424, |
341 |
424,424,469,373,424,424,377,375,374,372, |
| 260 |
424,371,424,464,424,468,424,378,379,496, |
342 |
424,424,371,424,464,424,468,424,368,378, |
| 261 |
376,424,383,368,424,381,380,424,382,424, |
343 |
383,376,496,424,424,379,424,381,424,380, |
| 262 |
424,424,424,384,424,388,424,424,497,424, |
344 |
424,382,384,424,424,385,424,424,388,424, |
| 263 |
424,389,424,424,483,424,424,386,385,387, |
345 |
497,424,424,389,424,424,483,424,424,386, |
| 264 |
488,424,485,453,424,424,424,393,452,392, |
346 |
488,387,452,424,485,453,424,424,424,393, |
| 265 |
391,424,424,424,424,390,424,432,397,398, |
347 |
392,391,424,424,424,424,424,390,424,397, |
| 266 |
424,424,394,396,424,400,401,424,424,399, |
348 |
398,424,432,401,396,399,424,400,424,424, |
| 267 |
402,424,424,403,424,424,405,395,404,424, |
349 |
402,424,424,424,394,403,424,404,395,424, |
| 268 |
424,406,424,467,424,407,466,424,424,408, |
350 |
405,424,424,406,467,466,424,424,424,407, |
| 269 |
409,424,424,410,424,472,411,424,471,424, |
351 |
408,424,409,410,424,472,424,471,424,424, |
| 270 |
424,424,414,424,424,412,473,424,417,424, |
352 |
411,424,424,414,424,412,415,473,424,417, |
| 271 |
419,424,418,413,415,424,416,424,424,424, |
353 |
424,424,419,424,413,424,424,416,418,424, |
| 272 |
424,463,424,502,420,421,424,424,470,493, |
354 |
424,424,424,463,424,502,420,424,424,493, |
| 273 |
476,489 |
355 |
470,489,421,424,424,424,476 |
| 274 |
}; |
356 |
}; |
| 275 |
}; |
357 |
}; |
| 276 |
public final static char termAction[] = TermAction.termAction; |
358 |
public final static char termAction[] = TermAction.termAction; |
|
Lines 290-345
Link Here
|
| 290 |
public final int scopeState(int index) { return 0;} |
372 |
public final int scopeState(int index) { return 0;} |
| 291 |
public final int inSymb(int index) { return 0;} |
373 |
public final int inSymb(int index) { return 0;} |
| 292 |
public final String name(int index) { return null; } |
374 |
public final String name(int index) { return null; } |
| 293 |
public final int getErrorSymbol() { return 0; } |
|
|
| 294 |
public final int getScopeUbound() { return 0; } |
| 295 |
public final int getScopeSize() { return 0; } |
| 296 |
public final int getMaxNameLength() { return 0; } |
| 297 |
|
| 298 |
public final static int |
| 299 |
NUM_STATES = 340, |
| 300 |
NT_OFFSET = 55, |
| 301 |
LA_STATE_OFFSET = 504, |
| 302 |
MAX_LA = 1, |
| 303 |
NUM_RULES = 80, |
| 304 |
NUM_NONTERMINALS = 2, |
| 305 |
NUM_SYMBOLS = 57, |
| 306 |
SEGMENT_SIZE = 8192, |
| 307 |
START_STATE = 81, |
| 308 |
IDENTIFIER_SYMBOL = 0, |
| 309 |
EOFT_SYMBOL = 40, |
| 310 |
EOLT_SYMBOL = 56, |
| 311 |
ACCEPT_ACTION = 423, |
| 312 |
ERROR_ACTION = 424; |
| 313 |
|
| 314 |
public final static boolean BACKTRACK = false; |
| 315 |
|
| 316 |
public final int getNumStates() { return NUM_STATES; } |
| 317 |
public final int getNtOffset() { return NT_OFFSET; } |
| 318 |
public final int getLaStateOffset() { return LA_STATE_OFFSET; } |
| 319 |
public final int getMaxLa() { return MAX_LA; } |
| 320 |
public final int getNumRules() { return NUM_RULES; } |
| 321 |
public final int getNumNonterminals() { return NUM_NONTERMINALS; } |
| 322 |
public final int getNumSymbols() { return NUM_SYMBOLS; } |
| 323 |
public final int getSegmentSize() { return SEGMENT_SIZE; } |
| 324 |
public final int getStartState() { return START_STATE; } |
| 325 |
public final int getStartSymbol() { return lhs[0]; } |
| 326 |
public final int getIdentifierSymbol() { return IDENTIFIER_SYMBOL; } |
| 327 |
public final int getEoftSymbol() { return EOFT_SYMBOL; } |
| 328 |
public final int getEoltSymbol() { return EOLT_SYMBOL; } |
| 329 |
public final int getAcceptAction() { return ACCEPT_ACTION; } |
| 330 |
public final int getErrorAction() { return ERROR_ACTION; } |
| 331 |
public final boolean isValidForParser() { return isValidForParser; } |
| 332 |
public final boolean getBacktrack() { return BACKTRACK; } |
| 333 |
|
| 334 |
public final int originalState(int state) { return 0; } |
375 |
public final int originalState(int state) { return 0; } |
| 335 |
public final int asi(int state) { return 0; } |
376 |
public final int asi(int state) { return 0; } |
| 336 |
public final int nasi(int state) { return 0; } |
377 |
public final int nasi(int state) { return 0; } |
| 337 |
public final int inSymbol(int state) { return 0; } |
378 |
public final int inSymbol(int state) { return 0; } |
| 338 |
|
379 |
|
|
|
380 |
/** |
| 381 |
* assert(! goto_default); |
| 382 |
*/ |
| 339 |
public final int ntAction(int state, int sym) { |
383 |
public final int ntAction(int state, int sym) { |
| 340 |
return baseAction[state + sym]; |
384 |
return baseAction[state + sym]; |
| 341 |
} |
385 |
} |
| 342 |
|
386 |
|
|
|
387 |
/** |
| 388 |
* assert(! shift_default); |
| 389 |
*/ |
| 343 |
public final int tAction(int state, int sym) { |
390 |
public final int tAction(int state, int sym) { |
| 344 |
int i = baseAction[state], |
391 |
int i = baseAction[state], |
| 345 |
k = i + sym; |
392 |
k = i + sym; |