Files
smarty/libs/sysplugins/smarty_internal_templateparser.php

4569 lines
166 KiB
PHP
Raw Normal View History

<?php
2014-06-08 16:00:56 +00:00
/**
2014-06-08 16:00:56 +00:00
* Smarty Internal Plugin Templateparser
* This is the template parser.
* It is generated from the internal.templateparser.y file
*
* @package Smarty
* @subpackage Compiler
* @author Uwe Tews
*/
class TP_yyToken implements ArrayAccess
{
public $string = '';
public $metadata = array();
public function __construct($s, $m = array())
{
if ($s instanceof TP_yyToken) {
$this->string = $s->string;
$this->metadata = $s->metadata;
} else {
$this->string = (string) $s;
if ($m instanceof TP_yyToken) {
$this->metadata = $m->metadata;
} elseif (is_array($m)) {
$this->metadata = $m;
}
}
}
public function __toString()
{
return $this->_string;
}
public function offsetExists($offset)
{
return isset($this->metadata[$offset]);
}
public function offsetGet($offset)
{
return $this->metadata[$offset];
}
public function offsetSet($offset, $value)
{
if ($offset === null) {
if (isset($value[0])) {
$x = ($value instanceof TP_yyToken) ?
$value->metadata : $value;
$this->metadata = array_merge($this->metadata, $x);
return;
}
$offset = count($this->metadata);
}
if ($value === null) {
return;
}
if ($value instanceof TP_yyToken) {
if ($value->metadata) {
$this->metadata[$offset] = $value->metadata;
}
} elseif ($value) {
$this->metadata[$offset] = $value;
}
}
public function offsetUnset($offset)
{
unset($this->metadata[$offset]);
}
}
class TP_yyStackEntry
{
public $stateno; /* The state-number */
public $major; /* The major token value. This is the code
** number for the token at this stack level */
public $minor; /* The user-supplied minor token value. This
** is the value of the token */
2014-06-08 16:00:56 +00:00
}
2014-06-08 16:00:56 +00:00
;
#line 13 "smarty_internal_templateparser.y"
class Smarty_Internal_Templateparser#line 80 "smarty_internal_templateparser.php"
{
2014-06-08 16:00:56 +00:00
#line 15 "smarty_internal_templateparser.y"
2011-09-16 14:19:56 +00:00
const Err1 = "Security error: Call to private object member not allowed";
const Err2 = "Security error: Call to dynamic object member not allowed";
const Err3 = "PHP in template not allowed. Use SmartyBC to enable it";
// states whether the parse was successful or not
public $successful = true;
public $retvalue = 0;
public static $prefix_number = 0;
private $_string;
2014-10-07 22:20:21 +00:00
public $yymajor;
public $last_index;
public $last_variable;
public $root_buffer;
public $current_buffer;
private $lex;
private $internalError = false;
private $strip = false;
2014-06-08 16:00:56 +00:00
function __construct($lex, $compiler)
{
$this->lex = $lex;
$this->compiler = $compiler;
$this->smarty = $this->compiler->smarty;
$this->template = $this->compiler->template;
$this->compiler->has_variable_string = false;
2011-09-16 14:19:56 +00:00
$this->compiler->prefix_code = array();
$this->block_nesting_level = 0;
if ($this->security = isset($this->smarty->security_policy)) {
$this->php_handling = $this->smarty->security_policy->php_handling;
} else {
2011-09-16 14:19:56 +00:00
$this->php_handling = $this->smarty->php_handling;
}
2011-09-16 14:19:56 +00:00
$this->is_xml = false;
$this->asp_tags = (ini_get('asp_tags') != '0');
$this->current_buffer = $this->root_buffer = new _smarty_template_buffer($this);
}
public function insertPhpCode($code)
{
$this->current_buffer->append_subtree(new _smarty_tag($this, $code));
}
2014-06-08 16:00:56 +00:00
public function compileVariable($variable)
{
if (strpos($variable, '(') == 0) {
2011-09-16 14:19:56 +00:00
// not a variable variable
2014-06-08 16:00:56 +00:00
$var = trim($variable, '\'');
$this->compiler->tag_nocache = $this->compiler->tag_nocache | $this->template->getVariable($var, null, true, false)->nocache;
$this->template->properties['variables'][$var] = $this->compiler->tag_nocache | $this->compiler->nocache;
2011-09-16 14:19:56 +00:00
}
2014-06-08 16:00:56 +00:00
// return '(isset($_smarty_tpl->tpl_vars['. $variable .'])?$_smarty_tpl->tpl_vars['. $variable .']->value:$_smarty_tpl->getVariable('. $variable .')->value)';
return '$_smarty_tpl->tpl_vars[' . $variable . ']->value';
2011-09-16 14:19:56 +00:00
}
#line 134 "smarty_internal_templateparser.php"
2014-06-08 16:00:56 +00:00
const TP_VERT = 1;
const TP_COLON = 2;
const TP_RDEL = 3;
const TP_COMMENT = 4;
const TP_PHPSTARTTAG = 5;
const TP_PHPENDTAG = 6;
const TP_PHPENDSCRIPT = 7;
const TP_ASPSTARTTAG = 8;
const TP_ASPENDTAG = 9;
const TP_XMLTAG = 10;
const TP_TEXT = 11;
const TP_STRIPON = 12;
const TP_STRIPOFF = 13;
const TP_BLOCKSOURCE = 14;
const TP_LITERALSTART = 15;
const TP_LITERALEND = 16;
const TP_LITERAL = 17;
const TP_LDEL = 18;
const TP_DOLLAR = 19;
const TP_ID = 20;
const TP_EQUAL = 21;
const TP_PTR = 22;
const TP_LDELIF = 23;
const TP_LDELFOR = 24;
const TP_SEMICOLON = 25;
const TP_INCDEC = 26;
const TP_TO = 27;
const TP_STEP = 28;
const TP_LDELFOREACH = 29;
const TP_SPACE = 30;
const TP_AS = 31;
const TP_APTR = 32;
const TP_LDELSETFILTER = 33;
const TP_SMARTYBLOCKCHILDPARENT = 34;
const TP_LDELSLASH = 35;
const TP_ATTR = 36;
const TP_INTEGER = 37;
const TP_COMMA = 38;
const TP_OPENP = 39;
const TP_CLOSEP = 40;
const TP_MATH = 41;
const TP_UNIMATH = 42;
const TP_ANDSYM = 43;
const TP_ISIN = 44;
const TP_ISDIVBY = 45;
const TP_ISNOTDIVBY = 46;
const TP_ISEVEN = 47;
const TP_ISNOTEVEN = 48;
const TP_ISEVENBY = 49;
const TP_ISNOTEVENBY = 50;
const TP_ISODD = 51;
const TP_ISNOTODD = 52;
const TP_ISODDBY = 53;
const TP_ISNOTODDBY = 54;
const TP_INSTANCEOF = 55;
const TP_QMARK = 56;
const TP_NOT = 57;
const TP_TYPECAST = 58;
const TP_HEX = 59;
const TP_DOT = 60;
const TP_SINGLEQUOTESTRING = 61;
const TP_DOUBLECOLON = 62;
const TP_NAMESPACE = 63;
const TP_AT = 64;
const TP_HATCH = 65;
const TP_OPENB = 66;
const TP_CLOSEB = 67;
const TP_EQUALS = 68;
const TP_NOTEQUALS = 69;
const TP_GREATERTHAN = 70;
const TP_LESSTHAN = 71;
const TP_GREATEREQUAL = 72;
const TP_LESSEQUAL = 73;
const TP_IDENTITY = 74;
const TP_NONEIDENTITY = 75;
const TP_MOD = 76;
const TP_LAND = 77;
const TP_LOR = 78;
const TP_LXOR = 79;
const TP_QUOTE = 80;
const TP_BACKTICK = 81;
const TP_DOLLARID = 82;
const YY_NO_ACTION = 568;
const YY_ACCEPT_ACTION = 567;
const YY_ERROR_ACTION = 566;
const YY_SZ_ACTTAB = 2456;
2014-06-08 16:00:56 +00:00
static public $yy_action = array(
/* 0 */
221, 31, 327, 263, 196, 309, 305, 301, 302, 303,
2014-06-08 16:00:56 +00:00
/* 10 */
304, 310, 311, 317, 318, 319, 202, 25, 23, 10,
2014-06-08 16:00:56 +00:00
/* 20 */
321, 32, 158, 131, 5, 107, 202, 315, 314, 28,
2014-06-08 16:00:56 +00:00
/* 30 */
143, 221, 206, 429, 255, 17, 252, 195, 122, 328,
2014-06-08 16:00:56 +00:00
/* 40 */
49, 51, 50, 44, 26, 19, 347, 343, 38, 13,
2014-06-08 16:00:56 +00:00
/* 50 */
344, 345, 39, 34, 221, 567, 95, 265, 238, 306,
2014-06-08 16:00:56 +00:00
/* 60 */
429, 256, 139, 119, 481, 206, 429, 278, 346, 352,
2014-06-08 16:00:56 +00:00
/* 70 */
353, 359, 360, 361, 358, 357, 354, 355, 356, 294,
2014-06-08 16:00:56 +00:00
/* 80 */
279, 37, 329, 28, 105, 248, 284, 481, 11, 17,
2014-06-08 16:00:56 +00:00
/* 90 */
286, 14, 276, 483, 49, 51, 50, 44, 26, 19,
2014-06-08 16:00:56 +00:00
/* 100 */
347, 343, 38, 13, 344, 345, 39, 34, 221, 93,
2014-06-08 16:00:56 +00:00
/* 110 */
221, 323, 386, 29, 128, 178, 483, 298, 481, 192,
2014-06-08 16:00:56 +00:00
/* 120 */
326, 278, 346, 352, 353, 359, 360, 361, 358, 357,
2014-06-08 16:00:56 +00:00
/* 130 */
354, 355, 356, 349, 279, 338, 221, 28, 423, 28,
2014-06-08 16:00:56 +00:00
/* 140 */
147, 481, 11, 17, 286, 17, 32, 483, 49, 51,
2014-06-08 16:00:56 +00:00
/* 150 */
50, 44, 26, 19, 347, 343, 38, 13, 344, 345,
2014-06-08 16:00:56 +00:00
/* 160 */
39, 34, 221, 93, 207, 28, 221, 31, 426, 261,
2014-06-08 16:00:56 +00:00
/* 170 */
483, 17, 36, 133, 290, 278, 346, 352, 353, 359,
2014-06-08 16:00:56 +00:00
/* 180 */
360, 361, 358, 357, 354, 355, 356, 231, 241, 106,
2014-06-08 16:00:56 +00:00
/* 190 */
160, 291, 221, 320, 429, 426, 307, 238, 306, 299,
2014-06-08 16:00:56 +00:00
/* 200 */
147, 426, 49, 51, 50, 44, 26, 19, 347, 343,
2014-06-08 16:00:56 +00:00
/* 210 */
38, 13, 344, 345, 39, 34, 221, 206, 267, 190,
2014-06-08 16:00:56 +00:00
/* 220 */
11, 429, 286, 20, 109, 336, 137, 429, 274, 278,
2014-06-08 16:00:56 +00:00
/* 230 */
346, 352, 353, 359, 360, 361, 358, 357, 354, 355,
2014-06-08 16:00:56 +00:00
/* 240 */
356, 285, 279, 16, 102, 165, 221, 206, 287, 11,
2014-06-08 16:00:56 +00:00
/* 250 */
481, 286, 14, 21, 299, 483, 49, 51, 50, 44,
2014-06-08 16:00:56 +00:00
/* 260 */
26, 19, 347, 343, 38, 13, 344, 345, 39, 34,
2014-06-08 16:00:56 +00:00
/* 270 */
221, 93, 206, 481, 6, 28, 201, 326, 483, 193,
2014-06-08 16:00:56 +00:00
/* 280 */
11, 17, 286, 278, 346, 352, 353, 359, 360, 361,
2014-06-08 16:00:56 +00:00
/* 290 */
358, 357, 354, 355, 356, 235, 104, 172, 199, 326,
2014-06-08 16:00:56 +00:00
/* 300 */
175, 257, 232, 218, 122, 233, 299, 206, 203, 299,
2014-06-08 16:00:56 +00:00
/* 310 */
49, 51, 50, 44, 26, 19, 347, 343, 38, 13,
2014-06-08 16:00:56 +00:00
/* 320 */
344, 345, 39, 34, 206, 221, 235, 205, 28, 31,
2014-06-08 16:00:56 +00:00
/* 330 */
11, 362, 237, 221, 17, 391, 262, 278, 346, 352,
2014-06-08 16:00:56 +00:00
/* 340 */
353, 359, 360, 361, 358, 357, 354, 355, 356, 197,
2014-06-08 16:00:56 +00:00
/* 350 */
105, 279, 212, 166, 493, 2, 221, 45, 8, 308,
2014-06-08 16:00:56 +00:00
/* 360 */
493, 283, 299, 184, 483, 49, 51, 50, 44, 26,
2014-06-08 16:00:56 +00:00
/* 370 */
19, 347, 343, 38, 13, 344, 345, 39, 34, 221,
2014-06-08 16:00:56 +00:00
/* 380 */
205, 264, 180, 482, 333, 4, 11, 483, 219, 141,
2014-06-08 16:00:56 +00:00
/* 390 */
242, 299, 278, 346, 352, 353, 359, 360, 361, 358,
2014-06-08 16:00:56 +00:00
/* 400 */
357, 354, 355, 356, 285, 258, 482, 183, 129, 24,
2014-06-08 16:00:56 +00:00
/* 410 */
240, 247, 149, 257, 277, 295, 299, 40, 158, 49,
2014-06-08 16:00:56 +00:00
/* 420 */
51, 50, 44, 26, 19, 347, 343, 38, 13, 344,
2014-06-08 16:00:56 +00:00
/* 430 */
345, 39, 34, 221, 205, 204, 167, 11, 221, 286,
2014-06-08 16:00:56 +00:00
/* 440 */
134, 11, 179, 245, 285, 299, 278, 346, 352, 353,
2014-06-08 16:00:56 +00:00
/* 450 */
359, 360, 361, 358, 357, 354, 355, 356, 139, 198,
2014-06-08 16:00:56 +00:00
/* 460 */
142, 191, 164, 205, 285, 313, 11, 312, 251, 27,
2014-06-08 16:00:56 +00:00
/* 470 */
221, 348, 132, 49, 51, 50, 44, 26, 19, 347,
2014-06-08 16:00:56 +00:00
/* 480 */
343, 38, 13, 344, 345, 39, 34, 221, 231, 206,
2014-06-08 16:00:56 +00:00
/* 490 */
187, 260, 158, 103, 7, 257, 254, 121, 157, 299,
2014-06-08 16:00:56 +00:00
/* 500 */
278, 346, 352, 353, 359, 360, 361, 358, 357, 354,
2014-06-08 16:00:56 +00:00
/* 510 */
355, 356, 285, 294, 294, 163, 316, 228, 115, 22,
2014-06-08 16:00:56 +00:00
/* 520 */
173, 194, 296, 169, 299, 17, 331, 49, 51, 50,
2014-06-08 16:00:56 +00:00
/* 530 */
44, 26, 19, 347, 343, 38, 13, 344, 345, 39,
2014-06-08 16:00:56 +00:00
/* 540 */
34, 221, 189, 108, 171, 182, 140, 6, 123, 340,
2014-06-08 16:00:56 +00:00
/* 550 */
230, 101, 97, 299, 278, 346, 352, 353, 359, 360,
2014-06-08 16:00:56 +00:00
/* 560 */
361, 358, 357, 354, 355, 356, 285, 294, 294, 159,
2014-06-08 16:00:56 +00:00
/* 570 */
161, 41, 281, 242, 253, 282, 144, 268, 299, 299,
2014-06-08 16:00:56 +00:00
/* 580 */
113, 49, 51, 50, 44, 26, 19, 347, 343, 38,
2014-06-08 16:00:56 +00:00
/* 590 */
13, 344, 345, 39, 34, 221, 294, 272, 181, 120,
2014-06-08 16:00:56 +00:00
/* 600 */
42, 297, 200, 30, 94, 221, 100, 299, 278, 346,
2014-06-08 16:00:56 +00:00
/* 610 */
352, 353, 359, 360, 361, 358, 357, 354, 355, 356,
2014-06-08 16:00:56 +00:00
/* 620 */
285, 332, 294, 275, 300, 298, 168, 170, 177, 12,
2014-06-08 16:00:56 +00:00
/* 630 */
269, 285, 45, 273, 270, 49, 51, 50, 44, 26,
2014-06-08 16:00:56 +00:00
/* 640 */
19, 347, 343, 38, 13, 344, 345, 39, 34, 221,
2014-06-08 16:00:56 +00:00
/* 650 */
259, 331, 205, 331, 287, 331, 331, 331, 98, 112,
2014-06-08 16:00:56 +00:00
/* 660 */
118, 331, 278, 346, 352, 353, 359, 360, 361, 358,
2014-06-08 16:00:56 +00:00
/* 670 */
357, 354, 355, 356, 294, 294, 294, 331, 331, 331,
2014-06-08 16:00:56 +00:00
/* 680 */
331, 331, 331, 331, 331, 331, 331, 331, 249, 49,
2014-06-08 16:00:56 +00:00
/* 690 */
51, 50, 44, 26, 19, 347, 343, 38, 13, 344,
2014-06-08 16:00:56 +00:00
/* 700 */
345, 39, 34, 221, 35, 331, 331, 331, 331, 331,
2014-06-08 16:00:56 +00:00
/* 710 */
331, 331, 331, 331, 331, 331, 278, 346, 352, 353,
2014-06-08 16:00:56 +00:00
/* 720 */
359, 360, 361, 358, 357, 354, 355, 356, 331, 331,
2014-06-08 16:00:56 +00:00
/* 730 */
331, 331, 331, 331, 331, 331, 331, 331, 331, 331,
2014-06-08 16:00:56 +00:00
/* 740 */
331, 331, 158, 49, 51, 50, 44, 26, 19, 347,
2014-06-08 16:00:56 +00:00
/* 750 */
343, 38, 13, 344, 345, 39, 34, 221, 331, 331,
2014-06-08 16:00:56 +00:00
/* 760 */
331, 331, 331, 331, 331, 331, 331, 331, 331, 331,
2014-06-08 16:00:56 +00:00
/* 770 */
278, 346, 352, 353, 359, 360, 361, 358, 357, 354,
2014-06-08 16:00:56 +00:00
/* 780 */
355, 356, 139, 331, 331, 331, 331, 331, 331, 331,
2014-06-08 16:00:56 +00:00
/* 790 */
331, 331, 331, 331, 331, 331, 331, 49, 51, 50,
2014-06-08 16:00:56 +00:00
/* 800 */
44, 26, 19, 347, 343, 38, 13, 344, 345, 39,
2014-06-08 16:00:56 +00:00
/* 810 */
34, 331, 331, 331, 331, 331, 331, 331, 331, 331,
2014-06-08 16:00:56 +00:00
/* 820 */
331, 158, 43, 331, 278, 346, 352, 353, 359, 360,
2014-06-08 16:00:56 +00:00
/* 830 */
361, 358, 357, 354, 355, 356, 331, 331, 331, 49,
2014-06-08 16:00:56 +00:00
/* 840 */
51, 50, 44, 26, 19, 347, 343, 38, 13, 344,
2014-06-08 16:00:56 +00:00
/* 850 */
345, 39, 34, 331, 331, 331, 331, 331, 331, 212,
2014-06-08 16:00:56 +00:00
/* 860 */
331, 230, 331, 331, 331, 8, 278, 346, 352, 353,
2014-06-08 16:00:56 +00:00
/* 870 */
359, 360, 361, 358, 357, 354, 355, 356, 331, 331,
2014-06-08 16:00:56 +00:00
/* 880 */
331, 337, 331, 331, 331, 10, 126, 91, 9, 331,
2014-06-08 16:00:56 +00:00
/* 890 */
5, 107, 331, 5, 107, 11, 143, 286, 146, 143,
2014-06-08 16:00:56 +00:00
/* 900 */
255, 322, 252, 255, 229, 252, 33, 28, 331, 48,
2014-06-08 16:00:56 +00:00
/* 910 */
330, 341, 331, 17, 239, 351, 331, 331, 156, 331,
2014-06-08 16:00:56 +00:00
/* 920 */
331, 331, 138, 331, 47, 46, 280, 234, 292, 146,
2014-06-08 16:00:56 +00:00
/* 930 */
227, 266, 105, 1, 216, 225, 288, 293, 331, 351,
2014-06-08 16:00:56 +00:00
/* 940 */
331, 246, 331, 10, 130, 213, 351, 96, 5, 107,
2014-06-08 16:00:56 +00:00
/* 950 */
324, 18, 339, 331, 143, 239, 331, 331, 255, 154,
2014-06-08 16:00:56 +00:00
/* 960 */
252, 331, 229, 138, 33, 331, 331, 48, 331, 331,
2014-06-08 16:00:56 +00:00
/* 970 */
331, 331, 350, 331, 331, 216, 225, 288, 293, 331,
2014-06-08 16:00:56 +00:00
/* 980 */
351, 331, 47, 46, 280, 234, 292, 331, 227, 331,
2014-06-08 16:00:56 +00:00
/* 990 */
105, 1, 271, 331, 331, 331, 427, 337, 331, 331,
2014-06-08 16:00:56 +00:00
/* 1000 */
331, 10, 130, 224, 9, 96, 5, 107, 331, 5,
2014-06-08 16:00:56 +00:00
/* 1010 */
107, 331, 143, 331, 236, 143, 255, 331, 252, 255,
2014-06-08 16:00:56 +00:00
/* 1020 */
229, 252, 33, 427, 331, 48, 331, 331, 331, 427,
2014-06-08 16:00:56 +00:00
/* 1030 */
331, 239, 481, 331, 331, 151, 331, 331, 331, 138,
2014-06-08 16:00:56 +00:00
/* 1040 */
47, 46, 280, 234, 292, 331, 227, 331, 105, 1,
2014-06-08 16:00:56 +00:00
/* 1050 */
331, 216, 225, 288, 293, 481, 351, 331, 331, 10,
2014-06-08 16:00:56 +00:00
/* 1060 */
130, 215, 331, 96, 5, 107, 325, 18, 339, 331,
2014-06-08 16:00:56 +00:00
/* 1070 */
143, 239, 331, 331, 255, 152, 252, 331, 229, 138,
2014-06-08 16:00:56 +00:00
/* 1080 */
33, 331, 331, 48, 331, 331, 331, 331, 331, 331,
2014-06-08 16:00:56 +00:00
/* 1090 */
331, 216, 225, 288, 293, 331, 351, 331, 47, 46,
2014-06-08 16:00:56 +00:00
/* 1100 */
280, 234, 292, 331, 227, 331, 105, 1, 221, 331,
2014-06-08 16:00:56 +00:00
/* 1110 */
396, 331, 11, 331, 286, 331, 331, 10, 122, 224,
2014-06-08 16:00:56 +00:00
/* 1120 */
331, 96, 5, 107, 28, 331, 243, 239, 143, 250,
2014-06-08 16:00:56 +00:00
/* 1130 */
17, 150, 255, 331, 252, 138, 229, 28, 15, 331,
2014-06-08 16:00:56 +00:00
/* 1140 */
331, 48, 331, 17, 331, 331, 481, 216, 225, 288,
2014-06-08 16:00:56 +00:00
/* 1150 */
293, 331, 351, 331, 331, 331, 47, 46, 280, 234,
2014-06-08 16:00:56 +00:00
/* 1160 */
292, 331, 227, 331, 105, 1, 331, 331, 331, 481,
2014-06-08 16:00:56 +00:00
/* 1170 */
331, 11, 331, 286, 331, 10, 130, 208, 331, 96,
2014-06-08 16:00:56 +00:00
/* 1180 */
5, 107, 331, 28, 331, 244, 143, 239, 331, 17,
2014-06-08 16:00:56 +00:00
/* 1190 */
255, 148, 252, 331, 229, 138, 33, 331, 331, 48,
2014-06-08 16:00:56 +00:00
/* 1200 */
331, 331, 331, 331, 331, 331, 331, 216, 225, 288,
2014-06-08 16:00:56 +00:00
/* 1210 */
293, 331, 351, 331, 47, 46, 280, 234, 292, 331,
2014-06-08 16:00:56 +00:00
/* 1220 */
227, 331, 105, 1, 331, 331, 331, 331, 331, 331,
2014-06-08 16:00:56 +00:00
/* 1230 */
331, 331, 331, 10, 136, 224, 331, 96, 5, 107,
2014-06-08 16:00:56 +00:00
/* 1240 */
331, 331, 331, 331, 143, 239, 331, 331, 255, 155,
2014-06-08 16:00:56 +00:00
/* 1250 */
252, 331, 229, 138, 3, 331, 331, 48, 331, 331,
2014-06-08 16:00:56 +00:00
/* 1260 */
331, 331, 331, 331, 331, 216, 225, 288, 293, 331,
2014-06-08 16:00:56 +00:00
/* 1270 */
351, 331, 47, 46, 280, 234, 292, 331, 227, 331,
2014-06-08 16:00:56 +00:00
/* 1280 */
105, 1, 331, 331, 331, 331, 331, 331, 331, 331,
2014-06-08 16:00:56 +00:00
/* 1290 */
331, 10, 130, 209, 331, 96, 5, 107, 331, 331,
2014-06-08 16:00:56 +00:00
/* 1300 */
331, 331, 143, 239, 331, 331, 255, 153, 252, 331,
2014-06-08 16:00:56 +00:00
/* 1310 */
222, 138, 33, 331, 331, 48, 331, 331, 331, 331,
2014-06-08 16:00:56 +00:00
/* 1320 */
331, 331, 331, 216, 225, 288, 293, 331, 351, 331,
2014-06-08 16:00:56 +00:00
/* 1330 */
47, 46, 280, 234, 292, 331, 227, 331, 105, 1,
2014-06-08 16:00:56 +00:00
/* 1340 */
331, 331, 331, 331, 331, 331, 331, 331, 331, 10,
2014-06-08 16:00:56 +00:00
/* 1350 */
124, 224, 331, 96, 5, 107, 331, 331, 331, 331,
2014-06-08 16:00:56 +00:00
/* 1360 */
143, 331, 331, 331, 255, 331, 252, 331, 229, 331,
2014-06-08 16:00:56 +00:00
/* 1370 */
33, 196, 174, 48, 331, 331, 331, 331, 331, 331,
2014-06-08 16:00:56 +00:00
/* 1380 */
331, 299, 331, 331, 25, 23, 331, 331, 47, 46,
2014-06-08 16:00:56 +00:00
/* 1390 */
280, 234, 292, 331, 227, 331, 105, 1, 331, 206,
2014-06-08 16:00:56 +00:00
/* 1400 */
331, 331, 331, 331, 331, 331, 331, 10, 122, 224,
2014-06-08 16:00:56 +00:00
/* 1410 */
331, 96, 5, 107, 331, 331, 331, 331, 143, 331,
2014-06-08 16:00:56 +00:00
/* 1420 */
331, 331, 255, 331, 252, 331, 229, 331, 15, 331,
2014-06-08 16:00:56 +00:00
/* 1430 */
331, 48, 331, 331, 331, 471, 331, 331, 331, 331,
2014-06-08 16:00:56 +00:00
/* 1440 */
331, 331, 331, 331, 331, 331, 47, 46, 280, 234,
2014-06-08 16:00:56 +00:00
/* 1450 */
292, 331, 227, 331, 105, 331, 331, 471, 331, 471,
2014-06-08 16:00:56 +00:00
/* 1460 */
471, 331, 471, 471, 196, 186, 331, 331, 471, 96,
2014-06-08 16:00:56 +00:00
/* 1470 */
471, 481, 471, 331, 299, 331, 331, 25, 23, 331,
2014-06-08 16:00:56 +00:00
/* 1480 */
239, 331, 331, 331, 125, 331, 331, 87, 138, 331,
2014-06-08 16:00:56 +00:00
/* 1490 */
331, 331, 206, 331, 481, 331, 289, 342, 331, 471,
2014-06-08 16:00:56 +00:00
/* 1500 */
214, 225, 288, 293, 331, 351, 331, 331, 331, 331,
2014-06-08 16:00:56 +00:00
/* 1510 */
239, 196, 162, 471, 145, 220, 335, 54, 116, 135,
2014-06-08 16:00:56 +00:00
/* 1520 */
331, 299, 331, 331, 25, 23, 289, 342, 331, 331,
2014-06-08 16:00:56 +00:00
/* 1530 */
214, 225, 288, 293, 239, 351, 331, 331, 145, 206,
2014-06-08 16:00:56 +00:00
/* 1540 */
331, 72, 138, 331, 331, 331, 331, 331, 331, 331,
2014-06-08 16:00:56 +00:00
/* 1550 */
289, 342, 331, 331, 214, 225, 288, 293, 331, 351,
2014-06-08 16:00:56 +00:00
/* 1560 */
239, 99, 176, 331, 145, 331, 217, 72, 138, 331,
2014-06-08 16:00:56 +00:00
/* 1570 */
331, 299, 331, 331, 25, 23, 289, 342, 331, 331,
2014-06-08 16:00:56 +00:00
/* 1580 */
214, 225, 288, 293, 331, 351, 331, 239, 331, 206,
2014-06-08 16:00:56 +00:00
/* 1590 */
331, 145, 223, 331, 72, 138, 331, 331, 331, 331,
2014-06-08 16:00:56 +00:00
/* 1600 */
331, 331, 331, 289, 342, 331, 331, 214, 225, 288,
2014-06-08 16:00:56 +00:00
/* 1610 */
293, 331, 351, 331, 239, 331, 331, 331, 125, 226,
2014-06-08 16:00:56 +00:00
/* 1620 */
331, 87, 138, 331, 331, 331, 331, 331, 331, 331,
2014-06-08 16:00:56 +00:00
/* 1630 */
289, 342, 331, 331, 214, 225, 288, 293, 239, 351,
2014-06-08 16:00:56 +00:00
/* 1640 */
331, 331, 145, 331, 331, 62, 116, 254, 331, 331,
2014-06-08 16:00:56 +00:00
/* 1650 */
334, 331, 331, 331, 289, 342, 331, 331, 214, 225,
2014-06-08 16:00:56 +00:00
/* 1660 */
288, 293, 331, 351, 239, 331, 331, 331, 145, 331,
2014-06-08 16:00:56 +00:00
/* 1670 */
331, 69, 138, 331, 331, 239, 331, 331, 331, 145,
2014-06-08 16:00:56 +00:00
/* 1680 */
289, 342, 77, 138, 210, 225, 288, 293, 331, 351,
2014-06-08 16:00:56 +00:00
/* 1690 */
331, 289, 342, 331, 331, 214, 225, 288, 293, 331,
2014-06-08 16:00:56 +00:00
/* 1700 */
351, 331, 239, 196, 185, 331, 145, 331, 331, 75,
2014-06-08 16:00:56 +00:00
/* 1710 */
138, 331, 331, 299, 331, 331, 25, 23, 289, 342,
2014-06-08 16:00:56 +00:00
/* 1720 */
331, 331, 214, 225, 288, 293, 239, 351, 331, 331,
2014-06-08 16:00:56 +00:00
/* 1730 */
145, 206, 331, 64, 138, 331, 331, 331, 331, 331,
2014-06-08 16:00:56 +00:00
/* 1740 */
331, 331, 289, 342, 331, 331, 214, 225, 288, 293,
2014-06-08 16:00:56 +00:00
/* 1750 */
331, 351, 239, 331, 331, 331, 145, 331, 331, 67,
2014-06-08 16:00:56 +00:00
/* 1760 */
138, 331, 331, 239, 331, 331, 331, 145, 289, 342,
2014-06-08 16:00:56 +00:00
/* 1770 */
61, 138, 214, 225, 288, 293, 331, 351, 331, 289,
2014-06-08 16:00:56 +00:00
/* 1780 */
342, 331, 331, 214, 225, 288, 293, 331, 351, 331,
2014-06-08 16:00:56 +00:00
/* 1790 */
239, 196, 188, 331, 92, 331, 331, 56, 117, 331,
2014-06-08 16:00:56 +00:00
/* 1800 */
331, 299, 331, 331, 25, 23, 289, 342, 331, 331,
2014-06-08 16:00:56 +00:00
/* 1810 */
214, 225, 288, 293, 239, 351, 331, 331, 145, 206,
2014-06-08 16:00:56 +00:00
/* 1820 */
331, 71, 138, 331, 331, 331, 331, 331, 331, 331,
2014-06-08 16:00:56 +00:00
/* 1830 */
289, 342, 331, 331, 214, 225, 288, 293, 331, 351,
2014-06-08 16:00:56 +00:00
/* 1840 */
239, 331, 331, 331, 145, 331, 331, 85, 138, 331,
2014-06-08 16:00:56 +00:00
/* 1850 */
331, 239, 331, 331, 331, 145, 289, 342, 86, 138,
2014-06-08 16:00:56 +00:00
/* 1860 */
214, 225, 288, 293, 331, 351, 331, 289, 342, 331,
2014-06-08 16:00:56 +00:00
/* 1870 */
331, 214, 225, 288, 293, 331, 351, 331, 239, 331,
2014-06-08 16:00:56 +00:00
/* 1880 */
331, 331, 145, 331, 331, 82, 138, 331, 331, 331,
2014-06-08 16:00:56 +00:00
/* 1890 */
331, 331, 331, 331, 289, 342, 331, 331, 214, 225,
2014-06-08 16:00:56 +00:00
/* 1900 */
288, 293, 239, 351, 331, 331, 114, 331, 331, 84,
2014-06-08 16:00:56 +00:00
/* 1910 */
138, 331, 331, 331, 331, 331, 331, 331, 289, 342,
2014-06-08 16:00:56 +00:00
/* 1920 */
331, 331, 214, 225, 288, 293, 331, 351, 239, 331,
2014-06-08 16:00:56 +00:00
/* 1930 */
331, 331, 145, 331, 331, 60, 138, 331, 331, 239,
2014-06-08 16:00:56 +00:00
/* 1940 */
331, 331, 331, 145, 289, 342, 78, 138, 214, 225,
2014-06-08 16:00:56 +00:00
/* 1950 */
288, 293, 331, 351, 331, 289, 342, 331, 331, 214,
2014-06-08 16:00:56 +00:00
/* 1960 */
225, 288, 293, 331, 351, 331, 239, 331, 331, 331,
2014-06-08 16:00:56 +00:00
/* 1970 */
145, 331, 331, 63, 138, 331, 331, 331, 331, 331,
2014-06-08 16:00:56 +00:00
/* 1980 */
331, 331, 289, 342, 331, 331, 214, 225, 288, 293,
2014-06-08 16:00:56 +00:00
/* 1990 */
239, 351, 331, 331, 145, 331, 331, 81, 138, 331,
2014-06-08 16:00:56 +00:00
/* 2000 */
331, 331, 331, 331, 331, 331, 289, 342, 331, 331,
2014-06-08 16:00:56 +00:00
/* 2010 */
214, 225, 288, 293, 331, 351, 239, 331, 331, 331,
2014-06-08 16:00:56 +00:00
/* 2020 */
127, 331, 331, 57, 138, 331, 331, 239, 331, 331,
2014-06-08 16:00:56 +00:00
/* 2030 */
331, 145, 289, 342, 79, 138, 214, 225, 288, 293,
2014-06-08 16:00:56 +00:00
/* 2040 */
331, 351, 331, 289, 342, 331, 331, 214, 225, 288,
2014-06-08 16:00:56 +00:00
/* 2050 */
293, 331, 351, 331, 239, 331, 331, 331, 145, 331,
2014-06-08 16:00:56 +00:00
/* 2060 */
331, 83, 138, 331, 331, 331, 331, 331, 331, 331,
2014-06-08 16:00:56 +00:00
/* 2070 */
289, 342, 331, 331, 214, 225, 288, 293, 239, 351,
2014-06-08 16:00:56 +00:00
/* 2080 */
331, 331, 145, 331, 331, 65, 138, 331, 331, 331,
2014-06-08 16:00:56 +00:00
/* 2090 */
331, 331, 331, 331, 289, 342, 331, 331, 214, 225,
2014-06-08 16:00:56 +00:00
/* 2100 */
288, 293, 331, 351, 239, 331, 331, 331, 110, 331,
2014-06-08 16:00:56 +00:00
/* 2110 */
331, 59, 138, 331, 331, 239, 331, 331, 331, 145,
2014-06-08 16:00:56 +00:00
/* 2120 */
289, 342, 76, 138, 214, 225, 288, 293, 331, 351,
2014-06-08 16:00:56 +00:00
/* 2130 */
331, 289, 342, 331, 331, 214, 225, 288, 293, 331,
2014-06-08 16:00:56 +00:00
/* 2140 */
351, 331, 239, 331, 331, 331, 111, 331, 331, 74,
2014-06-08 16:00:56 +00:00
/* 2150 */
138, 331, 331, 331, 331, 331, 331, 331, 289, 342,
2014-06-08 16:00:56 +00:00
/* 2160 */
331, 331, 214, 225, 288, 293, 239, 351, 331, 331,
2014-06-08 16:00:56 +00:00
/* 2170 */
145, 331, 331, 88, 138, 331, 331, 331, 331, 331,
2014-06-08 16:00:56 +00:00
/* 2180 */
331, 331, 289, 342, 331, 331, 214, 225, 288, 293,
2014-06-08 16:00:56 +00:00
/* 2190 */
331, 351, 239, 331, 331, 331, 145, 331, 331, 53,
2014-06-08 16:00:56 +00:00
/* 2200 */
138, 331, 331, 239, 331, 331, 331, 145, 289, 342,
2014-06-08 16:00:56 +00:00
/* 2210 */
58, 138, 214, 225, 288, 293, 331, 351, 331, 289,
2014-06-08 16:00:56 +00:00
/* 2220 */
342, 331, 331, 214, 225, 288, 293, 331, 351, 331,
2014-06-08 16:00:56 +00:00
/* 2230 */
239, 331, 331, 331, 145, 331, 331, 89, 138, 331,
2014-06-08 16:00:56 +00:00
/* 2240 */
331, 331, 331, 331, 331, 331, 289, 342, 331, 331,
2014-06-08 16:00:56 +00:00
/* 2250 */
214, 225, 288, 293, 239, 351, 331, 331, 92, 331,
2014-06-08 16:00:56 +00:00
/* 2260 */
331, 52, 117, 331, 331, 331, 331, 331, 331, 331,
2014-06-08 16:00:56 +00:00
/* 2270 */
289, 342, 331, 331, 211, 225, 288, 293, 331, 351,
2014-06-08 16:00:56 +00:00
/* 2280 */
239, 331, 331, 331, 145, 331, 331, 68, 138, 331,
2014-06-08 16:00:56 +00:00
/* 2290 */
331, 239, 331, 331, 331, 145, 289, 342, 62, 138,
2014-06-08 16:00:56 +00:00
/* 2300 */
214, 225, 288, 293, 331, 351, 331, 289, 342, 331,
2014-06-08 16:00:56 +00:00
/* 2310 */
331, 214, 225, 288, 293, 331, 351, 331, 239, 331,
/* 2320 */
331, 331, 145, 331, 331, 70, 138, 331, 331, 331,
/* 2330 */
331, 331, 331, 331, 289, 342, 331, 331, 214, 225,
/* 2340 */
288, 293, 239, 351, 331, 331, 145, 331, 331, 73,
/* 2350 */
138, 331, 331, 331, 331, 331, 331, 331, 289, 342,
/* 2360 */
331, 331, 214, 225, 288, 293, 331, 351, 239, 331,
/* 2370 */
331, 331, 145, 331, 331, 80, 138, 331, 331, 239,
/* 2380 */
331, 331, 331, 145, 289, 342, 90, 138, 214, 225,
/* 2390 */
288, 293, 331, 351, 331, 289, 342, 331, 331, 214,
/* 2400 */
225, 288, 293, 331, 351, 331, 239, 331, 331, 331,
/* 2410 */
145, 331, 331, 55, 138, 331, 331, 331, 331, 331,
/* 2420 */
331, 331, 289, 342, 331, 331, 214, 225, 288, 293,
/* 2430 */
239, 351, 331, 331, 145, 331, 331, 66, 138, 331,
/* 2440 */
331, 331, 331, 331, 331, 331, 289, 342, 331, 331,
/* 2450 */
214, 225, 288, 293, 331, 351,
);
static public $yy_lookahead = array(
2014-06-08 16:00:56 +00:00
/* 0 */
1, 38, 3, 40, 92, 4, 5, 6, 7, 8,
2014-06-08 16:00:56 +00:00
/* 10 */
9, 10, 11, 12, 13, 14, 15, 105, 106, 18,
2014-06-08 16:00:56 +00:00
/* 20 */
3, 21, 22, 19, 23, 24, 15, 16, 17, 30,
2014-06-08 16:00:56 +00:00
/* 30 */
29, 1, 120, 3, 33, 36, 35, 92, 19, 20,
2014-06-08 16:00:56 +00:00
/* 40 */
41, 42, 43, 44, 45, 46, 47, 48, 49, 50,
2014-06-08 16:00:56 +00:00
/* 50 */
51, 52, 53, 54, 1, 84, 85, 86, 87, 88,
2014-06-08 16:00:56 +00:00
/* 60 */
30, 31, 62, 99, 39, 120, 36, 68, 69, 70,
2014-06-08 16:00:56 +00:00
/* 70 */
71, 72, 73, 74, 75, 76, 77, 78, 79, 115,
2014-06-08 16:00:56 +00:00
/* 80 */
26, 28, 63, 30, 65, 60, 20, 62, 18, 36,
2014-06-08 16:00:56 +00:00
/* 90 */
20, 21, 67, 39, 41, 42, 43, 44, 45, 46,
2014-06-08 16:00:56 +00:00
/* 100 */
47, 48, 49, 50, 51, 52, 53, 54, 1, 55,
2014-06-08 16:00:56 +00:00
/* 110 */
1, 3, 3, 18, 19, 20, 62, 114, 39, 116,
2014-06-08 16:00:56 +00:00
/* 120 */
117, 68, 69, 70, 71, 72, 73, 74, 75, 76,
2014-06-08 16:00:56 +00:00
/* 130 */
77, 78, 79, 111, 26, 81, 1, 30, 3, 30,
2014-06-08 16:00:56 +00:00
/* 140 */
118, 62, 18, 36, 20, 36, 21, 39, 41, 42,
2014-06-08 16:00:56 +00:00
/* 150 */
43, 44, 45, 46, 47, 48, 49, 50, 51, 52,
2014-06-08 16:00:56 +00:00
/* 160 */
53, 54, 1, 55, 3, 30, 1, 38, 3, 40,
2014-06-08 16:00:56 +00:00
/* 170 */
62, 36, 18, 19, 20, 68, 69, 70, 71, 72,
2014-06-08 16:00:56 +00:00
/* 180 */
73, 74, 75, 76, 77, 78, 79, 87, 64, 92,
2014-06-08 16:00:56 +00:00
/* 190 */
93, 37, 1, 111, 3, 30, 86, 87, 88, 102,
2014-06-08 16:00:56 +00:00
/* 200 */
118, 36, 41, 42, 43, 44, 45, 46, 47, 48,
2014-06-08 16:00:56 +00:00
/* 210 */
49, 50, 51, 52, 53, 54, 1, 120, 3, 92,
2014-06-08 16:00:56 +00:00
/* 220 */
18, 30, 20, 21, 124, 125, 100, 36, 26, 68,
2014-06-08 16:00:56 +00:00
/* 230 */
69, 70, 71, 72, 73, 74, 75, 76, 77, 78,
2014-06-08 16:00:56 +00:00
/* 240 */
79, 115, 26, 32, 92, 93, 1, 120, 121, 18,
2014-06-08 16:00:56 +00:00
/* 250 */
39, 20, 21, 18, 102, 39, 41, 42, 43, 44,
2014-06-08 16:00:56 +00:00
/* 260 */
45, 46, 47, 48, 49, 50, 51, 52, 53, 54,
2014-06-08 16:00:56 +00:00
/* 270 */
1, 55, 120, 62, 39, 30, 116, 117, 62, 92,
2014-06-08 16:00:56 +00:00
/* 280 */
18, 36, 20, 68, 69, 70, 71, 72, 73, 74,
2014-06-08 16:00:56 +00:00
/* 290 */
75, 76, 77, 78, 79, 64, 92, 93, 116, 117,
2014-06-08 16:00:56 +00:00
/* 300 */
93, 95, 96, 97, 19, 20, 102, 120, 20, 102,
2014-06-08 16:00:56 +00:00
/* 310 */
41, 42, 43, 44, 45, 46, 47, 48, 49, 50,
2014-06-08 16:00:56 +00:00
/* 320 */
51, 52, 53, 54, 120, 1, 64, 120, 30, 38,
2014-06-08 16:00:56 +00:00
/* 330 */
18, 40, 20, 1, 36, 3, 67, 68, 69, 70,
2014-06-08 16:00:56 +00:00
/* 340 */
71, 72, 73, 74, 75, 76, 77, 78, 79, 25,
2014-06-08 16:00:56 +00:00
/* 350 */
65, 26, 60, 93, 60, 38, 1, 2, 66, 3,
2014-06-08 16:00:56 +00:00
/* 360 */
66, 20, 102, 113, 39, 41, 42, 43, 44, 45,
2014-06-08 16:00:56 +00:00
/* 370 */
46, 47, 48, 49, 50, 51, 52, 53, 54, 1,
2014-06-08 16:00:56 +00:00
/* 380 */
120, 3, 93, 39, 67, 39, 18, 62, 20, 19,
2014-06-08 16:00:56 +00:00
/* 390 */
2, 102, 68, 69, 70, 71, 72, 73, 74, 75,
2014-06-08 16:00:56 +00:00
/* 400 */
76, 77, 78, 79, 115, 64, 62, 93, 62, 21,
2014-06-08 16:00:56 +00:00
/* 410 */
19, 20, 20, 95, 96, 20, 102, 21, 22, 41,
/* 420 */
42, 43, 44, 45, 46, 47, 48, 49, 50, 51,
2014-06-08 16:00:56 +00:00
/* 430 */
52, 53, 54, 1, 120, 3, 93, 18, 1, 20,
2014-06-08 16:00:56 +00:00
/* 440 */
19, 18, 113, 20, 115, 102, 68, 69, 70, 71,
2014-06-08 16:00:56 +00:00
/* 450 */
72, 73, 74, 75, 76, 77, 78, 79, 62, 25,
2014-06-08 16:00:56 +00:00
/* 460 */
39, 92, 113, 120, 115, 88, 18, 90, 20, 32,
2014-06-08 16:00:56 +00:00
/* 470 */
1, 117, 38, 41, 42, 43, 44, 45, 46, 47,
2014-06-08 16:00:56 +00:00
/* 480 */
48, 49, 50, 51, 52, 53, 54, 1, 87, 120,
2014-06-08 16:00:56 +00:00
/* 490 */
93, 22, 22, 113, 39, 95, 96, 99, 99, 102,
2014-06-08 16:00:56 +00:00
/* 500 */
68, 69, 70, 71, 72, 73, 74, 75, 76, 77,
2014-06-08 16:00:56 +00:00
/* 510 */
78, 79, 115, 115, 115, 93, 16, 31, 89, 30,
2014-06-08 16:00:56 +00:00
/* 520 */
113, 101, 20, 65, 102, 36, 125, 41, 42, 43,
2014-06-08 16:00:56 +00:00
/* 530 */
44, 45, 46, 47, 48, 49, 50, 51, 52, 53,
2014-06-08 16:00:56 +00:00
/* 540 */
54, 1, 101, 101, 93, 65, 19, 39, 19, 3,
2014-06-08 16:00:56 +00:00
/* 550 */
60, 99, 99, 102, 68, 69, 70, 71, 72, 73,
2014-06-08 16:00:56 +00:00
/* 560 */
74, 75, 76, 77, 78, 79, 115, 115, 115, 93,
2014-06-08 16:00:56 +00:00
/* 570 */
93, 27, 37, 2, 20, 37, 20, 20, 102, 102,
2014-06-08 16:00:56 +00:00
/* 580 */
99, 41, 42, 43, 44, 45, 46, 47, 48, 49,
2014-06-08 16:00:56 +00:00
/* 590 */
50, 51, 52, 53, 54, 1, 115, 67, 93, 19,
2014-06-08 16:00:56 +00:00
/* 600 */
2, 20, 20, 56, 20, 1, 99, 102, 68, 69,
2014-06-08 16:00:56 +00:00
/* 610 */
70, 71, 72, 73, 74, 75, 76, 77, 78, 79,
2014-06-08 16:00:56 +00:00
/* 620 */
115, 81, 115, 40, 102, 114, 113, 113, 113, 98,
2014-06-08 16:00:56 +00:00
/* 630 */
118, 115, 2, 30, 40, 41, 42, 43, 44, 45,
2014-06-08 16:00:56 +00:00
/* 640 */
46, 47, 48, 49, 50, 51, 52, 53, 54, 1,
2014-06-08 16:00:56 +00:00
/* 650 */
98, 126, 120, 126, 121, 126, 126, 126, 99, 99,
2014-06-08 16:00:56 +00:00
/* 660 */
99, 126, 68, 69, 70, 71, 72, 73, 74, 75,
2014-06-08 16:00:56 +00:00
/* 670 */
76, 77, 78, 79, 115, 115, 115, 126, 126, 126,
2014-06-08 16:00:56 +00:00
/* 680 */
126, 126, 126, 126, 126, 126, 126, 126, 40, 41,
2014-06-08 16:00:56 +00:00
/* 690 */
42, 43, 44, 45, 46, 47, 48, 49, 50, 51,
2014-06-08 16:00:56 +00:00
/* 700 */
52, 53, 54, 1, 2, 126, 126, 126, 126, 126,
2014-06-08 16:00:56 +00:00
/* 710 */
126, 126, 126, 126, 126, 126, 68, 69, 70, 71,
2014-06-08 16:00:56 +00:00
/* 720 */
72, 73, 74, 75, 76, 77, 78, 79, 126, 126,
2014-06-08 16:00:56 +00:00
/* 730 */
126, 126, 126, 126, 126, 126, 126, 126, 126, 126,
2014-06-08 16:00:56 +00:00
/* 740 */
126, 126, 22, 41, 42, 43, 44, 45, 46, 47,
2014-06-08 16:00:56 +00:00
/* 750 */
48, 49, 50, 51, 52, 53, 54, 1, 126, 126,
2014-06-08 16:00:56 +00:00
/* 760 */
126, 126, 126, 126, 126, 126, 126, 126, 126, 126,
2014-06-08 16:00:56 +00:00
/* 770 */
68, 69, 70, 71, 72, 73, 74, 75, 76, 77,
2014-06-08 16:00:56 +00:00
/* 780 */
78, 79, 62, 126, 126, 126, 126, 126, 126, 126,
2014-06-08 16:00:56 +00:00
/* 790 */
126, 126, 126, 126, 126, 126, 126, 41, 42, 43,
2014-06-08 16:00:56 +00:00
/* 800 */
44, 45, 46, 47, 48, 49, 50, 51, 52, 53,
2014-06-08 16:00:56 +00:00
/* 810 */
54, 126, 126, 126, 126, 126, 126, 126, 126, 126,
2014-06-08 16:00:56 +00:00
/* 820 */
126, 22, 21, 126, 68, 69, 70, 71, 72, 73,
2014-06-08 16:00:56 +00:00
/* 830 */
74, 75, 76, 77, 78, 79, 126, 126, 126, 41,
2014-06-08 16:00:56 +00:00
/* 840 */
42, 43, 44, 45, 46, 47, 48, 49, 50, 51,
2014-06-08 16:00:56 +00:00
/* 850 */
52, 53, 54, 126, 126, 126, 126, 126, 126, 60,
2014-06-08 16:00:56 +00:00
/* 860 */
126, 60, 126, 126, 126, 66, 68, 69, 70, 71,
2014-06-08 16:00:56 +00:00
/* 870 */
72, 73, 74, 75, 76, 77, 78, 79, 126, 126,
2014-06-08 16:00:56 +00:00
/* 880 */
126, 11, 126, 126, 126, 18, 19, 20, 18, 126,
2014-06-08 16:00:56 +00:00
/* 890 */
23, 24, 126, 23, 24, 18, 29, 20, 95, 29,
2014-06-08 16:00:56 +00:00
/* 900 */
33, 34, 35, 33, 37, 35, 39, 30, 126, 42,
2014-06-08 16:00:56 +00:00
/* 910 */
107, 108, 126, 36, 87, 112, 126, 126, 91, 126,
2014-06-08 16:00:56 +00:00
/* 920 */
126, 126, 95, 126, 57, 58, 59, 60, 61, 95,
2014-06-08 16:00:56 +00:00
/* 930 */
63, 104, 65, 66, 107, 108, 109, 110, 126, 112,
2014-06-08 16:00:56 +00:00
/* 940 */
126, 107, 126, 18, 19, 20, 112, 80, 23, 24,
2014-06-08 16:00:56 +00:00
/* 950 */
80, 81, 82, 126, 29, 87, 126, 126, 33, 91,
2014-06-08 16:00:56 +00:00
/* 960 */
35, 126, 37, 95, 39, 126, 126, 42, 126, 126,
2014-06-08 16:00:56 +00:00
/* 970 */
126, 126, 104, 126, 126, 107, 108, 109, 110, 126,
2014-06-08 16:00:56 +00:00
/* 980 */
112, 126, 57, 58, 59, 60, 61, 126, 63, 126,
2014-06-08 16:00:56 +00:00
/* 990 */
65, 66, 67, 126, 126, 126, 3, 11, 126, 126,
2014-06-08 16:00:56 +00:00
/* 1000 */
126, 18, 19, 20, 18, 80, 23, 24, 126, 23,
2014-06-08 16:00:56 +00:00
/* 1010 */
24, 126, 29, 126, 21, 29, 33, 126, 35, 33,
2014-06-08 16:00:56 +00:00
/* 1020 */
37, 35, 39, 30, 126, 42, 126, 126, 126, 36,
2014-06-08 16:00:56 +00:00
/* 1030 */
126, 87, 39, 126, 126, 91, 126, 126, 126, 95,
2014-06-08 16:00:56 +00:00
/* 1040 */
57, 58, 59, 60, 61, 126, 63, 126, 65, 66,
2014-06-08 16:00:56 +00:00
/* 1050 */
126, 107, 108, 109, 110, 62, 112, 126, 126, 18,
2014-06-08 16:00:56 +00:00
/* 1060 */
19, 20, 126, 80, 23, 24, 80, 81, 82, 126,
2014-06-08 16:00:56 +00:00
/* 1070 */
29, 87, 126, 126, 33, 91, 35, 126, 37, 95,
2014-06-08 16:00:56 +00:00
/* 1080 */
39, 126, 126, 42, 126, 126, 126, 126, 126, 126,
2014-06-08 16:00:56 +00:00
/* 1090 */
126, 107, 108, 109, 110, 126, 112, 126, 57, 58,
2014-06-08 16:00:56 +00:00
/* 1100 */
59, 60, 61, 126, 63, 126, 65, 66, 1, 126,
2014-06-08 16:00:56 +00:00
/* 1110 */
3, 126, 18, 126, 20, 126, 126, 18, 19, 20,
2014-06-08 16:00:56 +00:00
/* 1120 */
126, 80, 23, 24, 30, 126, 32, 87, 29, 22,
2014-06-08 16:00:56 +00:00
/* 1130 */
36, 91, 33, 126, 35, 95, 37, 30, 39, 126,
2014-06-08 16:00:56 +00:00
/* 1140 */
126, 42, 126, 36, 126, 126, 39, 107, 108, 109,
2014-06-08 16:00:56 +00:00
/* 1150 */
110, 126, 112, 126, 126, 126, 57, 58, 59, 60,
2014-06-08 16:00:56 +00:00
/* 1160 */
61, 126, 63, 126, 65, 66, 126, 126, 126, 62,
2014-06-08 16:00:56 +00:00
/* 1170 */
126, 18, 126, 20, 126, 18, 19, 20, 126, 80,
2014-06-08 16:00:56 +00:00
/* 1180 */
23, 24, 126, 30, 126, 32, 29, 87, 126, 36,
2014-06-08 16:00:56 +00:00
/* 1190 */
33, 91, 35, 126, 37, 95, 39, 126, 126, 42,
2014-06-08 16:00:56 +00:00
/* 1200 */
126, 126, 126, 126, 126, 126, 126, 107, 108, 109,
2014-06-08 16:00:56 +00:00
/* 1210 */
110, 126, 112, 126, 57, 58, 59, 60, 61, 126,
2014-06-08 16:00:56 +00:00
/* 1220 */
63, 126, 65, 66, 126, 126, 126, 126, 126, 126,
2014-06-08 16:00:56 +00:00
/* 1230 */
126, 126, 126, 18, 19, 20, 126, 80, 23, 24,
2014-06-08 16:00:56 +00:00
/* 1240 */
126, 126, 126, 126, 29, 87, 126, 126, 33, 91,
2014-06-08 16:00:56 +00:00
/* 1250 */
35, 126, 37, 95, 39, 126, 126, 42, 126, 126,
2014-06-08 16:00:56 +00:00
/* 1260 */
126, 126, 126, 126, 126, 107, 108, 109, 110, 126,
2014-06-08 16:00:56 +00:00
/* 1270 */
112, 126, 57, 58, 59, 60, 61, 126, 63, 126,
2014-06-08 16:00:56 +00:00
/* 1280 */
65, 66, 126, 126, 126, 126, 126, 126, 126, 126,
2014-06-08 16:00:56 +00:00
/* 1290 */
126, 18, 19, 20, 126, 80, 23, 24, 126, 126,
2014-06-08 16:00:56 +00:00
/* 1300 */
126, 126, 29, 87, 126, 126, 33, 91, 35, 126,
2014-06-08 16:00:56 +00:00
/* 1310 */
37, 95, 39, 126, 126, 42, 126, 126, 126, 126,
2014-06-08 16:00:56 +00:00
/* 1320 */
126, 126, 126, 107, 108, 109, 110, 126, 112, 126,
2014-06-08 16:00:56 +00:00
/* 1330 */
57, 58, 59, 60, 61, 126, 63, 126, 65, 66,
2014-06-08 16:00:56 +00:00
/* 1340 */
126, 126, 126, 126, 126, 126, 126, 126, 126, 18,
2014-06-08 16:00:56 +00:00
/* 1350 */
19, 20, 126, 80, 23, 24, 126, 126, 126, 126,
2014-06-08 16:00:56 +00:00
/* 1360 */
29, 126, 126, 126, 33, 126, 35, 126, 37, 126,
2014-06-08 16:00:56 +00:00
/* 1370 */
39, 92, 93, 42, 126, 126, 126, 126, 126, 126,
2014-06-08 16:00:56 +00:00
/* 1380 */
126, 102, 126, 126, 105, 106, 126, 126, 57, 58,
2014-06-08 16:00:56 +00:00
/* 1390 */
59, 60, 61, 126, 63, 126, 65, 66, 126, 120,
2014-06-08 16:00:56 +00:00
/* 1400 */
126, 126, 126, 126, 126, 126, 126, 18, 19, 20,
2014-06-08 16:00:56 +00:00
/* 1410 */
126, 80, 23, 24, 126, 126, 126, 126, 29, 126,
2014-06-08 16:00:56 +00:00
/* 1420 */
126, 126, 33, 126, 35, 126, 37, 126, 39, 126,
2014-06-08 16:00:56 +00:00
/* 1430 */
126, 42, 126, 126, 126, 3, 126, 126, 126, 126,
2014-06-08 16:00:56 +00:00
/* 1440 */
126, 126, 126, 126, 126, 126, 57, 58, 59, 60,
2014-06-08 16:00:56 +00:00
/* 1450 */
61, 126, 63, 126, 65, 126, 126, 25, 126, 27,
2014-06-08 16:00:56 +00:00
/* 1460 */
28, 126, 30, 31, 92, 93, 126, 126, 36, 80,
2014-06-08 16:00:56 +00:00
/* 1470 */
38, 39, 40, 126, 102, 126, 126, 105, 106, 126,
2014-06-08 16:00:56 +00:00
/* 1480 */
87, 126, 126, 126, 91, 126, 126, 94, 95, 126,
2014-06-08 16:00:56 +00:00
/* 1490 */
126, 126, 120, 126, 62, 126, 103, 104, 126, 67,
2014-06-08 16:00:56 +00:00
/* 1500 */
107, 108, 109, 110, 126, 112, 126, 126, 126, 126,
2014-06-08 16:00:56 +00:00
/* 1510 */
87, 92, 93, 81, 91, 122, 123, 94, 95, 96,
2014-06-08 16:00:56 +00:00
/* 1520 */
126, 102, 126, 126, 105, 106, 103, 104, 126, 126,
2014-06-08 16:00:56 +00:00
/* 1530 */
107, 108, 109, 110, 87, 112, 126, 126, 91, 120,
2014-06-08 16:00:56 +00:00
/* 1540 */
126, 94, 95, 126, 126, 126, 126, 126, 126, 126,
2014-06-08 16:00:56 +00:00
/* 1550 */
103, 104, 126, 126, 107, 108, 109, 110, 126, 112,
2014-06-08 16:00:56 +00:00
/* 1560 */
87, 92, 93, 126, 91, 126, 119, 94, 95, 126,
2014-06-08 16:00:56 +00:00
/* 1570 */
126, 102, 126, 126, 105, 106, 103, 104, 126, 126,
2014-06-08 16:00:56 +00:00
/* 1580 */
107, 108, 109, 110, 126, 112, 126, 87, 126, 120,
2014-06-08 16:00:56 +00:00
/* 1590 */
126, 91, 119, 126, 94, 95, 126, 126, 126, 126,
2014-06-08 16:00:56 +00:00
/* 1600 */
126, 126, 126, 103, 104, 126, 126, 107, 108, 109,
2014-06-08 16:00:56 +00:00
/* 1610 */
110, 126, 112, 126, 87, 126, 126, 126, 91, 119,
2014-06-08 16:00:56 +00:00
/* 1620 */
126, 94, 95, 126, 126, 126, 126, 126, 126, 126,
2014-06-08 16:00:56 +00:00
/* 1630 */
103, 104, 126, 126, 107, 108, 109, 110, 87, 112,
2014-06-08 16:00:56 +00:00
/* 1640 */
126, 126, 91, 126, 126, 94, 95, 96, 126, 126,
2014-06-08 16:00:56 +00:00
/* 1650 */
123, 126, 126, 126, 103, 104, 126, 126, 107, 108,
2014-06-08 16:00:56 +00:00
/* 1660 */
109, 110, 126, 112, 87, 126, 126, 126, 91, 126,
2014-06-08 16:00:56 +00:00
/* 1670 */
126, 94, 95, 126, 126, 87, 126, 126, 126, 91,
2014-06-08 16:00:56 +00:00
/* 1680 */
103, 104, 94, 95, 107, 108, 109, 110, 126, 112,
2014-06-08 16:00:56 +00:00
/* 1690 */
126, 103, 104, 126, 126, 107, 108, 109, 110, 126,
2014-06-08 16:00:56 +00:00
/* 1700 */
112, 126, 87, 92, 93, 126, 91, 126, 126, 94,
2014-06-08 16:00:56 +00:00
/* 1710 */
95, 126, 126, 102, 126, 126, 105, 106, 103, 104,
2014-06-08 16:00:56 +00:00
/* 1720 */
126, 126, 107, 108, 109, 110, 87, 112, 126, 126,
2014-06-08 16:00:56 +00:00
/* 1730 */
91, 120, 126, 94, 95, 126, 126, 126, 126, 126,
2014-06-08 16:00:56 +00:00
/* 1740 */
126, 126, 103, 104, 126, 126, 107, 108, 109, 110,
2014-06-08 16:00:56 +00:00
/* 1750 */
126, 112, 87, 126, 126, 126, 91, 126, 126, 94,
2014-06-08 16:00:56 +00:00
/* 1760 */
95, 126, 126, 87, 126, 126, 126, 91, 103, 104,
2014-06-08 16:00:56 +00:00
/* 1770 */
94, 95, 107, 108, 109, 110, 126, 112, 126, 103,
2014-06-08 16:00:56 +00:00
/* 1780 */
104, 126, 126, 107, 108, 109, 110, 126, 112, 126,
2014-06-08 16:00:56 +00:00
/* 1790 */
87, 92, 93, 126, 91, 126, 126, 94, 95, 126,
2014-06-08 16:00:56 +00:00
/* 1800 */
126, 102, 126, 126, 105, 106, 103, 104, 126, 126,
2014-06-08 16:00:56 +00:00
/* 1810 */
107, 108, 109, 110, 87, 112, 126, 126, 91, 120,
2014-06-08 16:00:56 +00:00
/* 1820 */
126, 94, 95, 126, 126, 126, 126, 126, 126, 126,
2014-06-08 16:00:56 +00:00
/* 1830 */
103, 104, 126, 126, 107, 108, 109, 110, 126, 112,
2014-06-08 16:00:56 +00:00
/* 1840 */
87, 126, 126, 126, 91, 126, 126, 94, 95, 126,
2014-06-08 16:00:56 +00:00
/* 1850 */
126, 87, 126, 126, 126, 91, 103, 104, 94, 95,
2014-06-08 16:00:56 +00:00
/* 1860 */
107, 108, 109, 110, 126, 112, 126, 103, 104, 126,
2014-06-08 16:00:56 +00:00
/* 1870 */
126, 107, 108, 109, 110, 126, 112, 126, 87, 126,
2014-06-08 16:00:56 +00:00
/* 1880 */
126, 126, 91, 126, 126, 94, 95, 126, 126, 126,
2014-06-08 16:00:56 +00:00
/* 1890 */
126, 126, 126, 126, 103, 104, 126, 126, 107, 108,
2014-06-08 16:00:56 +00:00
/* 1900 */
109, 110, 87, 112, 126, 126, 91, 126, 126, 94,
2014-06-08 16:00:56 +00:00
/* 1910 */
95, 126, 126, 126, 126, 126, 126, 126, 103, 104,
2014-06-08 16:00:56 +00:00
/* 1920 */
126, 126, 107, 108, 109, 110, 126, 112, 87, 126,
2014-06-08 16:00:56 +00:00
/* 1930 */
126, 126, 91, 126, 126, 94, 95, 126, 126, 87,
2014-06-08 16:00:56 +00:00
/* 1940 */
126, 126, 126, 91, 103, 104, 94, 95, 107, 108,
2014-06-08 16:00:56 +00:00
/* 1950 */
109, 110, 126, 112, 126, 103, 104, 126, 126, 107,
2014-06-08 16:00:56 +00:00
/* 1960 */
108, 109, 110, 126, 112, 126, 87, 126, 126, 126,
2014-06-08 16:00:56 +00:00
/* 1970 */
91, 126, 126, 94, 95, 126, 126, 126, 126, 126,
2014-06-08 16:00:56 +00:00
/* 1980 */
126, 126, 103, 104, 126, 126, 107, 108, 109, 110,
2014-06-08 16:00:56 +00:00
/* 1990 */
87, 112, 126, 126, 91, 126, 126, 94, 95, 126,
2014-06-08 16:00:56 +00:00
/* 2000 */
126, 126, 126, 126, 126, 126, 103, 104, 126, 126,
2014-06-08 16:00:56 +00:00
/* 2010 */
107, 108, 109, 110, 126, 112, 87, 126, 126, 126,
2014-06-08 16:00:56 +00:00
/* 2020 */
91, 126, 126, 94, 95, 126, 126, 87, 126, 126,
2014-06-08 16:00:56 +00:00
/* 2030 */
126, 91, 103, 104, 94, 95, 107, 108, 109, 110,
2014-06-08 16:00:56 +00:00
/* 2040 */
126, 112, 126, 103, 104, 126, 126, 107, 108, 109,
2014-06-08 16:00:56 +00:00
/* 2050 */
110, 126, 112, 126, 87, 126, 126, 126, 91, 126,
2014-06-08 16:00:56 +00:00
/* 2060 */
126, 94, 95, 126, 126, 126, 126, 126, 126, 126,
2014-06-08 16:00:56 +00:00
/* 2070 */
103, 104, 126, 126, 107, 108, 109, 110, 87, 112,
2014-06-08 16:00:56 +00:00
/* 2080 */
126, 126, 91, 126, 126, 94, 95, 126, 126, 126,
2014-06-08 16:00:56 +00:00
/* 2090 */
126, 126, 126, 126, 103, 104, 126, 126, 107, 108,
2014-06-08 16:00:56 +00:00
/* 2100 */
109, 110, 126, 112, 87, 126, 126, 126, 91, 126,
2014-06-08 16:00:56 +00:00
/* 2110 */
126, 94, 95, 126, 126, 87, 126, 126, 126, 91,
2014-06-08 16:00:56 +00:00
/* 2120 */
103, 104, 94, 95, 107, 108, 109, 110, 126, 112,
2014-06-08 16:00:56 +00:00
/* 2130 */
126, 103, 104, 126, 126, 107, 108, 109, 110, 126,
2014-06-08 16:00:56 +00:00
/* 2140 */
112, 126, 87, 126, 126, 126, 91, 126, 126, 94,
2014-06-08 16:00:56 +00:00
/* 2150 */
95, 126, 126, 126, 126, 126, 126, 126, 103, 104,
2014-06-08 16:00:56 +00:00
/* 2160 */
126, 126, 107, 108, 109, 110, 87, 112, 126, 126,
2014-06-08 16:00:56 +00:00
/* 2170 */
91, 126, 126, 94, 95, 126, 126, 126, 126, 126,
2014-06-08 16:00:56 +00:00
/* 2180 */
126, 126, 103, 104, 126, 126, 107, 108, 109, 110,
2014-06-08 16:00:56 +00:00
/* 2190 */
126, 112, 87, 126, 126, 126, 91, 126, 126, 94,
2014-06-08 16:00:56 +00:00
/* 2200 */
95, 126, 126, 87, 126, 126, 126, 91, 103, 104,
2014-06-08 16:00:56 +00:00
/* 2210 */
94, 95, 107, 108, 109, 110, 126, 112, 126, 103,
2014-06-08 16:00:56 +00:00
/* 2220 */
104, 126, 126, 107, 108, 109, 110, 126, 112, 126,
2014-06-08 16:00:56 +00:00
/* 2230 */
87, 126, 126, 126, 91, 126, 126, 94, 95, 126,
2014-06-08 16:00:56 +00:00
/* 2240 */
126, 126, 126, 126, 126, 126, 103, 104, 126, 126,
2014-06-08 16:00:56 +00:00
/* 2250 */
107, 108, 109, 110, 87, 112, 126, 126, 91, 126,
2014-06-08 16:00:56 +00:00
/* 2260 */
126, 94, 95, 126, 126, 126, 126, 126, 126, 126,
2014-06-08 16:00:56 +00:00
/* 2270 */
103, 104, 126, 126, 107, 108, 109, 110, 126, 112,
2014-06-08 16:00:56 +00:00
/* 2280 */
87, 126, 126, 126, 91, 126, 126, 94, 95, 126,
2014-06-08 16:00:56 +00:00
/* 2290 */
126, 87, 126, 126, 126, 91, 103, 104, 94, 95,
2014-06-08 16:00:56 +00:00
/* 2300 */
107, 108, 109, 110, 126, 112, 126, 103, 104, 126,
2014-06-08 16:00:56 +00:00
/* 2310 */
126, 107, 108, 109, 110, 126, 112, 126, 87, 126,
/* 2320 */
126, 126, 91, 126, 126, 94, 95, 126, 126, 126,
/* 2330 */
126, 126, 126, 126, 103, 104, 126, 126, 107, 108,
/* 2340 */
109, 110, 87, 112, 126, 126, 91, 126, 126, 94,
/* 2350 */
95, 126, 126, 126, 126, 126, 126, 126, 103, 104,
/* 2360 */
126, 126, 107, 108, 109, 110, 126, 112, 87, 126,
/* 2370 */
126, 126, 91, 126, 126, 94, 95, 126, 126, 87,
/* 2380 */
126, 126, 126, 91, 103, 104, 94, 95, 107, 108,
/* 2390 */
109, 110, 126, 112, 126, 103, 104, 126, 126, 107,
/* 2400 */
108, 109, 110, 126, 112, 126, 87, 126, 126, 126,
/* 2410 */
91, 126, 126, 94, 95, 126, 126, 126, 126, 126,
/* 2420 */
126, 126, 103, 104, 126, 126, 107, 108, 109, 110,
/* 2430 */
87, 112, 126, 126, 91, 126, 126, 94, 95, 126,
/* 2440 */
126, 126, 126, 126, 126, 126, 103, 104, 126, 126,
/* 2450 */
107, 108, 109, 110, 126, 112,
2014-06-08 16:00:56 +00:00
);
const YY_SHIFT_USE_DFLT = - 38;
const YY_SHIFT_MAX = 260;
static public $yy_shift_ofst = array(
2014-06-08 16:00:56 +00:00
/* 0 */
1, 1041, 1041, 1215, 983, 1215, 983, 983, 925, 867,
2014-06-08 16:00:56 +00:00
/* 10 */
867, 983, 983, 983, 983, 983, 983, 983, 983, 983,
2014-06-08 16:00:56 +00:00
/* 20 */
983, 983, 1273, 983, 983, 983, 983, 983, 1273, 983,
2014-06-08 16:00:56 +00:00
/* 30 */
1331, 983, 983, 983, 983, 983, 983, 983, 983, 983,
2014-06-08 16:00:56 +00:00
/* 40 */
983, 983, 1157, 983, 1099, 1099, 1389, 1389, 1389, 1389,
2014-06-08 16:00:56 +00:00
/* 50 */
1389, 1389, - 1, 53, 107, 107, 107, 107, 107, 486,
2014-06-08 16:00:56 +00:00
/* 60 */
432, 594, 648, 702, 324, 161, 215, 378, 269, 540,
2014-06-08 16:00:56 +00:00
/* 70 */
756, 756, 756, 756, 756, 756, 756, 756, 756, 756,
2014-06-08 16:00:56 +00:00
/* 80 */
756, 756, 756, 756, 756, 756, 756, 756, 756, 798,
2014-06-08 16:00:56 +00:00
/* 90 */
798, 1107, 109, 19, 245, 1, 870, 1153, 1094, 135,
2014-06-08 16:00:56 +00:00
/* 100 */
877, 877, 135, 799, 245, 285, 245, 421, 355, 986,
2014-06-08 16:00:56 +00:00
/* 110 */
30, 165, 231, 202, 191, 11, 0, 396, 70, 262,
2014-06-08 16:00:56 +00:00
/* 120 */
419, 419, 419, 419, 448, 437, 368, 332, 312, 391,
2014-06-08 16:00:56 +00:00
/* 130 */
423, 419, 421, 419, 419, 298, 423, 298, 720, 391,
2014-06-08 16:00:56 +00:00
/* 140 */
419, 419, 421, 489, 469, 604, 470, 470, 604, 604,
2014-06-08 16:00:56 +00:00
/* 150 */
604, 604, 604, 604, 604, 604, - 38, 124, 95, 298,
2014-06-08 16:00:56 +00:00
/* 160 */
298, 298, 298, 298, 292, 298, 298, 298, 292, 294,
2014-06-08 16:00:56 +00:00
/* 170 */
292, 298, 298, 292, 298, 298, 298, 292, 235, 292,
2014-06-08 16:00:56 +00:00
/* 180 */
298, 298, 294, 298, 292, 298, 298, 298, 298, 630,
2014-06-08 16:00:56 +00:00
/* 190 */
604, 604, 470, 604, 630, 604, 604, 603, 603, 470,
2014-06-08 16:00:56 +00:00
/* 200 */
455, 470, 500, - 38, - 38, - 38, - 38, - 38, 1432, 993,
2014-06-08 16:00:56 +00:00
/* 210 */
54, 108, 154, 25, 216, 211, 325, 291, 434, 388,
2014-06-08 16:00:56 +00:00
/* 220 */
317, 341, 801, - 37, 79, 346, 129, 344, 529, 490,
2014-06-08 16:00:56 +00:00
/* 230 */
535, 546, 544, 480, 538, 581, 557, 455, 356, 17,
2014-06-08 16:00:56 +00:00
/* 240 */
582, 395, 502, 527, 580, 571, 458, 508, 554, 547,
2014-06-08 16:00:56 +00:00
/* 250 */
584, 598, 556, 530, 583, 288, 370, 125, 66, 4,
/* 260 */
392,
2014-06-08 16:00:56 +00:00
);
const YY_REDUCE_USE_DFLT = - 89;
const YY_REDUCE_MAX = 207;
static public $yy_reduce_ofst = array(
2014-06-08 16:00:56 +00:00
/* 0 */
- 29, 1393, 1527, 1551, 1473, 1423, 1500, 1447, 2193, 2167,
2014-06-08 16:00:56 +00:00
/* 10 */
1703, 1665, 1639, 1588, 1727, 1676, 1615, 2055, 1577, 1967,
2014-06-08 16:00:56 +00:00
/* 20 */
1940, 1991, 2017, 2028, 1929, 1903, 1791, 1764, 1815, 1841,
2014-06-08 16:00:56 +00:00
/* 30 */
1879, 1852, 2079, 2204, 2255, 2292, 2343, 2319, 2281, 2231,
2014-06-08 16:00:56 +00:00
/* 40 */
2116, 2105, 2143, 1753, 868, 827, 984, 944, 1040, 1100,
2014-06-08 16:00:56 +00:00
/* 50 */
1216, 1158, 1469, 1279, 1699, 1611, 1469, 1372, 1419, - 88,
2014-06-08 16:00:56 +00:00
/* 60 */
- 88, - 88, - 88, - 88, - 88, - 88, - 88, - 88, - 88, - 88,
2014-06-08 16:00:56 +00:00
/* 70 */
- 88, - 88, - 88, - 88, - 88, - 88, - 88, - 88, - 88, - 88,
2014-06-08 16:00:56 +00:00
/* 80 */
- 88, - 88, - 88, - 88, - 88, - 88, - 88, - 88, - 88, - 88,
2014-06-08 16:00:56 +00:00
/* 90 */
- 88, 97, 152, 803, 204, 110, 100, 451, 505, 314,
2014-06-08 16:00:56 +00:00
/* 100 */
397, 289, 207, 3, 260, 834, 343, 206, 127, 401,
2014-06-08 16:00:56 +00:00
/* 110 */
- 55, - 55, 329, 126, - 55, 377, 182, 182, 329, 329,
2014-06-08 16:00:56 +00:00
/* 120 */
452, 349, - 36, 453, - 36, - 55, - 36, - 55, 398, 22,
2014-06-08 16:00:56 +00:00
/* 130 */
- 36, 481, 318, 399, 561, 477, 560, 422, 182, 82,
2014-06-08 16:00:56 +00:00
/* 140 */
507, 559, 400, 476, 369, - 55, 182, 160, - 55, 187,
2014-06-08 16:00:56 +00:00
/* 150 */
- 55, - 55, - 55, - 55, - 55, - 55, - 55, 516, 512, 522,
2014-06-08 16:00:56 +00:00
/* 160 */
522, 522, 522, 522, 511, 522, 522, 522, 511, 513,
2014-06-08 16:00:56 +00:00
/* 170 */
511, 522, 522, 511, 522, 522, 522, 511, 515, 511,
2014-06-08 16:00:56 +00:00
/* 180 */
522, 522, 514, 522, 511, 522, 522, 522, 522, 533,
2014-06-08 16:00:56 +00:00
/* 190 */
532, 532, 354, 532, 533, 532, 532, 552, 531, 354,
2014-06-08 16:00:56 +00:00
/* 200 */
380, 354, 429, 442, 407, 441, 420, 250,
2014-06-08 16:00:56 +00:00
);
static public $yyExpectedTokens = array(
2014-06-08 16:00:56 +00:00
/* 0 */
array(4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 18, 23, 24, 29, 33, 35,),
2014-06-08 16:00:56 +00:00
/* 1 */
array(18, 19, 20, 23, 24, 29, 33, 35, 37, 39, 42, 57, 58, 59, 60, 61, 63, 65, 66, 80,),
2014-06-08 16:00:56 +00:00
/* 2 */
array(18, 19, 20, 23, 24, 29, 33, 35, 37, 39, 42, 57, 58, 59, 60, 61, 63, 65, 66, 80,),
2014-06-08 16:00:56 +00:00
/* 3 */
array(18, 19, 20, 23, 24, 29, 33, 35, 37, 39, 42, 57, 58, 59, 60, 61, 63, 65, 66, 80,),
2014-06-08 16:00:56 +00:00
/* 4 */
array(18, 19, 20, 23, 24, 29, 33, 35, 37, 39, 42, 57, 58, 59, 60, 61, 63, 65, 66, 80,),
2014-06-08 16:00:56 +00:00
/* 5 */
array(18, 19, 20, 23, 24, 29, 33, 35, 37, 39, 42, 57, 58, 59, 60, 61, 63, 65, 66, 80,),
2014-06-08 16:00:56 +00:00
/* 6 */
array(18, 19, 20, 23, 24, 29, 33, 35, 37, 39, 42, 57, 58, 59, 60, 61, 63, 65, 66, 80,),
2014-06-08 16:00:56 +00:00
/* 7 */
array(18, 19, 20, 23, 24, 29, 33, 35, 37, 39, 42, 57, 58, 59, 60, 61, 63, 65, 66, 80,),
2014-06-08 16:00:56 +00:00
/* 8 */
array(18, 19, 20, 23, 24, 29, 33, 35, 37, 39, 42, 57, 58, 59, 60, 61, 63, 65, 66, 67, 80,),
2014-06-08 16:00:56 +00:00
/* 9 */
array(18, 19, 20, 23, 24, 29, 33, 34, 35, 37, 39, 42, 57, 58, 59, 60, 61, 63, 65, 66, 80,),
2014-06-08 16:00:56 +00:00
/* 10 */
array(18, 19, 20, 23, 24, 29, 33, 34, 35, 37, 39, 42, 57, 58, 59, 60, 61, 63, 65, 66, 80,),
2014-06-08 16:00:56 +00:00
/* 11 */
array(18, 19, 20, 23, 24, 29, 33, 35, 37, 39, 42, 57, 58, 59, 60, 61, 63, 65, 66, 80,),
2014-06-08 16:00:56 +00:00
/* 12 */
array(18, 19, 20, 23, 24, 29, 33, 35, 37, 39, 42, 57, 58, 59, 60, 61, 63, 65, 66, 80,),
2014-06-08 16:00:56 +00:00
/* 13 */
array(18, 19, 20, 23, 24, 29, 33, 35, 37, 39, 42, 57, 58, 59, 60, 61, 63, 65, 66, 80,),
2014-06-08 16:00:56 +00:00
/* 14 */
array(18, 19, 20, 23, 24, 29, 33, 35, 37, 39, 42, 57, 58, 59, 60, 61, 63, 65, 66, 80,),
2014-06-08 16:00:56 +00:00
/* 15 */
array(18, 19, 20, 23, 24, 29, 33, 35, 37, 39, 42, 57, 58, 59, 60, 61, 63, 65, 66, 80,),
2014-06-08 16:00:56 +00:00
/* 16 */
array(18, 19, 20, 23, 24, 29, 33, 35, 37, 39, 42, 57, 58, 59, 60, 61, 63, 65, 66, 80,),
2014-06-08 16:00:56 +00:00
/* 17 */
array(18, 19, 20, 23, 24, 29, 33, 35, 37, 39, 42, 57, 58, 59, 60, 61, 63, 65, 66, 80,),
2014-06-08 16:00:56 +00:00
/* 18 */
array(18, 19, 20, 23, 24, 29, 33, 35, 37, 39, 42, 57, 58, 59, 60, 61, 63, 65, 66, 80,),
2014-06-08 16:00:56 +00:00
/* 19 */
array(18, 19, 20, 23, 24, 29, 33, 35, 37, 39, 42, 57, 58, 59, 60, 61, 63, 65, 66, 80,),
2014-06-08 16:00:56 +00:00
/* 20 */
array(18, 19, 20, 23, 24, 29, 33, 35, 37, 39, 42, 57, 58, 59, 60, 61, 63, 65, 66, 80,),
2014-06-08 16:00:56 +00:00
/* 21 */
array(18, 19, 20, 23, 24, 29, 33, 35, 37, 39, 42, 57, 58, 59, 60, 61, 63, 65, 66, 80,),
2014-06-08 16:00:56 +00:00
/* 22 */
array(18, 19, 20, 23, 24, 29, 33, 35, 37, 39, 42, 57, 58, 59, 60, 61, 63, 65, 66, 80,),
2014-06-08 16:00:56 +00:00
/* 23 */
array(18, 19, 20, 23, 24, 29, 33, 35, 37, 39, 42, 57, 58, 59, 60, 61, 63, 65, 66, 80,),
2014-06-08 16:00:56 +00:00
/* 24 */
array(18, 19, 20, 23, 24, 29, 33, 35, 37, 39, 42, 57, 58, 59, 60, 61, 63, 65, 66, 80,),
2014-06-08 16:00:56 +00:00
/* 25 */
array(18, 19, 20, 23, 24, 29, 33, 35, 37, 39, 42, 57, 58, 59, 60, 61, 63, 65, 66, 80,),
2014-06-08 16:00:56 +00:00
/* 26 */
array(18, 19, 20, 23, 24, 29, 33, 35, 37, 39, 42, 57, 58, 59, 60, 61, 63, 65, 66, 80,),
2014-06-08 16:00:56 +00:00
/* 27 */
array(18, 19, 20, 23, 24, 29, 33, 35, 37, 39, 42, 57, 58, 59, 60, 61, 63, 65, 66, 80,),
2014-06-08 16:00:56 +00:00
/* 28 */
array(18, 19, 20, 23, 24, 29, 33, 35, 37, 39, 42, 57, 58, 59, 60, 61, 63, 65, 66, 80,),
2014-06-08 16:00:56 +00:00
/* 29 */
array(18, 19, 20, 23, 24, 29, 33, 35, 37, 39, 42, 57, 58, 59, 60, 61, 63, 65, 66, 80,),
2014-06-08 16:00:56 +00:00
/* 30 */
array(18, 19, 20, 23, 24, 29, 33, 35, 37, 39, 42, 57, 58, 59, 60, 61, 63, 65, 66, 80,),
2014-06-08 16:00:56 +00:00
/* 31 */
array(18, 19, 20, 23, 24, 29, 33, 35, 37, 39, 42, 57, 58, 59, 60, 61, 63, 65, 66, 80,),
2014-06-08 16:00:56 +00:00
/* 32 */
array(18, 19, 20, 23, 24, 29, 33, 35, 37, 39, 42, 57, 58, 59, 60, 61, 63, 65, 66, 80,),
2014-06-08 16:00:56 +00:00
/* 33 */
array(18, 19, 20, 23, 24, 29, 33, 35, 37, 39, 42, 57, 58, 59, 60, 61, 63, 65, 66, 80,),
2014-06-08 16:00:56 +00:00
/* 34 */
array(18, 19, 20, 23, 24, 29, 33, 35, 37, 39, 42, 57, 58, 59, 60, 61, 63, 65, 66, 80,),
2014-06-08 16:00:56 +00:00
/* 35 */
array(18, 19, 20, 23, 24, 29, 33, 35, 37, 39, 42, 57, 58, 59, 60, 61, 63, 65, 66, 80,),
2014-06-08 16:00:56 +00:00
/* 36 */
array(18, 19, 20, 23, 24, 29, 33, 35, 37, 39, 42, 57, 58, 59, 60, 61, 63, 65, 66, 80,),
2014-06-08 16:00:56 +00:00
/* 37 */
array(18, 19, 20, 23, 24, 29, 33, 35, 37, 39, 42, 57, 58, 59, 60, 61, 63, 65, 66, 80,),
2014-06-08 16:00:56 +00:00
/* 38 */
array(18, 19, 20, 23, 24, 29, 33, 35, 37, 39, 42, 57, 58, 59, 60, 61, 63, 65, 66, 80,),
2014-06-08 16:00:56 +00:00
/* 39 */
array(18, 19, 20, 23, 24, 29, 33, 35, 37, 39, 42, 57, 58, 59, 60, 61, 63, 65, 66, 80,),
2014-06-08 16:00:56 +00:00
/* 40 */
array(18, 19, 20, 23, 24, 29, 33, 35, 37, 39, 42, 57, 58, 59, 60, 61, 63, 65, 66, 80,),
2014-06-08 16:00:56 +00:00
/* 41 */
array(18, 19, 20, 23, 24, 29, 33, 35, 37, 39, 42, 57, 58, 59, 60, 61, 63, 65, 66, 80,),
2014-06-08 16:00:56 +00:00
/* 42 */
array(18, 19, 20, 23, 24, 29, 33, 35, 37, 39, 42, 57, 58, 59, 60, 61, 63, 65, 66, 80,),
2014-06-08 16:00:56 +00:00
/* 43 */
array(18, 19, 20, 23, 24, 29, 33, 35, 37, 39, 42, 57, 58, 59, 60, 61, 63, 65, 66, 80,),
2014-06-08 16:00:56 +00:00
/* 44 */
array(18, 19, 20, 23, 24, 29, 33, 35, 37, 39, 42, 57, 58, 59, 60, 61, 63, 65, 66, 80,),
2014-06-08 16:00:56 +00:00
/* 45 */
array(18, 19, 20, 23, 24, 29, 33, 35, 37, 39, 42, 57, 58, 59, 60, 61, 63, 65, 66, 80,),
2014-06-08 16:00:56 +00:00
/* 46 */
array(18, 19, 20, 23, 24, 29, 33, 35, 37, 39, 42, 57, 58, 59, 60, 61, 63, 65, 80,),
2014-06-08 16:00:56 +00:00
/* 47 */
array(18, 19, 20, 23, 24, 29, 33, 35, 37, 39, 42, 57, 58, 59, 60, 61, 63, 65, 80,),
2014-06-08 16:00:56 +00:00
/* 48 */
array(18, 19, 20, 23, 24, 29, 33, 35, 37, 39, 42, 57, 58, 59, 60, 61, 63, 65, 80,),
2014-06-08 16:00:56 +00:00
/* 49 */
array(18, 19, 20, 23, 24, 29, 33, 35, 37, 39, 42, 57, 58, 59, 60, 61, 63, 65, 80,),
2014-06-08 16:00:56 +00:00
/* 50 */
array(18, 19, 20, 23, 24, 29, 33, 35, 37, 39, 42, 57, 58, 59, 60, 61, 63, 65, 80,),
2014-06-08 16:00:56 +00:00
/* 51 */
array(18, 19, 20, 23, 24, 29, 33, 35, 37, 39, 42, 57, 58, 59, 60, 61, 63, 65, 80,),
2014-06-08 16:00:56 +00:00
/* 52 */
array(1, 3, 30, 36, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79,),
2014-06-08 16:00:56 +00:00
/* 53 */
array(1, 28, 30, 36, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79,),
2014-06-08 16:00:56 +00:00
/* 54 */
array(1, 30, 36, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79,),
2014-06-08 16:00:56 +00:00
/* 55 */
array(1, 30, 36, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79,),
2014-06-08 16:00:56 +00:00
/* 56 */
array(1, 30, 36, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79,),
2014-06-08 16:00:56 +00:00
/* 57 */
array(1, 30, 36, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79,),
2014-06-08 16:00:56 +00:00
/* 58 */
array(1, 30, 36, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79,),
2014-06-08 16:00:56 +00:00
/* 59 */
array(1, 31, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79,),
2014-06-08 16:00:56 +00:00
/* 60 */
array(1, 3, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79,),
2014-06-08 16:00:56 +00:00
/* 61 */
array(1, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79,),
2014-06-08 16:00:56 +00:00
/* 62 */
array(1, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79,),
2014-06-08 16:00:56 +00:00
/* 63 */
array(1, 2, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79,),
2014-06-08 16:00:56 +00:00
/* 64 */
array(1, 25, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79,),
2014-06-08 16:00:56 +00:00
/* 65 */
array(1, 3, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79,),
2014-06-08 16:00:56 +00:00
/* 66 */
array(1, 3, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79,),
2014-06-08 16:00:56 +00:00
/* 67 */
array(1, 3, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79,),
2014-06-08 16:00:56 +00:00
/* 68 */
array(1, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79,),
2014-06-08 16:00:56 +00:00
/* 69 */
array(1, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 81,),
2014-06-08 16:00:56 +00:00
/* 70 */
array(1, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79,),
2014-06-08 16:00:56 +00:00
/* 71 */
array(1, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79,),
2014-06-08 16:00:56 +00:00
/* 72 */
array(1, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79,),
2014-06-08 16:00:56 +00:00
/* 73 */
array(1, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79,),
2014-06-08 16:00:56 +00:00
/* 74 */
array(1, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79,),
2014-06-08 16:00:56 +00:00
/* 75 */
array(1, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79,),
2014-06-08 16:00:56 +00:00
/* 76 */
array(1, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79,),
2014-06-08 16:00:56 +00:00
/* 77 */
array(1, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79,),
2014-06-08 16:00:56 +00:00
/* 78 */
array(1, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79,),
2014-06-08 16:00:56 +00:00
/* 79 */
array(1, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79,),
2014-06-08 16:00:56 +00:00
/* 80 */
array(1, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79,),
2014-06-08 16:00:56 +00:00
/* 81 */
array(1, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79,),
2014-06-08 16:00:56 +00:00
/* 82 */
array(1, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79,),
2014-06-08 16:00:56 +00:00
/* 83 */
array(1, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79,),
2014-06-08 16:00:56 +00:00
/* 84 */
array(1, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79,),
2014-06-08 16:00:56 +00:00
/* 85 */
array(1, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79,),
2014-06-08 16:00:56 +00:00
/* 86 */
array(1, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79,),
2014-06-08 16:00:56 +00:00
/* 87 */
array(1, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79,),
2014-06-08 16:00:56 +00:00
/* 88 */
array(1, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79,),
2014-06-08 16:00:56 +00:00
/* 89 */
array(41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79,),
2014-06-08 16:00:56 +00:00
/* 90 */
array(41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79,),
2014-06-08 16:00:56 +00:00
/* 91 */
array(1, 3, 22, 30, 36, 39, 62,),
2014-06-08 16:00:56 +00:00
/* 92 */
array(1, 3, 30, 36,),
2014-06-08 16:00:56 +00:00
/* 93 */
array(19, 20, 63, 65,),
2014-06-08 16:00:56 +00:00
/* 94 */
array(1, 30, 36,),
2014-06-08 16:00:56 +00:00
/* 95 */
array(4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 18, 23, 24, 29, 33, 35,),
2014-06-08 16:00:56 +00:00
/* 96 */
array(11, 18, 23, 24, 29, 33, 35, 80, 81, 82,),
2014-06-08 16:00:56 +00:00
/* 97 */
array(18, 20, 30, 32, 36,),
2014-06-08 16:00:56 +00:00
/* 98 */
array(18, 20, 30, 32, 36,),
2014-06-08 16:00:56 +00:00
/* 99 */
array(1, 3, 30, 36,),
2014-06-08 16:00:56 +00:00
/* 100 */
array(18, 20, 30, 36,),
2014-06-08 16:00:56 +00:00
/* 101 */
array(18, 20, 30, 36,),
/* 102 */
array(1, 3, 30, 36,),
2014-06-08 16:00:56 +00:00
/* 103 */
array(22, 60, 66,),
2014-06-08 16:00:56 +00:00
/* 104 */
array(1, 30, 36,),
2014-06-08 16:00:56 +00:00
/* 105 */
array(19, 20, 65,),
2014-06-08 16:00:56 +00:00
/* 106 */
array(1, 30, 36,),
2014-06-08 16:00:56 +00:00
/* 107 */
array(19, 39,),
/* 108 */
array(1, 2,),
2014-06-08 16:00:56 +00:00
/* 109 */
array(11, 18, 23, 24, 29, 33, 35, 80, 81, 82,),
2014-06-08 16:00:56 +00:00
/* 110 */
array(1, 3, 30, 31, 36,),
2014-06-08 16:00:56 +00:00
/* 111 */
array(1, 3, 30, 36,),
2014-06-08 16:00:56 +00:00
/* 112 */
array(18, 20, 21, 64,),
2014-06-08 16:00:56 +00:00
/* 113 */
array(18, 20, 21, 26,),
/* 114 */
array(1, 3, 30, 36,),
2014-06-08 16:00:56 +00:00
/* 115 */
array(15, 16, 17,),
2014-06-08 16:00:56 +00:00
/* 116 */
array(21, 22, 62,),
2014-06-08 16:00:56 +00:00
/* 117 */
array(21, 22, 62,),
2014-06-08 16:00:56 +00:00
/* 118 */
array(18, 20, 21,),
2014-06-08 16:00:56 +00:00
/* 119 */
array(18, 20, 64,),
2014-06-08 16:00:56 +00:00
/* 120 */
array(18, 20,),
2014-06-08 16:00:56 +00:00
/* 121 */
array(18, 20,),
/* 122 */
array(18, 20,),
2014-06-08 16:00:56 +00:00
/* 123 */
array(18, 20,),
2014-06-08 16:00:56 +00:00
/* 124 */
array(18, 20,),
2014-06-08 16:00:56 +00:00
/* 125 */
array(1, 32,),
2014-06-08 16:00:56 +00:00
/* 126 */
array(18, 20,),
2014-06-08 16:00:56 +00:00
/* 127 */
array(1, 3,),
2014-06-08 16:00:56 +00:00
/* 128 */
array(18, 20,),
2014-06-08 16:00:56 +00:00
/* 129 */
array(19, 20,),
2014-06-08 16:00:56 +00:00
/* 130 */
array(18, 20,),
/* 131 */
array(18, 20,),
/* 132 */
array(19, 39,),
2014-06-08 16:00:56 +00:00
/* 133 */
array(18, 20,),
2014-06-08 16:00:56 +00:00
/* 134 */
array(18, 20,),
/* 135 */
array(30, 36,),
2014-06-08 16:00:56 +00:00
/* 136 */
array(18, 20,),
2014-06-08 16:00:56 +00:00
/* 137 */
array(30, 36,),
/* 138 */
array(22, 62,),
/* 139 */
array(19, 20,),
2014-06-08 16:00:56 +00:00
/* 140 */
array(18, 20,),
/* 141 */
array(18, 20,),
/* 142 */
array(19, 39,),
2014-06-08 16:00:56 +00:00
/* 143 */
array(30, 36,),
2014-06-08 16:00:56 +00:00
/* 144 */
array(1, 22,),
2014-06-08 16:00:56 +00:00
/* 145 */
array(1,),
2014-06-08 16:00:56 +00:00
/* 146 */
array(22,),
2014-06-08 16:00:56 +00:00
/* 147 */
array(22,),
2014-06-08 16:00:56 +00:00
/* 148 */
array(1,),
2014-06-08 16:00:56 +00:00
/* 149 */
array(1,),
/* 150 */
array(1,),
/* 151 */
array(1,),
2014-06-08 16:00:56 +00:00
/* 152 */
array(1,),
/* 153 */
array(1,),
2014-06-08 16:00:56 +00:00
/* 154 */
array(1,),
/* 155 */
array(1,),
2014-06-08 16:00:56 +00:00
/* 156 */
array(),
/* 157 */
array(18, 20, 64,),
2014-06-08 16:00:56 +00:00
/* 158 */
array(18, 19, 20,),
/* 159 */
array(30, 36,),
2014-06-08 16:00:56 +00:00
/* 160 */
array(30, 36,),
2014-06-08 16:00:56 +00:00
/* 161 */
array(30, 36,),
2014-06-08 16:00:56 +00:00
/* 162 */
array(30, 36,),
2014-06-08 16:00:56 +00:00
/* 163 */
array(30, 36,),
2014-06-08 16:00:56 +00:00
/* 164 */
array(60, 66,),
2014-06-08 16:00:56 +00:00
/* 165 */
array(30, 36,),
2014-06-08 16:00:56 +00:00
/* 166 */
array(30, 36,),
2014-06-08 16:00:56 +00:00
/* 167 */
array(30, 36,),
2014-06-08 16:00:56 +00:00
/* 168 */
array(60, 66,),
2014-06-08 16:00:56 +00:00
/* 169 */
array(60, 66,),
2014-06-08 16:00:56 +00:00
/* 170 */
array(60, 66,),
2014-06-08 16:00:56 +00:00
/* 171 */
array(30, 36,),
2014-06-08 16:00:56 +00:00
/* 172 */
array(30, 36,),
/* 173 */
array(60, 66,),
2014-06-08 16:00:56 +00:00
/* 174 */
array(30, 36,),
2014-06-08 16:00:56 +00:00
/* 175 */
array(30, 36,),
2014-06-08 16:00:56 +00:00
/* 176 */
array(30, 36,),
2014-06-08 16:00:56 +00:00
/* 177 */
array(60, 66,),
2014-06-08 16:00:56 +00:00
/* 178 */
array(18, 39,),
2014-06-08 16:00:56 +00:00
/* 179 */
array(60, 66,),
2014-06-08 16:00:56 +00:00
/* 180 */
array(30, 36,),
2014-06-08 16:00:56 +00:00
/* 181 */
array(30, 36,),
/* 182 */
array(60, 66,),
2014-06-08 16:00:56 +00:00
/* 183 */
array(30, 36,),
2014-06-08 16:00:56 +00:00
/* 184 */
array(60, 66,),
2014-06-08 16:00:56 +00:00
/* 185 */
array(30, 36,),
2014-06-08 16:00:56 +00:00
/* 186 */
array(30, 36,),
/* 187 */
array(30, 36,),
2014-06-08 16:00:56 +00:00
/* 188 */
array(30, 36,),
2014-06-08 16:00:56 +00:00
/* 189 */
array(2,),
2014-06-08 16:00:56 +00:00
/* 190 */
array(1,),
2014-06-08 16:00:56 +00:00
/* 191 */
array(1,),
2014-06-08 16:00:56 +00:00
/* 192 */
array(22,),
2014-06-08 16:00:56 +00:00
/* 193 */
array(1,),
/* 194 */
array(2,),
2014-06-08 16:00:56 +00:00
/* 195 */
array(1,),
2014-06-08 16:00:56 +00:00
/* 196 */
array(1,),
2014-06-08 16:00:56 +00:00
/* 197 */
array(30,),
2014-06-08 16:00:56 +00:00
/* 198 */
array(30,),
2014-06-08 16:00:56 +00:00
/* 199 */
array(22,),
/* 200 */
array(39,),
/* 201 */
array(22,),
/* 202 */
array(16,),
2014-06-08 16:00:56 +00:00
/* 203 */
array(),
2014-06-08 16:00:56 +00:00
/* 204 */
array(),
/* 205 */
array(),
/* 206 */
array(),
/* 207 */
array(),
/* 208 */
array(3, 25, 27, 28, 30, 31, 36, 38, 39, 40, 62, 67, 81,),
2014-06-08 16:00:56 +00:00
/* 209 */
array(3, 21, 30, 36, 39, 62,),
2014-06-08 16:00:56 +00:00
/* 210 */
array(26, 39, 55, 62, 81,),
2014-06-08 16:00:56 +00:00
/* 211 */
array(3, 26, 39, 55, 62,),
2014-06-08 16:00:56 +00:00
/* 212 */
array(18, 19, 20, 37,),
2014-06-08 16:00:56 +00:00
/* 213 */
array(39, 60, 62, 67,),
2014-06-08 16:00:56 +00:00
/* 214 */
array(26, 39, 55, 62,),
2014-06-08 16:00:56 +00:00
/* 215 */
array(32, 39, 62,),
2014-06-08 16:00:56 +00:00
/* 216 */
array(26, 39, 62,),
2014-06-08 16:00:56 +00:00
/* 217 */
array(38, 40,),
2014-06-08 16:00:56 +00:00
/* 218 */
array(25, 38,),
2014-06-08 16:00:56 +00:00
/* 219 */
array(2, 21,),
2014-06-08 16:00:56 +00:00
/* 220 */
array(38, 67,),
2014-06-08 16:00:56 +00:00
/* 221 */
array(20, 64,),
2014-06-08 16:00:56 +00:00
/* 222 */
array(21, 60,),
/* 223 */
array(38, 40,),
2014-06-08 16:00:56 +00:00
/* 224 */
array(39, 62,),
2014-06-08 16:00:56 +00:00
/* 225 */
array(39, 62,),
2014-06-08 16:00:56 +00:00
/* 226 */
array(38, 40,),
2014-06-08 16:00:56 +00:00
/* 227 */
array(39, 62,),
/* 228 */
array(19,),
2014-06-08 16:00:56 +00:00
/* 229 */
array(60,),
2014-06-08 16:00:56 +00:00
/* 230 */
array(37,),
2014-06-08 16:00:56 +00:00
/* 231 */
array(3,),
/* 232 */
array(27,),
2014-06-08 16:00:56 +00:00
/* 233 */
array(65,),
2014-06-08 16:00:56 +00:00
/* 234 */
array(37,),
2014-06-08 16:00:56 +00:00
/* 235 */
array(20,),
2014-06-08 16:00:56 +00:00
/* 236 */
array(20,),
2014-06-08 16:00:56 +00:00
/* 237 */
array(39,),
/* 238 */
array(3,),
2014-06-08 16:00:56 +00:00
/* 239 */
array(3,),
2014-06-08 16:00:56 +00:00
/* 240 */
array(20,),
2014-06-08 16:00:56 +00:00
/* 241 */
array(20,),
2014-06-08 16:00:56 +00:00
/* 242 */
array(20,),
/* 243 */
array(19,),
2014-06-08 16:00:56 +00:00
/* 244 */
array(19,),
/* 245 */
array(2,),
/* 246 */
array(65,),
2014-06-08 16:00:56 +00:00
/* 247 */
array(39,),
2014-06-08 16:00:56 +00:00
/* 248 */
array(20,),
2014-06-08 16:00:56 +00:00
/* 249 */
array(56,),
2014-06-08 16:00:56 +00:00
/* 250 */
array(20,),
2014-06-08 16:00:56 +00:00
/* 251 */
array(2,),
2014-06-08 16:00:56 +00:00
/* 252 */
array(20,),
/* 253 */
array(67,),
2014-06-08 16:00:56 +00:00
/* 254 */
array(40,),
2014-06-08 16:00:56 +00:00
/* 255 */
array(20,),
/* 256 */
array(19,),
2014-06-08 16:00:56 +00:00
/* 257 */
array(21,),
2014-06-08 16:00:56 +00:00
/* 258 */
array(20,),
/* 259 */
array(19,),
2014-06-08 16:00:56 +00:00
/* 260 */
array(20,),
2014-06-08 16:00:56 +00:00
/* 261 */
array(),
/* 262 */
array(),
/* 263 */
array(),
/* 264 */
array(),
/* 265 */
array(),
/* 266 */
array(),
/* 267 */
array(),
/* 268 */
array(),
/* 269 */
array(),
/* 270 */
array(),
/* 271 */
array(),
/* 272 */
array(),
/* 273 */
array(),
/* 274 */
array(),
/* 275 */
array(),
/* 276 */
array(),
/* 277 */
array(),
/* 278 */
array(),
/* 279 */
array(),
/* 280 */
array(),
/* 281 */
array(),
/* 282 */
array(),
/* 283 */
array(),
/* 284 */
array(),
/* 285 */
array(),
/* 286 */
array(),
/* 287 */
array(),
/* 288 */
array(),
/* 289 */
array(),
/* 290 */
array(),
/* 291 */
array(),
/* 292 */
array(),
/* 293 */
array(),
/* 294 */
array(),
/* 295 */
array(),
/* 296 */
array(),
/* 297 */
array(),
/* 298 */
array(),
/* 299 */
array(),
/* 300 */
array(),
/* 301 */
array(),
/* 302 */
array(),
/* 303 */
array(),
/* 304 */
array(),
/* 305 */
array(),
/* 306 */
array(),
/* 307 */
array(),
/* 308 */
array(),
/* 309 */
array(),
/* 310 */
array(),
/* 311 */
array(),
/* 312 */
array(),
/* 313 */
array(),
/* 314 */
array(),
/* 315 */
array(),
/* 316 */
array(),
/* 317 */
array(),
/* 318 */
array(),
/* 319 */
array(),
/* 320 */
array(),
/* 321 */
array(),
/* 322 */
array(),
/* 323 */
array(),
/* 324 */
array(),
/* 325 */
array(),
/* 326 */
array(),
/* 327 */
array(),
/* 328 */
array(),
/* 329 */
array(),
/* 330 */
array(),
/* 331 */
array(),
/* 332 */
array(),
/* 333 */
array(),
/* 334 */
array(),
/* 335 */
array(),
/* 336 */
array(),
/* 337 */
array(),
/* 338 */
array(),
/* 339 */
array(),
/* 340 */
array(),
/* 341 */
array(),
/* 342 */
array(),
/* 343 */
array(),
/* 344 */
array(),
/* 345 */
array(),
/* 346 */
array(),
/* 347 */
array(),
/* 348 */
array(),
/* 349 */
array(),
/* 350 */
array(),
/* 351 */
array(),
/* 352 */
array(),
/* 353 */
array(),
/* 354 */
array(),
/* 355 */
array(),
/* 356 */
array(),
/* 357 */
array(),
/* 358 */
array(),
/* 359 */
array(),
/* 360 */
array(),
/* 361 */
array(),
/* 362 */
array(),
2014-06-08 16:00:56 +00:00
);
static public $yy_default = array(
2014-06-08 16:00:56 +00:00
/* 0 */
366, 549, 566, 566, 520, 566, 520, 520, 566, 566,
2014-06-08 16:00:56 +00:00
/* 10 */
566, 566, 566, 566, 566, 566, 566, 566, 566, 566,
2014-06-08 16:00:56 +00:00
/* 20 */
566, 566, 566, 566, 566, 566, 566, 566, 566, 566,
2014-06-08 16:00:56 +00:00
/* 30 */
566, 566, 566, 566, 566, 566, 566, 566, 566, 566,
2014-06-08 16:00:56 +00:00
/* 40 */
566, 566, 566, 566, 566, 566, 566, 566, 566, 566,
2014-06-08 16:00:56 +00:00
/* 50 */
566, 566, 566, 423, 400, 423, 423, 392, 423, 428,
2014-06-08 16:00:56 +00:00
/* 60 */
566, 566, 566, 566, 566, 566, 566, 566, 566, 566,
2014-06-08 16:00:56 +00:00
/* 70 */
456, 433, 519, 457, 425, 551, 447, 453, 518, 405,
2014-06-08 16:00:56 +00:00
/* 80 */
452, 444, 448, 449, 428, 430, 550, 552, 434, 459,
2014-06-08 16:00:56 +00:00
/* 90 */
460, 471, 436, 566, 423, 363, 566, 423, 423, 443,
2014-06-08 16:00:56 +00:00
/* 100 */
423, 423, 478, 532, 423, 566, 423, 566, 414, 566,
2014-06-08 16:00:56 +00:00
/* 110 */
436, 436, 493, 566, 436, 566, 484, 484, 493, 493,
2014-06-08 16:00:56 +00:00
/* 120 */
566, 493, 566, 566, 566, 436, 566, 436, 566, 566,
2014-06-08 16:00:56 +00:00
/* 130 */
566, 566, 566, 566, 566, 402, 566, 423, 484, 566,
2014-06-08 16:00:56 +00:00
/* 140 */
566, 566, 566, 423, 417, 436, 484, 529, 439, 419,
2014-06-08 16:00:56 +00:00
/* 150 */
462, 463, 464, 441, 446, 440, 527, 494, 566, 409,
2014-06-08 16:00:56 +00:00
/* 160 */
395, 403, 394, 404, 511, 388, 399, 398, 490, 489,
2014-06-08 16:00:56 +00:00
/* 170 */
488, 412, 397, 512, 407, 387, 390, 510, 493, 491,
2014-06-08 16:00:56 +00:00
/* 180 */
413, 410, 487, 389, 513, 408, 393, 411, 401, 521,
2014-06-08 16:00:56 +00:00
/* 190 */
415, 418, 533, 420, 522, 478, 443, 565, 565, 507,
2014-06-08 16:00:56 +00:00
/* 200 */
493, 530, 383, 526, 493, 526, 526, 493, 438, 471,
2014-06-08 16:00:56 +00:00
/* 210 */
461, 461, 566, 471, 461, 471, 461, 566, 566, 505,
2014-06-08 16:00:56 +00:00
/* 220 */
566, 566, 467, 566, 471, 566, 566, 479, 566, 467,
2014-06-08 16:00:56 +00:00
/* 230 */
469, 566, 431, 566, 566, 566, 566, 505, 566, 566,
2014-06-08 16:00:56 +00:00
/* 240 */
566, 566, 566, 566, 566, 505, 566, 531, 566, 473,
2014-06-08 16:00:56 +00:00
/* 250 */
566, 505, 566, 566, 566, 566, 566, 566, 566, 566,
2014-06-08 16:00:56 +00:00
/* 260 */
566, 516, 501, 515, 506, 364, 528, 498, 424, 514,
2014-06-08 16:00:56 +00:00
/* 270 */
473, 502, 500, 564, 406, 435, 499, 432, 534, 465,
2014-06-08 16:00:56 +00:00
/* 280 */
466, 468, 470, 524, 523, 504, 505, 525, 472, 437,
2014-06-08 16:00:56 +00:00
/* 290 */
496, 497, 474, 475, 503, 495, 438, 485, 492, 422,
2014-06-08 16:00:56 +00:00
/* 300 */
421, 371, 372, 373, 374, 370, 369, 365, 367, 368,
2014-06-08 16:00:56 +00:00
/* 310 */
375, 376, 382, 384, 385, 381, 380, 377, 378, 379,
2014-06-08 16:00:56 +00:00
/* 320 */
476, 477, 416, 560, 553, 554, 508, 561, 481, 482,
2014-06-08 16:00:56 +00:00
/* 330 */
483, 555, 558, 546, 548, 547, 556, 563, 557, 559,
2014-06-08 16:00:56 +00:00
/* 340 */
562, 458, 442, 451, 454, 455, 535, 450, 509, 480,
2014-06-08 16:00:56 +00:00
/* 350 */
445, 486, 536, 537, 543, 544, 545, 542, 541, 538,
/* 360 */
539, 540, 517,
2014-06-08 16:00:56 +00:00
);
const YYNOCODE = 127;
const YYSTACKDEPTH = 500;
const YYNSTATE = 363;
const YYNRULE = 203;
const YYERRORSYMBOL = 83;
const YYERRSYMDT = 'yy0';
const YYFALLBACK = 0;
2014-06-08 16:00:56 +00:00
public static $yyFallback = array();
public function Trace($TraceFILE, $zTracePrompt)
{
if (!$TraceFILE) {
$zTracePrompt = 0;
} elseif (!$zTracePrompt) {
$TraceFILE = 0;
}
$this->yyTraceFILE = $TraceFILE;
$this->yyTracePrompt = $zTracePrompt;
}
public function PrintTrace()
{
$this->yyTraceFILE = fopen('php://output', 'w');
$this->yyTracePrompt = '<br>';
}
public $yyTraceFILE;
public $yyTracePrompt;
public $yyidx; /* Index of top element in stack */
public $yyerrcnt; /* Shifts left before out of the error */
public $yystack = array(); /* The parser's stack */
public $yyTokenName = array(
2014-06-08 16:00:56 +00:00
'$', 'VERT', 'COLON', 'RDEL',
'COMMENT', 'PHPSTARTTAG', 'PHPENDTAG', 'PHPENDSCRIPT',
'ASPSTARTTAG', 'ASPENDTAG', 'XMLTAG', 'TEXT',
'STRIPON', 'STRIPOFF', 'BLOCKSOURCE', 'LITERALSTART',
'LITERALEND', 'LITERAL', 'LDEL', 'DOLLAR',
'ID', 'EQUAL', 'PTR', 'LDELIF',
'LDELFOR', 'SEMICOLON', 'INCDEC', 'TO',
'STEP', 'LDELFOREACH', 'SPACE', 'AS',
'APTR', 'LDELSETFILTER', 'SMARTYBLOCKCHILDPARENT', 'LDELSLASH',
'ATTR', 'INTEGER', 'COMMA', 'OPENP',
'CLOSEP', 'MATH', 'UNIMATH', 'ANDSYM',
'ISIN', 'ISDIVBY', 'ISNOTDIVBY', 'ISEVEN',
'ISNOTEVEN', 'ISEVENBY', 'ISNOTEVENBY', 'ISODD',
'ISNOTODD', 'ISODDBY', 'ISNOTODDBY', 'INSTANCEOF',
'QMARK', 'NOT', 'TYPECAST', 'HEX',
'DOT', 'SINGLEQUOTESTRING', 'DOUBLECOLON', 'NAMESPACE',
'AT', 'HATCH', 'OPENB', 'CLOSEB',
'EQUALS', 'NOTEQUALS', 'GREATERTHAN', 'LESSTHAN',
'GREATEREQUAL', 'LESSEQUAL', 'IDENTITY', 'NONEIDENTITY',
'MOD', 'LAND', 'LOR', 'LXOR',
'QUOTE', 'BACKTICK', 'DOLLARID', 'error',
'start', 'template', 'template_element', 'smartytag',
'literal', 'literal_elements', 'literal_element', 'value',
'modifierlist', 'attributes', 'expr', 'varindexed',
'statement', 'statements', 'optspace', 'varvar',
'foraction', 'modparameters', 'attribute', 'ternary',
'array', 'ifcond', 'lop', 'variable',
'ns1', 'function', 'doublequoted_with_quotes', 'static_class_access',
'object', 'arrayindex', 'indexdef', 'varvarele',
'objectchain', 'objectelement', 'method', 'params',
'modifier', 'modparameter', 'arrayelements', 'arrayelement',
'doublequoted', 'doublequotedcontent',
);
public static $yyRuleName = array(
2014-06-08 16:00:56 +00:00
/* 0 */
"start ::= template",
/* 1 */
"template ::= template_element",
/* 2 */
"template ::= template template_element",
/* 3 */
"template ::=",
/* 4 */
"template_element ::= smartytag RDEL",
/* 5 */
"template_element ::= COMMENT",
/* 6 */
"template_element ::= literal",
/* 7 */
"template_element ::= PHPSTARTTAG",
/* 8 */
"template_element ::= PHPENDTAG",
/* 9 */
"template_element ::= PHPENDSCRIPT",
2014-06-08 16:00:56 +00:00
/* 10 */
"template_element ::= ASPSTARTTAG",
2014-06-08 16:00:56 +00:00
/* 11 */
"template_element ::= ASPENDTAG",
2014-06-08 16:00:56 +00:00
/* 12 */
"template_element ::= XMLTAG",
/* 13 */
"template_element ::= TEXT",
/* 14 */
"template_element ::= STRIPON",
/* 15 */
"template_element ::= STRIPOFF",
/* 16 */
"template_element ::= BLOCKSOURCE",
/* 17 */
"literal ::= LITERALSTART LITERALEND",
/* 18 */
"literal ::= LITERALSTART literal_elements LITERALEND",
/* 19 */
"literal_elements ::= literal_elements literal_element",
/* 20 */
"literal_elements ::=",
/* 21 */
"literal_element ::= literal",
/* 22 */
"literal_element ::= LITERAL",
/* 23 */
"smartytag ::= LDEL value",
2014-06-08 16:00:56 +00:00
/* 24 */
"smartytag ::= LDEL value modifierlist attributes",
2014-06-08 16:00:56 +00:00
/* 25 */
"smartytag ::= LDEL value attributes",
2014-06-08 16:00:56 +00:00
/* 26 */
"smartytag ::= LDEL expr modifierlist attributes",
2014-06-08 16:00:56 +00:00
/* 27 */
"smartytag ::= LDEL expr attributes",
2014-06-08 16:00:56 +00:00
/* 28 */
"smartytag ::= LDEL DOLLAR ID EQUAL value",
2014-06-08 16:00:56 +00:00
/* 29 */
"smartytag ::= LDEL DOLLAR ID EQUAL expr",
2014-06-08 16:00:56 +00:00
/* 30 */
"smartytag ::= LDEL DOLLAR ID EQUAL expr attributes",
2014-06-08 16:00:56 +00:00
/* 31 */
"smartytag ::= LDEL varindexed EQUAL expr attributes",
2014-06-08 16:00:56 +00:00
/* 32 */
"smartytag ::= LDEL ID attributes",
2014-06-08 16:00:56 +00:00
/* 33 */
"smartytag ::= LDEL ID",
2014-06-08 16:00:56 +00:00
/* 34 */
"smartytag ::= LDEL ID PTR ID attributes",
2014-06-08 16:00:56 +00:00
/* 35 */
"smartytag ::= LDEL ID modifierlist attributes",
2014-06-08 16:00:56 +00:00
/* 36 */
"smartytag ::= LDEL ID PTR ID modifierlist attributes",
2014-06-08 16:00:56 +00:00
/* 37 */
"smartytag ::= LDELIF expr",
2014-06-08 16:00:56 +00:00
/* 38 */
"smartytag ::= LDELIF expr attributes",
2014-06-08 16:00:56 +00:00
/* 39 */
"smartytag ::= LDELIF statement",
2014-06-08 16:00:56 +00:00
/* 40 */
"smartytag ::= LDELIF statement attributes",
2014-06-08 16:00:56 +00:00
/* 41 */
"smartytag ::= LDELFOR statements SEMICOLON optspace expr SEMICOLON optspace DOLLAR varvar foraction attributes",
2014-06-08 16:00:56 +00:00
/* 42 */
"foraction ::= EQUAL expr",
2014-06-08 16:00:56 +00:00
/* 43 */
"foraction ::= INCDEC",
2014-06-08 16:00:56 +00:00
/* 44 */
"smartytag ::= LDELFOR statement TO expr attributes",
2014-06-08 16:00:56 +00:00
/* 45 */
"smartytag ::= LDELFOR statement TO expr STEP expr attributes",
2014-06-08 16:00:56 +00:00
/* 46 */
"smartytag ::= LDELFOREACH attributes",
2014-06-08 16:00:56 +00:00
/* 47 */
"smartytag ::= LDELFOREACH SPACE value AS DOLLAR varvar attributes",
2014-06-08 16:00:56 +00:00
/* 48 */
"smartytag ::= LDELFOREACH SPACE value AS DOLLAR varvar APTR DOLLAR varvar attributes",
2014-06-08 16:00:56 +00:00
/* 49 */
"smartytag ::= LDELFOREACH SPACE expr AS DOLLAR varvar attributes",
2014-06-08 16:00:56 +00:00
/* 50 */
"smartytag ::= LDELFOREACH SPACE expr AS DOLLAR varvar APTR DOLLAR varvar attributes",
2014-06-08 16:00:56 +00:00
/* 51 */
"smartytag ::= LDELSETFILTER ID modparameters",
2014-06-08 16:00:56 +00:00
/* 52 */
"smartytag ::= LDELSETFILTER ID modparameters modifierlist",
2014-06-08 16:00:56 +00:00
/* 53 */
"smartytag ::= LDEL SMARTYBLOCKCHILDPARENT",
2014-06-08 16:00:56 +00:00
/* 54 */
"smartytag ::= LDELSLASH ID",
2014-06-08 16:00:56 +00:00
/* 55 */
"smartytag ::= LDELSLASH ID modifierlist",
2014-06-08 16:00:56 +00:00
/* 56 */
"smartytag ::= LDELSLASH ID PTR ID",
2014-06-08 16:00:56 +00:00
/* 57 */
"smartytag ::= LDELSLASH ID PTR ID modifierlist",
2014-06-08 16:00:56 +00:00
/* 58 */
"attributes ::= attributes attribute",
2014-06-08 16:00:56 +00:00
/* 59 */
"attributes ::= attribute",
2014-06-08 16:00:56 +00:00
/* 60 */
"attributes ::=",
2014-06-08 16:00:56 +00:00
/* 61 */
"attribute ::= SPACE ID EQUAL ID",
2014-06-08 16:00:56 +00:00
/* 62 */
"attribute ::= ATTR expr",
2014-06-08 16:00:56 +00:00
/* 63 */
"attribute ::= ATTR value",
2014-06-08 16:00:56 +00:00
/* 64 */
"attribute ::= SPACE ID",
2014-06-08 16:00:56 +00:00
/* 65 */
"attribute ::= SPACE expr",
2014-06-08 16:00:56 +00:00
/* 66 */
"attribute ::= SPACE value",
2014-06-08 16:00:56 +00:00
/* 67 */
"attribute ::= SPACE INTEGER EQUAL expr",
2014-06-08 16:00:56 +00:00
/* 68 */
"statements ::= statement",
2014-06-08 16:00:56 +00:00
/* 69 */
"statements ::= statements COMMA statement",
2014-06-08 16:00:56 +00:00
/* 70 */
"statement ::= DOLLAR varvar EQUAL expr",
2014-06-08 16:00:56 +00:00
/* 71 */
"statement ::= varindexed EQUAL expr",
2014-06-08 16:00:56 +00:00
/* 72 */
"statement ::= OPENP statement CLOSEP",
2014-06-08 16:00:56 +00:00
/* 73 */
"expr ::= value",
2014-06-08 16:00:56 +00:00
/* 74 */
"expr ::= ternary",
2014-06-08 16:00:56 +00:00
/* 75 */
"expr ::= DOLLAR ID COLON ID",
2014-06-08 16:00:56 +00:00
/* 76 */
"expr ::= expr MATH value",
2014-06-08 16:00:56 +00:00
/* 77 */
"expr ::= expr UNIMATH value",
2014-06-08 16:00:56 +00:00
/* 78 */
"expr ::= expr ANDSYM value",
2014-06-08 16:00:56 +00:00
/* 79 */
"expr ::= array",
2014-06-08 16:00:56 +00:00
/* 80 */
"expr ::= expr modifierlist",
2014-06-08 16:00:56 +00:00
/* 81 */
"expr ::= expr ifcond expr",
2014-06-08 16:00:56 +00:00
/* 82 */
"expr ::= expr ISIN array",
2014-06-08 16:00:56 +00:00
/* 83 */
"expr ::= expr ISIN value",
2014-06-08 16:00:56 +00:00
/* 84 */
"expr ::= expr lop expr",
2014-06-08 16:00:56 +00:00
/* 85 */
"expr ::= expr ISDIVBY expr",
2014-06-08 16:00:56 +00:00
/* 86 */
"expr ::= expr ISNOTDIVBY expr",
2014-06-08 16:00:56 +00:00
/* 87 */
"expr ::= expr ISEVEN",
2014-06-08 16:00:56 +00:00
/* 88 */
"expr ::= expr ISNOTEVEN",
2014-06-08 16:00:56 +00:00
/* 89 */
"expr ::= expr ISEVENBY expr",
2014-06-08 16:00:56 +00:00
/* 90 */
"expr ::= expr ISNOTEVENBY expr",
2014-06-08 16:00:56 +00:00
/* 91 */
"expr ::= expr ISODD",
2014-06-08 16:00:56 +00:00
/* 92 */
"expr ::= expr ISNOTODD",
2014-06-08 16:00:56 +00:00
/* 93 */
"expr ::= expr ISODDBY expr",
2014-06-08 16:00:56 +00:00
/* 94 */
"expr ::= expr ISNOTODDBY expr",
2014-06-08 16:00:56 +00:00
/* 95 */
"expr ::= variable INSTANCEOF ns1",
2014-06-08 16:00:56 +00:00
/* 96 */
"ternary ::= OPENP expr CLOSEP QMARK DOLLAR ID COLON expr",
/* 97 */
"ternary ::= OPENP expr CLOSEP QMARK expr COLON expr",
/* 98 */
"value ::= variable",
/* 99 */
"value ::= UNIMATH value",
/* 100 */
"value ::= NOT value",
/* 101 */
"value ::= TYPECAST value",
/* 102 */
"value ::= variable INCDEC",
/* 103 */
"value ::= HEX",
/* 104 */
"value ::= INTEGER",
/* 105 */
"value ::= INTEGER DOT INTEGER",
/* 106 */
"value ::= INTEGER DOT",
/* 107 */
"value ::= DOT INTEGER",
/* 108 */
"value ::= ID",
/* 109 */
"value ::= function",
/* 110 */
"value ::= OPENP expr CLOSEP",
/* 111 */
"value ::= SINGLEQUOTESTRING",
/* 112 */
"value ::= doublequoted_with_quotes",
/* 113 */
"value ::= varindexed DOUBLECOLON static_class_access",
/* 114 */
"value ::= smartytag RDEL",
/* 115 */
"value ::= value modifierlist",
/* 116 */
"value ::= NAMESPACE",
/* 117 */
"value ::= ns1 DOUBLECOLON static_class_access",
/* 118 */
"ns1 ::= ID",
/* 119 */
"ns1 ::= NAMESPACE",
/* 120 */
"ns1 ::= variable",
/* 121 */
"variable ::= varindexed",
/* 122 */
"variable ::= DOLLAR varvar AT ID",
/* 123 */
"variable ::= object",
/* 124 */
"variable ::= HATCH ID HATCH",
/* 125 */
"variable ::= HATCH ID HATCH arrayindex",
/* 126 */
"variable ::= HATCH variable HATCH",
/* 127 */
"variable ::= HATCH variable HATCH arrayindex",
/* 128 */
"varindexed ::= DOLLAR varvar arrayindex",
/* 129 */
"arrayindex ::= arrayindex indexdef",
/* 130 */
"arrayindex ::=",
/* 131 */
"indexdef ::= DOT DOLLAR varvar",
/* 132 */
"indexdef ::= DOT DOLLAR varvar AT ID",
/* 133 */
"indexdef ::= DOT ID",
/* 134 */
"indexdef ::= DOT INTEGER",
/* 135 */
"indexdef ::= DOT LDEL expr RDEL",
/* 136 */
"indexdef ::= OPENB ID CLOSEB",
/* 137 */
"indexdef ::= OPENB ID DOT ID CLOSEB",
/* 138 */
"indexdef ::= OPENB expr CLOSEB",
/* 139 */
"indexdef ::= OPENB CLOSEB",
/* 140 */
"varvar ::= varvarele",
/* 141 */
"varvar ::= varvar varvarele",
/* 142 */
"varvarele ::= ID",
/* 143 */
"varvarele ::= LDEL expr RDEL",
/* 144 */
"object ::= varindexed objectchain",
/* 145 */
"objectchain ::= objectelement",
/* 146 */
"objectchain ::= objectchain objectelement",
/* 147 */
"objectelement ::= PTR ID arrayindex",
/* 148 */
"objectelement ::= PTR DOLLAR varvar arrayindex",
/* 149 */
"objectelement ::= PTR LDEL expr RDEL arrayindex",
/* 150 */
"objectelement ::= PTR ID LDEL expr RDEL arrayindex",
/* 151 */
"objectelement ::= PTR method",
/* 152 */
"function ::= ns1 OPENP params CLOSEP",
/* 153 */
"method ::= ID OPENP params CLOSEP",
/* 154 */
"method ::= DOLLAR ID OPENP params CLOSEP",
/* 155 */
"params ::= params COMMA expr",
/* 156 */
"params ::= expr",
/* 157 */
"params ::=",
/* 158 */
"modifierlist ::= modifierlist modifier modparameters",
/* 159 */
"modifierlist ::= modifier modparameters",
/* 160 */
"modifier ::= VERT AT ID",
/* 161 */
"modifier ::= VERT ID",
/* 162 */
"modparameters ::= modparameters modparameter",
/* 163 */
"modparameters ::=",
/* 164 */
"modparameter ::= COLON value",
/* 165 */
"modparameter ::= COLON array",
/* 166 */
"static_class_access ::= method",
/* 167 */
"static_class_access ::= method objectchain",
/* 168 */
"static_class_access ::= ID",
/* 169 */
"static_class_access ::= DOLLAR ID arrayindex",
/* 170 */
"static_class_access ::= DOLLAR ID arrayindex objectchain",
/* 171 */
"ifcond ::= EQUALS",
/* 172 */
"ifcond ::= NOTEQUALS",
/* 173 */
"ifcond ::= GREATERTHAN",
/* 174 */
"ifcond ::= LESSTHAN",
/* 175 */
"ifcond ::= GREATEREQUAL",
/* 176 */
"ifcond ::= LESSEQUAL",
/* 177 */
"ifcond ::= IDENTITY",
/* 178 */
"ifcond ::= NONEIDENTITY",
/* 179 */
"ifcond ::= MOD",
/* 180 */
"lop ::= LAND",
/* 181 */
"lop ::= LOR",
/* 182 */
"lop ::= LXOR",
/* 183 */
"array ::= OPENB arrayelements CLOSEB",
/* 184 */
"arrayelements ::= arrayelement",
/* 185 */
"arrayelements ::= arrayelements COMMA arrayelement",
/* 186 */
"arrayelements ::=",
/* 187 */
"arrayelement ::= value APTR expr",
/* 188 */
"arrayelement ::= ID APTR expr",
/* 189 */
"arrayelement ::= expr",
/* 190 */
"doublequoted_with_quotes ::= QUOTE QUOTE",
/* 191 */
"doublequoted_with_quotes ::= QUOTE doublequoted QUOTE",
/* 192 */
"doublequoted ::= doublequoted doublequotedcontent",
/* 193 */
"doublequoted ::= doublequotedcontent",
/* 194 */
"doublequotedcontent ::= BACKTICK variable BACKTICK",
/* 195 */
"doublequotedcontent ::= BACKTICK expr BACKTICK",
/* 196 */
"doublequotedcontent ::= DOLLARID",
/* 197 */
"doublequotedcontent ::= LDEL variable RDEL",
/* 198 */
"doublequotedcontent ::= LDEL expr RDEL",
/* 199 */
"doublequotedcontent ::= smartytag RDEL",
/* 200 */
"doublequotedcontent ::= TEXT",
/* 201 */
"optspace ::= SPACE",
/* 202 */
2014-06-08 16:00:56 +00:00
"optspace ::=",
);
public function tokenName($tokenType)
{
if ($tokenType === 0) {
return 'End of Input';
}
if ($tokenType > 0 && $tokenType < count($this->yyTokenName)) {
return $this->yyTokenName[$tokenType];
} else {
return "Unknown";
}
}
public static function yy_destructor($yymajor, $yypminor)
{
switch ($yymajor) {
2014-06-08 16:00:56 +00:00
default:
break; /* If no destructor action specified: do nothing */
}
}
public function yy_pop_parser_stack()
{
if (!count($this->yystack)) {
return;
}
$yytos = array_pop($this->yystack);
if ($this->yyTraceFILE && $this->yyidx >= 0) {
fwrite($this->yyTraceFILE,
2014-06-08 16:00:56 +00:00
$this->yyTracePrompt . 'Popping ' . $this->yyTokenName[$yytos->major] .
"\n");
}
$yymajor = $yytos->major;
self::yy_destructor($yymajor, $yytos->minor);
2014-06-08 16:00:56 +00:00
$this->yyidx --;
return $yymajor;
}
public function __destruct()
{
while ($this->yystack !== Array()) {
$this->yy_pop_parser_stack();
}
if (is_resource($this->yyTraceFILE)) {
fclose($this->yyTraceFILE);
}
}
public function yy_get_expected_tokens($token)
{
$state = $this->yystack[$this->yyidx]->stateno;
$expected = self::$yyExpectedTokens[$state];
if (in_array($token, self::$yyExpectedTokens[$state], true)) {
return $expected;
}
$stack = $this->yystack;
$yyidx = $this->yyidx;
do {
$yyact = $this->yy_find_shift_action($token);
if ($yyact >= self::YYNSTATE && $yyact < self::YYNSTATE + self::YYNRULE) {
// reduce action
$done = 0;
do {
2014-06-08 16:00:56 +00:00
if ($done ++ == 100) {
$this->yyidx = $yyidx;
$this->yystack = $stack;
// too much recursion prevents proper detection
// so give up
return array_unique($expected);
}
$yyruleno = $yyact - self::YYNSTATE;
$this->yyidx -= self::$yyRuleInfo[$yyruleno]['rhs'];
$nextstate = $this->yy_find_reduce_action(
$this->yystack[$this->yyidx]->stateno,
self::$yyRuleInfo[$yyruleno]['lhs']);
if (isset(self::$yyExpectedTokens[$nextstate])) {
2014-06-08 16:00:56 +00:00
$expected = array_merge($expected, self::$yyExpectedTokens[$nextstate]);
if (in_array($token,
self::$yyExpectedTokens[$nextstate], true)) {
$this->yyidx = $yyidx;
$this->yystack = $stack;
return array_unique($expected);
}
}
if ($nextstate < self::YYNSTATE) {
// we need to shift a non-terminal
2014-06-08 16:00:56 +00:00
$this->yyidx ++;
$x = new TP_yyStackEntry;
$x->stateno = $nextstate;
$x->major = self::$yyRuleInfo[$yyruleno]['lhs'];
$this->yystack[$this->yyidx] = $x;
continue 2;
} elseif ($nextstate == self::YYNSTATE + self::YYNRULE + 1) {
$this->yyidx = $yyidx;
$this->yystack = $stack;
// the last token was just ignored, we can't accept
// by ignoring input, this is in essence ignoring a
// syntax error!
return array_unique($expected);
} elseif ($nextstate === self::YY_NO_ACTION) {
$this->yyidx = $yyidx;
$this->yystack = $stack;
// input accepted, but not shifted (I guess)
return $expected;
} else {
$yyact = $nextstate;
}
} while (true);
}
break;
} while (true);
2014-06-08 16:00:56 +00:00
$this->yyidx = $yyidx;
$this->yystack = $stack;
return array_unique($expected);
}
public function yy_is_expected_token($token)
{
if ($token === 0) {
return true; // 0 is not part of this
}
$state = $this->yystack[$this->yyidx]->stateno;
if (in_array($token, self::$yyExpectedTokens[$state], true)) {
return true;
}
$stack = $this->yystack;
$yyidx = $this->yyidx;
do {
$yyact = $this->yy_find_shift_action($token);
if ($yyact >= self::YYNSTATE && $yyact < self::YYNSTATE + self::YYNRULE) {
// reduce action
$done = 0;
do {
2014-06-08 16:00:56 +00:00
if ($done ++ == 100) {
$this->yyidx = $yyidx;
$this->yystack = $stack;
// too much recursion prevents proper detection
// so give up
return true;
}
$yyruleno = $yyact - self::YYNSTATE;
$this->yyidx -= self::$yyRuleInfo[$yyruleno]['rhs'];
$nextstate = $this->yy_find_reduce_action(
$this->yystack[$this->yyidx]->stateno,
self::$yyRuleInfo[$yyruleno]['lhs']);
if (isset(self::$yyExpectedTokens[$nextstate]) &&
2014-06-08 16:00:56 +00:00
in_array($token, self::$yyExpectedTokens[$nextstate], true)
) {
$this->yyidx = $yyidx;
$this->yystack = $stack;
return true;
}
if ($nextstate < self::YYNSTATE) {
// we need to shift a non-terminal
2014-06-08 16:00:56 +00:00
$this->yyidx ++;
$x = new TP_yyStackEntry;
$x->stateno = $nextstate;
$x->major = self::$yyRuleInfo[$yyruleno]['lhs'];
$this->yystack[$this->yyidx] = $x;
continue 2;
} elseif ($nextstate == self::YYNSTATE + self::YYNRULE + 1) {
$this->yyidx = $yyidx;
$this->yystack = $stack;
if (!$token) {
// end of input: this is valid
return true;
}
// the last token was just ignored, we can't accept
// by ignoring input, this is in essence ignoring a
// syntax error!
return false;
} elseif ($nextstate === self::YY_NO_ACTION) {
$this->yyidx = $yyidx;
$this->yystack = $stack;
// input accepted, but not shifted (I guess)
return true;
} else {
$yyact = $nextstate;
}
} while (true);
}
break;
} while (true);
$this->yyidx = $yyidx;
$this->yystack = $stack;
return true;
}
2014-06-08 16:00:56 +00:00
public function yy_find_shift_action($iLookAhead)
{
$stateno = $this->yystack[$this->yyidx]->stateno;
/* if ($this->yyidx < 0) return self::YY_NO_ACTION; */
if (!isset(self::$yy_shift_ofst[$stateno])) {
// no shift actions
return self::$yy_default[$stateno];
}
$i = self::$yy_shift_ofst[$stateno];
if ($i === self::YY_SHIFT_USE_DFLT) {
return self::$yy_default[$stateno];
}
if ($iLookAhead == self::YYNOCODE) {
return self::YY_NO_ACTION;
}
$i += $iLookAhead;
if ($i < 0 || $i >= self::YY_SZ_ACTTAB ||
2014-06-08 16:00:56 +00:00
self::$yy_lookahead[$i] != $iLookAhead
) {
if (count(self::$yyFallback) && $iLookAhead < count(self::$yyFallback)
2014-06-08 16:00:56 +00:00
&& ($iFallback = self::$yyFallback[$iLookAhead]) != 0
) {
if ($this->yyTraceFILE) {
fwrite($this->yyTraceFILE, $this->yyTracePrompt . "FALLBACK " .
$this->yyTokenName[$iLookAhead] . " => " .
$this->yyTokenName[$iFallback] . "\n");
}
return $this->yy_find_shift_action($iFallback);
}
return self::$yy_default[$stateno];
} else {
return self::$yy_action[$i];
}
}
public function yy_find_reduce_action($stateno, $iLookAhead)
{
/* $stateno = $this->yystack[$this->yyidx]->stateno; */
if (!isset(self::$yy_reduce_ofst[$stateno])) {
return self::$yy_default[$stateno];
}
$i = self::$yy_reduce_ofst[$stateno];
if ($i == self::YY_REDUCE_USE_DFLT) {
return self::$yy_default[$stateno];
}
if ($iLookAhead == self::YYNOCODE) {
return self::YY_NO_ACTION;
}
$i += $iLookAhead;
if ($i < 0 || $i >= self::YY_SZ_ACTTAB ||
2014-06-08 16:00:56 +00:00
self::$yy_lookahead[$i] != $iLookAhead
) {
return self::$yy_default[$stateno];
} else {
return self::$yy_action[$i];
}
}
public function yy_shift($yyNewState, $yyMajor, $yypMinor)
{
2014-06-08 16:00:56 +00:00
$this->yyidx ++;
if ($this->yyidx >= self::YYSTACKDEPTH) {
2014-06-08 16:00:56 +00:00
$this->yyidx --;
if ($this->yyTraceFILE) {
fprintf($this->yyTraceFILE, "%sStack Overflow!\n", $this->yyTracePrompt);
}
while ($this->yyidx >= 0) {
$this->yy_pop_parser_stack();
}
#line 86 "smarty_internal_templateparser.y"
2014-10-18 00:18:11 +02:00
$this->internalError = true;
$this->compiler->trigger_template_error("Stack overflow in template parser");
#line 1719 "smarty_internal_templateparser.php"
return;
}
$yytos = new TP_yyStackEntry;
$yytos->stateno = $yyNewState;
$yytos->major = $yyMajor;
$yytos->minor = $yypMinor;
array_push($this->yystack, $yytos);
if ($this->yyTraceFILE && $this->yyidx > 0) {
fprintf($this->yyTraceFILE, "%sShift %d\n", $this->yyTracePrompt,
2014-06-08 16:00:56 +00:00
$yyNewState);
fprintf($this->yyTraceFILE, "%sStack:", $this->yyTracePrompt);
2014-06-08 16:00:56 +00:00
for ($i = 1; $i <= $this->yyidx; $i ++) {
fprintf($this->yyTraceFILE, " %s",
2014-06-08 16:00:56 +00:00
$this->yyTokenName[$this->yystack[$i]->major]);
}
2014-06-08 16:00:56 +00:00
fwrite($this->yyTraceFILE, "\n");
}
}
public static $yyRuleInfo = array(
array('lhs' => 84, 'rhs' => 1),
array('lhs' => 85, 'rhs' => 1),
array('lhs' => 85, 'rhs' => 2),
array('lhs' => 85, 'rhs' => 0),
array('lhs' => 86, 'rhs' => 2),
array('lhs' => 86, 'rhs' => 1),
array('lhs' => 86, 'rhs' => 1),
array('lhs' => 86, 'rhs' => 1),
array('lhs' => 86, 'rhs' => 1),
array('lhs' => 86, 'rhs' => 1),
array('lhs' => 86, 'rhs' => 1),
array('lhs' => 86, 'rhs' => 1),
array('lhs' => 86, 'rhs' => 1),
array('lhs' => 86, 'rhs' => 1),
array('lhs' => 86, 'rhs' => 1),
array('lhs' => 86, 'rhs' => 1),
array('lhs' => 86, 'rhs' => 1),
array('lhs' => 88, 'rhs' => 2),
array('lhs' => 88, 'rhs' => 3),
array('lhs' => 89, 'rhs' => 2),
array('lhs' => 89, 'rhs' => 0),
array('lhs' => 90, 'rhs' => 1),
array('lhs' => 90, 'rhs' => 1),
array('lhs' => 87, 'rhs' => 2),
array('lhs' => 87, 'rhs' => 4),
array('lhs' => 87, 'rhs' => 3),
array('lhs' => 87, 'rhs' => 4),
array('lhs' => 87, 'rhs' => 3),
array('lhs' => 87, 'rhs' => 5),
array('lhs' => 87, 'rhs' => 5),
array('lhs' => 87, 'rhs' => 6),
array('lhs' => 87, 'rhs' => 5),
array('lhs' => 87, 'rhs' => 3),
array('lhs' => 87, 'rhs' => 2),
array('lhs' => 87, 'rhs' => 5),
array('lhs' => 87, 'rhs' => 4),
array('lhs' => 87, 'rhs' => 6),
array('lhs' => 87, 'rhs' => 2),
array('lhs' => 87, 'rhs' => 3),
array('lhs' => 87, 'rhs' => 2),
array('lhs' => 87, 'rhs' => 3),
array('lhs' => 87, 'rhs' => 11),
array('lhs' => 100, 'rhs' => 2),
array('lhs' => 100, 'rhs' => 1),
array('lhs' => 87, 'rhs' => 5),
array('lhs' => 87, 'rhs' => 7),
array('lhs' => 87, 'rhs' => 2),
array('lhs' => 87, 'rhs' => 7),
array('lhs' => 87, 'rhs' => 10),
array('lhs' => 87, 'rhs' => 7),
array('lhs' => 87, 'rhs' => 10),
array('lhs' => 87, 'rhs' => 3),
array('lhs' => 87, 'rhs' => 4),
array('lhs' => 87, 'rhs' => 2),
array('lhs' => 87, 'rhs' => 2),
array('lhs' => 87, 'rhs' => 3),
array('lhs' => 87, 'rhs' => 4),
array('lhs' => 87, 'rhs' => 5),
array('lhs' => 93, 'rhs' => 2),
array('lhs' => 93, 'rhs' => 1),
array('lhs' => 93, 'rhs' => 0),
array('lhs' => 102, 'rhs' => 4),
array('lhs' => 102, 'rhs' => 2),
array('lhs' => 102, 'rhs' => 2),
array('lhs' => 102, 'rhs' => 2),
array('lhs' => 102, 'rhs' => 2),
array('lhs' => 102, 'rhs' => 2),
array('lhs' => 102, 'rhs' => 4),
array('lhs' => 97, 'rhs' => 1),
array('lhs' => 97, 'rhs' => 3),
array('lhs' => 96, 'rhs' => 4),
array('lhs' => 96, 'rhs' => 3),
array('lhs' => 96, 'rhs' => 3),
array('lhs' => 94, 'rhs' => 1),
array('lhs' => 94, 'rhs' => 1),
array('lhs' => 94, 'rhs' => 4),
array('lhs' => 94, 'rhs' => 3),
array('lhs' => 94, 'rhs' => 3),
array('lhs' => 94, 'rhs' => 3),
array('lhs' => 94, 'rhs' => 1),
array('lhs' => 94, 'rhs' => 2),
array('lhs' => 94, 'rhs' => 3),
array('lhs' => 94, 'rhs' => 3),
array('lhs' => 94, 'rhs' => 3),
array('lhs' => 94, 'rhs' => 3),
array('lhs' => 94, 'rhs' => 3),
array('lhs' => 94, 'rhs' => 3),
array('lhs' => 94, 'rhs' => 2),
array('lhs' => 94, 'rhs' => 2),
array('lhs' => 94, 'rhs' => 3),
array('lhs' => 94, 'rhs' => 3),
array('lhs' => 94, 'rhs' => 2),
array('lhs' => 94, 'rhs' => 2),
array('lhs' => 94, 'rhs' => 3),
array('lhs' => 94, 'rhs' => 3),
array('lhs' => 94, 'rhs' => 3),
array('lhs' => 103, 'rhs' => 8),
array('lhs' => 103, 'rhs' => 7),
array('lhs' => 91, 'rhs' => 1),
array('lhs' => 91, 'rhs' => 2),
array('lhs' => 91, 'rhs' => 2),
array('lhs' => 91, 'rhs' => 2),
array('lhs' => 91, 'rhs' => 2),
array('lhs' => 91, 'rhs' => 1),
array('lhs' => 91, 'rhs' => 1),
array('lhs' => 91, 'rhs' => 3),
array('lhs' => 91, 'rhs' => 2),
array('lhs' => 91, 'rhs' => 2),
array('lhs' => 91, 'rhs' => 1),
array('lhs' => 91, 'rhs' => 1),
array('lhs' => 91, 'rhs' => 3),
array('lhs' => 91, 'rhs' => 1),
array('lhs' => 91, 'rhs' => 1),
array('lhs' => 91, 'rhs' => 3),
array('lhs' => 91, 'rhs' => 2),
array('lhs' => 91, 'rhs' => 2),
array('lhs' => 91, 'rhs' => 1),
array('lhs' => 91, 'rhs' => 3),
array('lhs' => 108, 'rhs' => 1),
array('lhs' => 108, 'rhs' => 1),
array('lhs' => 108, 'rhs' => 1),
array('lhs' => 107, 'rhs' => 1),
array('lhs' => 107, 'rhs' => 4),
array('lhs' => 107, 'rhs' => 1),
array('lhs' => 107, 'rhs' => 3),
array('lhs' => 107, 'rhs' => 4),
array('lhs' => 107, 'rhs' => 3),
array('lhs' => 107, 'rhs' => 4),
array('lhs' => 95, 'rhs' => 3),
array('lhs' => 113, 'rhs' => 2),
array('lhs' => 113, 'rhs' => 0),
array('lhs' => 114, 'rhs' => 3),
array('lhs' => 114, 'rhs' => 5),
array('lhs' => 114, 'rhs' => 2),
array('lhs' => 114, 'rhs' => 2),
array('lhs' => 114, 'rhs' => 4),
array('lhs' => 114, 'rhs' => 3),
array('lhs' => 114, 'rhs' => 5),
array('lhs' => 114, 'rhs' => 3),
array('lhs' => 114, 'rhs' => 2),
array('lhs' => 99, 'rhs' => 1),
array('lhs' => 99, 'rhs' => 2),
array('lhs' => 115, 'rhs' => 1),
array('lhs' => 115, 'rhs' => 3),
array('lhs' => 112, 'rhs' => 2),
array('lhs' => 116, 'rhs' => 1),
array('lhs' => 116, 'rhs' => 2),
array('lhs' => 117, 'rhs' => 3),
array('lhs' => 117, 'rhs' => 4),
array('lhs' => 117, 'rhs' => 5),
array('lhs' => 117, 'rhs' => 6),
array('lhs' => 117, 'rhs' => 2),
array('lhs' => 109, 'rhs' => 4),
array('lhs' => 118, 'rhs' => 4),
array('lhs' => 118, 'rhs' => 5),
array('lhs' => 119, 'rhs' => 3),
array('lhs' => 119, 'rhs' => 1),
array('lhs' => 119, 'rhs' => 0),
array('lhs' => 92, 'rhs' => 3),
array('lhs' => 92, 'rhs' => 2),
array('lhs' => 120, 'rhs' => 3),
array('lhs' => 120, 'rhs' => 2),
array('lhs' => 101, 'rhs' => 2),
array('lhs' => 101, 'rhs' => 0),
array('lhs' => 121, 'rhs' => 2),
array('lhs' => 121, 'rhs' => 2),
array('lhs' => 111, 'rhs' => 1),
array('lhs' => 111, 'rhs' => 2),
array('lhs' => 111, 'rhs' => 1),
array('lhs' => 111, 'rhs' => 3),
array('lhs' => 111, 'rhs' => 4),
array('lhs' => 105, 'rhs' => 1),
array('lhs' => 105, 'rhs' => 1),
array('lhs' => 105, 'rhs' => 1),
array('lhs' => 105, 'rhs' => 1),
array('lhs' => 105, 'rhs' => 1),
array('lhs' => 105, 'rhs' => 1),
array('lhs' => 105, 'rhs' => 1),
array('lhs' => 105, 'rhs' => 1),
array('lhs' => 105, 'rhs' => 1),
array('lhs' => 106, 'rhs' => 1),
array('lhs' => 106, 'rhs' => 1),
array('lhs' => 106, 'rhs' => 1),
array('lhs' => 104, 'rhs' => 3),
array('lhs' => 122, 'rhs' => 1),
array('lhs' => 122, 'rhs' => 3),
array('lhs' => 122, 'rhs' => 0),
array('lhs' => 123, 'rhs' => 3),
array('lhs' => 123, 'rhs' => 3),
array('lhs' => 123, 'rhs' => 1),
array('lhs' => 110, 'rhs' => 2),
array('lhs' => 110, 'rhs' => 3),
array('lhs' => 124, 'rhs' => 2),
array('lhs' => 124, 'rhs' => 1),
array('lhs' => 125, 'rhs' => 3),
array('lhs' => 125, 'rhs' => 3),
array('lhs' => 125, 'rhs' => 1),
array('lhs' => 125, 'rhs' => 3),
array('lhs' => 125, 'rhs' => 3),
array('lhs' => 125, 'rhs' => 2),
array('lhs' => 125, 'rhs' => 1),
array('lhs' => 98, 'rhs' => 1),
array('lhs' => 98, 'rhs' => 0),
);
public static $yyReduceMap = array(
2014-06-08 16:00:56 +00:00
0 => 0,
1 => 1,
2 => 2,
2014-06-08 16:00:56 +00:00
4 => 4,
5 => 5,
6 => 6,
7 => 7,
8 => 8,
9 => 9,
10 => 10,
11 => 11,
12 => 12,
13 => 13,
14 => 14,
15 => 15,
16 => 16,
17 => 17,
20 => 17,
202 => 17,
2014-06-08 16:00:56 +00:00
18 => 18,
72 => 18,
2014-06-08 16:00:56 +00:00
19 => 19,
99 => 19,
101 => 19,
102 => 19,
129 => 19,
167 => 19,
21 => 21,
22 => 21,
43 => 21,
65 => 21,
66 => 21,
73 => 21,
74 => 21,
79 => 21,
98 => 21,
103 => 21,
104 => 21,
109 => 21,
111 => 21,
112 => 21,
116 => 21,
118 => 21,
119 => 21,
120 => 21,
123 => 21,
140 => 21,
166 => 21,
168 => 21,
184 => 21,
189 => 21,
201 => 21,
23 => 23,
24 => 24,
25 => 25,
27 => 25,
2014-06-08 16:00:56 +00:00
26 => 26,
28 => 28,
29 => 28,
2014-06-08 16:00:56 +00:00
30 => 30,
31 => 31,
32 => 32,
33 => 33,
34 => 34,
35 => 35,
2014-06-08 16:00:56 +00:00
36 => 36,
37 => 37,
38 => 38,
40 => 38,
2014-06-08 16:00:56 +00:00
39 => 39,
41 => 41,
42 => 42,
44 => 44,
45 => 45,
46 => 46,
2014-06-08 16:00:56 +00:00
47 => 47,
49 => 47,
48 => 48,
50 => 48,
2014-06-08 16:00:56 +00:00
51 => 51,
52 => 52,
53 => 53,
54 => 54,
55 => 55,
56 => 56,
2014-06-08 16:00:56 +00:00
57 => 57,
58 => 58,
59 => 59,
68 => 59,
156 => 59,
160 => 59,
164 => 59,
165 => 59,
2014-06-08 16:00:56 +00:00
60 => 60,
157 => 60,
163 => 60,
2014-06-08 16:00:56 +00:00
61 => 61,
62 => 62,
63 => 62,
2014-06-08 16:00:56 +00:00
64 => 64,
67 => 67,
69 => 69,
70 => 70,
71 => 70,
2014-06-08 16:00:56 +00:00
75 => 75,
76 => 76,
77 => 76,
78 => 76,
80 => 80,
115 => 80,
2014-06-08 16:00:56 +00:00
81 => 81,
84 => 81,
82 => 82,
83 => 83,
85 => 85,
2014-06-08 16:00:56 +00:00
86 => 86,
87 => 87,
92 => 87,
2014-06-08 16:00:56 +00:00
88 => 88,
91 => 88,
89 => 89,
94 => 89,
90 => 90,
93 => 90,
95 => 95,
96 => 96,
97 => 97,
100 => 100,
105 => 105,
106 => 106,
107 => 107,
108 => 108,
110 => 110,
113 => 113,
114 => 114,
117 => 117,
121 => 121,
122 => 122,
124 => 124,
125 => 125,
126 => 126,
127 => 127,
128 => 128,
130 => 130,
186 => 130,
131 => 131,
132 => 132,
133 => 133,
134 => 134,
135 => 135,
138 => 135,
136 => 136,
137 => 137,
139 => 139,
141 => 141,
142 => 142,
143 => 143,
144 => 144,
145 => 145,
146 => 146,
147 => 147,
148 => 148,
149 => 149,
150 => 150,
151 => 151,
152 => 152,
153 => 153,
154 => 154,
155 => 155,
158 => 158,
159 => 159,
161 => 161,
162 => 162,
169 => 169,
170 => 170,
171 => 171,
172 => 172,
173 => 173,
174 => 174,
175 => 175,
176 => 176,
177 => 177,
178 => 178,
179 => 179,
180 => 180,
181 => 181,
182 => 182,
183 => 183,
185 => 185,
187 => 187,
188 => 188,
190 => 190,
191 => 191,
192 => 192,
193 => 193,
194 => 194,
195 => 194,
197 => 194,
196 => 196,
198 => 198,
199 => 199,
200 => 200,
);
2014-06-08 16:00:56 +00:00
#line 97 "smarty_internal_templateparser.y"
2014-06-08 16:00:56 +00:00
function yy_r0()
{
$this->_retvalue = $this->root_buffer->to_smarty_php();
}
#line 2154 "smarty_internal_templateparser.php"
#line 105 "smarty_internal_templateparser.y"
2014-06-08 16:00:56 +00:00
function yy_r1()
{
if ($this->yystack[$this->yyidx + 0]->minor != null) {
$this->current_buffer->append_subtree($this->yystack[$this->yyidx + 0]->minor);
2011-09-16 14:19:56 +00:00
}
}
#line 2161 "smarty_internal_templateparser.php"
#line 112 "smarty_internal_templateparser.y"
function yy_r2()
{
if ($this->yystack[$this->yyidx + 0]->minor != null) {
// because of possible code injection
$this->current_buffer->append_subtree($this->yystack[$this->yyidx + 0]->minor);
}
}
#line 2169 "smarty_internal_templateparser.php"
#line 126 "smarty_internal_templateparser.y"
2014-06-08 16:00:56 +00:00
function yy_r4()
{
if ($this->compiler->has_code) {
$tmp = '';
foreach ($this->compiler->prefix_code as $code) {
$tmp .= $code;
}
$this->compiler->prefix_code = array();
$this->_retvalue = new _smarty_tag($this, $this->compiler->processNocacheCode($tmp . $this->yystack[$this->yyidx + - 1]->minor, true));
} else {
$this->_retvalue = null;
}
$this->compiler->has_variable_string = false;
$this->block_nesting_level = count($this->compiler->_tag_stack);
2011-09-16 14:19:56 +00:00
}
#line 2181 "smarty_internal_templateparser.php"
#line 138 "smarty_internal_templateparser.y"
2014-06-08 16:00:56 +00:00
function yy_r5()
{
$this->_retvalue = null;
2011-09-16 14:19:56 +00:00
}
#line 2186 "smarty_internal_templateparser.php"
#line 143 "smarty_internal_templateparser.y"
2014-06-08 16:00:56 +00:00
function yy_r6()
{
$this->_retvalue = new _smarty_text($this, $this->yystack[$this->yyidx + 0]->minor);
2011-09-16 14:19:56 +00:00
}
#line 2191 "smarty_internal_templateparser.php"
#line 148 "smarty_internal_templateparser.y"
2014-06-08 16:00:56 +00:00
function yy_r7()
{
if (strpos($this->yystack[$this->yyidx + 0]->minor, '<s') === 0) {
$this->lex->is_phpScript = true;
}
2014-06-08 16:00:56 +00:00
if ($this->php_handling == Smarty::PHP_PASSTHRU) {
if ($this->lex->is_phpScript) {
$s = addcslashes($this->yystack[$this->yyidx + 0]->minor, "'");
$this->_retvalue = new _smarty_text($this, $s);
} else {
$this->_retvalue = new _smarty_text($this, $this->yystack[$this->yyidx + 0]->minor);
}
2014-06-08 16:00:56 +00:00
} elseif ($this->php_handling == Smarty::PHP_QUOTE) {
$this->_retvalue = new _smarty_text($this, htmlspecialchars($this->yystack[$this->yyidx + 0]->minor, ENT_QUOTES));
2014-06-08 16:00:56 +00:00
} elseif ($this->php_handling == Smarty::PHP_ALLOW) {
2011-09-16 14:19:56 +00:00
if (!($this->smarty instanceof SmartyBC)) {
2014-06-08 16:00:56 +00:00
$this->compiler->trigger_template_error(self::Err3);
2011-09-16 14:19:56 +00:00
}
$this->_retvalue = new _smarty_tag($this, $this->compiler->processNocacheCode('<?php ', true));
2014-06-08 16:00:56 +00:00
} elseif ($this->php_handling == Smarty::PHP_REMOVE) {
$this->_retvalue = null;
2011-09-16 14:19:56 +00:00
}
2014-06-08 16:00:56 +00:00
}
#line 2215 "smarty_internal_templateparser.php"
#line 172 "smarty_internal_templateparser.y"
2014-06-08 16:00:56 +00:00
function yy_r8()
{
if ($this->is_xml) {
$this->compiler->tag_nocache = true;
$this->is_xml = false;
$save = $this->template->has_nocache_code;
$this->_retvalue = new _smarty_tag($this, $this->compiler->processNocacheCode("<?php echo '?>';?>\n", $this->compiler, true));
2014-06-08 16:00:56 +00:00
$this->template->has_nocache_code = $save;
} elseif ($this->php_handling == Smarty::PHP_PASSTHRU) {
$this->_retvalue = new _smarty_text($this, $this->yystack[$this->yyidx + 0]->minor);
2014-06-08 16:00:56 +00:00
} elseif ($this->php_handling == Smarty::PHP_QUOTE) {
$this->_retvalue = new _smarty_text($this, htmlspecialchars('?>', ENT_QUOTES));
} elseif ($this->php_handling == Smarty::PHP_ALLOW) {
$this->_retvalue = new _smarty_tag($this, $this->compiler->processNocacheCode('?>', true));
2014-06-08 16:00:56 +00:00
} elseif ($this->php_handling == Smarty::PHP_REMOVE) {
$this->_retvalue = null;
}
2011-09-16 14:19:56 +00:00
}
#line 2234 "smarty_internal_templateparser.php"
#line 190 "smarty_internal_templateparser.y"
2014-06-08 16:00:56 +00:00
function yy_r9()
{
if (!$this->lex->is_phpScript) {
$this->_retvalue = new _smarty_text($this, $this->yystack[$this->yyidx + 0]->minor);
} else {
$this->lex->is_phpScript = false;
if ($this->php_handling == Smarty::PHP_PASSTHRU) {
$this->_retvalue = new _smarty_text($this, $this->yystack[$this->yyidx + 0]->minor);
} elseif ($this->php_handling == Smarty::PHP_QUOTE) {
$this->_retvalue = new _smarty_text($this, htmlspecialchars($this->yystack[$this->yyidx + 0]->minor, ENT_QUOTES));
} elseif ($this->php_handling == Smarty::PHP_ALLOW) {
$this->_retvalue = new _smarty_tag($this, $this->compiler->processNocacheCode('?>', true));
} elseif ($this->php_handling == Smarty::PHP_REMOVE) {
$this->_retvalue = null;
}
}
}
#line 2252 "smarty_internal_templateparser.php"
#line 208 "smarty_internal_templateparser.y"
function yy_r10()
2014-06-08 16:00:56 +00:00
{
if ($this->php_handling == Smarty::PHP_PASSTHRU) {
$this->_retvalue = new _smarty_text($this, $this->yystack[$this->yyidx + 0]->minor);
2014-06-08 16:00:56 +00:00
} elseif ($this->php_handling == Smarty::PHP_QUOTE) {
$this->_retvalue = new _smarty_text($this, htmlspecialchars($this->yystack[$this->yyidx + 0]->minor, ENT_QUOTES));
} elseif ($this->php_handling == Smarty::PHP_ALLOW) {
if ($this->asp_tags) {
if (!($this->smarty instanceof SmartyBC)) {
$this->compiler->trigger_template_error(self::Err3);
}
$this->_retvalue = new _smarty_tag($this, $this->compiler->processNocacheCode('<%', true));
2014-06-08 16:00:56 +00:00
} else {
$this->_retvalue = new _smarty_text($this, $this->yystack[$this->yyidx + 0]->minor);
2014-06-08 16:00:56 +00:00
}
} elseif ($this->php_handling == Smarty::PHP_REMOVE) {
if ($this->asp_tags) {
$this->_retvalue = null;
} else {
$this->_retvalue = new _smarty_text($this, $this->yystack[$this->yyidx + 0]->minor);
2014-06-08 16:00:56 +00:00
}
}
}
#line 2276 "smarty_internal_templateparser.php"
#line 232 "smarty_internal_templateparser.y"
2014-10-18 00:18:11 +02:00
function yy_r11()
{
if ($this->php_handling == Smarty::PHP_PASSTHRU) {
$this->_retvalue = new _smarty_text($this, $this->yystack[$this->yyidx + 0]->minor);
2014-06-08 16:00:56 +00:00
} elseif ($this->php_handling == Smarty::PHP_QUOTE) {
$this->_retvalue = new _smarty_text($this, htmlspecialchars('%>', ENT_QUOTES));
} elseif ($this->php_handling == Smarty::PHP_ALLOW) {
if ($this->asp_tags) {
$this->_retvalue = new _smarty_tag($this, $this->compiler->processNocacheCode('%>', true));
2014-06-08 16:00:56 +00:00
} else {
$this->_retvalue = new _smarty_text($this, $this->yystack[$this->yyidx + 0]->minor);
2014-06-08 16:00:56 +00:00
}
} elseif ($this->php_handling == Smarty::PHP_REMOVE) {
if ($this->asp_tags) {
$this->_retvalue = null;
} else {
$this->_retvalue = new _smarty_text($this, $this->yystack[$this->yyidx + 0]->minor);
2014-10-18 00:18:11 +02:00
}
}
}
#line 2297 "smarty_internal_templateparser.php"
#line 254 "smarty_internal_templateparser.y"
function yy_r12()
2014-06-08 16:00:56 +00:00
{
$this->compiler->tag_nocache = true;
$this->is_xml = true;
$save = $this->template->has_nocache_code;
$this->_retvalue = new _smarty_tag($this, $this->compiler->processNocacheCode("<?php echo '<?xml';?>", $this->compiler, true));
2014-06-08 16:00:56 +00:00
$this->template->has_nocache_code = $save;
}
#line 2306 "smarty_internal_templateparser.php"
#line 263 "smarty_internal_templateparser.y"
function yy_r13()
2014-06-08 16:00:56 +00:00
{
if ($this->strip) {
$this->_retvalue = new _smarty_text($this, preg_replace('![\t ]*[\r\n]+[\t ]*!', '', $this->yystack[$this->yyidx + 0]->minor));
} else {
$this->_retvalue = new _smarty_text($this, $this->yystack[$this->yyidx + 0]->minor);
}
2011-09-16 14:19:56 +00:00
}
#line 2315 "smarty_internal_templateparser.php"
#line 272 "smarty_internal_templateparser.y"
function yy_r14()
2014-06-08 16:00:56 +00:00
{
$this->strip = true;
2011-09-16 14:19:56 +00:00
}
#line 2320 "smarty_internal_templateparser.php"
#line 276 "smarty_internal_templateparser.y"
function yy_r15()
2014-06-08 16:00:56 +00:00
{
$this->strip = false;
2011-09-16 14:19:56 +00:00
}
#line 2325 "smarty_internal_templateparser.php"
#line 280 "smarty_internal_templateparser.y"
function yy_r16()
2014-06-08 16:00:56 +00:00
{
if ($this->strip) {
SMARTY_INTERNAL_COMPILE_BLOCK::blockSource($this->compiler, preg_replace('![\t ]*[\r\n]+[\t ]*!', '', $this->yystack[$this->yyidx + 0]->minor));
} else {
SMARTY_INTERNAL_COMPILE_BLOCK::blockSource($this->compiler, $this->yystack[$this->yyidx + 0]->minor);
}
2011-09-16 14:19:56 +00:00
}
#line 2334 "smarty_internal_templateparser.php"
#line 289 "smarty_internal_templateparser.y"
function yy_r17()
2014-06-08 16:00:56 +00:00
{
$this->_retvalue = '';
}
#line 2339 "smarty_internal_templateparser.php"
#line 293 "smarty_internal_templateparser.y"
function yy_r18()
2014-06-08 16:00:56 +00:00
{
$this->_retvalue = $this->yystack[$this->yyidx + - 1]->minor;
}
#line 2344 "smarty_internal_templateparser.php"
#line 297 "smarty_internal_templateparser.y"
function yy_r19()
2014-06-08 16:00:56 +00:00
{
$this->_retvalue = $this->yystack[$this->yyidx + - 1]->minor . $this->yystack[$this->yyidx + 0]->minor;
}
#line 2349 "smarty_internal_templateparser.php"
#line 305 "smarty_internal_templateparser.y"
function yy_r21()
2014-06-08 16:00:56 +00:00
{
$this->_retvalue = $this->yystack[$this->yyidx + 0]->minor;
}
#line 2354 "smarty_internal_templateparser.php"
#line 318 "smarty_internal_templateparser.y"
function yy_r23()
2014-06-08 16:00:56 +00:00
{
$this->_retvalue = $this->compiler->compileTag('private_print_expression', array(), array('value' => $this->yystack[$this->yyidx + 0]->minor));
}
#line 2359 "smarty_internal_templateparser.php"
#line 322 "smarty_internal_templateparser.y"
function yy_r24()
2014-06-08 16:00:56 +00:00
{
$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));
}
#line 2364 "smarty_internal_templateparser.php"
#line 326 "smarty_internal_templateparser.y"
function yy_r25()
2014-06-08 16:00:56 +00:00
{
$this->_retvalue = $this->compiler->compileTag('private_print_expression', $this->yystack[$this->yyidx + 0]->minor, array('value' => $this->yystack[$this->yyidx + - 1]->minor));
}
#line 2369 "smarty_internal_templateparser.php"
#line 330 "smarty_internal_templateparser.y"
function yy_r26()
2014-06-08 16:00:56 +00:00
{
$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));
}
#line 2374 "smarty_internal_templateparser.php"
#line 343 "smarty_internal_templateparser.y"
function yy_r28()
2014-06-08 16:00:56 +00:00
{
$this->_retvalue = $this->compiler->compileTag('assign', array(array('value' => $this->yystack[$this->yyidx + 0]->minor), array('var' => "'" . $this->yystack[$this->yyidx + - 2]->minor . "'")));
}
#line 2379 "smarty_internal_templateparser.php"
#line 351 "smarty_internal_templateparser.y"
function yy_r30()
2014-06-08 16:00:56 +00:00
{
$this->_retvalue = $this->compiler->compileTag('assign', array_merge(array(array('value' => $this->yystack[$this->yyidx + - 1]->minor), array('var' => "'" . $this->yystack[$this->yyidx + - 3]->minor . "'")), $this->yystack[$this->yyidx + 0]->minor));
}
#line 2384 "smarty_internal_templateparser.php"
#line 355 "smarty_internal_templateparser.y"
function yy_r31()
2014-06-08 16:00:56 +00:00
{
$this->_retvalue = $this->compiler->compileTag('assign', array_merge(array(array('value' => $this->yystack[$this->yyidx + - 1]->minor), array('var' => $this->yystack[$this->yyidx + - 3]->minor['var'])), $this->yystack[$this->yyidx + 0]->minor), array('smarty_internal_index' => $this->yystack[$this->yyidx + - 3]->minor['smarty_internal_index']));
}
#line 2389 "smarty_internal_templateparser.php"
#line 360 "smarty_internal_templateparser.y"
function yy_r32()
2014-06-08 16:00:56 +00:00
{
$this->_retvalue = $this->compiler->compileTag($this->yystack[$this->yyidx + - 1]->minor, $this->yystack[$this->yyidx + 0]->minor);
}
#line 2394 "smarty_internal_templateparser.php"
#line 364 "smarty_internal_templateparser.y"
function yy_r33()
2014-06-08 16:00:56 +00:00
{
$this->_retvalue = $this->compiler->compileTag($this->yystack[$this->yyidx + 0]->minor, array());
}
#line 2399 "smarty_internal_templateparser.php"
#line 369 "smarty_internal_templateparser.y"
function yy_r34()
2014-06-08 16:00:56 +00:00
{
$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));
}
#line 2404 "smarty_internal_templateparser.php"
#line 374 "smarty_internal_templateparser.y"
function yy_r35()
2014-06-08 16:00:56 +00:00
{
$this->_retvalue = '<?php ob_start();?>' . $this->compiler->compileTag($this->yystack[$this->yyidx + - 2]->minor, $this->yystack[$this->yyidx + 0]->minor) . '<?php echo ';
$this->_retvalue .= $this->compiler->compileTag('private_modifier', array(), array('modifierlist' => $this->yystack[$this->yyidx + - 1]->minor, 'value' => 'ob_get_clean()')) . ';?>';
2014-06-08 16:00:56 +00:00
}
#line 2410 "smarty_internal_templateparser.php"
#line 380 "smarty_internal_templateparser.y"
function yy_r36()
2014-06-08 16:00:56 +00:00
{
$this->_retvalue = '<?php ob_start();?>' . $this->compiler->compileTag($this->yystack[$this->yyidx + - 4]->minor, $this->yystack[$this->yyidx + 0]->minor, array('object_method' => $this->yystack[$this->yyidx + - 2]->minor)) . '<?php echo ';
$this->_retvalue .= $this->compiler->compileTag('private_modifier', array(), array('modifierlist' => $this->yystack[$this->yyidx + - 1]->minor, 'value' => 'ob_get_clean()')) . ';?>';
2014-06-08 16:00:56 +00:00
}
#line 2416 "smarty_internal_templateparser.php"
#line 386 "smarty_internal_templateparser.y"
function yy_r37()
2014-06-08 16:00:56 +00:00
{
$tag = trim(substr($this->yystack[$this->yyidx + - 1]->minor, $this->lex->ldel_length));
$this->_retvalue = $this->compiler->compileTag(($tag == 'else if') ? 'elseif' : $tag, array(), array('if condition' => $this->yystack[$this->yyidx + 0]->minor));
}
#line 2422 "smarty_internal_templateparser.php"
#line 391 "smarty_internal_templateparser.y"
function yy_r38()
2014-06-08 16:00:56 +00:00
{
$tag = trim(substr($this->yystack[$this->yyidx + - 2]->minor, $this->lex->ldel_length));
$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));
}
#line 2428 "smarty_internal_templateparser.php"
#line 396 "smarty_internal_templateparser.y"
function yy_r39()
2014-06-08 16:00:56 +00:00
{
$tag = trim(substr($this->yystack[$this->yyidx + - 1]->minor, $this->lex->ldel_length));
$this->_retvalue = $this->compiler->compileTag(($tag == 'else if') ? 'elseif' : $tag, array(), array('if condition' => $this->yystack[$this->yyidx + 0]->minor));
}
#line 2434 "smarty_internal_templateparser.php"
#line 407 "smarty_internal_templateparser.y"
function yy_r41()
2014-06-08 16:00:56 +00:00
{
$this->_retvalue = $this->compiler->compileTag('for', array_merge($this->yystack[$this->yyidx + 0]->minor, array(array('start' => $this->yystack[$this->yyidx + - 9]->minor), array('ifexp' => $this->yystack[$this->yyidx + - 6]->minor), array('var' => $this->yystack[$this->yyidx + - 2]->minor), array('step' => $this->yystack[$this->yyidx + - 1]->minor))), 1);
}
#line 2439 "smarty_internal_templateparser.php"
#line 411 "smarty_internal_templateparser.y"
function yy_r42()
2014-06-08 16:00:56 +00:00
{
$this->_retvalue = '=' . $this->yystack[$this->yyidx + 0]->minor;
}
#line 2444 "smarty_internal_templateparser.php"
#line 419 "smarty_internal_templateparser.y"
function yy_r44()
2014-06-08 16:00:56 +00:00
{
$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);
}
#line 2449 "smarty_internal_templateparser.php"
#line 423 "smarty_internal_templateparser.y"
function yy_r45()
2014-06-08 16:00:56 +00:00
{
$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);
}
#line 2454 "smarty_internal_templateparser.php"
#line 428 "smarty_internal_templateparser.y"
function yy_r46()
2014-06-08 16:00:56 +00:00
{
$this->_retvalue = $this->compiler->compileTag('foreach', $this->yystack[$this->yyidx + 0]->minor);
}
#line 2459 "smarty_internal_templateparser.php"
#line 433 "smarty_internal_templateparser.y"
function yy_r47()
2014-06-08 16:00:56 +00:00
{
$this->_retvalue = $this->compiler->compileTag('foreach', array_merge($this->yystack[$this->yyidx + 0]->minor, array(array('from' => $this->yystack[$this->yyidx + - 4]->minor), array('item' => $this->yystack[$this->yyidx + - 1]->minor))));
}
#line 2464 "smarty_internal_templateparser.php"
#line 437 "smarty_internal_templateparser.y"
function yy_r48()
2014-06-08 16:00:56 +00:00
{
$this->_retvalue = $this->compiler->compileTag('foreach', array_merge($this->yystack[$this->yyidx + 0]->minor, array(array('from' => $this->yystack[$this->yyidx + - 7]->minor), array('item' => $this->yystack[$this->yyidx + - 1]->minor), array('key' => $this->yystack[$this->yyidx + - 4]->minor))));
}
#line 2469 "smarty_internal_templateparser.php"
#line 450 "smarty_internal_templateparser.y"
function yy_r51()
2014-06-08 16:00:56 +00:00
{
$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))));
}
#line 2474 "smarty_internal_templateparser.php"
#line 454 "smarty_internal_templateparser.y"
function yy_r52()
2014-06-08 16:00:56 +00:00
{
$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)));
}
#line 2479 "smarty_internal_templateparser.php"
#line 459 "smarty_internal_templateparser.y"
function yy_r53()
2014-06-08 16:00:56 +00:00
{
$j = strrpos($this->yystack[$this->yyidx + 0]->minor, '.');
if ($this->yystack[$this->yyidx + 0]->minor[$j + 1] == 'c') {
// {$smarty.block.child}
$this->_retvalue = SMARTY_INTERNAL_COMPILE_BLOCK::compileChildBlock($this->compiler);
} else {
// {$smarty.block.parent}
$this->_retvalue = SMARTY_INTERNAL_COMPILE_BLOCK::compileParentBlock($this->compiler);
}
}
#line 2491 "smarty_internal_templateparser.php"
#line 472 "smarty_internal_templateparser.y"
function yy_r54()
2014-06-08 16:00:56 +00:00
{
$this->_retvalue = $this->compiler->compileTag($this->yystack[$this->yyidx + 0]->minor . 'close', array());
}
#line 2496 "smarty_internal_templateparser.php"
#line 476 "smarty_internal_templateparser.y"
function yy_r55()
2014-06-08 16:00:56 +00:00
{
$this->_retvalue = $this->compiler->compileTag($this->yystack[$this->yyidx + - 1]->minor . 'close', array(), array('modifier_list' => $this->yystack[$this->yyidx + 0]->minor));
}
#line 2501 "smarty_internal_templateparser.php"
#line 481 "smarty_internal_templateparser.y"
function yy_r56()
2014-06-08 16:00:56 +00:00
{
$this->_retvalue = $this->compiler->compileTag($this->yystack[$this->yyidx + - 2]->minor . 'close', array(), array('object_method' => $this->yystack[$this->yyidx + 0]->minor));
}
#line 2506 "smarty_internal_templateparser.php"
#line 485 "smarty_internal_templateparser.y"
function yy_r57()
2014-06-08 16:00:56 +00:00
{
$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));
}
#line 2511 "smarty_internal_templateparser.php"
#line 493 "smarty_internal_templateparser.y"
function yy_r58()
2014-06-08 16:00:56 +00:00
{
$this->_retvalue = $this->yystack[$this->yyidx + - 1]->minor;
$this->_retvalue[] = $this->yystack[$this->yyidx + 0]->minor;
}
#line 2517 "smarty_internal_templateparser.php"
#line 499 "smarty_internal_templateparser.y"
function yy_r59()
2014-06-08 16:00:56 +00:00
{
$this->_retvalue = array($this->yystack[$this->yyidx + 0]->minor);
}
#line 2522 "smarty_internal_templateparser.php"
#line 504 "smarty_internal_templateparser.y"
function yy_r60()
2014-06-08 16:00:56 +00:00
{
$this->_retvalue = array();
}
#line 2527 "smarty_internal_templateparser.php"
#line 509 "smarty_internal_templateparser.y"
function yy_r61()
2014-06-08 16:00:56 +00:00
{
if (preg_match('~^true$~i', $this->yystack[$this->yyidx + 0]->minor)) {
$this->_retvalue = array($this->yystack[$this->yyidx + - 2]->minor => 'true');
} elseif (preg_match('~^false$~i', $this->yystack[$this->yyidx + 0]->minor)) {
$this->_retvalue = array($this->yystack[$this->yyidx + - 2]->minor => 'false');
} elseif (preg_match('~^null$~i', $this->yystack[$this->yyidx + 0]->minor)) {
$this->_retvalue = array($this->yystack[$this->yyidx + - 2]->minor => 'null');
} else {
2014-06-08 16:00:56 +00:00
$this->_retvalue = array($this->yystack[$this->yyidx + - 2]->minor => "'" . $this->yystack[$this->yyidx + 0]->minor . "'");
}
}
#line 2540 "smarty_internal_templateparser.php"
#line 521 "smarty_internal_templateparser.y"
function yy_r62()
2014-06-08 16:00:56 +00:00
{
$this->_retvalue = array(trim($this->yystack[$this->yyidx + - 1]->minor, " =\n\r\t") => $this->yystack[$this->yyidx + 0]->minor);
}
#line 2545 "smarty_internal_templateparser.php"
#line 529 "smarty_internal_templateparser.y"
function yy_r64()
2014-06-08 16:00:56 +00:00
{
$this->_retvalue = "'" . $this->yystack[$this->yyidx + 0]->minor . "'";
}
#line 2550 "smarty_internal_templateparser.php"
#line 541 "smarty_internal_templateparser.y"
function yy_r67()
2014-06-08 16:00:56 +00:00
{
$this->_retvalue = array($this->yystack[$this->yyidx + - 2]->minor => $this->yystack[$this->yyidx + 0]->minor);
}
#line 2555 "smarty_internal_templateparser.php"
#line 554 "smarty_internal_templateparser.y"
function yy_r69()
2014-06-08 16:00:56 +00:00
{
$this->yystack[$this->yyidx + - 2]->minor[] = $this->yystack[$this->yyidx + 0]->minor;
$this->_retvalue = $this->yystack[$this->yyidx + - 2]->minor;
}
#line 2561 "smarty_internal_templateparser.php"
#line 559 "smarty_internal_templateparser.y"
function yy_r70()
2014-06-08 16:00:56 +00:00
{
$this->_retvalue = array('var' => $this->yystack[$this->yyidx + - 2]->minor, 'value' => $this->yystack[$this->yyidx + 0]->minor);
}
#line 2566 "smarty_internal_templateparser.php"
#line 587 "smarty_internal_templateparser.y"
function yy_r75()
2014-06-08 16:00:56 +00:00
{
$this->_retvalue = '$_smarty_tpl->getStreamVariable(\'' . $this->yystack[$this->yyidx + - 2]->minor . '://' . $this->yystack[$this->yyidx + 0]->minor . '\')';
}
#line 2571 "smarty_internal_templateparser.php"
#line 592 "smarty_internal_templateparser.y"
function yy_r76()
2014-06-08 16:00:56 +00:00
{
$this->_retvalue = $this->yystack[$this->yyidx + - 2]->minor . trim($this->yystack[$this->yyidx + - 1]->minor) . $this->yystack[$this->yyidx + 0]->minor;
}
#line 2576 "smarty_internal_templateparser.php"
#line 611 "smarty_internal_templateparser.y"
function yy_r80()
{
2014-06-08 16:00:56 +00:00
$this->_retvalue = $this->compiler->compileTag('private_modifier', array(), array('value' => $this->yystack[$this->yyidx + - 1]->minor, 'modifierlist' => $this->yystack[$this->yyidx + 0]->minor));
}
#line 2581 "smarty_internal_templateparser.php"
#line 617 "smarty_internal_templateparser.y"
function yy_r81()
2014-06-08 16:00:56 +00:00
{
$this->_retvalue = $this->yystack[$this->yyidx + - 2]->minor . $this->yystack[$this->yyidx + - 1]->minor . $this->yystack[$this->yyidx + 0]->minor;
}
#line 2586 "smarty_internal_templateparser.php"
#line 621 "smarty_internal_templateparser.y"
function yy_r82()
2014-06-08 16:00:56 +00:00
{
$this->_retvalue = 'in_array(' . $this->yystack[$this->yyidx + - 2]->minor . ',' . $this->yystack[$this->yyidx + 0]->minor . ')';
}
#line 2591 "smarty_internal_templateparser.php"
#line 625 "smarty_internal_templateparser.y"
function yy_r83()
2014-06-08 16:00:56 +00:00
{
$this->_retvalue = 'in_array(' . $this->yystack[$this->yyidx + - 2]->minor . ',(array)' . $this->yystack[$this->yyidx + 0]->minor . ')';
}
#line 2596 "smarty_internal_templateparser.php"
#line 633 "smarty_internal_templateparser.y"
function yy_r85()
2014-06-08 16:00:56 +00:00
{
$this->_retvalue = '!(' . $this->yystack[$this->yyidx + - 2]->minor . ' % ' . $this->yystack[$this->yyidx + 0]->minor . ')';
}
#line 2601 "smarty_internal_templateparser.php"
#line 637 "smarty_internal_templateparser.y"
function yy_r86()
2014-06-08 16:00:56 +00:00
{
$this->_retvalue = '(' . $this->yystack[$this->yyidx + - 2]->minor . ' % ' . $this->yystack[$this->yyidx + 0]->minor . ')';
}
#line 2606 "smarty_internal_templateparser.php"
#line 641 "smarty_internal_templateparser.y"
function yy_r87()
2014-06-08 16:00:56 +00:00
{
$this->_retvalue = '!(1 & ' . $this->yystack[$this->yyidx + - 1]->minor . ')';
}
#line 2611 "smarty_internal_templateparser.php"
#line 645 "smarty_internal_templateparser.y"
function yy_r88()
2014-06-08 16:00:56 +00:00
{
$this->_retvalue = '(1 & ' . $this->yystack[$this->yyidx + - 1]->minor . ')';
}
#line 2616 "smarty_internal_templateparser.php"
#line 649 "smarty_internal_templateparser.y"
function yy_r89()
2014-06-08 16:00:56 +00:00
{
$this->_retvalue = '!(1 & ' . $this->yystack[$this->yyidx + - 2]->minor . ' / ' . $this->yystack[$this->yyidx + 0]->minor . ')';
}
#line 2621 "smarty_internal_templateparser.php"
#line 653 "smarty_internal_templateparser.y"
function yy_r90()
2014-06-08 16:00:56 +00:00
{
$this->_retvalue = '(1 & ' . $this->yystack[$this->yyidx + - 2]->minor . ' / ' . $this->yystack[$this->yyidx + 0]->minor . ')';
}
#line 2626 "smarty_internal_templateparser.php"
#line 673 "smarty_internal_templateparser.y"
function yy_r95()
2014-06-08 16:00:56 +00:00
{
// self::$prefix_number++;
// $this->compiler->prefix_code[] = '<?php $_tmp'.self::$prefix_number.'='.$this->yystack[$this->yyidx + -2]->minor.';? >';
// $this->_retvalue = '$_tmp'.self::$prefix_number.$this->yystack[$this->yyidx + -1]->minor.$this->yystack[$this->yyidx + 0]->minor;
$this->_retvalue = $this->yystack[$this->yyidx + - 2]->minor . $this->yystack[$this->yyidx + - 1]->minor . $this->yystack[$this->yyidx + 0]->minor;
2014-06-08 16:00:56 +00:00
}
#line 2634 "smarty_internal_templateparser.php"
#line 684 "smarty_internal_templateparser.y"
function yy_r96()
2014-06-08 16:00:56 +00:00
{
$this->_retvalue = $this->yystack[$this->yyidx + - 6]->minor . ' ? ' . $this->compileVariable("'" . $this->yystack[$this->yyidx + - 2]->minor . "'") . ' : ' . $this->yystack[$this->yyidx + 0]->minor;
}
#line 2639 "smarty_internal_templateparser.php"
#line 688 "smarty_internal_templateparser.y"
function yy_r97()
2014-06-08 16:00:56 +00:00
{
$this->_retvalue = $this->yystack[$this->yyidx + - 5]->minor . ' ? ' . $this->yystack[$this->yyidx + - 2]->minor . ' : ' . $this->yystack[$this->yyidx + 0]->minor;
}
#line 2644 "smarty_internal_templateparser.php"
#line 703 "smarty_internal_templateparser.y"
function yy_r100()
2014-06-08 16:00:56 +00:00
{
$this->_retvalue = '!' . $this->yystack[$this->yyidx + 0]->minor;
}
#line 2649 "smarty_internal_templateparser.php"
#line 724 "smarty_internal_templateparser.y"
function yy_r105()
2014-06-08 16:00:56 +00:00
{
$this->_retvalue = $this->yystack[$this->yyidx + - 2]->minor . '.' . $this->yystack[$this->yyidx + 0]->minor;
}
#line 2654 "smarty_internal_templateparser.php"
#line 728 "smarty_internal_templateparser.y"
function yy_r106()
2014-06-08 16:00:56 +00:00
{
$this->_retvalue = $this->yystack[$this->yyidx + - 1]->minor . '.';
}
#line 2659 "smarty_internal_templateparser.php"
#line 732 "smarty_internal_templateparser.y"
function yy_r107()
2014-06-08 16:00:56 +00:00
{
$this->_retvalue = '.' . $this->yystack[$this->yyidx + 0]->minor;
}
#line 2664 "smarty_internal_templateparser.php"
#line 737 "smarty_internal_templateparser.y"
function yy_r108()
2014-06-08 16:00:56 +00:00
{
if (defined($this->yystack[$this->yyidx + 0]->minor)) {
$this->_retvalue = $this->yystack[$this->yyidx + 0]->minor;
2014-06-08 16:00:56 +00:00
} else {
$this->_retvalue = "'" . $this->yystack[$this->yyidx + 0]->minor . "'";
}
}
#line 2673 "smarty_internal_templateparser.php"
#line 751 "smarty_internal_templateparser.y"
function yy_r110()
2014-06-08 16:00:56 +00:00
{
$this->_retvalue = "(" . $this->yystack[$this->yyidx + - 1]->minor . ")";
}
#line 2678 "smarty_internal_templateparser.php"
#line 766 "smarty_internal_templateparser.y"
function yy_r113()
2014-10-18 00:18:11 +02:00
{
self::$prefix_number ++;
2014-10-18 00:18:11 +02:00
if ($this->yystack[$this->yyidx + - 2]->minor['var'] == '\'smarty\'') {
$this->compiler->prefix_code[] = '<?php $_tmp' . self::$prefix_number . ' = ' . $this->compiler->compileTag('private_special_variable', array(), $this->yystack[$this->yyidx + - 2]->minor['smarty_internal_index']) . ';?>';
2014-10-18 00:18:11 +02:00
} else {
$this->compiler->prefix_code[] = '<?php $_tmp' . self::$prefix_number . ' = ' . $this->compileVariable($this->yystack[$this->yyidx + - 2]->minor['var']) . $this->yystack[$this->yyidx + - 2]->minor['smarty_internal_index'] . ';?>';
2014-10-18 00:18:11 +02:00
}
$this->_retvalue = '$_tmp' . self::$prefix_number . '::' . $this->yystack[$this->yyidx + 0]->minor;
2014-10-18 00:18:11 +02:00
}
#line 2690 "smarty_internal_templateparser.php"
#line 778 "smarty_internal_templateparser.y"
function yy_r114()
2014-06-08 16:00:56 +00:00
{
self::$prefix_number ++;
$this->compiler->prefix_code[] = '<?php ob_start();?>' . $this->yystack[$this->yyidx + - 1]->minor . '<?php $_tmp' . self::$prefix_number . '=ob_get_clean();?>';
$this->_retvalue = '$_tmp' . self::$prefix_number;
}
#line 2697 "smarty_internal_templateparser.php"
#line 794 "smarty_internal_templateparser.y"
function yy_r117()
{
if (!$this->security || isset($this->smarty->registered_classes[$this->yystack[$this->yyidx + - 2]->minor]) || $this->smarty->security_policy->isTrustedStaticClass($this->yystack[$this->yyidx + - 2]->minor, $this->compiler)) {
if (isset($this->smarty->registered_classes[$this->yystack[$this->yyidx + - 2]->minor])) {
$this->_retvalue = $this->smarty->registered_classes[$this->yystack[$this->yyidx + - 2]->minor] . '::' . $this->yystack[$this->yyidx + 0]->minor;
} else {
$this->_retvalue = $this->yystack[$this->yyidx + - 2]->minor . '::' . $this->yystack[$this->yyidx + 0]->minor;
}
} else {
$this->compiler->error("static class '" . $this->yystack[$this->yyidx + - 2]->minor . "' is undefined or not allowed by security setting");
}
}
#line 2710 "smarty_internal_templateparser.php"
#line 828 "smarty_internal_templateparser.y"
function yy_r121()
2014-06-08 16:00:56 +00:00
{
if ($this->yystack[$this->yyidx + 0]->minor['var'] == '\'smarty\'') {
$smarty_var = $this->compiler->compileTag('private_special_variable', array(), $this->yystack[$this->yyidx + 0]->minor['smarty_internal_index']);
$this->_retvalue = $smarty_var;
} else {
// used for array reset,next,prev,end,current
$this->last_variable = $this->yystack[$this->yyidx + 0]->minor['var'];
$this->last_index = $this->yystack[$this->yyidx + 0]->minor['smarty_internal_index'];
$this->_retvalue = $this->compileVariable($this->yystack[$this->yyidx + 0]->minor['var']) . $this->yystack[$this->yyidx + 0]->minor['smarty_internal_index'];
}
}
#line 2723 "smarty_internal_templateparser.php"
#line 841 "smarty_internal_templateparser.y"
function yy_r122()
2014-06-08 16:00:56 +00:00
{
$this->_retvalue = '$_smarty_tpl->tpl_vars[' . $this->yystack[$this->yyidx + - 2]->minor . ']->' . $this->yystack[$this->yyidx + 0]->minor;
}
#line 2728 "smarty_internal_templateparser.php"
#line 851 "smarty_internal_templateparser.y"
function yy_r124()
{
$this->_retvalue = '$_smarty_tpl->getConfigVariable( \'' . $this->yystack[$this->yyidx + - 1]->minor . '\')';
}
#line 2733 "smarty_internal_templateparser.php"
#line 855 "smarty_internal_templateparser.y"
function yy_r125()
2014-06-08 16:00:56 +00:00
{
$this->_retvalue = '(is_array($tmp = $_smarty_tpl->getConfigVariable( \'' . $this->yystack[$this->yyidx + - 2]->minor . '\')) ? $tmp' . $this->yystack[$this->yyidx + 0]->minor . ' :null)';
2014-06-08 16:00:56 +00:00
}
#line 2738 "smarty_internal_templateparser.php"
#line 859 "smarty_internal_templateparser.y"
function yy_r126()
2014-06-08 16:00:56 +00:00
{
$this->_retvalue = '$_smarty_tpl->getConfigVariable( ' . $this->yystack[$this->yyidx + - 1]->minor . ')';
2014-06-08 16:00:56 +00:00
}
#line 2743 "smarty_internal_templateparser.php"
#line 863 "smarty_internal_templateparser.y"
function yy_r127()
2014-06-08 16:00:56 +00:00
{
$this->_retvalue = '(is_array($tmp = $_smarty_tpl->getConfigVariable( ' . $this->yystack[$this->yyidx + - 2]->minor . ')) ? $tmp' . $this->yystack[$this->yyidx + 0]->minor . ' : null)';
2014-06-08 16:00:56 +00:00
}
#line 2748 "smarty_internal_templateparser.php"
#line 867 "smarty_internal_templateparser.y"
function yy_r128()
2014-06-08 16:00:56 +00:00
{
$this->_retvalue = array('var' => $this->yystack[$this->yyidx + - 1]->minor, 'smarty_internal_index' => $this->yystack[$this->yyidx + 0]->minor);
2014-06-08 16:00:56 +00:00
}
#line 2753 "smarty_internal_templateparser.php"
#line 880 "smarty_internal_templateparser.y"
function yy_r130()
2014-06-08 16:00:56 +00:00
{
return;
2014-06-08 16:00:56 +00:00
}
#line 2758 "smarty_internal_templateparser.php"
#line 886 "smarty_internal_templateparser.y"
function yy_r131()
2014-06-08 16:00:56 +00:00
{
$this->_retvalue = '[' . $this->compileVariable($this->yystack[$this->yyidx + 0]->minor) . ']';
2014-06-08 16:00:56 +00:00
}
#line 2763 "smarty_internal_templateparser.php"
#line 890 "smarty_internal_templateparser.y"
function yy_r132()
2014-06-08 16:00:56 +00:00
{
$this->_retvalue = '[' . $this->compileVariable($this->yystack[$this->yyidx + - 2]->minor) . '->' . $this->yystack[$this->yyidx + 0]->minor . ']';
2014-06-08 16:00:56 +00:00
}
#line 2768 "smarty_internal_templateparser.php"
#line 894 "smarty_internal_templateparser.y"
function yy_r133()
2014-06-08 16:00:56 +00:00
{
if (defined($this->yystack[$this->yyidx + 0]->minor)) {
$this->_retvalue = "[" . $this->yystack[$this->yyidx + 0]->minor . "]";
} else {
$this->_retvalue = "['" . $this->yystack[$this->yyidx + 0]->minor . "']";
}
2014-06-08 16:00:56 +00:00
}
#line 2777 "smarty_internal_templateparser.php"
#line 902 "smarty_internal_templateparser.y"
function yy_r134()
2014-06-08 16:00:56 +00:00
{
$this->_retvalue = "[" . $this->yystack[$this->yyidx + 0]->minor . "]";
}
#line 2782 "smarty_internal_templateparser.php"
#line 907 "smarty_internal_templateparser.y"
function yy_r135()
2014-06-08 16:00:56 +00:00
{
$this->_retvalue = "[" . $this->yystack[$this->yyidx + - 1]->minor . "]";
}
#line 2787 "smarty_internal_templateparser.php"
#line 912 "smarty_internal_templateparser.y"
function yy_r136()
2014-06-08 16:00:56 +00:00
{
$this->_retvalue = '[' . $this->compiler->compileTag('private_special_variable', array(), '[\'section\'][\'' . $this->yystack[$this->yyidx + - 1]->minor . '\'][\'index\']') . ']';
}
#line 2792 "smarty_internal_templateparser.php"
#line 916 "smarty_internal_templateparser.y"
function yy_r137()
2014-06-08 16:00:56 +00:00
{
$this->_retvalue = '[' . $this->compiler->compileTag('private_special_variable', array(), '[\'section\'][\'' . $this->yystack[$this->yyidx + - 3]->minor . '\'][\'' . $this->yystack[$this->yyidx + - 1]->minor . '\']') . ']';
}
#line 2797 "smarty_internal_templateparser.php"
#line 926 "smarty_internal_templateparser.y"
function yy_r139()
2014-06-08 16:00:56 +00:00
{
$this->_retvalue = '[]';
}
#line 2802 "smarty_internal_templateparser.php"
#line 940 "smarty_internal_templateparser.y"
function yy_r141()
2014-06-08 16:00:56 +00:00
{
$this->_retvalue = $this->yystack[$this->yyidx + - 1]->minor . '.' . $this->yystack[$this->yyidx + 0]->minor;
}
#line 2807 "smarty_internal_templateparser.php"
#line 945 "smarty_internal_templateparser.y"
function yy_r142()
2014-06-08 16:00:56 +00:00
{
$this->_retvalue = '\'' . $this->yystack[$this->yyidx + 0]->minor . '\'';
}
#line 2812 "smarty_internal_templateparser.php"
#line 950 "smarty_internal_templateparser.y"
function yy_r143()
2014-06-08 16:00:56 +00:00
{
$this->_retvalue = '(' . $this->yystack[$this->yyidx + - 1]->minor . ')';
}
#line 2817 "smarty_internal_templateparser.php"
#line 957 "smarty_internal_templateparser.y"
function yy_r144()
2014-06-08 16:00:56 +00:00
{
if ($this->yystack[$this->yyidx + - 1]->minor['var'] == '\'smarty\'') {
$this->_retvalue = $this->compiler->compileTag('private_special_variable', array(), $this->yystack[$this->yyidx + - 1]->minor['smarty_internal_index']) . $this->yystack[$this->yyidx + 0]->minor;
} else {
$this->_retvalue = $this->compileVariable($this->yystack[$this->yyidx + - 1]->minor['var']) . $this->yystack[$this->yyidx + - 1]->minor['smarty_internal_index'] . $this->yystack[$this->yyidx + 0]->minor;
}
}
#line 2826 "smarty_internal_templateparser.php"
#line 966 "smarty_internal_templateparser.y"
function yy_r145()
2014-06-08 16:00:56 +00:00
{
$this->_retvalue = $this->yystack[$this->yyidx + 0]->minor;
}
#line 2831 "smarty_internal_templateparser.php"
#line 971 "smarty_internal_templateparser.y"
function yy_r146()
2014-06-08 16:00:56 +00:00
{
$this->_retvalue = $this->yystack[$this->yyidx + - 1]->minor . $this->yystack[$this->yyidx + 0]->minor;
}
#line 2836 "smarty_internal_templateparser.php"
#line 976 "smarty_internal_templateparser.y"
function yy_r147()
2014-06-08 16:00:56 +00:00
{
if ($this->security && substr($this->yystack[$this->yyidx + - 1]->minor, 0, 1) == '_') {
$this->compiler->trigger_template_error(self::Err1);
}
$this->_retvalue = '->' . $this->yystack[$this->yyidx + - 1]->minor . $this->yystack[$this->yyidx + 0]->minor;
}
#line 2844 "smarty_internal_templateparser.php"
#line 983 "smarty_internal_templateparser.y"
function yy_r148()
2014-06-08 16:00:56 +00:00
{
if ($this->security) {
$this->compiler->trigger_template_error(self::Err2);
}
$this->_retvalue = '->{' . $this->compileVariable($this->yystack[$this->yyidx + - 1]->minor) . $this->yystack[$this->yyidx + 0]->minor . '}';
}
#line 2852 "smarty_internal_templateparser.php"
#line 990 "smarty_internal_templateparser.y"
function yy_r149()
2014-06-08 16:00:56 +00:00
{
if ($this->security) {
$this->compiler->trigger_template_error(self::Err2);
}
$this->_retvalue = '->{' . $this->yystack[$this->yyidx + - 2]->minor . $this->yystack[$this->yyidx + 0]->minor . '}';
}
#line 2860 "smarty_internal_templateparser.php"
#line 997 "smarty_internal_templateparser.y"
function yy_r150()
2014-06-08 16:00:56 +00:00
{
if ($this->security) {
$this->compiler->trigger_template_error(self::Err2);
}
$this->_retvalue = '->{\'' . $this->yystack[$this->yyidx + - 4]->minor . '\'.' . $this->yystack[$this->yyidx + - 2]->minor . $this->yystack[$this->yyidx + 0]->minor . '}';
}
#line 2868 "smarty_internal_templateparser.php"
#line 1005 "smarty_internal_templateparser.y"
function yy_r151()
2014-06-08 16:00:56 +00:00
{
$this->_retvalue = '->' . $this->yystack[$this->yyidx + 0]->minor;
}
#line 2873 "smarty_internal_templateparser.php"
#line 1013 "smarty_internal_templateparser.y"
function yy_r152()
2014-06-08 16:00:56 +00:00
{
if (!$this->security || $this->smarty->security_policy->isTrustedPhpFunction($this->yystack[$this->yyidx + - 3]->minor, $this->compiler)) {
if (strcasecmp($this->yystack[$this->yyidx + - 3]->minor, 'isset') === 0 || strcasecmp($this->yystack[$this->yyidx + - 3]->minor, 'empty') === 0 || strcasecmp($this->yystack[$this->yyidx + - 3]->minor, 'array') === 0 || is_callable($this->yystack[$this->yyidx + - 3]->minor)) {
$func_name = strtolower($this->yystack[$this->yyidx + - 3]->minor);
if ($func_name == 'isset') {
if (count($this->yystack[$this->yyidx + - 1]->minor) == 0) {
$this->compiler->trigger_template_error('Illegal number of paramer in "isset()"');
}
$par = implode(',', $this->yystack[$this->yyidx + - 1]->minor);
if (strncasecmp($par, '$_smarty_tpl->getConfigVariable', strlen('$_smarty_tpl->getConfigVariable')) === 0) {
self::$prefix_number ++;
$this->compiler->prefix_code[] = '<?php $_tmp' . self::$prefix_number . '=' . str_replace(')', ', false)', $par) . ';?>';
$isset_par = '$_tmp' . self::$prefix_number;
} else {
$isset_par = str_replace("')->value", "',null,true,false)->value", $par);
}
$this->_retvalue = $this->yystack[$this->yyidx + - 3]->minor . "(" . $isset_par . ")";
} elseif (in_array($func_name, array('empty', 'reset', 'current', 'end', 'prev', 'next'))) {
if (count($this->yystack[$this->yyidx + - 1]->minor) != 1) {
$this->compiler->trigger_template_error('Illegal number of paramer in "empty()"');
}
if ($func_name == 'empty') {
$this->_retvalue = $func_name . '(' . str_replace("')->value", "',null,true,false)->value", $this->yystack[$this->yyidx + - 1]->minor[0]) . ')';
} else {
$this->_retvalue = $func_name . '(' . $this->yystack[$this->yyidx + - 1]->minor[0] . ')';
}
2011-09-16 14:19:56 +00:00
} else {
2014-06-08 16:00:56 +00:00
$this->_retvalue = $this->yystack[$this->yyidx + - 3]->minor . "(" . implode(',', $this->yystack[$this->yyidx + - 1]->minor) . ")";
2011-09-16 14:19:56 +00:00
}
} else {
2014-06-08 16:00:56 +00:00
$this->compiler->trigger_template_error("unknown function \"" . $this->yystack[$this->yyidx + - 3]->minor . "\"");
2011-09-16 14:19:56 +00:00
}
}
}
#line 2909 "smarty_internal_templateparser.php"
#line 1052 "smarty_internal_templateparser.y"
function yy_r153()
2014-06-08 16:00:56 +00:00
{
if ($this->security && substr($this->yystack[$this->yyidx + - 3]->minor, 0, 1) == '_') {
$this->compiler->trigger_template_error(self::Err1);
}
$this->_retvalue = $this->yystack[$this->yyidx + - 3]->minor . "(" . implode(',', $this->yystack[$this->yyidx + - 1]->minor) . ")";
}
#line 2917 "smarty_internal_templateparser.php"
#line 1059 "smarty_internal_templateparser.y"
function yy_r154()
2014-06-08 16:00:56 +00:00
{
if ($this->security) {
$this->compiler->trigger_template_error(self::Err2);
}
self::$prefix_number ++;
$this->compiler->prefix_code[] = '<?php $_tmp' . self::$prefix_number . '=' . $this->compileVariable("'" . $this->yystack[$this->yyidx + - 3]->minor . "'") . ';?>';
$this->_retvalue = '$_tmp' . self::$prefix_number . '(' . implode(',', $this->yystack[$this->yyidx + - 1]->minor) . ')';
}
#line 2927 "smarty_internal_templateparser.php"
#line 1070 "smarty_internal_templateparser.y"
function yy_r155()
2014-06-08 16:00:56 +00:00
{
$this->_retvalue = array_merge($this->yystack[$this->yyidx + - 2]->minor, array($this->yystack[$this->yyidx + 0]->minor));
}
#line 2932 "smarty_internal_templateparser.php"
#line 1087 "smarty_internal_templateparser.y"
function yy_r158()
2014-06-08 16:00:56 +00:00
{
$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)));
}
#line 2937 "smarty_internal_templateparser.php"
#line 1091 "smarty_internal_templateparser.y"
function yy_r159()
2014-06-08 16:00:56 +00:00
{
$this->_retvalue = array(array_merge($this->yystack[$this->yyidx + - 1]->minor, $this->yystack[$this->yyidx + 0]->minor));
}
#line 2942 "smarty_internal_templateparser.php"
#line 1099 "smarty_internal_templateparser.y"
function yy_r161()
2014-06-08 16:00:56 +00:00
{
$this->_retvalue = array($this->yystack[$this->yyidx + 0]->minor);
}
#line 2947 "smarty_internal_templateparser.php"
#line 1107 "smarty_internal_templateparser.y"
function yy_r162()
2014-06-08 16:00:56 +00:00
{
$this->_retvalue = array_merge($this->yystack[$this->yyidx + - 1]->minor, $this->yystack[$this->yyidx + 0]->minor);
}
#line 2952 "smarty_internal_templateparser.php"
#line 1141 "smarty_internal_templateparser.y"
function yy_r169()
2014-06-08 16:00:56 +00:00
{
$this->_retvalue = '$' . $this->yystack[$this->yyidx + - 1]->minor . $this->yystack[$this->yyidx + 0]->minor;
}
#line 2957 "smarty_internal_templateparser.php"
#line 1146 "smarty_internal_templateparser.y"
function yy_r170()
2014-06-08 16:00:56 +00:00
{
$this->_retvalue = '$' . $this->yystack[$this->yyidx + - 2]->minor . $this->yystack[$this->yyidx + - 1]->minor . $this->yystack[$this->yyidx + 0]->minor;
}
#line 2962 "smarty_internal_templateparser.php"
#line 1152 "smarty_internal_templateparser.y"
function yy_r171()
{
$this->_retvalue = '==';
}
#line 2967 "smarty_internal_templateparser.php"
#line 1156 "smarty_internal_templateparser.y"
function yy_r172()
{
$this->_retvalue = '!=';
}
#line 2972 "smarty_internal_templateparser.php"
#line 1160 "smarty_internal_templateparser.y"
function yy_r173()
2014-06-08 16:00:56 +00:00
{
$this->_retvalue = '>';
2014-06-08 16:00:56 +00:00
}
#line 2977 "smarty_internal_templateparser.php"
#line 1164 "smarty_internal_templateparser.y"
function yy_r174()
2014-06-08 16:00:56 +00:00
{
$this->_retvalue = '<';
2014-06-08 16:00:56 +00:00
}
#line 2982 "smarty_internal_templateparser.php"
#line 1168 "smarty_internal_templateparser.y"
function yy_r175()
2014-06-08 16:00:56 +00:00
{
$this->_retvalue = '>=';
2014-06-08 16:00:56 +00:00
}
#line 2987 "smarty_internal_templateparser.php"
#line 1172 "smarty_internal_templateparser.y"
function yy_r176()
2014-06-08 16:00:56 +00:00
{
$this->_retvalue = '<=';
2011-09-16 14:19:56 +00:00
}
#line 2992 "smarty_internal_templateparser.php"
#line 1176 "smarty_internal_templateparser.y"
function yy_r177()
2014-06-08 16:00:56 +00:00
{
$this->_retvalue = '===';
2014-06-08 16:00:56 +00:00
}
#line 2997 "smarty_internal_templateparser.php"
#line 1180 "smarty_internal_templateparser.y"
function yy_r178()
2014-06-08 16:00:56 +00:00
{
$this->_retvalue = '!==';
2014-06-08 16:00:56 +00:00
}
#line 3002 "smarty_internal_templateparser.php"
#line 1184 "smarty_internal_templateparser.y"
function yy_r179()
2014-06-08 16:00:56 +00:00
{
$this->_retvalue = '%';
2014-06-08 16:00:56 +00:00
}
#line 3007 "smarty_internal_templateparser.php"
#line 1188 "smarty_internal_templateparser.y"
function yy_r180()
2014-06-08 16:00:56 +00:00
{
$this->_retvalue = '&&';
2014-06-08 16:00:56 +00:00
}
#line 3012 "smarty_internal_templateparser.php"
#line 1192 "smarty_internal_templateparser.y"
function yy_r181()
2014-06-08 16:00:56 +00:00
{
$this->_retvalue = '||';
2014-06-08 16:00:56 +00:00
}
#line 3017 "smarty_internal_templateparser.php"
#line 1196 "smarty_internal_templateparser.y"
function yy_r182()
2014-06-08 16:00:56 +00:00
{
$this->_retvalue = ' XOR ';
2014-06-08 16:00:56 +00:00
}
#line 3022 "smarty_internal_templateparser.php"
#line 1203 "smarty_internal_templateparser.y"
function yy_r183()
2014-06-08 16:00:56 +00:00
{
$this->_retvalue = 'array(' . $this->yystack[$this->yyidx + - 1]->minor . ')';
2014-06-08 16:00:56 +00:00
}
#line 3027 "smarty_internal_templateparser.php"
#line 1211 "smarty_internal_templateparser.y"
function yy_r185()
2014-06-08 16:00:56 +00:00
{
$this->_retvalue = $this->yystack[$this->yyidx + - 2]->minor . ',' . $this->yystack[$this->yyidx + 0]->minor;
2014-06-08 16:00:56 +00:00
}
#line 3032 "smarty_internal_templateparser.php"
#line 1219 "smarty_internal_templateparser.y"
function yy_r187()
2014-06-08 16:00:56 +00:00
{
$this->_retvalue = $this->yystack[$this->yyidx + - 2]->minor . '=>' . $this->yystack[$this->yyidx + 0]->minor;
}
#line 3037 "smarty_internal_templateparser.php"
#line 1223 "smarty_internal_templateparser.y"
function yy_r188()
2014-06-08 16:00:56 +00:00
{
$this->_retvalue = '\'' . $this->yystack[$this->yyidx + - 2]->minor . '\'=>' . $this->yystack[$this->yyidx + 0]->minor;
}
#line 3042 "smarty_internal_templateparser.php"
#line 1235 "smarty_internal_templateparser.y"
function yy_r190()
2014-06-08 16:00:56 +00:00
{
$this->_retvalue = "''";
}
#line 3047 "smarty_internal_templateparser.php"
#line 1239 "smarty_internal_templateparser.y"
function yy_r191()
2014-06-08 16:00:56 +00:00
{
$this->_retvalue = $this->yystack[$this->yyidx + - 1]->minor->to_smarty_php();
}
#line 3052 "smarty_internal_templateparser.php"
#line 1244 "smarty_internal_templateparser.y"
function yy_r192()
2014-06-08 16:00:56 +00:00
{
$this->yystack[$this->yyidx + - 1]->minor->append_subtree($this->yystack[$this->yyidx + 0]->minor);
$this->_retvalue = $this->yystack[$this->yyidx + - 1]->minor;
}
#line 3058 "smarty_internal_templateparser.php"
#line 1249 "smarty_internal_templateparser.y"
function yy_r193()
2014-06-08 16:00:56 +00:00
{
$this->_retvalue = new _smarty_doublequoted($this, $this->yystack[$this->yyidx + 0]->minor);
}
#line 3063 "smarty_internal_templateparser.php"
#line 1253 "smarty_internal_templateparser.y"
function yy_r194()
2014-06-08 16:00:56 +00:00
{
$this->_retvalue = new _smarty_code($this, '(string)' . $this->yystack[$this->yyidx + - 1]->minor);
}
#line 3068 "smarty_internal_templateparser.php"
#line 1261 "smarty_internal_templateparser.y"
function yy_r196()
2014-06-08 16:00:56 +00:00
{
$this->_retvalue = new _smarty_code($this, '(string)$_smarty_tpl->tpl_vars[\'' . substr($this->yystack[$this->yyidx + 0]->minor, 1) . '\']->value');
}
#line 3073 "smarty_internal_templateparser.php"
#line 1269 "smarty_internal_templateparser.y"
function yy_r198()
2014-06-08 16:00:56 +00:00
{
$this->_retvalue = new _smarty_code($this, '(string)(' . $this->yystack[$this->yyidx + - 1]->minor . ')');
}
#line 3078 "smarty_internal_templateparser.php"
#line 1273 "smarty_internal_templateparser.y"
function yy_r199()
2014-06-08 16:00:56 +00:00
{
$this->_retvalue = new _smarty_tag($this, $this->yystack[$this->yyidx + - 1]->minor);
}
#line 3083 "smarty_internal_templateparser.php"
#line 1277 "smarty_internal_templateparser.y"
function yy_r200()
2014-06-08 16:00:56 +00:00
{
$this->_retvalue = new _smarty_dq_content($this, $this->yystack[$this->yyidx + 0]->minor);
}
#line 3088 "smarty_internal_templateparser.php"
private $_retvalue;
public function yy_reduce($yyruleno)
{
$yymsp = $this->yystack[$this->yyidx];
if ($this->yyTraceFILE && $yyruleno >= 0
2014-06-08 16:00:56 +00:00
&& $yyruleno < count(self::$yyRuleName)
) {
fprintf($this->yyTraceFILE, "%sReduce (%d) [%s].\n",
2014-06-08 16:00:56 +00:00
$this->yyTracePrompt, $yyruleno,
self::$yyRuleName[$yyruleno]);
}
$this->_retvalue = $yy_lefthand_side = null;
if (array_key_exists($yyruleno, self::$yyReduceMap)) {
// call the action
$this->_retvalue = null;
$this->{'yy_r' . self::$yyReduceMap[$yyruleno]}();
$yy_lefthand_side = $this->_retvalue;
}
$yygoto = self::$yyRuleInfo[$yyruleno]['lhs'];
$yysize = self::$yyRuleInfo[$yyruleno]['rhs'];
$this->yyidx -= $yysize;
2014-06-08 16:00:56 +00:00
for ($i = $yysize; $i; $i --) {
// pop all of the right-hand side parameters
array_pop($this->yystack);
}
$yyact = $this->yy_find_reduce_action($this->yystack[$this->yyidx]->stateno, $yygoto);
if ($yyact < self::YYNSTATE) {
if (!$this->yyTraceFILE && $yysize) {
2014-06-08 16:00:56 +00:00
$this->yyidx ++;
$x = new TP_yyStackEntry;
$x->stateno = $yyact;
$x->major = $yygoto;
$x->minor = $yy_lefthand_side;
$this->yystack[$this->yyidx] = $x;
} else {
$this->yy_shift($yyact, $yygoto, $yy_lefthand_side);
}
} elseif ($yyact == self::YYNSTATE + self::YYNRULE + 1) {
$this->yy_accept();
}
}
public function yy_parse_failed()
{
if ($this->yyTraceFILE) {
fprintf($this->yyTraceFILE, "%sFail!\n", $this->yyTracePrompt);
2014-06-08 16:00:56 +00:00
}
while ($this->yyidx >= 0) {
$this->yy_pop_parser_stack();
}
}
public function yy_syntax_error($yymajor, $TOKEN)
{
#line 79 "smarty_internal_templateparser.y"
2014-06-08 16:00:56 +00:00
$this->internalError = true;
$this->yymajor = $yymajor;
$this->compiler->trigger_template_error();
#line 3150 "smarty_internal_templateparser.php"
}
public function yy_accept()
{
if ($this->yyTraceFILE) {
fprintf($this->yyTraceFILE, "%sAccept!\n", $this->yyTracePrompt);
2014-06-08 16:00:56 +00:00
}
while ($this->yyidx >= 0) {
$stack = $this->yy_pop_parser_stack();
}
#line 70 "smarty_internal_templateparser.y"
2014-06-08 16:00:56 +00:00
$this->successful = !$this->internalError;
$this->internalError = false;
$this->retvalue = $this->_retvalue;
//echo $this->retvalue."\n\n";
#line 3168 "smarty_internal_templateparser.php"
}
public function doParse($yymajor, $yytokenvalue)
{
$yyerrorhit = 0; /* True if yymajor has invoked an error */
if ($this->yyidx === null || $this->yyidx < 0) {
$this->yyidx = 0;
2014-06-08 16:00:56 +00:00
$this->yyerrcnt = - 1;
$x = new TP_yyStackEntry;
$x->stateno = 0;
$x->major = 0;
$this->yystack = array();
array_push($this->yystack, $x);
}
2014-06-08 16:00:56 +00:00
$yyendofinput = ($yymajor == 0);
if ($this->yyTraceFILE) {
fprintf($this->yyTraceFILE, "%sInput %s\n",
2014-06-08 16:00:56 +00:00
$this->yyTracePrompt, $this->yyTokenName[$yymajor]);
}
do {
$yyact = $this->yy_find_shift_action($yymajor);
if ($yymajor < self::YYERRORSYMBOL &&
2014-06-08 16:00:56 +00:00
!$this->yy_is_expected_token($yymajor)
) {
// force a syntax error
$yyact = self::YY_ERROR_ACTION;
}
if ($yyact < self::YYNSTATE) {
$this->yy_shift($yyact, $yymajor, $yytokenvalue);
2014-06-08 16:00:56 +00:00
$this->yyerrcnt --;
if ($yyendofinput && $this->yyidx >= 0) {
$yymajor = 0;
} else {
$yymajor = self::YYNOCODE;
}
} elseif ($yyact < self::YYNSTATE + self::YYNRULE) {
$this->yy_reduce($yyact - self::YYNSTATE);
} elseif ($yyact == self::YY_ERROR_ACTION) {
if ($this->yyTraceFILE) {
fprintf($this->yyTraceFILE, "%sSyntax Error!\n",
2014-06-08 16:00:56 +00:00
$this->yyTracePrompt);
}
if (self::YYERRORSYMBOL) {
if ($this->yyerrcnt < 0) {
$this->yy_syntax_error($yymajor, $yytokenvalue);
}
$yymx = $this->yystack[$this->yyidx]->major;
if ($yymx == self::YYERRORSYMBOL || $yyerrorhit) {
if ($this->yyTraceFILE) {
fprintf($this->yyTraceFILE, "%sDiscard input token %s\n",
2014-06-08 16:00:56 +00:00
$this->yyTracePrompt, $this->yyTokenName[$yymajor]);
}
$this->yy_destructor($yymajor, $yytokenvalue);
$yymajor = self::YYNOCODE;
} else {
while ($this->yyidx >= 0 &&
2014-06-08 16:00:56 +00:00
$yymx != self::YYERRORSYMBOL &&
($yyact = $this->yy_find_shift_action(self::YYERRORSYMBOL)) >= self::YYNSTATE
) {
$this->yy_pop_parser_stack();
}
2014-06-08 16:00:56 +00:00
if ($this->yyidx < 0 || $yymajor == 0) {
$this->yy_destructor($yymajor, $yytokenvalue);
$this->yy_parse_failed();
$yymajor = self::YYNOCODE;
} elseif ($yymx != self::YYERRORSYMBOL) {
$u2 = 0;
$this->yy_shift($yyact, self::YYERRORSYMBOL, $u2);
}
}
$this->yyerrcnt = 3;
$yyerrorhit = 1;
} else {
if ($this->yyerrcnt <= 0) {
$this->yy_syntax_error($yymajor, $yytokenvalue);
}
$this->yyerrcnt = 3;
$this->yy_destructor($yymajor, $yytokenvalue);
if ($yyendofinput) {
$this->yy_parse_failed();
}
$yymajor = self::YYNOCODE;
}
} else {
$this->yy_accept();
$yymajor = self::YYNOCODE;
}
} while ($yymajor != self::YYNOCODE && $this->yyidx >= 0);
}
}