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