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" const Err1 = "Security error: Call to private object member not allowed"; const Err2 = "Security error: Call to dynamic object member not allowed"; // 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; $this->compiler->has_variable_string = false; $this->compiler->prefix_code = array(); $this->prefix_number = 0; $this->block_nesting_level = 0; if ($this->security = isset($this->smarty->security_policy)) { $this->php_handling = $this->smarty->security_policy->php_handling; } else { $this->php_handling = $this->smarty->php_handling; } $this->is_xml = false; $this->asp_tags = (ini_get('asp_tags') != '0'); $this->current_buffer = $this->root_buffer = new _smarty_template_buffer($this); } public 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 132 "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_ASPSTARTTAG = 6; const TP_ASPENDTAG = 7; const TP_FAKEPHPSTARTTAG = 8; const TP_XMLTAG = 9; const TP_OTHER = 10; const TP_LINEBREAK = 11; const TP_LITERALSTART = 12; const TP_LITERALEND = 13; const TP_LITERAL = 14; const TP_LDEL = 15; const TP_RDEL = 16; const TP_DOLLAR = 17; const TP_ID = 18; const TP_EQUAL = 19; const TP_PTR = 20; const TP_LDELIF = 21; const TP_SPACE = 22; const TP_LDELFOR = 23; const TP_SEMICOLON = 24; const TP_INCDEC = 25; const TP_TO = 26; const TP_STEP = 27; const TP_LDELFOREACH = 28; const TP_AS = 29; const TP_APTR = 30; const TP_SMARTYBLOCKCHILD = 31; const TP_LDELSLASH = 32; const TP_INTEGER = 33; const TP_COMMA = 34; const TP_MATH = 35; const TP_UNIMATH = 36; const TP_ANDSYM = 37; const TP_ISIN = 38; const TP_ISDIVBY = 39; const TP_ISNOTDIVBY = 40; const TP_ISEVEN = 41; const TP_ISNOTEVEN = 42; const TP_ISEVENBY = 43; const TP_ISNOTEVENBY = 44; const TP_ISODD = 45; const TP_ISNOTODD = 46; const TP_ISODDBY = 47; const TP_ISNOTODDBY = 48; const TP_INSTANCEOF = 49; const TP_OPENP = 50; const TP_CLOSEP = 51; const TP_QMARK = 52; const TP_NOT = 53; const TP_TYPECAST = 54; const TP_HEX = 55; const TP_DOT = 56; const TP_SINGLEQUOTESTRING = 57; const TP_DOUBLECOLON = 58; const TP_AT = 59; const TP_HATCH = 60; const TP_OPENB = 61; const TP_CLOSEB = 62; const TP_EQUALS = 63; const TP_NOTEQUALS = 64; const TP_GREATERTHAN = 65; const TP_LESSTHAN = 66; const TP_GREATEREQUAL = 67; const TP_LESSEQUAL = 68; const TP_IDENTITY = 69; const TP_NONEIDENTITY = 70; const TP_MOD = 71; const TP_LAND = 72; const TP_LOR = 73; const TP_LXOR = 74; const TP_QUOTE = 75; const TP_BACKTICK = 76; const TP_DOLLARID = 77; const YY_NO_ACTION = 573; const YY_ACCEPT_ACTION = 572; const YY_ERROR_ACTION = 571; const YY_SZ_ACTTAB = 2397; static public $yy_action = array( /* 0 */ 195, 304, 303, 306, 305, 307, 302, 301, 297, 296, /* 10 */ 298, 299, 300, 168, 436, 325, 37, 341, 356, 2, /* 20 */ 40, 40, 228, 281, 230, 216, 169, 119, 155, 132, /* 30 */ 275, 266, 270, 214, 49, 44, 47, 42, 9, 11, /* 40 */ 354, 361, 10, 18, 362, 370, 35, 20, 320, 315, /* 50 */ 311, 310, 316, 104, 249, 347, 168, 309, 319, 227, /* 60 */ 195, 40, 371, 372, 373, 369, 368, 364, 363, 365, /* 70 */ 366, 367, 349, 268, 195, 269, 331, 167, 335, 226, /* 80 */ 219, 40, 220, 54, 164, 116, 117, 572, 92, 240, /* 90 */ 303, 306, 284, 348, 277, 40, 359, 352, 16, 330, /* 100 */ 39, 274, 41, 206, 19, 275, 118, 322, 49, 44, /* 110 */ 47, 42, 9, 11, 354, 361, 10, 18, 362, 370, /* 120 */ 35, 20, 357, 158, 16, 160, 440, 274, 102, 17, /* 130 */ 16, 40, 440, 274, 41, 277, 371, 372, 373, 369, /* 140 */ 368, 364, 363, 365, 366, 367, 349, 268, 195, 145, /* 150 */ 331, 181, 165, 129, 219, 101, 220, 69, 16, 116, /* 160 */ 2, 274, 277, 295, 24, 138, 284, 348, 119, 40, /* 170 */ 359, 352, 184, 330, 234, 173, 335, 7, 181, 28, /* 180 */ 200, 25, 49, 44, 47, 42, 9, 11, 354, 361, /* 190 */ 10, 18, 362, 370, 35, 20, 16, 14, 46, 274, /* 200 */ 13, 2, 234, 113, 16, 285, 244, 274, 21, 119, /* 210 */ 371, 372, 373, 369, 368, 364, 363, 365, 366, 367, /* 220 */ 349, 268, 195, 223, 331, 261, 141, 6, 219, 103, /* 230 */ 220, 69, 232, 116, 206, 16, 277, 324, 274, 353, /* 240 */ 284, 348, 40, 40, 359, 352, 135, 330, 229, 23, /* 250 */ 217, 318, 181, 317, 203, 242, 49, 44, 47, 42, /* 260 */ 9, 11, 354, 361, 10, 18, 362, 370, 35, 20, /* 270 */ 195, 334, 22, 150, 128, 143, 286, 40, 174, 335, /* 280 */ 281, 115, 211, 277, 371, 372, 373, 369, 368, 364, /* 290 */ 363, 365, 366, 367, 349, 268, 313, 279, 281, 178, /* 300 */ 210, 208, 40, 40, 49, 44, 47, 42, 9, 11, /* 310 */ 354, 361, 10, 18, 362, 370, 35, 20, 195, 152, /* 320 */ 245, 166, 278, 275, 100, 34, 40, 215, 40, 277, /* 330 */ 134, 252, 371, 372, 373, 369, 368, 364, 363, 365, /* 340 */ 366, 367, 349, 268, 330, 178, 209, 199, 16, 339, /* 350 */ 21, 274, 49, 44, 47, 42, 9, 11, 354, 361, /* 360 */ 10, 18, 362, 370, 35, 20, 260, 256, 177, 439, /* 370 */ 437, 345, 40, 250, 33, 439, 437, 40, 175, 40, /* 380 */ 371, 372, 373, 369, 368, 364, 363, 365, 366, 367, /* 390 */ 349, 268, 195, 337, 331, 172, 263, 3, 219, 21, /* 400 */ 220, 69, 46, 116, 2, 12, 8, 180, 138, 4, /* 410 */ 284, 348, 119, 2, 359, 352, 246, 330, 181, 442, /* 420 */ 16, 119, 32, 224, 193, 442, 49, 44, 47, 42, /* 430 */ 9, 11, 354, 361, 10, 18, 362, 370, 35, 20, /* 440 */ 195, 276, 336, 146, 184, 360, 195, 40, 40, 7, /* 450 */ 5, 195, 46, 277, 371, 372, 373, 369, 368, 364, /* 460 */ 363, 365, 366, 367, 349, 268, 436, 40, 16, 178, /* 470 */ 16, 221, 40, 233, 49, 44, 47, 42, 9, 11, /* 480 */ 354, 361, 10, 18, 362, 370, 35, 20, 195, 29, /* 490 */ 255, 154, 327, 326, 267, 232, 171, 121, 40, 40, /* 500 */ 40, 277, 371, 372, 373, 369, 368, 364, 363, 365, /* 510 */ 366, 367, 349, 268, 283, 280, 16, 178, 287, 192, /* 520 */ 131, 40, 49, 44, 47, 42, 9, 11, 354, 361, /* 530 */ 10, 18, 362, 370, 35, 20, 281, 46, 271, 312, /* 540 */ 272, 329, 333, 237, 40, 40, 40, 40, 40, 40, /* 550 */ 371, 372, 373, 369, 368, 364, 363, 365, 366, 367, /* 560 */ 349, 268, 195, 170, 254, 328, 153, 16, 38, 97, /* 570 */ 274, 40, 46, 374, 40, 346, 277, 112, 27, 12, /* 580 */ 8, 40, 218, 323, 228, 176, 230, 4, 293, 289, /* 590 */ 321, 132, 181, 91, 270, 214, 49, 44, 47, 42, /* 600 */ 9, 11, 354, 361, 10, 18, 362, 370, 35, 20, /* 610 */ 195, 262, 288, 259, 294, 213, 46, 40, 253, 135, /* 620 */ 40, 138, 120, 137, 371, 372, 373, 369, 368, 364, /* 630 */ 363, 365, 366, 367, 349, 268, 321, 124, 342, 26, /* 640 */ 340, 90, 127, 286, 49, 44, 47, 42, 9, 11, /* 650 */ 354, 361, 10, 18, 362, 370, 35, 20, 147, 113, /* 660 */ 222, 341, 314, 138, 332, 275, 123, 15, 277, 308, /* 670 */ 40, 248, 371, 372, 373, 369, 368, 364, 363, 365, /* 680 */ 366, 367, 349, 268, 195, 30, 331, 157, 133, 142, /* 690 */ 219, 139, 220, 80, 159, 116, 178, 277, 338, 277, /* 700 */ 275, 122, 284, 348, 277, 40, 359, 352, 275, 330, /* 710 */ 275, 195, 243, 43, 321, 275, 99, 105, 49, 44, /* 720 */ 47, 42, 9, 11, 354, 361, 10, 18, 362, 370, /* 730 */ 35, 20, 195, 144, 148, 225, 236, 273, 318, 318, /* 740 */ 318, 318, 318, 277, 277, 95, 371, 372, 373, 369, /* 750 */ 368, 364, 363, 365, 366, 367, 349, 268, 321, 318, /* 760 */ 231, 318, 318, 318, 318, 318, 49, 44, 47, 42, /* 770 */ 9, 11, 354, 361, 10, 18, 362, 370, 35, 20, /* 780 */ 149, 140, 318, 318, 318, 318, 318, 318, 318, 318, /* 790 */ 277, 277, 318, 318, 371, 372, 373, 369, 368, 364, /* 800 */ 363, 365, 366, 367, 349, 268, 195, 331, 318, 318, /* 810 */ 318, 189, 318, 220, 72, 318, 116, 318, 106, 107, /* 820 */ 318, 258, 94, 284, 348, 96, 318, 359, 352, 318, /* 830 */ 330, 321, 321, 318, 318, 321, 318, 318, 321, 318, /* 840 */ 49, 44, 47, 42, 9, 11, 354, 361, 10, 18, /* 850 */ 362, 370, 35, 20, 98, 318, 318, 318, 318, 318, /* 860 */ 318, 318, 318, 318, 318, 318, 318, 321, 371, 372, /* 870 */ 373, 369, 368, 364, 363, 365, 366, 367, 349, 268, /* 880 */ 195, 331, 318, 318, 318, 111, 136, 109, 51, 318, /* 890 */ 110, 318, 318, 318, 318, 251, 318, 284, 348, 321, /* 900 */ 318, 359, 352, 318, 330, 318, 318, 318, 318, 318, /* 910 */ 318, 318, 318, 318, 49, 44, 47, 42, 9, 11, /* 920 */ 354, 361, 10, 18, 362, 370, 35, 20, 318, 318, /* 930 */ 318, 318, 318, 318, 318, 318, 318, 318, 318, 318, /* 940 */ 318, 318, 371, 372, 373, 369, 368, 364, 363, 365, /* 950 */ 366, 367, 349, 268, 195, 331, 318, 318, 318, 219, /* 960 */ 318, 220, 70, 318, 116, 318, 318, 318, 318, 179, /* 970 */ 318, 284, 348, 318, 318, 359, 352, 318, 330, 318, /* 980 */ 318, 318, 318, 318, 318, 318, 318, 318, 49, 44, /* 990 */ 47, 42, 9, 11, 354, 361, 10, 18, 362, 370, /* 1000 */ 35, 20, 195, 318, 318, 318, 318, 318, 318, 318, /* 1010 */ 318, 318, 318, 318, 318, 318, 371, 372, 373, 369, /* 1020 */ 368, 364, 363, 365, 366, 367, 349, 268, 318, 318, /* 1030 */ 318, 318, 318, 318, 318, 318, 49, 44, 47, 42, /* 1040 */ 9, 11, 354, 361, 10, 18, 362, 370, 35, 20, /* 1050 */ 318, 318, 318, 318, 318, 318, 318, 318, 318, 318, /* 1060 */ 318, 318, 318, 318, 371, 372, 373, 369, 368, 364, /* 1070 */ 363, 365, 366, 367, 349, 268, 49, 44, 47, 42, /* 1080 */ 9, 11, 354, 361, 10, 18, 362, 370, 35, 20, /* 1090 */ 318, 318, 318, 318, 318, 318, 318, 318, 318, 318, /* 1100 */ 318, 318, 318, 318, 371, 372, 373, 369, 368, 364, /* 1110 */ 363, 365, 366, 367, 349, 268, 318, 318, 318, 318, /* 1120 */ 37, 318, 130, 186, 318, 331, 228, 318, 230, 257, /* 1130 */ 318, 220, 318, 132, 116, 318, 270, 214, 204, 318, /* 1140 */ 318, 50, 264, 442, 318, 359, 352, 318, 330, 442, /* 1150 */ 318, 318, 318, 318, 318, 31, 205, 318, 48, 45, /* 1160 */ 292, 207, 350, 318, 318, 100, 1, 235, 318, 318, /* 1170 */ 318, 37, 318, 114, 196, 318, 46, 228, 318, 230, /* 1180 */ 93, 318, 318, 318, 132, 318, 318, 270, 214, 204, /* 1190 */ 318, 318, 50, 318, 318, 318, 318, 318, 331, 318, /* 1200 */ 318, 318, 198, 318, 220, 78, 31, 116, 318, 48, /* 1210 */ 45, 292, 207, 350, 284, 348, 100, 1, 359, 352, /* 1220 */ 318, 330, 37, 318, 130, 182, 318, 318, 228, 318, /* 1230 */ 230, 93, 201, 241, 318, 132, 318, 318, 270, 214, /* 1240 */ 204, 318, 318, 50, 318, 318, 318, 318, 318, 331, /* 1250 */ 318, 318, 318, 198, 318, 220, 78, 31, 116, 318, /* 1260 */ 48, 45, 292, 207, 350, 284, 348, 100, 1, 359, /* 1270 */ 352, 318, 330, 37, 318, 130, 196, 318, 318, 228, /* 1280 */ 318, 230, 93, 318, 239, 318, 132, 318, 318, 270, /* 1290 */ 214, 204, 318, 318, 50, 318, 318, 318, 318, 318, /* 1300 */ 331, 318, 318, 318, 219, 318, 220, 81, 31, 116, /* 1310 */ 318, 48, 45, 292, 207, 350, 284, 348, 100, 1, /* 1320 */ 359, 352, 318, 330, 37, 318, 115, 196, 318, 318, /* 1330 */ 228, 318, 230, 93, 318, 318, 318, 132, 318, 318, /* 1340 */ 270, 214, 204, 318, 318, 50, 318, 318, 318, 318, /* 1350 */ 318, 331, 318, 318, 318, 185, 318, 220, 68, 36, /* 1360 */ 116, 318, 48, 45, 292, 207, 350, 284, 348, 100, /* 1370 */ 1, 359, 352, 318, 330, 37, 318, 130, 183, 318, /* 1380 */ 318, 228, 318, 230, 93, 318, 318, 318, 132, 318, /* 1390 */ 318, 270, 214, 191, 318, 318, 50, 318, 318, 318, /* 1400 */ 318, 318, 331, 318, 318, 318, 219, 318, 220, 59, /* 1410 */ 31, 116, 318, 48, 45, 292, 207, 350, 284, 348, /* 1420 */ 100, 1, 359, 352, 318, 330, 37, 318, 126, 89, /* 1430 */ 318, 318, 228, 318, 230, 93, 318, 318, 318, 132, /* 1440 */ 318, 318, 270, 214, 204, 318, 318, 50, 318, 318, /* 1450 */ 318, 318, 318, 331, 318, 318, 318, 219, 318, 220, /* 1460 */ 84, 31, 116, 318, 48, 45, 292, 207, 350, 284, /* 1470 */ 348, 100, 1, 359, 352, 318, 330, 37, 318, 125, /* 1480 */ 196, 318, 318, 228, 318, 230, 93, 318, 318, 318, /* 1490 */ 132, 318, 318, 270, 214, 204, 318, 318, 50, 318, /* 1500 */ 318, 318, 318, 318, 331, 318, 318, 318, 219, 318, /* 1510 */ 220, 85, 31, 116, 318, 48, 45, 292, 207, 350, /* 1520 */ 284, 348, 100, 1, 359, 352, 318, 330, 37, 318, /* 1530 */ 130, 188, 318, 318, 228, 318, 230, 93, 318, 318, /* 1540 */ 318, 132, 318, 318, 270, 214, 204, 318, 318, 50, /* 1550 */ 318, 318, 318, 318, 318, 331, 318, 318, 318, 219, /* 1560 */ 318, 220, 63, 31, 116, 318, 48, 45, 292, 207, /* 1570 */ 350, 284, 348, 100, 1, 359, 352, 318, 330, 37, /* 1580 */ 318, 130, 187, 318, 318, 228, 318, 230, 93, 318, /* 1590 */ 318, 318, 132, 318, 318, 270, 214, 204, 318, 318, /* 1600 */ 50, 318, 318, 318, 318, 318, 331, 318, 318, 318, /* 1610 */ 219, 318, 220, 57, 31, 116, 318, 48, 45, 292, /* 1620 */ 207, 350, 284, 348, 100, 1, 359, 352, 318, 330, /* 1630 */ 37, 318, 115, 197, 318, 318, 228, 318, 230, 93, /* 1640 */ 318, 318, 318, 132, 318, 318, 270, 214, 204, 318, /* 1650 */ 318, 50, 318, 318, 318, 318, 318, 331, 318, 318, /* 1660 */ 318, 219, 318, 220, 88, 36, 116, 318, 48, 45, /* 1670 */ 292, 207, 350, 284, 348, 100, 318, 359, 352, 318, /* 1680 */ 330, 37, 318, 115, 196, 318, 318, 228, 318, 230, /* 1690 */ 93, 318, 318, 318, 132, 318, 318, 270, 214, 204, /* 1700 */ 483, 318, 50, 318, 318, 318, 483, 318, 483, 318, /* 1710 */ 483, 483, 318, 483, 318, 318, 36, 318, 483, 48, /* 1720 */ 45, 292, 207, 350, 318, 318, 100, 374, 318, 318, /* 1730 */ 318, 318, 27, 483, 2, 483, 318, 318, 228, 318, /* 1740 */ 230, 93, 119, 318, 318, 132, 483, 331, 270, 214, /* 1750 */ 195, 194, 318, 220, 53, 318, 116, 318, 318, 318, /* 1760 */ 483, 318, 318, 284, 348, 344, 318, 359, 352, 212, /* 1770 */ 330, 40, 318, 318, 318, 318, 318, 318, 318, 318, /* 1780 */ 331, 318, 318, 318, 219, 318, 220, 66, 318, 116, /* 1790 */ 318, 318, 343, 26, 340, 318, 284, 348, 318, 2, /* 1800 */ 359, 352, 331, 330, 318, 318, 219, 119, 220, 76, /* 1810 */ 318, 116, 318, 318, 318, 318, 318, 318, 284, 348, /* 1820 */ 318, 318, 359, 352, 331, 330, 318, 318, 219, 318, /* 1830 */ 220, 61, 318, 116, 318, 318, 318, 318, 318, 318, /* 1840 */ 284, 348, 318, 318, 359, 352, 331, 330, 318, 318, /* 1850 */ 219, 318, 220, 58, 318, 116, 318, 318, 162, 318, /* 1860 */ 318, 172, 284, 348, 318, 318, 359, 352, 277, 330, /* 1870 */ 331, 12, 8, 318, 219, 318, 202, 62, 318, 116, /* 1880 */ 318, 318, 318, 318, 181, 318, 284, 348, 318, 318, /* 1890 */ 359, 352, 331, 330, 318, 318, 219, 318, 220, 74, /* 1900 */ 318, 116, 318, 318, 318, 318, 318, 318, 284, 348, /* 1910 */ 318, 318, 359, 352, 331, 330, 318, 318, 219, 318, /* 1920 */ 220, 87, 318, 116, 318, 318, 318, 318, 318, 318, /* 1930 */ 284, 348, 318, 318, 359, 352, 331, 330, 318, 318, /* 1940 */ 219, 318, 220, 67, 318, 116, 318, 318, 318, 318, /* 1950 */ 318, 318, 284, 348, 318, 318, 359, 352, 161, 330, /* 1960 */ 331, 172, 318, 318, 219, 318, 220, 77, 277, 116, /* 1970 */ 318, 12, 8, 318, 318, 318, 284, 348, 318, 318, /* 1980 */ 359, 352, 331, 330, 181, 318, 219, 318, 220, 75, /* 1990 */ 318, 116, 318, 318, 318, 318, 318, 318, 284, 348, /* 2000 */ 318, 318, 359, 352, 331, 330, 318, 318, 219, 318, /* 2010 */ 220, 65, 318, 116, 318, 318, 318, 318, 318, 318, /* 2020 */ 284, 348, 318, 318, 359, 352, 331, 330, 318, 318, /* 2030 */ 219, 318, 220, 60, 318, 116, 318, 318, 318, 318, /* 2040 */ 318, 318, 284, 348, 318, 318, 359, 352, 163, 330, /* 2050 */ 331, 172, 318, 318, 219, 318, 220, 73, 277, 116, /* 2060 */ 318, 12, 8, 318, 318, 318, 284, 348, 318, 318, /* 2070 */ 359, 352, 331, 330, 181, 318, 219, 318, 220, 83, /* 2080 */ 318, 116, 318, 318, 318, 318, 318, 318, 284, 348, /* 2090 */ 318, 318, 359, 352, 331, 330, 318, 318, 219, 318, /* 2100 */ 220, 64, 318, 116, 318, 318, 318, 318, 318, 318, /* 2110 */ 284, 348, 318, 318, 359, 352, 331, 330, 318, 318, /* 2120 */ 111, 318, 108, 55, 318, 110, 318, 318, 318, 318, /* 2130 */ 318, 318, 284, 348, 318, 318, 359, 352, 151, 330, /* 2140 */ 331, 172, 318, 318, 219, 318, 220, 82, 277, 116, /* 2150 */ 318, 12, 8, 318, 318, 318, 284, 348, 318, 318, /* 2160 */ 359, 352, 331, 330, 181, 318, 219, 318, 220, 86, /* 2170 */ 318, 116, 318, 318, 318, 318, 318, 318, 284, 348, /* 2180 */ 318, 318, 359, 352, 331, 330, 318, 318, 219, 318, /* 2190 */ 220, 79, 318, 116, 318, 318, 318, 318, 318, 318, /* 2200 */ 284, 348, 318, 318, 359, 352, 331, 330, 318, 318, /* 2210 */ 190, 318, 220, 71, 318, 116, 318, 318, 318, 318, /* 2220 */ 318, 318, 284, 348, 318, 318, 359, 352, 156, 330, /* 2230 */ 331, 172, 318, 318, 219, 318, 220, 52, 277, 116, /* 2240 */ 318, 12, 8, 318, 318, 318, 284, 348, 318, 318, /* 2250 */ 359, 352, 331, 330, 181, 318, 219, 318, 220, 56, /* 2260 */ 318, 116, 318, 318, 318, 318, 318, 318, 284, 348, /* 2270 */ 318, 318, 359, 352, 331, 330, 318, 318, 351, 318, /* 2280 */ 220, 318, 318, 116, 331, 318, 318, 318, 265, 318, /* 2290 */ 220, 355, 318, 116, 359, 352, 318, 330, 318, 318, /* 2300 */ 318, 318, 318, 318, 359, 352, 331, 330, 318, 318, /* 2310 */ 291, 318, 220, 331, 318, 116, 318, 238, 318, 220, /* 2320 */ 318, 318, 116, 318, 318, 318, 359, 352, 318, 330, /* 2330 */ 318, 318, 318, 359, 352, 331, 330, 318, 318, 247, /* 2340 */ 318, 220, 331, 318, 116, 318, 358, 318, 220, 318, /* 2350 */ 318, 116, 318, 318, 318, 359, 352, 318, 330, 318, /* 2360 */ 318, 318, 359, 352, 318, 330, 331, 318, 318, 318, /* 2370 */ 282, 318, 220, 331, 318, 116, 318, 290, 318, 220, /* 2380 */ 318, 318, 116, 318, 318, 318, 359, 352, 318, 330, /* 2390 */ 318, 318, 318, 359, 352, 318, 330, ); static public $yy_lookahead = array( /* 0 */ 1, 81, 82, 83, 3, 4, 5, 6, 7, 8, /* 10 */ 9, 10, 11, 12, 16, 16, 15, 82, 18, 50, /* 20 */ 22, 22, 21, 25, 23, 56, 114, 58, 106, 28, /* 30 */ 108, 62, 31, 32, 35, 36, 37, 38, 39, 40, /* 40 */ 41, 42, 43, 44, 45, 46, 47, 48, 4, 5, /* 50 */ 6, 7, 8, 118, 119, 16, 12, 13, 14, 59, /* 60 */ 1, 22, 63, 64, 65, 66, 67, 68, 69, 70, /* 70 */ 71, 72, 73, 74, 1, 16, 82, 109, 110, 20, /* 80 */ 86, 22, 88, 89, 87, 91, 92, 79, 80, 81, /* 90 */ 82, 83, 98, 99, 97, 22, 102, 103, 15, 105, /* 100 */ 27, 18, 19, 56, 15, 108, 17, 18, 35, 36, /* 110 */ 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, /* 120 */ 47, 48, 33, 106, 15, 87, 16, 18, 90, 19, /* 130 */ 15, 22, 22, 18, 19, 97, 63, 64, 65, 66, /* 140 */ 67, 68, 69, 70, 71, 72, 73, 74, 1, 106, /* 150 */ 82, 113, 87, 17, 86, 90, 88, 89, 15, 91, /* 160 */ 50, 18, 97, 16, 19, 20, 98, 99, 58, 22, /* 170 */ 102, 103, 56, 105, 59, 109, 110, 61, 113, 30, /* 180 */ 112, 30, 35, 36, 37, 38, 39, 40, 41, 42, /* 190 */ 43, 44, 45, 46, 47, 48, 15, 19, 49, 18, /* 200 */ 19, 50, 59, 58, 15, 18, 25, 18, 34, 58, /* 210 */ 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, /* 220 */ 73, 74, 1, 18, 82, 51, 87, 34, 86, 90, /* 230 */ 88, 89, 2, 91, 56, 15, 97, 16, 18, 104, /* 240 */ 98, 99, 22, 22, 102, 103, 111, 105, 59, 19, /* 250 */ 30, 83, 113, 85, 112, 62, 35, 36, 37, 38, /* 260 */ 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, /* 270 */ 1, 16, 15, 87, 17, 18, 107, 22, 109, 110, /* 280 */ 25, 17, 18, 97, 63, 64, 65, 66, 67, 68, /* 290 */ 69, 70, 71, 72, 73, 74, 16, 16, 25, 113, /* 300 */ 17, 18, 22, 22, 35, 36, 37, 38, 39, 40, /* 310 */ 41, 42, 43, 44, 45, 46, 47, 48, 1, 87, /* 320 */ 16, 106, 16, 108, 60, 2, 22, 88, 22, 97, /* 330 */ 91, 62, 63, 64, 65, 66, 67, 68, 69, 70, /* 340 */ 71, 72, 73, 74, 105, 113, 92, 93, 15, 76, /* 350 */ 34, 18, 35, 36, 37, 38, 39, 40, 41, 42, /* 360 */ 43, 44, 45, 46, 47, 48, 16, 51, 24, 16, /* 370 */ 16, 16, 22, 16, 15, 22, 22, 22, 34, 22, /* 380 */ 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, /* 390 */ 73, 74, 1, 76, 82, 90, 16, 50, 86, 34, /* 400 */ 88, 89, 49, 91, 50, 100, 101, 16, 20, 50, /* 410 */ 98, 99, 58, 50, 102, 103, 51, 105, 113, 16, /* 420 */ 15, 58, 52, 18, 112, 22, 35, 36, 37, 38, /* 430 */ 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, /* 440 */ 1, 16, 16, 87, 56, 18, 1, 22, 22, 61, /* 450 */ 22, 1, 49, 97, 63, 64, 65, 66, 67, 68, /* 460 */ 69, 70, 71, 72, 73, 74, 16, 22, 15, 113, /* 470 */ 15, 18, 22, 18, 35, 36, 37, 38, 39, 40, /* 480 */ 41, 42, 43, 44, 45, 46, 47, 48, 1, 2, /* 490 */ 51, 87, 16, 16, 16, 2, 114, 17, 22, 22, /* 500 */ 22, 97, 63, 64, 65, 66, 67, 68, 69, 70, /* 510 */ 71, 72, 73, 74, 18, 16, 15, 113, 18, 18, /* 520 */ 22, 22, 35, 36, 37, 38, 39, 40, 41, 42, /* 530 */ 43, 44, 45, 46, 47, 48, 25, 49, 16, 16, /* 540 */ 16, 16, 16, 16, 22, 22, 22, 22, 22, 22, /* 550 */ 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, /* 560 */ 73, 74, 1, 18, 60, 16, 87, 15, 26, 90, /* 570 */ 18, 22, 49, 10, 22, 16, 97, 95, 15, 100, /* 580 */ 101, 22, 30, 16, 21, 24, 23, 50, 33, 33, /* 590 */ 108, 28, 113, 18, 31, 32, 35, 36, 37, 38, /* 600 */ 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, /* 610 */ 1, 16, 104, 62, 16, 18, 49, 22, 60, 111, /* 620 */ 22, 20, 17, 95, 63, 64, 65, 66, 67, 68, /* 630 */ 69, 70, 71, 72, 73, 74, 108, 17, 75, 76, /* 640 */ 77, 18, 17, 107, 35, 36, 37, 38, 39, 40, /* 650 */ 41, 42, 43, 44, 45, 46, 47, 48, 87, 58, /* 660 */ 51, 82, 97, 20, 110, 108, 17, 22, 97, 13, /* 670 */ 22, 111, 63, 64, 65, 66, 67, 68, 69, 70, /* 680 */ 71, 72, 73, 74, 1, 94, 82, 87, 96, 87, /* 690 */ 86, 106, 88, 89, 87, 91, 113, 97, 119, 97, /* 700 */ 108, 95, 98, 99, 97, 22, 102, 103, 108, 105, /* 710 */ 108, 1, 22, 2, 108, 108, 106, 84, 35, 36, /* 720 */ 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, /* 730 */ 47, 48, 1, 87, 87, 94, 92, 115, 120, 120, /* 740 */ 120, 120, 120, 97, 97, 95, 63, 64, 65, 66, /* 750 */ 67, 68, 69, 70, 71, 72, 73, 74, 108, 120, /* 760 */ 29, 120, 120, 120, 120, 120, 35, 36, 37, 38, /* 770 */ 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, /* 780 */ 87, 87, 120, 120, 120, 120, 120, 120, 120, 120, /* 790 */ 97, 97, 120, 120, 63, 64, 65, 66, 67, 68, /* 800 */ 69, 70, 71, 72, 73, 74, 1, 82, 120, 120, /* 810 */ 120, 86, 120, 88, 89, 120, 91, 120, 95, 95, /* 820 */ 120, 16, 95, 98, 99, 95, 120, 102, 103, 120, /* 830 */ 105, 108, 108, 120, 120, 108, 120, 120, 108, 120, /* 840 */ 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, /* 850 */ 45, 46, 47, 48, 95, 120, 120, 120, 120, 120, /* 860 */ 120, 120, 120, 120, 120, 120, 120, 108, 63, 64, /* 870 */ 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, /* 880 */ 1, 82, 120, 120, 120, 86, 95, 88, 89, 120, /* 890 */ 91, 120, 120, 120, 120, 16, 120, 98, 99, 108, /* 900 */ 120, 102, 103, 120, 105, 120, 120, 120, 120, 120, /* 910 */ 120, 120, 120, 120, 35, 36, 37, 38, 39, 40, /* 920 */ 41, 42, 43, 44, 45, 46, 47, 48, 120, 120, /* 930 */ 120, 120, 120, 120, 120, 120, 120, 120, 120, 120, /* 940 */ 120, 120, 63, 64, 65, 66, 67, 68, 69, 70, /* 950 */ 71, 72, 73, 74, 1, 82, 120, 120, 120, 86, /* 960 */ 120, 88, 89, 120, 91, 120, 120, 120, 120, 16, /* 970 */ 120, 98, 99, 120, 120, 102, 103, 120, 105, 120, /* 980 */ 120, 120, 120, 120, 120, 120, 120, 120, 35, 36, /* 990 */ 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, /* 1000 */ 47, 48, 1, 120, 120, 120, 120, 120, 120, 120, /* 1010 */ 120, 120, 120, 120, 120, 120, 63, 64, 65, 66, /* 1020 */ 67, 68, 69, 70, 71, 72, 73, 74, 120, 120, /* 1030 */ 120, 120, 120, 120, 120, 120, 35, 36, 37, 38, /* 1040 */ 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, /* 1050 */ 120, 120, 120, 120, 120, 120, 120, 120, 120, 120, /* 1060 */ 120, 120, 120, 120, 63, 64, 65, 66, 67, 68, /* 1070 */ 69, 70, 71, 72, 73, 74, 35, 36, 37, 38, /* 1080 */ 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, /* 1090 */ 120, 120, 120, 120, 120, 120, 120, 120, 120, 120, /* 1100 */ 120, 120, 120, 120, 63, 64, 65, 66, 67, 68, /* 1110 */ 69, 70, 71, 72, 73, 74, 120, 120, 120, 120, /* 1120 */ 15, 120, 17, 18, 120, 82, 21, 120, 23, 86, /* 1130 */ 120, 88, 120, 28, 91, 120, 31, 32, 33, 120, /* 1140 */ 120, 36, 99, 16, 120, 102, 103, 120, 105, 22, /* 1150 */ 120, 120, 120, 120, 120, 50, 29, 120, 53, 54, /* 1160 */ 55, 56, 57, 120, 120, 60, 61, 62, 120, 120, /* 1170 */ 120, 15, 120, 17, 18, 120, 49, 21, 120, 23, /* 1180 */ 75, 120, 120, 120, 28, 120, 120, 31, 32, 33, /* 1190 */ 120, 120, 36, 120, 120, 120, 120, 120, 82, 120, /* 1200 */ 120, 120, 86, 120, 88, 89, 50, 91, 120, 53, /* 1210 */ 54, 55, 56, 57, 98, 99, 60, 61, 102, 103, /* 1220 */ 120, 105, 15, 120, 17, 18, 120, 120, 21, 120, /* 1230 */ 23, 75, 116, 117, 120, 28, 120, 120, 31, 32, /* 1240 */ 33, 120, 120, 36, 120, 120, 120, 120, 120, 82, /* 1250 */ 120, 120, 120, 86, 120, 88, 89, 50, 91, 120, /* 1260 */ 53, 54, 55, 56, 57, 98, 99, 60, 61, 102, /* 1270 */ 103, 120, 105, 15, 120, 17, 18, 120, 120, 21, /* 1280 */ 120, 23, 75, 120, 117, 120, 28, 120, 120, 31, /* 1290 */ 32, 33, 120, 120, 36, 120, 120, 120, 120, 120, /* 1300 */ 82, 120, 120, 120, 86, 120, 88, 89, 50, 91, /* 1310 */ 120, 53, 54, 55, 56, 57, 98, 99, 60, 61, /* 1320 */ 102, 103, 120, 105, 15, 120, 17, 18, 120, 120, /* 1330 */ 21, 120, 23, 75, 120, 120, 120, 28, 120, 120, /* 1340 */ 31, 32, 33, 120, 120, 36, 120, 120, 120, 120, /* 1350 */ 120, 82, 120, 120, 120, 86, 120, 88, 89, 50, /* 1360 */ 91, 120, 53, 54, 55, 56, 57, 98, 99, 60, /* 1370 */ 61, 102, 103, 120, 105, 15, 120, 17, 18, 120, /* 1380 */ 120, 21, 120, 23, 75, 120, 120, 120, 28, 120, /* 1390 */ 120, 31, 32, 33, 120, 120, 36, 120, 120, 120, /* 1400 */ 120, 120, 82, 120, 120, 120, 86, 120, 88, 89, /* 1410 */ 50, 91, 120, 53, 54, 55, 56, 57, 98, 99, /* 1420 */ 60, 61, 102, 103, 120, 105, 15, 120, 17, 18, /* 1430 */ 120, 120, 21, 120, 23, 75, 120, 120, 120, 28, /* 1440 */ 120, 120, 31, 32, 33, 120, 120, 36, 120, 120, /* 1450 */ 120, 120, 120, 82, 120, 120, 120, 86, 120, 88, /* 1460 */ 89, 50, 91, 120, 53, 54, 55, 56, 57, 98, /* 1470 */ 99, 60, 61, 102, 103, 120, 105, 15, 120, 17, /* 1480 */ 18, 120, 120, 21, 120, 23, 75, 120, 120, 120, /* 1490 */ 28, 120, 120, 31, 32, 33, 120, 120, 36, 120, /* 1500 */ 120, 120, 120, 120, 82, 120, 120, 120, 86, 120, /* 1510 */ 88, 89, 50, 91, 120, 53, 54, 55, 56, 57, /* 1520 */ 98, 99, 60, 61, 102, 103, 120, 105, 15, 120, /* 1530 */ 17, 18, 120, 120, 21, 120, 23, 75, 120, 120, /* 1540 */ 120, 28, 120, 120, 31, 32, 33, 120, 120, 36, /* 1550 */ 120, 120, 120, 120, 120, 82, 120, 120, 120, 86, /* 1560 */ 120, 88, 89, 50, 91, 120, 53, 54, 55, 56, /* 1570 */ 57, 98, 99, 60, 61, 102, 103, 120, 105, 15, /* 1580 */ 120, 17, 18, 120, 120, 21, 120, 23, 75, 120, /* 1590 */ 120, 120, 28, 120, 120, 31, 32, 33, 120, 120, /* 1600 */ 36, 120, 120, 120, 120, 120, 82, 120, 120, 120, /* 1610 */ 86, 120, 88, 89, 50, 91, 120, 53, 54, 55, /* 1620 */ 56, 57, 98, 99, 60, 61, 102, 103, 120, 105, /* 1630 */ 15, 120, 17, 18, 120, 120, 21, 120, 23, 75, /* 1640 */ 120, 120, 120, 28, 120, 120, 31, 32, 33, 120, /* 1650 */ 120, 36, 120, 120, 120, 120, 120, 82, 120, 120, /* 1660 */ 120, 86, 120, 88, 89, 50, 91, 120, 53, 54, /* 1670 */ 55, 56, 57, 98, 99, 60, 120, 102, 103, 120, /* 1680 */ 105, 15, 120, 17, 18, 120, 120, 21, 120, 23, /* 1690 */ 75, 120, 120, 120, 28, 120, 120, 31, 32, 33, /* 1700 */ 16, 120, 36, 120, 120, 120, 22, 120, 24, 120, /* 1710 */ 26, 27, 120, 29, 120, 120, 50, 120, 34, 53, /* 1720 */ 54, 55, 56, 57, 120, 120, 60, 10, 120, 120, /* 1730 */ 120, 120, 15, 49, 50, 51, 120, 120, 21, 120, /* 1740 */ 23, 75, 58, 120, 120, 28, 62, 82, 31, 32, /* 1750 */ 1, 86, 120, 88, 89, 120, 91, 120, 120, 120, /* 1760 */ 76, 120, 120, 98, 99, 16, 120, 102, 103, 20, /* 1770 */ 105, 22, 120, 120, 120, 120, 120, 120, 120, 120, /* 1780 */ 82, 120, 120, 120, 86, 120, 88, 89, 120, 91, /* 1790 */ 120, 120, 75, 76, 77, 120, 98, 99, 120, 50, /* 1800 */ 102, 103, 82, 105, 120, 120, 86, 58, 88, 89, /* 1810 */ 120, 91, 120, 120, 120, 120, 120, 120, 98, 99, /* 1820 */ 120, 120, 102, 103, 82, 105, 120, 120, 86, 120, /* 1830 */ 88, 89, 120, 91, 120, 120, 120, 120, 120, 120, /* 1840 */ 98, 99, 120, 120, 102, 103, 82, 105, 120, 120, /* 1850 */ 86, 120, 88, 89, 120, 91, 120, 120, 87, 120, /* 1860 */ 120, 90, 98, 99, 120, 120, 102, 103, 97, 105, /* 1870 */ 82, 100, 101, 120, 86, 120, 88, 89, 120, 91, /* 1880 */ 120, 120, 120, 120, 113, 120, 98, 99, 120, 120, /* 1890 */ 102, 103, 82, 105, 120, 120, 86, 120, 88, 89, /* 1900 */ 120, 91, 120, 120, 120, 120, 120, 120, 98, 99, /* 1910 */ 120, 120, 102, 103, 82, 105, 120, 120, 86, 120, /* 1920 */ 88, 89, 120, 91, 120, 120, 120, 120, 120, 120, /* 1930 */ 98, 99, 120, 120, 102, 103, 82, 105, 120, 120, /* 1940 */ 86, 120, 88, 89, 120, 91, 120, 120, 120, 120, /* 1950 */ 120, 120, 98, 99, 120, 120, 102, 103, 87, 105, /* 1960 */ 82, 90, 120, 120, 86, 120, 88, 89, 97, 91, /* 1970 */ 120, 100, 101, 120, 120, 120, 98, 99, 120, 120, /* 1980 */ 102, 103, 82, 105, 113, 120, 86, 120, 88, 89, /* 1990 */ 120, 91, 120, 120, 120, 120, 120, 120, 98, 99, /* 2000 */ 120, 120, 102, 103, 82, 105, 120, 120, 86, 120, /* 2010 */ 88, 89, 120, 91, 120, 120, 120, 120, 120, 120, /* 2020 */ 98, 99, 120, 120, 102, 103, 82, 105, 120, 120, /* 2030 */ 86, 120, 88, 89, 120, 91, 120, 120, 120, 120, /* 2040 */ 120, 120, 98, 99, 120, 120, 102, 103, 87, 105, /* 2050 */ 82, 90, 120, 120, 86, 120, 88, 89, 97, 91, /* 2060 */ 120, 100, 101, 120, 120, 120, 98, 99, 120, 120, /* 2070 */ 102, 103, 82, 105, 113, 120, 86, 120, 88, 89, /* 2080 */ 120, 91, 120, 120, 120, 120, 120, 120, 98, 99, /* 2090 */ 120, 120, 102, 103, 82, 105, 120, 120, 86, 120, /* 2100 */ 88, 89, 120, 91, 120, 120, 120, 120, 120, 120, /* 2110 */ 98, 99, 120, 120, 102, 103, 82, 105, 120, 120, /* 2120 */ 86, 120, 88, 89, 120, 91, 120, 120, 120, 120, /* 2130 */ 120, 120, 98, 99, 120, 120, 102, 103, 87, 105, /* 2140 */ 82, 90, 120, 120, 86, 120, 88, 89, 97, 91, /* 2150 */ 120, 100, 101, 120, 120, 120, 98, 99, 120, 120, /* 2160 */ 102, 103, 82, 105, 113, 120, 86, 120, 88, 89, /* 2170 */ 120, 91, 120, 120, 120, 120, 120, 120, 98, 99, /* 2180 */ 120, 120, 102, 103, 82, 105, 120, 120, 86, 120, /* 2190 */ 88, 89, 120, 91, 120, 120, 120, 120, 120, 120, /* 2200 */ 98, 99, 120, 120, 102, 103, 82, 105, 120, 120, /* 2210 */ 86, 120, 88, 89, 120, 91, 120, 120, 120, 120, /* 2220 */ 120, 120, 98, 99, 120, 120, 102, 103, 87, 105, /* 2230 */ 82, 90, 120, 120, 86, 120, 88, 89, 97, 91, /* 2240 */ 120, 100, 101, 120, 120, 120, 98, 99, 120, 120, /* 2250 */ 102, 103, 82, 105, 113, 120, 86, 120, 88, 89, /* 2260 */ 120, 91, 120, 120, 120, 120, 120, 120, 98, 99, /* 2270 */ 120, 120, 102, 103, 82, 105, 120, 120, 86, 120, /* 2280 */ 88, 120, 120, 91, 82, 120, 120, 120, 86, 120, /* 2290 */ 88, 99, 120, 91, 102, 103, 120, 105, 120, 120, /* 2300 */ 120, 120, 120, 120, 102, 103, 82, 105, 120, 120, /* 2310 */ 86, 120, 88, 82, 120, 91, 120, 86, 120, 88, /* 2320 */ 120, 120, 91, 120, 120, 120, 102, 103, 120, 105, /* 2330 */ 120, 120, 120, 102, 103, 82, 105, 120, 120, 86, /* 2340 */ 120, 88, 82, 120, 91, 120, 86, 120, 88, 120, /* 2350 */ 120, 91, 120, 120, 120, 102, 103, 120, 105, 120, /* 2360 */ 120, 120, 102, 103, 120, 105, 82, 120, 120, 120, /* 2370 */ 86, 120, 88, 82, 120, 91, 120, 86, 120, 88, /* 2380 */ 120, 120, 91, 120, 120, 120, 102, 103, 120, 105, /* 2390 */ 120, 120, 120, 102, 103, 120, 105, ); const YY_SHIFT_USE_DFLT = -32; const YY_SHIFT_MAX = 234; static public $yy_shift_ofst = array( /* 0 */ 1, 1513, 1258, 1258, 1258, 1462, 1513, 1105, 1258, 1258, /* 10 */ 1258, 1258, 1258, 1258, 1258, 1360, 1258, 1564, 1258, 1258, /* 20 */ 1258, 1258, 1258, 1258, 1258, 1258, 1258, 1411, 1258, 1258, /* 30 */ 1258, 1258, 1156, 1258, 1207, 1258, 1258, 1411, 1258, 1258, /* 40 */ 1360, 1258, 1309, 1309, 1666, 1666, 1615, 1666, 1666, 1666, /* 50 */ 1666, 221, 73, -1, 147, 683, 683, 683, 609, 805, /* 60 */ 879, 487, 317, 953, 269, 391, 439, 561, 731, 1001, /* 70 */ 1001, 1001, 1001, 1001, 1001, 1001, 1001, 1001, 1001, 1001, /* 80 */ 1001, 1001, 1001, 1001, 1001, 1001, 1001, 1041, 1041, 1749, /* 90 */ 59, 445, 1, 1717, 552, 220, 109, 450, 109, 388, /* 100 */ 264, 445, 445, 445, 563, 44, 181, 115, -2, 255, /* 110 */ 145, 523, 143, 283, 405, 333, 601, 595, 333, 283, /* 120 */ 333, 333, 333, 333, 333, 455, 501, 333, 453, 333, /* 130 */ 455, 649, 645, 648, 643, 643, 83, 189, 257, 116, /* 140 */ 306, 355, 281, 359, 280, 116, 39, 304, 526, 425, /* 150 */ 525, 527, 559, 549, 524, 116, 477, 478, 116, 350, /* 160 */ 522, 357, 598, 476, 499, 426, 116, 643, 656, 711, /* 170 */ 347, 711, 710, 643, 643, 649, 690, 690, -32, -32, /* 180 */ -32, -32, 1684, 110, 89, 1127, -31, 354, 151, 353, /* 190 */ 403, 178, 230, 174, 567, 0, 363, 363, 149, 344, /* 200 */ 365, 193, 273, 316, 47, 625, 555, 556, 537, 542, /* 210 */ 545, 504, 575, 551, 623, 558, 597, 605, 620, 488, /* 220 */ 511, 347, 370, 380, 323, 136, 205, 427, 428, 500, /* 230 */ 498, 480, 496, 493, 187, ); const YY_REDUCE_USE_DFLT = -89; const YY_REDUCE_MAX = 181; static public $yy_reduce_ofst = array( /* 0 */ 8, 1116, 68, 312, 142, -6, 1167, 2012, 1968, 1990, /* 10 */ 604, 1422, 873, 1371, 1218, 1269, 1320, 725, 1900, 1944, /* 20 */ 2102, 2080, 1922, 1665, 1524, 1878, 1788, 799, 1810, 1832, /* 30 */ 1854, 1764, 1742, 1473, 1575, 1720, 1698, 2034, 2148, 2170, /* 40 */ 2124, 2058, 2192, 1043, 2231, 2224, 2253, 2260, 2291, 2202, /* 50 */ 2284, 479, 2051, 2141, 1771, 479, 1871, 1961, 305, 305, /* 60 */ 305, 305, 305, 305, 305, 305, 305, 305, 305, 305, /* 70 */ 305, 305, 305, 305, 305, 305, 305, 305, 305, 305, /* 80 */ 305, 305, 305, 305, 305, 305, 305, 305, 305, 65, /* 90 */ 38, 139, -80, -65, 607, 602, -3, 186, 600, 169, /* 100 */ 239, 356, 404, 232, 579, 168, 592, -78, 647, 647, /* 110 */ -32, 646, -78, 135, 482, 482, -32, 571, 528, 508, /* 120 */ 730, 727, 215, 791, 759, 724, 482, 650, 606, 723, /* 130 */ 482, 254, 694, 693, -32, 66, 557, 557, 560, 536, /* 140 */ 565, 565, 565, 585, 565, 536, 565, 565, 565, 565, /* 150 */ 565, 565, 565, 565, 565, 536, 565, 565, 536, 565, /* 160 */ 565, 565, 565, 565, 565, 565, 536, 554, 633, 622, /* 170 */ 610, 622, 583, 554, 554, 644, 641, 591, 382, 43, /* 180 */ 17, -88, ); static public $yyExpectedTokens = array( /* 0 */ array(3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 15, 21, 23, 28, 31, 32, ), /* 1 */ array(15, 17, 18, 21, 23, 28, 31, 32, 33, 36, 50, 53, 54, 55, 56, 57, 60, 61, 75, ), /* 2 */ array(15, 17, 18, 21, 23, 28, 31, 32, 33, 36, 50, 53, 54, 55, 56, 57, 60, 61, 75, ), /* 3 */ array(15, 17, 18, 21, 23, 28, 31, 32, 33, 36, 50, 53, 54, 55, 56, 57, 60, 61, 75, ), /* 4 */ array(15, 17, 18, 21, 23, 28, 31, 32, 33, 36, 50, 53, 54, 55, 56, 57, 60, 61, 75, ), /* 5 */ array(15, 17, 18, 21, 23, 28, 31, 32, 33, 36, 50, 53, 54, 55, 56, 57, 60, 61, 75, ), /* 6 */ array(15, 17, 18, 21, 23, 28, 31, 32, 33, 36, 50, 53, 54, 55, 56, 57, 60, 61, 75, ), /* 7 */ array(15, 17, 18, 21, 23, 28, 31, 32, 33, 36, 50, 53, 54, 55, 56, 57, 60, 61, 62, 75, ), /* 8 */ array(15, 17, 18, 21, 23, 28, 31, 32, 33, 36, 50, 53, 54, 55, 56, 57, 60, 61, 75, ), /* 9 */ array(15, 17, 18, 21, 23, 28, 31, 32, 33, 36, 50, 53, 54, 55, 56, 57, 60, 61, 75, ), /* 10 */ array(15, 17, 18, 21, 23, 28, 31, 32, 33, 36, 50, 53, 54, 55, 56, 57, 60, 61, 75, ), /* 11 */ array(15, 17, 18, 21, 23, 28, 31, 32, 33, 36, 50, 53, 54, 55, 56, 57, 60, 61, 75, ), /* 12 */ array(15, 17, 18, 21, 23, 28, 31, 32, 33, 36, 50, 53, 54, 55, 56, 57, 60, 61, 75, ), /* 13 */ array(15, 17, 18, 21, 23, 28, 31, 32, 33, 36, 50, 53, 54, 55, 56, 57, 60, 61, 75, ), /* 14 */ array(15, 17, 18, 21, 23, 28, 31, 32, 33, 36, 50, 53, 54, 55, 56, 57, 60, 61, 75, ), /* 15 */ array(15, 17, 18, 21, 23, 28, 31, 32, 33, 36, 50, 53, 54, 55, 56, 57, 60, 61, 75, ), /* 16 */ array(15, 17, 18, 21, 23, 28, 31, 32, 33, 36, 50, 53, 54, 55, 56, 57, 60, 61, 75, ), /* 17 */ array(15, 17, 18, 21, 23, 28, 31, 32, 33, 36, 50, 53, 54, 55, 56, 57, 60, 61, 75, ), /* 18 */ array(15, 17, 18, 21, 23, 28, 31, 32, 33, 36, 50, 53, 54, 55, 56, 57, 60, 61, 75, ), /* 19 */ array(15, 17, 18, 21, 23, 28, 31, 32, 33, 36, 50, 53, 54, 55, 56, 57, 60, 61, 75, ), /* 20 */ array(15, 17, 18, 21, 23, 28, 31, 32, 33, 36, 50, 53, 54, 55, 56, 57, 60, 61, 75, ), /* 21 */ array(15, 17, 18, 21, 23, 28, 31, 32, 33, 36, 50, 53, 54, 55, 56, 57, 60, 61, 75, ), /* 22 */ array(15, 17, 18, 21, 23, 28, 31, 32, 33, 36, 50, 53, 54, 55, 56, 57, 60, 61, 75, ), /* 23 */ array(15, 17, 18, 21, 23, 28, 31, 32, 33, 36, 50, 53, 54, 55, 56, 57, 60, 61, 75, ), /* 24 */ array(15, 17, 18, 21, 23, 28, 31, 32, 33, 36, 50, 53, 54, 55, 56, 57, 60, 61, 75, ), /* 25 */ array(15, 17, 18, 21, 23, 28, 31, 32, 33, 36, 50, 53, 54, 55, 56, 57, 60, 61, 75, ), /* 26 */ array(15, 17, 18, 21, 23, 28, 31, 32, 33, 36, 50, 53, 54, 55, 56, 57, 60, 61, 75, ), /* 27 */ array(15, 17, 18, 21, 23, 28, 31, 32, 33, 36, 50, 53, 54, 55, 56, 57, 60, 61, 75, ), /* 28 */ array(15, 17, 18, 21, 23, 28, 31, 32, 33, 36, 50, 53, 54, 55, 56, 57, 60, 61, 75, ), /* 29 */ array(15, 17, 18, 21, 23, 28, 31, 32, 33, 36, 50, 53, 54, 55, 56, 57, 60, 61, 75, ), /* 30 */ array(15, 17, 18, 21, 23, 28, 31, 32, 33, 36, 50, 53, 54, 55, 56, 57, 60, 61, 75, ), /* 31 */ array(15, 17, 18, 21, 23, 28, 31, 32, 33, 36, 50, 53, 54, 55, 56, 57, 60, 61, 75, ), /* 32 */ array(15, 17, 18, 21, 23, 28, 31, 32, 33, 36, 50, 53, 54, 55, 56, 57, 60, 61, 75, ), /* 33 */ array(15, 17, 18, 21, 23, 28, 31, 32, 33, 36, 50, 53, 54, 55, 56, 57, 60, 61, 75, ), /* 34 */ array(15, 17, 18, 21, 23, 28, 31, 32, 33, 36, 50, 53, 54, 55, 56, 57, 60, 61, 75, ), /* 35 */ array(15, 17, 18, 21, 23, 28, 31, 32, 33, 36, 50, 53, 54, 55, 56, 57, 60, 61, 75, ), /* 36 */ array(15, 17, 18, 21, 23, 28, 31, 32, 33, 36, 50, 53, 54, 55, 56, 57, 60, 61, 75, ), /* 37 */ array(15, 17, 18, 21, 23, 28, 31, 32, 33, 36, 50, 53, 54, 55, 56, 57, 60, 61, 75, ), /* 38 */ array(15, 17, 18, 21, 23, 28, 31, 32, 33, 36, 50, 53, 54, 55, 56, 57, 60, 61, 75, ), /* 39 */ array(15, 17, 18, 21, 23, 28, 31, 32, 33, 36, 50, 53, 54, 55, 56, 57, 60, 61, 75, ), /* 40 */ array(15, 17, 18, 21, 23, 28, 31, 32, 33, 36, 50, 53, 54, 55, 56, 57, 60, 61, 75, ), /* 41 */ array(15, 17, 18, 21, 23, 28, 31, 32, 33, 36, 50, 53, 54, 55, 56, 57, 60, 61, 75, ), /* 42 */ array(15, 17, 18, 21, 23, 28, 31, 32, 33, 36, 50, 53, 54, 55, 56, 57, 60, 61, 75, ), /* 43 */ array(15, 17, 18, 21, 23, 28, 31, 32, 33, 36, 50, 53, 54, 55, 56, 57, 60, 61, 75, ), /* 44 */ array(15, 17, 18, 21, 23, 28, 31, 32, 33, 36, 50, 53, 54, 55, 56, 57, 60, 75, ), /* 45 */ array(15, 17, 18, 21, 23, 28, 31, 32, 33, 36, 50, 53, 54, 55, 56, 57, 60, 75, ), /* 46 */ array(15, 17, 18, 21, 23, 28, 31, 32, 33, 36, 50, 53, 54, 55, 56, 57, 60, 75, ), /* 47 */ array(15, 17, 18, 21, 23, 28, 31, 32, 33, 36, 50, 53, 54, 55, 56, 57, 60, 75, ), /* 48 */ array(15, 17, 18, 21, 23, 28, 31, 32, 33, 36, 50, 53, 54, 55, 56, 57, 60, 75, ), /* 49 */ array(15, 17, 18, 21, 23, 28, 31, 32, 33, 36, 50, 53, 54, 55, 56, 57, 60, 75, ), /* 50 */ array(15, 17, 18, 21, 23, 28, 31, 32, 33, 36, 50, 53, 54, 55, 56, 57, 60, 75, ), /* 51 */ array(1, 16, 22, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, ), /* 52 */ array(1, 22, 27, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, ), /* 53 */ array(1, 16, 22, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, ), /* 54 */ array(1, 16, 22, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, ), /* 55 */ array(1, 22, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, ), /* 56 */ array(1, 22, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, ), /* 57 */ array(1, 22, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, ), /* 58 */ array(1, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 51, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, ), /* 59 */ array(1, 16, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, ), /* 60 */ array(1, 16, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, ), /* 61 */ array(1, 2, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, ), /* 62 */ array(1, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 76, ), /* 63 */ array(1, 16, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, ), /* 64 */ array(1, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, ), /* 65 */ array(1, 16, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, ), /* 66 */ array(1, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 51, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, ), /* 67 */ array(1, 24, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, ), /* 68 */ array(1, 29, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, ), /* 69 */ array(1, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, ), /* 70 */ array(1, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, ), /* 71 */ array(1, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, ), /* 72 */ array(1, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, ), /* 73 */ array(1, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, ), /* 74 */ array(1, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, ), /* 75 */ array(1, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, ), /* 76 */ array(1, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, ), /* 77 */ array(1, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, ), /* 78 */ array(1, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, ), /* 79 */ array(1, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, ), /* 80 */ array(1, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, ), /* 81 */ array(1, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, ), /* 82 */ array(1, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, ), /* 83 */ array(1, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, ), /* 84 */ array(1, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, ), /* 85 */ array(1, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, ), /* 86 */ array(1, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, ), /* 87 */ array(35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, ), /* 88 */ array(35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, ), /* 89 */ array(1, 16, 20, 22, 50, 58, ), /* 90 */ array(1, 16, 20, 22, ), /* 91 */ array(1, 22, ), /* 92 */ array(3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 15, 21, 23, 28, 31, 32, ), /* 93 */ array(10, 15, 21, 23, 28, 31, 32, 75, 76, 77, ), /* 94 */ array(15, 18, 22, 30, ), /* 95 */ array(15, 18, 22, 30, ), /* 96 */ array(15, 18, 22, ), /* 97 */ array(1, 16, 22, ), /* 98 */ array(15, 18, 22, ), /* 99 */ array(20, 56, 61, ), /* 100 */ array(17, 18, 60, ), /* 101 */ array(1, 22, ), /* 102 */ array(1, 22, ), /* 103 */ array(1, 22, ), /* 104 */ array(10, 15, 21, 23, 28, 31, 32, 75, 76, 77, ), /* 105 */ array(4, 5, 6, 7, 8, 12, 13, 14, ), /* 106 */ array(15, 18, 19, 25, ), /* 107 */ array(15, 18, 19, 59, ), /* 108 */ array(16, 22, 25, ), /* 109 */ array(16, 22, 25, ), /* 110 */ array(19, 20, 58, ), /* 111 */ array(16, 22, 49, ), /* 112 */ array(15, 18, 59, ), /* 113 */ array(17, 18, ), /* 114 */ array(15, 18, ), /* 115 */ array(15, 18, ), /* 116 */ array(20, 58, ), /* 117 */ array(16, 22, ), /* 118 */ array(15, 18, ), /* 119 */ array(17, 18, ), /* 120 */ array(15, 18, ), /* 121 */ array(15, 18, ), /* 122 */ array(15, 18, ), /* 123 */ array(15, 18, ), /* 124 */ array(15, 18, ), /* 125 */ array(15, 18, ), /* 126 */ array(15, 18, ), /* 127 */ array(15, 18, ), /* 128 */ array(15, 18, ), /* 129 */ array(15, 18, ), /* 130 */ array(15, 18, ), /* 131 */ array(17, ), /* 132 */ array(22, ), /* 133 */ array(22, ), /* 134 */ array(20, ), /* 135 */ array(20, ), /* 136 */ array(15, 18, 19, ), /* 137 */ array(15, 18, 59, ), /* 138 */ array(15, 17, 18, ), /* 139 */ array(56, 61, ), /* 140 */ array(16, 22, ), /* 141 */ array(16, 22, ), /* 142 */ array(16, 22, ), /* 143 */ array(15, 50, ), /* 144 */ array(16, 22, ), /* 145 */ array(56, 61, ), /* 146 */ array(16, 22, ), /* 147 */ array(16, 22, ), /* 148 */ array(16, 22, ), /* 149 */ array(16, 22, ), /* 150 */ array(16, 22, ), /* 151 */ array(16, 22, ), /* 152 */ array(16, 22, ), /* 153 */ array(16, 22, ), /* 154 */ array(16, 22, ), /* 155 */ array(56, 61, ), /* 156 */ array(16, 22, ), /* 157 */ array(16, 22, ), /* 158 */ array(56, 61, ), /* 159 */ array(16, 22, ), /* 160 */ array(16, 22, ), /* 161 */ array(16, 22, ), /* 162 */ array(16, 22, ), /* 163 */ array(16, 22, ), /* 164 */ array(16, 22, ), /* 165 */ array(16, 22, ), /* 166 */ array(56, 61, ), /* 167 */ array(20, ), /* 168 */ array(13, ), /* 169 */ array(2, ), /* 170 */ array(50, ), /* 171 */ array(2, ), /* 172 */ array(1, ), /* 173 */ array(20, ), /* 174 */ array(20, ), /* 175 */ array(17, ), /* 176 */ array(22, ), /* 177 */ array(22, ), /* 178 */ array(), /* 179 */ array(), /* 180 */ array(), /* 181 */ array(), /* 182 */ array(16, 22, 24, 26, 27, 29, 34, 49, 50, 51, 58, 62, 76, ), /* 183 */ array(16, 19, 22, 50, 58, ), /* 184 */ array(15, 17, 18, 33, ), /* 185 */ array(16, 22, 29, 49, ), /* 186 */ array(50, 56, 58, 62, ), /* 187 */ array(16, 22, 50, 58, ), /* 188 */ array(30, 50, 58, ), /* 189 */ array(16, 22, 49, ), /* 190 */ array(16, 22, 49, ), /* 191 */ array(19, 56, ), /* 192 */ array(2, 19, ), /* 193 */ array(34, 51, ), /* 194 */ array(16, 49, ), /* 195 */ array(18, 59, ), /* 196 */ array(50, 58, ), /* 197 */ array(50, 58, ), /* 198 */ array(30, 49, ), /* 199 */ array(24, 34, ), /* 200 */ array(34, 51, ), /* 201 */ array(34, 62, ), /* 202 */ array(25, 76, ), /* 203 */ array(34, 51, ), /* 204 */ array(56, ), /* 205 */ array(17, ), /* 206 */ array(33, ), /* 207 */ array(33, ), /* 208 */ array(50, ), /* 209 */ array(26, ), /* 210 */ array(18, ), /* 211 */ array(60, ), /* 212 */ array(18, ), /* 213 */ array(62, ), /* 214 */ array(18, ), /* 215 */ array(60, ), /* 216 */ array(18, ), /* 217 */ array(17, ), /* 218 */ array(17, ), /* 219 */ array(49, ), /* 220 */ array(25, ), /* 221 */ array(50, ), /* 222 */ array(52, ), /* 223 */ array(16, ), /* 224 */ array(2, ), /* 225 */ array(17, ), /* 226 */ array(18, ), /* 227 */ array(18, ), /* 228 */ array(22, ), /* 229 */ array(18, ), /* 230 */ array(22, ), /* 231 */ array(17, ), /* 232 */ array(18, ), /* 233 */ array(2, ), /* 234 */ array(18, ), /* 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(), /* 365 */ array(), /* 366 */ array(), /* 367 */ array(), /* 368 */ array(), /* 369 */ array(), /* 370 */ array(), /* 371 */ array(), /* 372 */ array(), /* 373 */ array(), /* 374 */ array(), ); static public $yy_default = array( /* 0 */ 378, 554, 525, 525, 525, 571, 571, 571, 571, 571, /* 10 */ 571, 571, 571, 571, 571, 571, 571, 571, 571, 571, /* 20 */ 571, 571, 571, 571, 571, 571, 571, 571, 571, 571, /* 30 */ 571, 571, 571, 571, 571, 571, 571, 571, 571, 571, /* 40 */ 571, 571, 571, 571, 571, 571, 571, 571, 571, 571, /* 50 */ 571, 571, 436, 571, 571, 436, 436, 436, 571, 571, /* 60 */ 571, 571, 571, 571, 571, 571, 571, 571, 441, 524, /* 70 */ 455, 441, 438, 458, 555, 464, 467, 556, 557, 468, /* 80 */ 463, 443, 446, 459, 420, 460, 523, 472, 471, 483, /* 90 */ 571, 436, 375, 571, 436, 436, 436, 454, 436, 537, /* 100 */ 571, 436, 436, 436, 571, 571, 571, 498, 473, 473, /* 110 */ 491, 447, 498, 571, 571, 571, 491, 571, 571, 571, /* 120 */ 571, 571, 498, 571, 571, 571, 571, 571, 571, 571, /* 130 */ 571, 571, 436, 436, 491, 534, 571, 499, 571, 515, /* 140 */ 571, 571, 571, 498, 571, 518, 571, 571, 571, 571, /* 150 */ 571, 571, 571, 571, 571, 496, 571, 571, 517, 571, /* 160 */ 571, 571, 571, 571, 571, 571, 516, 512, 393, 527, /* 170 */ 498, 526, 454, 535, 538, 571, 570, 570, 531, 498, /* 180 */ 498, 531, 449, 483, 571, 447, 483, 483, 483, 447, /* 190 */ 447, 479, 510, 571, 447, 571, 483, 469, 447, 571, /* 200 */ 571, 571, 473, 571, 479, 571, 481, 571, 536, 444, /* 210 */ 571, 571, 571, 571, 571, 571, 571, 571, 571, 447, /* 220 */ 473, 510, 485, 571, 510, 571, 571, 571, 571, 571, /* 230 */ 571, 571, 571, 510, 571, 507, 445, 422, 451, 553, /* 240 */ 376, 552, 551, 569, 421, 418, 520, 470, 519, 561, /* 250 */ 423, 503, 506, 495, 494, 485, 521, 532, 511, 505, /* 260 */ 427, 522, 417, 433, 533, 450, 504, 428, 550, 430, /* 270 */ 429, 431, 432, 530, 510, 509, 419, 435, 424, 425, /* 280 */ 426, 477, 474, 449, 448, 492, 497, 500, 488, 482, /* 290 */ 475, 476, 478, 480, 416, 415, 386, 385, 387, 388, /* 300 */ 389, 384, 383, 379, 377, 380, 381, 382, 390, 391, /* 310 */ 400, 399, 401, 402, 434, 398, 397, 392, 394, 395, /* 320 */ 396, 508, 501, 406, 566, 407, 408, 409, 405, 404, /* 330 */ 493, 490, 514, 403, 565, 513, 410, 563, 560, 562, /* 340 */ 564, 567, 559, 558, 411, 412, 414, 413, 453, 549, /* 350 */ 486, 457, 487, 489, 461, 456, 529, 502, 452, 484, /* 360 */ 528, 462, 465, 545, 544, 546, 547, 548, 543, 542, /* 370 */ 466, 539, 540, 541, 568, ); const YYNOCODE = 121; const YYSTACKDEPTH = 100; const YYNSTATE = 375; const YYNRULE = 196; const YYERRORSYMBOL = 78; 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', 'ASPSTARTTAG', 'ASPENDTAG', 'FAKEPHPSTARTTAG', 'XMLTAG', 'OTHER', 'LINEBREAK', 'LITERALSTART', 'LITERALEND', 'LITERAL', 'LDEL', 'RDEL', 'DOLLAR', 'ID', 'EQUAL', 'PTR', 'LDELIF', 'SPACE', 'LDELFOR', 'SEMICOLON', 'INCDEC', 'TO', 'STEP', 'LDELFOREACH', 'AS', 'APTR', 'SMARTYBLOCKCHILD', 'LDELSLASH', 'INTEGER', 'COMMA', 'MATH', 'UNIMATH', 'ANDSYM', 'ISIN', 'ISDIVBY', 'ISNOTDIVBY', 'ISEVEN', 'ISNOTEVEN', 'ISEVENBY', 'ISNOTEVENBY', 'ISODD', 'ISNOTODD', 'ISODDBY', 'ISNOTODDBY', 'INSTANCEOF', 'OPENP', 'CLOSEP', 'QMARK', 'NOT', 'TYPECAST', 'HEX', 'DOT', 'SINGLEQUOTESTRING', 'DOUBLECOLON', 'AT', 'HATCH', 'OPENB', 'CLOSEB', 'EQUALS', 'NOTEQUALS', 'GREATERTHAN', 'LESSTHAN', 'GREATEREQUAL', 'LESSEQUAL', 'IDENTITY', 'NONEIDENTITY', 'MOD', 'LAND', 'LOR', 'LXOR', 'QUOTE', 'BACKTICK', 'DOLLARID', 'error', 'start', 'template', 'template_element', 'smartytag', 'literal', 'literal_elements', 'literal_element', 'value', 'attributes', 'variable', 'expr', 'modifierlist', 'varindexed', 'statement', 'statements', 'optspace', 'varvar', 'foraction', 'attribute', 'ternary', 'array', 'ifcond', 'lop', 'function', 'doublequoted_with_quotes', 'static_class_access', 'object', 'arrayindex', 'indexdef', 'varvarele', 'objectchain', 'objectelement', 'method', 'params', 'modifier', 'modparameters', 'modparameter', 'arrayelements', 'arrayelement', 'doublequoted', 'doublequotedcontent', ); static public $yyRuleName = array( /* 0 */ "start ::= template", /* 1 */ "template ::= template_element", /* 2 */ "template ::= template template_element", /* 3 */ "template ::=", /* 4 */ "template_element ::= smartytag", /* 5 */ "template_element ::= COMMENT", /* 6 */ "template_element ::= literal", /* 7 */ "template_element ::= PHPSTARTTAG", /* 8 */ "template_element ::= PHPENDTAG", /* 9 */ "template_element ::= ASPSTARTTAG", /* 10 */ "template_element ::= ASPENDTAG", /* 11 */ "template_element ::= FAKEPHPSTARTTAG", /* 12 */ "template_element ::= XMLTAG", /* 13 */ "template_element ::= OTHER", /* 14 */ "template_element ::= LINEBREAK", /* 15 */ "literal ::= LITERALSTART LITERALEND", /* 16 */ "literal ::= LITERALSTART literal_elements LITERALEND", /* 17 */ "literal_elements ::= literal_elements literal_element", /* 18 */ "literal_elements ::=", /* 19 */ "literal_element ::= literal", /* 20 */ "literal_element ::= LITERAL", /* 21 */ "literal_element ::= PHPSTARTTAG", /* 22 */ "literal_element ::= FAKEPHPSTARTTAG", /* 23 */ "literal_element ::= PHPENDTAG", /* 24 */ "literal_element ::= ASPSTARTTAG", /* 25 */ "literal_element ::= ASPENDTAG", /* 26 */ "smartytag ::= LDEL value RDEL", /* 27 */ "smartytag ::= LDEL value attributes RDEL", /* 28 */ "smartytag ::= LDEL variable attributes RDEL", /* 29 */ "smartytag ::= LDEL expr modifierlist attributes RDEL", /* 30 */ "smartytag ::= LDEL expr attributes RDEL", /* 31 */ "smartytag ::= LDEL DOLLAR ID EQUAL value RDEL", /* 32 */ "smartytag ::= LDEL DOLLAR ID EQUAL expr RDEL", /* 33 */ "smartytag ::= LDEL DOLLAR ID EQUAL expr attributes RDEL", /* 34 */ "smartytag ::= LDEL varindexed EQUAL expr attributes RDEL", /* 35 */ "smartytag ::= LDEL ID attributes RDEL", /* 36 */ "smartytag ::= LDEL ID RDEL", /* 37 */ "smartytag ::= LDEL ID PTR ID attributes RDEL", /* 38 */ "smartytag ::= LDEL ID modifierlist attributes RDEL", /* 39 */ "smartytag ::= LDEL ID PTR ID modifierlist attributes RDEL", /* 40 */ "smartytag ::= LDELIF SPACE expr RDEL", /* 41 */ "smartytag ::= LDELIF SPACE expr attributes RDEL", /* 42 */ "smartytag ::= LDELIF SPACE statement RDEL", /* 43 */ "smartytag ::= LDELIF SPACE statement attributes RDEL", /* 44 */ "smartytag ::= LDELFOR SPACE statements SEMICOLON optspace expr SEMICOLON optspace DOLLAR varvar foraction attributes RDEL", /* 45 */ "foraction ::= EQUAL expr", /* 46 */ "foraction ::= INCDEC", /* 47 */ "smartytag ::= LDELFOR SPACE statement TO expr attributes RDEL", /* 48 */ "smartytag ::= LDELFOR SPACE statement TO expr STEP expr attributes RDEL", /* 49 */ "smartytag ::= LDELFOREACH attributes RDEL", /* 50 */ "smartytag ::= LDELFOREACH SPACE value AS DOLLAR varvar attributes RDEL", /* 51 */ "smartytag ::= LDELFOREACH SPACE value AS DOLLAR varvar APTR DOLLAR varvar attributes RDEL", /* 52 */ "smartytag ::= LDELFOREACH SPACE expr AS DOLLAR varvar attributes RDEL", /* 53 */ "smartytag ::= LDELFOREACH SPACE expr AS DOLLAR varvar APTR DOLLAR varvar attributes RDEL", /* 54 */ "smartytag ::= SMARTYBLOCKCHILD", /* 55 */ "smartytag ::= LDELSLASH ID RDEL", /* 56 */ "smartytag ::= LDELSLASH ID attributes RDEL", /* 57 */ "smartytag ::= LDELSLASH ID modifierlist attributes RDEL", /* 58 */ "smartytag ::= LDELSLASH ID PTR ID RDEL", /* 59 */ "attributes ::= attributes attribute", /* 60 */ "attributes ::= attribute", /* 61 */ "attributes ::=", /* 62 */ "attribute ::= SPACE ID EQUAL ID", /* 63 */ "attribute ::= SPACE ID EQUAL expr", /* 64 */ "attribute ::= SPACE ID EQUAL value", /* 65 */ "attribute ::= SPACE ID", /* 66 */ "attribute ::= SPACE expr", /* 67 */ "attribute ::= SPACE value", /* 68 */ "attribute ::= SPACE INTEGER EQUAL expr", /* 69 */ "statements ::= statement", /* 70 */ "statements ::= statements COMMA statement", /* 71 */ "statement ::= DOLLAR varvar EQUAL expr", /* 72 */ "expr ::= value", /* 73 */ "expr ::= ternary", /* 74 */ "expr ::= DOLLAR ID COLON ID", /* 75 */ "expr ::= expr MATH value", /* 76 */ "expr ::= expr UNIMATH value", /* 77 */ "expr ::= expr ANDSYM value", /* 78 */ "expr ::= array", /* 79 */ "expr ::= expr modifierlist", /* 80 */ "expr ::= expr ifcond expr", /* 81 */ "expr ::= expr ISIN array", /* 82 */ "expr ::= expr ISIN value", /* 83 */ "expr ::= expr lop expr", /* 84 */ "expr ::= expr ISDIVBY expr", /* 85 */ "expr ::= expr ISNOTDIVBY expr", /* 86 */ "expr ::= expr ISEVEN", /* 87 */ "expr ::= expr ISNOTEVEN", /* 88 */ "expr ::= expr ISEVENBY expr", /* 89 */ "expr ::= expr ISNOTEVENBY expr", /* 90 */ "expr ::= expr ISODD", /* 91 */ "expr ::= expr ISNOTODD", /* 92 */ "expr ::= expr ISODDBY expr", /* 93 */ "expr ::= expr ISNOTODDBY expr", /* 94 */ "expr ::= value INSTANCEOF ID", /* 95 */ "expr ::= value INSTANCEOF value", /* 96 */ "ternary ::= OPENP expr CLOSEP QMARK DOLLAR ID COLON expr", /* 97 */ "ternary ::= OPENP expr CLOSEP QMARK expr COLON expr", /* 98 */ "value ::= variable", /* 99 */ "value ::= UNIMATH value", /* 100 */ "value ::= NOT value", /* 101 */ "value ::= TYPECAST value", /* 102 */ "value ::= variable INCDEC", /* 103 */ "value ::= HEX", /* 104 */ "value ::= INTEGER", /* 105 */ "value ::= INTEGER DOT INTEGER", /* 106 */ "value ::= INTEGER DOT", /* 107 */ "value ::= DOT INTEGER", /* 108 */ "value ::= ID", /* 109 */ "value ::= function", /* 110 */ "value ::= OPENP expr CLOSEP", /* 111 */ "value ::= SINGLEQUOTESTRING", /* 112 */ "value ::= doublequoted_with_quotes", /* 113 */ "value ::= ID DOUBLECOLON static_class_access", /* 114 */ "value ::= varindexed DOUBLECOLON static_class_access", /* 115 */ "value ::= smartytag", /* 116 */ "variable ::= varindexed", /* 117 */ "variable ::= DOLLAR varvar AT ID", /* 118 */ "variable ::= object", /* 119 */ "variable ::= HATCH ID HATCH", /* 120 */ "variable ::= HATCH variable HATCH", /* 121 */ "varindexed ::= DOLLAR varvar arrayindex", /* 122 */ "arrayindex ::= arrayindex indexdef", /* 123 */ "arrayindex ::=", /* 124 */ "indexdef ::= DOT DOLLAR varvar", /* 125 */ "indexdef ::= DOT DOLLAR varvar AT ID", /* 126 */ "indexdef ::= DOT ID", /* 127 */ "indexdef ::= DOT INTEGER", /* 128 */ "indexdef ::= DOT LDEL expr RDEL", /* 129 */ "indexdef ::= OPENB ID CLOSEB", /* 130 */ "indexdef ::= OPENB ID DOT ID CLOSEB", /* 131 */ "indexdef ::= OPENB expr CLOSEB", /* 132 */ "indexdef ::= OPENB CLOSEB", /* 133 */ "varvar ::= varvarele", /* 134 */ "varvar ::= varvar varvarele", /* 135 */ "varvarele ::= ID", /* 136 */ "varvarele ::= LDEL expr RDEL", /* 137 */ "object ::= varindexed objectchain", /* 138 */ "objectchain ::= objectelement", /* 139 */ "objectchain ::= objectchain objectelement", /* 140 */ "objectelement ::= PTR ID arrayindex", /* 141 */ "objectelement ::= PTR DOLLAR varvar arrayindex", /* 142 */ "objectelement ::= PTR LDEL expr RDEL arrayindex", /* 143 */ "objectelement ::= PTR ID LDEL expr RDEL arrayindex", /* 144 */ "objectelement ::= PTR method", /* 145 */ "function ::= ID OPENP params CLOSEP", /* 146 */ "method ::= ID OPENP params CLOSEP", /* 147 */ "method ::= DOLLAR ID OPENP params CLOSEP", /* 148 */ "params ::= params COMMA expr", /* 149 */ "params ::= expr", /* 150 */ "params ::=", /* 151 */ "modifierlist ::= modifierlist modifier modparameters", /* 152 */ "modifierlist ::= modifier modparameters", /* 153 */ "modifier ::= VERT AT ID", /* 154 */ "modifier ::= VERT ID", /* 155 */ "modparameters ::= modparameters modparameter", /* 156 */ "modparameters ::=", /* 157 */ "modparameter ::= COLON value", /* 158 */ "modparameter ::= COLON array", /* 159 */ "static_class_access ::= method", /* 160 */ "static_class_access ::= method objectchain", /* 161 */ "static_class_access ::= ID", /* 162 */ "static_class_access ::= DOLLAR ID arrayindex", /* 163 */ "static_class_access ::= DOLLAR ID arrayindex objectchain", /* 164 */ "ifcond ::= EQUALS", /* 165 */ "ifcond ::= NOTEQUALS", /* 166 */ "ifcond ::= GREATERTHAN", /* 167 */ "ifcond ::= LESSTHAN", /* 168 */ "ifcond ::= GREATEREQUAL", /* 169 */ "ifcond ::= LESSEQUAL", /* 170 */ "ifcond ::= IDENTITY", /* 171 */ "ifcond ::= NONEIDENTITY", /* 172 */ "ifcond ::= MOD", /* 173 */ "lop ::= LAND", /* 174 */ "lop ::= LOR", /* 175 */ "lop ::= LXOR", /* 176 */ "array ::= OPENB arrayelements CLOSEB", /* 177 */ "arrayelements ::= arrayelement", /* 178 */ "arrayelements ::= arrayelements COMMA arrayelement", /* 179 */ "arrayelements ::=", /* 180 */ "arrayelement ::= value APTR expr", /* 181 */ "arrayelement ::= ID APTR expr", /* 182 */ "arrayelement ::= expr", /* 183 */ "doublequoted_with_quotes ::= QUOTE QUOTE", /* 184 */ "doublequoted_with_quotes ::= QUOTE doublequoted QUOTE", /* 185 */ "doublequoted ::= doublequoted doublequotedcontent", /* 186 */ "doublequoted ::= doublequotedcontent", /* 187 */ "doublequotedcontent ::= BACKTICK variable BACKTICK", /* 188 */ "doublequotedcontent ::= BACKTICK expr BACKTICK", /* 189 */ "doublequotedcontent ::= DOLLARID", /* 190 */ "doublequotedcontent ::= LDEL variable RDEL", /* 191 */ "doublequotedcontent ::= LDEL expr RDEL", /* 192 */ "doublequotedcontent ::= smartytag", /* 193 */ "doublequotedcontent ::= OTHER", /* 194 */ "optspace ::= SPACE", /* 195 */ "optspace ::=", ); function tokenName($tokenType) { if ($tokenType === 0) { return 'End of Input'; } if ($tokenType > 0 && $tokenType < count($this->yyTokenName)) { return $this->yyTokenName[$tokenType]; } else { return "Unknown"; } } static function yy_destructor($yymajor, $yypminor) { switch ($yymajor) { default: break; /* If no destructor action specified: do nothing */ } } function yy_pop_parser_stack() { if (!count($this->yystack)) { return; } $yytos = array_pop($this->yystack); if (self::$yyTraceFILE && $this->yyidx >= 0) { fwrite(self::$yyTraceFILE, self::$yyTracePrompt . 'Popping ' . $this->yyTokenName[$yytos->major] . "\n"); } $yymajor = $yytos->major; self::yy_destructor($yymajor, $yytos->minor); $this->yyidx--; return $yymajor; } function __destruct() { while ($this->yystack !== Array()) { $this->yy_pop_parser_stack(); } if (is_resource(self::$yyTraceFILE)) { fclose(self::$yyTraceFILE); } } function yy_get_expected_tokens($token) { $state = $this->yystack[$this->yyidx]->stateno; $expected = self::$yyExpectedTokens[$state]; if (in_array($token, self::$yyExpectedTokens[$state], true)) { return $expected; } $stack = $this->yystack; $yyidx = $this->yyidx; do { $yyact = $this->yy_find_shift_action($token); if ($yyact >= self::YYNSTATE && $yyact < self::YYNSTATE + self::YYNRULE) { // reduce action $done = 0; do { if ($done++ == 100) { $this->yyidx = $yyidx; $this->yystack = $stack; // too much recursion prevents proper detection // so give up return array_unique($expected); } $yyruleno = $yyact - self::YYNSTATE; $this->yyidx -= self::$yyRuleInfo[$yyruleno]['rhs']; $nextstate = $this->yy_find_reduce_action( $this->yystack[$this->yyidx]->stateno, self::$yyRuleInfo[$yyruleno]['lhs']); if (isset(self::$yyExpectedTokens[$nextstate])) { $expected = array_merge($expected, self::$yyExpectedTokens[$nextstate]); if (in_array($token, self::$yyExpectedTokens[$nextstate], true)) { $this->yyidx = $yyidx; $this->yystack = $stack; return array_unique($expected); } } if ($nextstate < self::YYNSTATE) { // we need to shift a non-terminal $this->yyidx++; $x = new TP_yyStackEntry; $x->stateno = $nextstate; $x->major = self::$yyRuleInfo[$yyruleno]['lhs']; $this->yystack[$this->yyidx] = $x; continue 2; } elseif ($nextstate == self::YYNSTATE + self::YYNRULE + 1) { $this->yyidx = $yyidx; $this->yystack = $stack; // the last token was just ignored, we can't accept // by ignoring input, this is in essence ignoring a // syntax error! return array_unique($expected); } elseif ($nextstate === self::YY_NO_ACTION) { $this->yyidx = $yyidx; $this->yystack = $stack; // input accepted, but not shifted (I guess) return $expected; } else { $yyact = $nextstate; } } while (true); } break; } while (true); $this->yyidx = $yyidx; $this->yystack = $stack; return array_unique($expected); } function yy_is_expected_token($token) { if ($token === 0) { return true; // 0 is not part of this } $state = $this->yystack[$this->yyidx]->stateno; if (in_array($token, self::$yyExpectedTokens[$state], true)) { return true; } $stack = $this->yystack; $yyidx = $this->yyidx; do { $yyact = $this->yy_find_shift_action($token); if ($yyact >= self::YYNSTATE && $yyact < self::YYNSTATE + self::YYNRULE) { // reduce action $done = 0; do { if ($done++ == 100) { $this->yyidx = $yyidx; $this->yystack = $stack; // too much recursion prevents proper detection // so give up return true; } $yyruleno = $yyact - self::YYNSTATE; $this->yyidx -= self::$yyRuleInfo[$yyruleno]['rhs']; $nextstate = $this->yy_find_reduce_action( $this->yystack[$this->yyidx]->stateno, self::$yyRuleInfo[$yyruleno]['lhs']); if (isset(self::$yyExpectedTokens[$nextstate]) && in_array($token, self::$yyExpectedTokens[$nextstate], true)) { $this->yyidx = $yyidx; $this->yystack = $stack; return true; } if ($nextstate < self::YYNSTATE) { // we need to shift a non-terminal $this->yyidx++; $x = new TP_yyStackEntry; $x->stateno = $nextstate; $x->major = self::$yyRuleInfo[$yyruleno]['lhs']; $this->yystack[$this->yyidx] = $x; continue 2; } elseif ($nextstate == self::YYNSTATE + self::YYNRULE + 1) { $this->yyidx = $yyidx; $this->yystack = $stack; if (!$token) { // end of input: this is valid return true; } // the last token was just ignored, we can't accept // by ignoring input, this is in essence ignoring a // syntax error! return false; } elseif ($nextstate === self::YY_NO_ACTION) { $this->yyidx = $yyidx; $this->yystack = $stack; // input accepted, but not shifted (I guess) return true; } else { $yyact = $nextstate; } } while (true); } break; } while (true); $this->yyidx = $yyidx; $this->yystack = $stack; return true; } function yy_find_shift_action($iLookAhead) { $stateno = $this->yystack[$this->yyidx]->stateno; /* if ($this->yyidx < 0) return self::YY_NO_ACTION; */ if (!isset(self::$yy_shift_ofst[$stateno])) { // no shift actions return self::$yy_default[$stateno]; } $i = self::$yy_shift_ofst[$stateno]; if ($i === self::YY_SHIFT_USE_DFLT) { return self::$yy_default[$stateno]; } if ($iLookAhead == self::YYNOCODE) { return self::YY_NO_ACTION; } $i += $iLookAhead; if ($i < 0 || $i >= self::YY_SZ_ACTTAB || self::$yy_lookahead[$i] != $iLookAhead) { if (count(self::$yyFallback) && $iLookAhead < count(self::$yyFallback) && ($iFallback = self::$yyFallback[$iLookAhead]) != 0) { if (self::$yyTraceFILE) { fwrite(self::$yyTraceFILE, self::$yyTracePrompt . "FALLBACK " . $this->yyTokenName[$iLookAhead] . " => " . $this->yyTokenName[$iFallback] . "\n"); } return $this->yy_find_shift_action($iFallback); } return self::$yy_default[$stateno]; } else { return self::$yy_action[$i]; } } function yy_find_reduce_action($stateno, $iLookAhead) { /* $stateno = $this->yystack[$this->yyidx]->stateno; */ if (!isset(self::$yy_reduce_ofst[$stateno])) { return self::$yy_default[$stateno]; } $i = self::$yy_reduce_ofst[$stateno]; if ($i == self::YY_REDUCE_USE_DFLT) { return self::$yy_default[$stateno]; } if ($iLookAhead == self::YYNOCODE) { return self::YY_NO_ACTION; } $i += $iLookAhead; if ($i < 0 || $i >= self::YY_SZ_ACTTAB || self::$yy_lookahead[$i] != $iLookAhead) { return self::$yy_default[$stateno]; } else { return self::$yy_action[$i]; } } function yy_shift($yyNewState, $yyMajor, $yypMinor) { $this->yyidx++; if ($this->yyidx >= self::YYSTACKDEPTH) { $this->yyidx--; if (self::$yyTraceFILE) { fprintf(self::$yyTraceFILE, "%sStack Overflow!\n", self::$yyTracePrompt); } while ($this->yyidx >= 0) { $this->yy_pop_parser_stack(); } #line 84 "smarty_internal_templateparser.y" $this->internalError = true; $this->compiler->trigger_template_error("Stack overflow in template parser"); #line 1692 "smarty_internal_templateparser.php" return; } $yytos = new TP_yyStackEntry; $yytos->stateno = $yyNewState; $yytos->major = $yyMajor; $yytos->minor = $yypMinor; array_push($this->yystack, $yytos); if (self::$yyTraceFILE && $this->yyidx > 0) { fprintf(self::$yyTraceFILE, "%sShift %d\n", self::$yyTracePrompt, $yyNewState); fprintf(self::$yyTraceFILE, "%sStack:", self::$yyTracePrompt); for($i = 1; $i <= $this->yyidx; $i++) { fprintf(self::$yyTraceFILE, " %s", $this->yyTokenName[$this->yystack[$i]->major]); } fwrite(self::$yyTraceFILE,"\n"); } } static public $yyRuleInfo = array( array( 'lhs' => 79, 'rhs' => 1 ), array( 'lhs' => 80, 'rhs' => 1 ), array( 'lhs' => 80, 'rhs' => 2 ), array( 'lhs' => 80, 'rhs' => 0 ), array( 'lhs' => 81, 'rhs' => 1 ), array( 'lhs' => 81, 'rhs' => 1 ), array( 'lhs' => 81, 'rhs' => 1 ), array( 'lhs' => 81, 'rhs' => 1 ), array( 'lhs' => 81, 'rhs' => 1 ), array( 'lhs' => 81, 'rhs' => 1 ), array( 'lhs' => 81, 'rhs' => 1 ), array( 'lhs' => 81, 'rhs' => 1 ), array( 'lhs' => 81, 'rhs' => 1 ), array( 'lhs' => 81, 'rhs' => 1 ), array( 'lhs' => 81, 'rhs' => 1 ), array( 'lhs' => 83, 'rhs' => 2 ), array( 'lhs' => 83, 'rhs' => 3 ), array( 'lhs' => 84, 'rhs' => 2 ), array( 'lhs' => 84, 'rhs' => 0 ), array( 'lhs' => 85, 'rhs' => 1 ), array( 'lhs' => 85, 'rhs' => 1 ), array( 'lhs' => 85, 'rhs' => 1 ), array( 'lhs' => 85, 'rhs' => 1 ), array( 'lhs' => 85, 'rhs' => 1 ), array( 'lhs' => 85, 'rhs' => 1 ), array( 'lhs' => 85, 'rhs' => 1 ), array( 'lhs' => 82, 'rhs' => 3 ), array( 'lhs' => 82, 'rhs' => 4 ), array( 'lhs' => 82, 'rhs' => 4 ), array( 'lhs' => 82, 'rhs' => 5 ), array( 'lhs' => 82, 'rhs' => 4 ), array( 'lhs' => 82, 'rhs' => 6 ), array( 'lhs' => 82, 'rhs' => 6 ), array( 'lhs' => 82, 'rhs' => 7 ), array( 'lhs' => 82, 'rhs' => 6 ), array( 'lhs' => 82, 'rhs' => 4 ), array( 'lhs' => 82, 'rhs' => 3 ), array( 'lhs' => 82, 'rhs' => 6 ), array( 'lhs' => 82, 'rhs' => 5 ), array( 'lhs' => 82, 'rhs' => 7 ), array( 'lhs' => 82, 'rhs' => 4 ), array( 'lhs' => 82, 'rhs' => 5 ), array( 'lhs' => 82, 'rhs' => 4 ), array( 'lhs' => 82, 'rhs' => 5 ), array( 'lhs' => 82, 'rhs' => 13 ), array( 'lhs' => 96, 'rhs' => 2 ), array( 'lhs' => 96, 'rhs' => 1 ), array( 'lhs' => 82, 'rhs' => 7 ), array( 'lhs' => 82, 'rhs' => 9 ), array( 'lhs' => 82, 'rhs' => 3 ), array( 'lhs' => 82, 'rhs' => 8 ), array( 'lhs' => 82, 'rhs' => 11 ), array( 'lhs' => 82, 'rhs' => 8 ), array( 'lhs' => 82, 'rhs' => 11 ), array( 'lhs' => 82, 'rhs' => 1 ), array( 'lhs' => 82, 'rhs' => 3 ), array( 'lhs' => 82, 'rhs' => 4 ), array( 'lhs' => 82, 'rhs' => 5 ), array( 'lhs' => 82, 'rhs' => 5 ), array( 'lhs' => 87, 'rhs' => 2 ), array( 'lhs' => 87, 'rhs' => 1 ), array( 'lhs' => 87, 'rhs' => 0 ), array( 'lhs' => 97, 'rhs' => 4 ), array( 'lhs' => 97, 'rhs' => 4 ), array( 'lhs' => 97, 'rhs' => 4 ), array( 'lhs' => 97, 'rhs' => 2 ), array( 'lhs' => 97, 'rhs' => 2 ), array( 'lhs' => 97, 'rhs' => 2 ), array( 'lhs' => 97, 'rhs' => 4 ), array( 'lhs' => 93, 'rhs' => 1 ), array( 'lhs' => 93, 'rhs' => 3 ), array( 'lhs' => 92, 'rhs' => 4 ), array( 'lhs' => 89, 'rhs' => 1 ), array( 'lhs' => 89, 'rhs' => 1 ), array( 'lhs' => 89, 'rhs' => 4 ), array( 'lhs' => 89, 'rhs' => 3 ), array( 'lhs' => 89, 'rhs' => 3 ), array( 'lhs' => 89, 'rhs' => 3 ), array( 'lhs' => 89, 'rhs' => 1 ), array( 'lhs' => 89, 'rhs' => 2 ), array( 'lhs' => 89, 'rhs' => 3 ), array( 'lhs' => 89, 'rhs' => 3 ), array( 'lhs' => 89, 'rhs' => 3 ), array( 'lhs' => 89, 'rhs' => 3 ), array( 'lhs' => 89, 'rhs' => 3 ), array( 'lhs' => 89, 'rhs' => 3 ), array( 'lhs' => 89, 'rhs' => 2 ), array( 'lhs' => 89, 'rhs' => 2 ), array( 'lhs' => 89, 'rhs' => 3 ), array( 'lhs' => 89, 'rhs' => 3 ), array( 'lhs' => 89, 'rhs' => 2 ), array( 'lhs' => 89, 'rhs' => 2 ), array( 'lhs' => 89, 'rhs' => 3 ), array( 'lhs' => 89, 'rhs' => 3 ), array( 'lhs' => 89, 'rhs' => 3 ), array( 'lhs' => 89, 'rhs' => 3 ), array( 'lhs' => 98, 'rhs' => 8 ), array( 'lhs' => 98, 'rhs' => 7 ), array( 'lhs' => 86, 'rhs' => 1 ), array( 'lhs' => 86, 'rhs' => 2 ), array( 'lhs' => 86, 'rhs' => 2 ), array( 'lhs' => 86, 'rhs' => 2 ), array( 'lhs' => 86, 'rhs' => 2 ), array( 'lhs' => 86, 'rhs' => 1 ), array( 'lhs' => 86, 'rhs' => 1 ), array( 'lhs' => 86, 'rhs' => 3 ), array( 'lhs' => 86, 'rhs' => 2 ), array( 'lhs' => 86, 'rhs' => 2 ), array( 'lhs' => 86, 'rhs' => 1 ), array( 'lhs' => 86, 'rhs' => 1 ), array( 'lhs' => 86, 'rhs' => 3 ), array( 'lhs' => 86, 'rhs' => 1 ), array( 'lhs' => 86, 'rhs' => 1 ), array( 'lhs' => 86, 'rhs' => 3 ), array( 'lhs' => 86, 'rhs' => 3 ), array( 'lhs' => 86, 'rhs' => 1 ), array( 'lhs' => 88, 'rhs' => 1 ), array( 'lhs' => 88, 'rhs' => 4 ), array( 'lhs' => 88, 'rhs' => 1 ), array( 'lhs' => 88, 'rhs' => 3 ), array( 'lhs' => 88, 'rhs' => 3 ), array( 'lhs' => 91, 'rhs' => 3 ), array( 'lhs' => 106, 'rhs' => 2 ), array( 'lhs' => 106, 'rhs' => 0 ), array( 'lhs' => 107, 'rhs' => 3 ), array( 'lhs' => 107, 'rhs' => 5 ), array( 'lhs' => 107, 'rhs' => 2 ), array( 'lhs' => 107, 'rhs' => 2 ), array( 'lhs' => 107, 'rhs' => 4 ), array( 'lhs' => 107, 'rhs' => 3 ), array( 'lhs' => 107, 'rhs' => 5 ), array( 'lhs' => 107, 'rhs' => 3 ), array( 'lhs' => 107, 'rhs' => 2 ), array( 'lhs' => 95, 'rhs' => 1 ), array( 'lhs' => 95, 'rhs' => 2 ), array( 'lhs' => 108, 'rhs' => 1 ), array( 'lhs' => 108, 'rhs' => 3 ), array( 'lhs' => 105, 'rhs' => 2 ), array( 'lhs' => 109, 'rhs' => 1 ), array( 'lhs' => 109, 'rhs' => 2 ), array( 'lhs' => 110, 'rhs' => 3 ), array( 'lhs' => 110, 'rhs' => 4 ), array( 'lhs' => 110, 'rhs' => 5 ), array( 'lhs' => 110, 'rhs' => 6 ), array( 'lhs' => 110, 'rhs' => 2 ), array( 'lhs' => 102, 'rhs' => 4 ), array( 'lhs' => 111, 'rhs' => 4 ), array( 'lhs' => 111, 'rhs' => 5 ), array( 'lhs' => 112, 'rhs' => 3 ), array( 'lhs' => 112, 'rhs' => 1 ), array( 'lhs' => 112, 'rhs' => 0 ), array( 'lhs' => 90, 'rhs' => 3 ), array( 'lhs' => 90, 'rhs' => 2 ), array( 'lhs' => 113, 'rhs' => 3 ), array( 'lhs' => 113, 'rhs' => 2 ), array( 'lhs' => 114, 'rhs' => 2 ), array( 'lhs' => 114, 'rhs' => 0 ), array( 'lhs' => 115, 'rhs' => 2 ), array( 'lhs' => 115, 'rhs' => 2 ), array( 'lhs' => 104, 'rhs' => 1 ), array( 'lhs' => 104, 'rhs' => 2 ), array( 'lhs' => 104, 'rhs' => 1 ), array( 'lhs' => 104, 'rhs' => 3 ), array( 'lhs' => 104, 'rhs' => 4 ), array( 'lhs' => 100, 'rhs' => 1 ), array( 'lhs' => 100, 'rhs' => 1 ), array( 'lhs' => 100, 'rhs' => 1 ), array( 'lhs' => 100, 'rhs' => 1 ), array( 'lhs' => 100, 'rhs' => 1 ), array( 'lhs' => 100, 'rhs' => 1 ), array( 'lhs' => 100, 'rhs' => 1 ), array( 'lhs' => 100, 'rhs' => 1 ), array( 'lhs' => 100, 'rhs' => 1 ), array( 'lhs' => 101, 'rhs' => 1 ), array( 'lhs' => 101, 'rhs' => 1 ), array( 'lhs' => 101, 'rhs' => 1 ), array( 'lhs' => 99, 'rhs' => 3 ), array( 'lhs' => 116, 'rhs' => 1 ), array( 'lhs' => 116, 'rhs' => 3 ), array( 'lhs' => 116, 'rhs' => 0 ), array( 'lhs' => 117, 'rhs' => 3 ), array( 'lhs' => 117, 'rhs' => 3 ), array( 'lhs' => 117, 'rhs' => 1 ), array( 'lhs' => 103, 'rhs' => 2 ), array( 'lhs' => 103, 'rhs' => 3 ), array( 'lhs' => 118, 'rhs' => 2 ), array( 'lhs' => 118, 'rhs' => 1 ), array( 'lhs' => 119, 'rhs' => 3 ), array( 'lhs' => 119, 'rhs' => 3 ), array( 'lhs' => 119, 'rhs' => 1 ), array( 'lhs' => 119, 'rhs' => 3 ), array( 'lhs' => 119, 'rhs' => 3 ), array( 'lhs' => 119, 'rhs' => 1 ), array( 'lhs' => 119, 'rhs' => 1 ), array( 'lhs' => 94, 'rhs' => 1 ), array( 'lhs' => 94, 'rhs' => 0 ), ); static public $yyReduceMap = array( 0 => 0, 1 => 1, 2 => 1, 4 => 4, 5 => 5, 6 => 6, 7 => 7, 8 => 8, 9 => 9, 10 => 10, 11 => 11, 12 => 12, 13 => 13, 14 => 14, 15 => 15, 18 => 15, 16 => 16, 17 => 17, 99 => 17, 101 => 17, 102 => 17, 160 => 17, 19 => 19, 20 => 19, 72 => 19, 73 => 19, 98 => 19, 103 => 19, 104 => 19, 109 => 19, 111 => 19, 112 => 19, 118 => 19, 159 => 19, 177 => 19, 21 => 21, 22 => 21, 23 => 23, 24 => 24, 25 => 25, 26 => 26, 27 => 27, 28 => 27, 30 => 27, 29 => 29, 31 => 31, 32 => 31, 33 => 33, 34 => 34, 35 => 35, 36 => 36, 37 => 37, 38 => 38, 39 => 39, 40 => 40, 42 => 40, 41 => 41, 43 => 41, 44 => 44, 45 => 45, 46 => 46, 66 => 46, 67 => 46, 161 => 46, 182 => 46, 47 => 47, 48 => 48, 49 => 49, 50 => 50, 51 => 51, 52 => 52, 53 => 53, 54 => 54, 55 => 55, 56 => 56, 57 => 57, 58 => 58, 59 => 59, 60 => 60, 69 => 60, 149 => 60, 153 => 60, 61 => 61, 150 => 61, 62 => 62, 63 => 63, 64 => 63, 65 => 65, 68 => 68, 70 => 70, 71 => 71, 74 => 74, 75 => 75, 76 => 75, 77 => 75, 78 => 78, 133 => 78, 194 => 78, 79 => 79, 80 => 80, 83 => 80, 94 => 80, 81 => 81, 82 => 82, 84 => 84, 85 => 85, 86 => 86, 91 => 86, 87 => 87, 90 => 87, 88 => 88, 93 => 88, 89 => 89, 92 => 89, 95 => 95, 96 => 96, 97 => 97, 100 => 100, 105 => 105, 106 => 106, 107 => 107, 108 => 108, 110 => 110, 113 => 113, 114 => 114, 115 => 115, 116 => 116, 117 => 117, 119 => 119, 120 => 120, 121 => 121, 122 => 122, 123 => 123, 124 => 124, 125 => 125, 126 => 126, 127 => 127, 128 => 128, 131 => 128, 129 => 129, 130 => 130, 132 => 132, 134 => 134, 135 => 135, 136 => 136, 137 => 137, 138 => 138, 139 => 139, 140 => 140, 141 => 141, 142 => 142, 143 => 143, 144 => 144, 145 => 145, 146 => 146, 147 => 147, 148 => 148, 151 => 151, 152 => 152, 154 => 154, 155 => 155, 156 => 156, 157 => 157, 158 => 157, 162 => 162, 163 => 163, 164 => 164, 165 => 165, 166 => 166, 167 => 167, 168 => 168, 169 => 169, 170 => 170, 171 => 171, 172 => 172, 173 => 173, 174 => 174, 175 => 175, 176 => 176, 178 => 178, 179 => 179, 180 => 180, 181 => 181, 183 => 183, 184 => 184, 185 => 185, 186 => 186, 187 => 187, 188 => 187, 190 => 187, 189 => 189, 191 => 191, 192 => 192, 193 => 193, 195 => 195, ); #line 95 "smarty_internal_templateparser.y" function yy_r0(){ $this->_retvalue = $this->root_buffer->to_smarty_php(); } #line 2110 "smarty_internal_templateparser.php" #line 101 "smarty_internal_templateparser.y" function yy_r1(){ $this->current_buffer->append_subtree($this->yystack[$this->yyidx + 0]->minor); } #line 2113 "smarty_internal_templateparser.php" #line 113 "smarty_internal_templateparser.y" function yy_r4(){ if ($this->compiler->has_code) { $tmp =''; foreach ($this->compiler->prefix_code as $code) {$tmp.=$code;} $this->compiler->prefix_code=array(); $this->_retvalue = new _smarty_tag($this, $this->compiler->processNocacheCode($tmp.$this->yystack[$this->yyidx + 0]->minor,true)); } else { $this->_retvalue = new _smarty_tag($this, $this->yystack[$this->yyidx + 0]->minor); } $this->compiler->has_variable_string = false; $this->block_nesting_level = count($this->compiler->_tag_stack); } #line 2125 "smarty_internal_templateparser.php" #line 125 "smarty_internal_templateparser.y" function yy_r5(){ $this->_retvalue = new _smarty_tag($this, ''); } #line 2128 "smarty_internal_templateparser.php" #line 128 "smarty_internal_templateparser.y" function yy_r6(){ $this->_retvalue = new _smarty_text($this, $this->yystack[$this->yyidx + 0]->minor); } #line 2131 "smarty_internal_templateparser.php" #line 131 "smarty_internal_templateparser.y" function yy_r7(){ if ($this->php_handling == Smarty::PHP_PASSTHRU) { $this->_retvalue = new _smarty_text($this, self::escape_start_tag($this->yystack[$this->yyidx + 0]->minor)); } elseif ($this->php_handling == Smarty::PHP_QUOTE) { $this->_retvalue = new _smarty_text($this, htmlspecialchars($this->yystack[$this->yyidx + 0]->minor, ENT_QUOTES)); }elseif ($this->php_handling == Smarty::PHP_ALLOW) { $this->_retvalue = new _smarty_text($this, $this->compiler->processNocacheCode('php_handling == Smarty::PHP_REMOVE) { $this->_retvalue = new _smarty_text($this, ''); } } #line 2144 "smarty_internal_templateparser.php" #line 143 "smarty_internal_templateparser.y" function yy_r8(){if ($this->is_xml) { $this->compiler->tag_nocache = true; $this->is_xml = true; $this->_retvalue = new _smarty_text($this, $this->compiler->processNocacheCode("';?>", $this->compiler, true)); }elseif ($this->php_handling == Smarty::PHP_PASSTHRU) { $this->_retvalue = new _smarty_text($this, '?>'); } elseif ($this->php_handling == Smarty::PHP_QUOTE) { $this->_retvalue = new _smarty_text($this, htmlspecialchars('?>', ENT_QUOTES)); }elseif ($this->php_handling == Smarty::PHP_ALLOW) { $this->_retvalue = new _smarty_text($this, $this->compiler->processNocacheCode('?>', true)); }elseif ($this->php_handling == Smarty::PHP_REMOVE) { $this->_retvalue = new _smarty_text($this, ''); } } #line 2160 "smarty_internal_templateparser.php" #line 159 "smarty_internal_templateparser.y" function yy_r9(){ if ($this->php_handling == Smarty::PHP_PASSTHRU) { $this->_retvalue = new _smarty_text($this, '<%'); } elseif ($this->php_handling == Smarty::PHP_QUOTE) { $this->_retvalue = new _smarty_text($this, htmlspecialchars($this->yystack[$this->yyidx + 0]->minor, ENT_QUOTES)); }elseif ($this->php_handling == Smarty::PHP_ALLOW) { if ($this->asp_tags) { $this->_retvalue = new _smarty_text($this, $this->compiler->processNocacheCode('<%', true)); } else { $this->_retvalue = new _smarty_text($this, '<%'); } }elseif ($this->php_handling == Smarty::PHP_REMOVE) { if ($this->asp_tags) { $this->_retvalue = new _smarty_text($this, ''); } else { $this->_retvalue = new _smarty_text($this, '<%'); } } } #line 2181 "smarty_internal_templateparser.php" #line 180 "smarty_internal_templateparser.y" function yy_r10(){ if ($this->php_handling == Smarty::PHP_PASSTHRU) { $this->_retvalue = new _smarty_text($this, '%>'); } elseif ($this->php_handling == Smarty::PHP_QUOTE) { $this->_retvalue = new _smarty_text($this, htmlspecialchars('%>', ENT_QUOTES)); }elseif ($this->php_handling == Smarty::PHP_ALLOW) { if ($this->asp_tags) { $this->_retvalue = new _smarty_text($this, $this->compiler->processNocacheCode('%>', true)); } else { $this->_retvalue = new _smarty_text($this, '%>'); } }elseif ($this->php_handling == Smarty::PHP_REMOVE) { if ($this->asp_tags) { $this->_retvalue = new _smarty_text($this, ''); } else { $this->_retvalue = new _smarty_text($this, '%>'); } } } #line 2202 "smarty_internal_templateparser.php" #line 200 "smarty_internal_templateparser.y" function yy_r11(){if ($this->lex->strip) { $this->_retvalue = new _smarty_text($this, 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 = new _smarty_text($this, self::escape_start_tag($this->yystack[$this->yyidx + 0]->minor)); } } #line 2210 "smarty_internal_templateparser.php" #line 208 "smarty_internal_templateparser.y" function yy_r12(){ $this->compiler->tag_nocache = true; $this->is_xml = true; $this->_retvalue = new _smarty_text($this, $this->compiler->processNocacheCode("", $this->compiler, true)); } #line 2213 "smarty_internal_templateparser.php" #line 211 "smarty_internal_templateparser.y" function yy_r13(){if ($this->lex->strip) { $this->_retvalue = new _smarty_text($this, preg_replace('![\t ]*[\r\n]+[\t ]*!', '', $this->yystack[$this->yyidx + 0]->minor)); } else { $this->_retvalue = new _smarty_text($this, $this->yystack[$this->yyidx + 0]->minor); } } #line 2221 "smarty_internal_templateparser.php" #line 217 "smarty_internal_templateparser.y" function yy_r14(){ $this->_retvalue = new _smarty_linebreak($this, $this->yystack[$this->yyidx + 0]->minor); } #line 2226 "smarty_internal_templateparser.php" #line 222 "smarty_internal_templateparser.y" function yy_r15(){ $this->_retvalue = ''; } #line 2229 "smarty_internal_templateparser.php" #line 223 "smarty_internal_templateparser.y" function yy_r16(){ $this->_retvalue = $this->yystack[$this->yyidx + -1]->minor; } #line 2232 "smarty_internal_templateparser.php" #line 225 "smarty_internal_templateparser.y" function yy_r17(){ $this->_retvalue = $this->yystack[$this->yyidx + -1]->minor.$this->yystack[$this->yyidx + 0]->minor; } #line 2235 "smarty_internal_templateparser.php" #line 228 "smarty_internal_templateparser.y" function yy_r19(){ $this->_retvalue = $this->yystack[$this->yyidx + 0]->minor; } #line 2238 "smarty_internal_templateparser.php" #line 230 "smarty_internal_templateparser.y" function yy_r21(){ $this->_retvalue = self::escape_start_tag($this->yystack[$this->yyidx + 0]->minor); } #line 2241 "smarty_internal_templateparser.php" #line 232 "smarty_internal_templateparser.y" function yy_r23(){ $this->_retvalue = self::escape_end_tag($this->yystack[$this->yyidx + 0]->minor); } #line 2244 "smarty_internal_templateparser.php" #line 233 "smarty_internal_templateparser.y" function yy_r24(){ $this->_retvalue = '<%'; } #line 2247 "smarty_internal_templateparser.php" #line 234 "smarty_internal_templateparser.y" function yy_r25(){ $this->_retvalue = '%>'; } #line 2250 "smarty_internal_templateparser.php" #line 242 "smarty_internal_templateparser.y" function yy_r26(){ $this->_retvalue = $this->compiler->compileTag('private_print_expression',array(),array('value'=>$this->yystack[$this->yyidx + -1]->minor)); } #line 2253 "smarty_internal_templateparser.php" #line 243 "smarty_internal_templateparser.y" function yy_r27(){ $this->_retvalue = $this->compiler->compileTag('private_print_expression',$this->yystack[$this->yyidx + -1]->minor,array('value'=>$this->yystack[$this->yyidx + -2]->minor)); } #line 2256 "smarty_internal_templateparser.php" #line 245 "smarty_internal_templateparser.y" function yy_r29(){ $this->_retvalue = $this->compiler->compileTag('private_print_expression',$this->yystack[$this->yyidx + -1]->minor,array('value'=>$this->yystack[$this->yyidx + -3]->minor,'modifierlist'=>$this->yystack[$this->yyidx + -2]->minor)); } #line 2259 "smarty_internal_templateparser.php" #line 253 "smarty_internal_templateparser.y" function yy_r31(){ $this->_retvalue = $this->compiler->compileTag('assign',array(array('value'=>$this->yystack[$this->yyidx + -1]->minor),array('var'=>"'".$this->yystack[$this->yyidx + -3]->minor."'"))); } #line 2262 "smarty_internal_templateparser.php" #line 255 "smarty_internal_templateparser.y" function yy_r33(){ $this->_retvalue = $this->compiler->compileTag('assign',array_merge(array(array('value'=>$this->yystack[$this->yyidx + -2]->minor),array('var'=>"'".$this->yystack[$this->yyidx + -4]->minor."'")),$this->yystack[$this->yyidx + -1]->minor)); } #line 2265 "smarty_internal_templateparser.php" #line 256 "smarty_internal_templateparser.y" function yy_r34(){ $this->_retvalue = $this->compiler->compileTag('assign',array_merge(array(array('value'=>$this->yystack[$this->yyidx + -2]->minor),array('var'=>$this->yystack[$this->yyidx + -4]->minor['var'])),$this->yystack[$this->yyidx + -1]->minor),array('smarty_internal_index'=>$this->yystack[$this->yyidx + -4]->minor['smarty_internal_index'])); } #line 2268 "smarty_internal_templateparser.php" #line 258 "smarty_internal_templateparser.y" function yy_r35(){ $this->_retvalue = $this->compiler->compileTag($this->yystack[$this->yyidx + -2]->minor,$this->yystack[$this->yyidx + -1]->minor); } #line 2271 "smarty_internal_templateparser.php" #line 259 "smarty_internal_templateparser.y" function yy_r36(){ $this->_retvalue = $this->compiler->compileTag($this->yystack[$this->yyidx + -1]->minor,array()); } #line 2274 "smarty_internal_templateparser.php" #line 261 "smarty_internal_templateparser.y" function yy_r37(){ $this->_retvalue = $this->compiler->compileTag($this->yystack[$this->yyidx + -4]->minor,$this->yystack[$this->yyidx + -1]->minor,array('object_methode'=>$this->yystack[$this->yyidx + -2]->minor)); } #line 2277 "smarty_internal_templateparser.php" #line 263 "smarty_internal_templateparser.y" function yy_r38(){ $this->_retvalue = ''.$this->compiler->compileTag($this->yystack[$this->yyidx + -3]->minor,$this->yystack[$this->yyidx + -1]->minor).'_retvalue .= $this->compiler->compileTag('private_modifier',array(),array('modifierlist'=>$this->yystack[$this->yyidx + -2]->minor,'value'=>'ob_get_clean()')).'?>'; } #line 2282 "smarty_internal_templateparser.php" #line 267 "smarty_internal_templateparser.y" function yy_r39(){ $this->_retvalue = ''.$this->compiler->compileTag($this->yystack[$this->yyidx + -5]->minor,$this->yystack[$this->yyidx + -1]->minor,array('object_methode'=>$this->yystack[$this->yyidx + -3]->minor)).'_retvalue .= $this->compiler->compileTag('private_modifier',array(),array('modifierlist'=>$this->yystack[$this->yyidx + -2]->minor,'value'=>'ob_get_clean()')).'?>'; } #line 2287 "smarty_internal_templateparser.php" #line 271 "smarty_internal_templateparser.y" function yy_r40(){ $tag = trim(substr($this->yystack[$this->yyidx + -3]->minor,$this->lex->ldel_length)); $this->_retvalue = $this->compiler->compileTag(($tag == 'else if')? 'elseif' : $tag,array(),array('if condition'=>$this->yystack[$this->yyidx + -1]->minor)); } #line 2290 "smarty_internal_templateparser.php" #line 272 "smarty_internal_templateparser.y" function yy_r41(){ $tag = trim(substr($this->yystack[$this->yyidx + -4]->minor,$this->lex->ldel_length)); $this->_retvalue = $this->compiler->compileTag(($tag == 'else if')? 'elseif' : $tag,$this->yystack[$this->yyidx + -1]->minor,array('if condition'=>$this->yystack[$this->yyidx + -2]->minor)); } #line 2293 "smarty_internal_templateparser.php" #line 276 "smarty_internal_templateparser.y" function yy_r44(){ $this->_retvalue = $this->compiler->compileTag('for',array_merge($this->yystack[$this->yyidx + -1]->minor,array(array('start'=>$this->yystack[$this->yyidx + -10]->minor),array('ifexp'=>$this->yystack[$this->yyidx + -7]->minor),array('var'=>$this->yystack[$this->yyidx + -3]->minor),array('step'=>$this->yystack[$this->yyidx + -2]->minor))),1); } #line 2297 "smarty_internal_templateparser.php" #line 279 "smarty_internal_templateparser.y" function yy_r45(){ $this->_retvalue = '='.$this->yystack[$this->yyidx + 0]->minor; } #line 2300 "smarty_internal_templateparser.php" #line 280 "smarty_internal_templateparser.y" function yy_r46(){ $this->_retvalue = $this->yystack[$this->yyidx + 0]->minor; } #line 2303 "smarty_internal_templateparser.php" #line 281 "smarty_internal_templateparser.y" function yy_r47(){ $this->_retvalue = $this->compiler->compileTag('for',array_merge($this->yystack[$this->yyidx + -1]->minor,array(array('start'=>$this->yystack[$this->yyidx + -4]->minor),array('to'=>$this->yystack[$this->yyidx + -2]->minor))),0); } #line 2306 "smarty_internal_templateparser.php" #line 282 "smarty_internal_templateparser.y" function yy_r48(){ $this->_retvalue = $this->compiler->compileTag('for',array_merge($this->yystack[$this->yyidx + -1]->minor,array(array('start'=>$this->yystack[$this->yyidx + -6]->minor),array('to'=>$this->yystack[$this->yyidx + -4]->minor),array('step'=>$this->yystack[$this->yyidx + -2]->minor))),0); } #line 2309 "smarty_internal_templateparser.php" #line 284 "smarty_internal_templateparser.y" function yy_r49(){ $this->_retvalue = $this->compiler->compileTag('foreach',$this->yystack[$this->yyidx + -1]->minor); } #line 2312 "smarty_internal_templateparser.php" #line 286 "smarty_internal_templateparser.y" function yy_r50(){ $this->_retvalue = $this->compiler->compileTag('foreach',array_merge($this->yystack[$this->yyidx + -1]->minor,array(array('from'=>$this->yystack[$this->yyidx + -5]->minor),array('item'=>$this->yystack[$this->yyidx + -2]->minor)))); } #line 2316 "smarty_internal_templateparser.php" #line 288 "smarty_internal_templateparser.y" function yy_r51(){ $this->_retvalue = $this->compiler->compileTag('foreach',array_merge($this->yystack[$this->yyidx + -1]->minor,array(array('from'=>$this->yystack[$this->yyidx + -8]->minor),array('item'=>$this->yystack[$this->yyidx + -2]->minor),array('key'=>$this->yystack[$this->yyidx + -5]->minor)))); } #line 2320 "smarty_internal_templateparser.php" #line 290 "smarty_internal_templateparser.y" function yy_r52(){ $this->_retvalue = $this->compiler->compileTag('foreach',array_merge($this->yystack[$this->yyidx + -1]->minor,array(array('from'=>$this->yystack[$this->yyidx + -5]->minor),array('item'=>$this->yystack[$this->yyidx + -2]->minor)))); } #line 2324 "smarty_internal_templateparser.php" #line 292 "smarty_internal_templateparser.y" function yy_r53(){ $this->_retvalue = $this->compiler->compileTag('foreach',array_merge($this->yystack[$this->yyidx + -1]->minor,array(array('from'=>$this->yystack[$this->yyidx + -8]->minor),array('item'=>$this->yystack[$this->yyidx + -2]->minor),array('key'=>$this->yystack[$this->yyidx + -5]->minor)))); } #line 2328 "smarty_internal_templateparser.php" #line 296 "smarty_internal_templateparser.y" function yy_r54(){ $this->_retvalue = SMARTY_INTERNAL_COMPILE_BLOCK::compileChildBlock($this->compiler); } #line 2331 "smarty_internal_templateparser.php" #line 300 "smarty_internal_templateparser.y" function yy_r55(){ $this->_retvalue = $this->compiler->compileTag($this->yystack[$this->yyidx + -1]->minor.'close',array()); } #line 2334 "smarty_internal_templateparser.php" #line 301 "smarty_internal_templateparser.y" function yy_r56(){ $this->_retvalue = $this->compiler->compileTag($this->yystack[$this->yyidx + -2]->minor.'close',$this->yystack[$this->yyidx + -1]->minor); } #line 2337 "smarty_internal_templateparser.php" #line 302 "smarty_internal_templateparser.y" function yy_r57(){ $this->_retvalue = ''.$this->compiler->compileTag($this->yystack[$this->yyidx + -3]->minor.'close',$this->yystack[$this->yyidx + -1]->minor).'_retvalue .= $this->compiler->compileTag('private_modifier',array(),array('modifierlist'=>$this->yystack[$this->yyidx + -2]->minor,'value'=>'ob_get_clean()')).'?>'; } #line 2342 "smarty_internal_templateparser.php" #line 306 "smarty_internal_templateparser.y" function yy_r58(){ $this->_retvalue = $this->compiler->compileTag($this->yystack[$this->yyidx + -3]->minor.'close',array(),array('object_methode'=>$this->yystack[$this->yyidx + -1]->minor)); } #line 2345 "smarty_internal_templateparser.php" #line 312 "smarty_internal_templateparser.y" function yy_r59(){ $this->_retvalue = $this->yystack[$this->yyidx + -1]->minor; $this->_retvalue[] = $this->yystack[$this->yyidx + 0]->minor; } #line 2348 "smarty_internal_templateparser.php" #line 314 "smarty_internal_templateparser.y" function yy_r60(){ $this->_retvalue = array($this->yystack[$this->yyidx + 0]->minor); } #line 2351 "smarty_internal_templateparser.php" #line 316 "smarty_internal_templateparser.y" function yy_r61(){ $this->_retvalue = array(); } #line 2354 "smarty_internal_templateparser.php" #line 319 "smarty_internal_templateparser.y" function yy_r62(){ if (preg_match('~^true$~i', $this->yystack[$this->yyidx + 0]->minor)) { $this->_retvalue = array($this->yystack[$this->yyidx + -2]->minor=>'true'); } elseif (preg_match('~^false$~i', $this->yystack[$this->yyidx + 0]->minor)) { $this->_retvalue = array($this->yystack[$this->yyidx + -2]->minor=>'false'); } elseif (preg_match('~^null$~i', $this->yystack[$this->yyidx + 0]->minor)) { $this->_retvalue = array($this->yystack[$this->yyidx + -2]->minor=>'null'); } else $this->_retvalue = array($this->yystack[$this->yyidx + -2]->minor=>"'".$this->yystack[$this->yyidx + 0]->minor."'"); } #line 2364 "smarty_internal_templateparser.php" #line 327 "smarty_internal_templateparser.y" function yy_r63(){ $this->_retvalue = array($this->yystack[$this->yyidx + -2]->minor=>$this->yystack[$this->yyidx + 0]->minor); } #line 2367 "smarty_internal_templateparser.php" #line 329 "smarty_internal_templateparser.y" function yy_r65(){ $this->_retvalue = "'".$this->yystack[$this->yyidx + 0]->minor."'"; } #line 2370 "smarty_internal_templateparser.php" #line 332 "smarty_internal_templateparser.y" function yy_r68(){$this->_retvalue = array($this->yystack[$this->yyidx + -2]->minor=>$this->yystack[$this->yyidx + 0]->minor); } #line 2373 "smarty_internal_templateparser.php" #line 339 "smarty_internal_templateparser.y" function yy_r70(){ $this->yystack[$this->yyidx + -2]->minor[]=$this->yystack[$this->yyidx + 0]->minor; $this->_retvalue = $this->yystack[$this->yyidx + -2]->minor; } #line 2376 "smarty_internal_templateparser.php" #line 341 "smarty_internal_templateparser.y" function yy_r71(){ $this->_retvalue = array('var' => $this->yystack[$this->yyidx + -2]->minor, 'value'=>$this->yystack[$this->yyidx + 0]->minor); } #line 2379 "smarty_internal_templateparser.php" #line 352 "smarty_internal_templateparser.y" function yy_r74(){$this->_retvalue = '$_smarty_tpl->getStreamVariable(\''. $this->yystack[$this->yyidx + -2]->minor .'://'. $this->yystack[$this->yyidx + 0]->minor . '\')'; } #line 2382 "smarty_internal_templateparser.php" #line 354 "smarty_internal_templateparser.y" function yy_r75(){ $this->_retvalue = $this->yystack[$this->yyidx + -2]->minor . trim($this->yystack[$this->yyidx + -1]->minor) . $this->yystack[$this->yyidx + 0]->minor; } #line 2385 "smarty_internal_templateparser.php" #line 360 "smarty_internal_templateparser.y" function yy_r78(){$this->_retvalue = $this->yystack[$this->yyidx + 0]->minor; } #line 2388 "smarty_internal_templateparser.php" #line 363 "smarty_internal_templateparser.y" function yy_r79(){ $this->_retvalue = $this->compiler->compileTag('private_modifier',array(),array('value'=>$this->yystack[$this->yyidx + -1]->minor,'modifierlist'=>$this->yystack[$this->yyidx + 0]->minor)); } #line 2391 "smarty_internal_templateparser.php" #line 367 "smarty_internal_templateparser.y" function yy_r80(){$this->_retvalue = $this->yystack[$this->yyidx + -2]->minor.$this->yystack[$this->yyidx + -1]->minor.$this->yystack[$this->yyidx + 0]->minor; } #line 2394 "smarty_internal_templateparser.php" #line 368 "smarty_internal_templateparser.y" function yy_r81(){$this->_retvalue = 'in_array('.$this->yystack[$this->yyidx + -2]->minor.','.$this->yystack[$this->yyidx + 0]->minor.')'; } #line 2397 "smarty_internal_templateparser.php" #line 369 "smarty_internal_templateparser.y" function yy_r82(){$this->_retvalue = 'in_array('.$this->yystack[$this->yyidx + -2]->minor.',(array)'.$this->yystack[$this->yyidx + 0]->minor.')'; } #line 2400 "smarty_internal_templateparser.php" #line 371 "smarty_internal_templateparser.y" function yy_r84(){$this->_retvalue = '!('.$this->yystack[$this->yyidx + -2]->minor.' % '.$this->yystack[$this->yyidx + 0]->minor.')'; } #line 2403 "smarty_internal_templateparser.php" #line 372 "smarty_internal_templateparser.y" function yy_r85(){$this->_retvalue = '('.$this->yystack[$this->yyidx + -2]->minor.' % '.$this->yystack[$this->yyidx + 0]->minor.')'; } #line 2406 "smarty_internal_templateparser.php" #line 373 "smarty_internal_templateparser.y" function yy_r86(){$this->_retvalue = '!(1 & '.$this->yystack[$this->yyidx + -1]->minor.')'; } #line 2409 "smarty_internal_templateparser.php" #line 374 "smarty_internal_templateparser.y" function yy_r87(){$this->_retvalue = '(1 & '.$this->yystack[$this->yyidx + -1]->minor.')'; } #line 2412 "smarty_internal_templateparser.php" #line 375 "smarty_internal_templateparser.y" function yy_r88(){$this->_retvalue = '!(1 & '.$this->yystack[$this->yyidx + -2]->minor.' / '.$this->yystack[$this->yyidx + 0]->minor.')'; } #line 2415 "smarty_internal_templateparser.php" #line 376 "smarty_internal_templateparser.y" function yy_r89(){$this->_retvalue = '(1 & '.$this->yystack[$this->yyidx + -2]->minor.' / '.$this->yystack[$this->yyidx + 0]->minor.')'; } #line 2418 "smarty_internal_templateparser.php" #line 382 "smarty_internal_templateparser.y" function yy_r95(){$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 2421 "smarty_internal_templateparser.php" #line 388 "smarty_internal_templateparser.y" function yy_r96(){ $this->_retvalue = $this->yystack[$this->yyidx + -6]->minor.' ? $_smarty_tpl->getVariable(\''. $this->yystack[$this->yyidx + -2]->minor .'\')->value : '.$this->yystack[$this->yyidx + 0]->minor; $this->compiler->tag_nocache=$this->compiler->tag_nocache|$this->template->getVariable('$this->yystack[$this->yyidx + -2]->minor', null, true, false)->nocache; } #line 2424 "smarty_internal_templateparser.php" #line 389 "smarty_internal_templateparser.y" function yy_r97(){ $this->_retvalue = $this->yystack[$this->yyidx + -5]->minor.' ? '.$this->yystack[$this->yyidx + -2]->minor.' : '.$this->yystack[$this->yyidx + 0]->minor; } #line 2427 "smarty_internal_templateparser.php" #line 396 "smarty_internal_templateparser.y" function yy_r100(){ $this->_retvalue = '!'.$this->yystack[$this->yyidx + 0]->minor; } #line 2430 "smarty_internal_templateparser.php" #line 402 "smarty_internal_templateparser.y" function yy_r105(){ $this->_retvalue = $this->yystack[$this->yyidx + -2]->minor.'.'.$this->yystack[$this->yyidx + 0]->minor; } #line 2433 "smarty_internal_templateparser.php" #line 403 "smarty_internal_templateparser.y" function yy_r106(){ $this->_retvalue = $this->yystack[$this->yyidx + -1]->minor.'.'; } #line 2436 "smarty_internal_templateparser.php" #line 404 "smarty_internal_templateparser.y" function yy_r107(){ $this->_retvalue = '.'.$this->yystack[$this->yyidx + 0]->minor; } #line 2439 "smarty_internal_templateparser.php" #line 406 "smarty_internal_templateparser.y" function yy_r108(){ if (preg_match('~^true$~i', $this->yystack[$this->yyidx + 0]->minor)) { $this->_retvalue = 'true'; } elseif (preg_match('~^false$~i', $this->yystack[$this->yyidx + 0]->minor)) { $this->_retvalue = 'false'; } elseif (preg_match('~^null$~i', $this->yystack[$this->yyidx + 0]->minor)) { $this->_retvalue = 'null'; } else $this->_retvalue = "'".$this->yystack[$this->yyidx + 0]->minor."'"; } #line 2449 "smarty_internal_templateparser.php" #line 417 "smarty_internal_templateparser.y" function yy_r110(){ $this->_retvalue = "(". $this->yystack[$this->yyidx + -1]->minor .")"; } #line 2452 "smarty_internal_templateparser.php" #line 423 "smarty_internal_templateparser.y" function yy_r113(){if (!$this->security || isset($this->smarty->registered_classes[$this->yystack[$this->yyidx + -2]->minor]) || $this->smarty->security_policy->isTrustedStaticClass($this->yystack[$this->yyidx + -2]->minor, $this->compiler)) { if (isset($this->smarty->registered_classes[$this->yystack[$this->yyidx + -2]->minor])) { $this->_retvalue = $this->smarty->registered_classes[$this->yystack[$this->yyidx + -2]->minor].'::'.$this->yystack[$this->yyidx + 0]->minor; } else { $this->_retvalue = $this->yystack[$this->yyidx + -2]->minor.'::'.$this->yystack[$this->yyidx + 0]->minor; } } else { $this->compiler->trigger_template_error ("static class '".$this->yystack[$this->yyidx + -2]->minor."' is undefined or not allowed by security setting"); } } #line 2464 "smarty_internal_templateparser.php" #line 433 "smarty_internal_templateparser.y" function yy_r114(){ if ($this->yystack[$this->yyidx + -2]->minor['var'] == '\'smarty\'') { $this->_retvalue = $this->compiler->compileTag('private_special_variable',array(),$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 2468 "smarty_internal_templateparser.php" #line 436 "smarty_internal_templateparser.y" function yy_r115(){ $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 2471 "smarty_internal_templateparser.php" #line 445 "smarty_internal_templateparser.y" function yy_r116(){if ($this->yystack[$this->yyidx + 0]->minor['var'] == '\'smarty\'') { $smarty_var = $this->compiler->compileTag('private_special_variable',array(),$this->yystack[$this->yyidx + 0]->minor['smarty_internal_index']); if (substr($smarty_var,0,1) == "'" || substr($smarty_var,0,1) == '@') { $this->_retvalue = $smarty_var; } else { $this->_retvalue = '(isset('.$smarty_var.')?'.$smarty_var.':null)'; } } else { if (isset($this->compiler->local_var[$this->yystack[$this->yyidx + 0]->minor['var']])) { $this->_retvalue = '(isset($_smarty_tpl->tpl_vars['. $this->yystack[$this->yyidx + 0]->minor['var'] .']->value'.$this->yystack[$this->yyidx + 0]->minor['smarty_internal_index'].') ? $_smarty_tpl->tpl_vars['. $this->yystack[$this->yyidx + 0]->minor['var'] .']->value'.$this->yystack[$this->yyidx + 0]->minor['smarty_internal_index'].' : null)'; } else { if (isset($this->yystack[$this->yyidx + 0]->minor['smarty_internal_index'])) { $this->_retvalue = '(isset($_smarty_tpl->getVariable('. $this->yystack[$this->yyidx + 0]->minor['var'] .')->value'.$this->yystack[$this->yyidx + 0]->minor['smarty_internal_index'].') ? $_smarty_tpl->getVariable('. $this->yystack[$this->yyidx + 0]->minor['var'] .')->value'.$this->yystack[$this->yyidx + 0]->minor['smarty_internal_index'].' : null)'; } 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 2491 "smarty_internal_templateparser.php" #line 464 "smarty_internal_templateparser.y" function yy_r117(){if (isset($this->compiler->local_var[$this->yystack[$this->yyidx + -2]->minor])) { $this->_retvalue = '$_smarty_tpl->tpl_vars['. $this->yystack[$this->yyidx + -2]->minor .']->'.$this->yystack[$this->yyidx + 0]->minor; } else { $this->_retvalue = '$_smarty_tpl->getVariable('. $this->yystack[$this->yyidx + -2]->minor .')->'.$this->yystack[$this->yyidx + 0]->minor; } $this->compiler->tag_nocache=$this->compiler->tag_nocache|$this->template->getVariable(trim($this->yystack[$this->yyidx + -2]->minor,"'"), null, true, false)->nocache; } #line 2499 "smarty_internal_templateparser.php" #line 473 "smarty_internal_templateparser.y" function yy_r119(){$this->_retvalue = '$_smarty_tpl->getConfigVariable(\''. $this->yystack[$this->yyidx + -1]->minor .'\')'; } #line 2502 "smarty_internal_templateparser.php" #line 474 "smarty_internal_templateparser.y" function yy_r120(){$this->_retvalue = '$_smarty_tpl->getConfigVariable('. $this->yystack[$this->yyidx + -1]->minor .')'; } #line 2505 "smarty_internal_templateparser.php" #line 477 "smarty_internal_templateparser.y" function yy_r121(){$this->_retvalue = array('var'=>$this->yystack[$this->yyidx + -1]->minor, 'smarty_internal_index'=>$this->yystack[$this->yyidx + 0]->minor); } #line 2508 "smarty_internal_templateparser.php" #line 483 "smarty_internal_templateparser.y" function yy_r122(){$this->_retvalue = $this->yystack[$this->yyidx + -1]->minor.$this->yystack[$this->yyidx + 0]->minor; } #line 2511 "smarty_internal_templateparser.php" #line 485 "smarty_internal_templateparser.y" function yy_r123(){return; } #line 2514 "smarty_internal_templateparser.php" #line 489 "smarty_internal_templateparser.y" function yy_r124(){ $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 2517 "smarty_internal_templateparser.php" #line 490 "smarty_internal_templateparser.y" function yy_r125(){ $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 2520 "smarty_internal_templateparser.php" #line 491 "smarty_internal_templateparser.y" function yy_r126(){ $this->_retvalue = "['". $this->yystack[$this->yyidx + 0]->minor ."']"; } #line 2523 "smarty_internal_templateparser.php" #line 492 "smarty_internal_templateparser.y" function yy_r127(){ $this->_retvalue = "[". $this->yystack[$this->yyidx + 0]->minor ."]"; } #line 2526 "smarty_internal_templateparser.php" #line 493 "smarty_internal_templateparser.y" function yy_r128(){ $this->_retvalue = "[". $this->yystack[$this->yyidx + -1]->minor ."]"; } #line 2529 "smarty_internal_templateparser.php" #line 495 "smarty_internal_templateparser.y" function yy_r129(){ $this->_retvalue = '['.$this->compiler->compileTag('private_special_variable',array(),'[\'section\'][\''.$this->yystack[$this->yyidx + -1]->minor.'\'][\'index\']').']'; } #line 2532 "smarty_internal_templateparser.php" #line 496 "smarty_internal_templateparser.y" function yy_r130(){ $this->_retvalue = '['.$this->compiler->compileTag('private_special_variable',array(),'[\'section\'][\''.$this->yystack[$this->yyidx + -3]->minor.'\'][\''.$this->yystack[$this->yyidx + -1]->minor.'\']').']'; } #line 2535 "smarty_internal_templateparser.php" #line 500 "smarty_internal_templateparser.y" function yy_r132(){$this->_retvalue = '[]'; } #line 2538 "smarty_internal_templateparser.php" #line 508 "smarty_internal_templateparser.y" function yy_r134(){$this->_retvalue = $this->yystack[$this->yyidx + -1]->minor.'.'.$this->yystack[$this->yyidx + 0]->minor; } #line 2541 "smarty_internal_templateparser.php" #line 510 "smarty_internal_templateparser.y" function yy_r135(){$this->_retvalue = '\''.$this->yystack[$this->yyidx + 0]->minor.'\''; } #line 2544 "smarty_internal_templateparser.php" #line 512 "smarty_internal_templateparser.y" function yy_r136(){$this->_retvalue = '('.$this->yystack[$this->yyidx + -1]->minor.')'; } #line 2547 "smarty_internal_templateparser.php" #line 517 "smarty_internal_templateparser.y" function yy_r137(){ if ($this->yystack[$this->yyidx + -1]->minor['var'] == '\'smarty\'') { $this->_retvalue = $this->compiler->compileTag('private_special_variable',array(),$this->yystack[$this->yyidx + -1]->minor['smarty_internal_index']).$this->yystack[$this->yyidx + 0]->minor;} else { $this->_retvalue = '$_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 2551 "smarty_internal_templateparser.php" #line 520 "smarty_internal_templateparser.y" function yy_r138(){$this->_retvalue = $this->yystack[$this->yyidx + 0]->minor; } #line 2554 "smarty_internal_templateparser.php" #line 522 "smarty_internal_templateparser.y" function yy_r139(){$this->_retvalue = $this->yystack[$this->yyidx + -1]->minor.$this->yystack[$this->yyidx + 0]->minor; } #line 2557 "smarty_internal_templateparser.php" #line 524 "smarty_internal_templateparser.y" function yy_r140(){if ($this->security && substr($this->yystack[$this->yyidx + -1]->minor,0,1) == '_') { $this->compiler->trigger_template_error (self::Err1); } $this->_retvalue = '->'.$this->yystack[$this->yyidx + -1]->minor.$this->yystack[$this->yyidx + 0]->minor; } #line 2564 "smarty_internal_templateparser.php" #line 529 "smarty_internal_templateparser.y" function yy_r141(){if ($this->security) { $this->compiler->trigger_template_error (self::Err2); } $this->_retvalue = '->{$_smarty_tpl->getVariable('. $this->yystack[$this->yyidx + -1]->minor .')->value'.$this->yystack[$this->yyidx + 0]->minor.'}'; $this->compiler->tag_nocache=$this->compiler->tag_nocache|$this->template->getVariable(trim($this->yystack[$this->yyidx + -1]->minor,"'"), null, true, false)->nocache; } #line 2571 "smarty_internal_templateparser.php" #line 534 "smarty_internal_templateparser.y" function yy_r142(){if ($this->security) { $this->compiler->trigger_template_error (self::Err2); } $this->_retvalue = '->{'.$this->yystack[$this->yyidx + -2]->minor.$this->yystack[$this->yyidx + 0]->minor.'}'; } #line 2578 "smarty_internal_templateparser.php" #line 539 "smarty_internal_templateparser.y" function yy_r143(){if ($this->security) { $this->compiler->trigger_template_error (self::Err2); } $this->_retvalue = '->{\''.$this->yystack[$this->yyidx + -4]->minor.'\'.'.$this->yystack[$this->yyidx + -2]->minor.$this->yystack[$this->yyidx + 0]->minor.'}'; } #line 2585 "smarty_internal_templateparser.php" #line 545 "smarty_internal_templateparser.y" function yy_r144(){ $this->_retvalue = '->'.$this->yystack[$this->yyidx + 0]->minor; } #line 2588 "smarty_internal_templateparser.php" #line 551 "smarty_internal_templateparser.y" function yy_r145(){if (!$this->security || $this->smarty->security_policy->isTrustedPhpFunction($this->yystack[$this->yyidx + -3]->minor, $this->compiler)) { if (strcasecmp($this->yystack[$this->yyidx + -3]->minor,'isset') === 0 || strcasecmp($this->yystack[$this->yyidx + -3]->minor,'empty') === 0 || strcasecmp($this->yystack[$this->yyidx + -3]->minor,'array') === 0 || is_callable($this->yystack[$this->yyidx + -3]->minor)) { if (strcasecmp($this->yystack[$this->yyidx + -3]->minor,'isset') === 0) { if (count($this->yystack[$this->yyidx + -1]->minor) == 0) { $this->compiler->trigger_template_error ('Illegal number of paramer in "isset()"'); } $exp = array(); foreach ($this->yystack[$this->yyidx + -1]->minor as $par) { $exp[] = '('. $par .' !== null)'; } $this->_retvalue = '('. implode('&&',$exp) .')'; } elseif (strcasecmp($this->yystack[$this->yyidx + -3]->minor,'empty') === 0){ if (count($this->yystack[$this->yyidx + -1]->minor) != 1) { $this->compiler->trigger_template_error ('Illegal number of paramer in "empty()"'); } $this->prefix_number++; $this->compiler->prefix_code[] = 'prefix_number.'='.$this->yystack[$this->yyidx + -1]->minor[0].';?>'; $this->_retvalue = 'empty($_tmp'.$this->prefix_number.')'; } else { $this->_retvalue = $this->yystack[$this->yyidx + -3]->minor . "(". implode(',',$this->yystack[$this->yyidx + -1]->minor) .")"; } } else { $this->compiler->trigger_template_error ("unknown function \"" . $this->yystack[$this->yyidx + -3]->minor . "\""); } } } #line 2614 "smarty_internal_templateparser.php" #line 579 "smarty_internal_templateparser.y" function yy_r146(){if ($this->security && substr($this->yystack[$this->yyidx + -3]->minor,0,1) == '_') { $this->compiler->trigger_template_error (self::Err1); } $this->_retvalue = $this->yystack[$this->yyidx + -3]->minor . "(". implode(',',$this->yystack[$this->yyidx + -1]->minor) .")"; } #line 2621 "smarty_internal_templateparser.php" #line 584 "smarty_internal_templateparser.y" function yy_r147(){if ($this->security) { $this->compiler->trigger_template_error (self::Err2); } $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.'('. implode(',',$this->yystack[$this->yyidx + -1]->minor) .')'; } #line 2628 "smarty_internal_templateparser.php" #line 592 "smarty_internal_templateparser.y" function yy_r148(){ $this->_retvalue = array_merge($this->yystack[$this->yyidx + -2]->minor,array($this->yystack[$this->yyidx + 0]->minor)); } #line 2631 "smarty_internal_templateparser.php" #line 601 "smarty_internal_templateparser.y" function yy_r151(){$this->_retvalue = array_merge($this->yystack[$this->yyidx + -2]->minor,array(array_merge($this->yystack[$this->yyidx + -1]->minor,$this->yystack[$this->yyidx + 0]->minor))); } #line 2634 "smarty_internal_templateparser.php" #line 602 "smarty_internal_templateparser.y" function yy_r152(){$this->_retvalue = array(array_merge($this->yystack[$this->yyidx + -1]->minor,$this->yystack[$this->yyidx + 0]->minor)); } #line 2637 "smarty_internal_templateparser.php" #line 605 "smarty_internal_templateparser.y" function yy_r154(){ $this->_retvalue = array($this->yystack[$this->yyidx + 0]->minor); } #line 2640 "smarty_internal_templateparser.php" #line 610 "smarty_internal_templateparser.y" function yy_r155(){ $this->_retvalue = array_merge($this->yystack[$this->yyidx + -1]->minor,$this->yystack[$this->yyidx + 0]->minor); } #line 2643 "smarty_internal_templateparser.php" #line 612 "smarty_internal_templateparser.y" function yy_r156(){$this->_retvalue = array(); } #line 2646 "smarty_internal_templateparser.php" #line 614 "smarty_internal_templateparser.y" function yy_r157(){$this->_retvalue = array($this->yystack[$this->yyidx + 0]->minor); } #line 2649 "smarty_internal_templateparser.php" #line 624 "smarty_internal_templateparser.y" function yy_r162(){ $this->_retvalue = '$'.$this->yystack[$this->yyidx + -1]->minor.$this->yystack[$this->yyidx + 0]->minor; } #line 2652 "smarty_internal_templateparser.php" #line 626 "smarty_internal_templateparser.y" function yy_r163(){ $this->_retvalue = '$'.$this->yystack[$this->yyidx + -2]->minor.$this->yystack[$this->yyidx + -1]->minor.$this->yystack[$this->yyidx + 0]->minor; } #line 2655 "smarty_internal_templateparser.php" #line 635 "smarty_internal_templateparser.y" function yy_r164(){$this->_retvalue = '=='; } #line 2658 "smarty_internal_templateparser.php" #line 636 "smarty_internal_templateparser.y" function yy_r165(){$this->_retvalue = '!='; } #line 2661 "smarty_internal_templateparser.php" #line 637 "smarty_internal_templateparser.y" function yy_r166(){$this->_retvalue = '>'; } #line 2664 "smarty_internal_templateparser.php" #line 638 "smarty_internal_templateparser.y" function yy_r167(){$this->_retvalue = '<'; } #line 2667 "smarty_internal_templateparser.php" #line 639 "smarty_internal_templateparser.y" function yy_r168(){$this->_retvalue = '>='; } #line 2670 "smarty_internal_templateparser.php" #line 640 "smarty_internal_templateparser.y" function yy_r169(){$this->_retvalue = '<='; } #line 2673 "smarty_internal_templateparser.php" #line 641 "smarty_internal_templateparser.y" function yy_r170(){$this->_retvalue = '==='; } #line 2676 "smarty_internal_templateparser.php" #line 642 "smarty_internal_templateparser.y" function yy_r171(){$this->_retvalue = '!=='; } #line 2679 "smarty_internal_templateparser.php" #line 643 "smarty_internal_templateparser.y" function yy_r172(){$this->_retvalue = '%'; } #line 2682 "smarty_internal_templateparser.php" #line 645 "smarty_internal_templateparser.y" function yy_r173(){$this->_retvalue = '&&'; } #line 2685 "smarty_internal_templateparser.php" #line 646 "smarty_internal_templateparser.y" function yy_r174(){$this->_retvalue = '||'; } #line 2688 "smarty_internal_templateparser.php" #line 647 "smarty_internal_templateparser.y" function yy_r175(){$this->_retvalue = ' XOR '; } #line 2691 "smarty_internal_templateparser.php" #line 652 "smarty_internal_templateparser.y" function yy_r176(){ $this->_retvalue = 'array('.$this->yystack[$this->yyidx + -1]->minor.')'; } #line 2694 "smarty_internal_templateparser.php" #line 654 "smarty_internal_templateparser.y" function yy_r178(){ $this->_retvalue = $this->yystack[$this->yyidx + -2]->minor.','.$this->yystack[$this->yyidx + 0]->minor; } #line 2697 "smarty_internal_templateparser.php" #line 655 "smarty_internal_templateparser.y" function yy_r179(){ return; } #line 2700 "smarty_internal_templateparser.php" #line 656 "smarty_internal_templateparser.y" function yy_r180(){ $this->_retvalue = $this->yystack[$this->yyidx + -2]->minor.'=>'.$this->yystack[$this->yyidx + 0]->minor; } #line 2703 "smarty_internal_templateparser.php" #line 657 "smarty_internal_templateparser.y" function yy_r181(){ $this->_retvalue = '\''.$this->yystack[$this->yyidx + -2]->minor.'\'=>'.$this->yystack[$this->yyidx + 0]->minor; } #line 2706 "smarty_internal_templateparser.php" #line 664 "smarty_internal_templateparser.y" function yy_r183(){ $this->_retvalue = "''"; } #line 2709 "smarty_internal_templateparser.php" #line 665 "smarty_internal_templateparser.y" function yy_r184(){ $this->_retvalue = $this->yystack[$this->yyidx + -1]->minor->to_smarty_php(); } #line 2712 "smarty_internal_templateparser.php" #line 667 "smarty_internal_templateparser.y" function yy_r185(){ $this->yystack[$this->yyidx + -1]->minor->append_subtree($this->yystack[$this->yyidx + 0]->minor); $this->_retvalue = $this->yystack[$this->yyidx + -1]->minor; } #line 2715 "smarty_internal_templateparser.php" #line 668 "smarty_internal_templateparser.y" function yy_r186(){ $this->_retvalue = new _smarty_doublequoted($this, $this->yystack[$this->yyidx + 0]->minor); } #line 2718 "smarty_internal_templateparser.php" #line 670 "smarty_internal_templateparser.y" function yy_r187(){ $this->_retvalue = new _smarty_code($this, $this->yystack[$this->yyidx + -1]->minor); } #line 2721 "smarty_internal_templateparser.php" #line 672 "smarty_internal_templateparser.y" function yy_r189(){if (isset($this->compiler->local_var["'".substr($this->yystack[$this->yyidx + 0]->minor,1)."'"])) { $this->_retvalue = new _smarty_code($this, '$_smarty_tpl->tpl_vars[\''. substr($this->yystack[$this->yyidx + 0]->minor,1) .'\']->value'); } else { $this->_retvalue = new _smarty_code($this, '$_smarty_tpl->getVariable(\''. substr($this->yystack[$this->yyidx + 0]->minor,1) .'\')->value'); } $this->compiler->tag_nocache = $this->compiler->tag_nocache | $this->template->getVariable(trim($this->yystack[$this->yyidx + 0]->minor,"'"), null, true, false)->nocache; } #line 2730 "smarty_internal_templateparser.php" #line 680 "smarty_internal_templateparser.y" function yy_r191(){ $this->_retvalue = new _smarty_code($this, '('.$this->yystack[$this->yyidx + -1]->minor.')'); } #line 2733 "smarty_internal_templateparser.php" #line 681 "smarty_internal_templateparser.y" function yy_r192(){ $this->_retvalue = new _smarty_tag($this, $this->yystack[$this->yyidx + 0]->minor); } #line 2738 "smarty_internal_templateparser.php" #line 684 "smarty_internal_templateparser.y" function yy_r193(){ $this->_retvalue = new _smarty_dq_content($this, $this->yystack[$this->yyidx + 0]->minor); } #line 2741 "smarty_internal_templateparser.php" #line 691 "smarty_internal_templateparser.y" function yy_r195(){$this->_retvalue = ''; } #line 2744 "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 77 "smarty_internal_templateparser.y" $this->internalError = true; $this->yymajor = $yymajor; $this->compiler->trigger_template_error(); #line 2807 "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 69 "smarty_internal_templateparser.y" $this->successful = !$this->internalError; $this->internalError = false; $this->retvalue = $this->_retvalue; //echo $this->retvalue."\n\n"; #line 2825 "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); } } ?>