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 */ } ; #line 13 "smarty_internal_templateparser.y" class Smarty_Internal_Templateparser#line 80 "smarty_internal_templateparser.php" { #line 15 "smarty_internal_templateparser.y" 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; public $yymajor; public $last_index; public $last_variable; public $root_buffer; public $current_buffer; private $lex; private $internalError = false; private $strip = false; 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; $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 { $this->php_handling = $this->smarty->php_handling; } $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)); } public function compileVariable($variable) { if (strpos($variable, '(') == 0) { // not a variable variable $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; } // 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'; } #line 134 "smarty_internal_templateparser.php" 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; static public $yy_action = array( /* 0 */ 221, 31, 327, 263, 196, 309, 305, 301, 302, 303, /* 10 */ 304, 310, 311, 317, 318, 319, 202, 25, 23, 10, /* 20 */ 321, 32, 158, 131, 5, 107, 202, 315, 314, 28, /* 30 */ 143, 221, 206, 429, 255, 17, 252, 195, 122, 328, /* 40 */ 49, 51, 50, 44, 26, 19, 347, 343, 38, 13, /* 50 */ 344, 345, 39, 34, 221, 567, 95, 265, 238, 306, /* 60 */ 429, 256, 139, 119, 481, 206, 429, 278, 346, 352, /* 70 */ 353, 359, 360, 361, 358, 357, 354, 355, 356, 294, /* 80 */ 279, 37, 329, 28, 105, 248, 284, 481, 11, 17, /* 90 */ 286, 14, 276, 483, 49, 51, 50, 44, 26, 19, /* 100 */ 347, 343, 38, 13, 344, 345, 39, 34, 221, 93, /* 110 */ 221, 323, 386, 29, 128, 178, 483, 298, 481, 192, /* 120 */ 326, 278, 346, 352, 353, 359, 360, 361, 358, 357, /* 130 */ 354, 355, 356, 349, 279, 338, 221, 28, 423, 28, /* 140 */ 147, 481, 11, 17, 286, 17, 32, 483, 49, 51, /* 150 */ 50, 44, 26, 19, 347, 343, 38, 13, 344, 345, /* 160 */ 39, 34, 221, 93, 207, 28, 221, 31, 426, 261, /* 170 */ 483, 17, 36, 133, 290, 278, 346, 352, 353, 359, /* 180 */ 360, 361, 358, 357, 354, 355, 356, 231, 241, 106, /* 190 */ 160, 291, 221, 320, 429, 426, 307, 238, 306, 299, /* 200 */ 147, 426, 49, 51, 50, 44, 26, 19, 347, 343, /* 210 */ 38, 13, 344, 345, 39, 34, 221, 206, 267, 190, /* 220 */ 11, 429, 286, 20, 109, 336, 137, 429, 274, 278, /* 230 */ 346, 352, 353, 359, 360, 361, 358, 357, 354, 355, /* 240 */ 356, 285, 279, 16, 102, 165, 221, 206, 287, 11, /* 250 */ 481, 286, 14, 21, 299, 483, 49, 51, 50, 44, /* 260 */ 26, 19, 347, 343, 38, 13, 344, 345, 39, 34, /* 270 */ 221, 93, 206, 481, 6, 28, 201, 326, 483, 193, /* 280 */ 11, 17, 286, 278, 346, 352, 353, 359, 360, 361, /* 290 */ 358, 357, 354, 355, 356, 235, 104, 172, 199, 326, /* 300 */ 175, 257, 232, 218, 122, 233, 299, 206, 203, 299, /* 310 */ 49, 51, 50, 44, 26, 19, 347, 343, 38, 13, /* 320 */ 344, 345, 39, 34, 206, 221, 235, 205, 28, 31, /* 330 */ 11, 362, 237, 221, 17, 391, 262, 278, 346, 352, /* 340 */ 353, 359, 360, 361, 358, 357, 354, 355, 356, 197, /* 350 */ 105, 279, 212, 166, 493, 2, 221, 45, 8, 308, /* 360 */ 493, 283, 299, 184, 483, 49, 51, 50, 44, 26, /* 370 */ 19, 347, 343, 38, 13, 344, 345, 39, 34, 221, /* 380 */ 205, 264, 180, 482, 333, 4, 11, 483, 219, 141, /* 390 */ 242, 299, 278, 346, 352, 353, 359, 360, 361, 358, /* 400 */ 357, 354, 355, 356, 285, 258, 482, 183, 129, 24, /* 410 */ 240, 247, 149, 257, 277, 295, 299, 40, 158, 49, /* 420 */ 51, 50, 44, 26, 19, 347, 343, 38, 13, 344, /* 430 */ 345, 39, 34, 221, 205, 204, 167, 11, 221, 286, /* 440 */ 134, 11, 179, 245, 285, 299, 278, 346, 352, 353, /* 450 */ 359, 360, 361, 358, 357, 354, 355, 356, 139, 198, /* 460 */ 142, 191, 164, 205, 285, 313, 11, 312, 251, 27, /* 470 */ 221, 348, 132, 49, 51, 50, 44, 26, 19, 347, /* 480 */ 343, 38, 13, 344, 345, 39, 34, 221, 231, 206, /* 490 */ 187, 260, 158, 103, 7, 257, 254, 121, 157, 299, /* 500 */ 278, 346, 352, 353, 359, 360, 361, 358, 357, 354, /* 510 */ 355, 356, 285, 294, 294, 163, 316, 228, 115, 22, /* 520 */ 173, 194, 296, 169, 299, 17, 331, 49, 51, 50, /* 530 */ 44, 26, 19, 347, 343, 38, 13, 344, 345, 39, /* 540 */ 34, 221, 189, 108, 171, 182, 140, 6, 123, 340, /* 550 */ 230, 101, 97, 299, 278, 346, 352, 353, 359, 360, /* 560 */ 361, 358, 357, 354, 355, 356, 285, 294, 294, 159, /* 570 */ 161, 41, 281, 242, 253, 282, 144, 268, 299, 299, /* 580 */ 113, 49, 51, 50, 44, 26, 19, 347, 343, 38, /* 590 */ 13, 344, 345, 39, 34, 221, 294, 272, 181, 120, /* 600 */ 42, 297, 200, 30, 94, 221, 100, 299, 278, 346, /* 610 */ 352, 353, 359, 360, 361, 358, 357, 354, 355, 356, /* 620 */ 285, 332, 294, 275, 300, 298, 168, 170, 177, 12, /* 630 */ 269, 285, 45, 273, 270, 49, 51, 50, 44, 26, /* 640 */ 19, 347, 343, 38, 13, 344, 345, 39, 34, 221, /* 650 */ 259, 331, 205, 331, 287, 331, 331, 331, 98, 112, /* 660 */ 118, 331, 278, 346, 352, 353, 359, 360, 361, 358, /* 670 */ 357, 354, 355, 356, 294, 294, 294, 331, 331, 331, /* 680 */ 331, 331, 331, 331, 331, 331, 331, 331, 249, 49, /* 690 */ 51, 50, 44, 26, 19, 347, 343, 38, 13, 344, /* 700 */ 345, 39, 34, 221, 35, 331, 331, 331, 331, 331, /* 710 */ 331, 331, 331, 331, 331, 331, 278, 346, 352, 353, /* 720 */ 359, 360, 361, 358, 357, 354, 355, 356, 331, 331, /* 730 */ 331, 331, 331, 331, 331, 331, 331, 331, 331, 331, /* 740 */ 331, 331, 158, 49, 51, 50, 44, 26, 19, 347, /* 750 */ 343, 38, 13, 344, 345, 39, 34, 221, 331, 331, /* 760 */ 331, 331, 331, 331, 331, 331, 331, 331, 331, 331, /* 770 */ 278, 346, 352, 353, 359, 360, 361, 358, 357, 354, /* 780 */ 355, 356, 139, 331, 331, 331, 331, 331, 331, 331, /* 790 */ 331, 331, 331, 331, 331, 331, 331, 49, 51, 50, /* 800 */ 44, 26, 19, 347, 343, 38, 13, 344, 345, 39, /* 810 */ 34, 331, 331, 331, 331, 331, 331, 331, 331, 331, /* 820 */ 331, 158, 43, 331, 278, 346, 352, 353, 359, 360, /* 830 */ 361, 358, 357, 354, 355, 356, 331, 331, 331, 49, /* 840 */ 51, 50, 44, 26, 19, 347, 343, 38, 13, 344, /* 850 */ 345, 39, 34, 331, 331, 331, 331, 331, 331, 212, /* 860 */ 331, 230, 331, 331, 331, 8, 278, 346, 352, 353, /* 870 */ 359, 360, 361, 358, 357, 354, 355, 356, 331, 331, /* 880 */ 331, 337, 331, 331, 331, 10, 126, 91, 9, 331, /* 890 */ 5, 107, 331, 5, 107, 11, 143, 286, 146, 143, /* 900 */ 255, 322, 252, 255, 229, 252, 33, 28, 331, 48, /* 910 */ 330, 341, 331, 17, 239, 351, 331, 331, 156, 331, /* 920 */ 331, 331, 138, 331, 47, 46, 280, 234, 292, 146, /* 930 */ 227, 266, 105, 1, 216, 225, 288, 293, 331, 351, /* 940 */ 331, 246, 331, 10, 130, 213, 351, 96, 5, 107, /* 950 */ 324, 18, 339, 331, 143, 239, 331, 331, 255, 154, /* 960 */ 252, 331, 229, 138, 33, 331, 331, 48, 331, 331, /* 970 */ 331, 331, 350, 331, 331, 216, 225, 288, 293, 331, /* 980 */ 351, 331, 47, 46, 280, 234, 292, 331, 227, 331, /* 990 */ 105, 1, 271, 331, 331, 331, 427, 337, 331, 331, /* 1000 */ 331, 10, 130, 224, 9, 96, 5, 107, 331, 5, /* 1010 */ 107, 331, 143, 331, 236, 143, 255, 331, 252, 255, /* 1020 */ 229, 252, 33, 427, 331, 48, 331, 331, 331, 427, /* 1030 */ 331, 239, 481, 331, 331, 151, 331, 331, 331, 138, /* 1040 */ 47, 46, 280, 234, 292, 331, 227, 331, 105, 1, /* 1050 */ 331, 216, 225, 288, 293, 481, 351, 331, 331, 10, /* 1060 */ 130, 215, 331, 96, 5, 107, 325, 18, 339, 331, /* 1070 */ 143, 239, 331, 331, 255, 152, 252, 331, 229, 138, /* 1080 */ 33, 331, 331, 48, 331, 331, 331, 331, 331, 331, /* 1090 */ 331, 216, 225, 288, 293, 331, 351, 331, 47, 46, /* 1100 */ 280, 234, 292, 331, 227, 331, 105, 1, 221, 331, /* 1110 */ 396, 331, 11, 331, 286, 331, 331, 10, 122, 224, /* 1120 */ 331, 96, 5, 107, 28, 331, 243, 239, 143, 250, /* 1130 */ 17, 150, 255, 331, 252, 138, 229, 28, 15, 331, /* 1140 */ 331, 48, 331, 17, 331, 331, 481, 216, 225, 288, /* 1150 */ 293, 331, 351, 331, 331, 331, 47, 46, 280, 234, /* 1160 */ 292, 331, 227, 331, 105, 1, 331, 331, 331, 481, /* 1170 */ 331, 11, 331, 286, 331, 10, 130, 208, 331, 96, /* 1180 */ 5, 107, 331, 28, 331, 244, 143, 239, 331, 17, /* 1190 */ 255, 148, 252, 331, 229, 138, 33, 331, 331, 48, /* 1200 */ 331, 331, 331, 331, 331, 331, 331, 216, 225, 288, /* 1210 */ 293, 331, 351, 331, 47, 46, 280, 234, 292, 331, /* 1220 */ 227, 331, 105, 1, 331, 331, 331, 331, 331, 331, /* 1230 */ 331, 331, 331, 10, 136, 224, 331, 96, 5, 107, /* 1240 */ 331, 331, 331, 331, 143, 239, 331, 331, 255, 155, /* 1250 */ 252, 331, 229, 138, 3, 331, 331, 48, 331, 331, /* 1260 */ 331, 331, 331, 331, 331, 216, 225, 288, 293, 331, /* 1270 */ 351, 331, 47, 46, 280, 234, 292, 331, 227, 331, /* 1280 */ 105, 1, 331, 331, 331, 331, 331, 331, 331, 331, /* 1290 */ 331, 10, 130, 209, 331, 96, 5, 107, 331, 331, /* 1300 */ 331, 331, 143, 239, 331, 331, 255, 153, 252, 331, /* 1310 */ 222, 138, 33, 331, 331, 48, 331, 331, 331, 331, /* 1320 */ 331, 331, 331, 216, 225, 288, 293, 331, 351, 331, /* 1330 */ 47, 46, 280, 234, 292, 331, 227, 331, 105, 1, /* 1340 */ 331, 331, 331, 331, 331, 331, 331, 331, 331, 10, /* 1350 */ 124, 224, 331, 96, 5, 107, 331, 331, 331, 331, /* 1360 */ 143, 331, 331, 331, 255, 331, 252, 331, 229, 331, /* 1370 */ 33, 196, 174, 48, 331, 331, 331, 331, 331, 331, /* 1380 */ 331, 299, 331, 331, 25, 23, 331, 331, 47, 46, /* 1390 */ 280, 234, 292, 331, 227, 331, 105, 1, 331, 206, /* 1400 */ 331, 331, 331, 331, 331, 331, 331, 10, 122, 224, /* 1410 */ 331, 96, 5, 107, 331, 331, 331, 331, 143, 331, /* 1420 */ 331, 331, 255, 331, 252, 331, 229, 331, 15, 331, /* 1430 */ 331, 48, 331, 331, 331, 471, 331, 331, 331, 331, /* 1440 */ 331, 331, 331, 331, 331, 331, 47, 46, 280, 234, /* 1450 */ 292, 331, 227, 331, 105, 331, 331, 471, 331, 471, /* 1460 */ 471, 331, 471, 471, 196, 186, 331, 331, 471, 96, /* 1470 */ 471, 481, 471, 331, 299, 331, 331, 25, 23, 331, /* 1480 */ 239, 331, 331, 331, 125, 331, 331, 87, 138, 331, /* 1490 */ 331, 331, 206, 331, 481, 331, 289, 342, 331, 471, /* 1500 */ 214, 225, 288, 293, 331, 351, 331, 331, 331, 331, /* 1510 */ 239, 196, 162, 471, 145, 220, 335, 54, 116, 135, /* 1520 */ 331, 299, 331, 331, 25, 23, 289, 342, 331, 331, /* 1530 */ 214, 225, 288, 293, 239, 351, 331, 331, 145, 206, /* 1540 */ 331, 72, 138, 331, 331, 331, 331, 331, 331, 331, /* 1550 */ 289, 342, 331, 331, 214, 225, 288, 293, 331, 351, /* 1560 */ 239, 99, 176, 331, 145, 331, 217, 72, 138, 331, /* 1570 */ 331, 299, 331, 331, 25, 23, 289, 342, 331, 331, /* 1580 */ 214, 225, 288, 293, 331, 351, 331, 239, 331, 206, /* 1590 */ 331, 145, 223, 331, 72, 138, 331, 331, 331, 331, /* 1600 */ 331, 331, 331, 289, 342, 331, 331, 214, 225, 288, /* 1610 */ 293, 331, 351, 331, 239, 331, 331, 331, 125, 226, /* 1620 */ 331, 87, 138, 331, 331, 331, 331, 331, 331, 331, /* 1630 */ 289, 342, 331, 331, 214, 225, 288, 293, 239, 351, /* 1640 */ 331, 331, 145, 331, 331, 62, 116, 254, 331, 331, /* 1650 */ 334, 331, 331, 331, 289, 342, 331, 331, 214, 225, /* 1660 */ 288, 293, 331, 351, 239, 331, 331, 331, 145, 331, /* 1670 */ 331, 69, 138, 331, 331, 239, 331, 331, 331, 145, /* 1680 */ 289, 342, 77, 138, 210, 225, 288, 293, 331, 351, /* 1690 */ 331, 289, 342, 331, 331, 214, 225, 288, 293, 331, /* 1700 */ 351, 331, 239, 196, 185, 331, 145, 331, 331, 75, /* 1710 */ 138, 331, 331, 299, 331, 331, 25, 23, 289, 342, /* 1720 */ 331, 331, 214, 225, 288, 293, 239, 351, 331, 331, /* 1730 */ 145, 206, 331, 64, 138, 331, 331, 331, 331, 331, /* 1740 */ 331, 331, 289, 342, 331, 331, 214, 225, 288, 293, /* 1750 */ 331, 351, 239, 331, 331, 331, 145, 331, 331, 67, /* 1760 */ 138, 331, 331, 239, 331, 331, 331, 145, 289, 342, /* 1770 */ 61, 138, 214, 225, 288, 293, 331, 351, 331, 289, /* 1780 */ 342, 331, 331, 214, 225, 288, 293, 331, 351, 331, /* 1790 */ 239, 196, 188, 331, 92, 331, 331, 56, 117, 331, /* 1800 */ 331, 299, 331, 331, 25, 23, 289, 342, 331, 331, /* 1810 */ 214, 225, 288, 293, 239, 351, 331, 331, 145, 206, /* 1820 */ 331, 71, 138, 331, 331, 331, 331, 331, 331, 331, /* 1830 */ 289, 342, 331, 331, 214, 225, 288, 293, 331, 351, /* 1840 */ 239, 331, 331, 331, 145, 331, 331, 85, 138, 331, /* 1850 */ 331, 239, 331, 331, 331, 145, 289, 342, 86, 138, /* 1860 */ 214, 225, 288, 293, 331, 351, 331, 289, 342, 331, /* 1870 */ 331, 214, 225, 288, 293, 331, 351, 331, 239, 331, /* 1880 */ 331, 331, 145, 331, 331, 82, 138, 331, 331, 331, /* 1890 */ 331, 331, 331, 331, 289, 342, 331, 331, 214, 225, /* 1900 */ 288, 293, 239, 351, 331, 331, 114, 331, 331, 84, /* 1910 */ 138, 331, 331, 331, 331, 331, 331, 331, 289, 342, /* 1920 */ 331, 331, 214, 225, 288, 293, 331, 351, 239, 331, /* 1930 */ 331, 331, 145, 331, 331, 60, 138, 331, 331, 239, /* 1940 */ 331, 331, 331, 145, 289, 342, 78, 138, 214, 225, /* 1950 */ 288, 293, 331, 351, 331, 289, 342, 331, 331, 214, /* 1960 */ 225, 288, 293, 331, 351, 331, 239, 331, 331, 331, /* 1970 */ 145, 331, 331, 63, 138, 331, 331, 331, 331, 331, /* 1980 */ 331, 331, 289, 342, 331, 331, 214, 225, 288, 293, /* 1990 */ 239, 351, 331, 331, 145, 331, 331, 81, 138, 331, /* 2000 */ 331, 331, 331, 331, 331, 331, 289, 342, 331, 331, /* 2010 */ 214, 225, 288, 293, 331, 351, 239, 331, 331, 331, /* 2020 */ 127, 331, 331, 57, 138, 331, 331, 239, 331, 331, /* 2030 */ 331, 145, 289, 342, 79, 138, 214, 225, 288, 293, /* 2040 */ 331, 351, 331, 289, 342, 331, 331, 214, 225, 288, /* 2050 */ 293, 331, 351, 331, 239, 331, 331, 331, 145, 331, /* 2060 */ 331, 83, 138, 331, 331, 331, 331, 331, 331, 331, /* 2070 */ 289, 342, 331, 331, 214, 225, 288, 293, 239, 351, /* 2080 */ 331, 331, 145, 331, 331, 65, 138, 331, 331, 331, /* 2090 */ 331, 331, 331, 331, 289, 342, 331, 331, 214, 225, /* 2100 */ 288, 293, 331, 351, 239, 331, 331, 331, 110, 331, /* 2110 */ 331, 59, 138, 331, 331, 239, 331, 331, 331, 145, /* 2120 */ 289, 342, 76, 138, 214, 225, 288, 293, 331, 351, /* 2130 */ 331, 289, 342, 331, 331, 214, 225, 288, 293, 331, /* 2140 */ 351, 331, 239, 331, 331, 331, 111, 331, 331, 74, /* 2150 */ 138, 331, 331, 331, 331, 331, 331, 331, 289, 342, /* 2160 */ 331, 331, 214, 225, 288, 293, 239, 351, 331, 331, /* 2170 */ 145, 331, 331, 88, 138, 331, 331, 331, 331, 331, /* 2180 */ 331, 331, 289, 342, 331, 331, 214, 225, 288, 293, /* 2190 */ 331, 351, 239, 331, 331, 331, 145, 331, 331, 53, /* 2200 */ 138, 331, 331, 239, 331, 331, 331, 145, 289, 342, /* 2210 */ 58, 138, 214, 225, 288, 293, 331, 351, 331, 289, /* 2220 */ 342, 331, 331, 214, 225, 288, 293, 331, 351, 331, /* 2230 */ 239, 331, 331, 331, 145, 331, 331, 89, 138, 331, /* 2240 */ 331, 331, 331, 331, 331, 331, 289, 342, 331, 331, /* 2250 */ 214, 225, 288, 293, 239, 351, 331, 331, 92, 331, /* 2260 */ 331, 52, 117, 331, 331, 331, 331, 331, 331, 331, /* 2270 */ 289, 342, 331, 331, 211, 225, 288, 293, 331, 351, /* 2280 */ 239, 331, 331, 331, 145, 331, 331, 68, 138, 331, /* 2290 */ 331, 239, 331, 331, 331, 145, 289, 342, 62, 138, /* 2300 */ 214, 225, 288, 293, 331, 351, 331, 289, 342, 331, /* 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( /* 0 */ 1, 38, 3, 40, 92, 4, 5, 6, 7, 8, /* 10 */ 9, 10, 11, 12, 13, 14, 15, 105, 106, 18, /* 20 */ 3, 21, 22, 19, 23, 24, 15, 16, 17, 30, /* 30 */ 29, 1, 120, 3, 33, 36, 35, 92, 19, 20, /* 40 */ 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, /* 50 */ 51, 52, 53, 54, 1, 84, 85, 86, 87, 88, /* 60 */ 30, 31, 62, 99, 39, 120, 36, 68, 69, 70, /* 70 */ 71, 72, 73, 74, 75, 76, 77, 78, 79, 115, /* 80 */ 26, 28, 63, 30, 65, 60, 20, 62, 18, 36, /* 90 */ 20, 21, 67, 39, 41, 42, 43, 44, 45, 46, /* 100 */ 47, 48, 49, 50, 51, 52, 53, 54, 1, 55, /* 110 */ 1, 3, 3, 18, 19, 20, 62, 114, 39, 116, /* 120 */ 117, 68, 69, 70, 71, 72, 73, 74, 75, 76, /* 130 */ 77, 78, 79, 111, 26, 81, 1, 30, 3, 30, /* 140 */ 118, 62, 18, 36, 20, 36, 21, 39, 41, 42, /* 150 */ 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, /* 160 */ 53, 54, 1, 55, 3, 30, 1, 38, 3, 40, /* 170 */ 62, 36, 18, 19, 20, 68, 69, 70, 71, 72, /* 180 */ 73, 74, 75, 76, 77, 78, 79, 87, 64, 92, /* 190 */ 93, 37, 1, 111, 3, 30, 86, 87, 88, 102, /* 200 */ 118, 36, 41, 42, 43, 44, 45, 46, 47, 48, /* 210 */ 49, 50, 51, 52, 53, 54, 1, 120, 3, 92, /* 220 */ 18, 30, 20, 21, 124, 125, 100, 36, 26, 68, /* 230 */ 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, /* 240 */ 79, 115, 26, 32, 92, 93, 1, 120, 121, 18, /* 250 */ 39, 20, 21, 18, 102, 39, 41, 42, 43, 44, /* 260 */ 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, /* 270 */ 1, 55, 120, 62, 39, 30, 116, 117, 62, 92, /* 280 */ 18, 36, 20, 68, 69, 70, 71, 72, 73, 74, /* 290 */ 75, 76, 77, 78, 79, 64, 92, 93, 116, 117, /* 300 */ 93, 95, 96, 97, 19, 20, 102, 120, 20, 102, /* 310 */ 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, /* 320 */ 51, 52, 53, 54, 120, 1, 64, 120, 30, 38, /* 330 */ 18, 40, 20, 1, 36, 3, 67, 68, 69, 70, /* 340 */ 71, 72, 73, 74, 75, 76, 77, 78, 79, 25, /* 350 */ 65, 26, 60, 93, 60, 38, 1, 2, 66, 3, /* 360 */ 66, 20, 102, 113, 39, 41, 42, 43, 44, 45, /* 370 */ 46, 47, 48, 49, 50, 51, 52, 53, 54, 1, /* 380 */ 120, 3, 93, 39, 67, 39, 18, 62, 20, 19, /* 390 */ 2, 102, 68, 69, 70, 71, 72, 73, 74, 75, /* 400 */ 76, 77, 78, 79, 115, 64, 62, 93, 62, 21, /* 410 */ 19, 20, 20, 95, 96, 20, 102, 21, 22, 41, /* 420 */ 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, /* 430 */ 52, 53, 54, 1, 120, 3, 93, 18, 1, 20, /* 440 */ 19, 18, 113, 20, 115, 102, 68, 69, 70, 71, /* 450 */ 72, 73, 74, 75, 76, 77, 78, 79, 62, 25, /* 460 */ 39, 92, 113, 120, 115, 88, 18, 90, 20, 32, /* 470 */ 1, 117, 38, 41, 42, 43, 44, 45, 46, 47, /* 480 */ 48, 49, 50, 51, 52, 53, 54, 1, 87, 120, /* 490 */ 93, 22, 22, 113, 39, 95, 96, 99, 99, 102, /* 500 */ 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, /* 510 */ 78, 79, 115, 115, 115, 93, 16, 31, 89, 30, /* 520 */ 113, 101, 20, 65, 102, 36, 125, 41, 42, 43, /* 530 */ 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, /* 540 */ 54, 1, 101, 101, 93, 65, 19, 39, 19, 3, /* 550 */ 60, 99, 99, 102, 68, 69, 70, 71, 72, 73, /* 560 */ 74, 75, 76, 77, 78, 79, 115, 115, 115, 93, /* 570 */ 93, 27, 37, 2, 20, 37, 20, 20, 102, 102, /* 580 */ 99, 41, 42, 43, 44, 45, 46, 47, 48, 49, /* 590 */ 50, 51, 52, 53, 54, 1, 115, 67, 93, 19, /* 600 */ 2, 20, 20, 56, 20, 1, 99, 102, 68, 69, /* 610 */ 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, /* 620 */ 115, 81, 115, 40, 102, 114, 113, 113, 113, 98, /* 630 */ 118, 115, 2, 30, 40, 41, 42, 43, 44, 45, /* 640 */ 46, 47, 48, 49, 50, 51, 52, 53, 54, 1, /* 650 */ 98, 126, 120, 126, 121, 126, 126, 126, 99, 99, /* 660 */ 99, 126, 68, 69, 70, 71, 72, 73, 74, 75, /* 670 */ 76, 77, 78, 79, 115, 115, 115, 126, 126, 126, /* 680 */ 126, 126, 126, 126, 126, 126, 126, 126, 40, 41, /* 690 */ 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, /* 700 */ 52, 53, 54, 1, 2, 126, 126, 126, 126, 126, /* 710 */ 126, 126, 126, 126, 126, 126, 68, 69, 70, 71, /* 720 */ 72, 73, 74, 75, 76, 77, 78, 79, 126, 126, /* 730 */ 126, 126, 126, 126, 126, 126, 126, 126, 126, 126, /* 740 */ 126, 126, 22, 41, 42, 43, 44, 45, 46, 47, /* 750 */ 48, 49, 50, 51, 52, 53, 54, 1, 126, 126, /* 760 */ 126, 126, 126, 126, 126, 126, 126, 126, 126, 126, /* 770 */ 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, /* 780 */ 78, 79, 62, 126, 126, 126, 126, 126, 126, 126, /* 790 */ 126, 126, 126, 126, 126, 126, 126, 41, 42, 43, /* 800 */ 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, /* 810 */ 54, 126, 126, 126, 126, 126, 126, 126, 126, 126, /* 820 */ 126, 22, 21, 126, 68, 69, 70, 71, 72, 73, /* 830 */ 74, 75, 76, 77, 78, 79, 126, 126, 126, 41, /* 840 */ 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, /* 850 */ 52, 53, 54, 126, 126, 126, 126, 126, 126, 60, /* 860 */ 126, 60, 126, 126, 126, 66, 68, 69, 70, 71, /* 870 */ 72, 73, 74, 75, 76, 77, 78, 79, 126, 126, /* 880 */ 126, 11, 126, 126, 126, 18, 19, 20, 18, 126, /* 890 */ 23, 24, 126, 23, 24, 18, 29, 20, 95, 29, /* 900 */ 33, 34, 35, 33, 37, 35, 39, 30, 126, 42, /* 910 */ 107, 108, 126, 36, 87, 112, 126, 126, 91, 126, /* 920 */ 126, 126, 95, 126, 57, 58, 59, 60, 61, 95, /* 930 */ 63, 104, 65, 66, 107, 108, 109, 110, 126, 112, /* 940 */ 126, 107, 126, 18, 19, 20, 112, 80, 23, 24, /* 950 */ 80, 81, 82, 126, 29, 87, 126, 126, 33, 91, /* 960 */ 35, 126, 37, 95, 39, 126, 126, 42, 126, 126, /* 970 */ 126, 126, 104, 126, 126, 107, 108, 109, 110, 126, /* 980 */ 112, 126, 57, 58, 59, 60, 61, 126, 63, 126, /* 990 */ 65, 66, 67, 126, 126, 126, 3, 11, 126, 126, /* 1000 */ 126, 18, 19, 20, 18, 80, 23, 24, 126, 23, /* 1010 */ 24, 126, 29, 126, 21, 29, 33, 126, 35, 33, /* 1020 */ 37, 35, 39, 30, 126, 42, 126, 126, 126, 36, /* 1030 */ 126, 87, 39, 126, 126, 91, 126, 126, 126, 95, /* 1040 */ 57, 58, 59, 60, 61, 126, 63, 126, 65, 66, /* 1050 */ 126, 107, 108, 109, 110, 62, 112, 126, 126, 18, /* 1060 */ 19, 20, 126, 80, 23, 24, 80, 81, 82, 126, /* 1070 */ 29, 87, 126, 126, 33, 91, 35, 126, 37, 95, /* 1080 */ 39, 126, 126, 42, 126, 126, 126, 126, 126, 126, /* 1090 */ 126, 107, 108, 109, 110, 126, 112, 126, 57, 58, /* 1100 */ 59, 60, 61, 126, 63, 126, 65, 66, 1, 126, /* 1110 */ 3, 126, 18, 126, 20, 126, 126, 18, 19, 20, /* 1120 */ 126, 80, 23, 24, 30, 126, 32, 87, 29, 22, /* 1130 */ 36, 91, 33, 126, 35, 95, 37, 30, 39, 126, /* 1140 */ 126, 42, 126, 36, 126, 126, 39, 107, 108, 109, /* 1150 */ 110, 126, 112, 126, 126, 126, 57, 58, 59, 60, /* 1160 */ 61, 126, 63, 126, 65, 66, 126, 126, 126, 62, /* 1170 */ 126, 18, 126, 20, 126, 18, 19, 20, 126, 80, /* 1180 */ 23, 24, 126, 30, 126, 32, 29, 87, 126, 36, /* 1190 */ 33, 91, 35, 126, 37, 95, 39, 126, 126, 42, /* 1200 */ 126, 126, 126, 126, 126, 126, 126, 107, 108, 109, /* 1210 */ 110, 126, 112, 126, 57, 58, 59, 60, 61, 126, /* 1220 */ 63, 126, 65, 66, 126, 126, 126, 126, 126, 126, /* 1230 */ 126, 126, 126, 18, 19, 20, 126, 80, 23, 24, /* 1240 */ 126, 126, 126, 126, 29, 87, 126, 126, 33, 91, /* 1250 */ 35, 126, 37, 95, 39, 126, 126, 42, 126, 126, /* 1260 */ 126, 126, 126, 126, 126, 107, 108, 109, 110, 126, /* 1270 */ 112, 126, 57, 58, 59, 60, 61, 126, 63, 126, /* 1280 */ 65, 66, 126, 126, 126, 126, 126, 126, 126, 126, /* 1290 */ 126, 18, 19, 20, 126, 80, 23, 24, 126, 126, /* 1300 */ 126, 126, 29, 87, 126, 126, 33, 91, 35, 126, /* 1310 */ 37, 95, 39, 126, 126, 42, 126, 126, 126, 126, /* 1320 */ 126, 126, 126, 107, 108, 109, 110, 126, 112, 126, /* 1330 */ 57, 58, 59, 60, 61, 126, 63, 126, 65, 66, /* 1340 */ 126, 126, 126, 126, 126, 126, 126, 126, 126, 18, /* 1350 */ 19, 20, 126, 80, 23, 24, 126, 126, 126, 126, /* 1360 */ 29, 126, 126, 126, 33, 126, 35, 126, 37, 126, /* 1370 */ 39, 92, 93, 42, 126, 126, 126, 126, 126, 126, /* 1380 */ 126, 102, 126, 126, 105, 106, 126, 126, 57, 58, /* 1390 */ 59, 60, 61, 126, 63, 126, 65, 66, 126, 120, /* 1400 */ 126, 126, 126, 126, 126, 126, 126, 18, 19, 20, /* 1410 */ 126, 80, 23, 24, 126, 126, 126, 126, 29, 126, /* 1420 */ 126, 126, 33, 126, 35, 126, 37, 126, 39, 126, /* 1430 */ 126, 42, 126, 126, 126, 3, 126, 126, 126, 126, /* 1440 */ 126, 126, 126, 126, 126, 126, 57, 58, 59, 60, /* 1450 */ 61, 126, 63, 126, 65, 126, 126, 25, 126, 27, /* 1460 */ 28, 126, 30, 31, 92, 93, 126, 126, 36, 80, /* 1470 */ 38, 39, 40, 126, 102, 126, 126, 105, 106, 126, /* 1480 */ 87, 126, 126, 126, 91, 126, 126, 94, 95, 126, /* 1490 */ 126, 126, 120, 126, 62, 126, 103, 104, 126, 67, /* 1500 */ 107, 108, 109, 110, 126, 112, 126, 126, 126, 126, /* 1510 */ 87, 92, 93, 81, 91, 122, 123, 94, 95, 96, /* 1520 */ 126, 102, 126, 126, 105, 106, 103, 104, 126, 126, /* 1530 */ 107, 108, 109, 110, 87, 112, 126, 126, 91, 120, /* 1540 */ 126, 94, 95, 126, 126, 126, 126, 126, 126, 126, /* 1550 */ 103, 104, 126, 126, 107, 108, 109, 110, 126, 112, /* 1560 */ 87, 92, 93, 126, 91, 126, 119, 94, 95, 126, /* 1570 */ 126, 102, 126, 126, 105, 106, 103, 104, 126, 126, /* 1580 */ 107, 108, 109, 110, 126, 112, 126, 87, 126, 120, /* 1590 */ 126, 91, 119, 126, 94, 95, 126, 126, 126, 126, /* 1600 */ 126, 126, 126, 103, 104, 126, 126, 107, 108, 109, /* 1610 */ 110, 126, 112, 126, 87, 126, 126, 126, 91, 119, /* 1620 */ 126, 94, 95, 126, 126, 126, 126, 126, 126, 126, /* 1630 */ 103, 104, 126, 126, 107, 108, 109, 110, 87, 112, /* 1640 */ 126, 126, 91, 126, 126, 94, 95, 96, 126, 126, /* 1650 */ 123, 126, 126, 126, 103, 104, 126, 126, 107, 108, /* 1660 */ 109, 110, 126, 112, 87, 126, 126, 126, 91, 126, /* 1670 */ 126, 94, 95, 126, 126, 87, 126, 126, 126, 91, /* 1680 */ 103, 104, 94, 95, 107, 108, 109, 110, 126, 112, /* 1690 */ 126, 103, 104, 126, 126, 107, 108, 109, 110, 126, /* 1700 */ 112, 126, 87, 92, 93, 126, 91, 126, 126, 94, /* 1710 */ 95, 126, 126, 102, 126, 126, 105, 106, 103, 104, /* 1720 */ 126, 126, 107, 108, 109, 110, 87, 112, 126, 126, /* 1730 */ 91, 120, 126, 94, 95, 126, 126, 126, 126, 126, /* 1740 */ 126, 126, 103, 104, 126, 126, 107, 108, 109, 110, /* 1750 */ 126, 112, 87, 126, 126, 126, 91, 126, 126, 94, /* 1760 */ 95, 126, 126, 87, 126, 126, 126, 91, 103, 104, /* 1770 */ 94, 95, 107, 108, 109, 110, 126, 112, 126, 103, /* 1780 */ 104, 126, 126, 107, 108, 109, 110, 126, 112, 126, /* 1790 */ 87, 92, 93, 126, 91, 126, 126, 94, 95, 126, /* 1800 */ 126, 102, 126, 126, 105, 106, 103, 104, 126, 126, /* 1810 */ 107, 108, 109, 110, 87, 112, 126, 126, 91, 120, /* 1820 */ 126, 94, 95, 126, 126, 126, 126, 126, 126, 126, /* 1830 */ 103, 104, 126, 126, 107, 108, 109, 110, 126, 112, /* 1840 */ 87, 126, 126, 126, 91, 126, 126, 94, 95, 126, /* 1850 */ 126, 87, 126, 126, 126, 91, 103, 104, 94, 95, /* 1860 */ 107, 108, 109, 110, 126, 112, 126, 103, 104, 126, /* 1870 */ 126, 107, 108, 109, 110, 126, 112, 126, 87, 126, /* 1880 */ 126, 126, 91, 126, 126, 94, 95, 126, 126, 126, /* 1890 */ 126, 126, 126, 126, 103, 104, 126, 126, 107, 108, /* 1900 */ 109, 110, 87, 112, 126, 126, 91, 126, 126, 94, /* 1910 */ 95, 126, 126, 126, 126, 126, 126, 126, 103, 104, /* 1920 */ 126, 126, 107, 108, 109, 110, 126, 112, 87, 126, /* 1930 */ 126, 126, 91, 126, 126, 94, 95, 126, 126, 87, /* 1940 */ 126, 126, 126, 91, 103, 104, 94, 95, 107, 108, /* 1950 */ 109, 110, 126, 112, 126, 103, 104, 126, 126, 107, /* 1960 */ 108, 109, 110, 126, 112, 126, 87, 126, 126, 126, /* 1970 */ 91, 126, 126, 94, 95, 126, 126, 126, 126, 126, /* 1980 */ 126, 126, 103, 104, 126, 126, 107, 108, 109, 110, /* 1990 */ 87, 112, 126, 126, 91, 126, 126, 94, 95, 126, /* 2000 */ 126, 126, 126, 126, 126, 126, 103, 104, 126, 126, /* 2010 */ 107, 108, 109, 110, 126, 112, 87, 126, 126, 126, /* 2020 */ 91, 126, 126, 94, 95, 126, 126, 87, 126, 126, /* 2030 */ 126, 91, 103, 104, 94, 95, 107, 108, 109, 110, /* 2040 */ 126, 112, 126, 103, 104, 126, 126, 107, 108, 109, /* 2050 */ 110, 126, 112, 126, 87, 126, 126, 126, 91, 126, /* 2060 */ 126, 94, 95, 126, 126, 126, 126, 126, 126, 126, /* 2070 */ 103, 104, 126, 126, 107, 108, 109, 110, 87, 112, /* 2080 */ 126, 126, 91, 126, 126, 94, 95, 126, 126, 126, /* 2090 */ 126, 126, 126, 126, 103, 104, 126, 126, 107, 108, /* 2100 */ 109, 110, 126, 112, 87, 126, 126, 126, 91, 126, /* 2110 */ 126, 94, 95, 126, 126, 87, 126, 126, 126, 91, /* 2120 */ 103, 104, 94, 95, 107, 108, 109, 110, 126, 112, /* 2130 */ 126, 103, 104, 126, 126, 107, 108, 109, 110, 126, /* 2140 */ 112, 126, 87, 126, 126, 126, 91, 126, 126, 94, /* 2150 */ 95, 126, 126, 126, 126, 126, 126, 126, 103, 104, /* 2160 */ 126, 126, 107, 108, 109, 110, 87, 112, 126, 126, /* 2170 */ 91, 126, 126, 94, 95, 126, 126, 126, 126, 126, /* 2180 */ 126, 126, 103, 104, 126, 126, 107, 108, 109, 110, /* 2190 */ 126, 112, 87, 126, 126, 126, 91, 126, 126, 94, /* 2200 */ 95, 126, 126, 87, 126, 126, 126, 91, 103, 104, /* 2210 */ 94, 95, 107, 108, 109, 110, 126, 112, 126, 103, /* 2220 */ 104, 126, 126, 107, 108, 109, 110, 126, 112, 126, /* 2230 */ 87, 126, 126, 126, 91, 126, 126, 94, 95, 126, /* 2240 */ 126, 126, 126, 126, 126, 126, 103, 104, 126, 126, /* 2250 */ 107, 108, 109, 110, 87, 112, 126, 126, 91, 126, /* 2260 */ 126, 94, 95, 126, 126, 126, 126, 126, 126, 126, /* 2270 */ 103, 104, 126, 126, 107, 108, 109, 110, 126, 112, /* 2280 */ 87, 126, 126, 126, 91, 126, 126, 94, 95, 126, /* 2290 */ 126, 87, 126, 126, 126, 91, 103, 104, 94, 95, /* 2300 */ 107, 108, 109, 110, 126, 112, 126, 103, 104, 126, /* 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, ); const YY_SHIFT_USE_DFLT = - 38; const YY_SHIFT_MAX = 260; static public $yy_shift_ofst = array( /* 0 */ 1, 1041, 1041, 1215, 983, 1215, 983, 983, 925, 867, /* 10 */ 867, 983, 983, 983, 983, 983, 983, 983, 983, 983, /* 20 */ 983, 983, 1273, 983, 983, 983, 983, 983, 1273, 983, /* 30 */ 1331, 983, 983, 983, 983, 983, 983, 983, 983, 983, /* 40 */ 983, 983, 1157, 983, 1099, 1099, 1389, 1389, 1389, 1389, /* 50 */ 1389, 1389, - 1, 53, 107, 107, 107, 107, 107, 486, /* 60 */ 432, 594, 648, 702, 324, 161, 215, 378, 269, 540, /* 70 */ 756, 756, 756, 756, 756, 756, 756, 756, 756, 756, /* 80 */ 756, 756, 756, 756, 756, 756, 756, 756, 756, 798, /* 90 */ 798, 1107, 109, 19, 245, 1, 870, 1153, 1094, 135, /* 100 */ 877, 877, 135, 799, 245, 285, 245, 421, 355, 986, /* 110 */ 30, 165, 231, 202, 191, 11, 0, 396, 70, 262, /* 120 */ 419, 419, 419, 419, 448, 437, 368, 332, 312, 391, /* 130 */ 423, 419, 421, 419, 419, 298, 423, 298, 720, 391, /* 140 */ 419, 419, 421, 489, 469, 604, 470, 470, 604, 604, /* 150 */ 604, 604, 604, 604, 604, 604, - 38, 124, 95, 298, /* 160 */ 298, 298, 298, 298, 292, 298, 298, 298, 292, 294, /* 170 */ 292, 298, 298, 292, 298, 298, 298, 292, 235, 292, /* 180 */ 298, 298, 294, 298, 292, 298, 298, 298, 298, 630, /* 190 */ 604, 604, 470, 604, 630, 604, 604, 603, 603, 470, /* 200 */ 455, 470, 500, - 38, - 38, - 38, - 38, - 38, 1432, 993, /* 210 */ 54, 108, 154, 25, 216, 211, 325, 291, 434, 388, /* 220 */ 317, 341, 801, - 37, 79, 346, 129, 344, 529, 490, /* 230 */ 535, 546, 544, 480, 538, 581, 557, 455, 356, 17, /* 240 */ 582, 395, 502, 527, 580, 571, 458, 508, 554, 547, /* 250 */ 584, 598, 556, 530, 583, 288, 370, 125, 66, 4, /* 260 */ 392, ); const YY_REDUCE_USE_DFLT = - 89; const YY_REDUCE_MAX = 207; static public $yy_reduce_ofst = array( /* 0 */ - 29, 1393, 1527, 1551, 1473, 1423, 1500, 1447, 2193, 2167, /* 10 */ 1703, 1665, 1639, 1588, 1727, 1676, 1615, 2055, 1577, 1967, /* 20 */ 1940, 1991, 2017, 2028, 1929, 1903, 1791, 1764, 1815, 1841, /* 30 */ 1879, 1852, 2079, 2204, 2255, 2292, 2343, 2319, 2281, 2231, /* 40 */ 2116, 2105, 2143, 1753, 868, 827, 984, 944, 1040, 1100, /* 50 */ 1216, 1158, 1469, 1279, 1699, 1611, 1469, 1372, 1419, - 88, /* 60 */ - 88, - 88, - 88, - 88, - 88, - 88, - 88, - 88, - 88, - 88, /* 70 */ - 88, - 88, - 88, - 88, - 88, - 88, - 88, - 88, - 88, - 88, /* 80 */ - 88, - 88, - 88, - 88, - 88, - 88, - 88, - 88, - 88, - 88, /* 90 */ - 88, 97, 152, 803, 204, 110, 100, 451, 505, 314, /* 100 */ 397, 289, 207, 3, 260, 834, 343, 206, 127, 401, /* 110 */ - 55, - 55, 329, 126, - 55, 377, 182, 182, 329, 329, /* 120 */ 452, 349, - 36, 453, - 36, - 55, - 36, - 55, 398, 22, /* 130 */ - 36, 481, 318, 399, 561, 477, 560, 422, 182, 82, /* 140 */ 507, 559, 400, 476, 369, - 55, 182, 160, - 55, 187, /* 150 */ - 55, - 55, - 55, - 55, - 55, - 55, - 55, 516, 512, 522, /* 160 */ 522, 522, 522, 522, 511, 522, 522, 522, 511, 513, /* 170 */ 511, 522, 522, 511, 522, 522, 522, 511, 515, 511, /* 180 */ 522, 522, 514, 522, 511, 522, 522, 522, 522, 533, /* 190 */ 532, 532, 354, 532, 533, 532, 532, 552, 531, 354, /* 200 */ 380, 354, 429, 442, 407, 441, 420, 250, ); static public $yyExpectedTokens = array( /* 0 */ array(4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 18, 23, 24, 29, 33, 35,), /* 1 */ array(18, 19, 20, 23, 24, 29, 33, 35, 37, 39, 42, 57, 58, 59, 60, 61, 63, 65, 66, 80,), /* 2 */ array(18, 19, 20, 23, 24, 29, 33, 35, 37, 39, 42, 57, 58, 59, 60, 61, 63, 65, 66, 80,), /* 3 */ array(18, 19, 20, 23, 24, 29, 33, 35, 37, 39, 42, 57, 58, 59, 60, 61, 63, 65, 66, 80,), /* 4 */ array(18, 19, 20, 23, 24, 29, 33, 35, 37, 39, 42, 57, 58, 59, 60, 61, 63, 65, 66, 80,), /* 5 */ array(18, 19, 20, 23, 24, 29, 33, 35, 37, 39, 42, 57, 58, 59, 60, 61, 63, 65, 66, 80,), /* 6 */ array(18, 19, 20, 23, 24, 29, 33, 35, 37, 39, 42, 57, 58, 59, 60, 61, 63, 65, 66, 80,), /* 7 */ array(18, 19, 20, 23, 24, 29, 33, 35, 37, 39, 42, 57, 58, 59, 60, 61, 63, 65, 66, 80,), /* 8 */ array(18, 19, 20, 23, 24, 29, 33, 35, 37, 39, 42, 57, 58, 59, 60, 61, 63, 65, 66, 67, 80,), /* 9 */ array(18, 19, 20, 23, 24, 29, 33, 34, 35, 37, 39, 42, 57, 58, 59, 60, 61, 63, 65, 66, 80,), /* 10 */ array(18, 19, 20, 23, 24, 29, 33, 34, 35, 37, 39, 42, 57, 58, 59, 60, 61, 63, 65, 66, 80,), /* 11 */ array(18, 19, 20, 23, 24, 29, 33, 35, 37, 39, 42, 57, 58, 59, 60, 61, 63, 65, 66, 80,), /* 12 */ array(18, 19, 20, 23, 24, 29, 33, 35, 37, 39, 42, 57, 58, 59, 60, 61, 63, 65, 66, 80,), /* 13 */ array(18, 19, 20, 23, 24, 29, 33, 35, 37, 39, 42, 57, 58, 59, 60, 61, 63, 65, 66, 80,), /* 14 */ array(18, 19, 20, 23, 24, 29, 33, 35, 37, 39, 42, 57, 58, 59, 60, 61, 63, 65, 66, 80,), /* 15 */ array(18, 19, 20, 23, 24, 29, 33, 35, 37, 39, 42, 57, 58, 59, 60, 61, 63, 65, 66, 80,), /* 16 */ array(18, 19, 20, 23, 24, 29, 33, 35, 37, 39, 42, 57, 58, 59, 60, 61, 63, 65, 66, 80,), /* 17 */ array(18, 19, 20, 23, 24, 29, 33, 35, 37, 39, 42, 57, 58, 59, 60, 61, 63, 65, 66, 80,), /* 18 */ array(18, 19, 20, 23, 24, 29, 33, 35, 37, 39, 42, 57, 58, 59, 60, 61, 63, 65, 66, 80,), /* 19 */ array(18, 19, 20, 23, 24, 29, 33, 35, 37, 39, 42, 57, 58, 59, 60, 61, 63, 65, 66, 80,), /* 20 */ array(18, 19, 20, 23, 24, 29, 33, 35, 37, 39, 42, 57, 58, 59, 60, 61, 63, 65, 66, 80,), /* 21 */ array(18, 19, 20, 23, 24, 29, 33, 35, 37, 39, 42, 57, 58, 59, 60, 61, 63, 65, 66, 80,), /* 22 */ array(18, 19, 20, 23, 24, 29, 33, 35, 37, 39, 42, 57, 58, 59, 60, 61, 63, 65, 66, 80,), /* 23 */ array(18, 19, 20, 23, 24, 29, 33, 35, 37, 39, 42, 57, 58, 59, 60, 61, 63, 65, 66, 80,), /* 24 */ array(18, 19, 20, 23, 24, 29, 33, 35, 37, 39, 42, 57, 58, 59, 60, 61, 63, 65, 66, 80,), /* 25 */ array(18, 19, 20, 23, 24, 29, 33, 35, 37, 39, 42, 57, 58, 59, 60, 61, 63, 65, 66, 80,), /* 26 */ array(18, 19, 20, 23, 24, 29, 33, 35, 37, 39, 42, 57, 58, 59, 60, 61, 63, 65, 66, 80,), /* 27 */ array(18, 19, 20, 23, 24, 29, 33, 35, 37, 39, 42, 57, 58, 59, 60, 61, 63, 65, 66, 80,), /* 28 */ array(18, 19, 20, 23, 24, 29, 33, 35, 37, 39, 42, 57, 58, 59, 60, 61, 63, 65, 66, 80,), /* 29 */ array(18, 19, 20, 23, 24, 29, 33, 35, 37, 39, 42, 57, 58, 59, 60, 61, 63, 65, 66, 80,), /* 30 */ array(18, 19, 20, 23, 24, 29, 33, 35, 37, 39, 42, 57, 58, 59, 60, 61, 63, 65, 66, 80,), /* 31 */ array(18, 19, 20, 23, 24, 29, 33, 35, 37, 39, 42, 57, 58, 59, 60, 61, 63, 65, 66, 80,), /* 32 */ array(18, 19, 20, 23, 24, 29, 33, 35, 37, 39, 42, 57, 58, 59, 60, 61, 63, 65, 66, 80,), /* 33 */ array(18, 19, 20, 23, 24, 29, 33, 35, 37, 39, 42, 57, 58, 59, 60, 61, 63, 65, 66, 80,), /* 34 */ array(18, 19, 20, 23, 24, 29, 33, 35, 37, 39, 42, 57, 58, 59, 60, 61, 63, 65, 66, 80,), /* 35 */ array(18, 19, 20, 23, 24, 29, 33, 35, 37, 39, 42, 57, 58, 59, 60, 61, 63, 65, 66, 80,), /* 36 */ array(18, 19, 20, 23, 24, 29, 33, 35, 37, 39, 42, 57, 58, 59, 60, 61, 63, 65, 66, 80,), /* 37 */ array(18, 19, 20, 23, 24, 29, 33, 35, 37, 39, 42, 57, 58, 59, 60, 61, 63, 65, 66, 80,), /* 38 */ array(18, 19, 20, 23, 24, 29, 33, 35, 37, 39, 42, 57, 58, 59, 60, 61, 63, 65, 66, 80,), /* 39 */ array(18, 19, 20, 23, 24, 29, 33, 35, 37, 39, 42, 57, 58, 59, 60, 61, 63, 65, 66, 80,), /* 40 */ array(18, 19, 20, 23, 24, 29, 33, 35, 37, 39, 42, 57, 58, 59, 60, 61, 63, 65, 66, 80,), /* 41 */ array(18, 19, 20, 23, 24, 29, 33, 35, 37, 39, 42, 57, 58, 59, 60, 61, 63, 65, 66, 80,), /* 42 */ array(18, 19, 20, 23, 24, 29, 33, 35, 37, 39, 42, 57, 58, 59, 60, 61, 63, 65, 66, 80,), /* 43 */ array(18, 19, 20, 23, 24, 29, 33, 35, 37, 39, 42, 57, 58, 59, 60, 61, 63, 65, 66, 80,), /* 44 */ array(18, 19, 20, 23, 24, 29, 33, 35, 37, 39, 42, 57, 58, 59, 60, 61, 63, 65, 66, 80,), /* 45 */ array(18, 19, 20, 23, 24, 29, 33, 35, 37, 39, 42, 57, 58, 59, 60, 61, 63, 65, 66, 80,), /* 46 */ array(18, 19, 20, 23, 24, 29, 33, 35, 37, 39, 42, 57, 58, 59, 60, 61, 63, 65, 80,), /* 47 */ array(18, 19, 20, 23, 24, 29, 33, 35, 37, 39, 42, 57, 58, 59, 60, 61, 63, 65, 80,), /* 48 */ array(18, 19, 20, 23, 24, 29, 33, 35, 37, 39, 42, 57, 58, 59, 60, 61, 63, 65, 80,), /* 49 */ array(18, 19, 20, 23, 24, 29, 33, 35, 37, 39, 42, 57, 58, 59, 60, 61, 63, 65, 80,), /* 50 */ array(18, 19, 20, 23, 24, 29, 33, 35, 37, 39, 42, 57, 58, 59, 60, 61, 63, 65, 80,), /* 51 */ array(18, 19, 20, 23, 24, 29, 33, 35, 37, 39, 42, 57, 58, 59, 60, 61, 63, 65, 80,), /* 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,), /* 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,), /* 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,), /* 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,), /* 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,), /* 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,), /* 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,), /* 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,), /* 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,), /* 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,), /* 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,), /* 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,), /* 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,), /* 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,), /* 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,), /* 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,), /* 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,), /* 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,), /* 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,), /* 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,), /* 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,), /* 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,), /* 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,), /* 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,), /* 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,), /* 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,), /* 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,), /* 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,), /* 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,), /* 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,), /* 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,), /* 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,), /* 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,), /* 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,), /* 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,), /* 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,), /* 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,), /* 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,), /* 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,), /* 91 */ array(1, 3, 22, 30, 36, 39, 62,), /* 92 */ array(1, 3, 30, 36,), /* 93 */ array(19, 20, 63, 65,), /* 94 */ array(1, 30, 36,), /* 95 */ array(4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 18, 23, 24, 29, 33, 35,), /* 96 */ array(11, 18, 23, 24, 29, 33, 35, 80, 81, 82,), /* 97 */ array(18, 20, 30, 32, 36,), /* 98 */ array(18, 20, 30, 32, 36,), /* 99 */ array(1, 3, 30, 36,), /* 100 */ array(18, 20, 30, 36,), /* 101 */ array(18, 20, 30, 36,), /* 102 */ array(1, 3, 30, 36,), /* 103 */ array(22, 60, 66,), /* 104 */ array(1, 30, 36,), /* 105 */ array(19, 20, 65,), /* 106 */ array(1, 30, 36,), /* 107 */ array(19, 39,), /* 108 */ array(1, 2,), /* 109 */ array(11, 18, 23, 24, 29, 33, 35, 80, 81, 82,), /* 110 */ array(1, 3, 30, 31, 36,), /* 111 */ array(1, 3, 30, 36,), /* 112 */ array(18, 20, 21, 64,), /* 113 */ array(18, 20, 21, 26,), /* 114 */ array(1, 3, 30, 36,), /* 115 */ array(15, 16, 17,), /* 116 */ array(21, 22, 62,), /* 117 */ array(21, 22, 62,), /* 118 */ array(18, 20, 21,), /* 119 */ array(18, 20, 64,), /* 120 */ array(18, 20,), /* 121 */ array(18, 20,), /* 122 */ array(18, 20,), /* 123 */ array(18, 20,), /* 124 */ array(18, 20,), /* 125 */ array(1, 32,), /* 126 */ array(18, 20,), /* 127 */ array(1, 3,), /* 128 */ array(18, 20,), /* 129 */ array(19, 20,), /* 130 */ array(18, 20,), /* 131 */ array(18, 20,), /* 132 */ array(19, 39,), /* 133 */ array(18, 20,), /* 134 */ array(18, 20,), /* 135 */ array(30, 36,), /* 136 */ array(18, 20,), /* 137 */ array(30, 36,), /* 138 */ array(22, 62,), /* 139 */ array(19, 20,), /* 140 */ array(18, 20,), /* 141 */ array(18, 20,), /* 142 */ array(19, 39,), /* 143 */ array(30, 36,), /* 144 */ array(1, 22,), /* 145 */ array(1,), /* 146 */ array(22,), /* 147 */ array(22,), /* 148 */ array(1,), /* 149 */ array(1,), /* 150 */ array(1,), /* 151 */ array(1,), /* 152 */ array(1,), /* 153 */ array(1,), /* 154 */ array(1,), /* 155 */ array(1,), /* 156 */ array(), /* 157 */ array(18, 20, 64,), /* 158 */ array(18, 19, 20,), /* 159 */ array(30, 36,), /* 160 */ array(30, 36,), /* 161 */ array(30, 36,), /* 162 */ array(30, 36,), /* 163 */ array(30, 36,), /* 164 */ array(60, 66,), /* 165 */ array(30, 36,), /* 166 */ array(30, 36,), /* 167 */ array(30, 36,), /* 168 */ array(60, 66,), /* 169 */ array(60, 66,), /* 170 */ array(60, 66,), /* 171 */ array(30, 36,), /* 172 */ array(30, 36,), /* 173 */ array(60, 66,), /* 174 */ array(30, 36,), /* 175 */ array(30, 36,), /* 176 */ array(30, 36,), /* 177 */ array(60, 66,), /* 178 */ array(18, 39,), /* 179 */ array(60, 66,), /* 180 */ array(30, 36,), /* 181 */ array(30, 36,), /* 182 */ array(60, 66,), /* 183 */ array(30, 36,), /* 184 */ array(60, 66,), /* 185 */ array(30, 36,), /* 186 */ array(30, 36,), /* 187 */ array(30, 36,), /* 188 */ array(30, 36,), /* 189 */ array(2,), /* 190 */ array(1,), /* 191 */ array(1,), /* 192 */ array(22,), /* 193 */ array(1,), /* 194 */ array(2,), /* 195 */ array(1,), /* 196 */ array(1,), /* 197 */ array(30,), /* 198 */ array(30,), /* 199 */ array(22,), /* 200 */ array(39,), /* 201 */ array(22,), /* 202 */ array(16,), /* 203 */ array(), /* 204 */ array(), /* 205 */ array(), /* 206 */ array(), /* 207 */ array(), /* 208 */ array(3, 25, 27, 28, 30, 31, 36, 38, 39, 40, 62, 67, 81,), /* 209 */ array(3, 21, 30, 36, 39, 62,), /* 210 */ array(26, 39, 55, 62, 81,), /* 211 */ array(3, 26, 39, 55, 62,), /* 212 */ array(18, 19, 20, 37,), /* 213 */ array(39, 60, 62, 67,), /* 214 */ array(26, 39, 55, 62,), /* 215 */ array(32, 39, 62,), /* 216 */ array(26, 39, 62,), /* 217 */ array(38, 40,), /* 218 */ array(25, 38,), /* 219 */ array(2, 21,), /* 220 */ array(38, 67,), /* 221 */ array(20, 64,), /* 222 */ array(21, 60,), /* 223 */ array(38, 40,), /* 224 */ array(39, 62,), /* 225 */ array(39, 62,), /* 226 */ array(38, 40,), /* 227 */ array(39, 62,), /* 228 */ array(19,), /* 229 */ array(60,), /* 230 */ array(37,), /* 231 */ array(3,), /* 232 */ array(27,), /* 233 */ array(65,), /* 234 */ array(37,), /* 235 */ array(20,), /* 236 */ array(20,), /* 237 */ array(39,), /* 238 */ array(3,), /* 239 */ array(3,), /* 240 */ array(20,), /* 241 */ array(20,), /* 242 */ array(20,), /* 243 */ array(19,), /* 244 */ array(19,), /* 245 */ array(2,), /* 246 */ array(65,), /* 247 */ array(39,), /* 248 */ array(20,), /* 249 */ array(56,), /* 250 */ array(20,), /* 251 */ array(2,), /* 252 */ array(20,), /* 253 */ array(67,), /* 254 */ array(40,), /* 255 */ array(20,), /* 256 */ array(19,), /* 257 */ array(21,), /* 258 */ array(20,), /* 259 */ array(19,), /* 260 */ array(20,), /* 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(), ); static public $yy_default = array( /* 0 */ 366, 549, 566, 566, 520, 566, 520, 520, 566, 566, /* 10 */ 566, 566, 566, 566, 566, 566, 566, 566, 566, 566, /* 20 */ 566, 566, 566, 566, 566, 566, 566, 566, 566, 566, /* 30 */ 566, 566, 566, 566, 566, 566, 566, 566, 566, 566, /* 40 */ 566, 566, 566, 566, 566, 566, 566, 566, 566, 566, /* 50 */ 566, 566, 566, 423, 400, 423, 423, 392, 423, 428, /* 60 */ 566, 566, 566, 566, 566, 566, 566, 566, 566, 566, /* 70 */ 456, 433, 519, 457, 425, 551, 447, 453, 518, 405, /* 80 */ 452, 444, 448, 449, 428, 430, 550, 552, 434, 459, /* 90 */ 460, 471, 436, 566, 423, 363, 566, 423, 423, 443, /* 100 */ 423, 423, 478, 532, 423, 566, 423, 566, 414, 566, /* 110 */ 436, 436, 493, 566, 436, 566, 484, 484, 493, 493, /* 120 */ 566, 493, 566, 566, 566, 436, 566, 436, 566, 566, /* 130 */ 566, 566, 566, 566, 566, 402, 566, 423, 484, 566, /* 140 */ 566, 566, 566, 423, 417, 436, 484, 529, 439, 419, /* 150 */ 462, 463, 464, 441, 446, 440, 527, 494, 566, 409, /* 160 */ 395, 403, 394, 404, 511, 388, 399, 398, 490, 489, /* 170 */ 488, 412, 397, 512, 407, 387, 390, 510, 493, 491, /* 180 */ 413, 410, 487, 389, 513, 408, 393, 411, 401, 521, /* 190 */ 415, 418, 533, 420, 522, 478, 443, 565, 565, 507, /* 200 */ 493, 530, 383, 526, 493, 526, 526, 493, 438, 471, /* 210 */ 461, 461, 566, 471, 461, 471, 461, 566, 566, 505, /* 220 */ 566, 566, 467, 566, 471, 566, 566, 479, 566, 467, /* 230 */ 469, 566, 431, 566, 566, 566, 566, 505, 566, 566, /* 240 */ 566, 566, 566, 566, 566, 505, 566, 531, 566, 473, /* 250 */ 566, 505, 566, 566, 566, 566, 566, 566, 566, 566, /* 260 */ 566, 516, 501, 515, 506, 364, 528, 498, 424, 514, /* 270 */ 473, 502, 500, 564, 406, 435, 499, 432, 534, 465, /* 280 */ 466, 468, 470, 524, 523, 504, 505, 525, 472, 437, /* 290 */ 496, 497, 474, 475, 503, 495, 438, 485, 492, 422, /* 300 */ 421, 371, 372, 373, 374, 370, 369, 365, 367, 368, /* 310 */ 375, 376, 382, 384, 385, 381, 380, 377, 378, 379, /* 320 */ 476, 477, 416, 560, 553, 554, 508, 561, 481, 482, /* 330 */ 483, 555, 558, 546, 548, 547, 556, 563, 557, 559, /* 340 */ 562, 458, 442, 451, 454, 455, 535, 450, 509, 480, /* 350 */ 445, 486, 536, 537, 543, 544, 545, 542, 541, 538, /* 360 */ 539, 540, 517, ); const YYNOCODE = 127; const YYSTACKDEPTH = 500; const YYNSTATE = 363; const YYNRULE = 203; const YYERRORSYMBOL = 83; const YYERRSYMDT = 'yy0'; const YYFALLBACK = 0; 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 = '
'; } 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( '$', '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( /* 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", /* 10 */ "template_element ::= ASPSTARTTAG", /* 11 */ "template_element ::= ASPENDTAG", /* 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", /* 24 */ "smartytag ::= LDEL value modifierlist attributes", /* 25 */ "smartytag ::= LDEL value attributes", /* 26 */ "smartytag ::= LDEL expr modifierlist attributes", /* 27 */ "smartytag ::= LDEL expr attributes", /* 28 */ "smartytag ::= LDEL DOLLAR ID EQUAL value", /* 29 */ "smartytag ::= LDEL DOLLAR ID EQUAL expr", /* 30 */ "smartytag ::= LDEL DOLLAR ID EQUAL expr attributes", /* 31 */ "smartytag ::= LDEL varindexed EQUAL expr attributes", /* 32 */ "smartytag ::= LDEL ID attributes", /* 33 */ "smartytag ::= LDEL ID", /* 34 */ "smartytag ::= LDEL ID PTR ID attributes", /* 35 */ "smartytag ::= LDEL ID modifierlist attributes", /* 36 */ "smartytag ::= LDEL ID PTR ID modifierlist attributes", /* 37 */ "smartytag ::= LDELIF expr", /* 38 */ "smartytag ::= LDELIF expr attributes", /* 39 */ "smartytag ::= LDELIF statement", /* 40 */ "smartytag ::= LDELIF statement attributes", /* 41 */ "smartytag ::= LDELFOR statements SEMICOLON optspace expr SEMICOLON optspace DOLLAR varvar foraction attributes", /* 42 */ "foraction ::= EQUAL expr", /* 43 */ "foraction ::= INCDEC", /* 44 */ "smartytag ::= LDELFOR statement TO expr attributes", /* 45 */ "smartytag ::= LDELFOR statement TO expr STEP expr attributes", /* 46 */ "smartytag ::= LDELFOREACH attributes", /* 47 */ "smartytag ::= LDELFOREACH SPACE value AS DOLLAR varvar attributes", /* 48 */ "smartytag ::= LDELFOREACH SPACE value AS DOLLAR varvar APTR DOLLAR varvar attributes", /* 49 */ "smartytag ::= LDELFOREACH SPACE expr AS DOLLAR varvar attributes", /* 50 */ "smartytag ::= LDELFOREACH SPACE expr AS DOLLAR varvar APTR DOLLAR varvar attributes", /* 51 */ "smartytag ::= LDELSETFILTER ID modparameters", /* 52 */ "smartytag ::= LDELSETFILTER ID modparameters modifierlist", /* 53 */ "smartytag ::= LDEL SMARTYBLOCKCHILDPARENT", /* 54 */ "smartytag ::= LDELSLASH ID", /* 55 */ "smartytag ::= LDELSLASH ID modifierlist", /* 56 */ "smartytag ::= LDELSLASH ID PTR ID", /* 57 */ "smartytag ::= LDELSLASH ID PTR ID modifierlist", /* 58 */ "attributes ::= attributes attribute", /* 59 */ "attributes ::= attribute", /* 60 */ "attributes ::=", /* 61 */ "attribute ::= SPACE ID EQUAL ID", /* 62 */ "attribute ::= ATTR expr", /* 63 */ "attribute ::= ATTR value", /* 64 */ "attribute ::= SPACE ID", /* 65 */ "attribute ::= SPACE expr", /* 66 */ "attribute ::= SPACE value", /* 67 */ "attribute ::= SPACE INTEGER EQUAL expr", /* 68 */ "statements ::= statement", /* 69 */ "statements ::= statements COMMA statement", /* 70 */ "statement ::= DOLLAR varvar EQUAL expr", /* 71 */ "statement ::= varindexed EQUAL expr", /* 72 */ "statement ::= OPENP statement CLOSEP", /* 73 */ "expr ::= value", /* 74 */ "expr ::= ternary", /* 75 */ "expr ::= DOLLAR ID COLON ID", /* 76 */ "expr ::= expr MATH value", /* 77 */ "expr ::= expr UNIMATH value", /* 78 */ "expr ::= expr ANDSYM value", /* 79 */ "expr ::= array", /* 80 */ "expr ::= expr modifierlist", /* 81 */ "expr ::= expr ifcond expr", /* 82 */ "expr ::= expr ISIN array", /* 83 */ "expr ::= expr ISIN value", /* 84 */ "expr ::= expr lop expr", /* 85 */ "expr ::= expr ISDIVBY expr", /* 86 */ "expr ::= expr ISNOTDIVBY expr", /* 87 */ "expr ::= expr ISEVEN", /* 88 */ "expr ::= expr ISNOTEVEN", /* 89 */ "expr ::= expr ISEVENBY expr", /* 90 */ "expr ::= expr ISNOTEVENBY expr", /* 91 */ "expr ::= expr ISODD", /* 92 */ "expr ::= expr ISNOTODD", /* 93 */ "expr ::= expr ISODDBY expr", /* 94 */ "expr ::= expr ISNOTODDBY expr", /* 95 */ "expr ::= variable INSTANCEOF ns1", /* 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 */ "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) { 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, $this->yyTracePrompt . 'Popping ' . $this->yyTokenName[$yytos->major] . "\n"); } $yymajor = $yytos->major; self::yy_destructor($yymajor, $yytos->minor); $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 { 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])) { $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 $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); $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 { 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]) && 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 $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; } 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 || self::$yy_lookahead[$i] != $iLookAhead ) { if (count(self::$yyFallback) && $iLookAhead < count(self::$yyFallback) && ($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 || self::$yy_lookahead[$i] != $iLookAhead ) { return self::$yy_default[$stateno]; } else { return self::$yy_action[$i]; } } public function yy_shift($yyNewState, $yyMajor, $yypMinor) { $this->yyidx ++; if ($this->yyidx >= self::YYSTACKDEPTH) { $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" $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, $yyNewState); fprintf($this->yyTraceFILE, "%sStack:", $this->yyTracePrompt); for ($i = 1; $i <= $this->yyidx; $i ++) { fprintf($this->yyTraceFILE, " %s", $this->yyTokenName[$this->yystack[$i]->major]); } 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( 0 => 0, 1 => 1, 2 => 2, 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, 18 => 18, 72 => 18, 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, 26 => 26, 28 => 28, 29 => 28, 30 => 30, 31 => 31, 32 => 32, 33 => 33, 34 => 34, 35 => 35, 36 => 36, 37 => 37, 38 => 38, 40 => 38, 39 => 39, 41 => 41, 42 => 42, 44 => 44, 45 => 45, 46 => 46, 47 => 47, 49 => 47, 48 => 48, 50 => 48, 51 => 51, 52 => 52, 53 => 53, 54 => 54, 55 => 55, 56 => 56, 57 => 57, 58 => 58, 59 => 59, 68 => 59, 156 => 59, 160 => 59, 164 => 59, 165 => 59, 60 => 60, 157 => 60, 163 => 60, 61 => 61, 62 => 62, 63 => 62, 64 => 64, 67 => 67, 69 => 69, 70 => 70, 71 => 70, 75 => 75, 76 => 76, 77 => 76, 78 => 76, 80 => 80, 115 => 80, 81 => 81, 84 => 81, 82 => 82, 83 => 83, 85 => 85, 86 => 86, 87 => 87, 92 => 87, 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, ); #line 97 "smarty_internal_templateparser.y" function yy_r0() { $this->_retvalue = $this->root_buffer->to_smarty_php(); } #line 2154 "smarty_internal_templateparser.php" #line 105 "smarty_internal_templateparser.y" function yy_r1() { if ($this->yystack[$this->yyidx + 0]->minor != null) { $this->current_buffer->append_subtree($this->yystack[$this->yyidx + 0]->minor); } } #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" 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); } #line 2181 "smarty_internal_templateparser.php" #line 138 "smarty_internal_templateparser.y" function yy_r5() { $this->_retvalue = null; } #line 2186 "smarty_internal_templateparser.php" #line 143 "smarty_internal_templateparser.y" function yy_r6() { $this->_retvalue = new _smarty_text($this, $this->yystack[$this->yyidx + 0]->minor); } #line 2191 "smarty_internal_templateparser.php" #line 148 "smarty_internal_templateparser.y" function yy_r7() { if (strpos($this->yystack[$this->yyidx + 0]->minor, 'lex->is_phpScript = true; } 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); } } 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->smarty instanceof SmartyBC)) { $this->compiler->trigger_template_error(self::Err3); } $this->_retvalue = new _smarty_tag($this, $this->compiler->processNocacheCode('php_handling == Smarty::PHP_REMOVE) { $this->_retvalue = null; } } #line 2215 "smarty_internal_templateparser.php" #line 172 "smarty_internal_templateparser.y" 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("';?>\n", $this->compiler, true)); $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); } 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)); } elseif ($this->php_handling == Smarty::PHP_REMOVE) { $this->_retvalue = null; } } #line 2234 "smarty_internal_templateparser.php" #line 190 "smarty_internal_templateparser.y" 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() { 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) { 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)); } else { $this->_retvalue = new _smarty_text($this, $this->yystack[$this->yyidx + 0]->minor); } } 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); } } } #line 2276 "smarty_internal_templateparser.php" #line 232 "smarty_internal_templateparser.y" function yy_r11() { 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('%>', ENT_QUOTES)); } elseif ($this->php_handling == Smarty::PHP_ALLOW) { if ($this->asp_tags) { $this->_retvalue = new _smarty_tag($this, $this->compiler->processNocacheCode('%>', true)); } else { $this->_retvalue = new _smarty_text($this, $this->yystack[$this->yyidx + 0]->minor); } } 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); } } } #line 2297 "smarty_internal_templateparser.php" #line 254 "smarty_internal_templateparser.y" function yy_r12() { $this->compiler->tag_nocache = true; $this->is_xml = true; $save = $this->template->has_nocache_code; $this->_retvalue = new _smarty_tag($this, $this->compiler->processNocacheCode("", $this->compiler, true)); $this->template->has_nocache_code = $save; } #line 2306 "smarty_internal_templateparser.php" #line 263 "smarty_internal_templateparser.y" function yy_r13() { 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); } } #line 2315 "smarty_internal_templateparser.php" #line 272 "smarty_internal_templateparser.y" function yy_r14() { $this->strip = true; } #line 2320 "smarty_internal_templateparser.php" #line 276 "smarty_internal_templateparser.y" function yy_r15() { $this->strip = false; } #line 2325 "smarty_internal_templateparser.php" #line 280 "smarty_internal_templateparser.y" function yy_r16() { 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); } } #line 2334 "smarty_internal_templateparser.php" #line 289 "smarty_internal_templateparser.y" function yy_r17() { $this->_retvalue = ''; } #line 2339 "smarty_internal_templateparser.php" #line 293 "smarty_internal_templateparser.y" function yy_r18() { $this->_retvalue = $this->yystack[$this->yyidx + - 1]->minor; } #line 2344 "smarty_internal_templateparser.php" #line 297 "smarty_internal_templateparser.y" function yy_r19() { $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() { $this->_retvalue = $this->yystack[$this->yyidx + 0]->minor; } #line 2354 "smarty_internal_templateparser.php" #line 318 "smarty_internal_templateparser.y" function yy_r23() { $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() { $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() { $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() { $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() { $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() { $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() { $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() { $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() { $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() { $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() { $this->_retvalue = '' . $this->compiler->compileTag($this->yystack[$this->yyidx + - 2]->minor, $this->yystack[$this->yyidx + 0]->minor) . '_retvalue .= $this->compiler->compileTag('private_modifier', array(), array('modifierlist' => $this->yystack[$this->yyidx + - 1]->minor, 'value' => 'ob_get_clean()')) . ';?>'; } #line 2410 "smarty_internal_templateparser.php" #line 380 "smarty_internal_templateparser.y" function yy_r36() { $this->_retvalue = '' . $this->compiler->compileTag($this->yystack[$this->yyidx + - 4]->minor, $this->yystack[$this->yyidx + 0]->minor, array('object_method' => $this->yystack[$this->yyidx + - 2]->minor)) . '_retvalue .= $this->compiler->compileTag('private_modifier', array(), array('modifierlist' => $this->yystack[$this->yyidx + - 1]->minor, 'value' => 'ob_get_clean()')) . ';?>'; } #line 2416 "smarty_internal_templateparser.php" #line 386 "smarty_internal_templateparser.y" function yy_r37() { $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() { $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() { $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() { $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() { $this->_retvalue = '=' . $this->yystack[$this->yyidx + 0]->minor; } #line 2444 "smarty_internal_templateparser.php" #line 419 "smarty_internal_templateparser.y" function yy_r44() { $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() { $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() { $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() { $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() { $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() { $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() { $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() { $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() { $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() { $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() { $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() { $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() { $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() { $this->_retvalue = array($this->yystack[$this->yyidx + 0]->minor); } #line 2522 "smarty_internal_templateparser.php" #line 504 "smarty_internal_templateparser.y" function yy_r60() { $this->_retvalue = array(); } #line 2527 "smarty_internal_templateparser.php" #line 509 "smarty_internal_templateparser.y" function yy_r61() { 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 { $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() { $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() { $this->_retvalue = "'" . $this->yystack[$this->yyidx + 0]->minor . "'"; } #line 2550 "smarty_internal_templateparser.php" #line 541 "smarty_internal_templateparser.y" function yy_r67() { $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() { $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() { $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() { $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() { $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() { $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() { $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() { $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() { $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() { $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() { $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() { $this->_retvalue = '!(1 & ' . $this->yystack[$this->yyidx + - 1]->minor . ')'; } #line 2611 "smarty_internal_templateparser.php" #line 645 "smarty_internal_templateparser.y" function yy_r88() { $this->_retvalue = '(1 & ' . $this->yystack[$this->yyidx + - 1]->minor . ')'; } #line 2616 "smarty_internal_templateparser.php" #line 649 "smarty_internal_templateparser.y" function yy_r89() { $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() { $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() { // self::$prefix_number++; // $this->compiler->prefix_code[] = '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; } #line 2634 "smarty_internal_templateparser.php" #line 684 "smarty_internal_templateparser.y" function yy_r96() { $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() { $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() { $this->_retvalue = '!' . $this->yystack[$this->yyidx + 0]->minor; } #line 2649 "smarty_internal_templateparser.php" #line 724 "smarty_internal_templateparser.y" function yy_r105() { $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() { $this->_retvalue = $this->yystack[$this->yyidx + - 1]->minor . '.'; } #line 2659 "smarty_internal_templateparser.php" #line 732 "smarty_internal_templateparser.y" function yy_r107() { $this->_retvalue = '.' . $this->yystack[$this->yyidx + 0]->minor; } #line 2664 "smarty_internal_templateparser.php" #line 737 "smarty_internal_templateparser.y" function yy_r108() { 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 . "'"; } } #line 2673 "smarty_internal_templateparser.php" #line 751 "smarty_internal_templateparser.y" function yy_r110() { $this->_retvalue = "(" . $this->yystack[$this->yyidx + - 1]->minor . ")"; } #line 2678 "smarty_internal_templateparser.php" #line 766 "smarty_internal_templateparser.y" function yy_r113() { self::$prefix_number ++; if ($this->yystack[$this->yyidx + - 2]->minor['var'] == '\'smarty\'') { $this->compiler->prefix_code[] = 'compiler->compileTag('private_special_variable', array(), $this->yystack[$this->yyidx + - 2]->minor['smarty_internal_index']) . ';?>'; } else { $this->compiler->prefix_code[] = 'compileVariable($this->yystack[$this->yyidx + - 2]->minor['var']) . $this->yystack[$this->yyidx + - 2]->minor['smarty_internal_index'] . ';?>'; } $this->_retvalue = '$_tmp' . self::$prefix_number . '::' . $this->yystack[$this->yyidx + 0]->minor; } #line 2690 "smarty_internal_templateparser.php" #line 778 "smarty_internal_templateparser.y" function yy_r114() { self::$prefix_number ++; $this->compiler->prefix_code[] = '' . $this->yystack[$this->yyidx + - 1]->minor . ''; $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() { 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() { $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() { $this->_retvalue = '(is_array($tmp = $_smarty_tpl->getConfigVariable( \'' . $this->yystack[$this->yyidx + - 2]->minor . '\')) ? $tmp' . $this->yystack[$this->yyidx + 0]->minor . ' :null)'; } #line 2738 "smarty_internal_templateparser.php" #line 859 "smarty_internal_templateparser.y" function yy_r126() { $this->_retvalue = '$_smarty_tpl->getConfigVariable( ' . $this->yystack[$this->yyidx + - 1]->minor . ')'; } #line 2743 "smarty_internal_templateparser.php" #line 863 "smarty_internal_templateparser.y" function yy_r127() { $this->_retvalue = '(is_array($tmp = $_smarty_tpl->getConfigVariable( ' . $this->yystack[$this->yyidx + - 2]->minor . ')) ? $tmp' . $this->yystack[$this->yyidx + 0]->minor . ' : null)'; } #line 2748 "smarty_internal_templateparser.php" #line 867 "smarty_internal_templateparser.y" function yy_r128() { $this->_retvalue = array('var' => $this->yystack[$this->yyidx + - 1]->minor, 'smarty_internal_index' => $this->yystack[$this->yyidx + 0]->minor); } #line 2753 "smarty_internal_templateparser.php" #line 880 "smarty_internal_templateparser.y" function yy_r130() { return; } #line 2758 "smarty_internal_templateparser.php" #line 886 "smarty_internal_templateparser.y" function yy_r131() { $this->_retvalue = '[' . $this->compileVariable($this->yystack[$this->yyidx + 0]->minor) . ']'; } #line 2763 "smarty_internal_templateparser.php" #line 890 "smarty_internal_templateparser.y" function yy_r132() { $this->_retvalue = '[' . $this->compileVariable($this->yystack[$this->yyidx + - 2]->minor) . '->' . $this->yystack[$this->yyidx + 0]->minor . ']'; } #line 2768 "smarty_internal_templateparser.php" #line 894 "smarty_internal_templateparser.y" function yy_r133() { 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 . "']"; } } #line 2777 "smarty_internal_templateparser.php" #line 902 "smarty_internal_templateparser.y" function yy_r134() { $this->_retvalue = "[" . $this->yystack[$this->yyidx + 0]->minor . "]"; } #line 2782 "smarty_internal_templateparser.php" #line 907 "smarty_internal_templateparser.y" function yy_r135() { $this->_retvalue = "[" . $this->yystack[$this->yyidx + - 1]->minor . "]"; } #line 2787 "smarty_internal_templateparser.php" #line 912 "smarty_internal_templateparser.y" function yy_r136() { $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() { $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() { $this->_retvalue = '[]'; } #line 2802 "smarty_internal_templateparser.php" #line 940 "smarty_internal_templateparser.y" function yy_r141() { $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() { $this->_retvalue = '\'' . $this->yystack[$this->yyidx + 0]->minor . '\''; } #line 2812 "smarty_internal_templateparser.php" #line 950 "smarty_internal_templateparser.y" function yy_r143() { $this->_retvalue = '(' . $this->yystack[$this->yyidx + - 1]->minor . ')'; } #line 2817 "smarty_internal_templateparser.php" #line 957 "smarty_internal_templateparser.y" function yy_r144() { 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() { $this->_retvalue = $this->yystack[$this->yyidx + 0]->minor; } #line 2831 "smarty_internal_templateparser.php" #line 971 "smarty_internal_templateparser.y" function yy_r146() { $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() { 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() { 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() { 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() { 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() { $this->_retvalue = '->' . $this->yystack[$this->yyidx + 0]->minor; } #line 2873 "smarty_internal_templateparser.php" #line 1013 "smarty_internal_templateparser.y" function yy_r152() { 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[] = ''; $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] . ')'; } } else { $this->_retvalue = $this->yystack[$this->yyidx + - 3]->minor . "(" . implode(',', $this->yystack[$this->yyidx + - 1]->minor) . ")"; } } else { $this->compiler->trigger_template_error("unknown function \"" . $this->yystack[$this->yyidx + - 3]->minor . "\""); } } } #line 2909 "smarty_internal_templateparser.php" #line 1052 "smarty_internal_templateparser.y" function yy_r153() { 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() { if ($this->security) { $this->compiler->trigger_template_error(self::Err2); } self::$prefix_number ++; $this->compiler->prefix_code[] = '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() { $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() { $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() { $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() { $this->_retvalue = array($this->yystack[$this->yyidx + 0]->minor); } #line 2947 "smarty_internal_templateparser.php" #line 1107 "smarty_internal_templateparser.y" function yy_r162() { $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() { $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() { $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() { $this->_retvalue = '>'; } #line 2977 "smarty_internal_templateparser.php" #line 1164 "smarty_internal_templateparser.y" function yy_r174() { $this->_retvalue = '<'; } #line 2982 "smarty_internal_templateparser.php" #line 1168 "smarty_internal_templateparser.y" function yy_r175() { $this->_retvalue = '>='; } #line 2987 "smarty_internal_templateparser.php" #line 1172 "smarty_internal_templateparser.y" function yy_r176() { $this->_retvalue = '<='; } #line 2992 "smarty_internal_templateparser.php" #line 1176 "smarty_internal_templateparser.y" function yy_r177() { $this->_retvalue = '==='; } #line 2997 "smarty_internal_templateparser.php" #line 1180 "smarty_internal_templateparser.y" function yy_r178() { $this->_retvalue = '!=='; } #line 3002 "smarty_internal_templateparser.php" #line 1184 "smarty_internal_templateparser.y" function yy_r179() { $this->_retvalue = '%'; } #line 3007 "smarty_internal_templateparser.php" #line 1188 "smarty_internal_templateparser.y" function yy_r180() { $this->_retvalue = '&&'; } #line 3012 "smarty_internal_templateparser.php" #line 1192 "smarty_internal_templateparser.y" function yy_r181() { $this->_retvalue = '||'; } #line 3017 "smarty_internal_templateparser.php" #line 1196 "smarty_internal_templateparser.y" function yy_r182() { $this->_retvalue = ' XOR '; } #line 3022 "smarty_internal_templateparser.php" #line 1203 "smarty_internal_templateparser.y" function yy_r183() { $this->_retvalue = 'array(' . $this->yystack[$this->yyidx + - 1]->minor . ')'; } #line 3027 "smarty_internal_templateparser.php" #line 1211 "smarty_internal_templateparser.y" function yy_r185() { $this->_retvalue = $this->yystack[$this->yyidx + - 2]->minor . ',' . $this->yystack[$this->yyidx + 0]->minor; } #line 3032 "smarty_internal_templateparser.php" #line 1219 "smarty_internal_templateparser.y" function yy_r187() { $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() { $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() { $this->_retvalue = "''"; } #line 3047 "smarty_internal_templateparser.php" #line 1239 "smarty_internal_templateparser.y" function yy_r191() { $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() { $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() { $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() { $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() { $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() { $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() { $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() { $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 && $yyruleno < count(self::$yyRuleName) ) { fprintf($this->yyTraceFILE, "%sReduce (%d) [%s].\n", $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; 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) { $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); } while ($this->yyidx >= 0) { $this->yy_pop_parser_stack(); } } public function yy_syntax_error($yymajor, $TOKEN) { #line 79 "smarty_internal_templateparser.y" $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); } while ($this->yyidx >= 0) { $stack = $this->yy_pop_parser_stack(); } #line 70 "smarty_internal_templateparser.y" $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; $this->yyerrcnt = - 1; $x = new TP_yyStackEntry; $x->stateno = 0; $x->major = 0; $this->yystack = array(); array_push($this->yystack, $x); } $yyendofinput = ($yymajor == 0); if ($this->yyTraceFILE) { fprintf($this->yyTraceFILE, "%sInput %s\n", $this->yyTracePrompt, $this->yyTokenName[$yymajor]); } do { $yyact = $this->yy_find_shift_action($yymajor); if ($yymajor < self::YYERRORSYMBOL && !$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); $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", $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", $this->yyTracePrompt, $this->yyTokenName[$yymajor]); } $this->yy_destructor($yymajor, $yytokenvalue); $yymajor = self::YYNOCODE; } else { while ($this->yyidx >= 0 && $yymx != self::YYERRORSYMBOL && ($yyact = $this->yy_find_shift_action(self::YYERRORSYMBOL)) >= self::YYNSTATE ) { $this->yy_pop_parser_stack(); } 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); } }