1 <?php\r
2 /**\r
3 * Smarty Internal Plugin Templateparser\r
4 *\r
5 * This is the template parser.\r
6 * It is generated from the internal.templateparser.y file\r
7 * @package Smarty\r
8 * @subpackage Compiler\r
9 * @author Uwe Tews\r
10 */\r
11 \r
12 class TP_yyToken implements ArrayAccess\r
13 {\r
14 public $string = '';\r
15 public $metadata = array();\r
16 \r
17 function __construct($s, $m = array())\r
18 {\r
19 if ($s instanceof TP_yyToken) {\r
20 $this->string = $s->string;\r
21 $this->metadata = $s->metadata;\r
22 } else {\r
23 $this->string = (string) $s;\r
24 if ($m instanceof TP_yyToken) {\r
25 $this->metadata = $m->metadata;\r
26 } elseif (is_array($m)) {\r
27 $this->metadata = $m;\r
28 }\r
29 }\r
30 }\r
31 \r
32 function __toString()\r
33 {\r
34 return $this->_string;\r
35 }\r
36 \r
37 function offsetExists($offset)\r
38 {\r
39 return isset($this->metadata[$offset]);\r
40 }\r
41 \r
42 function offsetGet($offset)\r
43 {\r
44 return $this->metadata[$offset];\r
45 }\r
46 \r
47 function offsetSet($offset, $value)\r
48 {\r
49 if ($offset === null) {\r
50 if (isset($value[0])) {\r
51 $x = ($value instanceof TP_yyToken) ?\r
52 $value->metadata : $value;\r
53 $this->metadata = array_merge($this->metadata, $x);\r
54 return;\r
55 }\r
56 $offset = count($this->metadata);\r
57 }\r
58 if ($value === null) {\r
59 return;\r
60 }\r
61 if ($value instanceof TP_yyToken) {\r
62 if ($value->metadata) {\r
63 $this->metadata[$offset] = $value->metadata;\r
64 }\r
65 } elseif ($value) {\r
66 $this->metadata[$offset] = $value;\r
67 }\r
68 }\r
69 \r
70 function offsetUnset($offset)\r
71 {\r
72 unset($this->metadata[$offset]);\r
73 }\r
74 }\r
75 \r
76 class TP_yyStackEntry\r
77 {\r
78 public $stateno; /* The state-number */\r
79 public $major; /* The major token value. This is the code\r
80 ** number for the token at this stack level */\r
81 public $minor; /* The user-supplied minor token value. This\r
82 ** is the value of the token */\r
83 };\r
84 \r
85 \r
86 #line 12 "smarty_internal_templateparser.y"\r
87 class Smarty_Internal_Templateparser#line 79 "smarty_internal_templateparser.php"\r
88 {\r
89 #line 14 "smarty_internal_templateparser.y"\r
90 \r
91 // states whether the parse was successful or not\r
92 public $successful = true;\r
93 public $retvalue = 0;\r
94 private $lex;\r
95 private $internalError = false;\r
96 \r
97 function __construct($lex, $compiler) {\r
98 // set instance object\r
99 self::instance($this); \r
100 $this->lex = $lex;\r
101 $this->compiler = $compiler;\r
102 $this->smarty = $this->compiler->smarty;\r
103 $this->template = $this->compiler->template;\r
104 if ($this->template->security && isset($this->smarty->security_handler)) {\r
105 $this->sec_obj = $this->smarty->security_policy;\r
106 } else {\r
107 $this->sec_obj = $this->smarty;\r
108 }\r
109 $this->compiler->has_variable_string = false;\r
110 $this->compiler->prefix_code = array();\r
111 $this->prefix_number = 0;\r
112 $this->block_nesting_level = 0;\r
113 $this->is_xml = false;\r
114 }\r
115 public static function &instance($new_instance = null)\r
116 {\r
117 static $instance = null;\r
118 if (isset($new_instance) && is_object($new_instance))\r
119 $instance = $new_instance;\r
120 return $instance;\r
121 }\r
122 \r
123 public static function escape_start_tag($tag_text) {\r
124 $tag = preg_replace('/\A<\?(.*)\z/', '<<?php ?>?\1', $tag_text, -1 , $count); //Escape tag\r
125 assert($tag !== false && $count === 1);\r
126 return $tag;\r
127 }\r
128 \r
129 public static function escape_end_tag($tag_text) {\r
130 assert($tag_text === '?>');\r
131 return '?<?php ?>>';\r
132 }\r
133 \r
134 \r
135 #line 128 "smarty_internal_templateparser.php"\r
136 \r
137 const TP_VERT = 1;\r
138 const TP_COLON = 2;\r
139 const TP_COMMENT = 3;\r
140 const TP_PHPSTARTTAG = 4;\r
141 const TP_PHPENDTAG = 5;\r
142 const TP_FAKEPHPSTARTTAG = 6;\r
143 const TP_XMLTAG = 7;\r
144 const TP_OTHER = 8;\r
145 const TP_LITERALSTART = 9;\r
146 const TP_LITERALEND = 10;\r
147 const TP_LITERAL = 11;\r
148 const TP_LDEL = 12;\r
149 const TP_RDEL = 13;\r
150 const TP_DOLLAR = 14;\r
151 const TP_ID = 15;\r
152 const TP_EQUAL = 16;\r
153 const TP_FOREACH = 17;\r
154 const TP_PTR = 18;\r
155 const TP_IF = 19;\r
156 const TP_SPACE = 20;\r
157 const TP_FOR = 21;\r
158 const TP_SEMICOLON = 22;\r
159 const TP_INCDEC = 23;\r
160 const TP_TO = 24;\r
161 const TP_STEP = 25;\r
162 const TP_AS = 26;\r
163 const TP_APTR = 27;\r
164 const TP_LDELSLASH = 28;\r
165 const TP_INTEGER = 29;\r
166 const TP_COMMA = 30;\r
167 const TP_MATH = 31;\r
168 const TP_UNIMATH = 32;\r
169 const TP_ANDSYM = 33;\r
170 const TP_ISIN = 34;\r
171 const TP_ISDIVBY = 35;\r
172 const TP_ISNOTDIVBY = 36;\r
173 const TP_ISEVEN = 37;\r
174 const TP_ISNOTEVEN = 38;\r
175 const TP_ISEVENBY = 39;\r
176 const TP_ISNOTEVENBY = 40;\r
177 const TP_ISODD = 41;\r
178 const TP_ISNOTODD = 42;\r
179 const TP_ISODDBY = 43;\r
180 const TP_ISNOTODDBY = 44;\r
181 const TP_INSTANCEOF = 45;\r
182 const TP_OPENP = 46;\r
183 const TP_CLOSEP = 47;\r
184 const TP_QMARK = 48;\r
185 const TP_NOT = 49;\r
186 const TP_TYPECAST = 50;\r
187 const TP_DOT = 51;\r
188 const TP_SINGLEQUOTESTRING = 52;\r
189 const TP_DOUBLECOLON = 53;\r
190 const TP_AT = 54;\r
191 const TP_HATCH = 55;\r
192 const TP_OPENB = 56;\r
193 const TP_CLOSEB = 57;\r
194 const TP_EQUALS = 58;\r
195 const TP_NOTEQUALS = 59;\r
196 const TP_GREATERTHAN = 60;\r
197 const TP_LESSTHAN = 61;\r
198 const TP_GREATEREQUAL = 62;\r
199 const TP_LESSEQUAL = 63;\r
200 const TP_IDENTITY = 64;\r
201 const TP_NONEIDENTITY = 65;\r
202 const TP_MOD = 66;\r
203 const TP_LAND = 67;\r
204 const TP_LOR = 68;\r
205 const TP_LXOR = 69;\r
206 const TP_QUOTE = 70;\r
207 const TP_BACKTICK = 71;\r
208 const TP_DOLLARID = 72;\r
209 const YY_NO_ACTION = 548;\r
210 const YY_ACCEPT_ACTION = 547;\r
211 const YY_ERROR_ACTION = 546;\r
212 \r
213 const YY_SZ_ACTTAB = 1810;\r
214 static public $yy_action = array(\r
215 /* 0 */ 183, 280, 7, 38, 325, 217, 275, 199, 53, 119,\r
216 /* 10 */ 104, 266, 317, 156, 323, 308, 305, 309, 335, 184,\r
217 /* 20 */ 153, 298, 307, 283, 281, 193, 278, 32, 104, 319,\r
218 /* 30 */ 47, 46, 45, 39, 16, 23, 341, 337, 21, 18,\r
219 /* 40 */ 338, 339, 19, 20, 278, 43, 296, 293, 292, 288,\r
220 /* 50 */ 289, 290, 153, 157, 323, 3, 24, 348, 355, 356,\r
221 /* 60 */ 357, 358, 354, 353, 349, 350, 351, 352, 336, 183,\r
222 /* 70 */ 280, 125, 183, 117, 100, 12, 99, 51, 121, 102,\r
223 /* 80 */ 148, 322, 112, 26, 331, 168, 4, 335, 184, 191,\r
224 /* 90 */ 333, 184, 283, 281, 286, 278, 459, 184, 316, 47,\r
225 /* 100 */ 46, 45, 39, 16, 23, 341, 337, 21, 18, 338,\r
226 /* 110 */ 339, 19, 20, 294, 295, 297, 12, 12, 547, 84,\r
227 /* 120 */ 226, 295, 297, 112, 112, 36, 348, 355, 356, 357,\r
228 /* 130 */ 358, 354, 353, 349, 350, 351, 352, 336, 183, 137,\r
229 /* 140 */ 87, 280, 261, 240, 254, 182, 253, 199, 49, 118,\r
230 /* 150 */ 104, 38, 123, 286, 275, 29, 172, 184, 335, 10,\r
231 /* 160 */ 421, 13, 14, 283, 281, 277, 278, 421, 47, 46,\r
232 /* 170 */ 45, 39, 16, 23, 341, 337, 21, 18, 338, 339,\r
233 /* 180 */ 19, 20, 183, 318, 28, 280, 113, 133, 152, 282,\r
234 /* 190 */ 184, 199, 43, 202, 104, 348, 355, 356, 357, 358,\r
235 /* 200 */ 354, 353, 349, 350, 351, 352, 336, 283, 281, 306,\r
236 /* 210 */ 278, 299, 47, 46, 45, 39, 16, 23, 341, 337,\r
237 /* 220 */ 21, 18, 338, 339, 19, 20, 38, 89, 38, 275,\r
238 /* 230 */ 29, 275, 271, 238, 122, 113, 195, 2, 244, 348,\r
239 /* 240 */ 355, 356, 357, 358, 354, 353, 349, 350, 351, 352,\r
240 /* 250 */ 336, 183, 280, 125, 183, 187, 174, 12, 199, 83,\r
241 /* 260 */ 229, 104, 200, 163, 112, 419, 302, 274, 245, 335,\r
242 /* 270 */ 202, 215, 419, 184, 283, 281, 89, 278, 204, 207,\r
243 /* 280 */ 234, 47, 46, 45, 39, 16, 23, 341, 337, 21,\r
244 /* 290 */ 18, 338, 339, 19, 20, 236, 17, 232, 12, 313,\r
245 /* 300 */ 8, 38, 54, 54, 275, 112, 184, 340, 348, 355,\r
246 /* 310 */ 356, 357, 358, 354, 353, 349, 350, 351, 352, 336,\r
247 /* 320 */ 183, 280, 35, 165, 418, 100, 104, 101, 52, 121,\r
248 /* 330 */ 102, 184, 38, 326, 271, 275, 172, 196, 335, 184,\r
249 /* 340 */ 10, 13, 278, 283, 281, 359, 278, 218, 228, 183,\r
250 /* 350 */ 47, 46, 45, 39, 16, 23, 341, 337, 21, 18,\r
251 /* 360 */ 338, 339, 19, 20, 183, 344, 38, 280, 184, 211,\r
252 /* 370 */ 265, 273, 184, 199, 26, 271, 104, 348, 355, 356,\r
253 /* 380 */ 357, 358, 354, 353, 349, 350, 351, 352, 336, 283,\r
254 /* 390 */ 281, 147, 278, 274, 47, 46, 45, 39, 16, 23,\r
255 /* 400 */ 341, 337, 21, 18, 338, 339, 19, 20, 183, 208,\r
256 /* 410 */ 230, 38, 38, 327, 275, 275, 33, 40, 107, 225,\r
257 /* 420 */ 166, 348, 355, 356, 357, 358, 354, 353, 349, 350,\r
258 /* 430 */ 351, 352, 336, 224, 267, 184, 158, 323, 47, 46,\r
259 /* 440 */ 45, 39, 16, 23, 341, 337, 21, 18, 338, 339,\r
260 /* 450 */ 19, 20, 183, 210, 38, 280, 332, 185, 92, 284,\r
261 /* 460 */ 155, 199, 233, 184, 104, 348, 355, 356, 357, 358,\r
262 /* 470 */ 354, 353, 349, 350, 351, 352, 336, 283, 281, 145,\r
263 /* 480 */ 278, 201, 47, 46, 45, 39, 16, 23, 341, 337,\r
264 /* 490 */ 21, 18, 338, 339, 19, 20, 183, 324, 95, 239,\r
265 /* 500 */ 161, 323, 189, 178, 184, 43, 347, 150, 247, 348,\r
266 /* 510 */ 355, 356, 357, 358, 354, 353, 349, 350, 351, 352,\r
267 /* 520 */ 336, 286, 235, 115, 208, 268, 47, 46, 45, 39,\r
268 /* 530 */ 16, 23, 341, 337, 21, 18, 338, 339, 19, 20,\r
269 /* 540 */ 183, 312, 160, 280, 345, 203, 231, 272, 184, 199,\r
270 /* 550 */ 154, 184, 104, 348, 355, 356, 357, 358, 354, 353,\r
271 /* 560 */ 349, 350, 351, 352, 336, 283, 281, 279, 278, 188,\r
272 /* 570 */ 47, 46, 45, 39, 16, 23, 341, 337, 21, 18,\r
273 /* 580 */ 338, 339, 19, 20, 183, 37, 214, 280, 315, 93,\r
274 /* 590 */ 114, 241, 108, 199, 194, 184, 104, 348, 355, 356,\r
275 /* 600 */ 357, 358, 354, 353, 349, 350, 351, 352, 336, 283,\r
276 /* 610 */ 281, 90, 278, 255, 47, 46, 45, 39, 16, 23,\r
277 /* 620 */ 341, 337, 21, 18, 338, 339, 19, 20, 183, 300,\r
278 /* 630 */ 12, 256, 310, 271, 198, 258, 184, 112, 184, 221,\r
279 /* 640 */ 328, 348, 355, 356, 357, 358, 354, 353, 349, 350,\r
280 /* 650 */ 351, 352, 336, 213, 109, 252, 216, 11, 47, 46,\r
281 /* 660 */ 45, 39, 16, 23, 341, 337, 21, 18, 338, 339,\r
282 /* 670 */ 19, 20, 183, 303, 243, 280, 334, 4, 184, 311,\r
283 /* 680 */ 184, 199, 54, 184, 104, 348, 355, 356, 357, 358,\r
284 /* 690 */ 354, 353, 349, 350, 351, 352, 336, 283, 281, 34,\r
285 /* 700 */ 278, 9, 47, 46, 45, 39, 16, 23, 341, 337,\r
286 /* 710 */ 21, 18, 338, 339, 19, 20, 38, 196, 304, 275,\r
287 /* 720 */ 27, 262, 263, 233, 238, 184, 106, 250, 2, 348,\r
288 /* 730 */ 355, 356, 357, 358, 354, 353, 349, 350, 351, 352,\r
289 /* 740 */ 336, 183, 280, 301, 125, 291, 217, 201, 199, 64,\r
290 /* 750 */ 43, 104, 134, 43, 212, 38, 329, 162, 275, 335,\r
291 /* 760 */ 237, 6, 159, 266, 283, 281, 286, 278, 94, 135,\r
292 /* 770 */ 220, 47, 46, 45, 39, 16, 23, 341, 337, 21,\r
293 /* 780 */ 18, 338, 339, 19, 20, 183, 246, 17, 232, 330,\r
294 /* 790 */ 88, 219, 5, 274, 41, 54, 184, 257, 348, 355,\r
295 /* 800 */ 356, 357, 358, 354, 353, 349, 350, 351, 352, 336,\r
296 /* 810 */ 111, 197, 139, 276, 248, 47, 46, 45, 39, 16,\r
297 /* 820 */ 23, 341, 337, 21, 18, 338, 339, 19, 20, 183,\r
298 /* 830 */ 287, 343, 314, 22, 144, 91, 270, 184, 184, 184,\r
299 /* 840 */ 142, 227, 348, 355, 356, 357, 358, 354, 353, 349,\r
300 /* 850 */ 350, 351, 352, 336, 286, 40, 249, 303, 303, 47,\r
301 /* 860 */ 46, 45, 39, 16, 23, 341, 337, 21, 18, 338,\r
302 /* 870 */ 339, 19, 20, 183, 264, 303, 280, 303, 303, 303,\r
303 /* 880 */ 269, 116, 199, 303, 303, 104, 348, 355, 356, 357,\r
304 /* 890 */ 358, 354, 353, 349, 350, 351, 352, 336, 283, 281,\r
305 /* 900 */ 303, 278, 303, 47, 46, 45, 39, 16, 23, 341,\r
306 /* 910 */ 337, 21, 18, 338, 339, 19, 20, 167, 303, 303,\r
307 /* 920 */ 303, 303, 303, 303, 303, 303, 303, 31, 15, 303,\r
308 /* 930 */ 348, 355, 356, 357, 358, 354, 353, 349, 350, 351,\r
309 /* 940 */ 352, 336, 132, 3, 303, 105, 86, 167, 120, 303,\r
310 /* 950 */ 222, 3, 205, 110, 169, 303, 286, 31, 15, 125,\r
311 /* 960 */ 209, 98, 126, 48, 303, 131, 303, 125, 209, 129,\r
312 /* 970 */ 164, 48, 303, 303, 277, 277, 303, 25, 303, 286,\r
313 /* 980 */ 44, 42, 277, 285, 303, 30, 89, 1, 44, 42,\r
314 /* 990 */ 3, 285, 110, 175, 89, 1, 242, 151, 143, 303,\r
315 /* 1000 */ 303, 85, 3, 167, 110, 175, 125, 209, 303, 85,\r
316 /* 1010 */ 48, 286, 286, 31, 15, 136, 303, 146, 125, 209,\r
317 /* 1020 */ 303, 303, 48, 303, 30, 270, 303, 44, 42, 286,\r
318 /* 1030 */ 285, 286, 303, 89, 1, 3, 25, 113, 175, 44,\r
319 /* 1040 */ 42, 124, 285, 270, 128, 89, 1, 3, 85, 113,\r
320 /* 1050 */ 170, 125, 209, 97, 277, 48, 303, 277, 96, 303,\r
321 /* 1060 */ 85, 303, 303, 125, 179, 303, 277, 48, 303, 30,\r
322 /* 1070 */ 303, 277, 44, 42, 149, 285, 127, 303, 89, 1,\r
323 /* 1080 */ 3, 30, 110, 173, 44, 42, 303, 285, 286, 277,\r
324 /* 1090 */ 89, 1, 3, 85, 103, 175, 125, 209, 303, 303,\r
325 /* 1100 */ 48, 130, 270, 303, 303, 85, 303, 141, 125, 209,\r
326 /* 1110 */ 303, 303, 48, 303, 30, 286, 303, 44, 42, 303,\r
327 /* 1120 */ 285, 286, 303, 89, 1, 3, 30, 110, 171, 44,\r
328 /* 1130 */ 42, 303, 285, 303, 303, 89, 1, 3, 85, 113,\r
329 /* 1140 */ 175, 125, 209, 303, 303, 48, 303, 303, 303, 303,\r
330 /* 1150 */ 85, 303, 303, 125, 209, 303, 303, 48, 303, 25,\r
331 /* 1160 */ 303, 303, 44, 42, 303, 285, 303, 303, 89, 1,\r
332 /* 1170 */ 3, 30, 113, 177, 44, 42, 303, 285, 303, 303,\r
333 /* 1180 */ 89, 303, 303, 85, 303, 303, 125, 209, 303, 303,\r
334 /* 1190 */ 48, 303, 280, 303, 303, 85, 176, 303, 199, 71,\r
335 /* 1200 */ 303, 104, 303, 303, 30, 303, 303, 44, 42, 335,\r
336 /* 1210 */ 285, 303, 303, 89, 283, 281, 280, 278, 303, 303,\r
337 /* 1220 */ 217, 303, 199, 62, 303, 104, 180, 321, 85, 303,\r
338 /* 1230 */ 303, 303, 303, 335, 303, 303, 303, 303, 283, 281,\r
339 /* 1240 */ 280, 278, 303, 303, 217, 303, 199, 62, 206, 104,\r
340 /* 1250 */ 303, 303, 280, 303, 303, 303, 217, 335, 199, 62,\r
341 /* 1260 */ 303, 104, 283, 281, 280, 278, 303, 303, 176, 335,\r
342 /* 1270 */ 199, 71, 223, 104, 283, 281, 303, 278, 303, 303,\r
343 /* 1280 */ 303, 335, 303, 303, 251, 303, 283, 281, 280, 278,\r
344 /* 1290 */ 303, 303, 217, 303, 199, 62, 303, 104, 303, 320,\r
345 /* 1300 */ 280, 303, 303, 303, 217, 335, 199, 65, 303, 104,\r
346 /* 1310 */ 283, 281, 303, 278, 303, 303, 303, 335, 303, 303,\r
347 /* 1320 */ 190, 303, 283, 281, 280, 278, 303, 303, 217, 303,\r
348 /* 1330 */ 199, 73, 303, 104, 303, 303, 280, 303, 303, 303,\r
349 /* 1340 */ 217, 335, 199, 72, 303, 104, 283, 281, 280, 278,\r
350 /* 1350 */ 303, 303, 217, 335, 199, 63, 303, 104, 283, 281,\r
351 /* 1360 */ 303, 278, 303, 303, 303, 335, 303, 303, 303, 303,\r
352 /* 1370 */ 283, 281, 280, 278, 303, 303, 217, 303, 199, 70,\r
353 /* 1380 */ 303, 104, 303, 303, 280, 303, 303, 303, 217, 335,\r
354 /* 1390 */ 199, 67, 303, 104, 283, 281, 303, 278, 303, 303,\r
355 /* 1400 */ 303, 335, 303, 303, 303, 303, 283, 281, 280, 278,\r
356 /* 1410 */ 303, 303, 217, 303, 199, 75, 303, 104, 303, 303,\r
357 /* 1420 */ 280, 303, 303, 303, 217, 335, 199, 74, 303, 104,\r
358 /* 1430 */ 283, 281, 280, 278, 303, 303, 217, 335, 199, 79,\r
359 /* 1440 */ 303, 104, 283, 281, 303, 278, 303, 303, 303, 335,\r
360 /* 1450 */ 303, 303, 303, 303, 283, 281, 280, 278, 303, 303,\r
361 /* 1460 */ 217, 303, 199, 66, 303, 104, 303, 303, 280, 303,\r
362 /* 1470 */ 303, 303, 217, 335, 199, 57, 303, 104, 283, 281,\r
363 /* 1480 */ 303, 278, 303, 303, 303, 335, 303, 303, 303, 303,\r
364 /* 1490 */ 283, 281, 280, 278, 303, 303, 217, 303, 199, 76,\r
365 /* 1500 */ 303, 104, 303, 303, 280, 303, 303, 303, 217, 335,\r
366 /* 1510 */ 199, 82, 303, 104, 283, 281, 280, 278, 303, 303,\r
367 /* 1520 */ 217, 335, 181, 59, 303, 104, 283, 281, 303, 278,\r
368 /* 1530 */ 303, 303, 303, 335, 303, 303, 303, 303, 283, 281,\r
369 /* 1540 */ 280, 278, 303, 303, 217, 303, 199, 81, 303, 104,\r
370 /* 1550 */ 303, 303, 280, 303, 303, 303, 217, 335, 199, 77,\r
371 /* 1560 */ 303, 104, 283, 281, 303, 278, 303, 303, 303, 335,\r
372 /* 1570 */ 303, 303, 303, 303, 283, 281, 280, 278, 303, 303,\r
373 /* 1580 */ 217, 303, 199, 50, 303, 104, 303, 303, 280, 303,\r
374 /* 1590 */ 303, 303, 217, 335, 199, 55, 303, 104, 283, 281,\r
375 /* 1600 */ 280, 278, 303, 303, 217, 335, 199, 69, 303, 104,\r
376 /* 1610 */ 283, 281, 303, 278, 303, 303, 303, 335, 303, 303,\r
377 /* 1620 */ 303, 303, 283, 281, 280, 278, 303, 303, 217, 303,\r
378 /* 1630 */ 199, 60, 303, 104, 303, 303, 280, 303, 303, 303,\r
379 /* 1640 */ 217, 335, 199, 61, 303, 104, 283, 281, 303, 278,\r
380 /* 1650 */ 303, 303, 303, 335, 303, 303, 303, 303, 283, 281,\r
381 /* 1660 */ 280, 278, 303, 303, 217, 303, 199, 56, 303, 104,\r
382 /* 1670 */ 303, 303, 280, 303, 303, 303, 217, 335, 199, 80,\r
383 /* 1680 */ 303, 104, 283, 281, 280, 278, 303, 303, 217, 335,\r
384 /* 1690 */ 199, 68, 303, 104, 283, 281, 303, 278, 303, 303,\r
385 /* 1700 */ 303, 335, 303, 303, 303, 303, 283, 281, 280, 278,\r
386 /* 1710 */ 303, 303, 217, 303, 199, 58, 303, 104, 303, 303,\r
387 /* 1720 */ 280, 303, 303, 303, 217, 335, 199, 78, 303, 104,\r
388 /* 1730 */ 283, 281, 303, 278, 303, 303, 303, 335, 303, 303,\r
389 /* 1740 */ 303, 138, 283, 281, 280, 278, 167, 303, 192, 303,\r
390 /* 1750 */ 199, 303, 303, 104, 280, 286, 31, 15, 342, 303,\r
391 /* 1760 */ 199, 186, 303, 104, 303, 303, 283, 281, 303, 278,\r
392 /* 1770 */ 303, 346, 303, 303, 303, 303, 283, 281, 303, 278,\r
393 /* 1780 */ 140, 303, 303, 303, 280, 167, 303, 303, 259, 303,\r
394 /* 1790 */ 199, 303, 303, 104, 286, 31, 15, 303, 303, 303,\r
395 /* 1800 */ 303, 260, 303, 303, 303, 303, 283, 281, 303, 278,\r
396 );\r
397 static public $yy_lookahead = array(\r
398 /* 0 */ 1, 77, 30, 12, 13, 81, 15, 83, 84, 85,\r
399 /* 10 */ 86, 104, 13, 106, 107, 4, 5, 6, 94, 20,\r
400 /* 20 */ 9, 10, 11, 99, 100, 83, 102, 27, 86, 57,\r
401 /* 30 */ 31, 32, 33, 34, 35, 36, 37, 38, 39, 40,\r
402 /* 40 */ 41, 42, 43, 44, 102, 45, 3, 4, 5, 6,\r
403 /* 50 */ 7, 8, 9, 106, 107, 12, 27, 58, 59, 60,\r
404 /* 60 */ 61, 62, 63, 64, 65, 66, 67, 68, 69, 1,\r
405 /* 70 */ 77, 28, 1, 20, 81, 46, 83, 84, 85, 86,\r
406 /* 80 */ 82, 13, 53, 16, 13, 87, 16, 94, 20, 18,\r
407 /* 90 */ 13, 20, 99, 100, 96, 102, 26, 20, 15, 31,\r
408 /* 100 */ 32, 33, 34, 35, 36, 37, 38, 39, 40, 41,\r
409 /* 110 */ 42, 43, 44, 76, 77, 78, 46, 46, 74, 75,\r
410 /* 120 */ 76, 77, 78, 53, 53, 12, 58, 59, 60, 61,\r
411 /* 130 */ 62, 63, 64, 65, 66, 67, 68, 69, 1, 82,\r
412 /* 140 */ 15, 77, 17, 47, 19, 81, 21, 83, 84, 85,\r
413 /* 150 */ 86, 12, 92, 96, 15, 16, 51, 20, 94, 46,\r
414 /* 160 */ 13, 56, 25, 99, 100, 105, 102, 20, 31, 32,\r
415 /* 170 */ 33, 34, 35, 36, 37, 38, 39, 40, 41, 42,\r
416 /* 180 */ 43, 44, 1, 13, 12, 77, 14, 15, 15, 81,\r
417 /* 190 */ 20, 83, 45, 54, 86, 58, 59, 60, 61, 62,\r
418 /* 200 */ 63, 64, 65, 66, 67, 68, 69, 99, 100, 78,\r
419 /* 210 */ 102, 80, 31, 32, 33, 34, 35, 36, 37, 38,\r
420 /* 220 */ 39, 40, 41, 42, 43, 44, 12, 55, 12, 15,\r
421 /* 230 */ 16, 15, 23, 8, 47, 14, 15, 12, 57, 58,\r
422 /* 240 */ 59, 60, 61, 62, 63, 64, 65, 66, 67, 68,\r
423 /* 250 */ 69, 1, 77, 28, 1, 93, 81, 46, 83, 84,\r
424 /* 260 */ 85, 86, 51, 13, 53, 13, 13, 105, 57, 94,\r
425 /* 270 */ 54, 18, 20, 20, 99, 100, 55, 102, 14, 15,\r
426 /* 280 */ 71, 31, 32, 33, 34, 35, 36, 37, 38, 39,\r
427 /* 290 */ 40, 41, 42, 43, 44, 70, 71, 72, 46, 13,\r
428 /* 300 */ 16, 12, 18, 18, 15, 53, 20, 15, 58, 59,\r
429 /* 310 */ 60, 61, 62, 63, 64, 65, 66, 67, 68, 69,\r
430 /* 320 */ 1, 77, 48, 83, 13, 81, 86, 83, 84, 85,\r
431 /* 330 */ 86, 20, 12, 13, 23, 15, 51, 53, 94, 20,\r
432 /* 340 */ 46, 56, 102, 99, 100, 13, 102, 27, 108, 1,\r
433 /* 350 */ 31, 32, 33, 34, 35, 36, 37, 38, 39, 40,\r
434 /* 360 */ 41, 42, 43, 44, 1, 13, 12, 77, 20, 15,\r
435 /* 370 */ 15, 81, 20, 83, 16, 23, 86, 58, 59, 60,\r
436 /* 380 */ 61, 62, 63, 64, 65, 66, 67, 68, 69, 99,\r
437 /* 390 */ 100, 103, 102, 105, 31, 32, 33, 34, 35, 36,\r
438 /* 400 */ 37, 38, 39, 40, 41, 42, 43, 44, 1, 51,\r
439 /* 410 */ 47, 12, 12, 13, 15, 15, 12, 2, 14, 15,\r
440 /* 420 */ 13, 58, 59, 60, 61, 62, 63, 64, 65, 66,\r
441 /* 430 */ 67, 68, 69, 29, 15, 20, 106, 107, 31, 32,\r
442 /* 440 */ 33, 34, 35, 36, 37, 38, 39, 40, 41, 42,\r
443 /* 450 */ 43, 44, 1, 54, 12, 77, 13, 15, 88, 81,\r
444 /* 460 */ 88, 83, 77, 20, 86, 58, 59, 60, 61, 62,\r
445 /* 470 */ 63, 64, 65, 66, 67, 68, 69, 99, 100, 103,\r
446 /* 480 */ 102, 2, 31, 32, 33, 34, 35, 36, 37, 38,\r
447 /* 490 */ 39, 40, 41, 42, 43, 44, 1, 13, 113, 114,\r
448 /* 500 */ 106, 107, 89, 90, 20, 45, 15, 82, 13, 58,\r
449 /* 510 */ 59, 60, 61, 62, 63, 64, 65, 66, 67, 68,\r
450 /* 520 */ 69, 96, 71, 14, 51, 29, 31, 32, 33, 34,\r
451 /* 530 */ 35, 36, 37, 38, 39, 40, 41, 42, 43, 44,\r
452 /* 540 */ 1, 13, 22, 77, 13, 54, 13, 81, 20, 83,\r
453 /* 550 */ 30, 20, 86, 58, 59, 60, 61, 62, 63, 64,\r
454 /* 560 */ 65, 66, 67, 68, 69, 99, 100, 55, 102, 26,\r
455 /* 570 */ 31, 32, 33, 34, 35, 36, 37, 38, 39, 40,\r
456 /* 580 */ 41, 42, 43, 44, 1, 2, 47, 77, 13, 15,\r
457 /* 590 */ 14, 81, 14, 83, 26, 20, 86, 58, 59, 60,\r
458 /* 600 */ 61, 62, 63, 64, 65, 66, 67, 68, 69, 99,\r
459 /* 610 */ 100, 88, 102, 13, 31, 32, 33, 34, 35, 36,\r
460 /* 620 */ 37, 38, 39, 40, 41, 42, 43, 44, 1, 13,\r
461 /* 630 */ 46, 13, 55, 23, 15, 47, 20, 53, 20, 15,\r
462 /* 640 */ 13, 58, 59, 60, 61, 62, 63, 64, 65, 66,\r
463 /* 650 */ 67, 68, 69, 29, 14, 13, 15, 20, 31, 32,\r
464 /* 660 */ 33, 34, 35, 36, 37, 38, 39, 40, 41, 42,\r
465 /* 670 */ 43, 44, 1, 13, 57, 77, 13, 16, 20, 81,\r
466 /* 680 */ 20, 83, 18, 20, 86, 58, 59, 60, 61, 62,\r
467 /* 690 */ 63, 64, 65, 66, 67, 68, 69, 99, 100, 24,\r
468 /* 700 */ 102, 30, 31, 32, 33, 34, 35, 36, 37, 38,\r
469 /* 710 */ 39, 40, 41, 42, 43, 44, 12, 53, 13, 15,\r
470 /* 720 */ 16, 13, 15, 77, 8, 20, 14, 23, 12, 58,\r
471 /* 730 */ 59, 60, 61, 62, 63, 64, 65, 66, 67, 68,\r
472 /* 740 */ 69, 1, 77, 96, 28, 10, 81, 2, 83, 84,\r
473 /* 750 */ 45, 86, 82, 45, 89, 12, 13, 87, 15, 94,\r
474 /* 760 */ 114, 16, 22, 104, 99, 100, 96, 102, 79, 103,\r
475 /* 770 */ 27, 31, 32, 33, 34, 35, 36, 37, 38, 39,\r
476 /* 780 */ 40, 41, 42, 43, 44, 1, 70, 71, 72, 13,\r
477 /* 790 */ 103, 95, 46, 105, 20, 18, 20, 13, 58, 59,\r
478 /* 800 */ 60, 61, 62, 63, 64, 65, 66, 67, 68, 69,\r
479 /* 810 */ 14, 91, 103, 107, 20, 31, 32, 33, 34, 35,\r
480 /* 820 */ 36, 37, 38, 39, 40, 41, 42, 43, 44, 1,\r
481 /* 830 */ 13, 13, 13, 91, 103, 88, 110, 20, 20, 20,\r
482 /* 840 */ 82, 13, 58, 59, 60, 61, 62, 63, 64, 65,\r
483 /* 850 */ 66, 67, 68, 69, 96, 2, 89, 115, 115, 31,\r
484 /* 860 */ 32, 33, 34, 35, 36, 37, 38, 39, 40, 41,\r
485 /* 870 */ 42, 43, 44, 1, 101, 115, 77, 115, 115, 115,\r
486 /* 880 */ 81, 108, 83, 115, 115, 86, 58, 59, 60, 61,\r
487 /* 890 */ 62, 63, 64, 65, 66, 67, 68, 69, 99, 100,\r
488 /* 900 */ 115, 102, 115, 31, 32, 33, 34, 35, 36, 37,\r
489 /* 910 */ 38, 39, 40, 41, 42, 43, 44, 87, 115, 115,\r
490 /* 920 */ 115, 115, 115, 115, 115, 115, 115, 97, 98, 115,\r
491 /* 930 */ 58, 59, 60, 61, 62, 63, 64, 65, 66, 67,\r
492 /* 940 */ 68, 69, 82, 12, 115, 14, 15, 87, 17, 115,\r
493 /* 950 */ 19, 12, 21, 14, 15, 115, 96, 97, 98, 28,\r
494 /* 960 */ 29, 92, 92, 32, 115, 82, 115, 28, 29, 92,\r
495 /* 970 */ 87, 32, 115, 115, 105, 105, 115, 46, 115, 96,\r
496 /* 980 */ 49, 50, 105, 52, 115, 46, 55, 56, 49, 50,\r
497 /* 990 */ 12, 52, 14, 15, 55, 56, 57, 82, 82, 115,\r
498 /* 1000 */ 115, 70, 12, 87, 14, 15, 28, 29, 115, 70,\r
499 /* 1010 */ 32, 96, 96, 97, 98, 82, 115, 82, 28, 29,\r
500 /* 1020 */ 115, 115, 32, 115, 46, 110, 115, 49, 50, 96,\r
501 /* 1030 */ 52, 96, 115, 55, 56, 12, 46, 14, 15, 49,\r
502 /* 1040 */ 50, 92, 52, 110, 92, 55, 56, 12, 70, 14,\r
503 /* 1050 */ 15, 28, 29, 92, 105, 32, 115, 105, 92, 115,\r
504 /* 1060 */ 70, 115, 115, 28, 29, 115, 105, 32, 115, 46,\r
505 /* 1070 */ 115, 105, 49, 50, 82, 52, 92, 115, 55, 56,\r
506 /* 1080 */ 12, 46, 14, 15, 49, 50, 115, 52, 96, 105,\r
507 /* 1090 */ 55, 56, 12, 70, 14, 15, 28, 29, 115, 115,\r
508 /* 1100 */ 32, 82, 110, 115, 115, 70, 115, 82, 28, 29,\r
509 /* 1110 */ 115, 115, 32, 115, 46, 96, 115, 49, 50, 115,\r
510 /* 1120 */ 52, 96, 115, 55, 56, 12, 46, 14, 15, 49,\r
511 /* 1130 */ 50, 115, 52, 115, 115, 55, 56, 12, 70, 14,\r
512 /* 1140 */ 15, 28, 29, 115, 115, 32, 115, 115, 115, 115,\r
513 /* 1150 */ 70, 115, 115, 28, 29, 115, 115, 32, 115, 46,\r
514 /* 1160 */ 115, 115, 49, 50, 115, 52, 115, 115, 55, 56,\r
515 /* 1170 */ 12, 46, 14, 15, 49, 50, 115, 52, 115, 115,\r
516 /* 1180 */ 55, 115, 115, 70, 115, 115, 28, 29, 115, 115,\r
517 /* 1190 */ 32, 115, 77, 115, 115, 70, 81, 115, 83, 84,\r
518 /* 1200 */ 115, 86, 115, 115, 46, 115, 115, 49, 50, 94,\r
519 /* 1210 */ 52, 115, 115, 55, 99, 100, 77, 102, 115, 115,\r
520 /* 1220 */ 81, 115, 83, 84, 115, 86, 111, 112, 70, 115,\r
521 /* 1230 */ 115, 115, 115, 94, 115, 115, 115, 115, 99, 100,\r
522 /* 1240 */ 77, 102, 115, 115, 81, 115, 83, 84, 109, 86,\r
523 /* 1250 */ 115, 115, 77, 115, 115, 115, 81, 94, 83, 84,\r
524 /* 1260 */ 115, 86, 99, 100, 77, 102, 115, 115, 81, 94,\r
525 /* 1270 */ 83, 84, 109, 86, 99, 100, 115, 102, 115, 115,\r
526 /* 1280 */ 115, 94, 115, 115, 109, 115, 99, 100, 77, 102,\r
527 /* 1290 */ 115, 115, 81, 115, 83, 84, 115, 86, 115, 112,\r
528 /* 1300 */ 77, 115, 115, 115, 81, 94, 83, 84, 115, 86,\r
529 /* 1310 */ 99, 100, 115, 102, 115, 115, 115, 94, 115, 115,\r
530 /* 1320 */ 109, 115, 99, 100, 77, 102, 115, 115, 81, 115,\r
531 /* 1330 */ 83, 84, 115, 86, 115, 115, 77, 115, 115, 115,\r
532 /* 1340 */ 81, 94, 83, 84, 115, 86, 99, 100, 77, 102,\r
533 /* 1350 */ 115, 115, 81, 94, 83, 84, 115, 86, 99, 100,\r
534 /* 1360 */ 115, 102, 115, 115, 115, 94, 115, 115, 115, 115,\r
535 /* 1370 */ 99, 100, 77, 102, 115, 115, 81, 115, 83, 84,\r
536 /* 1380 */ 115, 86, 115, 115, 77, 115, 115, 115, 81, 94,\r
537 /* 1390 */ 83, 84, 115, 86, 99, 100, 115, 102, 115, 115,\r
538 /* 1400 */ 115, 94, 115, 115, 115, 115, 99, 100, 77, 102,\r
539 /* 1410 */ 115, 115, 81, 115, 83, 84, 115, 86, 115, 115,\r
540 /* 1420 */ 77, 115, 115, 115, 81, 94, 83, 84, 115, 86,\r
541 /* 1430 */ 99, 100, 77, 102, 115, 115, 81, 94, 83, 84,\r
542 /* 1440 */ 115, 86, 99, 100, 115, 102, 115, 115, 115, 94,\r
543 /* 1450 */ 115, 115, 115, 115, 99, 100, 77, 102, 115, 115,\r
544 /* 1460 */ 81, 115, 83, 84, 115, 86, 115, 115, 77, 115,\r
545 /* 1470 */ 115, 115, 81, 94, 83, 84, 115, 86, 99, 100,\r
546 /* 1480 */ 115, 102, 115, 115, 115, 94, 115, 115, 115, 115,\r
547 /* 1490 */ 99, 100, 77, 102, 115, 115, 81, 115, 83, 84,\r
548 /* 1500 */ 115, 86, 115, 115, 77, 115, 115, 115, 81, 94,\r
549 /* 1510 */ 83, 84, 115, 86, 99, 100, 77, 102, 115, 115,\r
550 /* 1520 */ 81, 94, 83, 84, 115, 86, 99, 100, 115, 102,\r
551 /* 1530 */ 115, 115, 115, 94, 115, 115, 115, 115, 99, 100,\r
552 /* 1540 */ 77, 102, 115, 115, 81, 115, 83, 84, 115, 86,\r
553 /* 1550 */ 115, 115, 77, 115, 115, 115, 81, 94, 83, 84,\r
554 /* 1560 */ 115, 86, 99, 100, 115, 102, 115, 115, 115, 94,\r
555 /* 1570 */ 115, 115, 115, 115, 99, 100, 77, 102, 115, 115,\r
556 /* 1580 */ 81, 115, 83, 84, 115, 86, 115, 115, 77, 115,\r
557 /* 1590 */ 115, 115, 81, 94, 83, 84, 115, 86, 99, 100,\r
558 /* 1600 */ 77, 102, 115, 115, 81, 94, 83, 84, 115, 86,\r
559 /* 1610 */ 99, 100, 115, 102, 115, 115, 115, 94, 115, 115,\r
560 /* 1620 */ 115, 115, 99, 100, 77, 102, 115, 115, 81, 115,\r
561 /* 1630 */ 83, 84, 115, 86, 115, 115, 77, 115, 115, 115,\r
562 /* 1640 */ 81, 94, 83, 84, 115, 86, 99, 100, 115, 102,\r
563 /* 1650 */ 115, 115, 115, 94, 115, 115, 115, 115, 99, 100,\r
564 /* 1660 */ 77, 102, 115, 115, 81, 115, 83, 84, 115, 86,\r
565 /* 1670 */ 115, 115, 77, 115, 115, 115, 81, 94, 83, 84,\r
566 /* 1680 */ 115, 86, 99, 100, 77, 102, 115, 115, 81, 94,\r
567 /* 1690 */ 83, 84, 115, 86, 99, 100, 115, 102, 115, 115,\r
568 /* 1700 */ 115, 94, 115, 115, 115, 115, 99, 100, 77, 102,\r
569 /* 1710 */ 115, 115, 81, 115, 83, 84, 115, 86, 115, 115,\r
570 /* 1720 */ 77, 115, 115, 115, 81, 94, 83, 84, 115, 86,\r
571 /* 1730 */ 99, 100, 115, 102, 115, 115, 115, 94, 115, 115,\r
572 /* 1740 */ 115, 82, 99, 100, 77, 102, 87, 115, 81, 115,\r
573 /* 1750 */ 83, 115, 115, 86, 77, 96, 97, 98, 81, 115,\r
574 /* 1760 */ 83, 94, 115, 86, 115, 115, 99, 100, 115, 102,\r
575 /* 1770 */ 115, 94, 115, 115, 115, 115, 99, 100, 115, 102,\r
576 /* 1780 */ 82, 115, 115, 115, 77, 87, 115, 115, 81, 115,\r
577 /* 1790 */ 83, 115, 115, 86, 96, 97, 98, 115, 115, 115,\r
578 /* 1800 */ 115, 94, 115, 115, 115, 115, 99, 100, 115, 102,\r
579 );\r
580 const YY_SHIFT_USE_DFLT = -29;\r
581 const YY_SHIFT_MAX = 223;\r
582 static public $yy_shift_ofst = array(\r
583 /* 0 */ 43, 1068, 931, 931, 1113, 978, 990, 1068, 990, 978,\r
584 /* 10 */ 978, 1080, 978, 939, 978, 978, 978, 978, 978, 978,\r
585 /* 20 */ 978, 978, 978, 978, 978, 978, 978, 978, 978, 978,\r
586 /* 30 */ 978, 978, 978, 978, 978, 978, 978, 978, 978, 1023,\r
587 /* 40 */ 1023, 1035, 1125, 1158, 1125, 1125, 1125, 1125, 1125, -1,\r
588 /* 50 */ 137, 68, 319, 319, 172, 407, 250, 181, 363, 451,\r
589 /* 60 */ 828, 784, 671, 740, 627, 583, 495, 539, 872, 872,\r
590 /* 70 */ 872, 872, 872, 872, 872, 872, 872, 872, 872, 872,\r
591 /* 80 */ 872, 872, 872, 872, 43, 716, 71, 253, 285, 221,\r
592 /* 90 */ 415, 415, 415, 348, 11, 225, 704, 139, 216, 352,\r
593 /* 100 */ 705, 311, 284, 354, 664, 442, 289, 289, 289, 289,\r
594 /* 110 */ 354, 289, 264, 289, 289, 289, 777, 796, 658, 658,\r
595 /* 120 */ 774, 658, 777, 743, 320, 125, 399, 400, -9, 214,\r
596 /* 130 */ 575, 484, 531, 113, 443, 105, 77, 170, 819, 105,\r
597 /* 140 */ 286, 528, 818, 618, 105, 105, 616, 105, 660, 817,\r
598 /* 150 */ 776, 663, 746, 735, 796, 853, 777, 777, 777, 794,\r
599 /* 160 */ 794, 777, -29, -29, -29, -29, -29, -29, -29, 211,\r
600 /* 170 */ 70, 252, 404, 29, 147, 584, 0, 584, 520, 358,\r
601 /* 180 */ -28, 209, 708, 491, 624, 745, 543, 642, 640, 675,\r
602 /* 190 */ 588, 574, 568, 577, 712, 512, 83, 509, 617, 610,\r
603 /* 200 */ 619, 707, 355, 292, 173, 53, 96, 294, 496, 473,\r
604 /* 210 */ 419, 479, 332, 67, 274, 641, 533, 460, 576, 600,\r
605 /* 220 */ 578, 661, 637, 187,\r
606 );\r
607 const YY_REDUCE_USE_DFLT = -94;\r
608 const YY_REDUCE_MAX = 168;\r
609 static public $yy_reduce_ofst = array(\r
610 /* 0 */ 44, 1115, -7, 244, 175, 1163, 64, 1187, -76, 1175,\r
611 /* 10 */ 1139, 665, 1211, 1391, 1379, 1415, 1427, 1439, 1355, 1343,\r
612 /* 20 */ 1259, 1247, 1271, 1295, 1331, 1307, 1463, 1475, 1583, 1607,\r
613 /* 30 */ 1631, 1643, 1595, 1559, 1499, 1223, 1511, 1523, 1547, 1677,\r
614 /* 40 */ 1707, 1667, 799, 510, 290, 598, 378, 108, 466, 1698,\r
615 /* 50 */ 916, 860, 860, 1659, 240, 830, 830, 830, 830, 830,\r
616 /* 60 */ 830, 830, 830, 830, 830, 830, 830, 830, 830, 830,\r
617 /* 70 */ 830, 830, 830, 830, 830, 830, 830, 830, 830, 830,\r
618 /* 80 */ 830, 830, 830, 830, 37, 385, 883, -2, -93, -58,\r
619 /* 90 */ 915, 933, 992, 670, 131, 646, 162, 288, 288, 758,\r
620 /* 100 */ 935, 758, 330, 961, 330, 869, 60, 870, 952, 949,\r
621 /* 110 */ 869, 877, 773, 869, 984, 966, 394, 413, 1025, 1019,\r
622 /* 120 */ 425, 57, -53, 688, 688, 696, 688, 688, 688, 688,\r
623 /* 130 */ 647, 647, 647, 709, 647, 659, 647, 647, 647, 659,\r
624 /* 140 */ 647, 647, 647, 647, 659, 659, 647, 659, 647, 647,\r
625 /* 150 */ 647, 647, 687, 689, 767, 726, 706, 706, 706, 720,\r
626 /* 160 */ 742, 706, 747, 731, 523, 666, 376, 372, 370,\r
627 );\r
628 static public $yyExpectedTokens = array(\r
629 /* 0 */ array(3, 4, 5, 6, 7, 8, 9, 12, 28, ),\r
630 /* 1 */ array(12, 14, 15, 28, 29, 32, 46, 49, 50, 52, 55, 56, 70, ),\r
631 /* 2 */ array(12, 14, 15, 17, 19, 21, 28, 29, 32, 46, 49, 50, 52, 55, 56, 70, ),\r
632 /* 3 */ array(12, 14, 15, 17, 19, 21, 28, 29, 32, 46, 49, 50, 52, 55, 56, 70, ),\r
633 /* 4 */ array(12, 14, 15, 28, 29, 32, 46, 49, 50, 52, 55, 56, 70, ),\r
634 /* 5 */ array(12, 14, 15, 28, 29, 32, 46, 49, 50, 52, 55, 56, 70, ),\r
635 /* 6 */ array(12, 14, 15, 28, 29, 32, 46, 49, 50, 52, 55, 56, 70, ),\r
636 /* 7 */ array(12, 14, 15, 28, 29, 32, 46, 49, 50, 52, 55, 56, 70, ),\r
637 /* 8 */ array(12, 14, 15, 28, 29, 32, 46, 49, 50, 52, 55, 56, 70, ),\r
638 /* 9 */ array(12, 14, 15, 28, 29, 32, 46, 49, 50, 52, 55, 56, 70, ),\r
639 /* 10 */ array(12, 14, 15, 28, 29, 32, 46, 49, 50, 52, 55, 56, 70, ),\r
640 /* 11 */ array(12, 14, 15, 28, 29, 32, 46, 49, 50, 52, 55, 56, 70, ),\r
641 /* 12 */ array(12, 14, 15, 28, 29, 32, 46, 49, 50, 52, 55, 56, 70, ),\r
642 /* 13 */ array(12, 14, 15, 28, 29, 32, 46, 49, 50, 52, 55, 56, 57, 70, ),\r
643 /* 14 */ array(12, 14, 15, 28, 29, 32, 46, 49, 50, 52, 55, 56, 70, ),\r
644 /* 15 */ array(12, 14, 15, 28, 29, 32, 46, 49, 50, 52, 55, 56, 70, ),\r
645 /* 16 */ array(12, 14, 15, 28, 29, 32, 46, 49, 50, 52, 55, 56, 70, ),\r
646 /* 17 */ array(12, 14, 15, 28, 29, 32, 46, 49, 50, 52, 55, 56, 70, ),\r
647 /* 18 */ array(12, 14, 15, 28, 29, 32, 46, 49, 50, 52, 55, 56, 70, ),\r
648 /* 19 */ array(12, 14, 15, 28, 29, 32, 46, 49, 50, 52, 55, 56, 70, ),\r
649 /* 20 */ array(12, 14, 15, 28, 29, 32, 46, 49, 50, 52, 55, 56, 70, ),\r
650 /* 21 */ array(12, 14, 15, 28, 29, 32, 46, 49, 50, 52, 55, 56, 70, ),\r
651 /* 22 */ array(12, 14, 15, 28, 29, 32, 46, 49, 50, 52, 55, 56, 70, ),\r
652 /* 23 */ array(12, 14, 15, 28, 29, 32, 46, 49, 50, 52, 55, 56, 70, ),\r
653 /* 24 */ array(12, 14, 15, 28, 29, 32, 46, 49, 50, 52, 55, 56, 70, ),\r
654 /* 25 */ array(12, 14, 15, 28, 29, 32, 46, 49, 50, 52, 55, 56, 70, ),\r
655 /* 26 */ array(12, 14, 15, 28, 29, 32, 46, 49, 50, 52, 55, 56, 70, ),\r
656 /* 27 */ array(12, 14, 15, 28, 29, 32, 46, 49, 50, 52, 55, 56, 70, ),\r
657 /* 28 */ array(12, 14, 15, 28, 29, 32, 46, 49, 50, 52, 55, 56, 70, ),\r
658 /* 29 */ array(12, 14, 15, 28, 29, 32, 46, 49, 50, 52, 55, 56, 70, ),\r
659 /* 30 */ array(12, 14, 15, 28, 29, 32, 46, 49, 50, 52, 55, 56, 70, ),\r
660 /* 31 */ array(12, 14, 15, 28, 29, 32, 46, 49, 50, 52, 55, 56, 70, ),\r
661 /* 32 */ array(12, 14, 15, 28, 29, 32, 46, 49, 50, 52, 55, 56, 70, ),\r
662 /* 33 */ array(12, 14, 15, 28, 29, 32, 46, 49, 50, 52, 55, 56, 70, ),\r
663 /* 34 */ array(12, 14, 15, 28, 29, 32, 46, 49, 50, 52, 55, 56, 70, ),\r
664 /* 35 */ array(12, 14, 15, 28, 29, 32, 46, 49, 50, 52, 55, 56, 70, ),\r
665 /* 36 */ array(12, 14, 15, 28, 29, 32, 46, 49, 50, 52, 55, 56, 70, ),\r
666 /* 37 */ array(12, 14, 15, 28, 29, 32, 46, 49, 50, 52, 55, 56, 70, ),\r
667 /* 38 */ array(12, 14, 15, 28, 29, 32, 46, 49, 50, 52, 55, 56, 70, ),\r
668 /* 39 */ array(12, 14, 15, 28, 29, 32, 46, 49, 50, 52, 55, 56, 70, ),\r
669 /* 40 */ array(12, 14, 15, 28, 29, 32, 46, 49, 50, 52, 55, 56, 70, ),\r
670 /* 41 */ array(12, 14, 15, 28, 29, 32, 46, 49, 50, 52, 55, 56, 70, ),\r
671 /* 42 */ array(12, 14, 15, 28, 29, 32, 46, 49, 50, 52, 55, 70, ),\r
672 /* 43 */ array(12, 14, 15, 28, 29, 32, 46, 49, 50, 52, 55, 70, ),\r
673 /* 44 */ array(12, 14, 15, 28, 29, 32, 46, 49, 50, 52, 55, 70, ),\r
674 /* 45 */ array(12, 14, 15, 28, 29, 32, 46, 49, 50, 52, 55, 70, ),\r
675 /* 46 */ array(12, 14, 15, 28, 29, 32, 46, 49, 50, 52, 55, 70, ),\r
676 /* 47 */ array(12, 14, 15, 28, 29, 32, 46, 49, 50, 52, 55, 70, ),\r
677 /* 48 */ array(12, 14, 15, 28, 29, 32, 46, 49, 50, 52, 55, 70, ),\r
678 /* 49 */ array(1, 13, 20, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, ),\r
679 /* 50 */ array(1, 20, 25, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, ),\r
680 /* 51 */ array(1, 13, 20, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, ),\r
681 /* 52 */ array(1, 20, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, ),\r
682 /* 53 */ array(1, 20, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, ),\r
683 /* 54 */ array(12, 14, 15, 55, ),\r
684 /* 55 */ array(1, 13, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, ),\r
685 /* 56 */ array(1, 13, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, ),\r
686 /* 57 */ array(1, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, ),\r
687 /* 58 */ array(1, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 47, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, ),\r
688 /* 59 */ array(1, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 71, ),\r
689 /* 60 */ array(1, 13, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, ),\r
690 /* 61 */ array(1, 13, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, ),\r
691 /* 62 */ array(1, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, ),\r
692 /* 63 */ array(1, 22, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, ),\r
693 /* 64 */ array(1, 13, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, ),\r
694 /* 65 */ array(1, 2, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, ),\r
695 /* 66 */ array(1, 13, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, ),\r
696 /* 67 */ array(1, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 47, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, ),\r
697 /* 68 */ array(1, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, ),\r
698 /* 69 */ array(1, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, ),\r
699 /* 70 */ array(1, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, ),\r
700 /* 71 */ array(1, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, ),\r
701 /* 72 */ array(1, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, ),\r
702 /* 73 */ array(1, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, ),\r
703 /* 74 */ array(1, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, ),\r
704 /* 75 */ array(1, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, ),\r
705 /* 76 */ array(1, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, ),\r
706 /* 77 */ array(1, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, ),\r
707 /* 78 */ array(1, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, ),\r
708 /* 79 */ array(1, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, ),\r
709 /* 80 */ array(1, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, ),\r
710 /* 81 */ array(1, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, ),\r
711 /* 82 */ array(1, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, ),\r
712 /* 83 */ array(1, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, ),\r
713 /* 84 */ array(3, 4, 5, 6, 7, 8, 9, 12, 28, ),\r
714 /* 85 */ array(8, 12, 28, 70, 71, 72, ),\r
715 /* 86 */ array(1, 13, 18, 20, 46, 53, ),\r
716 /* 87 */ array(1, 13, 18, 20, ),\r
717 /* 88 */ array(18, 51, 56, ),\r
718 /* 89 */ array(14, 15, 55, ),\r
719 /* 90 */ array(2, 20, ),\r
720 /* 91 */ array(2, 20, ),\r
721 /* 92 */ array(2, 20, ),\r
722 /* 93 */ array(1, 20, ),\r
723 /* 94 */ array(4, 5, 6, 9, 10, 11, ),\r
724 /* 95 */ array(8, 12, 28, 70, 71, 72, ),\r
725 /* 96 */ array(12, 15, 16, 23, ),\r
726 /* 97 */ array(12, 15, 16, 54, ),\r
727 /* 98 */ array(12, 15, 54, ),\r
728 /* 99 */ array(13, 20, 23, ),\r
729 /* 100 */ array(13, 20, 45, ),\r
730 /* 101 */ array(13, 20, 23, ),\r
731 /* 102 */ array(16, 18, 53, ),\r
732 /* 103 */ array(12, 15, ),\r
733 /* 104 */ array(18, 53, ),\r
734 /* 105 */ array(12, 15, ),\r
735 /* 106 */ array(12, 15, ),\r
736 /* 107 */ array(12, 15, ),\r
737 /* 108 */ array(12, 15, ),\r
738 /* 109 */ array(12, 15, ),\r
739 /* 110 */ array(12, 15, ),\r
740 /* 111 */ array(12, 15, ),\r
741 /* 112 */ array(14, 15, ),\r
742 /* 113 */ array(12, 15, ),\r
743 /* 114 */ array(12, 15, ),\r
744 /* 115 */ array(12, 15, ),\r
745 /* 116 */ array(18, ),\r
746 /* 117 */ array(14, ),\r
747 /* 118 */ array(20, ),\r
748 /* 119 */ array(20, ),\r
749 /* 120 */ array(20, ),\r
750 /* 121 */ array(20, ),\r
751 /* 122 */ array(18, ),\r
752 /* 123 */ array(12, 13, 15, 27, ),\r
753 /* 124 */ array(12, 13, 15, 27, ),\r
754 /* 125 */ array(15, 17, 19, 21, ),\r
755 /* 126 */ array(12, 15, 54, ),\r
756 /* 127 */ array(12, 13, 15, ),\r
757 /* 128 */ array(12, 13, 15, ),\r
758 /* 129 */ array(12, 15, 16, ),\r
759 /* 130 */ array(13, 20, ),\r
760 /* 131 */ array(13, 20, ),\r
761 /* 132 */ array(13, 20, ),\r
762 /* 133 */ array(12, 46, ),\r
763 /* 134 */ array(13, 20, ),\r
764 /* 135 */ array(51, 56, ),\r
765 /* 136 */ array(13, 20, ),\r
766 /* 137 */ array(13, 20, ),\r
767 /* 138 */ array(13, 20, ),\r
768 /* 139 */ array(51, 56, ),\r
769 /* 140 */ array(13, 20, ),\r
770 /* 141 */ array(13, 20, ),\r
771 /* 142 */ array(13, 20, ),\r
772 /* 143 */ array(13, 20, ),\r
773 /* 144 */ array(51, 56, ),\r
774 /* 145 */ array(51, 56, ),\r
775 /* 146 */ array(13, 20, ),\r
776 /* 147 */ array(51, 56, ),\r
777 /* 148 */ array(13, 20, ),\r
778 /* 149 */ array(13, 20, ),\r
779 /* 150 */ array(13, 20, ),\r
780 /* 151 */ array(13, 20, ),\r
781 /* 152 */ array(46, ),\r
782 /* 153 */ array(10, ),\r
783 /* 154 */ array(14, ),\r
784 /* 155 */ array(2, ),\r
785 /* 156 */ array(18, ),\r
786 /* 157 */ array(18, ),\r
787 /* 158 */ array(18, ),\r
788 /* 159 */ array(20, ),\r
789 /* 160 */ array(20, ),\r
790 /* 161 */ array(18, ),\r
791 /* 162 */ array(),\r
792 /* 163 */ array(),\r
793 /* 164 */ array(),\r
794 /* 165 */ array(),\r
795 /* 166 */ array(),\r
796 /* 167 */ array(),\r
797 /* 168 */ array(),\r
798 /* 169 */ array(46, 51, 53, 57, ),\r
799 /* 170 */ array(16, 26, 46, 53, ),\r
800 /* 171 */ array(13, 20, 46, 53, ),\r
801 /* 172 */ array(12, 14, 15, 29, ),\r
802 /* 173 */ array(27, 46, 53, ),\r
803 /* 174 */ array(13, 20, 45, ),\r
804 /* 175 */ array(46, 53, ),\r
805 /* 176 */ array(27, 45, ),\r
806 /* 177 */ array(46, 53, ),\r
807 /* 178 */ array(22, 30, ),\r
808 /* 179 */ array(16, 51, ),\r
809 /* 180 */ array(30, 57, ),\r
810 /* 181 */ array(23, 71, ),\r
811 /* 182 */ array(13, 45, ),\r
812 /* 183 */ array(15, 54, ),\r
813 /* 184 */ array(15, 29, ),\r
814 /* 185 */ array(2, 16, ),\r
815 /* 186 */ array(26, ),\r
816 /* 187 */ array(13, ),\r
817 /* 188 */ array(14, ),\r
818 /* 189 */ array(24, ),\r
819 /* 190 */ array(47, ),\r
820 /* 191 */ array(15, ),\r
821 /* 192 */ array(26, ),\r
822 /* 193 */ array(55, ),\r
823 /* 194 */ array(14, ),\r
824 /* 195 */ array(55, ),\r
825 /* 196 */ array(15, ),\r
826 /* 197 */ array(14, ),\r
827 /* 198 */ array(57, ),\r
828 /* 199 */ array(23, ),\r
829 /* 200 */ array(15, ),\r
830 /* 201 */ array(15, ),\r
831 /* 202 */ array(15, ),\r
832 /* 203 */ array(15, ),\r
833 /* 204 */ array(15, ),\r
834 /* 205 */ array(20, ),\r
835 /* 206 */ array(47, ),\r
836 /* 207 */ array(46, ),\r
837 /* 208 */ array(29, ),\r
838 /* 209 */ array(51, ),\r
839 /* 210 */ array(15, ),\r
840 /* 211 */ array(2, ),\r
841 /* 212 */ array(13, ),\r
842 /* 213 */ array(16, ),\r
843 /* 214 */ array(48, ),\r
844 /* 215 */ array(15, ),\r
845 /* 216 */ array(13, ),\r
846 /* 217 */ array(45, ),\r
847 /* 218 */ array(14, ),\r
848 /* 219 */ array(13, ),\r
849 /* 220 */ array(14, ),\r
850 /* 221 */ array(16, ),\r
851 /* 222 */ array(20, ),\r
852 /* 223 */ array(47, ),\r
853 /* 224 */ array(),\r
854 /* 225 */ array(),\r
855 /* 226 */ array(),\r
856 /* 227 */ array(),\r
857 /* 228 */ array(),\r
858 /* 229 */ array(),\r
859 /* 230 */ array(),\r
860 /* 231 */ array(),\r
861 /* 232 */ array(),\r
862 /* 233 */ array(),\r
863 /* 234 */ array(),\r
864 /* 235 */ array(),\r
865 /* 236 */ array(),\r
866 /* 237 */ array(),\r
867 /* 238 */ array(),\r
868 /* 239 */ array(),\r
869 /* 240 */ array(),\r
870 /* 241 */ array(),\r
871 /* 242 */ array(),\r
872 /* 243 */ array(),\r
873 /* 244 */ array(),\r
874 /* 245 */ array(),\r
875 /* 246 */ array(),\r
876 /* 247 */ array(),\r
877 /* 248 */ array(),\r
878 /* 249 */ array(),\r
879 /* 250 */ array(),\r
880 /* 251 */ array(),\r
881 /* 252 */ array(),\r
882 /* 253 */ array(),\r
883 /* 254 */ array(),\r
884 /* 255 */ array(),\r
885 /* 256 */ array(),\r
886 /* 257 */ array(),\r
887 /* 258 */ array(),\r
888 /* 259 */ array(),\r
889 /* 260 */ array(),\r
890 /* 261 */ array(),\r
891 /* 262 */ array(),\r
892 /* 263 */ array(),\r
893 /* 264 */ array(),\r
894 /* 265 */ array(),\r
895 /* 266 */ array(),\r
896 /* 267 */ array(),\r
897 /* 268 */ array(),\r
898 /* 269 */ array(),\r
899 /* 270 */ array(),\r
900 /* 271 */ array(),\r
901 /* 272 */ array(),\r
902 /* 273 */ array(),\r
903 /* 274 */ array(),\r
904 /* 275 */ array(),\r
905 /* 276 */ array(),\r
906 /* 277 */ array(),\r
907 /* 278 */ array(),\r
908 /* 279 */ array(),\r
909 /* 280 */ array(),\r
910 /* 281 */ array(),\r
911 /* 282 */ array(),\r
912 /* 283 */ array(),\r
913 /* 284 */ array(),\r
914 /* 285 */ array(),\r
915 /* 286 */ array(),\r
916 /* 287 */ array(),\r
917 /* 288 */ array(),\r
918 /* 289 */ array(),\r
919 /* 290 */ array(),\r
920 /* 291 */ array(),\r
921 /* 292 */ array(),\r
922 /* 293 */ array(),\r
923 /* 294 */ array(),\r
924 /* 295 */ array(),\r
925 /* 296 */ array(),\r
926 /* 297 */ array(),\r
927 /* 298 */ array(),\r
928 /* 299 */ array(),\r
929 /* 300 */ array(),\r
930 /* 301 */ array(),\r
931 /* 302 */ array(),\r
932 /* 303 */ array(),\r
933 /* 304 */ array(),\r
934 /* 305 */ array(),\r
935 /* 306 */ array(),\r
936 /* 307 */ array(),\r
937 /* 308 */ array(),\r
938 /* 309 */ array(),\r
939 /* 310 */ array(),\r
940 /* 311 */ array(),\r
941 /* 312 */ array(),\r
942 /* 313 */ array(),\r
943 /* 314 */ array(),\r
944 /* 315 */ array(),\r
945 /* 316 */ array(),\r
946 /* 317 */ array(),\r
947 /* 318 */ array(),\r
948 /* 319 */ array(),\r
949 /* 320 */ array(),\r
950 /* 321 */ array(),\r
951 /* 322 */ array(),\r
952 /* 323 */ array(),\r
953 /* 324 */ array(),\r
954 /* 325 */ array(),\r
955 /* 326 */ array(),\r
956 /* 327 */ array(),\r
957 /* 328 */ array(),\r
958 /* 329 */ array(),\r
959 /* 330 */ array(),\r
960 /* 331 */ array(),\r
961 /* 332 */ array(),\r
962 /* 333 */ array(),\r
963 /* 334 */ array(),\r
964 /* 335 */ array(),\r
965 /* 336 */ array(),\r
966 /* 337 */ array(),\r
967 /* 338 */ array(),\r
968 /* 339 */ array(),\r
969 /* 340 */ array(),\r
970 /* 341 */ array(),\r
971 /* 342 */ array(),\r
972 /* 343 */ array(),\r
973 /* 344 */ array(),\r
974 /* 345 */ array(),\r
975 /* 346 */ array(),\r
976 /* 347 */ array(),\r
977 /* 348 */ array(),\r
978 /* 349 */ array(),\r
979 /* 350 */ array(),\r
980 /* 351 */ array(),\r
981 /* 352 */ array(),\r
982 /* 353 */ array(),\r
983 /* 354 */ array(),\r
984 /* 355 */ array(),\r
985 /* 356 */ array(),\r
986 /* 357 */ array(),\r
987 /* 358 */ array(),\r
988 /* 359 */ array(),\r
989 );\r
990 static public $yy_default = array(\r
991 /* 0 */ 546, 529, 546, 546, 546, 500, 546, 546, 546, 500,\r
992 /* 10 */ 500, 546, 500, 546, 546, 546, 546, 546, 546, 546,\r
993 /* 20 */ 546, 546, 546, 546, 546, 546, 546, 546, 546, 546,\r
994 /* 30 */ 546, 546, 546, 546, 546, 546, 546, 546, 546, 546,\r
995 /* 40 */ 546, 546, 546, 546, 546, 546, 546, 546, 546, 546,\r
996 /* 50 */ 418, 546, 418, 418, 546, 546, 546, 546, 546, 546,\r
997 /* 60 */ 546, 546, 499, 546, 546, 546, 546, 546, 427, 451,\r
998 /* 70 */ 440, 532, 448, 443, 447, 531, 438, 400, 435, 444,\r
999 /* 80 */ 530, 424, 439, 420, 360, 546, 459, 546, 508, 546,\r
1000 /* 90 */ 418, 418, 418, 418, 546, 546, 546, 473, 473, 452,\r
1001 /* 100 */ 428, 452, 466, 546, 466, 546, 546, 546, 546, 546,\r
1002 /* 110 */ 546, 546, 546, 546, 546, 546, 503, 546, 418, 418,\r
1003 /* 120 */ 418, 418, 504, 546, 546, 546, 474, 546, 546, 546,\r
1004 /* 130 */ 546, 546, 546, 473, 546, 492, 546, 546, 546, 491,\r
1005 /* 140 */ 546, 546, 546, 546, 493, 494, 546, 471, 546, 546,\r
1006 /* 150 */ 546, 546, 473, 374, 546, 434, 509, 506, 487, 545,\r
1007 /* 160 */ 545, 505, 511, 473, 511, 473, 473, 511, 511, 459,\r
1008 /* 170 */ 423, 459, 546, 459, 428, 459, 428, 449, 546, 457,\r
1009 /* 180 */ 546, 452, 428, 546, 546, 485, 546, 546, 546, 425,\r
1010 /* 190 */ 546, 546, 546, 546, 546, 546, 546, 546, 546, 452,\r
1011 /* 200 */ 546, 546, 546, 546, 546, 546, 546, 507, 546, 457,\r
1012 /* 210 */ 546, 485, 546, 546, 461, 546, 546, 428, 546, 546,\r
1013 /* 220 */ 546, 423, 546, 546, 477, 476, 361, 486, 495, 422,\r
1014 /* 230 */ 461, 415, 539, 542, 537, 538, 534, 535, 543, 536,\r
1015 /* 240 */ 497, 450, 482, 480, 481, 479, 533, 403, 544, 426,\r
1016 /* 250 */ 401, 498, 399, 411, 410, 409, 402, 478, 496, 512,\r
1017 /* 260 */ 513, 412, 385, 429, 464, 467, 472, 475, 458, 455,\r
1018 /* 270 */ 510, 456, 453, 454, 484, 485, 490, 483, 468, 469,\r
1019 /* 280 */ 465, 463, 430, 460, 431, 462, 417, 414, 368, 369,\r
1020 /* 290 */ 370, 371, 367, 366, 362, 363, 364, 365, 372, 373,\r
1021 /* 300 */ 381, 416, 408, 413, 380, 379, 375, 376, 377, 378,\r
1022 /* 310 */ 470, 432, 388, 387, 389, 390, 488, 386, 384, 526,\r
1023 /* 320 */ 528, 527, 541, 489, 391, 405, 406, 407, 397, 404,\r
1024 /* 330 */ 392, 393, 394, 396, 395, 433, 525, 442, 445, 446,\r
1025 /* 340 */ 501, 441, 437, 382, 540, 383, 436, 502, 514, 521,\r
1026 /* 350 */ 522, 523, 524, 520, 519, 515, 516, 517, 518, 398,\r
1027 );\r
1028 const YYNOCODE = 116;\r
1029 const YYSTACKDEPTH = 100;\r
1030 const YYNSTATE = 360;\r
1031 const YYNRULE = 186;\r
1032 const YYERRORSYMBOL = 73;\r
1033 const YYERRSYMDT = 'yy0';\r
1034 const YYFALLBACK = 0;\r
1035 static public $yyFallback = array(\r
1036 );\r
1037 static function Trace($TraceFILE, $zTracePrompt)\r
1038 {\r
1039 if (!$TraceFILE) {\r
1040 $zTracePrompt = 0;\r
1041 } elseif (!$zTracePrompt) {\r
1042 $TraceFILE = 0;\r
1043 }\r
1044 self::$yyTraceFILE = $TraceFILE;\r
1045 self::$yyTracePrompt = $zTracePrompt;\r
1046 }\r
1047 \r
1048 static function PrintTrace()\r
1049 {\r
1050 self::$yyTraceFILE = fopen('php://output', 'w');\r
1051 self::$yyTracePrompt = '<br>';\r
1052 }\r
1053 \r
1054 static public $yyTraceFILE;\r
1055 static public $yyTracePrompt;\r
1056 public $yyidx; /* Index of top element in stack */\r
1057 public $yyerrcnt; /* Shifts left before out of the error */\r
1058 public $yystack = array(); /* The parser's stack */\r
1059 \r
1060 public $yyTokenName = array( \r
1061 '$', 'VERT', 'COLON', 'COMMENT', \r
1062 'PHPSTARTTAG', 'PHPENDTAG', 'FAKEPHPSTARTTAG', 'XMLTAG', \r
1063 'OTHER', 'LITERALSTART', 'LITERALEND', 'LITERAL', \r
1064 'LDEL', 'RDEL', 'DOLLAR', 'ID', \r
1065 'EQUAL', 'FOREACH', 'PTR', 'IF', \r
1066 'SPACE', 'FOR', 'SEMICOLON', 'INCDEC', \r
1067 'TO', 'STEP', 'AS', 'APTR', \r
1068 'LDELSLASH', 'INTEGER', 'COMMA', 'MATH', \r
1069 'UNIMATH', 'ANDSYM', 'ISIN', 'ISDIVBY', \r
1070 'ISNOTDIVBY', 'ISEVEN', 'ISNOTEVEN', 'ISEVENBY', \r
1071 'ISNOTEVENBY', 'ISODD', 'ISNOTODD', 'ISODDBY', \r
1072 'ISNOTODDBY', 'INSTANCEOF', 'OPENP', 'CLOSEP', \r
1073 'QMARK', 'NOT', 'TYPECAST', 'DOT', \r
1074 'SINGLEQUOTESTRING', 'DOUBLECOLON', 'AT', 'HATCH', \r
1075 'OPENB', 'CLOSEB', 'EQUALS', 'NOTEQUALS', \r
1076 'GREATERTHAN', 'LESSTHAN', 'GREATEREQUAL', 'LESSEQUAL', \r
1077 'IDENTITY', 'NONEIDENTITY', 'MOD', 'LAND', \r
1078 'LOR', 'LXOR', 'QUOTE', 'BACKTICK', \r
1079 'DOLLARID', 'error', 'start', 'template', \r
1080 'template_element', 'smartytag', 'literal', 'literal_elements',\r
1081 'literal_element', 'value', 'attributes', 'variable', \r
1082 'expr', 'ternary', 'varindexed', 'modifier', \r
1083 'modparameters', 'statement', 'statements', 'optspace', \r
1084 'varvar', 'foraction', 'array', 'specialclose',\r
1085 'attribute', 'ifcond', 'lop', 'function', \r
1086 'doublequoted_with_quotes', 'static_class_access', 'object', 'arrayindex', \r
1087 'indexdef', 'varvarele', 'objectchain', 'objectelement',\r
1088 'method', 'params', 'modparameter', 'arrayelements',\r
1089 'arrayelement', 'doublequoted', 'doublequotedcontent',\r
1090 );\r
1091 \r
1092 static public $yyRuleName = array(\r
1093 /* 0 */ "start ::= template",\r
1094 /* 1 */ "template ::= template_element",\r
1095 /* 2 */ "template ::= template template_element",\r
1096 /* 3 */ "template_element ::= smartytag",\r
1097 /* 4 */ "template_element ::= COMMENT",\r
1098 /* 5 */ "template_element ::= literal",\r
1099 /* 6 */ "template_element ::= PHPSTARTTAG",\r
1100 /* 7 */ "template_element ::= PHPENDTAG",\r
1101 /* 8 */ "template_element ::= FAKEPHPSTARTTAG",\r
1102 /* 9 */ "template_element ::= XMLTAG",\r
1103 /* 10 */ "template_element ::= OTHER",\r
1104 /* 11 */ "literal ::= LITERALSTART LITERALEND",\r
1105 /* 12 */ "literal ::= LITERALSTART literal_elements LITERALEND",\r
1106 /* 13 */ "literal_elements ::= literal_elements literal_element",\r
1107 /* 14 */ "literal_elements ::=",\r
1108 /* 15 */ "literal_element ::= literal",\r
1109 /* 16 */ "literal_element ::= LITERAL",\r
1110 /* 17 */ "literal_element ::= PHPSTARTTAG",\r
1111 /* 18 */ "literal_element ::= FAKEPHPSTARTTAG",\r
1112 /* 19 */ "literal_element ::= PHPENDTAG",\r
1113 /* 20 */ "smartytag ::= LDEL value RDEL",\r
1114 /* 21 */ "smartytag ::= LDEL value attributes RDEL",\r
1115 /* 22 */ "smartytag ::= LDEL variable attributes RDEL",\r
1116 /* 23 */ "smartytag ::= LDEL expr attributes RDEL",\r
1117 /* 24 */ "smartytag ::= LDEL ternary attributes RDEL",\r
1118 /* 25 */ "smartytag ::= LDEL DOLLAR ID EQUAL value RDEL",\r
1119 /* 26 */ "smartytag ::= LDEL DOLLAR ID EQUAL expr RDEL",\r
1120 /* 27 */ "smartytag ::= LDEL DOLLAR ID EQUAL expr attributes RDEL",\r
1121 /* 28 */ "smartytag ::= LDEL DOLLAR ID EQUAL ternary attributes RDEL",\r
1122 /* 29 */ "smartytag ::= LDEL varindexed EQUAL expr attributes RDEL",\r
1123 /* 30 */ "smartytag ::= LDEL varindexed EQUAL ternary attributes RDEL",\r
1124 /* 31 */ "smartytag ::= LDEL ID attributes RDEL",\r
1125 /* 32 */ "smartytag ::= LDEL FOREACH attributes RDEL",\r
1126 /* 33 */ "smartytag ::= LDEL ID RDEL",\r
1127 /* 34 */ "smartytag ::= LDEL ID PTR ID attributes RDEL",\r
1128 /* 35 */ "smartytag ::= LDEL ID modifier modparameters attributes RDEL",\r
1129 /* 36 */ "smartytag ::= LDEL ID PTR ID modifier modparameters attributes RDEL",\r
1130 /* 37 */ "smartytag ::= LDEL IF SPACE expr RDEL",\r
1131 /* 38 */ "smartytag ::= LDEL IF SPACE statement RDEL",\r
1132 /* 39 */ "smartytag ::= LDEL FOR SPACE statements SEMICOLON optspace expr SEMICOLON optspace DOLLAR varvar foraction RDEL",\r
1133 /* 40 */ "foraction ::= EQUAL expr",\r
1134 /* 41 */ "foraction ::= INCDEC",\r
1135 /* 42 */ "smartytag ::= LDEL FOR SPACE statement TO expr attributes RDEL",\r
1136 /* 43 */ "smartytag ::= LDEL FOR SPACE statement TO expr STEP expr RDEL",\r
1137 /* 44 */ "smartytag ::= LDEL FOREACH SPACE value AS DOLLAR varvar RDEL",\r
1138 /* 45 */ "smartytag ::= LDEL FOREACH SPACE value AS DOLLAR varvar APTR DOLLAR varvar RDEL",\r
1139 /* 46 */ "smartytag ::= LDEL FOREACH SPACE array AS DOLLAR varvar RDEL",\r
1140 /* 47 */ "smartytag ::= LDEL FOREACH SPACE array AS DOLLAR varvar APTR DOLLAR varvar RDEL",\r
1141 /* 48 */ "smartytag ::= LDELSLASH ID RDEL",\r
1142 /* 49 */ "smartytag ::= LDELSLASH specialclose RDEL",\r
1143 /* 50 */ "specialclose ::= IF",\r
1144 /* 51 */ "specialclose ::= FOR",\r
1145 /* 52 */ "specialclose ::= FOREACH",\r
1146 /* 53 */ "smartytag ::= LDELSLASH ID attributes RDEL",\r
1147 /* 54 */ "smartytag ::= LDELSLASH ID modifier modparameters attributes RDEL",\r
1148 /* 55 */ "smartytag ::= LDELSLASH ID PTR ID RDEL",\r
1149 /* 56 */ "attributes ::= attributes attribute",\r
1150 /* 57 */ "attributes ::= attribute",\r
1151 /* 58 */ "attributes ::=",\r
1152 /* 59 */ "attribute ::= SPACE ID EQUAL ID",\r
1153 /* 60 */ "attribute ::= SPACE ID EQUAL expr",\r
1154 /* 61 */ "attribute ::= SPACE ID EQUAL value",\r
1155 /* 62 */ "attribute ::= SPACE ID EQUAL ternary",\r
1156 /* 63 */ "attribute ::= SPACE ID",\r
1157 /* 64 */ "attribute ::= SPACE INTEGER EQUAL expr",\r
1158 /* 65 */ "statements ::= statement",\r
1159 /* 66 */ "statements ::= statements COMMA statement",\r
1160 /* 67 */ "statement ::= DOLLAR varvar EQUAL expr",\r
1161 /* 68 */ "expr ::= value",\r
1162 /* 69 */ "expr ::= DOLLAR ID COLON ID",\r
1163 /* 70 */ "expr ::= expr MATH value",\r
1164 /* 71 */ "expr ::= expr UNIMATH value",\r
1165 /* 72 */ "expr ::= expr ANDSYM value",\r
1166 /* 73 */ "expr ::= array",\r
1167 /* 74 */ "expr ::= expr modifier modparameters",\r
1168 /* 75 */ "expr ::= expr ifcond expr",\r
1169 /* 76 */ "expr ::= expr ISIN array",\r
1170 /* 77 */ "expr ::= expr ISIN value",\r
1171 /* 78 */ "expr ::= expr lop expr",\r
1172 /* 79 */ "expr ::= expr ISDIVBY expr",\r
1173 /* 80 */ "expr ::= expr ISNOTDIVBY expr",\r
1174 /* 81 */ "expr ::= expr ISEVEN",\r
1175 /* 82 */ "expr ::= expr ISNOTEVEN",\r
1176 /* 83 */ "expr ::= expr ISEVENBY expr",\r
1177 /* 84 */ "expr ::= expr ISNOTEVENBY expr",\r
1178 /* 85 */ "expr ::= expr ISODD",\r
1179 /* 86 */ "expr ::= expr ISNOTODD",\r
1180 /* 87 */ "expr ::= expr ISODDBY expr",\r
1181 /* 88 */ "expr ::= expr ISNOTODDBY expr",\r
1182 /* 89 */ "expr ::= value INSTANCEOF ID",\r
1183 /* 90 */ "expr ::= value INSTANCEOF value",\r
1184 /* 91 */ "ternary ::= OPENP expr CLOSEP QMARK expr COLON expr",\r
1185 /* 92 */ "value ::= variable",\r
1186 /* 93 */ "value ::= UNIMATH value",\r
1187 /* 94 */ "value ::= NOT value",\r
1188 /* 95 */ "value ::= TYPECAST value",\r
1189 /* 96 */ "value ::= variable INCDEC",\r
1190 /* 97 */ "value ::= INTEGER",\r
1191 /* 98 */ "value ::= INTEGER DOT INTEGER",\r
1192 /* 99 */ "value ::= ID",\r
1193 /* 100 */ "value ::= function",\r
1194 /* 101 */ "value ::= OPENP expr CLOSEP",\r
1195 /* 102 */ "value ::= SINGLEQUOTESTRING",\r
1196 /* 103 */ "value ::= doublequoted_with_quotes",\r
1197 /* 104 */ "value ::= ID DOUBLECOLON static_class_access",\r
1198 /* 105 */ "value ::= smartytag",\r
1199 /* 106 */ "variable ::= varindexed",\r
1200 /* 107 */ "variable ::= DOLLAR varvar AT ID",\r
1201 /* 108 */ "variable ::= object",\r
1202 /* 109 */ "variable ::= HATCH ID HATCH",\r
1203 /* 110 */ "variable ::= HATCH variable HATCH",\r
1204 /* 111 */ "varindexed ::= DOLLAR varvar arrayindex",\r
1205 /* 112 */ "arrayindex ::= arrayindex indexdef",\r
1206 /* 113 */ "arrayindex ::=",\r
1207 /* 114 */ "indexdef ::= DOT DOLLAR varvar",\r
1208 /* 115 */ "indexdef ::= DOT DOLLAR varvar AT ID",\r
1209 /* 116 */ "indexdef ::= DOT ID",\r
1210 /* 117 */ "indexdef ::= DOT INTEGER",\r
1211 /* 118 */ "indexdef ::= DOT LDEL expr RDEL",\r
1212 /* 119 */ "indexdef ::= OPENB ID CLOSEB",\r
1213 /* 120 */ "indexdef ::= OPENB ID DOT ID CLOSEB",\r
1214 /* 121 */ "indexdef ::= OPENB expr CLOSEB",\r
1215 /* 122 */ "indexdef ::= OPENB CLOSEB",\r
1216 /* 123 */ "varvar ::= varvarele",\r
1217 /* 124 */ "varvar ::= varvar varvarele",\r
1218 /* 125 */ "varvarele ::= ID",\r
1219 /* 126 */ "varvarele ::= LDEL expr RDEL",\r
1220 /* 127 */ "object ::= varindexed objectchain",\r
1221 /* 128 */ "object ::= varindexed DOUBLECOLON ID",\r
1222 /* 129 */ "objectchain ::= objectelement",\r
1223 /* 130 */ "objectchain ::= objectchain objectelement",\r
1224 /* 131 */ "objectelement ::= PTR ID arrayindex",\r
1225 /* 132 */ "objectelement ::= PTR variable arrayindex",\r
1226 /* 133 */ "objectelement ::= PTR LDEL expr RDEL arrayindex",\r
1227 /* 134 */ "objectelement ::= PTR ID LDEL expr RDEL arrayindex",\r
1228 /* 135 */ "objectelement ::= PTR method",\r
1229 /* 136 */ "function ::= ID OPENP params CLOSEP",\r
1230 /* 137 */ "method ::= ID OPENP params CLOSEP",\r
1231 /* 138 */ "params ::= expr COMMA params",\r
1232 /* 139 */ "params ::= expr",\r
1233 /* 140 */ "params ::=",\r
1234 /* 141 */ "modifier ::= VERT AT ID",\r
1235 /* 142 */ "modifier ::= VERT ID",\r
1236 /* 143 */ "static_class_access ::= method",\r
1237 /* 144 */ "static_class_access ::= DOLLAR ID OPENP params CLOSEP",\r
1238 /* 145 */ "static_class_access ::= method objectchain",\r
1239 /* 146 */ "static_class_access ::= DOLLAR ID OPENP params CLOSEP objectchain",\r
1240 /* 147 */ "static_class_access ::= ID",\r
1241 /* 148 */ "static_class_access ::= DOLLAR ID arrayindex",\r
1242 /* 149 */ "static_class_access ::= DOLLAR ID arrayindex objectchain",\r
1243 /* 150 */ "modparameters ::= modparameters modparameter",\r
1244 /* 151 */ "modparameters ::=",\r
1245 /* 152 */ "modparameter ::= COLON value",\r
1246 /* 153 */ "modparameter ::= COLON array",\r
1247 /* 154 */ "ifcond ::= EQUALS",\r
1248 /* 155 */ "ifcond ::= NOTEQUALS",\r
1249 /* 156 */ "ifcond ::= GREATERTHAN",\r
1250 /* 157 */ "ifcond ::= LESSTHAN",\r
1251 /* 158 */ "ifcond ::= GREATEREQUAL",\r
1252 /* 159 */ "ifcond ::= LESSEQUAL",\r
1253 /* 160 */ "ifcond ::= IDENTITY",\r
1254 /* 161 */ "ifcond ::= NONEIDENTITY",\r
1255 /* 162 */ "ifcond ::= MOD",\r
1256 /* 163 */ "lop ::= LAND",\r
1257 /* 164 */ "lop ::= LOR",\r
1258 /* 165 */ "lop ::= LXOR",\r
1259 /* 166 */ "array ::= OPENB arrayelements CLOSEB",\r
1260 /* 167 */ "arrayelements ::= arrayelement",\r
1261 /* 168 */ "arrayelements ::= arrayelements COMMA arrayelement",\r
1262 /* 169 */ "arrayelements ::=",\r
1263 /* 170 */ "arrayelement ::= value APTR expr",\r
1264 /* 171 */ "arrayelement ::= ID APTR expr",\r
1265 /* 172 */ "arrayelement ::= expr",\r
1266 /* 173 */ "doublequoted_with_quotes ::= QUOTE QUOTE",\r
1267 /* 174 */ "doublequoted_with_quotes ::= QUOTE doublequoted QUOTE",\r
1268 /* 175 */ "doublequoted ::= doublequoted doublequotedcontent",\r
1269 /* 176 */ "doublequoted ::= doublequotedcontent",\r
1270 /* 177 */ "doublequotedcontent ::= BACKTICK variable BACKTICK",\r
1271 /* 178 */ "doublequotedcontent ::= BACKTICK expr BACKTICK",\r
1272 /* 179 */ "doublequotedcontent ::= DOLLARID",\r
1273 /* 180 */ "doublequotedcontent ::= LDEL variable RDEL",\r
1274 /* 181 */ "doublequotedcontent ::= LDEL expr RDEL",\r
1275 /* 182 */ "doublequotedcontent ::= smartytag",\r
1276 /* 183 */ "doublequotedcontent ::= OTHER",\r
1277 /* 184 */ "optspace ::= SPACE",\r
1278 /* 185 */ "optspace ::=",\r
1279 );\r
1280 \r
1281 function tokenName($tokenType)\r
1282 {\r
1283 if ($tokenType === 0) {\r
1284 return 'End of Input';\r
1285 }\r
1286 if ($tokenType > 0 && $tokenType < count($this->yyTokenName)) {\r
1287 return $this->yyTokenName[$tokenType];\r
1288 } else {\r
1289 return "Unknown";\r
1290 }\r
1291 }\r
1292 \r
1293 static function yy_destructor($yymajor, $yypminor)\r
1294 {\r
1295 switch ($yymajor) {\r
1296 default: break; /* If no destructor action specified: do nothing */\r
1297 }\r
1298 }\r
1299 \r
1300 function yy_pop_parser_stack()\r
1301 {\r
1302 if (!count($this->yystack)) {\r
1303 return;\r
1304 }\r
1305 $yytos = array_pop($this->yystack);\r
1306 if (self::$yyTraceFILE && $this->yyidx >= 0) {\r
1307 fwrite(self::$yyTraceFILE,\r
1308 self::$yyTracePrompt . 'Popping ' . $this->yyTokenName[$yytos->major] .\r
1309 "\n");\r
1310 }\r
1311 $yymajor = $yytos->major;\r
1312 self::yy_destructor($yymajor, $yytos->minor);\r
1313 $this->yyidx--;\r
1314 return $yymajor;\r
1315 }\r
1316 \r
1317 function __destruct()\r
1318 {\r
1319 while ($this->yyidx >= 0) {\r
1320 $this->yy_pop_parser_stack();\r
1321 }\r
1322 if (is_resource(self::$yyTraceFILE)) {\r
1323 fclose(self::$yyTraceFILE);\r
1324 }\r
1325 }\r
1326 \r
1327 function yy_get_expected_tokens($token)\r
1328 {\r
1329 $state = $this->yystack[$this->yyidx]->stateno;\r
1330 $expected = self::$yyExpectedTokens[$state];\r
1331 if (in_array($token, self::$yyExpectedTokens[$state], true)) {\r
1332 return $expected;\r
1333 }\r
1334 $stack = $this->yystack;\r
1335 $yyidx = $this->yyidx;\r
1336 do {\r
1337 $yyact = $this->yy_find_shift_action($token);\r
1338 if ($yyact >= self::YYNSTATE && $yyact < self::YYNSTATE + self::YYNRULE) {\r
1339 // reduce action\r
1340 $done = 0;\r
1341 do {\r
1342 if ($done++ == 100) {\r
1343 $this->yyidx = $yyidx;\r
1344 $this->yystack = $stack;\r
1345 // too much recursion prevents proper detection\r
1346 // so give up\r
1347 return array_unique($expected);\r
1348 }\r
1349 $yyruleno = $yyact - self::YYNSTATE;\r
1350 $this->yyidx -= self::$yyRuleInfo[$yyruleno]['rhs'];\r
1351 $nextstate = $this->yy_find_reduce_action(\r
1352 $this->yystack[$this->yyidx]->stateno,\r
1353 self::$yyRuleInfo[$yyruleno]['lhs']);\r
1354 if (isset(self::$yyExpectedTokens[$nextstate])) {\r
1355 $expected += self::$yyExpectedTokens[$nextstate];\r
1356 if (in_array($token,\r
1357 self::$yyExpectedTokens[$nextstate], true)) {\r
1358 $this->yyidx = $yyidx;\r
1359 $this->yystack = $stack;\r
1360 return array_unique($expected);\r
1361 }\r
1362 }\r
1363 if ($nextstate < self::YYNSTATE) {\r
1364 // we need to shift a non-terminal\r
1365 $this->yyidx++;\r
1366 $x = new TP_yyStackEntry;\r
1367 $x->stateno = $nextstate;\r
1368 $x->major = self::$yyRuleInfo[$yyruleno]['lhs'];\r
1369 $this->yystack[$this->yyidx] = $x;\r
1370 continue 2;\r
1371 } elseif ($nextstate == self::YYNSTATE + self::YYNRULE + 1) {\r
1372 $this->yyidx = $yyidx;\r
1373 $this->yystack = $stack;\r
1374 // the last token was just ignored, we can't accept\r
1375 // by ignoring input, this is in essence ignoring a\r
1376 // syntax error!\r
1377 return array_unique($expected);\r
1378 } elseif ($nextstate === self::YY_NO_ACTION) {\r
1379 $this->yyidx = $yyidx;\r
1380 $this->yystack = $stack;\r
1381 // input accepted, but not shifted (I guess)\r
1382 return $expected;\r
1383 } else {\r
1384 $yyact = $nextstate;\r
1385 }\r
1386 } while (true);\r
1387 }\r
1388 break;\r
1389 } while (true);\r
1390 return array_unique($expected);\r
1391 }\r
1392 \r
1393 function yy_is_expected_token($token)\r
1394 {\r
1395 if ($token === 0) {\r
1396 return true; // 0 is not part of this\r
1397 }\r
1398 $state = $this->yystack[$this->yyidx]->stateno;\r
1399 if (in_array($token, self::$yyExpectedTokens[$state], true)) {\r
1400 return true;\r
1401 }\r
1402 $stack = $this->yystack;\r
1403 $yyidx = $this->yyidx;\r
1404 do {\r
1405 $yyact = $this->yy_find_shift_action($token);\r
1406 if ($yyact >= self::YYNSTATE && $yyact < self::YYNSTATE + self::YYNRULE) {\r
1407 // reduce action\r
1408 $done = 0;\r
1409 do {\r
1410 if ($done++ == 100) {\r
1411 $this->yyidx = $yyidx;\r
1412 $this->yystack = $stack;\r
1413 // too much recursion prevents proper detection\r
1414 // so give up\r
1415 return true;\r
1416 }\r
1417 $yyruleno = $yyact - self::YYNSTATE;\r
1418 $this->yyidx -= self::$yyRuleInfo[$yyruleno]['rhs'];\r
1419 $nextstate = $this->yy_find_reduce_action(\r
1420 $this->yystack[$this->yyidx]->stateno,\r
1421 self::$yyRuleInfo[$yyruleno]['lhs']);\r
1422 if (isset(self::$yyExpectedTokens[$nextstate]) &&\r
1423 in_array($token, self::$yyExpectedTokens[$nextstate], true)) {\r
1424 $this->yyidx = $yyidx;\r
1425 $this->yystack = $stack;\r
1426 return true;\r
1427 }\r
1428 if ($nextstate < self::YYNSTATE) {\r
1429 // we need to shift a non-terminal\r
1430 $this->yyidx++;\r
1431 $x = new TP_yyStackEntry;\r
1432 $x->stateno = $nextstate;\r
1433 $x->major = self::$yyRuleInfo[$yyruleno]['lhs'];\r
1434 $this->yystack[$this->yyidx] = $x;\r
1435 continue 2;\r
1436 } elseif ($nextstate == self::YYNSTATE + self::YYNRULE + 1) {\r
1437 $this->yyidx = $yyidx;\r
1438 $this->yystack = $stack;\r
1439 if (!$token) {\r
1440 // end of input: this is valid\r
1441 return true;\r
1442 }\r
1443 // the last token was just ignored, we can't accept\r
1444 // by ignoring input, this is in essence ignoring a\r
1445 // syntax error!\r
1446 return false;\r
1447 } elseif ($nextstate === self::YY_NO_ACTION) {\r
1448 $this->yyidx = $yyidx;\r
1449 $this->yystack = $stack;\r
1450 // input accepted, but not shifted (I guess)\r
1451 return true;\r
1452 } else {\r
1453 $yyact = $nextstate;\r
1454 }\r
1455 } while (true);\r
1456 }\r
1457 break;\r
1458 } while (true);\r
1459 $this->yyidx = $yyidx;\r
1460 $this->yystack = $stack;\r
1461 return true;\r
1462 }\r
1463 \r
1464 function yy_find_shift_action($iLookAhead)\r
1465 {\r
1466 $stateno = $this->yystack[$this->yyidx]->stateno;\r
1467 \r
1468 /* if ($this->yyidx < 0) return self::YY_NO_ACTION; */\r
1469 if (!isset(self::$yy_shift_ofst[$stateno])) {\r
1470 // no shift actions\r
1471 return self::$yy_default[$stateno];\r
1472 }\r
1473 $i = self::$yy_shift_ofst[$stateno];\r
1474 if ($i === self::YY_SHIFT_USE_DFLT) {\r
1475 return self::$yy_default[$stateno];\r
1476 }\r
1477 if ($iLookAhead == self::YYNOCODE) {\r
1478 return self::YY_NO_ACTION;\r
1479 }\r
1480 $i += $iLookAhead;\r
1481 if ($i < 0 || $i >= self::YY_SZ_ACTTAB ||\r
1482 self::$yy_lookahead[$i] != $iLookAhead) {\r
1483 if (count(self::$yyFallback) && $iLookAhead < count(self::$yyFallback)\r
1484 && ($iFallback = self::$yyFallback[$iLookAhead]) != 0) {\r
1485 if (self::$yyTraceFILE) {\r
1486 fwrite(self::$yyTraceFILE, self::$yyTracePrompt . "FALLBACK " .\r
1487 $this->yyTokenName[$iLookAhead] . " => " .\r
1488 $this->yyTokenName[$iFallback] . "\n");\r
1489 }\r
1490 return $this->yy_find_shift_action($iFallback);\r
1491 }\r
1492 return self::$yy_default[$stateno];\r
1493 } else {\r
1494 return self::$yy_action[$i];\r
1495 }\r
1496 }\r
1497 \r
1498 function yy_find_reduce_action($stateno, $iLookAhead)\r
1499 {\r
1500 /* $stateno = $this->yystack[$this->yyidx]->stateno; */\r
1501 \r
1502 if (!isset(self::$yy_reduce_ofst[$stateno])) {\r
1503 return self::$yy_default[$stateno];\r
1504 }\r
1505 $i = self::$yy_reduce_ofst[$stateno];\r
1506 if ($i == self::YY_REDUCE_USE_DFLT) {\r
1507 return self::$yy_default[$stateno];\r
1508 }\r
1509 if ($iLookAhead == self::YYNOCODE) {\r
1510 return self::YY_NO_ACTION;\r
1511 }\r
1512 $i += $iLookAhead;\r
1513 if ($i < 0 || $i >= self::YY_SZ_ACTTAB ||\r
1514 self::$yy_lookahead[$i] != $iLookAhead) {\r
1515 return self::$yy_default[$stateno];\r
1516 } else {\r
1517 return self::$yy_action[$i];\r
1518 }\r
1519 }\r
1520 \r
1521 function yy_shift($yyNewState, $yyMajor, $yypMinor)\r
1522 {\r
1523 $this->yyidx++;\r
1524 if ($this->yyidx >= self::YYSTACKDEPTH) {\r
1525 $this->yyidx--;\r
1526 if (self::$yyTraceFILE) {\r
1527 fprintf(self::$yyTraceFILE, "%sStack Overflow!\n", self::$yyTracePrompt);\r
1528 }\r
1529 while ($this->yyidx >= 0) {\r
1530 $this->yy_pop_parser_stack();\r
1531 }\r
1532 return;\r
1533 }\r
1534 $yytos = new TP_yyStackEntry;\r
1535 $yytos->stateno = $yyNewState;\r
1536 $yytos->major = $yyMajor;\r
1537 $yytos->minor = $yypMinor;\r
1538 array_push($this->yystack, $yytos);\r
1539 if (self::$yyTraceFILE && $this->yyidx > 0) {\r
1540 fprintf(self::$yyTraceFILE, "%sShift %d\n", self::$yyTracePrompt,\r
1541 $yyNewState);\r
1542 fprintf(self::$yyTraceFILE, "%sStack:", self::$yyTracePrompt);\r
1543 for($i = 1; $i <= $this->yyidx; $i++) {\r
1544 fprintf(self::$yyTraceFILE, " %s",\r
1545 $this->yyTokenName[$this->yystack[$i]->major]);\r
1546 }\r
1547 fwrite(self::$yyTraceFILE,"\n");\r
1548 }\r
1549 }\r
1550 \r
1551 static public $yyRuleInfo = array(\r
1552 array( 'lhs' => 74, 'rhs' => 1 ),\r
1553 array( 'lhs' => 75, 'rhs' => 1 ),\r
1554 array( 'lhs' => 75, 'rhs' => 2 ),\r
1555 array( 'lhs' => 76, 'rhs' => 1 ),\r
1556 array( 'lhs' => 76, 'rhs' => 1 ),\r
1557 array( 'lhs' => 76, 'rhs' => 1 ),\r
1558 array( 'lhs' => 76, 'rhs' => 1 ),\r
1559 array( 'lhs' => 76, 'rhs' => 1 ),\r
1560 array( 'lhs' => 76, 'rhs' => 1 ),\r
1561 array( 'lhs' => 76, 'rhs' => 1 ),\r
1562 array( 'lhs' => 76, 'rhs' => 1 ),\r
1563 array( 'lhs' => 78, 'rhs' => 2 ),\r
1564 array( 'lhs' => 78, 'rhs' => 3 ),\r
1565 array( 'lhs' => 79, 'rhs' => 2 ),\r
1566 array( 'lhs' => 79, 'rhs' => 0 ),\r
1567 array( 'lhs' => 80, 'rhs' => 1 ),\r
1568 array( 'lhs' => 80, 'rhs' => 1 ),\r
1569 array( 'lhs' => 80, 'rhs' => 1 ),\r
1570 array( 'lhs' => 80, 'rhs' => 1 ),\r
1571 array( 'lhs' => 80, 'rhs' => 1 ),\r
1572 array( 'lhs' => 77, 'rhs' => 3 ),\r
1573 array( 'lhs' => 77, 'rhs' => 4 ),\r
1574 array( 'lhs' => 77, 'rhs' => 4 ),\r
1575 array( 'lhs' => 77, 'rhs' => 4 ),\r
1576 array( 'lhs' => 77, 'rhs' => 4 ),\r
1577 array( 'lhs' => 77, 'rhs' => 6 ),\r
1578 array( 'lhs' => 77, 'rhs' => 6 ),\r
1579 array( 'lhs' => 77, 'rhs' => 7 ),\r
1580 array( 'lhs' => 77, 'rhs' => 7 ),\r
1581 array( 'lhs' => 77, 'rhs' => 6 ),\r
1582 array( 'lhs' => 77, 'rhs' => 6 ),\r
1583 array( 'lhs' => 77, 'rhs' => 4 ),\r
1584 array( 'lhs' => 77, 'rhs' => 4 ),\r
1585 array( 'lhs' => 77, 'rhs' => 3 ),\r
1586 array( 'lhs' => 77, 'rhs' => 6 ),\r
1587 array( 'lhs' => 77, 'rhs' => 6 ),\r
1588 array( 'lhs' => 77, 'rhs' => 8 ),\r
1589 array( 'lhs' => 77, 'rhs' => 5 ),\r
1590 array( 'lhs' => 77, 'rhs' => 5 ),\r
1591 array( 'lhs' => 77, 'rhs' => 13 ),\r
1592 array( 'lhs' => 93, 'rhs' => 2 ),\r
1593 array( 'lhs' => 93, 'rhs' => 1 ),\r
1594 array( 'lhs' => 77, 'rhs' => 8 ),\r
1595 array( 'lhs' => 77, 'rhs' => 9 ),\r
1596 array( 'lhs' => 77, 'rhs' => 8 ),\r
1597 array( 'lhs' => 77, 'rhs' => 11 ),\r
1598 array( 'lhs' => 77, 'rhs' => 8 ),\r
1599 array( 'lhs' => 77, 'rhs' => 11 ),\r
1600 array( 'lhs' => 77, 'rhs' => 3 ),\r
1601 array( 'lhs' => 77, 'rhs' => 3 ),\r
1602 array( 'lhs' => 95, 'rhs' => 1 ),\r
1603 array( 'lhs' => 95, 'rhs' => 1 ),\r
1604 array( 'lhs' => 95, 'rhs' => 1 ),\r
1605 array( 'lhs' => 77, 'rhs' => 4 ),\r
1606 array( 'lhs' => 77, 'rhs' => 6 ),\r
1607 array( 'lhs' => 77, 'rhs' => 5 ),\r
1608 array( 'lhs' => 82, 'rhs' => 2 ),\r
1609 array( 'lhs' => 82, 'rhs' => 1 ),\r
1610 array( 'lhs' => 82, 'rhs' => 0 ),\r
1611 array( 'lhs' => 96, 'rhs' => 4 ),\r
1612 array( 'lhs' => 96, 'rhs' => 4 ),\r
1613 array( 'lhs' => 96, 'rhs' => 4 ),\r
1614 array( 'lhs' => 96, 'rhs' => 4 ),\r
1615 array( 'lhs' => 96, 'rhs' => 2 ),\r
1616 array( 'lhs' => 96, 'rhs' => 4 ),\r
1617 array( 'lhs' => 90, 'rhs' => 1 ),\r
1618 array( 'lhs' => 90, 'rhs' => 3 ),\r
1619 array( 'lhs' => 89, 'rhs' => 4 ),\r
1620 array( 'lhs' => 84, 'rhs' => 1 ),\r
1621 array( 'lhs' => 84, 'rhs' => 4 ),\r
1622 array( 'lhs' => 84, 'rhs' => 3 ),\r
1623 array( 'lhs' => 84, 'rhs' => 3 ),\r
1624 array( 'lhs' => 84, 'rhs' => 3 ),\r
1625 array( 'lhs' => 84, 'rhs' => 1 ),\r
1626 array( 'lhs' => 84, 'rhs' => 3 ),\r
1627 array( 'lhs' => 84, 'rhs' => 3 ),\r
1628 array( 'lhs' => 84, 'rhs' => 3 ),\r
1629 array( 'lhs' => 84, 'rhs' => 3 ),\r
1630 array( 'lhs' => 84, 'rhs' => 3 ),\r
1631 array( 'lhs' => 84, 'rhs' => 3 ),\r
1632 array( 'lhs' => 84, 'rhs' => 3 ),\r
1633 array( 'lhs' => 84, 'rhs' => 2 ),\r
1634 array( 'lhs' => 84, 'rhs' => 2 ),\r
1635 array( 'lhs' => 84, 'rhs' => 3 ),\r
1636 array( 'lhs' => 84, 'rhs' => 3 ),\r
1637 array( 'lhs' => 84, 'rhs' => 2 ),\r
1638 array( 'lhs' => 84, 'rhs' => 2 ),\r
1639 array( 'lhs' => 84, 'rhs' => 3 ),\r
1640 array( 'lhs' => 84, 'rhs' => 3 ),\r
1641 array( 'lhs' => 84, 'rhs' => 3 ),\r
1642 array( 'lhs' => 84, 'rhs' => 3 ),\r
1643 array( 'lhs' => 85, 'rhs' => 7 ),\r
1644 array( 'lhs' => 81, 'rhs' => 1 ),\r
1645 array( 'lhs' => 81, 'rhs' => 2 ),\r
1646 array( 'lhs' => 81, 'rhs' => 2 ),\r
1647 array( 'lhs' => 81, 'rhs' => 2 ),\r
1648 array( 'lhs' => 81, 'rhs' => 2 ),\r
1649 array( 'lhs' => 81, 'rhs' => 1 ),\r
1650 array( 'lhs' => 81, 'rhs' => 3 ),\r
1651 array( 'lhs' => 81, 'rhs' => 1 ),\r
1652 array( 'lhs' => 81, 'rhs' => 1 ),\r
1653 array( 'lhs' => 81, 'rhs' => 3 ),\r
1654 array( 'lhs' => 81, 'rhs' => 1 ),\r
1655 array( 'lhs' => 81, 'rhs' => 1 ),\r
1656 array( 'lhs' => 81, 'rhs' => 3 ),\r
1657 array( 'lhs' => 81, 'rhs' => 1 ),\r
1658 array( 'lhs' => 83, 'rhs' => 1 ),\r
1659 array( 'lhs' => 83, 'rhs' => 4 ),\r
1660 array( 'lhs' => 83, 'rhs' => 1 ),\r
1661 array( 'lhs' => 83, 'rhs' => 3 ),\r
1662 array( 'lhs' => 83, 'rhs' => 3 ),\r
1663 array( 'lhs' => 86, 'rhs' => 3 ),\r
1664 array( 'lhs' => 103, 'rhs' => 2 ),\r
1665 array( 'lhs' => 103, 'rhs' => 0 ),\r
1666 array( 'lhs' => 104, 'rhs' => 3 ),\r
1667 array( 'lhs' => 104, 'rhs' => 5 ),\r
1668 array( 'lhs' => 104, 'rhs' => 2 ),\r
1669 array( 'lhs' => 104, 'rhs' => 2 ),\r
1670 array( 'lhs' => 104, 'rhs' => 4 ),\r
1671 array( 'lhs' => 104, 'rhs' => 3 ),\r
1672 array( 'lhs' => 104, 'rhs' => 5 ),\r
1673 array( 'lhs' => 104, 'rhs' => 3 ),\r
1674 array( 'lhs' => 104, 'rhs' => 2 ),\r
1675 array( 'lhs' => 92, 'rhs' => 1 ),\r
1676 array( 'lhs' => 92, 'rhs' => 2 ),\r
1677 array( 'lhs' => 105, 'rhs' => 1 ),\r
1678 array( 'lhs' => 105, 'rhs' => 3 ),\r
1679 array( 'lhs' => 102, 'rhs' => 2 ),\r
1680 array( 'lhs' => 102, 'rhs' => 3 ),\r
1681 array( 'lhs' => 106, 'rhs' => 1 ),\r
1682 array( 'lhs' => 106, 'rhs' => 2 ),\r
1683 array( 'lhs' => 107, 'rhs' => 3 ),\r
1684 array( 'lhs' => 107, 'rhs' => 3 ),\r
1685 array( 'lhs' => 107, 'rhs' => 5 ),\r
1686 array( 'lhs' => 107, 'rhs' => 6 ),\r
1687 array( 'lhs' => 107, 'rhs' => 2 ),\r
1688 array( 'lhs' => 99, 'rhs' => 4 ),\r
1689 array( 'lhs' => 108, 'rhs' => 4 ),\r
1690 array( 'lhs' => 109, 'rhs' => 3 ),\r
1691 array( 'lhs' => 109, 'rhs' => 1 ),\r
1692 array( 'lhs' => 109, 'rhs' => 0 ),\r
1693 array( 'lhs' => 87, 'rhs' => 3 ),\r
1694 array( 'lhs' => 87, 'rhs' => 2 ),\r
1695 array( 'lhs' => 101, 'rhs' => 1 ),\r
1696 array( 'lhs' => 101, 'rhs' => 5 ),\r
1697 array( 'lhs' => 101, 'rhs' => 2 ),\r
1698 array( 'lhs' => 101, 'rhs' => 6 ),\r
1699 array( 'lhs' => 101, 'rhs' => 1 ),\r
1700 array( 'lhs' => 101, 'rhs' => 3 ),\r
1701 array( 'lhs' => 101, 'rhs' => 4 ),\r
1702 array( 'lhs' => 88, 'rhs' => 2 ),\r
1703 array( 'lhs' => 88, 'rhs' => 0 ),\r
1704 array( 'lhs' => 110, 'rhs' => 2 ),\r
1705 array( 'lhs' => 110, 'rhs' => 2 ),\r
1706 array( 'lhs' => 97, 'rhs' => 1 ),\r
1707 array( 'lhs' => 97, 'rhs' => 1 ),\r
1708 array( 'lhs' => 97, 'rhs' => 1 ),\r
1709 array( 'lhs' => 97, 'rhs' => 1 ),\r
1710 array( 'lhs' => 97, 'rhs' => 1 ),\r
1711 array( 'lhs' => 97, 'rhs' => 1 ),\r
1712 array( 'lhs' => 97, 'rhs' => 1 ),\r
1713 array( 'lhs' => 97, 'rhs' => 1 ),\r
1714 array( 'lhs' => 97, 'rhs' => 1 ),\r
1715 array( 'lhs' => 98, 'rhs' => 1 ),\r
1716 array( 'lhs' => 98, 'rhs' => 1 ),\r
1717 array( 'lhs' => 98, 'rhs' => 1 ),\r
1718 array( 'lhs' => 94, 'rhs' => 3 ),\r
1719 array( 'lhs' => 111, 'rhs' => 1 ),\r
1720 array( 'lhs' => 111, 'rhs' => 3 ),\r
1721 array( 'lhs' => 111, 'rhs' => 0 ),\r
1722 array( 'lhs' => 112, 'rhs' => 3 ),\r
1723 array( 'lhs' => 112, 'rhs' => 3 ),\r
1724 array( 'lhs' => 112, 'rhs' => 1 ),\r
1725 array( 'lhs' => 100, 'rhs' => 2 ),\r
1726 array( 'lhs' => 100, 'rhs' => 3 ),\r
1727 array( 'lhs' => 113, 'rhs' => 2 ),\r
1728 array( 'lhs' => 113, 'rhs' => 1 ),\r
1729 array( 'lhs' => 114, 'rhs' => 3 ),\r
1730 array( 'lhs' => 114, 'rhs' => 3 ),\r
1731 array( 'lhs' => 114, 'rhs' => 1 ),\r
1732 array( 'lhs' => 114, 'rhs' => 3 ),\r
1733 array( 'lhs' => 114, 'rhs' => 3 ),\r
1734 array( 'lhs' => 114, 'rhs' => 1 ),\r
1735 array( 'lhs' => 114, 'rhs' => 1 ),\r
1736 array( 'lhs' => 91, 'rhs' => 1 ),\r
1737 array( 'lhs' => 91, 'rhs' => 0 ),\r
1738 );\r
1739 \r
1740 static public $yyReduceMap = array(\r
1741 0 => 0,\r
1742 5 => 0,\r
1743 15 => 0,\r
1744 16 => 0,\r
1745 50 => 0,\r
1746 51 => 0,\r
1747 52 => 0,\r
1748 68 => 0,\r
1749 92 => 0,\r
1750 97 => 0,\r
1751 100 => 0,\r
1752 102 => 0,\r
1753 103 => 0,\r
1754 108 => 0,\r
1755 143 => 0,\r
1756 167 => 0,\r
1757 1 => 1,\r
1758 2 => 2,\r
1759 3 => 3,\r
1760 4 => 4,\r
1761 6 => 6,\r
1762 7 => 7,\r
1763 8 => 8,\r
1764 9 => 9,\r
1765 10 => 10,\r
1766 11 => 11,\r
1767 14 => 11,\r
1768 12 => 12,\r
1769 13 => 13,\r
1770 93 => 13,\r
1771 95 => 13,\r
1772 96 => 13,\r
1773 145 => 13,\r
1774 17 => 17,\r
1775 18 => 17,\r
1776 19 => 19,\r
1777 20 => 20,\r
1778 21 => 21,\r
1779 22 => 21,\r
1780 23 => 21,\r
1781 24 => 21,\r
1782 25 => 25,\r
1783 26 => 25,\r
1784 27 => 27,\r
1785 28 => 27,\r
1786 29 => 29,\r
1787 30 => 29,\r
1788 31 => 31,\r
1789 32 => 31,\r
1790 33 => 33,\r
1791 34 => 34,\r
1792 35 => 35,\r
1793 36 => 36,\r
1794 37 => 37,\r
1795 38 => 37,\r
1796 39 => 39,\r
1797 40 => 40,\r
1798 41 => 41,\r
1799 57 => 41,\r
1800 139 => 41,\r
1801 147 => 41,\r
1802 172 => 41,\r
1803 42 => 42,\r
1804 43 => 43,\r
1805 44 => 44,\r
1806 45 => 45,\r
1807 46 => 46,\r
1808 47 => 47,\r
1809 48 => 48,\r
1810 49 => 48,\r
1811 53 => 53,\r
1812 54 => 54,\r
1813 55 => 55,\r
1814 56 => 56,\r
1815 58 => 58,\r
1816 59 => 59,\r
1817 60 => 60,\r
1818 61 => 60,\r
1819 62 => 60,\r
1820 64 => 60,\r
1821 63 => 63,\r
1822 65 => 65,\r
1823 66 => 66,\r
1824 67 => 67,\r
1825 69 => 69,\r
1826 70 => 70,\r
1827 71 => 70,\r
1828 72 => 70,\r
1829 73 => 73,\r
1830 123 => 73,\r
1831 184 => 73,\r
1832 74 => 74,\r
1833 75 => 75,\r
1834 78 => 75,\r
1835 89 => 75,\r
1836 76 => 76,\r
1837 77 => 77,\r
1838 79 => 79,\r
1839 80 => 80,\r
1840 81 => 81,\r
1841 86 => 81,\r
1842 82 => 82,\r
1843 85 => 82,\r
1844 83 => 83,\r
1845 88 => 83,\r
1846 84 => 84,\r
1847 87 => 84,\r
1848 90 => 90,\r
1849 91 => 91,\r
1850 94 => 94,\r
1851 98 => 98,\r
1852 99 => 99,\r
1853 101 => 101,\r
1854 104 => 104,\r
1855 105 => 105,\r
1856 106 => 106,\r
1857 107 => 107,\r
1858 109 => 109,\r
1859 110 => 110,\r
1860 111 => 111,\r
1861 112 => 112,\r
1862 113 => 113,\r
1863 151 => 113,\r
1864 114 => 114,\r
1865 115 => 115,\r
1866 116 => 116,\r
1867 117 => 117,\r
1868 118 => 118,\r
1869 121 => 118,\r
1870 119 => 119,\r
1871 120 => 120,\r
1872 122 => 122,\r
1873 185 => 122,\r
1874 124 => 124,\r
1875 125 => 125,\r
1876 126 => 126,\r
1877 127 => 127,\r
1878 128 => 128,\r
1879 129 => 129,\r
1880 130 => 130,\r
1881 131 => 131,\r
1882 132 => 132,\r
1883 133 => 133,\r
1884 134 => 134,\r
1885 135 => 135,\r
1886 136 => 136,\r
1887 137 => 137,\r
1888 138 => 138,\r
1889 140 => 140,\r
1890 141 => 141,\r
1891 142 => 141,\r
1892 144 => 144,\r
1893 146 => 146,\r
1894 148 => 148,\r
1895 149 => 149,\r
1896 150 => 150,\r
1897 152 => 152,\r
1898 153 => 152,\r
1899 154 => 154,\r
1900 155 => 155,\r
1901 156 => 156,\r
1902 157 => 157,\r
1903 158 => 158,\r
1904 159 => 159,\r
1905 160 => 160,\r
1906 161 => 161,\r
1907 162 => 162,\r
1908 163 => 163,\r
1909 164 => 164,\r
1910 165 => 165,\r
1911 166 => 166,\r
1912 168 => 168,\r
1913 169 => 169,\r
1914 170 => 170,\r
1915 171 => 171,\r
1916 173 => 173,\r
1917 174 => 174,\r
1918 175 => 175,\r
1919 176 => 176,\r
1920 177 => 177,\r
1921 178 => 177,\r
1922 180 => 177,\r
1923 179 => 179,\r
1924 181 => 181,\r
1925 182 => 182,\r
1926 183 => 183,\r
1927 );\r
1928 #line 85 "smarty_internal_templateparser.y"\r
1929 function yy_r0(){ $this->_retvalue = $this->yystack[$this->yyidx + 0]->minor; }\r
1930 #line 1925 "smarty_internal_templateparser.php"\r
1931 #line 91 "smarty_internal_templateparser.y"\r
1932 function yy_r1(){if ($this->template->extract_code == false) {\r
1933 $this->_retvalue = $this->yystack[$this->yyidx + 0]->minor;\r
1934 } else {\r
1935 // store code in extract buffer\r
1936 $this->template->extracted_compiled_code .= $this->yystack[$this->yyidx + 0]->minor;\r
1937 } \r
1938 }\r
1939 #line 1934 "smarty_internal_templateparser.php"\r
1940 #line 99 "smarty_internal_templateparser.y"\r
1941 function yy_r2(){if ($this->template->extract_code == false) {\r
1942 $this->_retvalue = $this->yystack[$this->yyidx + -1]->minor.$this->yystack[$this->yyidx + 0]->minor;\r
1943 } else {\r
1944 // store code in extract buffer\r
1945 $this->template->extracted_compiled_code .= $this->yystack[$this->yyidx + 0]->minor;\r
1946 $this->_retvalue = $this->yystack[$this->yyidx + -1]->minor;\r
1947 } \r
1948 }\r
1949 #line 1944 "smarty_internal_templateparser.php"\r
1950 #line 112 "smarty_internal_templateparser.y"\r
1951 function yy_r3(){\r
1952 if ($this->compiler->has_code) {\r
1953 $tmp =''; foreach ($this->compiler->prefix_code as $code) {$tmp.=$code;} $this->compiler->prefix_code=array();\r
1954 $this->_retvalue = $this->compiler->processNocacheCode($tmp.$this->yystack[$this->yyidx + 0]->minor,true);\r
1955 } else { \r
1956 $this->_retvalue = $this->yystack[$this->yyidx + 0]->minor;\r
1957 } \r
1958 $this->compiler->has_variable_string = false;\r
1959 $this->block_nesting_level = count($this->compiler->_tag_stack);\r
1960 }\r
1961 #line 1956 "smarty_internal_templateparser.php"\r
1962 #line 124 "smarty_internal_templateparser.y"\r
1963 function yy_r4(){ $this->_retvalue = ''; }\r
1964 #line 1959 "smarty_internal_templateparser.php"\r
1965 #line 130 "smarty_internal_templateparser.y"\r
1966 function yy_r6(){\r
1967 if ($this->sec_obj->php_handling == SMARTY_PHP_PASSTHRU) {\r
1968 $this->_retvalue = self::escape_start_tag($this->yystack[$this->yyidx + 0]->minor);\r
1969 } elseif ($this->sec_obj->php_handling == SMARTY_PHP_QUOTE) {\r
1970 $this->_retvalue = $this->compiler->processNocacheCode(htmlspecialchars($this->yystack[$this->yyidx + 0]->minor, ENT_QUOTES),false);\r
1971 }elseif ($this->sec_obj->php_handling == SMARTY_PHP_ALLOW) {\r
1972 $this->_retvalue = $this->compiler->processNocacheCode('<?php', true);\r
1973 }elseif ($this->sec_obj->php_handling == SMARTY_PHP_REMOVE) {\r
1974 $this->_retvalue = '';\r
1975 }\r
1976 }\r
1977 #line 1972 "smarty_internal_templateparser.php"\r
1978 #line 142 "smarty_internal_templateparser.y"\r
1979 function yy_r7(){if ($this->is_xml) {\r
1980 $this->compiler->tag_nocache = true; \r
1981 $this->is_xml = true; \r
1982 $this->_retvalue = $this->compiler->processNocacheCode("<?php echo '?>';?>", $this->compiler, true);\r
1983 }elseif ($this->sec_obj->php_handling == SMARTY_PHP_PASSTHRU) {\r
1984 $this->_retvalue = '?<??>>';\r
1985 } elseif ($this->sec_obj->php_handling == SMARTY_PHP_QUOTE) {\r
1986 $this->_retvalue = $this->compiler->processNocacheCode(htmlspecialchars('?>', ENT_QUOTES), false);\r
1987 }elseif ($this->sec_obj->php_handling == SMARTY_PHP_ALLOW) {\r
1988 $this->_retvalue = $this->compiler->processNocacheCode('?>', true);\r
1989 }elseif ($this->sec_obj->php_handling == SMARTY_PHP_REMOVE) {\r
1990 $this->_retvalue = '';\r
1991 }\r
1992 }\r
1993 #line 1988 "smarty_internal_templateparser.php"\r
1994 #line 157 "smarty_internal_templateparser.y"\r
1995 function yy_r8(){if ($this->lex->strip) {\r
1996 $this->_retvalue = preg_replace('![\$this->yystack[$this->yyidx + 0]->minor ]*[\r\n]+[\$this->yystack[$this->yyidx + 0]->minor ]*!', '', self::escape_start_tag($this->yystack[$this->yyidx + 0]->minor)); \r
1997 } else {\r
1998 $this->_retvalue = self::escape_start_tag($this->yystack[$this->yyidx + 0]->minor); \r
1999 }\r
2000 }\r
2001 #line 1996 "smarty_internal_templateparser.php"\r
2002 #line 165 "smarty_internal_templateparser.y"\r
2003 function yy_r9(){ $this->compiler->tag_nocache = true; $this->is_xml = true; $this->_retvalue = $this->compiler->processNocacheCode("<?php echo '<?xml';?>", $this->compiler, true); }\r
2004 #line 1999 "smarty_internal_templateparser.php"\r
2005 #line 168 "smarty_internal_templateparser.y"\r
2006 function yy_r10(){if ($this->lex->strip) {\r
2007 $this->_retvalue = preg_replace('![\t ]*[\r\n]+[\t ]*!', '', $this->yystack[$this->yyidx + 0]->minor); \r
2008 } else {\r
2009 $this->_retvalue = $this->yystack[$this->yyidx + 0]->minor; \r
2010 }\r
2011 }\r
2012 #line 2007 "smarty_internal_templateparser.php"\r
2013 #line 176 "smarty_internal_templateparser.y"\r
2014 function yy_r11(){ $this->_retvalue = ''; }\r
2015 #line 2010 "smarty_internal_templateparser.php"\r
2016 #line 177 "smarty_internal_templateparser.y"\r
2017 function yy_r12(){ $this->_retvalue = $this->yystack[$this->yyidx + -1]->minor; }\r
2018 #line 2013 "smarty_internal_templateparser.php"\r
2019 #line 179 "smarty_internal_templateparser.y"\r
2020 function yy_r13(){ $this->_retvalue = $this->yystack[$this->yyidx + -1]->minor.$this->yystack[$this->yyidx + 0]->minor; }\r
2021 #line 2016 "smarty_internal_templateparser.php"\r
2022 #line 184 "smarty_internal_templateparser.y"\r
2023 function yy_r17(){ $this->_retvalue = self::escape_start_tag($this->yystack[$this->yyidx + 0]->minor); }\r
2024 #line 2019 "smarty_internal_templateparser.php"\r
2025 #line 186 "smarty_internal_templateparser.y"\r
2026 function yy_r19(){ $this->_retvalue = self::escape_end_tag($this->yystack[$this->yyidx + 0]->minor); }\r
2027 #line 2022 "smarty_internal_templateparser.php"\r
2028 #line 194 "smarty_internal_templateparser.y"\r
2029 function yy_r20(){ $this->_retvalue = $this->compiler->compileTag('private_print_expression',array('value'=>$this->yystack[$this->yyidx + -1]->minor)); }\r
2030 #line 2025 "smarty_internal_templateparser.php"\r
2031 #line 195 "smarty_internal_templateparser.y"\r
2032 function yy_r21(){ $this->_retvalue = $this->compiler->compileTag('private_print_expression',array_merge(array('value'=>$this->yystack[$this->yyidx + -2]->minor),$this->yystack[$this->yyidx + -1]->minor)); }\r
2033 #line 2028 "smarty_internal_templateparser.php"\r
2034 #line 206 "smarty_internal_templateparser.y"\r
2035 function yy_r25(){ $this->_retvalue = $this->compiler->compileTag('assign',array('value'=>$this->yystack[$this->yyidx + -1]->minor,'var'=>"'".$this->yystack[$this->yyidx + -3]->minor."'")); }\r
2036 #line 2031 "smarty_internal_templateparser.php"\r
2037 #line 208 "smarty_internal_templateparser.y"\r
2038 function yy_r27(){ $this->_retvalue = $this->compiler->compileTag('assign',array_merge(array('value'=>$this->yystack[$this->yyidx + -2]->minor,'var'=>"'".$this->yystack[$this->yyidx + -4]->minor."'"),$this->yystack[$this->yyidx + -1]->minor)); }\r
2039 #line 2034 "smarty_internal_templateparser.php"\r
2040 #line 210 "smarty_internal_templateparser.y"\r
2041 function yy_r29(){ $this->_retvalue = $this->compiler->compileTag('assign',array_merge(array('value'=>$this->yystack[$this->yyidx + -2]->minor),$this->yystack[$this->yyidx + -4]->minor,$this->yystack[$this->yyidx + -1]->minor)); }\r
2042 #line 2037 "smarty_internal_templateparser.php"\r
2043 #line 213 "smarty_internal_templateparser.y"\r
2044 function yy_r31(){ $this->_retvalue = $this->compiler->compileTag($this->yystack[$this->yyidx + -2]->minor,$this->yystack[$this->yyidx + -1]->minor); }\r
2045 #line 2040 "smarty_internal_templateparser.php"\r
2046 #line 215 "smarty_internal_templateparser.y"\r
2047 function yy_r33(){ $this->_retvalue = $this->compiler->compileTag($this->yystack[$this->yyidx + -1]->minor,array()); }\r
2048 #line 2043 "smarty_internal_templateparser.php"\r
2049 #line 217 "smarty_internal_templateparser.y"\r
2050 function yy_r34(){ $this->_retvalue = $this->compiler->compileTag($this->yystack[$this->yyidx + -4]->minor,array_merge(array('object_methode'=>$this->yystack[$this->yyidx + -2]->minor),$this->yystack[$this->yyidx + -1]->minor)); }\r
2051 #line 2046 "smarty_internal_templateparser.php"\r
2052 #line 219 "smarty_internal_templateparser.y"\r
2053 function yy_r35(){ $this->_retvalue = '<?php ob_start();?>'.$this->compiler->compileTag($this->yystack[$this->yyidx + -4]->minor,$this->yystack[$this->yyidx + -1]->minor).'<?php echo ';\r
2054 $this->_retvalue .= $this->compiler->compileTag('private_modifier',array('modifier'=>$this->yystack[$this->yyidx + -3]->minor,'params'=>'ob_get_clean()'.$this->yystack[$this->yyidx + -2]->minor)).'?>';\r
2055 }\r
2056 #line 2051 "smarty_internal_templateparser.php"\r
2057 #line 223 "smarty_internal_templateparser.y"\r
2058 function yy_r36(){ $this->_retvalue = '<?php ob_start();?>'.$this->compiler->compileTag($this->yystack[$this->yyidx + -6]->minor,array_merge(array('object_methode'=>$this->yystack[$this->yyidx + -4]->minor),$this->yystack[$this->yyidx + -1]->minor)).'<?php echo ';\r
2059 $this->_retvalue .= $this->compiler->compileTag('private_modifier',array('modifier'=>$this->yystack[$this->yyidx + -3]->minor,'params'=>'ob_get_clean()'.$this->yystack[$this->yyidx + -2]->minor)).'?>';\r
2060 }\r
2061 #line 2056 "smarty_internal_templateparser.php"\r
2062 #line 227 "smarty_internal_templateparser.y"\r
2063 function yy_r37(){ $this->_retvalue = $this->compiler->compileTag(($this->yystack[$this->yyidx + -3]->minor == 'else if')? 'elseif' : $this->yystack[$this->yyidx + -3]->minor,array('if condition'=>$this->yystack[$this->yyidx + -1]->minor)); }\r
2064 #line 2059 "smarty_internal_templateparser.php"\r
2065 #line 230 "smarty_internal_templateparser.y"\r
2066 function yy_r39(){\r
2067 $this->_retvalue = $this->compiler->compileTag($this->yystack[$this->yyidx + -11]->minor,array('start'=>$this->yystack[$this->yyidx + -9]->minor,'ifexp'=>$this->yystack[$this->yyidx + -6]->minor,'varloop'=>$this->yystack[$this->yyidx + -2]->minor,'loop'=>$this->yystack[$this->yyidx + -1]->minor)); }\r
2068 #line 2063 "smarty_internal_templateparser.php"\r
2069 #line 233 "smarty_internal_templateparser.y"\r
2070 function yy_r40(){ $this->_retvalue = '='.$this->yystack[$this->yyidx + 0]->minor; }\r
2071 #line 2066 "smarty_internal_templateparser.php"\r
2072 #line 234 "smarty_internal_templateparser.y"\r
2073 function yy_r41(){ $this->_retvalue = $this->yystack[$this->yyidx + 0]->minor; }\r
2074 #line 2069 "smarty_internal_templateparser.php"\r
2075 #line 235 "smarty_internal_templateparser.y"\r
2076 function yy_r42(){ $this->_retvalue = $this->compiler->compileTag($this->yystack[$this->yyidx + -6]->minor,array_merge(array('start'=>$this->yystack[$this->yyidx + -4]->minor,'to'=>$this->yystack[$this->yyidx + -2]->minor),$this->yystack[$this->yyidx + -1]->minor)); }\r
2077 #line 2072 "smarty_internal_templateparser.php"\r
2078 #line 236 "smarty_internal_templateparser.y"\r
2079 function yy_r43(){ $this->_retvalue = $this->compiler->compileTag($this->yystack[$this->yyidx + -7]->minor,array('start'=>$this->yystack[$this->yyidx + -5]->minor,'to'=>$this->yystack[$this->yyidx + -3]->minor,'step'=>$this->yystack[$this->yyidx + -1]->minor)); }\r
2080 #line 2075 "smarty_internal_templateparser.php"\r
2081 #line 238 "smarty_internal_templateparser.y"\r
2082 function yy_r44(){\r
2083 $this->_retvalue = $this->compiler->compileTag($this->yystack[$this->yyidx + -6]->minor,array('from'=>$this->yystack[$this->yyidx + -4]->minor,'item'=>$this->yystack[$this->yyidx + -1]->minor)); }\r
2084 #line 2079 "smarty_internal_templateparser.php"\r
2085 #line 240 "smarty_internal_templateparser.y"\r
2086 function yy_r45(){\r
2087 $this->_retvalue = $this->compiler->compileTag($this->yystack[$this->yyidx + -9]->minor,array('from'=>$this->yystack[$this->yyidx + -7]->minor,'item'=>$this->yystack[$this->yyidx + -1]->minor,'key'=>$this->yystack[$this->yyidx + -4]->minor)); }\r
2088 #line 2083 "smarty_internal_templateparser.php"\r
2089 #line 242 "smarty_internal_templateparser.y"\r
2090 function yy_r46(){ \r
2091 $this->_retvalue = $this->compiler->compileTag($this->yystack[$this->yyidx + -6]->minor,array('from'=>$this->yystack[$this->yyidx + -4]->minor,'item'=>$this->yystack[$this->yyidx + -1]->minor)); }\r
2092 #line 2087 "smarty_internal_templateparser.php"\r
2093 #line 244 "smarty_internal_templateparser.y"\r
2094 function yy_r47(){ \r
2095 $this->_retvalue = $this->compiler->compileTag($this->yystack[$this->yyidx + -9]->minor,array('from'=>$this->yystack[$this->yyidx + -7]->minor,'item'=>$this->yystack[$this->yyidx + -1]->minor,'key'=>$this->yystack[$this->yyidx + -4]->minor)); }\r
2096 #line 2091 "smarty_internal_templateparser.php"\r
2097 #line 248 "smarty_internal_templateparser.y"\r
2098 function yy_r48(){ $this->_retvalue = $this->compiler->compileTag($this->yystack[$this->yyidx + -1]->minor.'close',array()); }\r
2099 #line 2094 "smarty_internal_templateparser.php"\r
2100 #line 253 "smarty_internal_templateparser.y"\r
2101 function yy_r53(){ $this->_retvalue = $this->compiler->compileTag($this->yystack[$this->yyidx + -2]->minor.'close',$this->yystack[$this->yyidx + -1]->minor); }\r
2102 #line 2097 "smarty_internal_templateparser.php"\r
2103 #line 254 "smarty_internal_templateparser.y"\r
2104 function yy_r54(){ $this->_retvalue = '<?php ob_start();?>'.$this->compiler->compileTag($this->yystack[$this->yyidx + -4]->minor.'close',$this->yystack[$this->yyidx + -1]->minor).'<?php echo ';\r
2105 $this->_retvalue .= $this->compiler->compileTag('private_modifier',array('modifier'=>$this->yystack[$this->yyidx + -3]->minor,'params'=>'ob_get_clean()'.$this->yystack[$this->yyidx + -2]->minor)).'?>';\r
2106 }\r
2107 #line 2102 "smarty_internal_templateparser.php"\r
2108 #line 258 "smarty_internal_templateparser.y"\r
2109 function yy_r55(){ $this->_retvalue = $this->compiler->compileTag($this->yystack[$this->yyidx + -3]->minor.'close',array('object_methode'=>$this->yystack[$this->yyidx + -1]->minor)); }\r
2110 #line 2105 "smarty_internal_templateparser.php"\r
2111 #line 265 "smarty_internal_templateparser.y"\r
2112 function yy_r56(){ $this->_retvalue = array_merge($this->yystack[$this->yyidx + -1]->minor,$this->yystack[$this->yyidx + 0]->minor); }\r
2113 #line 2108 "smarty_internal_templateparser.php"\r
2114 #line 269 "smarty_internal_templateparser.y"\r
2115 function yy_r58(){ $this->_retvalue = array(); }\r
2116 #line 2111 "smarty_internal_templateparser.php"\r
2117 #line 272 "smarty_internal_templateparser.y"\r
2118 function yy_r59(){ if (preg_match('~^true$~i', $this->yystack[$this->yyidx + 0]->minor)) {\r
2119 $this->_retvalue = array($this->yystack[$this->yyidx + -2]->minor=>'true');\r
2120 } elseif (preg_match('~^false$~i', $this->yystack[$this->yyidx + 0]->minor)) {\r
2121 $this->_retvalue = array($this->yystack[$this->yyidx + -2]->minor=>'false');\r
2122 } elseif (preg_match('~^null$~i', $this->yystack[$this->yyidx + 0]->minor)) {\r
2123 $this->_retvalue = array($this->yystack[$this->yyidx + -2]->minor=>'null');\r
2124 } else\r
2125 $this->_retvalue = array($this->yystack[$this->yyidx + -2]->minor=>"'".$this->yystack[$this->yyidx + 0]->minor."'"); }\r
2126 #line 2121 "smarty_internal_templateparser.php"\r
2127 #line 280 "smarty_internal_templateparser.y"\r
2128 function yy_r60(){ $this->_retvalue = array($this->yystack[$this->yyidx + -2]->minor=>$this->yystack[$this->yyidx + 0]->minor); }\r
2129 #line 2124 "smarty_internal_templateparser.php"\r
2130 #line 283 "smarty_internal_templateparser.y"\r
2131 function yy_r63(){ $this->_retvalue = array($this->yystack[$this->yyidx + 0]->minor=>'true'); }\r
2132 #line 2127 "smarty_internal_templateparser.php"\r
2133 #line 290 "smarty_internal_templateparser.y"\r
2134 function yy_r65(){ $this->_retvalue = array($this->yystack[$this->yyidx + 0]->minor); }\r
2135 #line 2130 "smarty_internal_templateparser.php"\r
2136 #line 291 "smarty_internal_templateparser.y"\r
2137 function yy_r66(){ $this->yystack[$this->yyidx + -2]->minor[]=$this->yystack[$this->yyidx + 0]->minor; $this->_retvalue = $this->yystack[$this->yyidx + -2]->minor; }\r
2138 #line 2133 "smarty_internal_templateparser.php"\r
2139 #line 293 "smarty_internal_templateparser.y"\r
2140 function yy_r67(){ $this->_retvalue = array('var' => $this->yystack[$this->yyidx + -2]->minor, 'value'=>$this->yystack[$this->yyidx + 0]->minor); }\r
2141 #line 2136 "smarty_internal_templateparser.php"\r
2142 #line 302 "smarty_internal_templateparser.y"\r
2143 function yy_r69(){$this->_retvalue = '$_smarty_tpl->getStreamVariable(\''. $this->yystack[$this->yyidx + -2]->minor .'://'. $this->yystack[$this->yyidx + 0]->minor . '\')'; }\r
2144 #line 2139 "smarty_internal_templateparser.php"\r
2145 #line 304 "smarty_internal_templateparser.y"\r
2146 function yy_r70(){ $this->_retvalue = $this->yystack[$this->yyidx + -2]->minor . trim($this->yystack[$this->yyidx + -1]->minor) . $this->yystack[$this->yyidx + 0]->minor; }\r
2147 #line 2142 "smarty_internal_templateparser.php"\r
2148 #line 310 "smarty_internal_templateparser.y"\r
2149 function yy_r73(){$this->_retvalue = $this->yystack[$this->yyidx + 0]->minor; }\r
2150 #line 2145 "smarty_internal_templateparser.php"\r
2151 #line 313 "smarty_internal_templateparser.y"\r
2152 function yy_r74(){ $this->_retvalue = $this->compiler->compileTag('private_modifier',array('modifier'=>$this->yystack[$this->yyidx + -1]->minor,'params'=>$this->yystack[$this->yyidx + -2]->minor.$this->yystack[$this->yyidx + 0]->minor)); }\r
2153 #line 2148 "smarty_internal_templateparser.php"\r
2154 #line 317 "smarty_internal_templateparser.y"\r
2155 function yy_r75(){$this->_retvalue = $this->yystack[$this->yyidx + -2]->minor.$this->yystack[$this->yyidx + -1]->minor.$this->yystack[$this->yyidx + 0]->minor; }\r
2156 #line 2151 "smarty_internal_templateparser.php"\r
2157 #line 318 "smarty_internal_templateparser.y"\r
2158 function yy_r76(){$this->_retvalue = 'in_array('.$this->yystack[$this->yyidx + -2]->minor.','.$this->yystack[$this->yyidx + 0]->minor.')'; }\r
2159 #line 2154 "smarty_internal_templateparser.php"\r
2160 #line 319 "smarty_internal_templateparser.y"\r
2161 function yy_r77(){$this->_retvalue = 'in_array('.$this->yystack[$this->yyidx + -2]->minor.',(array)'.$this->yystack[$this->yyidx + 0]->minor.')'; }\r
2162 #line 2157 "smarty_internal_templateparser.php"\r
2163 #line 321 "smarty_internal_templateparser.y"\r
2164 function yy_r79(){$this->_retvalue = '!('.$this->yystack[$this->yyidx + -2]->minor.' % '.$this->yystack[$this->yyidx + 0]->minor.')'; }\r
2165 #line 2160 "smarty_internal_templateparser.php"\r
2166 #line 322 "smarty_internal_templateparser.y"\r
2167 function yy_r80(){$this->_retvalue = '('.$this->yystack[$this->yyidx + -2]->minor.' % '.$this->yystack[$this->yyidx + 0]->minor.')'; }\r
2168 #line 2163 "smarty_internal_templateparser.php"\r
2169 #line 323 "smarty_internal_templateparser.y"\r
2170 function yy_r81(){$this->_retvalue = '!(1 & '.$this->yystack[$this->yyidx + -1]->minor.')'; }\r
2171 #line 2166 "smarty_internal_templateparser.php"\r
2172 #line 324 "smarty_internal_templateparser.y"\r
2173 function yy_r82(){$this->_retvalue = '(1 & '.$this->yystack[$this->yyidx + -1]->minor.')'; }\r
2174 #line 2169 "smarty_internal_templateparser.php"\r
2175 #line 325 "smarty_internal_templateparser.y"\r
2176 function yy_r83(){$this->_retvalue = '!(1 & '.$this->yystack[$this->yyidx + -2]->minor.' / '.$this->yystack[$this->yyidx + 0]->minor.')'; }\r
2177 #line 2172 "smarty_internal_templateparser.php"\r
2178 #line 326 "smarty_internal_templateparser.y"\r
2179 function yy_r84(){$this->_retvalue = '(1 & '.$this->yystack[$this->yyidx + -2]->minor.' / '.$this->yystack[$this->yyidx + 0]->minor.')'; }\r
2180 #line 2175 "smarty_internal_templateparser.php"\r
2181 #line 332 "smarty_internal_templateparser.y"\r
2182 function yy_r90(){$this->prefix_number++; $this->compiler->prefix_code[] = '<?php $_tmp'.$this->prefix_number.'='.$this->yystack[$this->yyidx + 0]->minor.';?>'; $this->_retvalue = $this->yystack[$this->yyidx + -2]->minor.$this->yystack[$this->yyidx + -1]->minor.'$_tmp'.$this->prefix_number; }\r
2183 #line 2178 "smarty_internal_templateparser.php"\r
2184 #line 338 "smarty_internal_templateparser.y"\r
2185 function yy_r91(){ $this->_retvalue = $this->yystack[$this->yyidx + -5]->minor.' ? '.$this->yystack[$this->yyidx + -2]->minor.' : '.$this->yystack[$this->yyidx + 0]->minor; }\r
2186 #line 2181 "smarty_internal_templateparser.php"\r
2187 #line 345 "smarty_internal_templateparser.y"\r
2188 function yy_r94(){ $this->_retvalue = '!'.$this->yystack[$this->yyidx + 0]->minor; }\r
2189 #line 2184 "smarty_internal_templateparser.php"\r
2190 #line 350 "smarty_internal_templateparser.y"\r
2191 function yy_r98(){ $this->_retvalue = $this->yystack[$this->yyidx + -2]->minor.'.'.$this->yystack[$this->yyidx + 0]->minor; }\r
2192 #line 2187 "smarty_internal_templateparser.php"\r
2193 #line 352 "smarty_internal_templateparser.y"\r
2194 function yy_r99(){ if (preg_match('~^true$~i', $this->yystack[$this->yyidx + 0]->minor)) {\r
2195 $this->_retvalue = 'true';\r
2196 } elseif (preg_match('~^false$~i', $this->yystack[$this->yyidx + 0]->minor)) {\r
2197 $this->_retvalue = 'false';\r
2198 } elseif (preg_match('~^null$~i', $this->yystack[$this->yyidx + 0]->minor)) {\r
2199 $this->_retvalue = 'null';\r
2200 } else\r
2201 $this->_retvalue = "'".$this->yystack[$this->yyidx + 0]->minor."'"; }\r
2202 #line 2197 "smarty_internal_templateparser.php"\r
2203 #line 363 "smarty_internal_templateparser.y"\r
2204 function yy_r101(){ $this->_retvalue = "(". $this->yystack[$this->yyidx + -1]->minor .")"; }\r
2205 #line 2200 "smarty_internal_templateparser.php"\r
2206 #line 369 "smarty_internal_templateparser.y"\r
2207 function yy_r104(){if (!$this->template->security || $this->smarty->security_handler->isTrustedStaticClass($this->yystack[$this->yyidx + -2]->minor, $this->compiler)) {\r
2208 $this->_retvalue = $this->yystack[$this->yyidx + -2]->minor.'::'.$this->yystack[$this->yyidx + 0]->minor; \r
2209 } }\r
2210 #line 2205 "smarty_internal_templateparser.php"\r
2211 #line 373 "smarty_internal_templateparser.y"\r
2212 function yy_r105(){ $this->prefix_number++; $this->compiler->prefix_code[] = '<?php ob_start();?>'.$this->yystack[$this->yyidx + 0]->minor.'<?php $_tmp'.$this->prefix_number.'=ob_get_clean();?>'; $this->_retvalue = '$_tmp'.$this->prefix_number; }\r
2213 #line 2208 "smarty_internal_templateparser.php"\r
2214 #line 382 "smarty_internal_templateparser.y"\r
2215 function yy_r106(){if ($this->yystack[$this->yyidx + 0]->minor['var'] == '\'smarty\'') { $this->_retvalue = $this->compiler->compileTag('private_special_variable',$this->yystack[$this->yyidx + 0]->minor['smarty_internal_index']);\r
2216 } else {\r
2217 if (isset($this->compiler->local_var[$this->yystack[$this->yyidx + 0]->minor['var']])) {\r
2218 $this->_retvalue = '$_smarty_tpl->tpl_vars['. $this->yystack[$this->yyidx + 0]->minor['var'] .']->value'.$this->yystack[$this->yyidx + 0]->minor['smarty_internal_index'];\r
2219 } else {\r
2220 $this->_retvalue = '$_smarty_tpl->getVariable('. $this->yystack[$this->yyidx + 0]->minor['var'] .')->value'.$this->yystack[$this->yyidx + 0]->minor['smarty_internal_index'];\r
2221 }\r
2222 $this->compiler->tag_nocache=$this->compiler->tag_nocache|$this->template->getVariable(trim($this->yystack[$this->yyidx + 0]->minor['var'],"'"), null, true, false)->nocache;} }\r
2223 #line 2218 "smarty_internal_templateparser.php"\r
2224 #line 391 "smarty_internal_templateparser.y"\r
2225 function yy_r107(){if (isset($this->compiler->local_var[$this->yystack[$this->yyidx + -2]->minor])) {\r
2226 $this->_retvalue = '$_smarty_tpl->tpl_vars['. $this->yystack[$this->yyidx + -2]->minor .']->'.$this->yystack[$this->yyidx + 0]->minor;\r
2227 } else {\r
2228 $this->_retvalue = '$_smarty_tpl->getVariable('. $this->yystack[$this->yyidx + -2]->minor .')->'.$this->yystack[$this->yyidx + 0]->minor;\r
2229 }\r
2230 $this->compiler->tag_nocache=$this->compiler->tag_nocache|$this->template->getVariable(trim($this->yystack[$this->yyidx + -2]->minor,"'"), null, true, false)->nocache; }\r
2231 #line 2226 "smarty_internal_templateparser.php"\r
2232 #line 400 "smarty_internal_templateparser.y"\r
2233 function yy_r109(){$this->_retvalue = '$_smarty_tpl->getConfigVariable(\''. $this->yystack[$this->yyidx + -1]->minor .'\')'; }\r
2234 #line 2229 "smarty_internal_templateparser.php"\r
2235 #line 401 "smarty_internal_templateparser.y"\r
2236 function yy_r110(){$this->_retvalue = '$_smarty_tpl->getConfigVariable('. $this->yystack[$this->yyidx + -1]->minor .')'; }\r
2237 #line 2232 "smarty_internal_templateparser.php"\r
2238 #line 404 "smarty_internal_templateparser.y"\r
2239 function yy_r111(){$this->_retvalue = array('var'=>$this->yystack[$this->yyidx + -1]->minor, 'smarty_internal_index'=>$this->yystack[$this->yyidx + 0]->minor); }\r
2240 #line 2235 "smarty_internal_templateparser.php"\r
2241 #line 410 "smarty_internal_templateparser.y"\r
2242 function yy_r112(){$this->_retvalue = $this->yystack[$this->yyidx + -1]->minor.$this->yystack[$this->yyidx + 0]->minor; }\r
2243 #line 2238 "smarty_internal_templateparser.php"\r
2244 #line 412 "smarty_internal_templateparser.y"\r
2245 function yy_r113(){return; }\r
2246 #line 2241 "smarty_internal_templateparser.php"\r
2247 #line 416 "smarty_internal_templateparser.y"\r
2248 function yy_r114(){ $this->_retvalue = '[$_smarty_tpl->getVariable('. $this->yystack[$this->yyidx + 0]->minor .')->value]'; $this->compiler->tag_nocache=$this->compiler->tag_nocache|$this->template->getVariable('$this->yystack[$this->yyidx + 0]->minor', null, true, false)->nocache; }\r
2249 #line 2244 "smarty_internal_templateparser.php"\r
2250 #line 417 "smarty_internal_templateparser.y"\r
2251 function yy_r115(){ $this->_retvalue = '[$_smarty_tpl->getVariable('. $this->yystack[$this->yyidx + -2]->minor .')->'.$this->yystack[$this->yyidx + 0]->minor.']'; $this->compiler->tag_nocache=$this->compiler->tag_nocache|$this->template->getVariable(trim($this->yystack[$this->yyidx + -2]->minor,"'"), null, true, false)->nocache; }\r
2252 #line 2247 "smarty_internal_templateparser.php"\r
2253 #line 418 "smarty_internal_templateparser.y"\r
2254 function yy_r116(){ $this->_retvalue = "['". $this->yystack[$this->yyidx + 0]->minor ."']"; }\r
2255 #line 2250 "smarty_internal_templateparser.php"\r
2256 #line 419 "smarty_internal_templateparser.y"\r
2257 function yy_r117(){ $this->_retvalue = "[". $this->yystack[$this->yyidx + 0]->minor ."]"; }\r
2258 #line 2253 "smarty_internal_templateparser.php"\r
2259 #line 420 "smarty_internal_templateparser.y"\r
2260 function yy_r118(){ $this->_retvalue = "[". $this->yystack[$this->yyidx + -1]->minor ."]"; }\r
2261 #line 2256 "smarty_internal_templateparser.php"\r
2262 #line 422 "smarty_internal_templateparser.y"\r
2263 function yy_r119(){ $this->_retvalue = '['.$this->compiler->compileTag('private_special_variable','[\'section\'][\''.$this->yystack[$this->yyidx + -1]->minor.'\'][\'index\']').']'; }\r
2264 #line 2259 "smarty_internal_templateparser.php"\r
2265 #line 423 "smarty_internal_templateparser.y"\r
2266 function yy_r120(){ $this->_retvalue = '['.$this->compiler->compileTag('private_special_variable','[\'section\'][\''.$this->yystack[$this->yyidx + -3]->minor.'\'][\''.$this->yystack[$this->yyidx + -1]->minor.'\']').']'; }\r
2267 #line 2262 "smarty_internal_templateparser.php"\r
2268 #line 427 "smarty_internal_templateparser.y"\r
2269 function yy_r122(){$this->_retvalue = ''; }\r
2270 #line 2265 "smarty_internal_templateparser.php"\r
2271 #line 435 "smarty_internal_templateparser.y"\r
2272 function yy_r124(){$this->_retvalue = $this->yystack[$this->yyidx + -1]->minor.'.'.$this->yystack[$this->yyidx + 0]->minor; }\r
2273 #line 2268 "smarty_internal_templateparser.php"\r
2274 #line 437 "smarty_internal_templateparser.y"\r
2275 function yy_r125(){$this->_retvalue = '\''.$this->yystack[$this->yyidx + 0]->minor.'\''; }\r
2276 #line 2271 "smarty_internal_templateparser.php"\r
2277 #line 439 "smarty_internal_templateparser.y"\r
2278 function yy_r126(){$this->_retvalue = '('.$this->yystack[$this->yyidx + -1]->minor.')'; }\r
2279 #line 2274 "smarty_internal_templateparser.php"\r
2280 #line 444 "smarty_internal_templateparser.y"\r
2281 function yy_r127(){ if ($this->yystack[$this->yyidx + -1]->minor['var'] == '\'smarty\'') { $this->_retvalue = $this->compiler->compileTag('private_special_variable',$this->yystack[$this->yyidx + -1]->minor['smarty_internal_index']).$this->yystack[$this->yyidx + 0]->minor;} else {\r
2282 $this->_retvalue = '$_smarty_tpl->getVariable('. $this->yystack[$this->yyidx + -1]->minor['var'] .')->value'.$this->yystack[$this->yyidx + -1]->minor['smarty_internal_index'].$this->yystack[$this->yyidx + 0]->minor; $this->compiler->tag_nocache=$this->compiler->tag_nocache|$this->template->getVariable(trim($this->yystack[$this->yyidx + -1]->minor['var'],"'"), null, true, false)->nocache;} }\r
2283 #line 2278 "smarty_internal_templateparser.php"\r
2284 #line 446 "smarty_internal_templateparser.y"\r
2285 function yy_r128(){ if ($this->yystack[$this->yyidx + -2]->minor['var'] == '\'smarty\'') { $this->_retvalue = $this->compiler->compileTag('private_special_variable',$this->yystack[$this->yyidx + -2]->minor['smarty_internal_index']).'::'.$this->yystack[$this->yyidx + 0]->minor;} else {\r
2286 $this->_retvalue = '$_smarty_tpl->getVariable('. $this->yystack[$this->yyidx + -2]->minor['var'] .')->value'.$this->yystack[$this->yyidx + -2]->minor['smarty_internal_index'].'::'.$this->yystack[$this->yyidx + 0]->minor; $this->compiler->tag_nocache=$this->compiler->tag_nocache|$this->template->getVariable(trim($this->yystack[$this->yyidx + -2]->minor['var'],"'"), null, true, false)->nocache;} }\r
2287 #line 2282 "smarty_internal_templateparser.php"\r
2288 #line 449 "smarty_internal_templateparser.y"\r
2289 function yy_r129(){$this->_retvalue = $this->yystack[$this->yyidx + 0]->minor; }\r
2290 #line 2285 "smarty_internal_templateparser.php"\r
2291 #line 451 "smarty_internal_templateparser.y"\r
2292 function yy_r130(){$this->_retvalue = $this->yystack[$this->yyidx + -1]->minor.$this->yystack[$this->yyidx + 0]->minor; }\r
2293 #line 2288 "smarty_internal_templateparser.php"\r
2294 #line 453 "smarty_internal_templateparser.y"\r
2295 function yy_r131(){ $this->_retvalue = '->'.$this->yystack[$this->yyidx + -1]->minor.$this->yystack[$this->yyidx + 0]->minor; }\r
2296 #line 2291 "smarty_internal_templateparser.php"\r
2297 #line 454 "smarty_internal_templateparser.y"\r
2298 function yy_r132(){ $this->_retvalue = '->{'.$this->yystack[$this->yyidx + -1]->minor.$this->yystack[$this->yyidx + 0]->minor.'}'; }\r
2299 #line 2294 "smarty_internal_templateparser.php"\r
2300 #line 455 "smarty_internal_templateparser.y"\r
2301 function yy_r133(){ $this->_retvalue = '->{'.$this->yystack[$this->yyidx + -2]->minor.$this->yystack[$this->yyidx + 0]->minor.'}'; }\r
2302 #line 2297 "smarty_internal_templateparser.php"\r
2303 #line 456 "smarty_internal_templateparser.y"\r
2304 function yy_r134(){ $this->_retvalue = '->{\''.$this->yystack[$this->yyidx + -4]->minor.'\'.'.$this->yystack[$this->yyidx + -2]->minor.$this->yystack[$this->yyidx + 0]->minor.'}'; }\r
2305 #line 2300 "smarty_internal_templateparser.php"\r
2306 #line 458 "smarty_internal_templateparser.y"\r
2307 function yy_r135(){ $this->_retvalue = '->'.$this->yystack[$this->yyidx + 0]->minor; }\r
2308 #line 2303 "smarty_internal_templateparser.php"\r
2309 #line 464 "smarty_internal_templateparser.y"\r
2310 function yy_r136(){if (!$this->template->security || $this->smarty->security_handler->isTrustedPhpFunction($this->yystack[$this->yyidx + -3]->minor, $this->compiler)) {\r
2311 if ($this->yystack[$this->yyidx + -3]->minor == 'isset' || $this->yystack[$this->yyidx + -3]->minor == 'empty' || $this->yystack[$this->yyidx + -3]->minor == 'array' || is_callable($this->yystack[$this->yyidx + -3]->minor)) {\r
2312 $this->_retvalue = $this->yystack[$this->yyidx + -3]->minor . "(". $this->yystack[$this->yyidx + -1]->minor .")";\r
2313 } else {\r
2314 $this->compiler->trigger_template_error ("unknown function \"" . $this->yystack[$this->yyidx + -3]->minor . "\"");\r
2315 }\r
2316 } }\r
2317 #line 2312 "smarty_internal_templateparser.php"\r
2318 #line 475 "smarty_internal_templateparser.y"\r
2319 function yy_r137(){ $this->_retvalue = $this->yystack[$this->yyidx + -3]->minor . "(". $this->yystack[$this->yyidx + -1]->minor .")"; }\r
2320 #line 2315 "smarty_internal_templateparser.php"\r
2321 #line 479 "smarty_internal_templateparser.y"\r
2322 function yy_r138(){ $this->_retvalue = $this->yystack[$this->yyidx + -2]->minor.",".$this->yystack[$this->yyidx + 0]->minor; }\r
2323 #line 2318 "smarty_internal_templateparser.php"\r
2324 #line 483 "smarty_internal_templateparser.y"\r
2325 function yy_r140(){ return; }\r
2326 #line 2321 "smarty_internal_templateparser.php"\r
2327 #line 488 "smarty_internal_templateparser.y"\r
2328 function yy_r141(){ $this->_retvalue = $this->yystack[$this->yyidx + 0]->minor; }\r
2329 #line 2324 "smarty_internal_templateparser.php"\r
2330 #line 493 "smarty_internal_templateparser.y"\r
2331 function yy_r144(){ $this->prefix_number++; $this->compiler->prefix_code[] = '<?php $_tmp'.$this->prefix_number.'=$_smarty_tpl->getVariable(\''. $this->yystack[$this->yyidx + -3]->minor .'\')->value;?>'; $this->_retvalue = '$_tmp'.$this->prefix_number.'('. $this->yystack[$this->yyidx + -1]->minor .')'; }\r
2332 #line 2327 "smarty_internal_templateparser.php"\r
2333 #line 496 "smarty_internal_templateparser.y"\r
2334 function yy_r146(){ $this->prefix_number++; $this->compiler->prefix_code[] = '<?php $_tmp'.$this->prefix_number.'=$_smarty_tpl->getVariable(\''. $this->yystack[$this->yyidx + -4]->minor .'\')->value;?>'; $this->_retvalue = '$_tmp'.$this->prefix_number.'('. $this->yystack[$this->yyidx + -2]->minor .')'.$this->yystack[$this->yyidx + 0]->minor; }\r
2335 #line 2330 "smarty_internal_templateparser.php"\r
2336 #line 500 "smarty_internal_templateparser.y"\r
2337 function yy_r148(){ $this->_retvalue = '$'.$this->yystack[$this->yyidx + -1]->minor.$this->yystack[$this->yyidx + 0]->minor; }\r
2338 #line 2333 "smarty_internal_templateparser.php"\r
2339 #line 502 "smarty_internal_templateparser.y"\r
2340 function yy_r149(){ $this->_retvalue = '$'.$this->yystack[$this->yyidx + -2]->minor.$this->yystack[$this->yyidx + -1]->minor.$this->yystack[$this->yyidx + 0]->minor; }\r
2341 #line 2336 "smarty_internal_templateparser.php"\r
2342 #line 513 "smarty_internal_templateparser.y"\r
2343 function yy_r150(){ $this->_retvalue = $this->yystack[$this->yyidx + -1]->minor.$this->yystack[$this->yyidx + 0]->minor; }\r
2344 #line 2339 "smarty_internal_templateparser.php"\r
2345 #line 517 "smarty_internal_templateparser.y"\r
2346 function yy_r152(){$this->_retvalue = ','.$this->yystack[$this->yyidx + 0]->minor; }\r
2347 #line 2342 "smarty_internal_templateparser.php"\r
2348 #line 521 "smarty_internal_templateparser.y"\r
2349 function yy_r154(){$this->_retvalue = '=='; }\r
2350 #line 2345 "smarty_internal_templateparser.php"\r
2351 #line 522 "smarty_internal_templateparser.y"\r
2352 function yy_r155(){$this->_retvalue = '!='; }\r
2353 #line 2348 "smarty_internal_templateparser.php"\r
2354 #line 523 "smarty_internal_templateparser.y"\r
2355 function yy_r156(){$this->_retvalue = '>'; }\r
2356 #line 2351 "smarty_internal_templateparser.php"\r
2357 #line 524 "smarty_internal_templateparser.y"\r
2358 function yy_r157(){$this->_retvalue = '<'; }\r
2359 #line 2354 "smarty_internal_templateparser.php"\r
2360 #line 525 "smarty_internal_templateparser.y"\r
2361 function yy_r158(){$this->_retvalue = '>='; }\r
2362 #line 2357 "smarty_internal_templateparser.php"\r
2363 #line 526 "smarty_internal_templateparser.y"\r
2364 function yy_r159(){$this->_retvalue = '<='; }\r
2365 #line 2360 "smarty_internal_templateparser.php"\r
2366 #line 527 "smarty_internal_templateparser.y"\r
2367 function yy_r160(){$this->_retvalue = '==='; }\r
2368 #line 2363 "smarty_internal_templateparser.php"\r
2369 #line 528 "smarty_internal_templateparser.y"\r
2370 function yy_r161(){$this->_retvalue = '!=='; }\r
2371 #line 2366 "smarty_internal_templateparser.php"\r
2372 #line 529 "smarty_internal_templateparser.y"\r
2373 function yy_r162(){$this->_retvalue = '%'; }\r
2374 #line 2369 "smarty_internal_templateparser.php"\r
2375 #line 531 "smarty_internal_templateparser.y"\r
2376 function yy_r163(){$this->_retvalue = '&&'; }\r
2377 #line 2372 "smarty_internal_templateparser.php"\r
2378 #line 532 "smarty_internal_templateparser.y"\r
2379 function yy_r164(){$this->_retvalue = '||'; }\r
2380 #line 2375 "smarty_internal_templateparser.php"\r
2381 #line 533 "smarty_internal_templateparser.y"\r
2382 function yy_r165(){$this->_retvalue = ' XOR '; }\r
2383 #line 2378 "smarty_internal_templateparser.php"\r
2384 #line 538 "smarty_internal_templateparser.y"\r
2385 function yy_r166(){ $this->_retvalue = 'array('.$this->yystack[$this->yyidx + -1]->minor.')'; }\r
2386 #line 2381 "smarty_internal_templateparser.php"\r
2387 #line 540 "smarty_internal_templateparser.y"\r
2388 function yy_r168(){ $this->_retvalue = $this->yystack[$this->yyidx + -2]->minor.','.$this->yystack[$this->yyidx + 0]->minor; }\r
2389 #line 2384 "smarty_internal_templateparser.php"\r
2390 #line 541 "smarty_internal_templateparser.y"\r
2391 function yy_r169(){ return; }\r
2392 #line 2387 "smarty_internal_templateparser.php"\r
2393 #line 542 "smarty_internal_templateparser.y"\r
2394 function yy_r170(){ $this->_retvalue = $this->yystack[$this->yyidx + -2]->minor.'=>'.$this->yystack[$this->yyidx + 0]->minor; }\r
2395 #line 2390 "smarty_internal_templateparser.php"\r
2396 #line 543 "smarty_internal_templateparser.y"\r
2397 function yy_r171(){ $this->_retvalue = '\''.$this->yystack[$this->yyidx + -2]->minor.'\'=>'.$this->yystack[$this->yyidx + 0]->minor; }\r
2398 #line 2393 "smarty_internal_templateparser.php"\r
2399 #line 550 "smarty_internal_templateparser.y"\r
2400 function yy_r173(){ $this->_retvalue = "''"; }\r
2401 #line 2396 "smarty_internal_templateparser.php"\r
2402 #line 551 "smarty_internal_templateparser.y"\r
2403 function yy_r174(){ $this->_retvalue = $this->yystack[$this->yyidx + -1]->minor->to_smarty_php(); }\r
2404 #line 2399 "smarty_internal_templateparser.php"\r
2405 #line 553 "smarty_internal_templateparser.y"\r
2406 function yy_r175(){ $this->yystack[$this->yyidx + -1]->minor->append_subtree($this->yystack[$this->yyidx + 0]->minor); $this->_retvalue = $this->yystack[$this->yyidx + -1]->minor; }\r
2407 #line 2402 "smarty_internal_templateparser.php"\r
2408 #line 554 "smarty_internal_templateparser.y"\r
2409 function yy_r176(){ $this->_retvalue = new _smarty_doublequoted($this, $this->yystack[$this->yyidx + 0]->minor); }\r
2410 #line 2405 "smarty_internal_templateparser.php"\r
2411 #line 556 "smarty_internal_templateparser.y"\r
2412 function yy_r177(){ $this->_retvalue = new _smarty_code($this, $this->yystack[$this->yyidx + -1]->minor); }\r
2413 #line 2408 "smarty_internal_templateparser.php"\r
2414 #line 558 "smarty_internal_templateparser.y"\r
2415 function yy_r179(){if (isset($this->compiler->local_var["'".substr($this->yystack[$this->yyidx + 0]->minor,1)."'"])) {\r
2416 $this->_retvalue = new _smarty_code($this, '$_smarty_tpl->tpl_vars[\''. substr($this->yystack[$this->yyidx + 0]->minor,1) .'\']->value');\r
2417 } else {\r
2418 $this->_retvalue = new _smarty_code($this, '$_smarty_tpl->getVariable(\''. substr($this->yystack[$this->yyidx + 0]->minor,1) .'\')->value');\r
2419 }\r
2420 $this->compiler->tag_nocache = $this->compiler->tag_nocache | $this->template->getVariable(trim($this->yystack[$this->yyidx + 0]->minor,"'"), null, true, false)->nocache;\r
2421 }\r
2422 #line 2417 "smarty_internal_templateparser.php"\r
2423 #line 566 "smarty_internal_templateparser.y"\r
2424 function yy_r181(){ $this->_retvalue = new _smarty_code($this, '('.$this->yystack[$this->yyidx + -1]->minor.')'); }\r
2425 #line 2420 "smarty_internal_templateparser.php"\r
2426 #line 567 "smarty_internal_templateparser.y"\r
2427 function yy_r182(){\r
2428 $this->_retvalue = new _smarty_tag($this, $this->yystack[$this->yyidx + 0]->minor);\r
2429 }\r
2430 #line 2425 "smarty_internal_templateparser.php"\r
2431 #line 570 "smarty_internal_templateparser.y"\r
2432 function yy_r183(){ $this->_retvalue = new _smarty_dq_content($this, $this->yystack[$this->yyidx + 0]->minor); }\r
2433 #line 2428 "smarty_internal_templateparser.php"\r
2434 \r
2435 private $_retvalue;\r
2436 \r
2437 function yy_reduce($yyruleno)\r
2438 {\r
2439 $yymsp = $this->yystack[$this->yyidx];\r
2440 if (self::$yyTraceFILE && $yyruleno >= 0 \r
2441 && $yyruleno < count(self::$yyRuleName)) {\r
2442 fprintf(self::$yyTraceFILE, "%sReduce (%d) [%s].\n",\r
2443 self::$yyTracePrompt, $yyruleno,\r
2444 self::$yyRuleName[$yyruleno]);\r
2445 }\r
2446 \r
2447 $this->_retvalue = $yy_lefthand_side = null;\r
2448 if (array_key_exists($yyruleno, self::$yyReduceMap)) {\r
2449 // call the action\r
2450 $this->_retvalue = null;\r
2451 $this->{'yy_r' . self::$yyReduceMap[$yyruleno]}();\r
2452 $yy_lefthand_side = $this->_retvalue;\r
2453 }\r
2454 $yygoto = self::$yyRuleInfo[$yyruleno]['lhs'];\r
2455 $yysize = self::$yyRuleInfo[$yyruleno]['rhs'];\r
2456 $this->yyidx -= $yysize;\r
2457 for($i = $yysize; $i; $i--) {\r
2458 // pop all of the right-hand side parameters\r
2459 array_pop($this->yystack);\r
2460 }\r
2461 $yyact = $this->yy_find_reduce_action($this->yystack[$this->yyidx]->stateno, $yygoto);\r
2462 if ($yyact < self::YYNSTATE) {\r
2463 if (!self::$yyTraceFILE && $yysize) {\r
2464 $this->yyidx++;\r
2465 $x = new TP_yyStackEntry;\r
2466 $x->stateno = $yyact;\r
2467 $x->major = $yygoto;\r
2468 $x->minor = $yy_lefthand_side;\r
2469 $this->yystack[$this->yyidx] = $x;\r
2470 } else {\r
2471 $this->yy_shift($yyact, $yygoto, $yy_lefthand_side);\r
2472 }\r
2473 } elseif ($yyact == self::YYNSTATE + self::YYNRULE + 1) {\r
2474 $this->yy_accept();\r
2475 }\r
2476 }\r
2477 \r
2478 function yy_parse_failed()\r
2479 {\r
2480 if (self::$yyTraceFILE) {\r
2481 fprintf(self::$yyTraceFILE, "%sFail!\n", self::$yyTracePrompt);\r
2482 }\r
2483 while ($this->yyidx >= 0) {\r
2484 $this->yy_pop_parser_stack();\r
2485 }\r
2486 }\r
2487 \r
2488 function yy_syntax_error($yymajor, $TOKEN)\r
2489 {\r
2490 #line 73 "smarty_internal_templateparser.y"\r
2491 \r
2492 $this->internalError = true;\r
2493 $this->yymajor = $yymajor;\r
2494 $this->compiler->trigger_template_error();\r
2495 #line 2491 "smarty_internal_templateparser.php"\r
2496 }\r
2497 \r
2498 function yy_accept()\r
2499 {\r
2500 if (self::$yyTraceFILE) {\r
2501 fprintf(self::$yyTraceFILE, "%sAccept!\n", self::$yyTracePrompt);\r
2502 }\r
2503 while ($this->yyidx >= 0) {\r
2504 $stack = $this->yy_pop_parser_stack();\r
2505 }\r
2506 #line 65 "smarty_internal_templateparser.y"\r
2507 \r
2508 $this->successful = !$this->internalError;\r
2509 $this->internalError = false;\r
2510 $this->retvalue = $this->_retvalue;\r
2511 //echo $this->retvalue."\n\n";\r
2512 #line 2509 "smarty_internal_templateparser.php"\r
2513 }\r
2514 \r
2515 function doParse($yymajor, $yytokenvalue)\r
2516 {\r
2517 $yyerrorhit = 0; /* True if yymajor has invoked an error */\r
2518 \r
2519 if ($this->yyidx === null || $this->yyidx < 0) {\r
2520 $this->yyidx = 0;\r
2521 $this->yyerrcnt = -1;\r
2522 $x = new TP_yyStackEntry;\r
2523 $x->stateno = 0;\r
2524 $x->major = 0;\r
2525 $this->yystack = array();\r
2526 array_push($this->yystack, $x);\r
2527 }\r
2528 $yyendofinput = ($yymajor==0);\r
2529 \r
2530 if (self::$yyTraceFILE) {\r
2531 fprintf(self::$yyTraceFILE, "%sInput %s\n",\r
2532 self::$yyTracePrompt, $this->yyTokenName[$yymajor]);\r
2533 }\r
2534 \r
2535 do {\r
2536 $yyact = $this->yy_find_shift_action($yymajor);\r
2537 if ($yymajor < self::YYERRORSYMBOL &&\r
2538 !$this->yy_is_expected_token($yymajor)) {\r
2539 // force a syntax error\r
2540 $yyact = self::YY_ERROR_ACTION;\r
2541 }\r
2542 if ($yyact < self::YYNSTATE) {\r
2543 $this->yy_shift($yyact, $yymajor, $yytokenvalue);\r
2544 $this->yyerrcnt--;\r
2545 if ($yyendofinput && $this->yyidx >= 0) {\r
2546 $yymajor = 0;\r
2547 } else {\r
2548 $yymajor = self::YYNOCODE;\r
2549 }\r
2550 } elseif ($yyact < self::YYNSTATE + self::YYNRULE) {\r
2551 $this->yy_reduce($yyact - self::YYNSTATE);\r
2552 } elseif ($yyact == self::YY_ERROR_ACTION) {\r
2553 if (self::$yyTraceFILE) {\r
2554 fprintf(self::$yyTraceFILE, "%sSyntax Error!\n",\r
2555 self::$yyTracePrompt);\r
2556 }\r
2557 if (self::YYERRORSYMBOL) {\r
2558 if ($this->yyerrcnt < 0) {\r
2559 $this->yy_syntax_error($yymajor, $yytokenvalue);\r
2560 }\r
2561 $yymx = $this->yystack[$this->yyidx]->major;\r
2562 if ($yymx == self::YYERRORSYMBOL || $yyerrorhit ){\r
2563 if (self::$yyTraceFILE) {\r
2564 fprintf(self::$yyTraceFILE, "%sDiscard input token %s\n",\r
2565 self::$yyTracePrompt, $this->yyTokenName[$yymajor]);\r
2566 }\r
2567 $this->yy_destructor($yymajor, $yytokenvalue);\r
2568 $yymajor = self::YYNOCODE;\r
2569 } else {\r
2570 while ($this->yyidx >= 0 &&\r
2571 $yymx != self::YYERRORSYMBOL &&\r
2572 ($yyact = $this->yy_find_shift_action(self::YYERRORSYMBOL)) >= self::YYNSTATE\r
2573 ){\r
2574 $this->yy_pop_parser_stack();\r
2575 }\r
2576 if ($this->yyidx < 0 || $yymajor==0) {\r
2577 $this->yy_destructor($yymajor, $yytokenvalue);\r
2578 $this->yy_parse_failed();\r
2579 $yymajor = self::YYNOCODE;\r
2580 } elseif ($yymx != self::YYERRORSYMBOL) {\r
2581 $u2 = 0;\r
2582 $this->yy_shift($yyact, self::YYERRORSYMBOL, $u2);\r
2583 }\r
2584 }\r
2585 $this->yyerrcnt = 3;\r
2586 $yyerrorhit = 1;\r
2587 } else {\r
2588 if ($this->yyerrcnt <= 0) {\r
2589 $this->yy_syntax_error($yymajor, $yytokenvalue);\r
2590 }\r
2591 $this->yyerrcnt = 3;\r
2592 $this->yy_destructor($yymajor, $yytokenvalue);\r
2593 if ($yyendofinput) {\r
2594 $this->yy_parse_failed();\r
2595 }\r
2596 $yymajor = self::YYNOCODE;\r
2597 }\r
2598 } else {\r
2599 $this->yy_accept();\r
2600 $yymajor = self::YYNOCODE;\r
2601 } \r
2602 } while ($yymajor != self::YYNOCODE && $this->yyidx >= 0);\r
2603 }\r
2604 }\r
2605 ?>