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