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_BOOLEAN = 52; const TP_NULL = 53; const TP_SINGLEQUOTESTRING = 54; const TP_DOUBLECOLON = 55; const TP_AT = 56; const TP_HATCH = 57; const TP_OPENB = 58; const TP_CLOSEB = 59; const TP_EQUALS = 60; const TP_NOTEQUALS = 61; const TP_GREATERTHAN = 62; const TP_LESSTHAN = 63; const TP_GREATEREQUAL = 64; const TP_LESSEQUAL = 65; const TP_IDENTITY = 66; const TP_NONEIDENTITY = 67; const TP_MOD = 68; const TP_LAND = 69; const TP_LOR = 70; const TP_LXOR = 71; const TP_QUOTE = 72; const TP_BACKTICK = 73; const TP_DOLLARID = 74; const YY_NO_ACTION = 557; const YY_ACCEPT_ACTION = 556; const YY_ERROR_ACTION = 555; const YY_SZ_ACTTAB = 1924; static public $yy_action = array( /* 0 */ 327, 147, 198, 315, 312, 316, 277, 197, 160, 305, /* 10 */ 314, 59, 257, 262, 328, 266, 3, 259, 46, 43, /* 20 */ 42, 40, 19, 25, 347, 343, 28, 17, 344, 345, /* 30 */ 29, 18, 126, 256, 303, 300, 299, 295, 296, 297, /* 40 */ 160, 22, 45, 2, 291, 36, 48, 346, 353, 354, /* 50 */ 361, 362, 363, 360, 359, 355, 356, 357, 358, 126, /* 60 */ 34, 324, 556, 55, 235, 302, 304, 7, 197, 95, /* 70 */ 265, 301, 302, 304, 157, 329, 255, 15, 247, 46, /* 80 */ 43, 42, 40, 19, 25, 347, 343, 28, 17, 344, /* 90 */ 345, 29, 18, 424, 4, 203, 54, 5, 287, 149, /* 100 */ 424, 290, 178, 9, 212, 278, 108, 109, 346, 353, /* 110 */ 354, 361, 362, 363, 360, 359, 355, 356, 357, 358, /* 120 */ 272, 288, 144, 285, 22, 332, 5, 291, 54, 197, /* 130 */ 159, 329, 341, 217, 37, 108, 293, 24, 26, 200, /* 140 */ 46, 43, 42, 40, 19, 25, 347, 343, 28, 17, /* 150 */ 344, 345, 29, 18, 22, 244, 283, 291, 33, 22, /* 160 */ 333, 183, 291, 177, 23, 243, 111, 155, 13, 346, /* 170 */ 353, 354, 361, 362, 363, 360, 359, 355, 356, 357, /* 180 */ 358, 46, 43, 42, 40, 19, 25, 347, 343, 28, /* 190 */ 17, 344, 345, 29, 18, 46, 43, 42, 40, 19, /* 200 */ 25, 347, 343, 28, 17, 344, 345, 29, 18, 60, /* 210 */ 346, 353, 354, 361, 362, 363, 360, 359, 355, 356, /* 220 */ 357, 358, 334, 267, 346, 353, 354, 361, 362, 363, /* 230 */ 360, 359, 355, 356, 357, 358, 181, 198, 16, 109, /* 240 */ 46, 43, 42, 40, 19, 25, 347, 343, 28, 17, /* 250 */ 344, 345, 29, 18, 32, 285, 22, 5, 54, 291, /* 260 */ 36, 242, 313, 27, 306, 21, 108, 104, 236, 346, /* 270 */ 353, 354, 361, 362, 363, 360, 359, 355, 356, 357, /* 280 */ 358, 48, 251, 46, 43, 42, 40, 19, 25, 347, /* 290 */ 343, 28, 17, 344, 345, 29, 18, 140, 22, 331, /* 300 */ 222, 291, 175, 111, 199, 240, 239, 282, 198, 172, /* 310 */ 329, 293, 346, 353, 354, 361, 362, 363, 360, 359, /* 320 */ 355, 356, 357, 358, 46, 43, 42, 40, 19, 25, /* 330 */ 347, 343, 28, 17, 344, 345, 29, 18, 5, 124, /* 340 */ 164, 22, 22, 213, 291, 291, 60, 108, 170, 258, /* 350 */ 180, 318, 284, 346, 353, 354, 361, 362, 363, 360, /* 360 */ 359, 355, 356, 357, 358, 63, 245, 46, 43, 42, /* 370 */ 40, 19, 25, 347, 343, 28, 17, 344, 345, 29, /* 380 */ 18, 141, 423, 351, 22, 222, 223, 291, 173, 197, /* 390 */ 197, 205, 278, 278, 109, 293, 346, 353, 354, 361, /* 400 */ 362, 363, 360, 359, 355, 356, 357, 358, 152, 277, /* 410 */ 285, 148, 65, 307, 340, 136, 229, 189, 14, 163, /* 420 */ 197, 197, 293, 24, 26, 293, 24, 26, 46, 43, /* 430 */ 42, 40, 19, 25, 347, 343, 28, 17, 344, 345, /* 440 */ 29, 18, 321, 338, 256, 5, 54, 287, 270, 197, /* 450 */ 197, 169, 10, 212, 108, 197, 109, 346, 353, 354, /* 460 */ 361, 362, 363, 360, 359, 355, 356, 357, 358, 272, /* 470 */ 288, 129, 285, 22, 335, 183, 291, 62, 197, 323, /* 480 */ 319, 250, 13, 217, 284, 143, 197, 197, 207, 46, /* 490 */ 43, 42, 40, 19, 25, 347, 343, 28, 17, 344, /* 500 */ 345, 29, 18, 97, 254, 280, 310, 350, 352, 269, /* 510 */ 198, 197, 238, 197, 197, 197, 284, 289, 346, 353, /* 520 */ 354, 361, 362, 363, 360, 359, 355, 356, 357, 358, /* 530 */ 46, 43, 42, 40, 19, 25, 347, 343, 28, 17, /* 540 */ 344, 345, 29, 18, 139, 294, 208, 7, 336, 176, /* 550 */ 330, 203, 197, 182, 48, 197, 281, 197, 293, 346, /* 560 */ 353, 354, 361, 362, 363, 360, 359, 355, 356, 357, /* 570 */ 358, 46, 43, 42, 40, 19, 25, 347, 343, 28, /* 580 */ 17, 344, 345, 29, 18, 156, 320, 339, 24, 26, /* 590 */ 179, 166, 329, 197, 197, 10, 204, 221, 38, 293, /* 600 */ 346, 353, 354, 361, 362, 363, 360, 359, 355, 356, /* 610 */ 357, 358, 46, 43, 42, 40, 19, 25, 347, 343, /* 620 */ 28, 17, 344, 345, 29, 18, 133, 273, 220, 22, /* 630 */ 22, 180, 206, 196, 116, 260, 34, 261, 228, 364, /* 640 */ 293, 346, 353, 354, 361, 362, 363, 360, 359, 355, /* 650 */ 356, 357, 358, 46, 43, 42, 40, 19, 25, 347, /* 660 */ 343, 28, 17, 344, 345, 29, 18, 150, 113, 248, /* 670 */ 11, 115, 246, 30, 214, 119, 322, 168, 317, 114, /* 680 */ 276, 293, 346, 353, 354, 361, 362, 363, 360, 359, /* 690 */ 355, 356, 357, 358, 46, 43, 42, 40, 19, 25, /* 700 */ 347, 343, 28, 17, 344, 345, 29, 18, 146, 209, /* 710 */ 249, 253, 349, 279, 274, 230, 268, 122, 202, 278, /* 720 */ 103, 290, 293, 346, 353, 354, 361, 362, 363, 360, /* 730 */ 359, 355, 356, 357, 358, 12, 46, 43, 42, 40, /* 740 */ 19, 25, 347, 343, 28, 17, 344, 345, 29, 18, /* 750 */ 137, 286, 64, 282, 112, 107, 308, 153, 197, 96, /* 760 */ 298, 233, 39, 8, 293, 346, 353, 354, 361, 362, /* 770 */ 363, 360, 359, 355, 356, 357, 358, 46, 43, 42, /* 780 */ 40, 19, 25, 347, 343, 28, 17, 344, 345, 29, /* 790 */ 18, 135, 234, 290, 263, 35, 61, 309, 309, 309, /* 800 */ 309, 309, 309, 309, 225, 293, 346, 353, 354, 361, /* 810 */ 362, 363, 360, 359, 355, 356, 357, 358, 219, 2, /* 820 */ 138, 105, 57, 134, 121, 198, 231, 151, 218, 2, /* 830 */ 214, 106, 184, 154, 293, 126, 224, 293, 309, 47, /* 840 */ 45, 293, 24, 26, 6, 126, 224, 293, 277, 47, /* 850 */ 210, 277, 309, 31, 309, 309, 44, 41, 197, 275, /* 860 */ 271, 292, 309, 20, 60, 1, 44, 41, 309, 275, /* 870 */ 271, 292, 309, 198, 60, 1, 264, 309, 2, 56, /* 880 */ 106, 191, 198, 309, 125, 311, 309, 198, 2, 56, /* 890 */ 111, 187, 197, 309, 126, 224, 309, 284, 47, 426, /* 900 */ 128, 197, 309, 309, 126, 195, 426, 309, 47, 309, /* 910 */ 309, 309, 20, 284, 102, 44, 41, 48, 275, 271, /* 920 */ 292, 309, 20, 60, 1, 44, 41, 284, 275, 271, /* 930 */ 292, 48, 309, 60, 1, 309, 309, 2, 56, 111, /* 940 */ 194, 309, 98, 127, 309, 130, 309, 2, 56, 106, /* 950 */ 186, 309, 309, 126, 224, 284, 284, 47, 284, 309, /* 960 */ 309, 309, 309, 126, 224, 309, 309, 47, 309, 309, /* 970 */ 309, 20, 309, 309, 44, 41, 309, 275, 271, 292, /* 980 */ 309, 20, 60, 1, 44, 41, 309, 275, 271, 292, /* 990 */ 309, 309, 60, 1, 309, 309, 2, 56, 106, 191, /* 1000 */ 309, 309, 309, 309, 309, 309, 2, 56, 110, 191, /* 1010 */ 309, 309, 126, 224, 309, 309, 47, 309, 309, 309, /* 1020 */ 309, 309, 126, 224, 309, 309, 47, 309, 309, 309, /* 1030 */ 31, 309, 309, 44, 41, 309, 275, 271, 292, 309, /* 1040 */ 20, 60, 1, 44, 41, 309, 275, 271, 292, 309, /* 1050 */ 309, 60, 1, 309, 309, 2, 56, 106, 185, 309, /* 1060 */ 309, 309, 309, 309, 309, 2, 56, 111, 194, 309, /* 1070 */ 309, 126, 224, 309, 257, 47, 309, 309, 3, 309, /* 1080 */ 309, 126, 224, 309, 309, 47, 309, 309, 309, 31, /* 1090 */ 309, 309, 44, 41, 126, 275, 271, 292, 309, 20, /* 1100 */ 60, 1, 44, 41, 309, 275, 271, 292, 309, 309, /* 1110 */ 60, 309, 309, 309, 2, 56, 111, 190, 309, 309, /* 1120 */ 287, 309, 309, 309, 58, 56, 100, 53, 117, 99, /* 1130 */ 126, 224, 309, 309, 47, 309, 309, 342, 252, 15, /* 1140 */ 247, 309, 272, 288, 2, 285, 111, 188, 20, 309, /* 1150 */ 198, 44, 41, 309, 275, 271, 292, 309, 309, 60, /* 1160 */ 126, 224, 309, 309, 47, 309, 309, 227, 309, 197, /* 1170 */ 309, 309, 309, 309, 56, 309, 309, 309, 20, 309, /* 1180 */ 309, 44, 41, 198, 275, 271, 292, 309, 309, 60, /* 1190 */ 287, 309, 309, 309, 132, 337, 212, 94, 309, 109, /* 1200 */ 211, 309, 197, 309, 56, 309, 309, 342, 309, 309, /* 1210 */ 287, 309, 272, 288, 132, 285, 212, 94, 309, 109, /* 1220 */ 309, 309, 309, 309, 193, 326, 309, 342, 5, 309, /* 1230 */ 309, 309, 272, 288, 287, 285, 309, 108, 145, 309, /* 1240 */ 212, 67, 309, 109, 309, 325, 309, 309, 309, 309, /* 1250 */ 309, 342, 309, 309, 287, 309, 272, 288, 123, 285, /* 1260 */ 212, 89, 241, 109, 287, 309, 201, 309, 174, 309, /* 1270 */ 212, 342, 309, 109, 287, 309, 272, 288, 131, 285, /* 1280 */ 212, 50, 118, 109, 287, 309, 272, 288, 171, 285, /* 1290 */ 212, 342, 309, 109, 287, 309, 272, 288, 145, 285, /* 1300 */ 212, 52, 120, 109, 287, 309, 272, 288, 161, 285, /* 1310 */ 212, 342, 309, 109, 287, 309, 272, 288, 145, 285, /* 1320 */ 212, 67, 309, 109, 309, 309, 272, 288, 309, 285, /* 1330 */ 309, 342, 309, 309, 287, 309, 272, 288, 58, 285, /* 1340 */ 101, 51, 117, 99, 309, 309, 216, 309, 309, 309, /* 1350 */ 309, 342, 309, 309, 287, 309, 272, 288, 145, 285, /* 1360 */ 212, 71, 309, 109, 287, 309, 232, 309, 158, 309, /* 1370 */ 212, 342, 309, 109, 287, 309, 272, 288, 145, 285, /* 1380 */ 212, 67, 309, 109, 309, 309, 272, 288, 309, 285, /* 1390 */ 309, 342, 309, 309, 287, 309, 272, 288, 145, 285, /* 1400 */ 212, 67, 309, 109, 309, 309, 237, 309, 309, 309, /* 1410 */ 309, 342, 309, 309, 287, 309, 272, 288, 145, 285, /* 1420 */ 212, 90, 309, 109, 309, 309, 226, 309, 309, 309, /* 1430 */ 309, 342, 309, 309, 287, 309, 272, 288, 145, 285, /* 1440 */ 212, 91, 309, 109, 309, 309, 287, 309, 309, 309, /* 1450 */ 145, 342, 212, 72, 309, 109, 272, 288, 287, 285, /* 1460 */ 309, 309, 145, 342, 212, 68, 309, 109, 272, 288, /* 1470 */ 309, 285, 309, 309, 309, 342, 309, 309, 287, 309, /* 1480 */ 272, 288, 145, 285, 212, 81, 309, 109, 309, 309, /* 1490 */ 309, 309, 309, 309, 309, 342, 309, 309, 287, 309, /* 1500 */ 272, 288, 145, 285, 212, 84, 309, 109, 309, 309, /* 1510 */ 309, 309, 309, 309, 309, 342, 309, 309, 287, 309, /* 1520 */ 272, 288, 145, 285, 212, 79, 309, 109, 309, 309, /* 1530 */ 287, 309, 309, 309, 145, 342, 212, 83, 309, 109, /* 1540 */ 272, 288, 287, 285, 309, 309, 145, 342, 212, 70, /* 1550 */ 309, 109, 272, 288, 309, 285, 309, 309, 309, 342, /* 1560 */ 309, 309, 287, 309, 272, 288, 145, 285, 212, 78, /* 1570 */ 309, 109, 309, 309, 309, 309, 309, 309, 309, 342, /* 1580 */ 309, 309, 287, 309, 272, 288, 145, 285, 192, 74, /* 1590 */ 309, 109, 309, 309, 309, 309, 309, 309, 309, 342, /* 1600 */ 309, 309, 287, 309, 272, 288, 145, 285, 212, 69, /* 1610 */ 309, 109, 309, 309, 287, 309, 309, 309, 145, 342, /* 1620 */ 212, 73, 309, 109, 272, 288, 287, 285, 309, 309, /* 1630 */ 145, 342, 212, 86, 309, 109, 272, 288, 309, 285, /* 1640 */ 309, 309, 309, 342, 309, 309, 287, 309, 272, 288, /* 1650 */ 145, 285, 212, 80, 309, 109, 309, 309, 309, 309, /* 1660 */ 309, 309, 309, 342, 309, 309, 287, 309, 272, 288, /* 1670 */ 145, 285, 212, 82, 309, 109, 309, 309, 309, 309, /* 1680 */ 309, 309, 309, 342, 309, 309, 287, 309, 272, 288, /* 1690 */ 145, 285, 212, 93, 309, 109, 309, 309, 287, 309, /* 1700 */ 309, 309, 145, 342, 212, 85, 309, 109, 272, 288, /* 1710 */ 287, 285, 309, 309, 145, 342, 212, 49, 309, 109, /* 1720 */ 272, 288, 309, 285, 309, 309, 309, 342, 309, 309, /* 1730 */ 287, 309, 272, 288, 145, 285, 212, 88, 309, 109, /* 1740 */ 309, 309, 309, 309, 309, 309, 309, 342, 309, 309, /* 1750 */ 287, 309, 272, 288, 145, 285, 212, 75, 309, 109, /* 1760 */ 309, 309, 309, 309, 309, 309, 309, 342, 309, 309, /* 1770 */ 287, 309, 272, 288, 145, 285, 212, 66, 309, 109, /* 1780 */ 309, 309, 287, 309, 309, 309, 145, 342, 212, 77, /* 1790 */ 309, 109, 272, 288, 287, 285, 309, 309, 145, 342, /* 1800 */ 212, 87, 309, 109, 272, 288, 309, 285, 309, 309, /* 1810 */ 309, 342, 309, 309, 287, 309, 272, 288, 145, 285, /* 1820 */ 212, 76, 309, 109, 309, 309, 309, 309, 309, 309, /* 1830 */ 309, 342, 309, 309, 287, 309, 272, 288, 145, 285, /* 1840 */ 212, 92, 309, 109, 309, 309, 309, 309, 309, 309, /* 1850 */ 309, 342, 309, 309, 287, 309, 272, 288, 162, 285, /* 1860 */ 212, 309, 309, 109, 309, 309, 287, 309, 309, 309, /* 1870 */ 142, 348, 212, 309, 309, 109, 272, 288, 287, 285, /* 1880 */ 309, 309, 165, 215, 212, 309, 309, 109, 272, 288, /* 1890 */ 309, 285, 309, 309, 309, 309, 309, 309, 287, 309, /* 1900 */ 272, 288, 167, 285, 212, 309, 309, 109, 309, 309, /* 1910 */ 309, 309, 309, 309, 309, 309, 309, 309, 309, 309, /* 1920 */ 272, 288, 309, 285, ); static public $yy_lookahead = array( /* 0 */ 13, 105, 1, 4, 5, 6, 112, 20, 9, 10, /* 10 */ 11, 15, 8, 17, 13, 19, 12, 21, 31, 32, /* 20 */ 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, /* 30 */ 43, 44, 28, 79, 3, 4, 5, 6, 7, 8, /* 40 */ 9, 12, 2, 12, 15, 16, 45, 60, 61, 62, /* 50 */ 63, 64, 65, 66, 67, 68, 69, 70, 71, 28, /* 60 */ 16, 13, 76, 77, 78, 79, 80, 16, 20, 115, /* 70 */ 116, 78, 79, 80, 108, 109, 72, 73, 74, 31, /* 80 */ 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, /* 90 */ 42, 43, 44, 13, 16, 51, 18, 46, 79, 105, /* 100 */ 20, 107, 83, 30, 85, 23, 55, 88, 60, 61, /* 110 */ 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, /* 120 */ 101, 102, 84, 104, 12, 13, 46, 15, 18, 20, /* 130 */ 108, 109, 59, 55, 25, 55, 98, 99, 100, 27, /* 140 */ 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, /* 150 */ 41, 42, 43, 44, 12, 73, 109, 15, 16, 12, /* 160 */ 13, 51, 15, 13, 12, 23, 14, 15, 58, 60, /* 170 */ 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, /* 180 */ 71, 31, 32, 33, 34, 35, 36, 37, 38, 39, /* 190 */ 40, 41, 42, 43, 44, 31, 32, 33, 34, 35, /* 200 */ 36, 37, 38, 39, 40, 41, 42, 43, 44, 57, /* 210 */ 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, /* 220 */ 70, 71, 13, 59, 60, 61, 62, 63, 64, 65, /* 230 */ 66, 67, 68, 69, 70, 71, 85, 1, 27, 88, /* 240 */ 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, /* 250 */ 41, 42, 43, 44, 2, 104, 12, 46, 18, 15, /* 260 */ 16, 110, 80, 27, 82, 12, 55, 14, 15, 60, /* 270 */ 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, /* 280 */ 71, 45, 29, 31, 32, 33, 34, 35, 36, 37, /* 290 */ 38, 39, 40, 41, 42, 43, 44, 84, 12, 13, /* 300 */ 56, 15, 89, 14, 15, 52, 53, 106, 1, 108, /* 310 */ 109, 98, 60, 61, 62, 63, 64, 65, 66, 67, /* 320 */ 68, 69, 70, 71, 31, 32, 33, 34, 35, 36, /* 330 */ 37, 38, 39, 40, 41, 42, 43, 44, 46, 94, /* 340 */ 22, 12, 12, 51, 15, 15, 57, 55, 30, 13, /* 350 */ 89, 59, 107, 60, 61, 62, 63, 64, 65, 66, /* 360 */ 67, 68, 69, 70, 71, 90, 73, 31, 32, 33, /* 370 */ 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, /* 380 */ 44, 84, 13, 13, 12, 56, 56, 15, 90, 20, /* 390 */ 20, 85, 23, 23, 88, 98, 60, 61, 62, 63, /* 400 */ 64, 65, 66, 67, 68, 69, 70, 71, 84, 112, /* 410 */ 104, 84, 90, 13, 13, 105, 91, 92, 12, 22, /* 420 */ 20, 20, 98, 99, 100, 98, 99, 100, 31, 32, /* 430 */ 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, /* 440 */ 43, 44, 13, 13, 79, 46, 18, 79, 13, 20, /* 450 */ 20, 83, 46, 85, 55, 20, 88, 60, 61, 62, /* 460 */ 63, 64, 65, 66, 67, 68, 69, 70, 71, 101, /* 470 */ 102, 94, 104, 12, 13, 51, 15, 90, 20, 13, /* 480 */ 13, 116, 58, 55, 107, 105, 20, 20, 27, 31, /* 490 */ 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, /* 500 */ 42, 43, 44, 94, 13, 15, 13, 13, 13, 13, /* 510 */ 1, 20, 13, 20, 20, 20, 107, 15, 60, 61, /* 520 */ 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, /* 530 */ 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, /* 540 */ 41, 42, 43, 44, 84, 13, 56, 16, 13, 89, /* 550 */ 13, 51, 20, 13, 45, 20, 15, 20, 98, 60, /* 560 */ 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, /* 570 */ 71, 31, 32, 33, 34, 35, 36, 37, 38, 39, /* 580 */ 40, 41, 42, 43, 44, 84, 13, 13, 99, 100, /* 590 */ 89, 108, 109, 20, 20, 46, 14, 15, 48, 98, /* 600 */ 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, /* 610 */ 70, 71, 31, 32, 33, 34, 35, 36, 37, 38, /* 620 */ 39, 40, 41, 42, 43, 44, 84, 103, 47, 12, /* 630 */ 12, 89, 15, 15, 110, 13, 16, 47, 15, 13, /* 640 */ 98, 60, 61, 62, 63, 64, 65, 66, 67, 68, /* 650 */ 69, 70, 71, 31, 32, 33, 34, 35, 36, 37, /* 660 */ 38, 39, 40, 41, 42, 43, 44, 84, 14, 13, /* 670 */ 20, 14, 13, 24, 2, 20, 15, 15, 57, 14, /* 680 */ 29, 98, 60, 61, 62, 63, 64, 65, 66, 67, /* 690 */ 68, 69, 70, 71, 31, 32, 33, 34, 35, 36, /* 700 */ 37, 38, 39, 40, 41, 42, 43, 44, 84, 95, /* 710 */ 47, 47, 59, 15, 15, 26, 91, 47, 15, 23, /* 720 */ 14, 107, 98, 60, 61, 62, 63, 64, 65, 66, /* 730 */ 67, 68, 69, 70, 71, 30, 31, 32, 33, 34, /* 740 */ 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, /* 750 */ 84, 57, 15, 106, 14, 14, 98, 105, 20, 81, /* 760 */ 10, 93, 20, 46, 98, 60, 61, 62, 63, 64, /* 770 */ 65, 66, 67, 68, 69, 70, 71, 31, 32, 33, /* 780 */ 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, /* 790 */ 44, 84, 97, 107, 20, 93, 105, 117, 117, 117, /* 800 */ 117, 117, 117, 117, 15, 98, 60, 61, 62, 63, /* 810 */ 64, 65, 66, 67, 68, 69, 70, 71, 29, 12, /* 820 */ 84, 14, 15, 84, 17, 1, 19, 84, 21, 12, /* 830 */ 2, 14, 15, 84, 98, 28, 29, 98, 117, 32, /* 840 */ 2, 98, 99, 100, 16, 28, 29, 98, 112, 32, /* 850 */ 26, 112, 117, 46, 117, 117, 49, 50, 20, 52, /* 860 */ 53, 54, 117, 46, 57, 58, 49, 50, 117, 52, /* 870 */ 53, 54, 117, 1, 57, 58, 59, 117, 12, 72, /* 880 */ 14, 15, 1, 117, 94, 13, 117, 1, 12, 72, /* 890 */ 14, 15, 20, 117, 28, 29, 117, 107, 32, 13, /* 900 */ 94, 20, 117, 117, 28, 29, 20, 117, 32, 117, /* 910 */ 117, 117, 46, 107, 94, 49, 50, 45, 52, 53, /* 920 */ 54, 117, 46, 57, 58, 49, 50, 107, 52, 53, /* 930 */ 54, 45, 117, 57, 58, 117, 117, 12, 72, 14, /* 940 */ 15, 117, 94, 94, 117, 94, 117, 12, 72, 14, /* 950 */ 15, 117, 117, 28, 29, 107, 107, 32, 107, 117, /* 960 */ 117, 117, 117, 28, 29, 117, 117, 32, 117, 117, /* 970 */ 117, 46, 117, 117, 49, 50, 117, 52, 53, 54, /* 980 */ 117, 46, 57, 58, 49, 50, 117, 52, 53, 54, /* 990 */ 117, 117, 57, 58, 117, 117, 12, 72, 14, 15, /* 1000 */ 117, 117, 117, 117, 117, 117, 12, 72, 14, 15, /* 1010 */ 117, 117, 28, 29, 117, 117, 32, 117, 117, 117, /* 1020 */ 117, 117, 28, 29, 117, 117, 32, 117, 117, 117, /* 1030 */ 46, 117, 117, 49, 50, 117, 52, 53, 54, 117, /* 1040 */ 46, 57, 58, 49, 50, 117, 52, 53, 54, 117, /* 1050 */ 117, 57, 58, 117, 117, 12, 72, 14, 15, 117, /* 1060 */ 117, 117, 117, 117, 117, 12, 72, 14, 15, 117, /* 1070 */ 117, 28, 29, 117, 8, 32, 117, 117, 12, 117, /* 1080 */ 117, 28, 29, 117, 117, 32, 117, 117, 117, 46, /* 1090 */ 117, 117, 49, 50, 28, 52, 53, 54, 117, 46, /* 1100 */ 57, 58, 49, 50, 117, 52, 53, 54, 117, 117, /* 1110 */ 57, 117, 117, 117, 12, 72, 14, 15, 117, 117, /* 1120 */ 79, 117, 117, 117, 83, 72, 85, 86, 87, 88, /* 1130 */ 28, 29, 117, 117, 32, 117, 117, 96, 72, 73, /* 1140 */ 74, 117, 101, 102, 12, 104, 14, 15, 46, 117, /* 1150 */ 1, 49, 50, 117, 52, 53, 54, 117, 117, 57, /* 1160 */ 28, 29, 13, 117, 32, 117, 117, 18, 117, 20, /* 1170 */ 117, 117, 117, 117, 72, 117, 117, 117, 46, 117, /* 1180 */ 117, 49, 50, 1, 52, 53, 54, 117, 117, 57, /* 1190 */ 79, 117, 117, 117, 83, 13, 85, 86, 117, 88, /* 1200 */ 18, 117, 20, 117, 72, 117, 117, 96, 117, 117, /* 1210 */ 79, 117, 101, 102, 83, 104, 85, 86, 117, 88, /* 1220 */ 117, 117, 117, 117, 113, 114, 117, 96, 46, 117, /* 1230 */ 117, 117, 101, 102, 79, 104, 117, 55, 83, 117, /* 1240 */ 85, 86, 117, 88, 117, 114, 117, 117, 117, 117, /* 1250 */ 117, 96, 117, 117, 79, 117, 101, 102, 83, 104, /* 1260 */ 85, 86, 87, 88, 79, 117, 111, 117, 83, 117, /* 1270 */ 85, 96, 117, 88, 79, 117, 101, 102, 83, 104, /* 1280 */ 85, 86, 87, 88, 79, 117, 101, 102, 83, 104, /* 1290 */ 85, 96, 117, 88, 79, 117, 101, 102, 83, 104, /* 1300 */ 85, 86, 87, 88, 79, 117, 101, 102, 83, 104, /* 1310 */ 85, 96, 117, 88, 79, 117, 101, 102, 83, 104, /* 1320 */ 85, 86, 117, 88, 117, 117, 101, 102, 117, 104, /* 1330 */ 117, 96, 117, 117, 79, 117, 101, 102, 83, 104, /* 1340 */ 85, 86, 87, 88, 117, 117, 111, 117, 117, 117, /* 1350 */ 117, 96, 117, 117, 79, 117, 101, 102, 83, 104, /* 1360 */ 85, 86, 117, 88, 79, 117, 91, 117, 83, 117, /* 1370 */ 85, 96, 117, 88, 79, 117, 101, 102, 83, 104, /* 1380 */ 85, 86, 117, 88, 117, 117, 101, 102, 117, 104, /* 1390 */ 117, 96, 117, 117, 79, 117, 101, 102, 83, 104, /* 1400 */ 85, 86, 117, 88, 117, 117, 111, 117, 117, 117, /* 1410 */ 117, 96, 117, 117, 79, 117, 101, 102, 83, 104, /* 1420 */ 85, 86, 117, 88, 117, 117, 111, 117, 117, 117, /* 1430 */ 117, 96, 117, 117, 79, 117, 101, 102, 83, 104, /* 1440 */ 85, 86, 117, 88, 117, 117, 79, 117, 117, 117, /* 1450 */ 83, 96, 85, 86, 117, 88, 101, 102, 79, 104, /* 1460 */ 117, 117, 83, 96, 85, 86, 117, 88, 101, 102, /* 1470 */ 117, 104, 117, 117, 117, 96, 117, 117, 79, 117, /* 1480 */ 101, 102, 83, 104, 85, 86, 117, 88, 117, 117, /* 1490 */ 117, 117, 117, 117, 117, 96, 117, 117, 79, 117, /* 1500 */ 101, 102, 83, 104, 85, 86, 117, 88, 117, 117, /* 1510 */ 117, 117, 117, 117, 117, 96, 117, 117, 79, 117, /* 1520 */ 101, 102, 83, 104, 85, 86, 117, 88, 117, 117, /* 1530 */ 79, 117, 117, 117, 83, 96, 85, 86, 117, 88, /* 1540 */ 101, 102, 79, 104, 117, 117, 83, 96, 85, 86, /* 1550 */ 117, 88, 101, 102, 117, 104, 117, 117, 117, 96, /* 1560 */ 117, 117, 79, 117, 101, 102, 83, 104, 85, 86, /* 1570 */ 117, 88, 117, 117, 117, 117, 117, 117, 117, 96, /* 1580 */ 117, 117, 79, 117, 101, 102, 83, 104, 85, 86, /* 1590 */ 117, 88, 117, 117, 117, 117, 117, 117, 117, 96, /* 1600 */ 117, 117, 79, 117, 101, 102, 83, 104, 85, 86, /* 1610 */ 117, 88, 117, 117, 79, 117, 117, 117, 83, 96, /* 1620 */ 85, 86, 117, 88, 101, 102, 79, 104, 117, 117, /* 1630 */ 83, 96, 85, 86, 117, 88, 101, 102, 117, 104, /* 1640 */ 117, 117, 117, 96, 117, 117, 79, 117, 101, 102, /* 1650 */ 83, 104, 85, 86, 117, 88, 117, 117, 117, 117, /* 1660 */ 117, 117, 117, 96, 117, 117, 79, 117, 101, 102, /* 1670 */ 83, 104, 85, 86, 117, 88, 117, 117, 117, 117, /* 1680 */ 117, 117, 117, 96, 117, 117, 79, 117, 101, 102, /* 1690 */ 83, 104, 85, 86, 117, 88, 117, 117, 79, 117, /* 1700 */ 117, 117, 83, 96, 85, 86, 117, 88, 101, 102, /* 1710 */ 79, 104, 117, 117, 83, 96, 85, 86, 117, 88, /* 1720 */ 101, 102, 117, 104, 117, 117, 117, 96, 117, 117, /* 1730 */ 79, 117, 101, 102, 83, 104, 85, 86, 117, 88, /* 1740 */ 117, 117, 117, 117, 117, 117, 117, 96, 117, 117, /* 1750 */ 79, 117, 101, 102, 83, 104, 85, 86, 117, 88, /* 1760 */ 117, 117, 117, 117, 117, 117, 117, 96, 117, 117, /* 1770 */ 79, 117, 101, 102, 83, 104, 85, 86, 117, 88, /* 1780 */ 117, 117, 79, 117, 117, 117, 83, 96, 85, 86, /* 1790 */ 117, 88, 101, 102, 79, 104, 117, 117, 83, 96, /* 1800 */ 85, 86, 117, 88, 101, 102, 117, 104, 117, 117, /* 1810 */ 117, 96, 117, 117, 79, 117, 101, 102, 83, 104, /* 1820 */ 85, 86, 117, 88, 117, 117, 117, 117, 117, 117, /* 1830 */ 117, 96, 117, 117, 79, 117, 101, 102, 83, 104, /* 1840 */ 85, 86, 117, 88, 117, 117, 117, 117, 117, 117, /* 1850 */ 117, 96, 117, 117, 79, 117, 101, 102, 83, 104, /* 1860 */ 85, 117, 117, 88, 117, 117, 79, 117, 117, 117, /* 1870 */ 83, 96, 85, 117, 117, 88, 101, 102, 79, 104, /* 1880 */ 117, 117, 83, 96, 85, 117, 117, 88, 101, 102, /* 1890 */ 117, 104, 117, 117, 117, 117, 117, 117, 79, 117, /* 1900 */ 101, 102, 83, 104, 85, 117, 117, 88, 117, 117, /* 1910 */ 117, 117, 117, 117, 117, 117, 117, 117, 117, 117, /* 1920 */ 101, 102, 117, 104, ); const YY_SHIFT_USE_DFLT = -14; const YY_SHIFT_MAX = 234; static public $yy_shift_ofst = array( /* 0 */ 31, 935, 807, 807, 984, 866, 984, 1043, 866, 935, /* 10 */ 866, 994, 866, 817, 866, 866, 866, 866, 866, 866, /* 20 */ 866, 866, 866, 866, 866, 866, 866, 866, 866, 866, /* 30 */ 866, 866, 866, 866, 866, 866, 866, 866, 866, 876, /* 40 */ 925, 1053, 1053, 1053, 1053, 1132, 1053, 1053, 1102, 109, /* 50 */ 48, -13, 458, 458, 152, 31, 1066, 1182, 872, 1149, /* 60 */ 289, 110, 838, 838, 881, 838, 252, 705, 499, 540, /* 70 */ 336, 209, 150, 164, 293, 622, 581, 397, 663, 746, /* 80 */ 746, 746, 746, 746, 746, 746, 746, 746, 746, 746, /* 90 */ 746, 746, 746, 746, 746, 4, -1, 142, 244, 78, /* 100 */ 369, 370, 329, 372, 372, 618, 617, 372, 582, 428, /* 110 */ 617, 372, 372, 372, 372, 372, 240, 738, 738, 741, /* 120 */ 738, 742, 240, 886, 112, 461, -4, 330, 147, 286, /* 130 */ 29, 1, 236, 400, 401, 429, 424, 535, 532, 537, /* 140 */ 430, 574, 824, 424, 573, 509, 467, 424, 466, 424, /* 150 */ 435, 491, 495, 424, 494, 406, 493, 240, 307, 240, /* 160 */ 750, 307, 307, 774, 774, 307, 240, 307, 717, 307, /* 170 */ 741, 307, 240, 40, 307, -14, -14, -14, -14, -14, /* 180 */ -14, -14, -14, 253, 292, 80, 211, 51, 399, 318, /* 190 */ 399, 399, 82, 73, 399, 44, 828, 789, 490, 694, /* 200 */ 740, 664, 653, 651, 662, 621, 672, 665, 698, 496, /* 210 */ 706, 737, 696, 703, 699, 689, 670, 661, 655, 620, /* 220 */ 550, 549, 541, 502, 500, 531, 590, 623, 659, 649, /* 230 */ 657, 650, 626, 654, 656, ); const YY_REDUCE_USE_DFLT = -107; const YY_REDUCE_MAX = 182; static public $yy_reduce_ofst = array( /* 0 */ -14, 1111, 1041, 1255, 1215, 1315, 1195, 1175, 1235, 1131, /* 10 */ 1155, 1275, 1295, 1535, 1523, 1503, 1547, 1567, 1607, 1587, /* 20 */ 1483, 1463, 1379, 1367, 1355, 1399, 1419, 1451, 1439, 1619, /* 30 */ 1631, 1735, 1755, 1335, 1715, 1703, 1651, 1671, 1691, 1787, /* 40 */ 1775, 1799, 1819, 1285, 1225, 19, 368, 1185, 1205, 743, /* 50 */ 327, 324, 38, 324, 151, -7, -46, 460, 542, 501, /* 60 */ 306, 201, 739, 736, 213, 297, 489, 489, 489, 489, /* 70 */ 489, 489, 489, 489, 489, 489, 489, 489, 489, 489, /* 80 */ 489, 489, 489, 489, 489, 489, 489, 489, 489, 489, /* 90 */ 489, 489, 489, 489, 489, 365, 182, 614, -6, 483, /* 100 */ 749, 749, -6, 790, 849, 820, 820, 851, 524, 483, /* 110 */ 848, 820, 806, 409, 377, 245, 22, 583, 624, 325, /* 120 */ 707, 666, -34, 261, 686, 686, 695, 686, 686, 686, /* 130 */ 686, 261, 261, 658, 658, 658, 647, 658, 658, 658, /* 140 */ 658, 658, 261, 647, 658, 261, 658, 647, 658, 647, /* 150 */ 658, 658, 658, 647, 658, 652, 658, 47, 261, 47, /* 160 */ 678, 261, 261, 668, 702, 261, 47, 261, 691, 261, /* 170 */ 625, 261, 47, -106, 261, 322, 387, 310, 261, 275, /* 180 */ 298, 380, -104, ); 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, 53, 54, 57, 58, 72, ), /* 2 */ array(12, 14, 15, 17, 19, 21, 28, 29, 32, 46, 49, 50, 52, 53, 54, 57, 58, 72, ), /* 3 */ array(12, 14, 15, 17, 19, 21, 28, 29, 32, 46, 49, 50, 52, 53, 54, 57, 58, 72, ), /* 4 */ array(12, 14, 15, 28, 29, 32, 46, 49, 50, 52, 53, 54, 57, 58, 72, ), /* 5 */ array(12, 14, 15, 28, 29, 32, 46, 49, 50, 52, 53, 54, 57, 58, 72, ), /* 6 */ array(12, 14, 15, 28, 29, 32, 46, 49, 50, 52, 53, 54, 57, 58, 72, ), /* 7 */ array(12, 14, 15, 28, 29, 32, 46, 49, 50, 52, 53, 54, 57, 58, 72, ), /* 8 */ array(12, 14, 15, 28, 29, 32, 46, 49, 50, 52, 53, 54, 57, 58, 72, ), /* 9 */ array(12, 14, 15, 28, 29, 32, 46, 49, 50, 52, 53, 54, 57, 58, 72, ), /* 10 */ array(12, 14, 15, 28, 29, 32, 46, 49, 50, 52, 53, 54, 57, 58, 72, ), /* 11 */ array(12, 14, 15, 28, 29, 32, 46, 49, 50, 52, 53, 54, 57, 58, 72, ), /* 12 */ array(12, 14, 15, 28, 29, 32, 46, 49, 50, 52, 53, 54, 57, 58, 72, ), /* 13 */ array(12, 14, 15, 28, 29, 32, 46, 49, 50, 52, 53, 54, 57, 58, 59, 72, ), /* 14 */ array(12, 14, 15, 28, 29, 32, 46, 49, 50, 52, 53, 54, 57, 58, 72, ), /* 15 */ array(12, 14, 15, 28, 29, 32, 46, 49, 50, 52, 53, 54, 57, 58, 72, ), /* 16 */ array(12, 14, 15, 28, 29, 32, 46, 49, 50, 52, 53, 54, 57, 58, 72, ), /* 17 */ array(12, 14, 15, 28, 29, 32, 46, 49, 50, 52, 53, 54, 57, 58, 72, ), /* 18 */ array(12, 14, 15, 28, 29, 32, 46, 49, 50, 52, 53, 54, 57, 58, 72, ), /* 19 */ array(12, 14, 15, 28, 29, 32, 46, 49, 50, 52, 53, 54, 57, 58, 72, ), /* 20 */ array(12, 14, 15, 28, 29, 32, 46, 49, 50, 52, 53, 54, 57, 58, 72, ), /* 21 */ array(12, 14, 15, 28, 29, 32, 46, 49, 50, 52, 53, 54, 57, 58, 72, ), /* 22 */ array(12, 14, 15, 28, 29, 32, 46, 49, 50, 52, 53, 54, 57, 58, 72, ), /* 23 */ array(12, 14, 15, 28, 29, 32, 46, 49, 50, 52, 53, 54, 57, 58, 72, ), /* 24 */ array(12, 14, 15, 28, 29, 32, 46, 49, 50, 52, 53, 54, 57, 58, 72, ), /* 25 */ array(12, 14, 15, 28, 29, 32, 46, 49, 50, 52, 53, 54, 57, 58, 72, ), /* 26 */ array(12, 14, 15, 28, 29, 32, 46, 49, 50, 52, 53, 54, 57, 58, 72, ), /* 27 */ array(12, 14, 15, 28, 29, 32, 46, 49, 50, 52, 53, 54, 57, 58, 72, ), /* 28 */ array(12, 14, 15, 28, 29, 32, 46, 49, 50, 52, 53, 54, 57, 58, 72, ), /* 29 */ array(12, 14, 15, 28, 29, 32, 46, 49, 50, 52, 53, 54, 57, 58, 72, ), /* 30 */ array(12, 14, 15, 28, 29, 32, 46, 49, 50, 52, 53, 54, 57, 58, 72, ), /* 31 */ array(12, 14, 15, 28, 29, 32, 46, 49, 50, 52, 53, 54, 57, 58, 72, ), /* 32 */ array(12, 14, 15, 28, 29, 32, 46, 49, 50, 52, 53, 54, 57, 58, 72, ), /* 33 */ array(12, 14, 15, 28, 29, 32, 46, 49, 50, 52, 53, 54, 57, 58, 72, ), /* 34 */ array(12, 14, 15, 28, 29, 32, 46, 49, 50, 52, 53, 54, 57, 58, 72, ), /* 35 */ array(12, 14, 15, 28, 29, 32, 46, 49, 50, 52, 53, 54, 57, 58, 72, ), /* 36 */ array(12, 14, 15, 28, 29, 32, 46, 49, 50, 52, 53, 54, 57, 58, 72, ), /* 37 */ array(12, 14, 15, 28, 29, 32, 46, 49, 50, 52, 53, 54, 57, 58, 72, ), /* 38 */ array(12, 14, 15, 28, 29, 32, 46, 49, 50, 52, 53, 54, 57, 58, 72, ), /* 39 */ array(12, 14, 15, 28, 29, 32, 46, 49, 50, 52, 53, 54, 57, 58, 72, ), /* 40 */ array(12, 14, 15, 28, 29, 32, 46, 49, 50, 52, 53, 54, 57, 58, 72, ), /* 41 */ array(12, 14, 15, 28, 29, 32, 46, 49, 50, 52, 53, 54, 57, 72, ), /* 42 */ array(12, 14, 15, 28, 29, 32, 46, 49, 50, 52, 53, 54, 57, 72, ), /* 43 */ array(12, 14, 15, 28, 29, 32, 46, 49, 50, 52, 53, 54, 57, 72, ), /* 44 */ array(12, 14, 15, 28, 29, 32, 46, 49, 50, 52, 53, 54, 57, 72, ), /* 45 */ array(12, 14, 15, 28, 29, 32, 46, 49, 50, 52, 53, 54, 57, 72, ), /* 46 */ array(12, 14, 15, 28, 29, 32, 46, 49, 50, 52, 53, 54, 57, 72, ), /* 47 */ array(12, 14, 15, 28, 29, 32, 46, 49, 50, 52, 53, 54, 57, 72, ), /* 48 */ array(12, 14, 15, 28, 29, 32, 46, 49, 50, 52, 53, 54, 57, 72, ), /* 49 */ array(20, 25, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, ), /* 50 */ array(13, 20, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, ), /* 51 */ array(13, 20, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, ), /* 52 */ array(20, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, ), /* 53 */ array(20, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, ), /* 54 */ array(12, 14, 15, 57, ), /* 55 */ array(3, 4, 5, 6, 7, 8, 9, 12, 28, ), /* 56 */ array(8, 12, 28, 72, 73, 74, ), /* 57 */ array(1, 13, 18, 20, 46, 55, ), /* 58 */ array(1, 13, 20, 45, ), /* 59 */ array(1, 13, 18, 20, ), /* 60 */ array(14, 15, 57, ), /* 61 */ array(18, 51, 58, ), /* 62 */ array(2, 20, ), /* 63 */ array(2, 20, ), /* 64 */ array(1, 20, ), /* 65 */ array(2, 20, ), /* 66 */ array(2, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, ), /* 67 */ array(30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, ), /* 68 */ array(13, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, ), /* 69 */ array(13, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, ), /* 70 */ array(13, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, ), /* 71 */ array(13, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, ), /* 72 */ array(13, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, ), /* 73 */ array(31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, ), /* 74 */ array(31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 73, ), /* 75 */ array(13, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, ), /* 76 */ array(31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 47, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, ), /* 77 */ array(22, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, ), /* 78 */ array(31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 47, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, ), /* 79 */ array(31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, ), /* 80 */ array(31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, ), /* 81 */ array(31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, ), /* 82 */ array(31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, ), /* 83 */ array(31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, ), /* 84 */ array(31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, ), /* 85 */ array(31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, ), /* 86 */ array(31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, ), /* 87 */ array(31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, ), /* 88 */ array(31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, ), /* 89 */ array(31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, ), /* 90 */ array(31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, ), /* 91 */ array(31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, ), /* 92 */ array(31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, ), /* 93 */ array(31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, ), /* 94 */ array(31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, ), /* 95 */ array(8, 12, 28, 72, 73, 74, ), /* 96 */ array(4, 5, 6, 9, 10, 11, ), /* 97 */ array(12, 15, 16, 23, ), /* 98 */ array(12, 15, 16, 56, ), /* 99 */ array(16, 18, 55, ), /* 100 */ array(13, 20, 23, ), /* 101 */ array(13, 20, 23, ), /* 102 */ array(12, 15, 56, ), /* 103 */ array(12, 15, ), /* 104 */ array(12, 15, ), /* 105 */ array(12, 15, ), /* 106 */ array(12, 15, ), /* 107 */ array(12, 15, ), /* 108 */ array(14, 15, ), /* 109 */ array(18, 55, ), /* 110 */ array(12, 15, ), /* 111 */ array(12, 15, ), /* 112 */ array(12, 15, ), /* 113 */ array(12, 15, ), /* 114 */ array(12, 15, ), /* 115 */ array(12, 15, ), /* 116 */ array(18, ), /* 117 */ array(20, ), /* 118 */ array(20, ), /* 119 */ array(14, ), /* 120 */ array(20, ), /* 121 */ array(20, ), /* 122 */ array(18, ), /* 123 */ array(1, 13, 20, 45, ), /* 124 */ array(12, 13, 15, 27, ), /* 125 */ array(12, 13, 15, 27, ), /* 126 */ array(15, 17, 19, 21, ), /* 127 */ array(12, 15, 56, ), /* 128 */ array(12, 13, 15, ), /* 129 */ array(12, 13, 15, ), /* 130 */ array(12, 15, 16, ), /* 131 */ array(1, 13, 45, ), /* 132 */ array(1, 27, 45, ), /* 133 */ array(13, 20, ), /* 134 */ array(13, 20, ), /* 135 */ array(13, 20, ), /* 136 */ array(51, 58, ), /* 137 */ array(13, 20, ), /* 138 */ array(13, 20, ), /* 139 */ array(13, 20, ), /* 140 */ array(13, 20, ), /* 141 */ array(13, 20, ), /* 142 */ array(1, 26, ), /* 143 */ array(51, 58, ), /* 144 */ array(13, 20, ), /* 145 */ array(1, 45, ), /* 146 */ array(13, 20, ), /* 147 */ array(51, 58, ), /* 148 */ array(13, 20, ), /* 149 */ array(51, 58, ), /* 150 */ array(13, 20, ), /* 151 */ array(13, 20, ), /* 152 */ array(13, 20, ), /* 153 */ array(51, 58, ), /* 154 */ array(13, 20, ), /* 155 */ array(12, 46, ), /* 156 */ array(13, 20, ), /* 157 */ array(18, ), /* 158 */ array(1, ), /* 159 */ array(18, ), /* 160 */ array(10, ), /* 161 */ array(1, ), /* 162 */ array(1, ), /* 163 */ array(20, ), /* 164 */ array(20, ), /* 165 */ array(1, ), /* 166 */ array(18, ), /* 167 */ array(1, ), /* 168 */ array(46, ), /* 169 */ array(1, ), /* 170 */ array(14, ), /* 171 */ array(1, ), /* 172 */ array(18, ), /* 173 */ array(2, ), /* 174 */ array(1, ), /* 175 */ array(), /* 176 */ array(), /* 177 */ array(), /* 178 */ array(), /* 179 */ array(), /* 180 */ array(), /* 181 */ array(), /* 182 */ array(), /* 183 */ array(12, 14, 15, 29, 52, 53, ), /* 184 */ array(46, 51, 55, 59, ), /* 185 */ array(13, 20, 46, 55, ), /* 186 */ array(27, 46, 55, ), /* 187 */ array(16, 46, 55, ), /* 188 */ array(46, 55, ), /* 189 */ array(22, 30, ), /* 190 */ array(46, 55, ), /* 191 */ array(46, 55, ), /* 192 */ array(23, 73, ), /* 193 */ array(30, 59, ), /* 194 */ array(46, 55, ), /* 195 */ array(16, 51, ), /* 196 */ array(2, 16, ), /* 197 */ array(15, 29, ), /* 198 */ array(15, 56, ), /* 199 */ array(57, ), /* 200 */ array(14, ), /* 201 */ array(47, ), /* 202 */ array(59, ), /* 203 */ array(29, ), /* 204 */ array(15, ), /* 205 */ array(57, ), /* 206 */ array(2, ), /* 207 */ array(14, ), /* 208 */ array(15, ), /* 209 */ array(13, ), /* 210 */ array(14, ), /* 211 */ array(15, ), /* 212 */ array(23, ), /* 213 */ array(15, ), /* 214 */ array(15, ), /* 215 */ array(26, ), /* 216 */ array(47, ), /* 217 */ array(15, ), /* 218 */ array(20, ), /* 219 */ array(16, ), /* 220 */ array(48, ), /* 221 */ array(46, ), /* 222 */ array(15, ), /* 223 */ array(15, ), /* 224 */ array(51, ), /* 225 */ array(16, ), /* 226 */ array(47, ), /* 227 */ array(15, ), /* 228 */ array(13, ), /* 229 */ array(24, ), /* 230 */ array(14, ), /* 231 */ array(20, ), /* 232 */ array(13, ), /* 233 */ array(14, ), /* 234 */ array(13, ), /* 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(), /* 362 */ array(), /* 363 */ array(), /* 364 */ array(), ); static public $yy_default = array( /* 0 */ 555, 538, 555, 555, 555, 509, 555, 555, 509, 555, /* 10 */ 509, 555, 509, 555, 555, 555, 555, 555, 555, 555, /* 20 */ 555, 555, 555, 555, 555, 555, 555, 555, 555, 555, /* 30 */ 555, 555, 555, 555, 555, 555, 555, 555, 555, 555, /* 40 */ 555, 555, 555, 555, 555, 555, 555, 555, 555, 423, /* 50 */ 555, 555, 423, 423, 555, 365, 555, 434, 433, 555, /* 60 */ 555, 517, 423, 423, 423, 423, 555, 508, 555, 555, /* 70 */ 555, 555, 555, 555, 555, 555, 555, 555, 555, 448, /* 80 */ 449, 445, 444, 539, 443, 452, 540, 429, 432, 425, /* 90 */ 405, 440, 456, 453, 541, 555, 555, 555, 480, 473, /* 100 */ 457, 457, 480, 555, 555, 555, 555, 555, 555, 473, /* 110 */ 555, 555, 555, 555, 555, 555, 512, 423, 423, 555, /* 120 */ 423, 423, 513, 433, 555, 555, 555, 481, 555, 555, /* 130 */ 555, 433, 433, 555, 555, 555, 502, 555, 555, 555, /* 140 */ 555, 555, 555, 501, 555, 433, 555, 503, 555, 478, /* 150 */ 555, 555, 555, 500, 555, 480, 555, 515, 437, 514, /* 160 */ 379, 459, 442, 554, 554, 460, 496, 438, 480, 436, /* 170 */ 555, 455, 518, 472, 458, 520, 520, 480, 521, 520, /* 180 */ 520, 480, 480, 555, 434, 434, 434, 428, 522, 555, /* 190 */ 454, 434, 457, 555, 555, 462, 494, 555, 555, 555, /* 200 */ 555, 555, 555, 555, 555, 555, 494, 555, 555, 555, /* 210 */ 555, 555, 457, 555, 555, 555, 555, 555, 555, 555, /* 220 */ 467, 516, 555, 555, 462, 428, 555, 555, 555, 430, /* 230 */ 555, 555, 555, 555, 555, 366, 483, 507, 495, 485, /* 240 */ 484, 427, 504, 406, 546, 547, 420, 548, 414, 467, /* 250 */ 544, 486, 542, 506, 407, 543, 551, 552, 487, 416, /* 260 */ 408, 505, 417, 553, 491, 545, 415, 490, 431, 404, /* 270 */ 389, 465, 466, 470, 435, 464, 463, 519, 461, 510, /* 280 */ 511, 474, 479, 499, 492, 475, 476, 471, 469, 482, /* 290 */ 493, 494, 468, 422, 419, 373, 374, 375, 376, 372, /* 300 */ 371, 367, 368, 369, 370, 377, 378, 386, 421, 413, /* 310 */ 418, 385, 384, 380, 381, 382, 383, 477, 488, 393, /* 320 */ 394, 395, 497, 392, 391, 537, 536, 550, 390, 498, /* 330 */ 396, 410, 411, 412, 402, 409, 397, 398, 399, 401, /* 340 */ 400, 535, 439, 447, 450, 451, 523, 446, 441, 489, /* 350 */ 387, 549, 388, 524, 525, 531, 532, 533, 534, 530, /* 360 */ 529, 526, 527, 528, 403, ); const YYNOCODE = 118; const YYSTACKDEPTH = 100; const YYNSTATE = 365; const YYNRULE = 190; const YYERRORSYMBOL = 75; 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', 'BOOLEAN', 'NULL', '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 ::= ID", /* 70 */ "expr ::= DOLLAR ID COLON ID", /* 71 */ "expr ::= expr MATH value", /* 72 */ "expr ::= expr UNIMATH value", /* 73 */ "expr ::= expr ANDSYM value", /* 74 */ "expr ::= array", /* 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 ::= BOOLEAN", /* 100 */ "value ::= NULL", /* 101 */ "value ::= function", /* 102 */ "value ::= OPENP expr CLOSEP", /* 103 */ "value ::= SINGLEQUOTESTRING", /* 104 */ "value ::= doublequoted_with_quotes", /* 105 */ "value ::= ID DOUBLECOLON static_class_access", /* 106 */ "value ::= smartytag", /* 107 */ "value ::= value modifier modparameters", /* 108 */ "variable ::= varindexed", /* 109 */ "variable ::= DOLLAR varvar AT ID", /* 110 */ "variable ::= object", /* 111 */ "variable ::= HATCH ID HATCH", /* 112 */ "variable ::= HATCH variable HATCH", /* 113 */ "varindexed ::= DOLLAR varvar arrayindex", /* 114 */ "arrayindex ::= arrayindex indexdef", /* 115 */ "arrayindex ::=", /* 116 */ "indexdef ::= DOT DOLLAR varvar", /* 117 */ "indexdef ::= DOT DOLLAR varvar AT ID", /* 118 */ "indexdef ::= DOT ID", /* 119 */ "indexdef ::= DOT BOOLEAN", /* 120 */ "indexdef ::= DOT NULL", /* 121 */ "indexdef ::= DOT INTEGER", /* 122 */ "indexdef ::= DOT LDEL expr RDEL", /* 123 */ "indexdef ::= OPENB ID CLOSEB", /* 124 */ "indexdef ::= OPENB ID DOT ID CLOSEB", /* 125 */ "indexdef ::= OPENB expr CLOSEB", /* 126 */ "indexdef ::= OPENB CLOSEB", /* 127 */ "varvar ::= varvarele", /* 128 */ "varvar ::= varvar varvarele", /* 129 */ "varvarele ::= ID", /* 130 */ "varvarele ::= LDEL expr RDEL", /* 131 */ "object ::= varindexed objectchain", /* 132 */ "object ::= varindexed DOUBLECOLON ID", /* 133 */ "objectchain ::= objectelement", /* 134 */ "objectchain ::= objectchain objectelement", /* 135 */ "objectelement ::= PTR ID arrayindex", /* 136 */ "objectelement ::= PTR variable arrayindex", /* 137 */ "objectelement ::= PTR LDEL expr RDEL arrayindex", /* 138 */ "objectelement ::= PTR ID LDEL expr RDEL arrayindex", /* 139 */ "objectelement ::= PTR method", /* 140 */ "function ::= ID OPENP params CLOSEP", /* 141 */ "method ::= ID OPENP params CLOSEP", /* 142 */ "params ::= expr COMMA params", /* 143 */ "params ::= expr", /* 144 */ "params ::=", /* 145 */ "modifier ::= VERT AT ID", /* 146 */ "modifier ::= VERT ID", /* 147 */ "static_class_access ::= method", /* 148 */ "static_class_access ::= DOLLAR ID OPENP params CLOSEP", /* 149 */ "static_class_access ::= method objectchain", /* 150 */ "static_class_access ::= DOLLAR ID OPENP params CLOSEP objectchain", /* 151 */ "static_class_access ::= ID", /* 152 */ "static_class_access ::= DOLLAR ID arrayindex", /* 153 */ "static_class_access ::= DOLLAR ID arrayindex objectchain", /* 154 */ "modparameters ::= modparameters modparameter", /* 155 */ "modparameters ::=", /* 156 */ "modparameter ::= COLON value", /* 157 */ "modparameter ::= COLON ID", /* 158 */ "ifcond ::= EQUALS", /* 159 */ "ifcond ::= NOTEQUALS", /* 160 */ "ifcond ::= GREATERTHAN", /* 161 */ "ifcond ::= LESSTHAN", /* 162 */ "ifcond ::= GREATEREQUAL", /* 163 */ "ifcond ::= LESSEQUAL", /* 164 */ "ifcond ::= IDENTITY", /* 165 */ "ifcond ::= NONEIDENTITY", /* 166 */ "ifcond ::= MOD", /* 167 */ "lop ::= LAND", /* 168 */ "lop ::= LOR", /* 169 */ "lop ::= LXOR", /* 170 */ "array ::= OPENB arrayelements CLOSEB", /* 171 */ "arrayelements ::= arrayelement", /* 172 */ "arrayelements ::= arrayelements COMMA arrayelement", /* 173 */ "arrayelements ::=", /* 174 */ "arrayelement ::= value APTR expr", /* 175 */ "arrayelement ::= ID APTR expr", /* 176 */ "arrayelement ::= expr", /* 177 */ "doublequoted_with_quotes ::= QUOTE QUOTE", /* 178 */ "doublequoted_with_quotes ::= QUOTE doublequoted QUOTE", /* 179 */ "doublequoted ::= doublequoted doublequotedcontent", /* 180 */ "doublequoted ::= doublequotedcontent", /* 181 */ "doublequotedcontent ::= BACKTICK variable BACKTICK", /* 182 */ "doublequotedcontent ::= BACKTICK expr BACKTICK", /* 183 */ "doublequotedcontent ::= DOLLARID", /* 184 */ "doublequotedcontent ::= LDEL variable RDEL", /* 185 */ "doublequotedcontent ::= LDEL expr RDEL", /* 186 */ "doublequotedcontent ::= smartytag", /* 187 */ "doublequotedcontent ::= OTHER", /* 188 */ "optspace ::= SPACE", /* 189 */ "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->yyidx >= 0) { $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 += 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); 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(); } 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' => 76, 'rhs' => 1 ), array( 'lhs' => 77, 'rhs' => 1 ), array( 'lhs' => 77, 'rhs' => 2 ), array( 'lhs' => 78, 'rhs' => 1 ), array( 'lhs' => 78, 'rhs' => 1 ), array( 'lhs' => 78, 'rhs' => 1 ), array( 'lhs' => 78, 'rhs' => 1 ), array( 'lhs' => 78, 'rhs' => 1 ), array( 'lhs' => 78, 'rhs' => 1 ), array( 'lhs' => 78, 'rhs' => 1 ), array( 'lhs' => 78, 'rhs' => 1 ), array( 'lhs' => 80, 'rhs' => 2 ), array( 'lhs' => 80, 'rhs' => 3 ), array( 'lhs' => 81, 'rhs' => 2 ), array( 'lhs' => 81, 'rhs' => 0 ), array( 'lhs' => 82, 'rhs' => 1 ), array( 'lhs' => 82, 'rhs' => 1 ), array( 'lhs' => 82, 'rhs' => 1 ), array( 'lhs' => 82, 'rhs' => 1 ), array( 'lhs' => 82, 'rhs' => 1 ), array( 'lhs' => 79, 'rhs' => 3 ), array( 'lhs' => 79, 'rhs' => 4 ), array( 'lhs' => 79, 'rhs' => 4 ), array( 'lhs' => 79, 'rhs' => 4 ), array( 'lhs' => 79, 'rhs' => 4 ), array( 'lhs' => 79, 'rhs' => 6 ), array( 'lhs' => 79, 'rhs' => 6 ), array( 'lhs' => 79, 'rhs' => 7 ), array( 'lhs' => 79, 'rhs' => 7 ), array( 'lhs' => 79, 'rhs' => 6 ), array( 'lhs' => 79, 'rhs' => 6 ), array( 'lhs' => 79, 'rhs' => 4 ), array( 'lhs' => 79, 'rhs' => 4 ), array( 'lhs' => 79, 'rhs' => 3 ), array( 'lhs' => 79, 'rhs' => 6 ), array( 'lhs' => 79, 'rhs' => 6 ), array( 'lhs' => 79, 'rhs' => 8 ), array( 'lhs' => 79, 'rhs' => 5 ), array( 'lhs' => 79, 'rhs' => 5 ), array( 'lhs' => 79, 'rhs' => 13 ), array( 'lhs' => 95, 'rhs' => 2 ), array( 'lhs' => 95, 'rhs' => 1 ), array( 'lhs' => 79, 'rhs' => 8 ), array( 'lhs' => 79, 'rhs' => 9 ), array( 'lhs' => 79, 'rhs' => 8 ), array( 'lhs' => 79, 'rhs' => 11 ), array( 'lhs' => 79, 'rhs' => 8 ), array( 'lhs' => 79, 'rhs' => 11 ), array( 'lhs' => 79, 'rhs' => 3 ), array( 'lhs' => 79, 'rhs' => 3 ), array( 'lhs' => 97, 'rhs' => 1 ), array( 'lhs' => 97, 'rhs' => 1 ), array( 'lhs' => 97, 'rhs' => 1 ), array( 'lhs' => 79, 'rhs' => 4 ), array( 'lhs' => 79, 'rhs' => 6 ), array( 'lhs' => 79, 'rhs' => 5 ), array( 'lhs' => 84, 'rhs' => 2 ), array( 'lhs' => 84, 'rhs' => 1 ), array( 'lhs' => 84, 'rhs' => 0 ), array( 'lhs' => 98, 'rhs' => 4 ), array( 'lhs' => 98, 'rhs' => 4 ), array( 'lhs' => 98, 'rhs' => 4 ), array( 'lhs' => 98, 'rhs' => 4 ), array( 'lhs' => 98, 'rhs' => 2 ), array( 'lhs' => 98, 'rhs' => 4 ), array( 'lhs' => 92, 'rhs' => 1 ), array( 'lhs' => 92, 'rhs' => 3 ), array( 'lhs' => 91, 'rhs' => 4 ), array( 'lhs' => 86, 'rhs' => 1 ), array( 'lhs' => 86, 'rhs' => 1 ), array( 'lhs' => 86, 'rhs' => 4 ), array( 'lhs' => 86, 'rhs' => 3 ), array( 'lhs' => 86, 'rhs' => 3 ), array( 'lhs' => 86, 'rhs' => 3 ), array( 'lhs' => 86, 'rhs' => 1 ), array( 'lhs' => 86, 'rhs' => 3 ), array( 'lhs' => 86, 'rhs' => 3 ), array( 'lhs' => 86, 'rhs' => 3 ), array( 'lhs' => 86, 'rhs' => 3 ), array( 'lhs' => 86, 'rhs' => 3 ), array( 'lhs' => 86, 'rhs' => 3 ), array( 'lhs' => 86, 'rhs' => 2 ), array( 'lhs' => 86, 'rhs' => 2 ), array( 'lhs' => 86, 'rhs' => 3 ), array( 'lhs' => 86, 'rhs' => 3 ), array( 'lhs' => 86, 'rhs' => 2 ), array( 'lhs' => 86, 'rhs' => 2 ), array( 'lhs' => 86, 'rhs' => 3 ), array( 'lhs' => 86, 'rhs' => 3 ), array( 'lhs' => 86, 'rhs' => 3 ), array( 'lhs' => 86, 'rhs' => 3 ), array( 'lhs' => 87, 'rhs' => 7 ), array( 'lhs' => 83, 'rhs' => 1 ), array( 'lhs' => 83, 'rhs' => 2 ), array( 'lhs' => 83, 'rhs' => 2 ), array( 'lhs' => 83, 'rhs' => 2 ), array( 'lhs' => 83, 'rhs' => 2 ), array( 'lhs' => 83, 'rhs' => 1 ), array( 'lhs' => 83, 'rhs' => 3 ), array( 'lhs' => 83, 'rhs' => 1 ), array( 'lhs' => 83, 'rhs' => 1 ), array( 'lhs' => 83, 'rhs' => 1 ), array( 'lhs' => 83, 'rhs' => 3 ), array( 'lhs' => 83, 'rhs' => 1 ), array( 'lhs' => 83, 'rhs' => 1 ), array( 'lhs' => 83, 'rhs' => 3 ), array( 'lhs' => 83, 'rhs' => 1 ), array( 'lhs' => 83, 'rhs' => 3 ), array( 'lhs' => 85, 'rhs' => 1 ), array( 'lhs' => 85, 'rhs' => 4 ), array( 'lhs' => 85, 'rhs' => 1 ), array( 'lhs' => 85, 'rhs' => 3 ), array( 'lhs' => 85, 'rhs' => 3 ), array( 'lhs' => 88, 'rhs' => 3 ), array( 'lhs' => 105, 'rhs' => 2 ), array( 'lhs' => 105, 'rhs' => 0 ), array( 'lhs' => 106, 'rhs' => 3 ), array( 'lhs' => 106, 'rhs' => 5 ), array( 'lhs' => 106, 'rhs' => 2 ), array( 'lhs' => 106, 'rhs' => 2 ), array( 'lhs' => 106, 'rhs' => 2 ), array( 'lhs' => 106, 'rhs' => 2 ), array( 'lhs' => 106, 'rhs' => 4 ), array( 'lhs' => 106, 'rhs' => 3 ), array( 'lhs' => 106, 'rhs' => 5 ), array( 'lhs' => 106, 'rhs' => 3 ), array( 'lhs' => 106, 'rhs' => 2 ), array( 'lhs' => 94, 'rhs' => 1 ), array( 'lhs' => 94, 'rhs' => 2 ), array( 'lhs' => 107, 'rhs' => 1 ), array( 'lhs' => 107, 'rhs' => 3 ), array( 'lhs' => 104, 'rhs' => 2 ), array( 'lhs' => 104, 'rhs' => 3 ), array( 'lhs' => 108, 'rhs' => 1 ), array( 'lhs' => 108, 'rhs' => 2 ), array( 'lhs' => 109, 'rhs' => 3 ), array( 'lhs' => 109, 'rhs' => 3 ), array( 'lhs' => 109, 'rhs' => 5 ), array( 'lhs' => 109, 'rhs' => 6 ), array( 'lhs' => 109, 'rhs' => 2 ), array( 'lhs' => 101, 'rhs' => 4 ), array( 'lhs' => 110, 'rhs' => 4 ), array( 'lhs' => 111, 'rhs' => 3 ), array( 'lhs' => 111, 'rhs' => 1 ), array( 'lhs' => 111, 'rhs' => 0 ), array( 'lhs' => 89, 'rhs' => 3 ), array( 'lhs' => 89, 'rhs' => 2 ), array( 'lhs' => 103, 'rhs' => 1 ), array( 'lhs' => 103, 'rhs' => 5 ), array( 'lhs' => 103, 'rhs' => 2 ), array( 'lhs' => 103, 'rhs' => 6 ), array( 'lhs' => 103, 'rhs' => 1 ), array( 'lhs' => 103, 'rhs' => 3 ), array( 'lhs' => 103, 'rhs' => 4 ), array( 'lhs' => 90, 'rhs' => 2 ), array( 'lhs' => 90, 'rhs' => 0 ), array( 'lhs' => 112, 'rhs' => 2 ), array( 'lhs' => 112, 'rhs' => 2 ), array( 'lhs' => 99, 'rhs' => 1 ), array( 'lhs' => 99, 'rhs' => 1 ), array( 'lhs' => 99, 'rhs' => 1 ), array( 'lhs' => 99, 'rhs' => 1 ), array( 'lhs' => 99, 'rhs' => 1 ), array( 'lhs' => 99, 'rhs' => 1 ), array( 'lhs' => 99, 'rhs' => 1 ), array( 'lhs' => 99, 'rhs' => 1 ), array( 'lhs' => 99, 'rhs' => 1 ), array( 'lhs' => 100, 'rhs' => 1 ), array( 'lhs' => 100, 'rhs' => 1 ), array( 'lhs' => 100, 'rhs' => 1 ), array( 'lhs' => 96, 'rhs' => 3 ), array( 'lhs' => 113, 'rhs' => 1 ), array( 'lhs' => 113, 'rhs' => 3 ), array( 'lhs' => 113, 'rhs' => 0 ), array( 'lhs' => 114, 'rhs' => 3 ), array( 'lhs' => 114, 'rhs' => 3 ), array( 'lhs' => 114, 'rhs' => 1 ), array( 'lhs' => 102, 'rhs' => 2 ), array( 'lhs' => 102, 'rhs' => 3 ), array( 'lhs' => 115, 'rhs' => 2 ), array( 'lhs' => 115, 'rhs' => 1 ), array( 'lhs' => 116, 'rhs' => 3 ), array( 'lhs' => 116, 'rhs' => 3 ), array( 'lhs' => 116, 'rhs' => 1 ), array( 'lhs' => 116, 'rhs' => 3 ), array( 'lhs' => 116, 'rhs' => 3 ), array( 'lhs' => 116, 'rhs' => 1 ), array( 'lhs' => 116, 'rhs' => 1 ), array( 'lhs' => 93, 'rhs' => 1 ), array( 'lhs' => 93, '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, 99 => 0, 100 => 0, 101 => 0, 103 => 0, 104 => 0, 110 => 0, 147 => 0, 171 => 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, 149 => 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, 143 => 41, 151 => 41, 176 => 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, 64 => 60, 63 => 63, 65 => 65, 66 => 66, 67 => 67, 69 => 69, 70 => 70, 71 => 71, 72 => 71, 73 => 71, 74 => 74, 127 => 74, 188 => 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, 102 => 102, 105 => 105, 106 => 106, 107 => 107, 108 => 108, 109 => 109, 111 => 111, 112 => 112, 113 => 113, 114 => 114, 115 => 115, 155 => 115, 116 => 116, 117 => 117, 118 => 118, 119 => 118, 120 => 118, 121 => 121, 122 => 122, 125 => 122, 123 => 123, 124 => 124, 126 => 126, 189 => 126, 128 => 128, 129 => 129, 130 => 130, 131 => 131, 132 => 132, 133 => 133, 134 => 134, 135 => 135, 136 => 136, 137 => 137, 138 => 138, 139 => 139, 140 => 140, 141 => 141, 142 => 142, 144 => 144, 145 => 145, 146 => 145, 148 => 148, 150 => 150, 152 => 152, 153 => 153, 154 => 154, 156 => 156, 157 => 157, 158 => 158, 159 => 159, 160 => 160, 161 => 161, 162 => 162, 163 => 163, 164 => 164, 165 => 165, 166 => 166, 167 => 167, 168 => 168, 169 => 169, 170 => 170, 172 => 172, 173 => 173, 174 => 174, 175 => 175, 177 => 177, 178 => 178, 179 => 179, 180 => 180, 181 => 181, 182 => 181, 184 => 181, 183 => 183, 185 => 185, 186 => 186, 187 => 187, ); #line 85 "smarty_internal_templateparser.y" function yy_r0(){ $this->_retvalue = $this->yystack[$this->yyidx + 0]->minor; } #line 1973 "smarty_internal_templateparser.php" #line 91 "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 1982 "smarty_internal_templateparser.php" #line 99 "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 1992 "smarty_internal_templateparser.php" #line 112 "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 2004 "smarty_internal_templateparser.php" #line 124 "smarty_internal_templateparser.y" function yy_r4(){ $this->_retvalue = ''; } #line 2007 "smarty_internal_templateparser.php" #line 130 "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 2020 "smarty_internal_templateparser.php" #line 142 "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 2036 "smarty_internal_templateparser.php" #line 157 "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 2044 "smarty_internal_templateparser.php" #line 165 "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 2047 "smarty_internal_templateparser.php" #line 168 "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 2055 "smarty_internal_templateparser.php" #line 176 "smarty_internal_templateparser.y" function yy_r11(){ $this->_retvalue = ''; } #line 2058 "smarty_internal_templateparser.php" #line 177 "smarty_internal_templateparser.y" function yy_r12(){ $this->_retvalue = $this->yystack[$this->yyidx + -1]->minor; } #line 2061 "smarty_internal_templateparser.php" #line 179 "smarty_internal_templateparser.y" function yy_r13(){ $this->_retvalue = $this->yystack[$this->yyidx + -1]->minor.$this->yystack[$this->yyidx + 0]->minor; } #line 2064 "smarty_internal_templateparser.php" #line 184 "smarty_internal_templateparser.y" function yy_r17(){ $this->_retvalue = self::escape_start_tag($this->yystack[$this->yyidx + 0]->minor); } #line 2067 "smarty_internal_templateparser.php" #line 186 "smarty_internal_templateparser.y" function yy_r19(){ $this->_retvalue = self::escape_end_tag($this->yystack[$this->yyidx + 0]->minor); } #line 2070 "smarty_internal_templateparser.php" #line 194 "smarty_internal_templateparser.y" function yy_r20(){ $this->_retvalue = $this->compiler->compileTag('private_print_expression',array('value'=>$this->yystack[$this->yyidx + -1]->minor)); } #line 2073 "smarty_internal_templateparser.php" #line 195 "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 2076 "smarty_internal_templateparser.php" #line 206 "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 2079 "smarty_internal_templateparser.php" #line 208 "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 2082 "smarty_internal_templateparser.php" #line 210 "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 2085 "smarty_internal_templateparser.php" #line 213 "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 2088 "smarty_internal_templateparser.php" #line 215 "smarty_internal_templateparser.y" function yy_r33(){ $this->_retvalue = $this->compiler->compileTag($this->yystack[$this->yyidx + -1]->minor,array()); } #line 2091 "smarty_internal_templateparser.php" #line 217 "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 2094 "smarty_internal_templateparser.php" #line 219 "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 2099 "smarty_internal_templateparser.php" #line 223 "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 2104 "smarty_internal_templateparser.php" #line 227 "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 2107 "smarty_internal_templateparser.php" #line 230 "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 2111 "smarty_internal_templateparser.php" #line 233 "smarty_internal_templateparser.y" function yy_r40(){ $this->_retvalue = '='.$this->yystack[$this->yyidx + 0]->minor; } #line 2114 "smarty_internal_templateparser.php" #line 234 "smarty_internal_templateparser.y" function yy_r41(){ $this->_retvalue = $this->yystack[$this->yyidx + 0]->minor; } #line 2117 "smarty_internal_templateparser.php" #line 235 "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 2120 "smarty_internal_templateparser.php" #line 236 "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 2123 "smarty_internal_templateparser.php" #line 238 "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 2127 "smarty_internal_templateparser.php" #line 240 "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 2131 "smarty_internal_templateparser.php" #line 242 "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 2135 "smarty_internal_templateparser.php" #line 244 "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 2139 "smarty_internal_templateparser.php" #line 248 "smarty_internal_templateparser.y" function yy_r48(){ $this->_retvalue = $this->compiler->compileTag($this->yystack[$this->yyidx + -1]->minor.'close',array()); } #line 2142 "smarty_internal_templateparser.php" #line 253 "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 2145 "smarty_internal_templateparser.php" #line 254 "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 2150 "smarty_internal_templateparser.php" #line 258 "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 2153 "smarty_internal_templateparser.php" #line 265 "smarty_internal_templateparser.y" function yy_r56(){ $this->_retvalue = array_merge($this->yystack[$this->yyidx + -1]->minor,$this->yystack[$this->yyidx + 0]->minor); } #line 2156 "smarty_internal_templateparser.php" #line 269 "smarty_internal_templateparser.y" function yy_r58(){ $this->_retvalue = array(); } #line 2159 "smarty_internal_templateparser.php" #line 272 "smarty_internal_templateparser.y" function yy_r59(){ $this->_retvalue = array($this->yystack[$this->yyidx + -2]->minor=>"'".$this->yystack[$this->yyidx + 0]->minor."'"); } #line 2162 "smarty_internal_templateparser.php" #line 273 "smarty_internal_templateparser.y" function yy_r60(){ $this->_retvalue = array($this->yystack[$this->yyidx + -2]->minor=>$this->yystack[$this->yyidx + 0]->minor); } #line 2165 "smarty_internal_templateparser.php" #line 276 "smarty_internal_templateparser.y" function yy_r63(){ $this->_retvalue = array($this->yystack[$this->yyidx + 0]->minor=>'true'); } #line 2168 "smarty_internal_templateparser.php" #line 283 "smarty_internal_templateparser.y" function yy_r65(){ $this->_retvalue = array($this->yystack[$this->yyidx + 0]->minor); } #line 2171 "smarty_internal_templateparser.php" #line 284 "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 2174 "smarty_internal_templateparser.php" #line 286 "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 2177 "smarty_internal_templateparser.php" #line 294 "smarty_internal_templateparser.y" function yy_r69(){ $this->_retvalue = "'".$this->yystack[$this->yyidx + 0]->minor."'"; } #line 2180 "smarty_internal_templateparser.php" #line 296 "smarty_internal_templateparser.y" function yy_r70(){$this->_retvalue = '$_smarty_tpl->getStreamVariable(\''. $this->yystack[$this->yyidx + -2]->minor .'://'. $this->yystack[$this->yyidx + 0]->minor . '\')'; } #line 2183 "smarty_internal_templateparser.php" #line 298 "smarty_internal_templateparser.y" function yy_r71(){ $this->_retvalue = $this->yystack[$this->yyidx + -2]->minor . trim($this->yystack[$this->yyidx + -1]->minor) . $this->yystack[$this->yyidx + 0]->minor; } #line 2186 "smarty_internal_templateparser.php" #line 304 "smarty_internal_templateparser.y" function yy_r74(){$this->_retvalue = $this->yystack[$this->yyidx + 0]->minor; } #line 2189 "smarty_internal_templateparser.php" #line 308 "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 2192 "smarty_internal_templateparser.php" #line 309 "smarty_internal_templateparser.y" function yy_r76(){$this->_retvalue = 'in_array('.$this->yystack[$this->yyidx + -2]->minor.','.$this->yystack[$this->yyidx + 0]->minor.')'; } #line 2195 "smarty_internal_templateparser.php" #line 310 "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 2198 "smarty_internal_templateparser.php" #line 312 "smarty_internal_templateparser.y" function yy_r79(){$this->_retvalue = '!('.$this->yystack[$this->yyidx + -2]->minor.' % '.$this->yystack[$this->yyidx + 0]->minor.')'; } #line 2201 "smarty_internal_templateparser.php" #line 313 "smarty_internal_templateparser.y" function yy_r80(){$this->_retvalue = '('.$this->yystack[$this->yyidx + -2]->minor.' % '.$this->yystack[$this->yyidx + 0]->minor.')'; } #line 2204 "smarty_internal_templateparser.php" #line 314 "smarty_internal_templateparser.y" function yy_r81(){$this->_retvalue = '!(1 & '.$this->yystack[$this->yyidx + -1]->minor.')'; } #line 2207 "smarty_internal_templateparser.php" #line 315 "smarty_internal_templateparser.y" function yy_r82(){$this->_retvalue = '(1 & '.$this->yystack[$this->yyidx + -1]->minor.')'; } #line 2210 "smarty_internal_templateparser.php" #line 316 "smarty_internal_templateparser.y" function yy_r83(){$this->_retvalue = '!(1 & '.$this->yystack[$this->yyidx + -2]->minor.' / '.$this->yystack[$this->yyidx + 0]->minor.')'; } #line 2213 "smarty_internal_templateparser.php" #line 317 "smarty_internal_templateparser.y" function yy_r84(){$this->_retvalue = '(1 & '.$this->yystack[$this->yyidx + -2]->minor.' / '.$this->yystack[$this->yyidx + 0]->minor.')'; } #line 2216 "smarty_internal_templateparser.php" #line 323 "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 2219 "smarty_internal_templateparser.php" #line 329 "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 2222 "smarty_internal_templateparser.php" #line 336 "smarty_internal_templateparser.y" function yy_r94(){ $this->_retvalue = '!'.$this->yystack[$this->yyidx + 0]->minor; } #line 2225 "smarty_internal_templateparser.php" #line 341 "smarty_internal_templateparser.y" function yy_r98(){ $this->_retvalue = $this->yystack[$this->yyidx + -2]->minor.'.'.$this->yystack[$this->yyidx + 0]->minor; } #line 2228 "smarty_internal_templateparser.php" #line 351 "smarty_internal_templateparser.y" function yy_r102(){ $this->_retvalue = "(". $this->yystack[$this->yyidx + -1]->minor .")"; } #line 2231 "smarty_internal_templateparser.php" #line 357 "smarty_internal_templateparser.y" function yy_r105(){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 2236 "smarty_internal_templateparser.php" #line 361 "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 2239 "smarty_internal_templateparser.php" #line 363 "smarty_internal_templateparser.y" function yy_r107(){ $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 2242 "smarty_internal_templateparser.php" #line 372 "smarty_internal_templateparser.y" function yy_r108(){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 { $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 2246 "smarty_internal_templateparser.php" #line 375 "smarty_internal_templateparser.y" function yy_r109(){ $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 2249 "smarty_internal_templateparser.php" #line 379 "smarty_internal_templateparser.y" function yy_r111(){$this->_retvalue = '$_smarty_tpl->getConfigVariable(\''. $this->yystack[$this->yyidx + -1]->minor .'\')'; } #line 2252 "smarty_internal_templateparser.php" #line 380 "smarty_internal_templateparser.y" function yy_r112(){$this->_retvalue = '$_smarty_tpl->getConfigVariable('. $this->yystack[$this->yyidx + -1]->minor .')'; } #line 2255 "smarty_internal_templateparser.php" #line 383 "smarty_internal_templateparser.y" function yy_r113(){$this->_retvalue = array('var'=>$this->yystack[$this->yyidx + -1]->minor, 'smarty_internal_index'=>$this->yystack[$this->yyidx + 0]->minor); } #line 2258 "smarty_internal_templateparser.php" #line 389 "smarty_internal_templateparser.y" function yy_r114(){$this->_retvalue = $this->yystack[$this->yyidx + -1]->minor.$this->yystack[$this->yyidx + 0]->minor; } #line 2261 "smarty_internal_templateparser.php" #line 391 "smarty_internal_templateparser.y" function yy_r115(){return; } #line 2264 "smarty_internal_templateparser.php" #line 395 "smarty_internal_templateparser.y" function yy_r116(){ $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 2267 "smarty_internal_templateparser.php" #line 396 "smarty_internal_templateparser.y" function yy_r117(){ $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 2270 "smarty_internal_templateparser.php" #line 397 "smarty_internal_templateparser.y" function yy_r118(){ $this->_retvalue = "['". $this->yystack[$this->yyidx + 0]->minor ."']"; } #line 2273 "smarty_internal_templateparser.php" #line 401 "smarty_internal_templateparser.y" function yy_r121(){ $this->_retvalue = "[". $this->yystack[$this->yyidx + 0]->minor ."]"; } #line 2276 "smarty_internal_templateparser.php" #line 402 "smarty_internal_templateparser.y" function yy_r122(){ $this->_retvalue = "[". $this->yystack[$this->yyidx + -1]->minor ."]"; } #line 2279 "smarty_internal_templateparser.php" #line 404 "smarty_internal_templateparser.y" function yy_r123(){ $this->_retvalue = '['.$this->compiler->compileTag('private_special_variable','[\'section\'][\''.$this->yystack[$this->yyidx + -1]->minor.'\'][\'index\']').']'; } #line 2282 "smarty_internal_templateparser.php" #line 405 "smarty_internal_templateparser.y" function yy_r124(){ $this->_retvalue = '['.$this->compiler->compileTag('private_special_variable','[\'section\'][\''.$this->yystack[$this->yyidx + -3]->minor.'\'][\''.$this->yystack[$this->yyidx + -1]->minor.'\']').']'; } #line 2285 "smarty_internal_templateparser.php" #line 409 "smarty_internal_templateparser.y" function yy_r126(){$this->_retvalue = ''; } #line 2288 "smarty_internal_templateparser.php" #line 417 "smarty_internal_templateparser.y" function yy_r128(){$this->_retvalue = $this->yystack[$this->yyidx + -1]->minor.'.'.$this->yystack[$this->yyidx + 0]->minor; } #line 2291 "smarty_internal_templateparser.php" #line 419 "smarty_internal_templateparser.y" function yy_r129(){$this->_retvalue = '\''.$this->yystack[$this->yyidx + 0]->minor.'\''; } #line 2294 "smarty_internal_templateparser.php" #line 422 "smarty_internal_templateparser.y" function yy_r130(){$this->_retvalue = '('.$this->yystack[$this->yyidx + -1]->minor.')'; } #line 2297 "smarty_internal_templateparser.php" #line 427 "smarty_internal_templateparser.y" function yy_r131(){ 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 2301 "smarty_internal_templateparser.php" #line 429 "smarty_internal_templateparser.y" function yy_r132(){ 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 2305 "smarty_internal_templateparser.php" #line 432 "smarty_internal_templateparser.y" function yy_r133(){$this->_retvalue = $this->yystack[$this->yyidx + 0]->minor; } #line 2308 "smarty_internal_templateparser.php" #line 434 "smarty_internal_templateparser.y" function yy_r134(){$this->_retvalue = $this->yystack[$this->yyidx + -1]->minor.$this->yystack[$this->yyidx + 0]->minor; } #line 2311 "smarty_internal_templateparser.php" #line 436 "smarty_internal_templateparser.y" function yy_r135(){ $this->_retvalue = '->'.$this->yystack[$this->yyidx + -1]->minor.$this->yystack[$this->yyidx + 0]->minor; } #line 2314 "smarty_internal_templateparser.php" #line 437 "smarty_internal_templateparser.y" function yy_r136(){ $this->_retvalue = '->{'.$this->yystack[$this->yyidx + -1]->minor.$this->yystack[$this->yyidx + 0]->minor.'}'; } #line 2317 "smarty_internal_templateparser.php" #line 438 "smarty_internal_templateparser.y" function yy_r137(){ $this->_retvalue = '->{'.$this->yystack[$this->yyidx + -2]->minor.$this->yystack[$this->yyidx + 0]->minor.'}'; } #line 2320 "smarty_internal_templateparser.php" #line 439 "smarty_internal_templateparser.y" function yy_r138(){ $this->_retvalue = '->{\''.$this->yystack[$this->yyidx + -4]->minor.'\'.'.$this->yystack[$this->yyidx + -2]->minor.$this->yystack[$this->yyidx + 0]->minor.'}'; } #line 2323 "smarty_internal_templateparser.php" #line 441 "smarty_internal_templateparser.y" function yy_r139(){ $this->_retvalue = '->'.$this->yystack[$this->yyidx + 0]->minor; } #line 2326 "smarty_internal_templateparser.php" #line 447 "smarty_internal_templateparser.y" function yy_r140(){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 2335 "smarty_internal_templateparser.php" #line 458 "smarty_internal_templateparser.y" function yy_r141(){ $this->_retvalue = $this->yystack[$this->yyidx + -3]->minor . "(". $this->yystack[$this->yyidx + -1]->minor .")"; } #line 2338 "smarty_internal_templateparser.php" #line 462 "smarty_internal_templateparser.y" function yy_r142(){ $this->_retvalue = $this->yystack[$this->yyidx + -2]->minor.",".$this->yystack[$this->yyidx + 0]->minor; } #line 2341 "smarty_internal_templateparser.php" #line 466 "smarty_internal_templateparser.y" function yy_r144(){ return; } #line 2344 "smarty_internal_templateparser.php" #line 471 "smarty_internal_templateparser.y" function yy_r145(){ $this->_retvalue = $this->yystack[$this->yyidx + 0]->minor; } #line 2347 "smarty_internal_templateparser.php" #line 476 "smarty_internal_templateparser.y" function yy_r148(){ $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 2350 "smarty_internal_templateparser.php" #line 479 "smarty_internal_templateparser.y" function yy_r150(){ $this->prefix_number++; $this->compiler->prefix_code[] = 'prefix_number.'=$_smarty_tpl->getVariable(\''. $this->yystack[$this->yyidx + -4]->minor .'\')->value;?>'; $this->_retvalue = '$_tmp'.$this->prefix_number.'('. $this->yystack[$this->yyidx + -2]->minor .')'.$this->yystack[$this->yyidx + 0]->minor; } #line 2353 "smarty_internal_templateparser.php" #line 483 "smarty_internal_templateparser.y" function yy_r152(){ $this->_retvalue = '$'.$this->yystack[$this->yyidx + -1]->minor.$this->yystack[$this->yyidx + 0]->minor; } #line 2356 "smarty_internal_templateparser.php" #line 485 "smarty_internal_templateparser.y" function yy_r153(){ $this->_retvalue = '$'.$this->yystack[$this->yyidx + -2]->minor.$this->yystack[$this->yyidx + -1]->minor.$this->yystack[$this->yyidx + 0]->minor; } #line 2359 "smarty_internal_templateparser.php" #line 496 "smarty_internal_templateparser.y" function yy_r154(){ $this->_retvalue = $this->yystack[$this->yyidx + -1]->minor.$this->yystack[$this->yyidx + 0]->minor; } #line 2362 "smarty_internal_templateparser.php" #line 500 "smarty_internal_templateparser.y" function yy_r156(){$this->_retvalue = ','.$this->yystack[$this->yyidx + 0]->minor; } #line 2365 "smarty_internal_templateparser.php" #line 501 "smarty_internal_templateparser.y" function yy_r157(){$this->_retvalue = ',\''.$this->yystack[$this->yyidx + 0]->minor.'\''; } #line 2368 "smarty_internal_templateparser.php" #line 504 "smarty_internal_templateparser.y" function yy_r158(){$this->_retvalue = '=='; } #line 2371 "smarty_internal_templateparser.php" #line 505 "smarty_internal_templateparser.y" function yy_r159(){$this->_retvalue = '!='; } #line 2374 "smarty_internal_templateparser.php" #line 506 "smarty_internal_templateparser.y" function yy_r160(){$this->_retvalue = '>'; } #line 2377 "smarty_internal_templateparser.php" #line 507 "smarty_internal_templateparser.y" function yy_r161(){$this->_retvalue = '<'; } #line 2380 "smarty_internal_templateparser.php" #line 508 "smarty_internal_templateparser.y" function yy_r162(){$this->_retvalue = '>='; } #line 2383 "smarty_internal_templateparser.php" #line 509 "smarty_internal_templateparser.y" function yy_r163(){$this->_retvalue = '<='; } #line 2386 "smarty_internal_templateparser.php" #line 510 "smarty_internal_templateparser.y" function yy_r164(){$this->_retvalue = '==='; } #line 2389 "smarty_internal_templateparser.php" #line 511 "smarty_internal_templateparser.y" function yy_r165(){$this->_retvalue = '!=='; } #line 2392 "smarty_internal_templateparser.php" #line 512 "smarty_internal_templateparser.y" function yy_r166(){$this->_retvalue = '%'; } #line 2395 "smarty_internal_templateparser.php" #line 514 "smarty_internal_templateparser.y" function yy_r167(){$this->_retvalue = '&&'; } #line 2398 "smarty_internal_templateparser.php" #line 515 "smarty_internal_templateparser.y" function yy_r168(){$this->_retvalue = '||'; } #line 2401 "smarty_internal_templateparser.php" #line 516 "smarty_internal_templateparser.y" function yy_r169(){$this->_retvalue = ' XOR '; } #line 2404 "smarty_internal_templateparser.php" #line 521 "smarty_internal_templateparser.y" function yy_r170(){ $this->_retvalue = 'array('.$this->yystack[$this->yyidx + -1]->minor.')'; } #line 2407 "smarty_internal_templateparser.php" #line 523 "smarty_internal_templateparser.y" function yy_r172(){ $this->_retvalue = $this->yystack[$this->yyidx + -2]->minor.','.$this->yystack[$this->yyidx + 0]->minor; } #line 2410 "smarty_internal_templateparser.php" #line 524 "smarty_internal_templateparser.y" function yy_r173(){ return; } #line 2413 "smarty_internal_templateparser.php" #line 525 "smarty_internal_templateparser.y" function yy_r174(){ $this->_retvalue = $this->yystack[$this->yyidx + -2]->minor.'=>'.$this->yystack[$this->yyidx + 0]->minor; } #line 2416 "smarty_internal_templateparser.php" #line 526 "smarty_internal_templateparser.y" function yy_r175(){ $this->_retvalue = '\''.$this->yystack[$this->yyidx + -2]->minor.'\'=>'.$this->yystack[$this->yyidx + 0]->minor; } #line 2419 "smarty_internal_templateparser.php" #line 533 "smarty_internal_templateparser.y" function yy_r177(){ $this->_retvalue = "''"; } #line 2422 "smarty_internal_templateparser.php" #line 534 "smarty_internal_templateparser.y" function yy_r178(){ $this->_retvalue = $this->yystack[$this->yyidx + -1]->minor->to_smarty_php(); } #line 2425 "smarty_internal_templateparser.php" #line 536 "smarty_internal_templateparser.y" function yy_r179(){ $this->yystack[$this->yyidx + -1]->minor->append_subtree($this->yystack[$this->yyidx + 0]->minor); $this->_retvalue = $this->yystack[$this->yyidx + -1]->minor; } #line 2428 "smarty_internal_templateparser.php" #line 537 "smarty_internal_templateparser.y" function yy_r180(){ $this->_retvalue = new _smarty_doublequoted($this, $this->yystack[$this->yyidx + 0]->minor); } #line 2431 "smarty_internal_templateparser.php" #line 539 "smarty_internal_templateparser.y" function yy_r181(){ $this->_retvalue = new _smarty_code($this, $this->yystack[$this->yyidx + -1]->minor); } #line 2434 "smarty_internal_templateparser.php" #line 541 "smarty_internal_templateparser.y" function yy_r183(){ $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 2440 "smarty_internal_templateparser.php" #line 546 "smarty_internal_templateparser.y" function yy_r185(){ $this->_retvalue = new _smarty_code($this, '('.$this->yystack[$this->yyidx + -1]->minor.')'); } #line 2443 "smarty_internal_templateparser.php" #line 547 "smarty_internal_templateparser.y" function yy_r186(){ $this->_retvalue = new _smarty_tag($this, $this->yystack[$this->yyidx + 0]->minor); } #line 2448 "smarty_internal_templateparser.php" #line 550 "smarty_internal_templateparser.y" function yy_r187(){ $this->_retvalue = new _smarty_dq_content($this, $this->yystack[$this->yyidx + 0]->minor); } #line 2451 "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 2514 "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 2532 "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); } } ?>