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; } } } function __toString() { return $this->_string; } function offsetExists($offset) { return isset($this->metadata[$offset]); } function offsetGet($offset) { return $this->metadata[$offset]; } 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; } } 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 12 "smarty_internal_templateparser.y" class Smarty_Internal_Templateparser#line 79 "smarty_internal_templateparser.php" { #line 14 "smarty_internal_templateparser.y" // states whether the parse was successful or not public $successful = true; public $retvalue = 0; private $lex; private $internalError = false; function __construct($lex, $compiler) { // set instance object self::instance($this); $this->lex = $lex; $this->compiler = $compiler; $this->smarty = $this->compiler->smarty; $this->template = $this->compiler->template; if ($this->template->security && isset($this->smarty->security_handler)) { $this->sec_obj = $this->smarty->security_policy; } else { $this->sec_obj = $this->smarty; } $this->compiler->has_variable_string = false; $this->compiler->prefix_code = array(); $this->prefix_number = 0; $this->block_nesting_level = 0; $this->is_xml = false; } public static function &instance($new_instance = null) { static $instance = null; if (isset($new_instance) && is_object($new_instance)) $instance = $new_instance; return $instance; } public static function escape_start_tag($tag_text) { $tag = preg_replace('/\A<\?(.*)\z/', '<?\1', $tag_text, -1 , $count); //Escape tag assert($tag !== false && $count === 1); return $tag; } public static function escape_end_tag($tag_text) { assert($tag_text === '?>'); return '?>'; } #line 128 "smarty_internal_templateparser.php" const TP_VERT = 1; const TP_COLON = 2; const TP_COMMENT = 3; const TP_PHPSTARTTAG = 4; const TP_PHPENDTAG = 5; const TP_FAKEPHPSTARTTAG = 6; const TP_XMLTAG = 7; const TP_OTHER = 8; const TP_LITERALSTART = 9; const TP_LITERALEND = 10; const TP_LITERAL = 11; const TP_LDEL = 12; const TP_RDEL = 13; const TP_DOLLAR = 14; const TP_ID = 15; const TP_EQUAL = 16; const TP_FOREACH = 17; const TP_PTR = 18; const TP_IF = 19; const TP_SPACE = 20; const TP_FOR = 21; const TP_SEMICOLON = 22; const TP_INCDEC = 23; const TP_TO = 24; const TP_STEP = 25; const TP_AS = 26; const TP_APTR = 27; const TP_LDELSLASH = 28; const TP_INTEGER = 29; const TP_COMMA = 30; const TP_MATH = 31; const TP_UNIMATH = 32; const TP_ANDSYM = 33; const TP_ISIN = 34; const TP_ISDIVBY = 35; const TP_ISNOTDIVBY = 36; const TP_ISEVEN = 37; const TP_ISNOTEVEN = 38; const TP_ISEVENBY = 39; const TP_ISNOTEVENBY = 40; const TP_ISODD = 41; const TP_ISNOTODD = 42; const TP_ISODDBY = 43; const TP_ISNOTODDBY = 44; const TP_INSTANCEOF = 45; const TP_OPENP = 46; const TP_CLOSEP = 47; const TP_QMARK = 48; const TP_NOT = 49; const TP_TYPECAST = 50; const TP_DOT = 51; const TP_SINGLEQUOTESTRING = 52; const TP_DOUBLECOLON = 53; const TP_AT = 54; const TP_HATCH = 55; const TP_OPENB = 56; const TP_CLOSEB = 57; const TP_EQUALS = 58; const TP_NOTEQUALS = 59; const TP_GREATERTHAN = 60; const TP_LESSTHAN = 61; const TP_GREATEREQUAL = 62; const TP_LESSEQUAL = 63; const TP_IDENTITY = 64; const TP_NONEIDENTITY = 65; const TP_MOD = 66; const TP_LAND = 67; const TP_LOR = 68; const TP_LXOR = 69; const TP_QUOTE = 70; const TP_BACKTICK = 71; const TP_DOLLARID = 72; const YY_NO_ACTION = 549; const YY_ACCEPT_ACTION = 548; const YY_ERROR_ACTION = 547; const YY_SZ_ACTTAB = 1853; static public $yy_action = array( /* 0 */ 177, 299, 6, 20, 155, 100, 344, 101, 51, 123, /* 10 */ 98, 359, 315, 161, 293, 225, 228, 226, 305, 182, /* 20 */ 158, 269, 280, 347, 322, 189, 292, 121, 124, 233, /* 30 */ 43, 42, 44, 39, 32, 26, 286, 290, 25, 28, /* 40 */ 288, 301, 31, 30, 292, 193, 256, 248, 273, 270, /* 50 */ 264, 240, 158, 20, 355, 2, 344, 319, 318, 312, /* 60 */ 311, 327, 308, 309, 310, 307, 306, 303, 304, 177, /* 70 */ 299, 125, 177, 267, 224, 268, 209, 60, 237, 106, /* 80 */ 135, 287, 195, 421, 321, 165, 191, 305, 182, 222, /* 90 */ 421, 182, 347, 322, 331, 292, 253, 252, 249, 43, /* 100 */ 42, 44, 39, 32, 26, 286, 290, 25, 28, 288, /* 110 */ 301, 31, 30, 132, 93, 230, 9, 9, 548, 83, /* 120 */ 254, 252, 249, 104, 104, 329, 319, 318, 312, 311, /* 130 */ 327, 308, 309, 310, 307, 306, 303, 304, 177, 20, /* 140 */ 354, 299, 344, 117, 190, 224, 172, 209, 53, 122, /* 150 */ 106, 13, 20, 360, 216, 344, 20, 182, 305, 344, /* 160 */ 18, 141, 23, 347, 322, 40, 292, 196, 43, 42, /* 170 */ 44, 39, 32, 26, 286, 290, 25, 28, 288, 301, /* 180 */ 31, 30, 177, 182, 87, 20, 162, 293, 344, 18, /* 190 */ 29, 37, 108, 260, 261, 319, 318, 312, 311, 327, /* 200 */ 308, 309, 310, 307, 306, 303, 304, 247, 27, 47, /* 210 */ 107, 154, 43, 42, 44, 39, 32, 26, 286, 290, /* 220 */ 25, 28, 288, 301, 31, 30, 9, 202, 86, 316, /* 230 */ 259, 220, 257, 104, 258, 20, 34, 276, 344, 319, /* 240 */ 318, 312, 311, 327, 308, 309, 310, 307, 306, 303, /* 250 */ 304, 177, 299, 313, 177, 9, 180, 420, 209, 49, /* 260 */ 118, 106, 104, 105, 182, 423, 333, 323, 187, 305, /* 270 */ 182, 212, 423, 182, 347, 322, 298, 292, 203, 218, /* 280 */ 277, 43, 42, 44, 39, 32, 26, 286, 290, 25, /* 290 */ 28, 288, 301, 31, 30, 177, 323, 47, 299, 300, /* 300 */ 20, 356, 241, 344, 209, 177, 182, 106, 319, 318, /* 310 */ 312, 311, 327, 308, 309, 310, 307, 306, 303, 304, /* 320 */ 347, 322, 143, 292, 182, 43, 42, 44, 39, 32, /* 330 */ 26, 286, 290, 25, 28, 288, 301, 31, 30, 177, /* 340 */ 142, 274, 351, 92, 227, 20, 278, 8, 344, 132, /* 350 */ 207, 246, 319, 318, 312, 311, 327, 308, 309, 310, /* 360 */ 307, 306, 303, 304, 10, 20, 157, 293, 194, 43, /* 370 */ 42, 44, 39, 32, 26, 286, 290, 25, 28, 288, /* 380 */ 301, 31, 30, 177, 110, 314, 251, 202, 172, 219, /* 390 */ 184, 237, 182, 13, 136, 334, 319, 318, 312, 311, /* 400 */ 327, 308, 309, 310, 307, 306, 303, 304, 331, 153, /* 410 */ 5, 351, 116, 43, 42, 44, 39, 32, 26, 286, /* 420 */ 290, 25, 28, 288, 301, 31, 30, 20, 263, 345, /* 430 */ 344, 15, 229, 289, 245, 111, 182, 324, 332, 182, /* 440 */ 319, 318, 312, 311, 327, 308, 309, 310, 307, 306, /* 450 */ 303, 304, 177, 299, 217, 215, 250, 100, 11, 97, /* 460 */ 52, 123, 98, 151, 47, 47, 137, 358, 167, 221, /* 470 */ 305, 164, 35, 163, 182, 347, 322, 331, 292, 47, /* 480 */ 331, 89, 43, 42, 44, 39, 32, 26, 286, 290, /* 490 */ 25, 28, 288, 301, 31, 30, 177, 317, 20, 299, /* 500 */ 17, 179, 275, 330, 182, 209, 11, 323, 106, 319, /* 510 */ 318, 312, 311, 327, 308, 309, 310, 307, 306, 303, /* 520 */ 304, 347, 322, 21, 292, 7, 43, 42, 44, 39, /* 530 */ 32, 26, 286, 290, 25, 28, 288, 301, 31, 30, /* 540 */ 177, 223, 336, 238, 340, 323, 102, 12, 231, 182, /* 550 */ 182, 182, 3, 319, 318, 312, 311, 327, 308, 309, /* 560 */ 310, 307, 306, 303, 304, 262, 109, 200, 125, 4, /* 570 */ 43, 42, 44, 39, 32, 26, 286, 290, 25, 28, /* 580 */ 288, 301, 31, 30, 177, 337, 204, 284, 282, 328, /* 590 */ 20, 103, 182, 206, 182, 182, 169, 319, 318, 312, /* 600 */ 311, 327, 308, 309, 310, 307, 306, 303, 304, 207, /* 610 */ 335, 16, 235, 198, 43, 42, 44, 39, 32, 26, /* 620 */ 286, 290, 25, 28, 288, 301, 31, 30, 177, 19, /* 630 */ 353, 299, 295, 242, 239, 281, 38, 209, 21, 182, /* 640 */ 106, 319, 318, 312, 311, 327, 308, 309, 310, 307, /* 650 */ 306, 303, 304, 347, 322, 357, 292, 160, 43, 42, /* 660 */ 44, 39, 32, 26, 286, 290, 25, 28, 288, 301, /* 670 */ 31, 30, 177, 191, 159, 299, 320, 359, 40, 343, /* 680 */ 352, 209, 156, 182, 106, 319, 318, 312, 311, 327, /* 690 */ 308, 309, 310, 307, 306, 303, 304, 347, 322, 150, /* 700 */ 292, 132, 43, 42, 44, 39, 32, 26, 286, 290, /* 710 */ 25, 28, 288, 301, 31, 30, 177, 166, 296, 346, /* 720 */ 211, 351, 182, 325, 112, 182, 182, 24, 33, 319, /* 730 */ 318, 312, 311, 327, 308, 309, 310, 307, 306, 303, /* 740 */ 304, 271, 232, 41, 291, 91, 43, 42, 44, 39, /* 750 */ 32, 26, 286, 290, 25, 28, 288, 301, 31, 30, /* 760 */ 9, 302, 349, 342, 266, 132, 94, 104, 182, 182, /* 770 */ 119, 338, 279, 319, 318, 312, 311, 327, 308, 309, /* 780 */ 310, 307, 306, 303, 304, 177, 299, 88, 129, 294, /* 790 */ 175, 130, 209, 71, 255, 106, 119, 341, 14, 139, /* 800 */ 110, 298, 5, 305, 298, 339, 90, 302, 347, 322, /* 810 */ 214, 292, 461, 331, 302, 43, 42, 44, 39, 32, /* 820 */ 26, 286, 290, 25, 28, 288, 301, 31, 30, 177, /* 830 */ 302, 302, 9, 302, 302, 302, 302, 302, 302, 104, /* 840 */ 152, 168, 319, 318, 312, 311, 327, 308, 309, 310, /* 850 */ 307, 306, 303, 304, 331, 302, 302, 302, 302, 43, /* 860 */ 42, 44, 39, 32, 26, 286, 290, 25, 28, 288, /* 870 */ 301, 31, 30, 177, 302, 302, 302, 302, 302, 302, /* 880 */ 302, 302, 302, 302, 302, 126, 319, 318, 312, 311, /* 890 */ 327, 308, 309, 310, 307, 306, 303, 304, 298, 302, /* 900 */ 302, 302, 302, 43, 42, 44, 39, 32, 26, 286, /* 910 */ 290, 25, 28, 288, 301, 31, 30, 213, 302, 302, /* 920 */ 302, 302, 302, 302, 302, 302, 302, 302, 302, 351, /* 930 */ 319, 318, 312, 311, 327, 308, 309, 310, 307, 306, /* 940 */ 303, 304, 133, 2, 302, 113, 85, 166, 120, 302, /* 950 */ 208, 2, 188, 114, 173, 148, 331, 24, 33, 125, /* 960 */ 192, 127, 99, 48, 302, 302, 96, 125, 192, 331, /* 970 */ 138, 48, 302, 302, 298, 298, 302, 36, 302, 298, /* 980 */ 45, 46, 302, 348, 331, 22, 87, 1, 45, 46, /* 990 */ 2, 348, 117, 185, 87, 1, 272, 145, 134, 302, /* 1000 */ 302, 84, 2, 166, 114, 185, 125, 192, 302, 84, /* 1010 */ 48, 331, 331, 24, 33, 140, 302, 144, 125, 192, /* 1020 */ 302, 302, 48, 302, 22, 325, 302, 45, 46, 331, /* 1030 */ 348, 331, 302, 87, 1, 2, 22, 114, 185, 45, /* 1040 */ 46, 131, 348, 325, 128, 87, 1, 2, 84, 115, /* 1050 */ 185, 125, 192, 95, 298, 48, 302, 298, 302, 302, /* 1060 */ 84, 302, 302, 125, 192, 302, 298, 48, 302, 36, /* 1070 */ 302, 302, 45, 46, 149, 348, 302, 302, 87, 1, /* 1080 */ 2, 22, 114, 174, 45, 46, 302, 348, 331, 302, /* 1090 */ 87, 1, 2, 84, 114, 171, 125, 192, 302, 302, /* 1100 */ 48, 302, 325, 302, 302, 84, 302, 302, 125, 192, /* 1110 */ 302, 302, 48, 302, 22, 302, 302, 45, 46, 302, /* 1120 */ 348, 302, 302, 87, 1, 2, 36, 117, 170, 45, /* 1130 */ 46, 302, 348, 302, 302, 87, 1, 2, 84, 117, /* 1140 */ 185, 125, 183, 302, 302, 48, 302, 302, 302, 302, /* 1150 */ 84, 302, 302, 125, 192, 302, 302, 48, 302, 22, /* 1160 */ 302, 302, 45, 46, 302, 348, 302, 302, 87, 1, /* 1170 */ 2, 22, 117, 186, 45, 46, 302, 348, 302, 302, /* 1180 */ 87, 302, 302, 84, 302, 302, 125, 192, 302, 302, /* 1190 */ 48, 302, 299, 302, 302, 84, 181, 302, 209, 68, /* 1200 */ 302, 106, 302, 302, 22, 302, 302, 45, 46, 305, /* 1210 */ 348, 302, 302, 87, 347, 322, 299, 292, 302, 302, /* 1220 */ 224, 302, 209, 58, 302, 106, 176, 234, 84, 302, /* 1230 */ 302, 302, 302, 305, 302, 302, 302, 302, 347, 322, /* 1240 */ 299, 292, 302, 302, 224, 302, 209, 58, 210, 106, /* 1250 */ 302, 302, 299, 302, 302, 302, 224, 305, 209, 58, /* 1260 */ 302, 106, 347, 322, 299, 292, 302, 302, 224, 305, /* 1270 */ 209, 58, 205, 106, 347, 322, 299, 292, 302, 302, /* 1280 */ 181, 305, 209, 68, 265, 106, 347, 322, 302, 292, /* 1290 */ 302, 302, 302, 305, 302, 302, 199, 302, 347, 322, /* 1300 */ 299, 292, 302, 302, 224, 302, 209, 79, 302, 106, /* 1310 */ 302, 236, 302, 302, 302, 302, 302, 305, 302, 302, /* 1320 */ 302, 302, 347, 322, 299, 292, 302, 302, 224, 302, /* 1330 */ 209, 62, 302, 106, 302, 302, 299, 302, 302, 302, /* 1340 */ 224, 305, 209, 64, 302, 106, 347, 322, 299, 292, /* 1350 */ 302, 302, 224, 305, 209, 82, 302, 106, 347, 322, /* 1360 */ 299, 292, 302, 302, 224, 305, 209, 67, 302, 106, /* 1370 */ 347, 322, 302, 292, 302, 302, 302, 305, 302, 302, /* 1380 */ 302, 147, 347, 322, 299, 292, 166, 302, 224, 302, /* 1390 */ 209, 73, 302, 106, 302, 331, 24, 33, 302, 302, /* 1400 */ 302, 305, 302, 302, 302, 302, 347, 322, 299, 292, /* 1410 */ 302, 302, 224, 302, 209, 78, 302, 106, 302, 302, /* 1420 */ 299, 302, 302, 302, 224, 305, 209, 61, 302, 106, /* 1430 */ 347, 322, 299, 292, 302, 302, 224, 305, 209, 63, /* 1440 */ 302, 106, 347, 322, 299, 292, 302, 302, 224, 305, /* 1450 */ 209, 54, 302, 106, 347, 322, 302, 292, 302, 302, /* 1460 */ 302, 305, 302, 302, 302, 146, 347, 322, 299, 292, /* 1470 */ 166, 302, 224, 302, 209, 76, 302, 106, 302, 331, /* 1480 */ 24, 33, 302, 302, 302, 305, 302, 302, 302, 302, /* 1490 */ 347, 322, 299, 292, 302, 302, 224, 302, 178, 59, /* 1500 */ 302, 106, 302, 302, 299, 302, 302, 302, 224, 305, /* 1510 */ 209, 50, 302, 106, 347, 322, 299, 292, 302, 302, /* 1520 */ 224, 305, 209, 77, 302, 106, 347, 322, 299, 292, /* 1530 */ 302, 302, 224, 305, 209, 65, 302, 106, 347, 322, /* 1540 */ 302, 292, 302, 302, 302, 305, 302, 302, 302, 302, /* 1550 */ 347, 322, 299, 292, 302, 302, 224, 302, 209, 56, /* 1560 */ 302, 106, 302, 302, 302, 302, 302, 302, 302, 305, /* 1570 */ 302, 302, 302, 302, 347, 322, 299, 292, 302, 302, /* 1580 */ 224, 302, 209, 75, 302, 106, 302, 302, 299, 302, /* 1590 */ 302, 302, 224, 305, 209, 57, 302, 106, 347, 322, /* 1600 */ 299, 292, 302, 302, 224, 305, 209, 74, 302, 106, /* 1610 */ 347, 322, 299, 292, 302, 302, 224, 305, 209, 70, /* 1620 */ 302, 106, 347, 322, 302, 292, 302, 302, 302, 305, /* 1630 */ 302, 302, 302, 302, 347, 322, 299, 292, 302, 302, /* 1640 */ 224, 302, 209, 69, 302, 106, 302, 302, 302, 302, /* 1650 */ 302, 302, 302, 305, 302, 302, 302, 302, 347, 322, /* 1660 */ 299, 292, 302, 302, 224, 302, 209, 80, 302, 106, /* 1670 */ 302, 302, 299, 302, 302, 302, 224, 305, 209, 81, /* 1680 */ 302, 106, 347, 322, 299, 292, 302, 302, 224, 305, /* 1690 */ 209, 72, 302, 106, 347, 322, 299, 292, 302, 302, /* 1700 */ 224, 305, 209, 55, 302, 106, 347, 322, 302, 292, /* 1710 */ 302, 302, 302, 305, 302, 302, 302, 302, 347, 322, /* 1720 */ 299, 292, 302, 302, 224, 302, 209, 66, 302, 106, /* 1730 */ 302, 302, 302, 302, 302, 302, 302, 305, 302, 302, /* 1740 */ 302, 302, 347, 322, 299, 292, 302, 302, 243, 302, /* 1750 */ 209, 302, 302, 106, 299, 302, 302, 302, 283, 302, /* 1760 */ 209, 244, 302, 106, 302, 302, 347, 322, 302, 292, /* 1770 */ 302, 285, 302, 302, 299, 302, 347, 322, 201, 292, /* 1780 */ 209, 299, 302, 106, 302, 297, 302, 209, 231, 302, /* 1790 */ 106, 197, 3, 302, 302, 302, 347, 322, 302, 292, /* 1800 */ 302, 302, 302, 347, 322, 299, 292, 302, 125, 350, /* 1810 */ 302, 209, 302, 302, 106, 299, 302, 302, 302, 326, /* 1820 */ 302, 209, 302, 302, 106, 302, 302, 347, 322, 302, /* 1830 */ 292, 302, 302, 302, 302, 302, 302, 347, 322, 302, /* 1840 */ 292, 302, 302, 302, 302, 302, 302, 302, 302, 302, /* 1850 */ 361, 16, 235, ); static public $yy_lookahead = array( /* 0 */ 1, 77, 30, 12, 88, 81, 15, 83, 84, 85, /* 10 */ 86, 104, 13, 106, 107, 4, 5, 6, 94, 20, /* 20 */ 9, 10, 11, 99, 100, 83, 102, 20, 86, 57, /* 30 */ 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, /* 40 */ 41, 42, 43, 44, 102, 54, 3, 4, 5, 6, /* 50 */ 7, 8, 9, 12, 13, 12, 15, 58, 59, 60, /* 60 */ 61, 62, 63, 64, 65, 66, 67, 68, 69, 1, /* 70 */ 77, 28, 1, 78, 81, 80, 83, 84, 77, 86, /* 80 */ 82, 13, 89, 13, 13, 87, 51, 94, 20, 18, /* 90 */ 20, 20, 99, 100, 96, 102, 76, 77, 78, 31, /* 100 */ 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, /* 110 */ 42, 43, 44, 18, 113, 114, 46, 46, 74, 75, /* 120 */ 76, 77, 78, 53, 53, 29, 58, 59, 60, 61, /* 130 */ 62, 63, 64, 65, 66, 67, 68, 69, 1, 12, /* 140 */ 13, 77, 15, 14, 15, 81, 51, 83, 84, 85, /* 150 */ 86, 56, 12, 13, 27, 15, 12, 20, 94, 15, /* 160 */ 16, 103, 25, 99, 100, 2, 102, 27, 31, 32, /* 170 */ 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, /* 180 */ 43, 44, 1, 20, 55, 12, 106, 107, 15, 16, /* 190 */ 12, 27, 14, 15, 13, 58, 59, 60, 61, 62, /* 200 */ 63, 64, 65, 66, 67, 68, 69, 29, 12, 45, /* 210 */ 14, 15, 31, 32, 33, 34, 35, 36, 37, 38, /* 220 */ 39, 40, 41, 42, 43, 44, 46, 54, 15, 15, /* 230 */ 17, 51, 19, 53, 21, 12, 27, 57, 15, 58, /* 240 */ 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, /* 250 */ 69, 1, 77, 15, 1, 46, 81, 13, 83, 84, /* 260 */ 85, 86, 53, 92, 20, 13, 13, 23, 54, 94, /* 270 */ 20, 18, 20, 20, 99, 100, 105, 102, 14, 15, /* 280 */ 55, 31, 32, 33, 34, 35, 36, 37, 38, 39, /* 290 */ 40, 41, 42, 43, 44, 1, 23, 45, 77, 13, /* 300 */ 12, 13, 81, 15, 83, 1, 20, 86, 58, 59, /* 310 */ 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, /* 320 */ 99, 100, 103, 102, 20, 31, 32, 33, 34, 35, /* 330 */ 36, 37, 38, 39, 40, 41, 42, 43, 44, 1, /* 340 */ 103, 47, 105, 88, 71, 12, 55, 16, 15, 18, /* 350 */ 2, 13, 58, 59, 60, 61, 62, 63, 64, 65, /* 360 */ 66, 67, 68, 69, 16, 12, 106, 107, 15, 31, /* 370 */ 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, /* 380 */ 42, 43, 44, 1, 53, 13, 13, 54, 51, 89, /* 390 */ 90, 77, 20, 56, 82, 13, 58, 59, 60, 61, /* 400 */ 62, 63, 64, 65, 66, 67, 68, 69, 96, 103, /* 410 */ 16, 105, 14, 31, 32, 33, 34, 35, 36, 37, /* 420 */ 38, 39, 40, 41, 42, 43, 44, 12, 114, 13, /* 430 */ 15, 16, 13, 13, 47, 14, 20, 13, 23, 20, /* 440 */ 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, /* 450 */ 68, 69, 1, 77, 15, 15, 13, 81, 46, 83, /* 460 */ 84, 85, 86, 82, 45, 45, 82, 13, 87, 29, /* 470 */ 94, 87, 12, 22, 20, 99, 100, 96, 102, 45, /* 480 */ 96, 15, 31, 32, 33, 34, 35, 36, 37, 38, /* 490 */ 39, 40, 41, 42, 43, 44, 1, 13, 12, 77, /* 500 */ 24, 15, 57, 81, 20, 83, 46, 23, 86, 58, /* 510 */ 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, /* 520 */ 69, 99, 100, 16, 102, 30, 31, 32, 33, 34, /* 530 */ 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, /* 540 */ 1, 15, 13, 13, 13, 23, 14, 20, 8, 20, /* 550 */ 20, 20, 12, 58, 59, 60, 61, 62, 63, 64, /* 560 */ 65, 66, 67, 68, 69, 47, 14, 26, 28, 46, /* 570 */ 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, /* 580 */ 41, 42, 43, 44, 1, 13, 47, 13, 13, 13, /* 590 */ 12, 14, 20, 15, 20, 20, 13, 58, 59, 60, /* 600 */ 61, 62, 63, 64, 65, 66, 67, 68, 69, 2, /* 610 */ 70, 71, 72, 26, 31, 32, 33, 34, 35, 36, /* 620 */ 37, 38, 39, 40, 41, 42, 43, 44, 1, 2, /* 630 */ 15, 77, 13, 47, 96, 81, 48, 83, 16, 20, /* 640 */ 86, 58, 59, 60, 61, 62, 63, 64, 65, 66, /* 650 */ 67, 68, 69, 99, 100, 15, 102, 15, 31, 32, /* 660 */ 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, /* 670 */ 43, 44, 1, 51, 22, 77, 13, 104, 2, 81, /* 680 */ 15, 83, 30, 20, 86, 58, 59, 60, 61, 62, /* 690 */ 63, 64, 65, 66, 67, 68, 69, 99, 100, 103, /* 700 */ 102, 18, 31, 32, 33, 34, 35, 36, 37, 38, /* 710 */ 39, 40, 41, 42, 43, 44, 1, 87, 13, 13, /* 720 */ 95, 105, 20, 110, 14, 20, 20, 97, 98, 58, /* 730 */ 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, /* 740 */ 69, 108, 71, 20, 107, 88, 31, 32, 33, 34, /* 750 */ 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, /* 760 */ 46, 13, 13, 101, 10, 18, 79, 53, 20, 20, /* 770 */ 108, 20, 57, 58, 59, 60, 61, 62, 63, 64, /* 780 */ 65, 66, 67, 68, 69, 1, 77, 103, 92, 101, /* 790 */ 81, 92, 83, 84, 85, 86, 108, 13, 91, 82, /* 800 */ 53, 105, 16, 94, 105, 89, 88, 115, 99, 100, /* 810 */ 91, 102, 26, 96, 115, 31, 32, 33, 34, 35, /* 820 */ 36, 37, 38, 39, 40, 41, 42, 43, 44, 1, /* 830 */ 115, 115, 46, 115, 115, 115, 115, 115, 115, 53, /* 840 */ 82, 13, 58, 59, 60, 61, 62, 63, 64, 65, /* 850 */ 66, 67, 68, 69, 96, 115, 115, 115, 115, 31, /* 860 */ 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, /* 870 */ 42, 43, 44, 1, 115, 115, 115, 115, 115, 115, /* 880 */ 115, 115, 115, 115, 115, 92, 58, 59, 60, 61, /* 890 */ 62, 63, 64, 65, 66, 67, 68, 69, 105, 115, /* 900 */ 115, 115, 115, 31, 32, 33, 34, 35, 36, 37, /* 910 */ 38, 39, 40, 41, 42, 43, 44, 93, 115, 115, /* 920 */ 115, 115, 115, 115, 115, 115, 115, 115, 115, 105, /* 930 */ 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, /* 940 */ 68, 69, 82, 12, 115, 14, 15, 87, 17, 115, /* 950 */ 19, 12, 21, 14, 15, 82, 96, 97, 98, 28, /* 960 */ 29, 92, 92, 32, 115, 115, 92, 28, 29, 96, /* 970 */ 82, 32, 115, 115, 105, 105, 115, 46, 115, 105, /* 980 */ 49, 50, 115, 52, 96, 46, 55, 56, 49, 50, /* 990 */ 12, 52, 14, 15, 55, 56, 57, 82, 82, 115, /* 1000 */ 115, 70, 12, 87, 14, 15, 28, 29, 115, 70, /* 1010 */ 32, 96, 96, 97, 98, 82, 115, 82, 28, 29, /* 1020 */ 115, 115, 32, 115, 46, 110, 115, 49, 50, 96, /* 1030 */ 52, 96, 115, 55, 56, 12, 46, 14, 15, 49, /* 1040 */ 50, 92, 52, 110, 92, 55, 56, 12, 70, 14, /* 1050 */ 15, 28, 29, 92, 105, 32, 115, 105, 115, 115, /* 1060 */ 70, 115, 115, 28, 29, 115, 105, 32, 115, 46, /* 1070 */ 115, 115, 49, 50, 82, 52, 115, 115, 55, 56, /* 1080 */ 12, 46, 14, 15, 49, 50, 115, 52, 96, 115, /* 1090 */ 55, 56, 12, 70, 14, 15, 28, 29, 115, 115, /* 1100 */ 32, 115, 110, 115, 115, 70, 115, 115, 28, 29, /* 1110 */ 115, 115, 32, 115, 46, 115, 115, 49, 50, 115, /* 1120 */ 52, 115, 115, 55, 56, 12, 46, 14, 15, 49, /* 1130 */ 50, 115, 52, 115, 115, 55, 56, 12, 70, 14, /* 1140 */ 15, 28, 29, 115, 115, 32, 115, 115, 115, 115, /* 1150 */ 70, 115, 115, 28, 29, 115, 115, 32, 115, 46, /* 1160 */ 115, 115, 49, 50, 115, 52, 115, 115, 55, 56, /* 1170 */ 12, 46, 14, 15, 49, 50, 115, 52, 115, 115, /* 1180 */ 55, 115, 115, 70, 115, 115, 28, 29, 115, 115, /* 1190 */ 32, 115, 77, 115, 115, 70, 81, 115, 83, 84, /* 1200 */ 115, 86, 115, 115, 46, 115, 115, 49, 50, 94, /* 1210 */ 52, 115, 115, 55, 99, 100, 77, 102, 115, 115, /* 1220 */ 81, 115, 83, 84, 115, 86, 111, 112, 70, 115, /* 1230 */ 115, 115, 115, 94, 115, 115, 115, 115, 99, 100, /* 1240 */ 77, 102, 115, 115, 81, 115, 83, 84, 109, 86, /* 1250 */ 115, 115, 77, 115, 115, 115, 81, 94, 83, 84, /* 1260 */ 115, 86, 99, 100, 77, 102, 115, 115, 81, 94, /* 1270 */ 83, 84, 109, 86, 99, 100, 77, 102, 115, 115, /* 1280 */ 81, 94, 83, 84, 109, 86, 99, 100, 115, 102, /* 1290 */ 115, 115, 115, 94, 115, 115, 109, 115, 99, 100, /* 1300 */ 77, 102, 115, 115, 81, 115, 83, 84, 115, 86, /* 1310 */ 115, 112, 115, 115, 115, 115, 115, 94, 115, 115, /* 1320 */ 115, 115, 99, 100, 77, 102, 115, 115, 81, 115, /* 1330 */ 83, 84, 115, 86, 115, 115, 77, 115, 115, 115, /* 1340 */ 81, 94, 83, 84, 115, 86, 99, 100, 77, 102, /* 1350 */ 115, 115, 81, 94, 83, 84, 115, 86, 99, 100, /* 1360 */ 77, 102, 115, 115, 81, 94, 83, 84, 115, 86, /* 1370 */ 99, 100, 115, 102, 115, 115, 115, 94, 115, 115, /* 1380 */ 115, 82, 99, 100, 77, 102, 87, 115, 81, 115, /* 1390 */ 83, 84, 115, 86, 115, 96, 97, 98, 115, 115, /* 1400 */ 115, 94, 115, 115, 115, 115, 99, 100, 77, 102, /* 1410 */ 115, 115, 81, 115, 83, 84, 115, 86, 115, 115, /* 1420 */ 77, 115, 115, 115, 81, 94, 83, 84, 115, 86, /* 1430 */ 99, 100, 77, 102, 115, 115, 81, 94, 83, 84, /* 1440 */ 115, 86, 99, 100, 77, 102, 115, 115, 81, 94, /* 1450 */ 83, 84, 115, 86, 99, 100, 115, 102, 115, 115, /* 1460 */ 115, 94, 115, 115, 115, 82, 99, 100, 77, 102, /* 1470 */ 87, 115, 81, 115, 83, 84, 115, 86, 115, 96, /* 1480 */ 97, 98, 115, 115, 115, 94, 115, 115, 115, 115, /* 1490 */ 99, 100, 77, 102, 115, 115, 81, 115, 83, 84, /* 1500 */ 115, 86, 115, 115, 77, 115, 115, 115, 81, 94, /* 1510 */ 83, 84, 115, 86, 99, 100, 77, 102, 115, 115, /* 1520 */ 81, 94, 83, 84, 115, 86, 99, 100, 77, 102, /* 1530 */ 115, 115, 81, 94, 83, 84, 115, 86, 99, 100, /* 1540 */ 115, 102, 115, 115, 115, 94, 115, 115, 115, 115, /* 1550 */ 99, 100, 77, 102, 115, 115, 81, 115, 83, 84, /* 1560 */ 115, 86, 115, 115, 115, 115, 115, 115, 115, 94, /* 1570 */ 115, 115, 115, 115, 99, 100, 77, 102, 115, 115, /* 1580 */ 81, 115, 83, 84, 115, 86, 115, 115, 77, 115, /* 1590 */ 115, 115, 81, 94, 83, 84, 115, 86, 99, 100, /* 1600 */ 77, 102, 115, 115, 81, 94, 83, 84, 115, 86, /* 1610 */ 99, 100, 77, 102, 115, 115, 81, 94, 83, 84, /* 1620 */ 115, 86, 99, 100, 115, 102, 115, 115, 115, 94, /* 1630 */ 115, 115, 115, 115, 99, 100, 77, 102, 115, 115, /* 1640 */ 81, 115, 83, 84, 115, 86, 115, 115, 115, 115, /* 1650 */ 115, 115, 115, 94, 115, 115, 115, 115, 99, 100, /* 1660 */ 77, 102, 115, 115, 81, 115, 83, 84, 115, 86, /* 1670 */ 115, 115, 77, 115, 115, 115, 81, 94, 83, 84, /* 1680 */ 115, 86, 99, 100, 77, 102, 115, 115, 81, 94, /* 1690 */ 83, 84, 115, 86, 99, 100, 77, 102, 115, 115, /* 1700 */ 81, 94, 83, 84, 115, 86, 99, 100, 115, 102, /* 1710 */ 115, 115, 115, 94, 115, 115, 115, 115, 99, 100, /* 1720 */ 77, 102, 115, 115, 81, 115, 83, 84, 115, 86, /* 1730 */ 115, 115, 115, 115, 115, 115, 115, 94, 115, 115, /* 1740 */ 115, 115, 99, 100, 77, 102, 115, 115, 81, 115, /* 1750 */ 83, 115, 115, 86, 77, 115, 115, 115, 81, 115, /* 1760 */ 83, 94, 115, 86, 115, 115, 99, 100, 115, 102, /* 1770 */ 115, 94, 115, 115, 77, 115, 99, 100, 81, 102, /* 1780 */ 83, 77, 115, 86, 115, 81, 115, 83, 8, 115, /* 1790 */ 86, 94, 12, 115, 115, 115, 99, 100, 115, 102, /* 1800 */ 115, 115, 115, 99, 100, 77, 102, 115, 28, 81, /* 1810 */ 115, 83, 115, 115, 86, 77, 115, 115, 115, 81, /* 1820 */ 115, 83, 115, 115, 86, 115, 115, 99, 100, 115, /* 1830 */ 102, 115, 115, 115, 115, 115, 115, 99, 100, 115, /* 1840 */ 102, 115, 115, 115, 115, 115, 115, 115, 115, 115, /* 1850 */ 70, 71, 72, ); const YY_SHIFT_USE_DFLT = -29; const YY_SHIFT_MAX = 224; static public $yy_shift_ofst = array( /* 0 */ 43, 1068, 931, 931, 990, 1080, 1068, 990, 1023, 990, /* 10 */ 1023, 990, 1035, 939, 990, 990, 990, 990, 990, 990, /* 20 */ 990, 990, 990, 990, 990, 990, 990, 990, 990, 990, /* 30 */ 990, 990, 990, 990, 990, 990, 990, 990, 990, 978, /* 40 */ 978, 1113, 1125, 1125, 1125, 1125, 1125, 1158, 1125, 68, /* 50 */ 137, -1, 250, 250, 828, 627, 539, 583, 495, 671, /* 60 */ 784, 715, 382, 451, 181, 294, 338, 872, 872, 872, /* 70 */ 872, 872, 872, 872, 872, 872, 872, 872, 872, 872, /* 80 */ 872, 872, 872, 43, 540, 71, 253, 129, 95, 304, /* 90 */ 163, 163, 163, 1780, 11, 415, 173, 244, 331, 333, /* 100 */ 419, 484, 223, 223, 264, 223, 747, 353, 223, 223, /* 110 */ 264, 223, 223, 486, 578, 578, 223, 223, 702, 683, /* 120 */ 723, 710, 702, 702, 683, 213, 127, 140, 144, 288, /* 130 */ -9, 41, 196, 372, 286, 749, 663, 619, 705, 748, /* 140 */ 706, 337, 337, 337, 454, 416, 529, 575, 574, 531, /* 150 */ 337, 572, 530, 337, 460, 676, 710, 683, 754, 751, /* 160 */ 523, 683, 683, 751, -29, -29, -29, -29, -29, -29, /* 170 */ 786, 70, 178, 180, 209, 252, -28, 214, 273, 348, /* 180 */ 420, 164, 440, 622, 652, 714, 714, 238, 7, 291, /* 190 */ 225, 96, 35, 665, 523, 576, 552, 541, 532, 518, /* 200 */ 577, 587, 640, 642, 588, 586, 607, 615, 527, 522, /* 210 */ 387, 373, 439, 424, 421, 394, 398, 443, 412, 476, /* 220 */ 526, 507, 466, 445, 434, ); const YY_REDUCE_USE_DFLT = -94; const YY_REDUCE_MAX = 169; static public $yy_reduce_ofst = array( /* 0 */ 44, 1115, 376, -76, 1187, 709, 1199, 1175, 64, 1139, /* 10 */ 175, 1163, -7, 1343, 1355, 1391, 1415, 1427, 1439, 1283, /* 20 */ 1259, 1223, 1451, 1247, 1331, 1307, 1271, 1367, 1607, 1643, /* 30 */ 1499, 1523, 1535, 1583, 1559, 1511, 1475, 1595, 1619, 1677, /* 40 */ 1667, 1697, 1728, 598, 1704, 554, 422, 221, 1738, 1299, /* 50 */ 1383, 860, 860, 916, 630, 630, 630, 630, 630, 630, /* 60 */ 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, /* 70 */ 630, 630, 630, 630, 630, 630, 630, 630, 630, 630, /* 80 */ 630, 630, 630, 20, 1, 384, 381, -58, -93, -2, /* 90 */ 933, 915, 992, 314, -5, 824, 306, 312, 80, 306, /* 100 */ 758, 312, 869, 793, 662, 237, 80, 171, 699, 696, /* 110 */ 688, 961, 952, 870, 870, 874, 949, 870, 873, 260, /* 120 */ 935, 300, 888, 717, 80, 625, 616, 616, 616, 616, /* 130 */ 616, 616, 633, 538, 538, 538, 538, 538, 538, 538, /* 140 */ 538, 573, 573, 573, 538, 538, 538, 538, 538, 538, /* 150 */ 573, 538, 538, 573, 596, 613, 716, 637, 687, 707, /* 160 */ 684, 637, 637, 719, 657, 718, -84, 255, 219, 58, ); static public $yyExpectedTokens = array( /* 0 */ array(3, 4, 5, 6, 7, 8, 9, 12, 28, ), /* 1 */ array(12, 14, 15, 28, 29, 32, 46, 49, 50, 52, 55, 56, 70, ), /* 2 */ array(12, 14, 15, 17, 19, 21, 28, 29, 32, 46, 49, 50, 52, 55, 56, 70, ), /* 3 */ array(12, 14, 15, 17, 19, 21, 28, 29, 32, 46, 49, 50, 52, 55, 56, 70, ), /* 4 */ array(12, 14, 15, 28, 29, 32, 46, 49, 50, 52, 55, 56, 70, ), /* 5 */ array(12, 14, 15, 28, 29, 32, 46, 49, 50, 52, 55, 56, 70, ), /* 6 */ array(12, 14, 15, 28, 29, 32, 46, 49, 50, 52, 55, 56, 70, ), /* 7 */ array(12, 14, 15, 28, 29, 32, 46, 49, 50, 52, 55, 56, 70, ), /* 8 */ array(12, 14, 15, 28, 29, 32, 46, 49, 50, 52, 55, 56, 70, ), /* 9 */ array(12, 14, 15, 28, 29, 32, 46, 49, 50, 52, 55, 56, 70, ), /* 10 */ array(12, 14, 15, 28, 29, 32, 46, 49, 50, 52, 55, 56, 70, ), /* 11 */ array(12, 14, 15, 28, 29, 32, 46, 49, 50, 52, 55, 56, 70, ), /* 12 */ array(12, 14, 15, 28, 29, 32, 46, 49, 50, 52, 55, 56, 70, ), /* 13 */ array(12, 14, 15, 28, 29, 32, 46, 49, 50, 52, 55, 56, 57, 70, ), /* 14 */ array(12, 14, 15, 28, 29, 32, 46, 49, 50, 52, 55, 56, 70, ), /* 15 */ array(12, 14, 15, 28, 29, 32, 46, 49, 50, 52, 55, 56, 70, ), /* 16 */ array(12, 14, 15, 28, 29, 32, 46, 49, 50, 52, 55, 56, 70, ), /* 17 */ array(12, 14, 15, 28, 29, 32, 46, 49, 50, 52, 55, 56, 70, ), /* 18 */ array(12, 14, 15, 28, 29, 32, 46, 49, 50, 52, 55, 56, 70, ), /* 19 */ array(12, 14, 15, 28, 29, 32, 46, 49, 50, 52, 55, 56, 70, ), /* 20 */ array(12, 14, 15, 28, 29, 32, 46, 49, 50, 52, 55, 56, 70, ), /* 21 */ array(12, 14, 15, 28, 29, 32, 46, 49, 50, 52, 55, 56, 70, ), /* 22 */ array(12, 14, 15, 28, 29, 32, 46, 49, 50, 52, 55, 56, 70, ), /* 23 */ array(12, 14, 15, 28, 29, 32, 46, 49, 50, 52, 55, 56, 70, ), /* 24 */ array(12, 14, 15, 28, 29, 32, 46, 49, 50, 52, 55, 56, 70, ), /* 25 */ array(12, 14, 15, 28, 29, 32, 46, 49, 50, 52, 55, 56, 70, ), /* 26 */ array(12, 14, 15, 28, 29, 32, 46, 49, 50, 52, 55, 56, 70, ), /* 27 */ array(12, 14, 15, 28, 29, 32, 46, 49, 50, 52, 55, 56, 70, ), /* 28 */ array(12, 14, 15, 28, 29, 32, 46, 49, 50, 52, 55, 56, 70, ), /* 29 */ array(12, 14, 15, 28, 29, 32, 46, 49, 50, 52, 55, 56, 70, ), /* 30 */ array(12, 14, 15, 28, 29, 32, 46, 49, 50, 52, 55, 56, 70, ), /* 31 */ array(12, 14, 15, 28, 29, 32, 46, 49, 50, 52, 55, 56, 70, ), /* 32 */ array(12, 14, 15, 28, 29, 32, 46, 49, 50, 52, 55, 56, 70, ), /* 33 */ array(12, 14, 15, 28, 29, 32, 46, 49, 50, 52, 55, 56, 70, ), /* 34 */ array(12, 14, 15, 28, 29, 32, 46, 49, 50, 52, 55, 56, 70, ), /* 35 */ array(12, 14, 15, 28, 29, 32, 46, 49, 50, 52, 55, 56, 70, ), /* 36 */ array(12, 14, 15, 28, 29, 32, 46, 49, 50, 52, 55, 56, 70, ), /* 37 */ array(12, 14, 15, 28, 29, 32, 46, 49, 50, 52, 55, 56, 70, ), /* 38 */ array(12, 14, 15, 28, 29, 32, 46, 49, 50, 52, 55, 56, 70, ), /* 39 */ array(12, 14, 15, 28, 29, 32, 46, 49, 50, 52, 55, 56, 70, ), /* 40 */ array(12, 14, 15, 28, 29, 32, 46, 49, 50, 52, 55, 56, 70, ), /* 41 */ array(12, 14, 15, 28, 29, 32, 46, 49, 50, 52, 55, 56, 70, ), /* 42 */ array(12, 14, 15, 28, 29, 32, 46, 49, 50, 52, 55, 70, ), /* 43 */ array(12, 14, 15, 28, 29, 32, 46, 49, 50, 52, 55, 70, ), /* 44 */ array(12, 14, 15, 28, 29, 32, 46, 49, 50, 52, 55, 70, ), /* 45 */ array(12, 14, 15, 28, 29, 32, 46, 49, 50, 52, 55, 70, ), /* 46 */ array(12, 14, 15, 28, 29, 32, 46, 49, 50, 52, 55, 70, ), /* 47 */ array(12, 14, 15, 28, 29, 32, 46, 49, 50, 52, 55, 70, ), /* 48 */ array(12, 14, 15, 28, 29, 32, 46, 49, 50, 52, 55, 70, ), /* 49 */ array(1, 13, 20, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, ), /* 50 */ array(1, 20, 25, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, ), /* 51 */ array(1, 13, 20, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, ), /* 52 */ array(1, 20, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, ), /* 53 */ array(1, 20, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, ), /* 54 */ array(1, 13, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, ), /* 55 */ array(1, 2, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, ), /* 56 */ array(1, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 47, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, ), /* 57 */ array(1, 13, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, ), /* 58 */ array(1, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, ), /* 59 */ array(1, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 71, ), /* 60 */ array(1, 13, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, ), /* 61 */ array(1, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, ), /* 62 */ array(1, 13, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, ), /* 63 */ array(1, 22, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, ), /* 64 */ array(1, 13, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, ), /* 65 */ array(1, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 47, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, ), /* 66 */ array(1, 13, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, ), /* 67 */ array(1, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, ), /* 68 */ array(1, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, ), /* 69 */ array(1, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, ), /* 70 */ array(1, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, ), /* 71 */ array(1, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, ), /* 72 */ array(1, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, ), /* 73 */ array(1, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, ), /* 74 */ array(1, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, ), /* 75 */ array(1, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, ), /* 76 */ array(1, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, ), /* 77 */ array(1, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, ), /* 78 */ array(1, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, ), /* 79 */ array(1, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, ), /* 80 */ array(1, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, ), /* 81 */ array(1, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, ), /* 82 */ array(1, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, ), /* 83 */ array(3, 4, 5, 6, 7, 8, 9, 12, 28, ), /* 84 */ array(8, 12, 28, 70, 71, 72, ), /* 85 */ array(1, 13, 18, 20, 46, 53, ), /* 86 */ array(1, 13, 18, 20, ), /* 87 */ array(14, 15, 55, ), /* 88 */ array(18, 51, 56, ), /* 89 */ array(1, 20, ), /* 90 */ array(2, 20, ), /* 91 */ array(2, 20, ), /* 92 */ array(2, 20, ), /* 93 */ array(8, 12, 28, 70, 71, 72, ), /* 94 */ array(4, 5, 6, 9, 10, 11, ), /* 95 */ array(12, 15, 16, 23, ), /* 96 */ array(12, 15, 16, 54, ), /* 97 */ array(13, 20, 23, ), /* 98 */ array(16, 18, 53, ), /* 99 */ array(12, 15, 54, ), /* 100 */ array(13, 20, 45, ), /* 101 */ array(13, 20, 23, ), /* 102 */ array(12, 15, ), /* 103 */ array(12, 15, ), /* 104 */ array(14, 15, ), /* 105 */ array(12, 15, ), /* 106 */ array(18, 53, ), /* 107 */ array(12, 15, ), /* 108 */ array(12, 15, ), /* 109 */ array(12, 15, ), /* 110 */ array(14, 15, ), /* 111 */ array(12, 15, ), /* 112 */ array(12, 15, ), /* 113 */ array(12, 15, ), /* 114 */ array(12, 15, ), /* 115 */ array(12, 15, ), /* 116 */ array(12, 15, ), /* 117 */ array(12, 15, ), /* 118 */ array(20, ), /* 119 */ array(18, ), /* 120 */ array(20, ), /* 121 */ array(14, ), /* 122 */ array(20, ), /* 123 */ array(20, ), /* 124 */ array(18, ), /* 125 */ array(15, 17, 19, 21, ), /* 126 */ array(12, 13, 15, 27, ), /* 127 */ array(12, 13, 15, 27, ), /* 128 */ array(12, 15, 16, ), /* 129 */ array(12, 13, 15, ), /* 130 */ array(12, 15, 54, ), /* 131 */ array(12, 13, 15, ), /* 132 */ array(12, 14, 15, ), /* 133 */ array(13, 20, ), /* 134 */ array(13, 20, ), /* 135 */ array(13, 20, ), /* 136 */ array(13, 20, ), /* 137 */ array(13, 20, ), /* 138 */ array(13, 20, ), /* 139 */ array(13, 20, ), /* 140 */ array(13, 20, ), /* 141 */ array(51, 56, ), /* 142 */ array(51, 56, ), /* 143 */ array(51, 56, ), /* 144 */ array(13, 20, ), /* 145 */ array(13, 20, ), /* 146 */ array(13, 20, ), /* 147 */ array(13, 20, ), /* 148 */ array(13, 20, ), /* 149 */ array(13, 20, ), /* 150 */ array(51, 56, ), /* 151 */ array(13, 20, ), /* 152 */ array(13, 20, ), /* 153 */ array(51, 56, ), /* 154 */ array(12, 46, ), /* 155 */ array(2, ), /* 156 */ array(14, ), /* 157 */ array(18, ), /* 158 */ array(10, ), /* 159 */ array(20, ), /* 160 */ array(46, ), /* 161 */ array(18, ), /* 162 */ array(18, ), /* 163 */ array(20, ), /* 164 */ array(), /* 165 */ array(), /* 166 */ array(), /* 167 */ array(), /* 168 */ array(), /* 169 */ array(), /* 170 */ array(16, 26, 46, 53, ), /* 171 */ array(13, 20, 46, 53, ), /* 172 */ array(12, 14, 15, 29, ), /* 173 */ array(46, 51, 53, 57, ), /* 174 */ array(27, 46, 53, ), /* 175 */ array(13, 20, 45, ), /* 176 */ array(30, 57, ), /* 177 */ array(15, 54, ), /* 178 */ array(23, 71, ), /* 179 */ array(2, 16, ), /* 180 */ array(13, 45, ), /* 181 */ array(27, 45, ), /* 182 */ array(15, 29, ), /* 183 */ array(16, 51, ), /* 184 */ array(22, 30, ), /* 185 */ array(46, 53, ), /* 186 */ array(46, 53, ), /* 187 */ array(15, ), /* 188 */ array(20, ), /* 189 */ array(55, ), /* 190 */ array(55, ), /* 191 */ array(29, ), /* 192 */ array(51, ), /* 193 */ array(15, ), /* 194 */ array(46, ), /* 195 */ array(13, ), /* 196 */ array(14, ), /* 197 */ array(26, ), /* 198 */ array(14, ), /* 199 */ array(47, ), /* 200 */ array(14, ), /* 201 */ array(26, ), /* 202 */ array(15, ), /* 203 */ array(15, ), /* 204 */ array(48, ), /* 205 */ array(47, ), /* 206 */ array(2, ), /* 207 */ array(15, ), /* 208 */ array(20, ), /* 209 */ array(23, ), /* 210 */ array(47, ), /* 211 */ array(13, ), /* 212 */ array(15, ), /* 213 */ array(13, ), /* 214 */ array(14, ), /* 215 */ array(16, ), /* 216 */ array(14, ), /* 217 */ array(13, ), /* 218 */ array(46, ), /* 219 */ array(24, ), /* 220 */ array(15, ), /* 221 */ array(16, ), /* 222 */ array(15, ), /* 223 */ array(57, ), /* 224 */ array(45, ), /* 225 */ array(), /* 226 */ array(), /* 227 */ array(), /* 228 */ array(), /* 229 */ array(), /* 230 */ array(), /* 231 */ array(), /* 232 */ array(), /* 233 */ array(), /* 234 */ array(), /* 235 */ array(), /* 236 */ array(), /* 237 */ array(), /* 238 */ array(), /* 239 */ array(), /* 240 */ array(), /* 241 */ array(), /* 242 */ array(), /* 243 */ array(), /* 244 */ array(), /* 245 */ array(), /* 246 */ array(), /* 247 */ array(), /* 248 */ array(), /* 249 */ array(), /* 250 */ array(), /* 251 */ array(), /* 252 */ array(), /* 253 */ array(), /* 254 */ array(), /* 255 */ array(), /* 256 */ array(), /* 257 */ array(), /* 258 */ array(), /* 259 */ array(), /* 260 */ array(), /* 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(), ); static public $yy_default = array( /* 0 */ 547, 530, 547, 547, 503, 547, 547, 503, 547, 503, /* 10 */ 547, 503, 547, 547, 547, 547, 547, 547, 547, 547, /* 20 */ 547, 547, 547, 547, 547, 547, 547, 547, 547, 547, /* 30 */ 547, 547, 547, 547, 547, 547, 547, 547, 547, 547, /* 40 */ 547, 547, 547, 547, 547, 547, 547, 547, 547, 547, /* 50 */ 420, 547, 420, 420, 547, 547, 547, 547, 502, 547, /* 60 */ 547, 547, 547, 547, 547, 547, 547, 453, 533, 532, /* 70 */ 441, 422, 446, 445, 449, 450, 402, 429, 437, 426, /* 80 */ 440, 531, 442, 362, 547, 461, 547, 547, 509, 420, /* 90 */ 420, 420, 420, 547, 547, 547, 476, 454, 469, 476, /* 100 */ 430, 454, 547, 547, 547, 476, 469, 547, 547, 547, /* 110 */ 547, 547, 547, 547, 547, 547, 547, 547, 420, 506, /* 120 */ 420, 547, 420, 420, 469, 547, 547, 547, 547, 547, /* 130 */ 477, 547, 547, 547, 547, 547, 547, 547, 547, 547, /* 140 */ 547, 496, 494, 495, 547, 547, 547, 547, 547, 547, /* 150 */ 493, 547, 547, 474, 476, 436, 547, 507, 376, 546, /* 160 */ 476, 510, 490, 546, 512, 512, 512, 512, 476, 476, /* 170 */ 425, 461, 547, 461, 461, 430, 547, 547, 454, 488, /* 180 */ 430, 430, 547, 459, 547, 461, 451, 547, 547, 547, /* 190 */ 547, 547, 459, 547, 488, 547, 547, 547, 547, 547, /* 200 */ 547, 547, 547, 547, 463, 547, 488, 547, 547, 454, /* 210 */ 547, 547, 547, 547, 547, 425, 547, 547, 508, 427, /* 220 */ 547, 547, 547, 547, 430, 379, 380, 538, 381, 382, /* 230 */ 537, 544, 539, 527, 528, 540, 529, 543, 383, 418, /* 240 */ 372, 452, 499, 513, 514, 498, 481, 480, 368, 367, /* 250 */ 417, 411, 365, 364, 363, 424, 366, 412, 413, 414, /* 260 */ 479, 489, 500, 536, 371, 501, 373, 377, 375, 374, /* 270 */ 370, 497, 485, 369, 463, 483, 482, 472, 473, 484, /* 280 */ 378, 456, 389, 439, 390, 438, 443, 388, 447, 387, /* 290 */ 444, 492, 471, 491, 467, 393, 392, 434, 486, 468, /* 300 */ 391, 448, 386, 525, 526, 435, 524, 523, 520, 521, /* 310 */ 522, 518, 517, 504, 385, 542, 505, 541, 516, 515, /* 320 */ 384, 395, 465, 458, 401, 511, 455, 519, 400, 460, /* 330 */ 457, 419, 403, 410, 405, 534, 404, 415, 545, 428, /* 340 */ 416, 399, 466, 432, 488, 397, 398, 462, 464, 396, /* 350 */ 433, 487, 478, 431, 408, 409, 407, 470, 394, 475, /* 360 */ 406, 535, ); const YYNOCODE = 116; const YYSTACKDEPTH = 100; const YYNSTATE = 362; const YYNRULE = 185; const YYERRORSYMBOL = 73; const YYERRSYMDT = 'yy0'; const YYFALLBACK = 0; static public $yyFallback = array( ); static function Trace($TraceFILE, $zTracePrompt) { if (!$TraceFILE) { $zTracePrompt = 0; } elseif (!$zTracePrompt) { $TraceFILE = 0; } self::$yyTraceFILE = $TraceFILE; self::$yyTracePrompt = $zTracePrompt; } static function PrintTrace() { self::$yyTraceFILE = fopen('php://output', 'w'); self::$yyTracePrompt = '
'; } static public $yyTraceFILE; static 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', 'COMMENT', 'PHPSTARTTAG', 'PHPENDTAG', 'FAKEPHPSTARTTAG', 'XMLTAG', 'OTHER', 'LITERALSTART', 'LITERALEND', 'LITERAL', 'LDEL', 'RDEL', 'DOLLAR', 'ID', 'EQUAL', 'FOREACH', 'PTR', 'IF', 'SPACE', 'FOR', 'SEMICOLON', 'INCDEC', 'TO', 'STEP', 'AS', 'APTR', 'LDELSLASH', 'INTEGER', 'COMMA', 'MATH', 'UNIMATH', 'ANDSYM', 'ISIN', 'ISDIVBY', 'ISNOTDIVBY', 'ISEVEN', 'ISNOTEVEN', 'ISEVENBY', 'ISNOTEVENBY', 'ISODD', 'ISNOTODD', 'ISODDBY', 'ISNOTODDBY', 'INSTANCEOF', 'OPENP', 'CLOSEP', 'QMARK', 'NOT', 'TYPECAST', 'DOT', 'SINGLEQUOTESTRING', 'DOUBLECOLON', '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', 'attributes', 'variable', 'expr', 'ternary', 'varindexed', 'modifier', 'modparameters', 'statement', 'statements', 'optspace', 'varvar', 'foraction', 'array', 'specialclose', 'attribute', 'ifcond', 'lop', 'function', 'doublequoted_with_quotes', 'static_class_access', 'object', 'arrayindex', 'indexdef', 'varvarele', 'objectchain', 'objectelement', 'method', 'params', 'modparameter', 'arrayelements', 'arrayelement', 'doublequoted', 'doublequotedcontent', ); static public $yyRuleName = array( /* 0 */ "start ::= template", /* 1 */ "template ::= template_element", /* 2 */ "template ::= template template_element", /* 3 */ "template_element ::= smartytag", /* 4 */ "template_element ::= COMMENT", /* 5 */ "template_element ::= literal", /* 6 */ "template_element ::= PHPSTARTTAG", /* 7 */ "template_element ::= PHPENDTAG", /* 8 */ "template_element ::= FAKEPHPSTARTTAG", /* 9 */ "template_element ::= XMLTAG", /* 10 */ "template_element ::= OTHER", /* 11 */ "literal ::= LITERALSTART LITERALEND", /* 12 */ "literal ::= LITERALSTART literal_elements LITERALEND", /* 13 */ "literal_elements ::= literal_elements literal_element", /* 14 */ "literal_elements ::=", /* 15 */ "literal_element ::= literal", /* 16 */ "literal_element ::= LITERAL", /* 17 */ "literal_element ::= PHPSTARTTAG", /* 18 */ "literal_element ::= FAKEPHPSTARTTAG", /* 19 */ "literal_element ::= PHPENDTAG", /* 20 */ "smartytag ::= LDEL value RDEL", /* 21 */ "smartytag ::= LDEL value attributes RDEL", /* 22 */ "smartytag ::= LDEL variable attributes RDEL", /* 23 */ "smartytag ::= LDEL expr attributes RDEL", /* 24 */ "smartytag ::= LDEL ternary attributes RDEL", /* 25 */ "smartytag ::= LDEL DOLLAR ID EQUAL value RDEL", /* 26 */ "smartytag ::= LDEL DOLLAR ID EQUAL expr RDEL", /* 27 */ "smartytag ::= LDEL DOLLAR ID EQUAL expr attributes RDEL", /* 28 */ "smartytag ::= LDEL DOLLAR ID EQUAL ternary attributes RDEL", /* 29 */ "smartytag ::= LDEL varindexed EQUAL expr attributes RDEL", /* 30 */ "smartytag ::= LDEL varindexed EQUAL ternary attributes RDEL", /* 31 */ "smartytag ::= LDEL ID attributes RDEL", /* 32 */ "smartytag ::= LDEL FOREACH attributes RDEL", /* 33 */ "smartytag ::= LDEL ID RDEL", /* 34 */ "smartytag ::= LDEL ID PTR ID attributes RDEL", /* 35 */ "smartytag ::= LDEL ID modifier modparameters attributes RDEL", /* 36 */ "smartytag ::= LDEL ID PTR ID modifier modparameters attributes RDEL", /* 37 */ "smartytag ::= LDEL IF SPACE expr RDEL", /* 38 */ "smartytag ::= LDEL IF SPACE statement RDEL", /* 39 */ "smartytag ::= LDEL FOR SPACE statements SEMICOLON optspace expr SEMICOLON optspace DOLLAR varvar foraction RDEL", /* 40 */ "foraction ::= EQUAL expr", /* 41 */ "foraction ::= INCDEC", /* 42 */ "smartytag ::= LDEL FOR SPACE statement TO expr attributes RDEL", /* 43 */ "smartytag ::= LDEL FOR SPACE statement TO expr STEP expr RDEL", /* 44 */ "smartytag ::= LDEL FOREACH SPACE value AS DOLLAR varvar RDEL", /* 45 */ "smartytag ::= LDEL FOREACH SPACE value AS DOLLAR varvar APTR DOLLAR varvar RDEL", /* 46 */ "smartytag ::= LDEL FOREACH SPACE array AS DOLLAR varvar RDEL", /* 47 */ "smartytag ::= LDEL FOREACH SPACE array AS DOLLAR varvar APTR DOLLAR varvar RDEL", /* 48 */ "smartytag ::= LDELSLASH ID RDEL", /* 49 */ "smartytag ::= LDELSLASH specialclose RDEL", /* 50 */ "specialclose ::= IF", /* 51 */ "specialclose ::= FOR", /* 52 */ "specialclose ::= FOREACH", /* 53 */ "smartytag ::= LDELSLASH ID attributes RDEL", /* 54 */ "smartytag ::= LDELSLASH ID modifier modparameters attributes RDEL", /* 55 */ "smartytag ::= LDELSLASH ID PTR ID RDEL", /* 56 */ "attributes ::= attributes attribute", /* 57 */ "attributes ::= attribute", /* 58 */ "attributes ::=", /* 59 */ "attribute ::= SPACE ID EQUAL ID", /* 60 */ "attribute ::= SPACE ID EQUAL expr", /* 61 */ "attribute ::= SPACE ID EQUAL value", /* 62 */ "attribute ::= SPACE ID EQUAL ternary", /* 63 */ "attribute ::= SPACE ID", /* 64 */ "attribute ::= SPACE INTEGER EQUAL expr", /* 65 */ "statements ::= statement", /* 66 */ "statements ::= statements COMMA statement", /* 67 */ "statement ::= DOLLAR varvar EQUAL expr", /* 68 */ "expr ::= value", /* 69 */ "expr ::= DOLLAR ID COLON ID", /* 70 */ "expr ::= expr MATH value", /* 71 */ "expr ::= expr UNIMATH value", /* 72 */ "expr ::= expr ANDSYM value", /* 73 */ "expr ::= array", /* 74 */ "expr ::= expr modifier modparameters", /* 75 */ "expr ::= expr ifcond expr", /* 76 */ "expr ::= expr ISIN array", /* 77 */ "expr ::= expr ISIN value", /* 78 */ "expr ::= expr lop expr", /* 79 */ "expr ::= expr ISDIVBY expr", /* 80 */ "expr ::= expr ISNOTDIVBY expr", /* 81 */ "expr ::= expr ISEVEN", /* 82 */ "expr ::= expr ISNOTEVEN", /* 83 */ "expr ::= expr ISEVENBY expr", /* 84 */ "expr ::= expr ISNOTEVENBY expr", /* 85 */ "expr ::= expr ISODD", /* 86 */ "expr ::= expr ISNOTODD", /* 87 */ "expr ::= expr ISODDBY expr", /* 88 */ "expr ::= expr ISNOTODDBY expr", /* 89 */ "expr ::= value INSTANCEOF ID", /* 90 */ "expr ::= value INSTANCEOF value", /* 91 */ "ternary ::= OPENP expr CLOSEP QMARK expr COLON expr", /* 92 */ "value ::= variable", /* 93 */ "value ::= UNIMATH value", /* 94 */ "value ::= NOT value", /* 95 */ "value ::= TYPECAST value", /* 96 */ "value ::= variable INCDEC", /* 97 */ "value ::= INTEGER", /* 98 */ "value ::= INTEGER DOT INTEGER", /* 99 */ "value ::= ID", /* 100 */ "value ::= function", /* 101 */ "value ::= OPENP expr CLOSEP", /* 102 */ "value ::= SINGLEQUOTESTRING", /* 103 */ "value ::= doublequoted_with_quotes", /* 104 */ "value ::= ID DOUBLECOLON static_class_access", /* 105 */ "value ::= varindexed DOUBLECOLON static_class_access", /* 106 */ "value ::= smartytag", /* 107 */ "variable ::= varindexed", /* 108 */ "variable ::= DOLLAR varvar AT ID", /* 109 */ "variable ::= object", /* 110 */ "variable ::= HATCH ID HATCH", /* 111 */ "variable ::= HATCH variable HATCH", /* 112 */ "varindexed ::= DOLLAR varvar arrayindex", /* 113 */ "arrayindex ::= arrayindex indexdef", /* 114 */ "arrayindex ::=", /* 115 */ "indexdef ::= DOT DOLLAR varvar", /* 116 */ "indexdef ::= DOT DOLLAR varvar AT ID", /* 117 */ "indexdef ::= DOT ID", /* 118 */ "indexdef ::= DOT INTEGER", /* 119 */ "indexdef ::= DOT LDEL expr RDEL", /* 120 */ "indexdef ::= OPENB ID CLOSEB", /* 121 */ "indexdef ::= OPENB ID DOT ID CLOSEB", /* 122 */ "indexdef ::= OPENB expr CLOSEB", /* 123 */ "indexdef ::= OPENB CLOSEB", /* 124 */ "varvar ::= varvarele", /* 125 */ "varvar ::= varvar varvarele", /* 126 */ "varvarele ::= ID", /* 127 */ "varvarele ::= LDEL expr RDEL", /* 128 */ "object ::= varindexed objectchain", /* 129 */ "objectchain ::= objectelement", /* 130 */ "objectchain ::= objectchain objectelement", /* 131 */ "objectelement ::= PTR ID arrayindex", /* 132 */ "objectelement ::= PTR DOLLAR varvar arrayindex", /* 133 */ "objectelement ::= PTR LDEL expr RDEL arrayindex", /* 134 */ "objectelement ::= PTR ID LDEL expr RDEL arrayindex", /* 135 */ "objectelement ::= PTR method", /* 136 */ "function ::= ID OPENP params CLOSEP", /* 137 */ "method ::= ID OPENP params CLOSEP", /* 138 */ "method ::= DOLLAR ID OPENP params CLOSEP", /* 139 */ "params ::= expr COMMA params", /* 140 */ "params ::= expr", /* 141 */ "params ::=", /* 142 */ "modifier ::= VERT AT ID", /* 143 */ "modifier ::= VERT ID", /* 144 */ "static_class_access ::= method", /* 145 */ "static_class_access ::= method objectchain", /* 146 */ "static_class_access ::= ID", /* 147 */ "static_class_access ::= DOLLAR ID arrayindex", /* 148 */ "static_class_access ::= DOLLAR ID arrayindex objectchain", /* 149 */ "modparameters ::= modparameters modparameter", /* 150 */ "modparameters ::=", /* 151 */ "modparameter ::= COLON value", /* 152 */ "modparameter ::= COLON array", /* 153 */ "ifcond ::= EQUALS", /* 154 */ "ifcond ::= NOTEQUALS", /* 155 */ "ifcond ::= GREATERTHAN", /* 156 */ "ifcond ::= LESSTHAN", /* 157 */ "ifcond ::= GREATEREQUAL", /* 158 */ "ifcond ::= LESSEQUAL", /* 159 */ "ifcond ::= IDENTITY", /* 160 */ "ifcond ::= NONEIDENTITY", /* 161 */ "ifcond ::= MOD", /* 162 */ "lop ::= LAND", /* 163 */ "lop ::= LOR", /* 164 */ "lop ::= LXOR", /* 165 */ "array ::= OPENB arrayelements CLOSEB", /* 166 */ "arrayelements ::= arrayelement", /* 167 */ "arrayelements ::= arrayelements COMMA arrayelement", /* 168 */ "arrayelements ::=", /* 169 */ "arrayelement ::= value APTR expr", /* 170 */ "arrayelement ::= ID APTR expr", /* 171 */ "arrayelement ::= expr", /* 172 */ "doublequoted_with_quotes ::= QUOTE QUOTE", /* 173 */ "doublequoted_with_quotes ::= QUOTE doublequoted QUOTE", /* 174 */ "doublequoted ::= doublequoted doublequotedcontent", /* 175 */ "doublequoted ::= doublequotedcontent", /* 176 */ "doublequotedcontent ::= BACKTICK variable BACKTICK", /* 177 */ "doublequotedcontent ::= BACKTICK expr BACKTICK", /* 178 */ "doublequotedcontent ::= DOLLARID", /* 179 */ "doublequotedcontent ::= LDEL variable RDEL", /* 180 */ "doublequotedcontent ::= LDEL expr RDEL", /* 181 */ "doublequotedcontent ::= smartytag", /* 182 */ "doublequotedcontent ::= OTHER", /* 183 */ "optspace ::= SPACE", /* 184 */ "optspace ::=", ); function tokenName($tokenType) { if ($tokenType === 0) { return 'End of Input'; } if ($tokenType > 0 && $tokenType < count($this->yyTokenName)) { return $this->yyTokenName[$tokenType]; } else { return "Unknown"; } } static function yy_destructor($yymajor, $yypminor) { switch ($yymajor) { default: break; /* If no destructor action specified: do nothing */ } } function yy_pop_parser_stack() { if (!count($this->yystack)) { return; } $yytos = array_pop($this->yystack); if (self::$yyTraceFILE && $this->yyidx >= 0) { fwrite(self::$yyTraceFILE, self::$yyTracePrompt . 'Popping ' . $this->yyTokenName[$yytos->major] . "\n"); } $yymajor = $yytos->major; self::yy_destructor($yymajor, $yytos->minor); $this->yyidx--; return $yymajor; } function __destruct() { while ($this->yystack !== Array()) { $this->yy_pop_parser_stack(); } if (is_resource(self::$yyTraceFILE)) { fclose(self::$yyTraceFILE); } } 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); } 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; } 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 (self::$yyTraceFILE) { fwrite(self::$yyTraceFILE, self::$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]; } } 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]; } } function yy_shift($yyNewState, $yyMajor, $yypMinor) { $this->yyidx++; if ($this->yyidx >= self::YYSTACKDEPTH) { $this->yyidx--; if (self::$yyTraceFILE) { fprintf(self::$yyTraceFILE, "%sStack Overflow!\n", self::$yyTracePrompt); } while ($this->yyidx >= 0) { $this->yy_pop_parser_stack(); } #line 80 "smarty_internal_templateparser.y" $this->internalError = true; $this->compiler->trigger_template_error("Stack overflow in template parser"); #line 1546 "smarty_internal_templateparser.php" return; } $yytos = new TP_yyStackEntry; $yytos->stateno = $yyNewState; $yytos->major = $yyMajor; $yytos->minor = $yypMinor; array_push($this->yystack, $yytos); if (self::$yyTraceFILE && $this->yyidx > 0) { fprintf(self::$yyTraceFILE, "%sShift %d\n", self::$yyTracePrompt, $yyNewState); fprintf(self::$yyTraceFILE, "%sStack:", self::$yyTracePrompt); for($i = 1; $i <= $this->yyidx; $i++) { fprintf(self::$yyTraceFILE, " %s", $this->yyTokenName[$this->yystack[$i]->major]); } fwrite(self::$yyTraceFILE,"\n"); } } static public $yyRuleInfo = array( array( 'lhs' => 74, 'rhs' => 1 ), array( 'lhs' => 75, 'rhs' => 1 ), array( 'lhs' => 75, 'rhs' => 2 ), array( 'lhs' => 76, 'rhs' => 1 ), array( 'lhs' => 76, 'rhs' => 1 ), array( 'lhs' => 76, 'rhs' => 1 ), array( 'lhs' => 76, 'rhs' => 1 ), array( 'lhs' => 76, 'rhs' => 1 ), array( 'lhs' => 76, 'rhs' => 1 ), array( 'lhs' => 76, 'rhs' => 1 ), array( 'lhs' => 76, 'rhs' => 1 ), array( 'lhs' => 78, 'rhs' => 2 ), array( 'lhs' => 78, 'rhs' => 3 ), array( 'lhs' => 79, 'rhs' => 2 ), array( 'lhs' => 79, 'rhs' => 0 ), array( 'lhs' => 80, 'rhs' => 1 ), array( 'lhs' => 80, 'rhs' => 1 ), array( 'lhs' => 80, 'rhs' => 1 ), array( 'lhs' => 80, 'rhs' => 1 ), array( 'lhs' => 80, 'rhs' => 1 ), array( 'lhs' => 77, 'rhs' => 3 ), array( 'lhs' => 77, 'rhs' => 4 ), array( 'lhs' => 77, 'rhs' => 4 ), array( 'lhs' => 77, 'rhs' => 4 ), array( 'lhs' => 77, 'rhs' => 4 ), array( 'lhs' => 77, 'rhs' => 6 ), array( 'lhs' => 77, 'rhs' => 6 ), array( 'lhs' => 77, 'rhs' => 7 ), array( 'lhs' => 77, 'rhs' => 7 ), array( 'lhs' => 77, 'rhs' => 6 ), array( 'lhs' => 77, 'rhs' => 6 ), array( 'lhs' => 77, 'rhs' => 4 ), array( 'lhs' => 77, 'rhs' => 4 ), array( 'lhs' => 77, 'rhs' => 3 ), array( 'lhs' => 77, 'rhs' => 6 ), array( 'lhs' => 77, 'rhs' => 6 ), array( 'lhs' => 77, 'rhs' => 8 ), array( 'lhs' => 77, 'rhs' => 5 ), array( 'lhs' => 77, 'rhs' => 5 ), array( 'lhs' => 77, 'rhs' => 13 ), array( 'lhs' => 93, 'rhs' => 2 ), array( 'lhs' => 93, 'rhs' => 1 ), array( 'lhs' => 77, 'rhs' => 8 ), array( 'lhs' => 77, 'rhs' => 9 ), array( 'lhs' => 77, 'rhs' => 8 ), array( 'lhs' => 77, 'rhs' => 11 ), array( 'lhs' => 77, 'rhs' => 8 ), array( 'lhs' => 77, 'rhs' => 11 ), array( 'lhs' => 77, 'rhs' => 3 ), array( 'lhs' => 77, 'rhs' => 3 ), array( 'lhs' => 95, 'rhs' => 1 ), array( 'lhs' => 95, 'rhs' => 1 ), array( 'lhs' => 95, 'rhs' => 1 ), array( 'lhs' => 77, 'rhs' => 4 ), array( 'lhs' => 77, 'rhs' => 6 ), array( 'lhs' => 77, 'rhs' => 5 ), array( 'lhs' => 82, 'rhs' => 2 ), array( 'lhs' => 82, 'rhs' => 1 ), array( 'lhs' => 82, 'rhs' => 0 ), array( 'lhs' => 96, 'rhs' => 4 ), array( 'lhs' => 96, 'rhs' => 4 ), array( 'lhs' => 96, 'rhs' => 4 ), array( 'lhs' => 96, 'rhs' => 4 ), array( 'lhs' => 96, 'rhs' => 2 ), array( 'lhs' => 96, 'rhs' => 4 ), array( 'lhs' => 90, 'rhs' => 1 ), array( 'lhs' => 90, 'rhs' => 3 ), array( 'lhs' => 89, 'rhs' => 4 ), array( 'lhs' => 84, 'rhs' => 1 ), array( 'lhs' => 84, 'rhs' => 4 ), array( 'lhs' => 84, 'rhs' => 3 ), array( 'lhs' => 84, 'rhs' => 3 ), array( 'lhs' => 84, 'rhs' => 3 ), array( 'lhs' => 84, 'rhs' => 1 ), array( 'lhs' => 84, 'rhs' => 3 ), array( 'lhs' => 84, 'rhs' => 3 ), array( 'lhs' => 84, 'rhs' => 3 ), array( 'lhs' => 84, 'rhs' => 3 ), array( 'lhs' => 84, 'rhs' => 3 ), array( 'lhs' => 84, 'rhs' => 3 ), array( 'lhs' => 84, 'rhs' => 3 ), array( 'lhs' => 84, 'rhs' => 2 ), array( 'lhs' => 84, 'rhs' => 2 ), array( 'lhs' => 84, 'rhs' => 3 ), array( 'lhs' => 84, 'rhs' => 3 ), array( 'lhs' => 84, 'rhs' => 2 ), array( 'lhs' => 84, 'rhs' => 2 ), array( 'lhs' => 84, 'rhs' => 3 ), array( 'lhs' => 84, 'rhs' => 3 ), array( 'lhs' => 84, 'rhs' => 3 ), array( 'lhs' => 84, 'rhs' => 3 ), array( 'lhs' => 85, 'rhs' => 7 ), array( 'lhs' => 81, 'rhs' => 1 ), array( 'lhs' => 81, 'rhs' => 2 ), array( 'lhs' => 81, 'rhs' => 2 ), array( 'lhs' => 81, 'rhs' => 2 ), array( 'lhs' => 81, 'rhs' => 2 ), array( 'lhs' => 81, 'rhs' => 1 ), array( 'lhs' => 81, 'rhs' => 3 ), array( 'lhs' => 81, 'rhs' => 1 ), array( 'lhs' => 81, 'rhs' => 1 ), array( 'lhs' => 81, 'rhs' => 3 ), array( 'lhs' => 81, 'rhs' => 1 ), array( 'lhs' => 81, 'rhs' => 1 ), array( 'lhs' => 81, 'rhs' => 3 ), array( 'lhs' => 81, 'rhs' => 3 ), array( 'lhs' => 81, 'rhs' => 1 ), array( 'lhs' => 83, 'rhs' => 1 ), array( 'lhs' => 83, 'rhs' => 4 ), array( 'lhs' => 83, 'rhs' => 1 ), array( 'lhs' => 83, 'rhs' => 3 ), array( 'lhs' => 83, 'rhs' => 3 ), array( 'lhs' => 86, 'rhs' => 3 ), array( 'lhs' => 103, 'rhs' => 2 ), array( 'lhs' => 103, 'rhs' => 0 ), array( 'lhs' => 104, 'rhs' => 3 ), array( 'lhs' => 104, 'rhs' => 5 ), array( 'lhs' => 104, 'rhs' => 2 ), array( 'lhs' => 104, 'rhs' => 2 ), array( 'lhs' => 104, 'rhs' => 4 ), array( 'lhs' => 104, 'rhs' => 3 ), array( 'lhs' => 104, 'rhs' => 5 ), array( 'lhs' => 104, 'rhs' => 3 ), array( 'lhs' => 104, 'rhs' => 2 ), array( 'lhs' => 92, 'rhs' => 1 ), array( 'lhs' => 92, 'rhs' => 2 ), array( 'lhs' => 105, 'rhs' => 1 ), array( 'lhs' => 105, 'rhs' => 3 ), array( 'lhs' => 102, 'rhs' => 2 ), array( 'lhs' => 106, 'rhs' => 1 ), array( 'lhs' => 106, 'rhs' => 2 ), array( 'lhs' => 107, 'rhs' => 3 ), array( 'lhs' => 107, 'rhs' => 4 ), array( 'lhs' => 107, 'rhs' => 5 ), array( 'lhs' => 107, 'rhs' => 6 ), array( 'lhs' => 107, 'rhs' => 2 ), array( 'lhs' => 99, 'rhs' => 4 ), array( 'lhs' => 108, 'rhs' => 4 ), array( 'lhs' => 108, 'rhs' => 5 ), array( 'lhs' => 109, 'rhs' => 3 ), array( 'lhs' => 109, 'rhs' => 1 ), array( 'lhs' => 109, 'rhs' => 0 ), array( 'lhs' => 87, 'rhs' => 3 ), array( 'lhs' => 87, 'rhs' => 2 ), array( 'lhs' => 101, 'rhs' => 1 ), array( 'lhs' => 101, 'rhs' => 2 ), array( 'lhs' => 101, 'rhs' => 1 ), array( 'lhs' => 101, 'rhs' => 3 ), array( 'lhs' => 101, 'rhs' => 4 ), array( 'lhs' => 88, 'rhs' => 2 ), array( 'lhs' => 88, 'rhs' => 0 ), array( 'lhs' => 110, 'rhs' => 2 ), array( 'lhs' => 110, 'rhs' => 2 ), array( 'lhs' => 97, 'rhs' => 1 ), array( 'lhs' => 97, 'rhs' => 1 ), array( 'lhs' => 97, 'rhs' => 1 ), array( 'lhs' => 97, 'rhs' => 1 ), array( 'lhs' => 97, 'rhs' => 1 ), array( 'lhs' => 97, 'rhs' => 1 ), array( 'lhs' => 97, 'rhs' => 1 ), array( 'lhs' => 97, 'rhs' => 1 ), array( 'lhs' => 97, 'rhs' => 1 ), array( 'lhs' => 98, 'rhs' => 1 ), array( 'lhs' => 98, 'rhs' => 1 ), array( 'lhs' => 98, 'rhs' => 1 ), array( 'lhs' => 94, 'rhs' => 3 ), array( 'lhs' => 111, 'rhs' => 1 ), array( 'lhs' => 111, 'rhs' => 3 ), array( 'lhs' => 111, 'rhs' => 0 ), array( 'lhs' => 112, 'rhs' => 3 ), array( 'lhs' => 112, 'rhs' => 3 ), array( 'lhs' => 112, 'rhs' => 1 ), array( 'lhs' => 100, 'rhs' => 2 ), array( 'lhs' => 100, 'rhs' => 3 ), array( 'lhs' => 113, 'rhs' => 2 ), array( 'lhs' => 113, 'rhs' => 1 ), array( 'lhs' => 114, 'rhs' => 3 ), array( 'lhs' => 114, 'rhs' => 3 ), array( 'lhs' => 114, 'rhs' => 1 ), array( 'lhs' => 114, 'rhs' => 3 ), array( 'lhs' => 114, 'rhs' => 3 ), array( 'lhs' => 114, 'rhs' => 1 ), array( 'lhs' => 114, 'rhs' => 1 ), array( 'lhs' => 91, 'rhs' => 1 ), array( 'lhs' => 91, 'rhs' => 0 ), ); static public $yyReduceMap = array( 0 => 0, 5 => 0, 15 => 0, 16 => 0, 50 => 0, 51 => 0, 52 => 0, 68 => 0, 92 => 0, 97 => 0, 100 => 0, 102 => 0, 103 => 0, 109 => 0, 144 => 0, 166 => 0, 1 => 1, 2 => 2, 3 => 3, 4 => 4, 6 => 6, 7 => 7, 8 => 8, 9 => 9, 10 => 10, 11 => 11, 14 => 11, 12 => 12, 13 => 13, 93 => 13, 95 => 13, 96 => 13, 145 => 13, 17 => 17, 18 => 17, 19 => 19, 20 => 20, 21 => 21, 22 => 21, 23 => 21, 24 => 21, 25 => 25, 26 => 25, 27 => 27, 28 => 27, 29 => 29, 30 => 29, 31 => 31, 32 => 31, 33 => 33, 34 => 34, 35 => 35, 36 => 36, 37 => 37, 38 => 37, 39 => 39, 40 => 40, 41 => 41, 57 => 41, 140 => 41, 146 => 41, 171 => 41, 42 => 42, 43 => 43, 44 => 44, 45 => 45, 46 => 46, 47 => 47, 48 => 48, 49 => 48, 53 => 53, 54 => 54, 55 => 55, 56 => 56, 58 => 58, 59 => 59, 60 => 60, 61 => 60, 62 => 60, 63 => 63, 64 => 64, 65 => 65, 66 => 66, 67 => 67, 69 => 69, 70 => 70, 71 => 70, 72 => 70, 73 => 73, 124 => 73, 183 => 73, 74 => 74, 75 => 75, 78 => 75, 89 => 75, 76 => 76, 77 => 77, 79 => 79, 80 => 80, 81 => 81, 86 => 81, 82 => 82, 85 => 82, 83 => 83, 88 => 83, 84 => 84, 87 => 84, 90 => 90, 91 => 91, 94 => 94, 98 => 98, 99 => 99, 101 => 101, 104 => 104, 105 => 105, 106 => 106, 107 => 107, 108 => 108, 110 => 110, 111 => 111, 112 => 112, 113 => 113, 114 => 114, 150 => 114, 115 => 115, 116 => 116, 117 => 117, 118 => 118, 119 => 119, 122 => 119, 120 => 120, 121 => 121, 123 => 123, 184 => 123, 125 => 125, 126 => 126, 127 => 127, 128 => 128, 129 => 129, 130 => 130, 131 => 131, 132 => 132, 133 => 133, 134 => 134, 135 => 135, 136 => 136, 137 => 137, 138 => 138, 139 => 139, 141 => 141, 142 => 142, 143 => 142, 147 => 147, 148 => 148, 149 => 149, 151 => 151, 152 => 151, 153 => 153, 154 => 154, 155 => 155, 156 => 156, 157 => 157, 158 => 158, 159 => 159, 160 => 160, 161 => 161, 162 => 162, 163 => 163, 164 => 164, 165 => 165, 167 => 167, 168 => 168, 169 => 169, 170 => 170, 172 => 172, 173 => 173, 174 => 174, 175 => 175, 176 => 176, 177 => 176, 179 => 176, 178 => 178, 180 => 180, 181 => 181, 182 => 182, ); #line 91 "smarty_internal_templateparser.y" function yy_r0(){ $this->_retvalue = $this->yystack[$this->yyidx + 0]->minor; } #line 1943 "smarty_internal_templateparser.php" #line 97 "smarty_internal_templateparser.y" function yy_r1(){if ($this->template->extract_code == false) { $this->_retvalue = $this->yystack[$this->yyidx + 0]->minor; } else { // store code in extract buffer $this->template->extracted_compiled_code .= $this->yystack[$this->yyidx + 0]->minor; } } #line 1952 "smarty_internal_templateparser.php" #line 105 "smarty_internal_templateparser.y" function yy_r2(){if ($this->template->extract_code == false) { $this->_retvalue = $this->yystack[$this->yyidx + -1]->minor.$this->yystack[$this->yyidx + 0]->minor; } else { // store code in extract buffer $this->template->extracted_compiled_code .= $this->yystack[$this->yyidx + 0]->minor; $this->_retvalue = $this->yystack[$this->yyidx + -1]->minor; } } #line 1962 "smarty_internal_templateparser.php" #line 118 "smarty_internal_templateparser.y" function yy_r3(){ if ($this->compiler->has_code) { $tmp =''; foreach ($this->compiler->prefix_code as $code) {$tmp.=$code;} $this->compiler->prefix_code=array(); $this->_retvalue = $this->compiler->processNocacheCode($tmp.$this->yystack[$this->yyidx + 0]->minor,true); } else { $this->_retvalue = $this->yystack[$this->yyidx + 0]->minor; } $this->compiler->has_variable_string = false; $this->block_nesting_level = count($this->compiler->_tag_stack); } #line 1974 "smarty_internal_templateparser.php" #line 130 "smarty_internal_templateparser.y" function yy_r4(){ $this->_retvalue = ''; } #line 1977 "smarty_internal_templateparser.php" #line 136 "smarty_internal_templateparser.y" function yy_r6(){ if ($this->sec_obj->php_handling == SMARTY_PHP_PASSTHRU) { $this->_retvalue = self::escape_start_tag($this->yystack[$this->yyidx + 0]->minor); } elseif ($this->sec_obj->php_handling == SMARTY_PHP_QUOTE) { $this->_retvalue = $this->compiler->processNocacheCode(htmlspecialchars($this->yystack[$this->yyidx + 0]->minor, ENT_QUOTES),false); }elseif ($this->sec_obj->php_handling == SMARTY_PHP_ALLOW) { $this->_retvalue = $this->compiler->processNocacheCode('sec_obj->php_handling == SMARTY_PHP_REMOVE) { $this->_retvalue = ''; } } #line 1990 "smarty_internal_templateparser.php" #line 148 "smarty_internal_templateparser.y" function yy_r7(){if ($this->is_xml) { $this->compiler->tag_nocache = true; $this->is_xml = true; $this->_retvalue = $this->compiler->processNocacheCode("';?>", $this->compiler, true); }elseif ($this->sec_obj->php_handling == SMARTY_PHP_PASSTHRU) { $this->_retvalue = '?>'; } elseif ($this->sec_obj->php_handling == SMARTY_PHP_QUOTE) { $this->_retvalue = $this->compiler->processNocacheCode(htmlspecialchars('?>', ENT_QUOTES), false); }elseif ($this->sec_obj->php_handling == SMARTY_PHP_ALLOW) { $this->_retvalue = $this->compiler->processNocacheCode('?>', true); }elseif ($this->sec_obj->php_handling == SMARTY_PHP_REMOVE) { $this->_retvalue = ''; } } #line 2006 "smarty_internal_templateparser.php" #line 163 "smarty_internal_templateparser.y" function yy_r8(){if ($this->lex->strip) { $this->_retvalue = preg_replace('![\$this->yystack[$this->yyidx + 0]->minor ]*[\r\n]+[\$this->yystack[$this->yyidx + 0]->minor ]*!', '', self::escape_start_tag($this->yystack[$this->yyidx + 0]->minor)); } else { $this->_retvalue = self::escape_start_tag($this->yystack[$this->yyidx + 0]->minor); } } #line 2014 "smarty_internal_templateparser.php" #line 171 "smarty_internal_templateparser.y" function yy_r9(){ $this->compiler->tag_nocache = true; $this->is_xml = true; $this->_retvalue = $this->compiler->processNocacheCode("", $this->compiler, true); } #line 2017 "smarty_internal_templateparser.php" #line 174 "smarty_internal_templateparser.y" function yy_r10(){if ($this->lex->strip) { $this->_retvalue = preg_replace('![\t ]*[\r\n]+[\t ]*!', '', $this->yystack[$this->yyidx + 0]->minor); } else { $this->_retvalue = $this->yystack[$this->yyidx + 0]->minor; } } #line 2025 "smarty_internal_templateparser.php" #line 182 "smarty_internal_templateparser.y" function yy_r11(){ $this->_retvalue = ''; } #line 2028 "smarty_internal_templateparser.php" #line 183 "smarty_internal_templateparser.y" function yy_r12(){ $this->_retvalue = $this->yystack[$this->yyidx + -1]->minor; } #line 2031 "smarty_internal_templateparser.php" #line 185 "smarty_internal_templateparser.y" function yy_r13(){ $this->_retvalue = $this->yystack[$this->yyidx + -1]->minor.$this->yystack[$this->yyidx + 0]->minor; } #line 2034 "smarty_internal_templateparser.php" #line 190 "smarty_internal_templateparser.y" function yy_r17(){ $this->_retvalue = self::escape_start_tag($this->yystack[$this->yyidx + 0]->minor); } #line 2037 "smarty_internal_templateparser.php" #line 192 "smarty_internal_templateparser.y" function yy_r19(){ $this->_retvalue = self::escape_end_tag($this->yystack[$this->yyidx + 0]->minor); } #line 2040 "smarty_internal_templateparser.php" #line 200 "smarty_internal_templateparser.y" function yy_r20(){ $this->_retvalue = $this->compiler->compileTag('private_print_expression',array('value'=>$this->yystack[$this->yyidx + -1]->minor)); } #line 2043 "smarty_internal_templateparser.php" #line 201 "smarty_internal_templateparser.y" function yy_r21(){ $this->_retvalue = $this->compiler->compileTag('private_print_expression',array_merge(array('value'=>$this->yystack[$this->yyidx + -2]->minor),$this->yystack[$this->yyidx + -1]->minor)); } #line 2046 "smarty_internal_templateparser.php" #line 212 "smarty_internal_templateparser.y" function yy_r25(){ $this->_retvalue = $this->compiler->compileTag('assign',array('value'=>$this->yystack[$this->yyidx + -1]->minor,'var'=>"'".$this->yystack[$this->yyidx + -3]->minor."'")); } #line 2049 "smarty_internal_templateparser.php" #line 214 "smarty_internal_templateparser.y" function yy_r27(){ $this->_retvalue = $this->compiler->compileTag('assign',array_merge(array('value'=>$this->yystack[$this->yyidx + -2]->minor,'var'=>"'".$this->yystack[$this->yyidx + -4]->minor."'"),$this->yystack[$this->yyidx + -1]->minor)); } #line 2052 "smarty_internal_templateparser.php" #line 216 "smarty_internal_templateparser.y" function yy_r29(){ $this->_retvalue = $this->compiler->compileTag('assign',array_merge(array('value'=>$this->yystack[$this->yyidx + -2]->minor),$this->yystack[$this->yyidx + -4]->minor,$this->yystack[$this->yyidx + -1]->minor)); } #line 2055 "smarty_internal_templateparser.php" #line 219 "smarty_internal_templateparser.y" function yy_r31(){ $this->_retvalue = $this->compiler->compileTag($this->yystack[$this->yyidx + -2]->minor,$this->yystack[$this->yyidx + -1]->minor); } #line 2058 "smarty_internal_templateparser.php" #line 221 "smarty_internal_templateparser.y" function yy_r33(){ $this->_retvalue = $this->compiler->compileTag($this->yystack[$this->yyidx + -1]->minor,array()); } #line 2061 "smarty_internal_templateparser.php" #line 223 "smarty_internal_templateparser.y" function yy_r34(){ $this->_retvalue = $this->compiler->compileTag($this->yystack[$this->yyidx + -4]->minor,array_merge(array('object_methode'=>$this->yystack[$this->yyidx + -2]->minor),$this->yystack[$this->yyidx + -1]->minor)); } #line 2064 "smarty_internal_templateparser.php" #line 225 "smarty_internal_templateparser.y" function yy_r35(){ $this->_retvalue = ''.$this->compiler->compileTag($this->yystack[$this->yyidx + -4]->minor,$this->yystack[$this->yyidx + -1]->minor).'_retvalue .= $this->compiler->compileTag('private_modifier',array('modifier'=>$this->yystack[$this->yyidx + -3]->minor,'params'=>'ob_get_clean()'.$this->yystack[$this->yyidx + -2]->minor)).'?>'; } #line 2069 "smarty_internal_templateparser.php" #line 229 "smarty_internal_templateparser.y" function yy_r36(){ $this->_retvalue = ''.$this->compiler->compileTag($this->yystack[$this->yyidx + -6]->minor,array_merge(array('object_methode'=>$this->yystack[$this->yyidx + -4]->minor),$this->yystack[$this->yyidx + -1]->minor)).'_retvalue .= $this->compiler->compileTag('private_modifier',array('modifier'=>$this->yystack[$this->yyidx + -3]->minor,'params'=>'ob_get_clean()'.$this->yystack[$this->yyidx + -2]->minor)).'?>'; } #line 2074 "smarty_internal_templateparser.php" #line 233 "smarty_internal_templateparser.y" function yy_r37(){ $this->_retvalue = $this->compiler->compileTag(($this->yystack[$this->yyidx + -3]->minor == 'else if')? 'elseif' : $this->yystack[$this->yyidx + -3]->minor,array('if condition'=>$this->yystack[$this->yyidx + -1]->minor)); } #line 2077 "smarty_internal_templateparser.php" #line 236 "smarty_internal_templateparser.y" function yy_r39(){ $this->_retvalue = $this->compiler->compileTag($this->yystack[$this->yyidx + -11]->minor,array('start'=>$this->yystack[$this->yyidx + -9]->minor,'ifexp'=>$this->yystack[$this->yyidx + -6]->minor,'varloop'=>$this->yystack[$this->yyidx + -2]->minor,'loop'=>$this->yystack[$this->yyidx + -1]->minor)); } #line 2081 "smarty_internal_templateparser.php" #line 239 "smarty_internal_templateparser.y" function yy_r40(){ $this->_retvalue = '='.$this->yystack[$this->yyidx + 0]->minor; } #line 2084 "smarty_internal_templateparser.php" #line 240 "smarty_internal_templateparser.y" function yy_r41(){ $this->_retvalue = $this->yystack[$this->yyidx + 0]->minor; } #line 2087 "smarty_internal_templateparser.php" #line 241 "smarty_internal_templateparser.y" function yy_r42(){ $this->_retvalue = $this->compiler->compileTag($this->yystack[$this->yyidx + -6]->minor,array_merge(array('start'=>$this->yystack[$this->yyidx + -4]->minor,'to'=>$this->yystack[$this->yyidx + -2]->minor),$this->yystack[$this->yyidx + -1]->minor)); } #line 2090 "smarty_internal_templateparser.php" #line 242 "smarty_internal_templateparser.y" function yy_r43(){ $this->_retvalue = $this->compiler->compileTag($this->yystack[$this->yyidx + -7]->minor,array('start'=>$this->yystack[$this->yyidx + -5]->minor,'to'=>$this->yystack[$this->yyidx + -3]->minor,'step'=>$this->yystack[$this->yyidx + -1]->minor)); } #line 2093 "smarty_internal_templateparser.php" #line 244 "smarty_internal_templateparser.y" function yy_r44(){ $this->_retvalue = $this->compiler->compileTag($this->yystack[$this->yyidx + -6]->minor,array('from'=>$this->yystack[$this->yyidx + -4]->minor,'item'=>$this->yystack[$this->yyidx + -1]->minor)); } #line 2097 "smarty_internal_templateparser.php" #line 246 "smarty_internal_templateparser.y" function yy_r45(){ $this->_retvalue = $this->compiler->compileTag($this->yystack[$this->yyidx + -9]->minor,array('from'=>$this->yystack[$this->yyidx + -7]->minor,'item'=>$this->yystack[$this->yyidx + -1]->minor,'key'=>$this->yystack[$this->yyidx + -4]->minor)); } #line 2101 "smarty_internal_templateparser.php" #line 248 "smarty_internal_templateparser.y" function yy_r46(){ $this->_retvalue = $this->compiler->compileTag($this->yystack[$this->yyidx + -6]->minor,array('from'=>$this->yystack[$this->yyidx + -4]->minor,'item'=>$this->yystack[$this->yyidx + -1]->minor)); } #line 2105 "smarty_internal_templateparser.php" #line 250 "smarty_internal_templateparser.y" function yy_r47(){ $this->_retvalue = $this->compiler->compileTag($this->yystack[$this->yyidx + -9]->minor,array('from'=>$this->yystack[$this->yyidx + -7]->minor,'item'=>$this->yystack[$this->yyidx + -1]->minor,'key'=>$this->yystack[$this->yyidx + -4]->minor)); } #line 2109 "smarty_internal_templateparser.php" #line 254 "smarty_internal_templateparser.y" function yy_r48(){ $this->_retvalue = $this->compiler->compileTag($this->yystack[$this->yyidx + -1]->minor.'close',array()); } #line 2112 "smarty_internal_templateparser.php" #line 259 "smarty_internal_templateparser.y" function yy_r53(){ $this->_retvalue = $this->compiler->compileTag($this->yystack[$this->yyidx + -2]->minor.'close',$this->yystack[$this->yyidx + -1]->minor); } #line 2115 "smarty_internal_templateparser.php" #line 260 "smarty_internal_templateparser.y" function yy_r54(){ $this->_retvalue = ''.$this->compiler->compileTag($this->yystack[$this->yyidx + -4]->minor.'close',$this->yystack[$this->yyidx + -1]->minor).'_retvalue .= $this->compiler->compileTag('private_modifier',array('modifier'=>$this->yystack[$this->yyidx + -3]->minor,'params'=>'ob_get_clean()'.$this->yystack[$this->yyidx + -2]->minor)).'?>'; } #line 2120 "smarty_internal_templateparser.php" #line 264 "smarty_internal_templateparser.y" function yy_r55(){ $this->_retvalue = $this->compiler->compileTag($this->yystack[$this->yyidx + -3]->minor.'close',array('object_methode'=>$this->yystack[$this->yyidx + -1]->minor)); } #line 2123 "smarty_internal_templateparser.php" #line 271 "smarty_internal_templateparser.y" function yy_r56(){ $this->_retvalue = $this->yystack[$this->yyidx + -1]->minor; $this->_retvalue[key($this->yystack[$this->yyidx + 0]->minor)] = $this->yystack[$this->yyidx + 0]->minor[key($this->yystack[$this->yyidx + 0]->minor)]; } #line 2126 "smarty_internal_templateparser.php" #line 275 "smarty_internal_templateparser.y" function yy_r58(){ $this->_retvalue = array(); } #line 2129 "smarty_internal_templateparser.php" #line 278 "smarty_internal_templateparser.y" function yy_r59(){ 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 2139 "smarty_internal_templateparser.php" #line 286 "smarty_internal_templateparser.y" function yy_r60(){ $this->_retvalue = array($this->yystack[$this->yyidx + -2]->minor=>$this->yystack[$this->yyidx + 0]->minor); } #line 2142 "smarty_internal_templateparser.php" #line 289 "smarty_internal_templateparser.y" function yy_r63(){ $this->_retvalue = array($this->yystack[$this->yyidx + 0]->minor=>'true'); } #line 2145 "smarty_internal_templateparser.php" #line 290 "smarty_internal_templateparser.y" function yy_r64(){$this->_retvalue = array($this->yystack[$this->yyidx + -2]->minor=>$this->yystack[$this->yyidx + 0]->minor); } #line 2148 "smarty_internal_templateparser.php" #line 296 "smarty_internal_templateparser.y" function yy_r65(){ $this->_retvalue = array($this->yystack[$this->yyidx + 0]->minor); } #line 2151 "smarty_internal_templateparser.php" #line 297 "smarty_internal_templateparser.y" function yy_r66(){ $this->yystack[$this->yyidx + -2]->minor[]=$this->yystack[$this->yyidx + 0]->minor; $this->_retvalue = $this->yystack[$this->yyidx + -2]->minor; } #line 2154 "smarty_internal_templateparser.php" #line 299 "smarty_internal_templateparser.y" function yy_r67(){ $this->_retvalue = array('var' => $this->yystack[$this->yyidx + -2]->minor, 'value'=>$this->yystack[$this->yyidx + 0]->minor); } #line 2157 "smarty_internal_templateparser.php" #line 308 "smarty_internal_templateparser.y" function yy_r69(){$this->_retvalue = '$_smarty_tpl->getStreamVariable(\''. $this->yystack[$this->yyidx + -2]->minor .'://'. $this->yystack[$this->yyidx + 0]->minor . '\')'; } #line 2160 "smarty_internal_templateparser.php" #line 310 "smarty_internal_templateparser.y" function yy_r70(){ $this->_retvalue = $this->yystack[$this->yyidx + -2]->minor . trim($this->yystack[$this->yyidx + -1]->minor) . $this->yystack[$this->yyidx + 0]->minor; } #line 2163 "smarty_internal_templateparser.php" #line 316 "smarty_internal_templateparser.y" function yy_r73(){$this->_retvalue = $this->yystack[$this->yyidx + 0]->minor; } #line 2166 "smarty_internal_templateparser.php" #line 319 "smarty_internal_templateparser.y" function yy_r74(){ $this->_retvalue = $this->compiler->compileTag('private_modifier',array('modifier'=>$this->yystack[$this->yyidx + -1]->minor,'params'=>$this->yystack[$this->yyidx + -2]->minor.$this->yystack[$this->yyidx + 0]->minor)); } #line 2169 "smarty_internal_templateparser.php" #line 323 "smarty_internal_templateparser.y" function yy_r75(){$this->_retvalue = $this->yystack[$this->yyidx + -2]->minor.$this->yystack[$this->yyidx + -1]->minor.$this->yystack[$this->yyidx + 0]->minor; } #line 2172 "smarty_internal_templateparser.php" #line 324 "smarty_internal_templateparser.y" function yy_r76(){$this->_retvalue = 'in_array('.$this->yystack[$this->yyidx + -2]->minor.','.$this->yystack[$this->yyidx + 0]->minor.')'; } #line 2175 "smarty_internal_templateparser.php" #line 325 "smarty_internal_templateparser.y" function yy_r77(){$this->_retvalue = 'in_array('.$this->yystack[$this->yyidx + -2]->minor.',(array)'.$this->yystack[$this->yyidx + 0]->minor.')'; } #line 2178 "smarty_internal_templateparser.php" #line 327 "smarty_internal_templateparser.y" function yy_r79(){$this->_retvalue = '!('.$this->yystack[$this->yyidx + -2]->minor.' % '.$this->yystack[$this->yyidx + 0]->minor.')'; } #line 2181 "smarty_internal_templateparser.php" #line 328 "smarty_internal_templateparser.y" function yy_r80(){$this->_retvalue = '('.$this->yystack[$this->yyidx + -2]->minor.' % '.$this->yystack[$this->yyidx + 0]->minor.')'; } #line 2184 "smarty_internal_templateparser.php" #line 329 "smarty_internal_templateparser.y" function yy_r81(){$this->_retvalue = '!(1 & '.$this->yystack[$this->yyidx + -1]->minor.')'; } #line 2187 "smarty_internal_templateparser.php" #line 330 "smarty_internal_templateparser.y" function yy_r82(){$this->_retvalue = '(1 & '.$this->yystack[$this->yyidx + -1]->minor.')'; } #line 2190 "smarty_internal_templateparser.php" #line 331 "smarty_internal_templateparser.y" function yy_r83(){$this->_retvalue = '!(1 & '.$this->yystack[$this->yyidx + -2]->minor.' / '.$this->yystack[$this->yyidx + 0]->minor.')'; } #line 2193 "smarty_internal_templateparser.php" #line 332 "smarty_internal_templateparser.y" function yy_r84(){$this->_retvalue = '(1 & '.$this->yystack[$this->yyidx + -2]->minor.' / '.$this->yystack[$this->yyidx + 0]->minor.')'; } #line 2196 "smarty_internal_templateparser.php" #line 338 "smarty_internal_templateparser.y" function yy_r90(){$this->prefix_number++; $this->compiler->prefix_code[] = 'prefix_number.'='.$this->yystack[$this->yyidx + 0]->minor.';?>'; $this->_retvalue = $this->yystack[$this->yyidx + -2]->minor.$this->yystack[$this->yyidx + -1]->minor.'$_tmp'.$this->prefix_number; } #line 2199 "smarty_internal_templateparser.php" #line 344 "smarty_internal_templateparser.y" function yy_r91(){ $this->_retvalue = $this->yystack[$this->yyidx + -5]->minor.' ? '.$this->yystack[$this->yyidx + -2]->minor.' : '.$this->yystack[$this->yyidx + 0]->minor; } #line 2202 "smarty_internal_templateparser.php" #line 351 "smarty_internal_templateparser.y" function yy_r94(){ $this->_retvalue = '!'.$this->yystack[$this->yyidx + 0]->minor; } #line 2205 "smarty_internal_templateparser.php" #line 356 "smarty_internal_templateparser.y" function yy_r98(){ $this->_retvalue = $this->yystack[$this->yyidx + -2]->minor.'.'.$this->yystack[$this->yyidx + 0]->minor; } #line 2208 "smarty_internal_templateparser.php" #line 358 "smarty_internal_templateparser.y" function yy_r99(){ if (preg_match('~^true$~i', $this->yystack[$this->yyidx + 0]->minor)) { $this->_retvalue = 'true'; } elseif (preg_match('~^false$~i', $this->yystack[$this->yyidx + 0]->minor)) { $this->_retvalue = 'false'; } elseif (preg_match('~^null$~i', $this->yystack[$this->yyidx + 0]->minor)) { $this->_retvalue = 'null'; } else $this->_retvalue = "'".$this->yystack[$this->yyidx + 0]->minor."'"; } #line 2218 "smarty_internal_templateparser.php" #line 369 "smarty_internal_templateparser.y" function yy_r101(){ $this->_retvalue = "(". $this->yystack[$this->yyidx + -1]->minor .")"; } #line 2221 "smarty_internal_templateparser.php" #line 375 "smarty_internal_templateparser.y" function yy_r104(){if (!$this->template->security || $this->smarty->security_handler->isTrustedStaticClass($this->yystack[$this->yyidx + -2]->minor, $this->compiler)) { $this->_retvalue = $this->yystack[$this->yyidx + -2]->minor.'::'.$this->yystack[$this->yyidx + 0]->minor; } } #line 2226 "smarty_internal_templateparser.php" #line 378 "smarty_internal_templateparser.y" function yy_r105(){ if ($this->yystack[$this->yyidx + -2]->minor['var'] == '\'smarty\'') { $this->_retvalue = $this->compiler->compileTag('private_special_variable',$this->yystack[$this->yyidx + -2]->minor['smarty_internal_index']).'::'.$this->yystack[$this->yyidx + 0]->minor;} else { $this->_retvalue = '$_smarty_tpl->getVariable('. $this->yystack[$this->yyidx + -2]->minor['var'] .')->value'.$this->yystack[$this->yyidx + -2]->minor['smarty_internal_index'].'::'.$this->yystack[$this->yyidx + 0]->minor; $this->compiler->tag_nocache=$this->compiler->tag_nocache|$this->template->getVariable(trim($this->yystack[$this->yyidx + -2]->minor['var'],"'"), null, true, false)->nocache;} } #line 2230 "smarty_internal_templateparser.php" #line 381 "smarty_internal_templateparser.y" function yy_r106(){ $this->prefix_number++; $this->compiler->prefix_code[] = ''.$this->yystack[$this->yyidx + 0]->minor.'prefix_number.'=ob_get_clean();?>'; $this->_retvalue = '$_tmp'.$this->prefix_number; } #line 2233 "smarty_internal_templateparser.php" #line 390 "smarty_internal_templateparser.y" function yy_r107(){if ($this->yystack[$this->yyidx + 0]->minor['var'] == '\'smarty\'') { $this->_retvalue = $this->compiler->compileTag('private_special_variable',$this->yystack[$this->yyidx + 0]->minor['smarty_internal_index']); } else { if (isset($this->compiler->local_var[$this->yystack[$this->yyidx + 0]->minor['var']])) { $this->_retvalue = '$_smarty_tpl->tpl_vars['. $this->yystack[$this->yyidx + 0]->minor['var'] .']->value'.$this->yystack[$this->yyidx + 0]->minor['smarty_internal_index']; } else { $this->_retvalue = '$_smarty_tpl->getVariable('. $this->yystack[$this->yyidx + 0]->minor['var'] .')->value'.$this->yystack[$this->yyidx + 0]->minor['smarty_internal_index']; } $this->compiler->tag_nocache=$this->compiler->tag_nocache|$this->template->getVariable(trim($this->yystack[$this->yyidx + 0]->minor['var'],"'"), null, true, false)->nocache;} } #line 2243 "smarty_internal_templateparser.php" #line 399 "smarty_internal_templateparser.y" function yy_r108(){if (isset($this->compiler->local_var[$this->yystack[$this->yyidx + -2]->minor])) { $this->_retvalue = '$_smarty_tpl->tpl_vars['. $this->yystack[$this->yyidx + -2]->minor .']->'.$this->yystack[$this->yyidx + 0]->minor; } else { $this->_retvalue = '$_smarty_tpl->getVariable('. $this->yystack[$this->yyidx + -2]->minor .')->'.$this->yystack[$this->yyidx + 0]->minor; } $this->compiler->tag_nocache=$this->compiler->tag_nocache|$this->template->getVariable(trim($this->yystack[$this->yyidx + -2]->minor,"'"), null, true, false)->nocache; } #line 2251 "smarty_internal_templateparser.php" #line 408 "smarty_internal_templateparser.y" function yy_r110(){$this->_retvalue = '$_smarty_tpl->getConfigVariable(\''. $this->yystack[$this->yyidx + -1]->minor .'\')'; } #line 2254 "smarty_internal_templateparser.php" #line 409 "smarty_internal_templateparser.y" function yy_r111(){$this->_retvalue = '$_smarty_tpl->getConfigVariable('. $this->yystack[$this->yyidx + -1]->minor .')'; } #line 2257 "smarty_internal_templateparser.php" #line 412 "smarty_internal_templateparser.y" function yy_r112(){$this->_retvalue = array('var'=>$this->yystack[$this->yyidx + -1]->minor, 'smarty_internal_index'=>$this->yystack[$this->yyidx + 0]->minor); } #line 2260 "smarty_internal_templateparser.php" #line 418 "smarty_internal_templateparser.y" function yy_r113(){$this->_retvalue = $this->yystack[$this->yyidx + -1]->minor.$this->yystack[$this->yyidx + 0]->minor; } #line 2263 "smarty_internal_templateparser.php" #line 420 "smarty_internal_templateparser.y" function yy_r114(){return; } #line 2266 "smarty_internal_templateparser.php" #line 424 "smarty_internal_templateparser.y" function yy_r115(){ $this->_retvalue = '[$_smarty_tpl->getVariable('. $this->yystack[$this->yyidx + 0]->minor .')->value]'; $this->compiler->tag_nocache=$this->compiler->tag_nocache|$this->template->getVariable('$this->yystack[$this->yyidx + 0]->minor', null, true, false)->nocache; } #line 2269 "smarty_internal_templateparser.php" #line 425 "smarty_internal_templateparser.y" function yy_r116(){ $this->_retvalue = '[$_smarty_tpl->getVariable('. $this->yystack[$this->yyidx + -2]->minor .')->'.$this->yystack[$this->yyidx + 0]->minor.']'; $this->compiler->tag_nocache=$this->compiler->tag_nocache|$this->template->getVariable(trim($this->yystack[$this->yyidx + -2]->minor,"'"), null, true, false)->nocache; } #line 2272 "smarty_internal_templateparser.php" #line 426 "smarty_internal_templateparser.y" function yy_r117(){ $this->_retvalue = "['". $this->yystack[$this->yyidx + 0]->minor ."']"; } #line 2275 "smarty_internal_templateparser.php" #line 427 "smarty_internal_templateparser.y" function yy_r118(){ $this->_retvalue = "[". $this->yystack[$this->yyidx + 0]->minor ."]"; } #line 2278 "smarty_internal_templateparser.php" #line 428 "smarty_internal_templateparser.y" function yy_r119(){ $this->_retvalue = "[". $this->yystack[$this->yyidx + -1]->minor ."]"; } #line 2281 "smarty_internal_templateparser.php" #line 430 "smarty_internal_templateparser.y" function yy_r120(){ $this->_retvalue = '['.$this->compiler->compileTag('private_special_variable','[\'section\'][\''.$this->yystack[$this->yyidx + -1]->minor.'\'][\'index\']').']'; } #line 2284 "smarty_internal_templateparser.php" #line 431 "smarty_internal_templateparser.y" function yy_r121(){ $this->_retvalue = '['.$this->compiler->compileTag('private_special_variable','[\'section\'][\''.$this->yystack[$this->yyidx + -3]->minor.'\'][\''.$this->yystack[$this->yyidx + -1]->minor.'\']').']'; } #line 2287 "smarty_internal_templateparser.php" #line 435 "smarty_internal_templateparser.y" function yy_r123(){$this->_retvalue = ''; } #line 2290 "smarty_internal_templateparser.php" #line 443 "smarty_internal_templateparser.y" function yy_r125(){$this->_retvalue = $this->yystack[$this->yyidx + -1]->minor.'.'.$this->yystack[$this->yyidx + 0]->minor; } #line 2293 "smarty_internal_templateparser.php" #line 445 "smarty_internal_templateparser.y" function yy_r126(){$this->_retvalue = '\''.$this->yystack[$this->yyidx + 0]->minor.'\''; } #line 2296 "smarty_internal_templateparser.php" #line 447 "smarty_internal_templateparser.y" function yy_r127(){$this->_retvalue = '('.$this->yystack[$this->yyidx + -1]->minor.')'; } #line 2299 "smarty_internal_templateparser.php" #line 452 "smarty_internal_templateparser.y" function yy_r128(){ if ($this->yystack[$this->yyidx + -1]->minor['var'] == '\'smarty\'') { $this->_retvalue = $this->compiler->compileTag('private_special_variable',$this->yystack[$this->yyidx + -1]->minor['smarty_internal_index']).$this->yystack[$this->yyidx + 0]->minor;} else { $this->_retvalue = '$_smarty_tpl->getVariable('. $this->yystack[$this->yyidx + -1]->minor['var'] .')->value'.$this->yystack[$this->yyidx + -1]->minor['smarty_internal_index'].$this->yystack[$this->yyidx + 0]->minor; $this->compiler->tag_nocache=$this->compiler->tag_nocache|$this->template->getVariable(trim($this->yystack[$this->yyidx + -1]->minor['var'],"'"), null, true, false)->nocache;} } #line 2303 "smarty_internal_templateparser.php" #line 455 "smarty_internal_templateparser.y" function yy_r129(){$this->_retvalue = $this->yystack[$this->yyidx + 0]->minor; } #line 2306 "smarty_internal_templateparser.php" #line 457 "smarty_internal_templateparser.y" function yy_r130(){$this->_retvalue = $this->yystack[$this->yyidx + -1]->minor.$this->yystack[$this->yyidx + 0]->minor; } #line 2309 "smarty_internal_templateparser.php" #line 459 "smarty_internal_templateparser.y" function yy_r131(){ $this->_retvalue = '->'.$this->yystack[$this->yyidx + -1]->minor.$this->yystack[$this->yyidx + 0]->minor; } #line 2312 "smarty_internal_templateparser.php" #line 460 "smarty_internal_templateparser.y" function yy_r132(){ $this->_retvalue = '->{$_smarty_tpl->getVariable('. $this->yystack[$this->yyidx + -1]->minor .')->value'.$this->yystack[$this->yyidx + 0]->minor.'}'; $this->compiler->tag_nocache=$this->compiler->tag_nocache|$this->template->getVariable(trim($this->yystack[$this->yyidx + -1]->minor,"'"), null, true, false)->nocache; } #line 2315 "smarty_internal_templateparser.php" #line 461 "smarty_internal_templateparser.y" function yy_r133(){ $this->_retvalue = '->{'.$this->yystack[$this->yyidx + -2]->minor.$this->yystack[$this->yyidx + 0]->minor.'}'; } #line 2318 "smarty_internal_templateparser.php" #line 462 "smarty_internal_templateparser.y" function yy_r134(){ $this->_retvalue = '->{\''.$this->yystack[$this->yyidx + -4]->minor.'\'.'.$this->yystack[$this->yyidx + -2]->minor.$this->yystack[$this->yyidx + 0]->minor.'}'; } #line 2321 "smarty_internal_templateparser.php" #line 464 "smarty_internal_templateparser.y" function yy_r135(){ $this->_retvalue = '->'.$this->yystack[$this->yyidx + 0]->minor; } #line 2324 "smarty_internal_templateparser.php" #line 470 "smarty_internal_templateparser.y" function yy_r136(){if (!$this->template->security || $this->smarty->security_handler->isTrustedPhpFunction($this->yystack[$this->yyidx + -3]->minor, $this->compiler)) { if ($this->yystack[$this->yyidx + -3]->minor == 'isset' || $this->yystack[$this->yyidx + -3]->minor == 'empty' || $this->yystack[$this->yyidx + -3]->minor == 'array' || is_callable($this->yystack[$this->yyidx + -3]->minor)) { $this->_retvalue = $this->yystack[$this->yyidx + -3]->minor . "(". $this->yystack[$this->yyidx + -1]->minor .")"; } else { $this->compiler->trigger_template_error ("unknown function \"" . $this->yystack[$this->yyidx + -3]->minor . "\""); } } } #line 2333 "smarty_internal_templateparser.php" #line 481 "smarty_internal_templateparser.y" function yy_r137(){ $this->_retvalue = $this->yystack[$this->yyidx + -3]->minor . "(". $this->yystack[$this->yyidx + -1]->minor .")"; } #line 2336 "smarty_internal_templateparser.php" #line 482 "smarty_internal_templateparser.y" function yy_r138(){ $this->prefix_number++; $this->compiler->prefix_code[] = 'prefix_number.'=$_smarty_tpl->getVariable(\''. $this->yystack[$this->yyidx + -3]->minor .'\')->value;?>'; $this->_retvalue = '$_tmp'.$this->prefix_number.'('. $this->yystack[$this->yyidx + -1]->minor .')'; } #line 2339 "smarty_internal_templateparser.php" #line 486 "smarty_internal_templateparser.y" function yy_r139(){ $this->_retvalue = $this->yystack[$this->yyidx + -2]->minor.",".$this->yystack[$this->yyidx + 0]->minor; } #line 2342 "smarty_internal_templateparser.php" #line 490 "smarty_internal_templateparser.y" function yy_r141(){ return; } #line 2345 "smarty_internal_templateparser.php" #line 495 "smarty_internal_templateparser.y" function yy_r142(){ $this->_retvalue = $this->yystack[$this->yyidx + 0]->minor; } #line 2348 "smarty_internal_templateparser.php" #line 505 "smarty_internal_templateparser.y" function yy_r147(){ $this->_retvalue = '$'.$this->yystack[$this->yyidx + -1]->minor.$this->yystack[$this->yyidx + 0]->minor; } #line 2351 "smarty_internal_templateparser.php" #line 507 "smarty_internal_templateparser.y" function yy_r148(){ $this->_retvalue = '$'.$this->yystack[$this->yyidx + -2]->minor.$this->yystack[$this->yyidx + -1]->minor.$this->yystack[$this->yyidx + 0]->minor; } #line 2354 "smarty_internal_templateparser.php" #line 518 "smarty_internal_templateparser.y" function yy_r149(){ $this->_retvalue = $this->yystack[$this->yyidx + -1]->minor.$this->yystack[$this->yyidx + 0]->minor; } #line 2357 "smarty_internal_templateparser.php" #line 522 "smarty_internal_templateparser.y" function yy_r151(){$this->_retvalue = ','.$this->yystack[$this->yyidx + 0]->minor; } #line 2360 "smarty_internal_templateparser.php" #line 526 "smarty_internal_templateparser.y" function yy_r153(){$this->_retvalue = '=='; } #line 2363 "smarty_internal_templateparser.php" #line 527 "smarty_internal_templateparser.y" function yy_r154(){$this->_retvalue = '!='; } #line 2366 "smarty_internal_templateparser.php" #line 528 "smarty_internal_templateparser.y" function yy_r155(){$this->_retvalue = '>'; } #line 2369 "smarty_internal_templateparser.php" #line 529 "smarty_internal_templateparser.y" function yy_r156(){$this->_retvalue = '<'; } #line 2372 "smarty_internal_templateparser.php" #line 530 "smarty_internal_templateparser.y" function yy_r157(){$this->_retvalue = '>='; } #line 2375 "smarty_internal_templateparser.php" #line 531 "smarty_internal_templateparser.y" function yy_r158(){$this->_retvalue = '<='; } #line 2378 "smarty_internal_templateparser.php" #line 532 "smarty_internal_templateparser.y" function yy_r159(){$this->_retvalue = '==='; } #line 2381 "smarty_internal_templateparser.php" #line 533 "smarty_internal_templateparser.y" function yy_r160(){$this->_retvalue = '!=='; } #line 2384 "smarty_internal_templateparser.php" #line 534 "smarty_internal_templateparser.y" function yy_r161(){$this->_retvalue = '%'; } #line 2387 "smarty_internal_templateparser.php" #line 536 "smarty_internal_templateparser.y" function yy_r162(){$this->_retvalue = '&&'; } #line 2390 "smarty_internal_templateparser.php" #line 537 "smarty_internal_templateparser.y" function yy_r163(){$this->_retvalue = '||'; } #line 2393 "smarty_internal_templateparser.php" #line 538 "smarty_internal_templateparser.y" function yy_r164(){$this->_retvalue = ' XOR '; } #line 2396 "smarty_internal_templateparser.php" #line 543 "smarty_internal_templateparser.y" function yy_r165(){ $this->_retvalue = 'array('.$this->yystack[$this->yyidx + -1]->minor.')'; } #line 2399 "smarty_internal_templateparser.php" #line 545 "smarty_internal_templateparser.y" function yy_r167(){ $this->_retvalue = $this->yystack[$this->yyidx + -2]->minor.','.$this->yystack[$this->yyidx + 0]->minor; } #line 2402 "smarty_internal_templateparser.php" #line 546 "smarty_internal_templateparser.y" function yy_r168(){ return; } #line 2405 "smarty_internal_templateparser.php" #line 547 "smarty_internal_templateparser.y" function yy_r169(){ $this->_retvalue = $this->yystack[$this->yyidx + -2]->minor.'=>'.$this->yystack[$this->yyidx + 0]->minor; } #line 2408 "smarty_internal_templateparser.php" #line 548 "smarty_internal_templateparser.y" function yy_r170(){ $this->_retvalue = '\''.$this->yystack[$this->yyidx + -2]->minor.'\'=>'.$this->yystack[$this->yyidx + 0]->minor; } #line 2411 "smarty_internal_templateparser.php" #line 555 "smarty_internal_templateparser.y" function yy_r172(){ $this->_retvalue = "''"; } #line 2414 "smarty_internal_templateparser.php" #line 556 "smarty_internal_templateparser.y" function yy_r173(){ $this->_retvalue = $this->yystack[$this->yyidx + -1]->minor->to_smarty_php(); } #line 2417 "smarty_internal_templateparser.php" #line 558 "smarty_internal_templateparser.y" function yy_r174(){ $this->yystack[$this->yyidx + -1]->minor->append_subtree($this->yystack[$this->yyidx + 0]->minor); $this->_retvalue = $this->yystack[$this->yyidx + -1]->minor; } #line 2420 "smarty_internal_templateparser.php" #line 559 "smarty_internal_templateparser.y" function yy_r175(){ $this->_retvalue = new _smarty_doublequoted($this, $this->yystack[$this->yyidx + 0]->minor); } #line 2423 "smarty_internal_templateparser.php" #line 561 "smarty_internal_templateparser.y" function yy_r176(){ $this->_retvalue = new _smarty_code($this, $this->yystack[$this->yyidx + -1]->minor); } #line 2426 "smarty_internal_templateparser.php" #line 563 "smarty_internal_templateparser.y" function yy_r178(){if (isset($this->compiler->local_var["'".substr($this->yystack[$this->yyidx + 0]->minor,1)."'"])) { $this->_retvalue = new _smarty_code($this, '$_smarty_tpl->tpl_vars[\''. substr($this->yystack[$this->yyidx + 0]->minor,1) .'\']->value'); } else { $this->_retvalue = new _smarty_code($this, '$_smarty_tpl->getVariable(\''. substr($this->yystack[$this->yyidx + 0]->minor,1) .'\')->value'); } $this->compiler->tag_nocache = $this->compiler->tag_nocache | $this->template->getVariable(trim($this->yystack[$this->yyidx + 0]->minor,"'"), null, true, false)->nocache; } #line 2435 "smarty_internal_templateparser.php" #line 571 "smarty_internal_templateparser.y" function yy_r180(){ $this->_retvalue = new _smarty_code($this, '('.$this->yystack[$this->yyidx + -1]->minor.')'); } #line 2438 "smarty_internal_templateparser.php" #line 572 "smarty_internal_templateparser.y" function yy_r181(){ $this->_retvalue = new _smarty_tag($this, $this->yystack[$this->yyidx + 0]->minor); } #line 2443 "smarty_internal_templateparser.php" #line 575 "smarty_internal_templateparser.y" function yy_r182(){ $this->_retvalue = new _smarty_dq_content($this, $this->yystack[$this->yyidx + 0]->minor); } #line 2446 "smarty_internal_templateparser.php" private $_retvalue; function yy_reduce($yyruleno) { $yymsp = $this->yystack[$this->yyidx]; if (self::$yyTraceFILE && $yyruleno >= 0 && $yyruleno < count(self::$yyRuleName)) { fprintf(self::$yyTraceFILE, "%sReduce (%d) [%s].\n", self::$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 (!self::$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(); } } function yy_parse_failed() { if (self::$yyTraceFILE) { fprintf(self::$yyTraceFILE, "%sFail!\n", self::$yyTracePrompt); } while ($this->yyidx >= 0) { $this->yy_pop_parser_stack(); } } function yy_syntax_error($yymajor, $TOKEN) { #line 73 "smarty_internal_templateparser.y" $this->internalError = true; $this->yymajor = $yymajor; $this->compiler->trigger_template_error(); #line 2509 "smarty_internal_templateparser.php" } function yy_accept() { if (self::$yyTraceFILE) { fprintf(self::$yyTraceFILE, "%sAccept!\n", self::$yyTracePrompt); } while ($this->yyidx >= 0) { $stack = $this->yy_pop_parser_stack(); } #line 65 "smarty_internal_templateparser.y" $this->successful = !$this->internalError; $this->internalError = false; $this->retvalue = $this->_retvalue; //echo $this->retvalue."\n\n"; #line 2527 "smarty_internal_templateparser.php" } 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 (self::$yyTraceFILE) { fprintf(self::$yyTraceFILE, "%sInput %s\n", self::$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 (self::$yyTraceFILE) { fprintf(self::$yyTraceFILE, "%sSyntax Error!\n", self::$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 (self::$yyTraceFILE) { fprintf(self::$yyTraceFILE, "%sDiscard input token %s\n", self::$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); } } ?>