Viewing file: smarty_internal_templateparser.php (149.29 KB) -rw-r--r-- Select action/file-type: (+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php /** * Smarty Internal Plugin Templateparser * * This is the template parser. * It is generated from the internal.templateparser.y file * @package Smarty * @subpackage Compiler * @author Uwe Tews */
class TP_yyToken implements ArrayAccess { public $string = ''; public $metadata = array();
function __construct($s, $m = array()) { if ($s instanceof TP_yyToken) { $this->string = $s->string; $this->metadata = $s->metadata; } else { $this->string = (string) $s; if ($m instanceof TP_yyToken) { $this->metadata = $m->metadata; } elseif (is_array($m)) { $this->metadata = $m; } } }
function __toString() { return $this->_string; }
function offsetExists($offset) { return isset($this->metadata[$offset]); }
function offsetGet($offset) { return $this->metadata[$offset]; }
function offsetSet($offset, $value) { if ($offset === null) { if (isset($value[0])) { $x = ($value instanceof TP_yyToken) ? $value->metadata : $value; $this->metadata = array_merge($this->metadata, $x); return; } $offset = count($this->metadata); } if ($value === null) { return; } if ($value instanceof TP_yyToken) { if ($value->metadata) { $this->metadata[$offset] = $value->metadata; } } elseif ($value) { $this->metadata[$offset] = $value; } }
function offsetUnset($offset) { unset($this->metadata[$offset]); } }
class TP_yyStackEntry { public $stateno; /* The state-number */ public $major; /* The major token value. This is the code ** number for the token at this stack level */ public $minor; /* The user-supplied minor token value. This ** is the value of the token */ };
#line 12 "smarty_internal_templateparser.y" class Smarty_Internal_Templateparser#line 79 "smarty_internal_templateparser.php" { #line 14 "smarty_internal_templateparser.y"
// states whether the parse was successful or not public $successful = true; public $retvalue = 0; private $lex; private $internalError = false;
function __construct($lex, $compiler) { // set instance object self::instance($this); $this->lex = $lex; $this->compiler = $compiler; $this->smarty = $this->compiler->smarty; $this->template = $this->compiler->template; if ($this->template->security && isset($this->smarty->security_handler)) { $this->sec_obj = $this->smarty->security_policy; } else { $this->sec_obj = $this->smarty; } $this->compiler->has_variable_string = false; $this->compiler->prefix_code = array(); $this->prefix_number = 0; $this->block_nesting_level = 0; $this->is_xml = false; $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/', '<<?php ?>?\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 '?<?php ?>>'; }
#line 130 "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_LDELSLASH = 31; const TP_INTEGER = 32; const TP_COMMA = 33; const TP_MATH = 34; const TP_UNIMATH = 35; const TP_ANDSYM = 36; const TP_ISIN = 37; const TP_ISDIVBY = 38; const TP_ISNOTDIVBY = 39; const TP_ISEVEN = 40; const TP_ISNOTEVEN = 41; const TP_ISEVENBY = 42; const TP_ISNOTEVENBY = 43; const TP_ISODD = 44; const TP_ISNOTODD = 45; const TP_ISODDBY = 46; const TP_ISNOTODDBY = 47; const TP_INSTANCEOF = 48; const TP_OPENP = 49; const TP_CLOSEP = 50; const TP_QMARK = 51; const TP_NOT = 52; const TP_TYPECAST = 53; const TP_HEX = 54; const TP_DOT = 55; const TP_SINGLEQUOTESTRING = 56; const TP_DOUBLECOLON = 57; const TP_AT = 58; const TP_HATCH = 59; const TP_OPENB = 60; const TP_CLOSEB = 61; const TP_EQUALS = 62; const TP_NOTEQUALS = 63; const TP_GREATERTHAN = 64; const TP_LESSTHAN = 65; const TP_GREATEREQUAL = 66; const TP_LESSEQUAL = 67; const TP_IDENTITY = 68; const TP_NONEIDENTITY = 69; const TP_MOD = 70; const TP_LAND = 71; const TP_LOR = 72; const TP_LXOR = 73; const TP_QUOTE = 74; const TP_BACKTICK = 75; const TP_DOLLARID = 76; const YY_NO_ACTION = 552; const YY_ACCEPT_ACTION = 551; const YY_ERROR_ACTION = 550;
const YY_SZ_ACTTAB = 2295; static public $yy_action = array( /* 0 */ 183, 149, 160, 333, 298, 295, 294, 290, 289, 291, /* 10 */ 292, 293, 300, 156, 265, 319, 3, 20, 272, 11, /* 20 */ 269, 185, 186, 235, 199, 215, 17, 114, 266, 118, /* 30 */ 6, 258, 211, 47, 44, 43, 41, 28, 27, 340, /* 40 */ 339, 18, 29, 341, 342, 15, 14, 307, 302, 20, /* 50 */ 36, 306, 269, 25, 183, 156, 308, 311, 225, 240, /* 60 */ 9, 351, 358, 359, 360, 361, 357, 356, 352, 353, /* 70 */ 354, 355, 338, 183, 321, 185, 150, 37, 201, 189, /* 80 */ 205, 52, 122, 106, 551, 83, 231, 297, 299, 265, /* 90 */ 8, 337, 171, 210, 185, 346, 345, 13, 262, 32, /* 100 */ 464, 261, 276, 266, 161, 333, 47, 44, 43, 41, /* 110 */ 28, 27, 340, 339, 18, 29, 341, 342, 15, 14, /* 120 */ 11, 324, 4, 20, 259, 421, 269, 185, 114, 20, /* 130 */ 267, 421, 269, 38, 351, 358, 359, 360, 361, 357, /* 140 */ 356, 352, 353, 354, 355, 338, 183, 321, 159, 333, /* 150 */ 143, 201, 239, 205, 61, 165, 106, 250, 11, 26, /* 160 */ 140, 316, 127, 265, 337, 163, 114, 185, 346, 345, /* 170 */ 336, 262, 194, 265, 23, 24, 185, 42, 191, 47, /* 180 */ 44, 43, 41, 28, 27, 340, 339, 18, 29, 341, /* 190 */ 342, 15, 14, 113, 217, 420, 146, 171, 273, 423, /* 200 */ 267, 185, 13, 218, 267, 423, 121, 351, 358, 359, /* 210 */ 360, 361, 357, 356, 352, 353, 354, 355, 338, 183, /* 220 */ 321, 262, 20, 107, 173, 269, 205, 81, 228, 106, /* 230 */ 183, 42, 350, 148, 242, 87, 20, 337, 163, 269, /* 240 */ 38, 346, 345, 305, 262, 268, 265, 23, 24, 200, /* 250 */ 362, 185, 47, 44, 43, 41, 28, 27, 340, 339, /* 260 */ 18, 29, 341, 342, 15, 14, 183, 30, 8, 117, /* 270 */ 136, 20, 213, 20, 269, 21, 269, 110, 280, 195, /* 280 */ 351, 358, 359, 360, 361, 357, 356, 352, 353, 354, /* 290 */ 355, 338, 312, 296, 297, 299, 5, 157, 34, 47, /* 300 */ 44, 43, 41, 28, 27, 340, 339, 18, 29, 341, /* 310 */ 342, 15, 14, 135, 197, 247, 194, 11, 166, 232, /* 320 */ 103, 2, 127, 224, 202, 114, 265, 351, 358, 359, /* 330 */ 360, 361, 357, 356, 352, 353, 354, 355, 338, 183, /* 340 */ 321, 163, 270, 151, 201, 127, 205, 66, 185, 106, /* 350 */ 23, 24, 188, 153, 93, 229, 265, 337, 163, 104, /* 360 */ 185, 346, 345, 303, 262, 320, 265, 23, 24, 185, /* 370 */ 266, 185, 47, 44, 43, 41, 28, 27, 340, 339, /* 380 */ 18, 29, 341, 342, 15, 14, 183, 334, 304, 39, /* 390 */ 323, 326, 273, 185, 185, 42, 185, 185, 22, 152, /* 400 */ 351, 358, 359, 360, 361, 357, 356, 352, 353, 354, /* 410 */ 355, 338, 265, 20, 185, 310, 178, 309, 287, 47, /* 420 */ 44, 43, 41, 28, 27, 340, 339, 18, 29, 341, /* 430 */ 342, 15, 14, 183, 206, 11, 251, 7, 318, 332, /* 440 */ 254, 40, 185, 114, 185, 185, 233, 351, 358, 359, /* 450 */ 360, 361, 357, 356, 352, 353, 354, 355, 338, 314, /* 460 */ 147, 185, 273, 187, 181, 220, 47, 44, 43, 41, /* 470 */ 28, 27, 340, 339, 18, 29, 341, 342, 15, 14, /* 480 */ 142, 344, 285, 325, 264, 267, 263, 212, 124, 185, /* 490 */ 185, 42, 185, 265, 351, 358, 359, 360, 361, 357, /* 500 */ 356, 352, 353, 354, 355, 338, 183, 330, 321, 155, /* 510 */ 20, 109, 179, 196, 205, 50, 120, 106, 158, 20, /* 520 */ 271, 238, 269, 20, 243, 337, 269, 127, 282, 346, /* 530 */ 345, 331, 262, 20, 222, 124, 192, 185, 204, 47, /* 540 */ 44, 43, 41, 28, 27, 340, 339, 18, 29, 341, /* 550 */ 342, 15, 14, 183, 317, 315, 286, 112, 209, 256, /* 560 */ 185, 185, 195, 86, 104, 232, 145, 351, 358, 359, /* 570 */ 360, 361, 357, 356, 352, 353, 354, 355, 338, 265, /* 580 */ 22, 111, 206, 343, 92, 278, 47, 44, 43, 41, /* 590 */ 28, 27, 340, 339, 18, 29, 341, 342, 15, 14, /* 600 */ 193, 329, 190, 281, 105, 244, 260, 42, 255, 198, /* 610 */ 119, 273, 9, 277, 351, 358, 359, 360, 361, 357, /* 620 */ 356, 352, 353, 354, 355, 338, 183, 321, 234, 132, /* 630 */ 133, 201, 214, 205, 61, 164, 106, 301, 125, 141, /* 640 */ 144, 288, 265, 265, 337, 163, 16, 134, 346, 345, /* 650 */ 279, 262, 265, 265, 23, 24, 94, 276, 223, 47, /* 660 */ 44, 43, 41, 28, 27, 340, 339, 18, 29, 341, /* 670 */ 342, 15, 14, 131, 128, 248, 88, 40, 322, 307, /* 680 */ 139, 138, 162, 307, 266, 279, 279, 351, 358, 359, /* 690 */ 360, 361, 357, 356, 352, 353, 354, 355, 338, 183, /* 700 */ 321, 91, 137, 90, 201, 89, 205, 61, 126, 106, /* 710 */ 307, 95, 307, 100, 168, 265, 130, 337, 102, 307, /* 720 */ 279, 346, 345, 279, 262, 279, 307, 307, 279, 307, /* 730 */ 279, 221, 47, 44, 43, 41, 28, 27, 340, 339, /* 740 */ 18, 29, 341, 342, 15, 14, 129, 96, 307, 307, /* 750 */ 307, 307, 307, 307, 307, 307, 307, 307, 279, 279, /* 760 */ 351, 358, 359, 360, 361, 357, 356, 352, 353, 354, /* 770 */ 355, 338, 183, 307, 307, 321, 307, 307, 307, 99, /* 780 */ 307, 97, 49, 123, 101, 307, 307, 307, 307, 307, /* 790 */ 307, 307, 337, 307, 307, 154, 346, 345, 307, 262, /* 800 */ 307, 307, 307, 307, 307, 47, 44, 43, 41, 28, /* 810 */ 27, 340, 339, 18, 29, 341, 342, 15, 14, 183, /* 820 */ 307, 307, 307, 307, 307, 307, 307, 307, 307, 307, /* 830 */ 307, 307, 307, 351, 358, 359, 360, 361, 357, 356, /* 840 */ 352, 353, 354, 355, 338, 307, 307, 307, 307, 307, /* 850 */ 307, 10, 47, 44, 43, 41, 28, 27, 340, 339, /* 860 */ 18, 29, 341, 342, 15, 14, 307, 307, 307, 307, /* 870 */ 307, 307, 307, 307, 307, 307, 307, 307, 307, 307, /* 880 */ 351, 358, 359, 360, 361, 357, 356, 352, 353, 354, /* 890 */ 355, 338, 183, 321, 307, 307, 307, 201, 307, 205, /* 900 */ 61, 307, 106, 307, 307, 307, 307, 167, 307, 307, /* 910 */ 337, 307, 307, 307, 346, 345, 307, 262, 307, 307, /* 920 */ 307, 307, 307, 307, 249, 47, 44, 43, 41, 28, /* 930 */ 27, 340, 339, 18, 29, 341, 342, 15, 14, 183, /* 940 */ 33, 307, 307, 307, 307, 307, 307, 307, 307, 307, /* 950 */ 307, 307, 307, 351, 358, 359, 360, 361, 357, 356, /* 960 */ 352, 353, 354, 355, 338, 307, 307, 307, 307, 307, /* 970 */ 307, 307, 47, 44, 43, 41, 28, 27, 340, 339, /* 980 */ 18, 29, 341, 342, 15, 14, 307, 307, 307, 307, /* 990 */ 307, 307, 307, 307, 307, 307, 307, 307, 307, 307, /* 1000 */ 351, 358, 359, 360, 361, 357, 356, 352, 353, 354, /* 1010 */ 355, 338, 183, 321, 307, 307, 307, 99, 307, 98, /* 1020 */ 53, 123, 101, 307, 307, 307, 307, 252, 307, 307, /* 1030 */ 337, 307, 307, 307, 346, 345, 307, 262, 307, 307, /* 1040 */ 307, 307, 307, 307, 307, 47, 44, 43, 41, 28, /* 1050 */ 27, 340, 339, 18, 29, 341, 342, 15, 14, 183, /* 1060 */ 307, 307, 307, 307, 307, 307, 307, 307, 307, 307, /* 1070 */ 307, 307, 307, 351, 358, 359, 360, 361, 357, 356, /* 1080 */ 352, 353, 354, 355, 338, 307, 307, 307, 307, 307, /* 1090 */ 307, 307, 47, 44, 43, 41, 28, 27, 340, 339, /* 1100 */ 18, 29, 341, 342, 15, 14, 307, 307, 307, 307, /* 1110 */ 307, 307, 307, 307, 307, 307, 307, 307, 307, 307, /* 1120 */ 351, 358, 359, 360, 361, 357, 356, 352, 353, 354, /* 1130 */ 355, 338, 307, 307, 307, 307, 3, 307, 115, 172, /* 1140 */ 307, 321, 186, 307, 199, 201, 307, 205, 68, 118, /* 1150 */ 106, 307, 211, 203, 307, 307, 48, 307, 337, 307, /* 1160 */ 307, 307, 346, 345, 307, 262, 307, 307, 307, 307, /* 1170 */ 19, 307, 307, 46, 45, 284, 207, 349, 307, 307, /* 1180 */ 87, 1, 257, 307, 307, 307, 3, 307, 115, 174, /* 1190 */ 307, 307, 186, 307, 199, 84, 307, 307, 307, 118, /* 1200 */ 226, 307, 211, 203, 307, 12, 48, 307, 307, 307, /* 1210 */ 307, 186, 307, 199, 307, 307, 307, 307, 118, 307, /* 1220 */ 19, 211, 307, 46, 45, 284, 207, 349, 307, 307, /* 1230 */ 87, 1, 307, 307, 307, 307, 3, 307, 115, 175, /* 1240 */ 307, 307, 186, 307, 199, 84, 307, 307, 307, 118, /* 1250 */ 226, 307, 211, 203, 307, 12, 48, 307, 307, 307, /* 1260 */ 307, 186, 307, 199, 328, 35, 236, 307, 118, 307, /* 1270 */ 19, 211, 307, 46, 45, 284, 207, 349, 307, 307, /* 1280 */ 87, 1, 307, 307, 307, 307, 3, 321, 115, 175, /* 1290 */ 307, 219, 186, 205, 199, 84, 106, 307, 307, 118, /* 1300 */ 307, 307, 211, 203, 208, 307, 48, 307, 346, 345, /* 1310 */ 307, 262, 307, 307, 327, 35, 236, 307, 307, 307, /* 1320 */ 31, 307, 307, 46, 45, 284, 207, 349, 307, 307, /* 1330 */ 87, 1, 307, 307, 307, 307, 3, 321, 108, 85, /* 1340 */ 307, 246, 186, 205, 199, 84, 106, 307, 307, 118, /* 1350 */ 307, 307, 211, 203, 245, 307, 48, 307, 346, 345, /* 1360 */ 307, 262, 307, 321, 307, 307, 307, 283, 307, 205, /* 1370 */ 31, 307, 106, 46, 45, 284, 207, 349, 307, 307, /* 1380 */ 87, 1, 307, 307, 346, 345, 3, 262, 115, 169, /* 1390 */ 307, 307, 186, 307, 199, 84, 307, 307, 307, 118, /* 1400 */ 307, 307, 211, 203, 307, 307, 48, 307, 307, 307, /* 1410 */ 307, 307, 307, 321, 307, 307, 307, 313, 307, 205, /* 1420 */ 31, 307, 106, 46, 45, 284, 207, 349, 307, 307, /* 1430 */ 87, 1, 307, 307, 346, 345, 3, 262, 113, 170, /* 1440 */ 307, 307, 186, 307, 199, 84, 307, 307, 307, 118, /* 1450 */ 307, 307, 211, 184, 307, 307, 48, 307, 307, 307, /* 1460 */ 307, 307, 307, 321, 307, 307, 307, 237, 307, 205, /* 1470 */ 19, 307, 106, 46, 45, 284, 207, 349, 307, 307, /* 1480 */ 87, 1, 307, 307, 346, 345, 3, 262, 113, 175, /* 1490 */ 307, 307, 186, 307, 199, 84, 307, 307, 307, 118, /* 1500 */ 307, 307, 211, 203, 307, 307, 48, 307, 307, 307, /* 1510 */ 307, 307, 307, 321, 307, 307, 307, 274, 307, 205, /* 1520 */ 19, 307, 106, 46, 45, 284, 207, 349, 307, 307, /* 1530 */ 87, 1, 307, 307, 346, 345, 3, 262, 116, 175, /* 1540 */ 307, 307, 186, 307, 199, 84, 307, 307, 307, 118, /* 1550 */ 307, 307, 211, 203, 307, 307, 48, 307, 307, 307, /* 1560 */ 307, 307, 307, 321, 307, 307, 307, 253, 307, 205, /* 1570 */ 19, 307, 106, 46, 45, 284, 207, 349, 307, 307, /* 1580 */ 87, 1, 307, 307, 346, 345, 3, 262, 113, 180, /* 1590 */ 307, 307, 186, 307, 199, 84, 307, 307, 307, 118, /* 1600 */ 307, 307, 211, 203, 307, 307, 48, 321, 307, 307, /* 1610 */ 307, 241, 307, 205, 307, 307, 106, 307, 307, 307, /* 1620 */ 19, 307, 307, 46, 45, 284, 207, 349, 346, 345, /* 1630 */ 87, 262, 307, 307, 307, 307, 3, 307, 113, 175, /* 1640 */ 307, 307, 186, 307, 199, 84, 307, 307, 307, 118, /* 1650 */ 307, 307, 211, 203, 307, 307, 48, 307, 307, 307, /* 1660 */ 307, 307, 321, 307, 307, 307, 176, 307, 205, 74, /* 1670 */ 19, 106, 307, 46, 45, 284, 207, 349, 307, 337, /* 1680 */ 87, 321, 307, 346, 345, 176, 262, 205, 74, 307, /* 1690 */ 106, 307, 307, 307, 307, 84, 227, 307, 337, 307, /* 1700 */ 307, 307, 346, 345, 307, 262, 307, 307, 307, 307, /* 1710 */ 307, 307, 321, 307, 182, 230, 201, 307, 205, 78, /* 1720 */ 307, 106, 307, 307, 307, 307, 307, 307, 307, 337, /* 1730 */ 307, 321, 307, 346, 345, 201, 262, 205, 82, 307, /* 1740 */ 106, 307, 307, 307, 307, 307, 307, 307, 337, 307, /* 1750 */ 321, 307, 346, 345, 201, 262, 205, 76, 307, 106, /* 1760 */ 307, 307, 307, 307, 307, 307, 307, 337, 307, 321, /* 1770 */ 307, 346, 345, 201, 262, 205, 72, 307, 106, 307, /* 1780 */ 307, 307, 307, 307, 307, 307, 337, 307, 307, 307, /* 1790 */ 346, 345, 307, 262, 321, 307, 307, 307, 201, 307, /* 1800 */ 205, 67, 307, 106, 307, 307, 307, 307, 307, 307, /* 1810 */ 307, 337, 307, 321, 307, 346, 345, 201, 262, 205, /* 1820 */ 55, 307, 106, 307, 307, 307, 307, 307, 307, 307, /* 1830 */ 337, 307, 321, 307, 346, 345, 201, 262, 205, 69, /* 1840 */ 307, 106, 307, 307, 307, 307, 307, 307, 307, 337, /* 1850 */ 307, 321, 307, 346, 345, 201, 262, 205, 57, 307, /* 1860 */ 106, 307, 307, 307, 307, 307, 307, 307, 337, 307, /* 1870 */ 307, 307, 346, 345, 307, 262, 321, 307, 307, 307, /* 1880 */ 201, 307, 205, 71, 307, 106, 307, 307, 307, 307, /* 1890 */ 307, 307, 307, 337, 307, 321, 307, 346, 345, 201, /* 1900 */ 262, 205, 63, 307, 106, 307, 307, 307, 307, 307, /* 1910 */ 307, 307, 337, 307, 321, 307, 346, 345, 201, 262, /* 1920 */ 205, 58, 307, 106, 307, 307, 307, 307, 307, 307, /* 1930 */ 307, 337, 307, 321, 307, 346, 345, 201, 262, 205, /* 1940 */ 56, 307, 106, 307, 307, 307, 307, 307, 307, 307, /* 1950 */ 337, 307, 307, 307, 346, 345, 307, 262, 321, 307, /* 1960 */ 307, 307, 201, 307, 205, 75, 307, 106, 307, 307, /* 1970 */ 307, 307, 307, 307, 307, 337, 307, 321, 307, 346, /* 1980 */ 345, 201, 262, 205, 62, 307, 106, 307, 307, 307, /* 1990 */ 307, 307, 307, 307, 337, 307, 321, 307, 346, 345, /* 2000 */ 201, 262, 205, 79, 307, 106, 307, 307, 307, 307, /* 2010 */ 307, 307, 307, 337, 307, 321, 307, 346, 345, 201, /* 2020 */ 262, 205, 77, 307, 106, 307, 307, 307, 307, 307, /* 2030 */ 307, 307, 337, 307, 307, 307, 346, 345, 307, 262, /* 2040 */ 321, 307, 307, 307, 201, 307, 205, 80, 307, 106, /* 2050 */ 307, 307, 307, 307, 307, 307, 307, 337, 307, 321, /* 2060 */ 307, 346, 345, 201, 262, 177, 54, 307, 106, 307, /* 2070 */ 307, 307, 307, 307, 307, 307, 337, 307, 321, 307, /* 2080 */ 346, 345, 201, 262, 205, 73, 307, 106, 307, 307, /* 2090 */ 307, 307, 307, 307, 307, 337, 307, 321, 307, 346, /* 2100 */ 345, 201, 262, 205, 51, 307, 106, 307, 307, 307, /* 2110 */ 307, 307, 307, 307, 337, 307, 307, 307, 346, 345, /* 2120 */ 307, 262, 321, 307, 307, 307, 201, 307, 205, 60, /* 2130 */ 307, 106, 307, 307, 307, 307, 307, 307, 307, 337, /* 2140 */ 307, 321, 307, 346, 345, 201, 262, 205, 59, 307, /* 2150 */ 106, 307, 307, 307, 307, 307, 307, 307, 337, 307, /* 2160 */ 321, 307, 346, 345, 201, 262, 205, 70, 307, 106, /* 2170 */ 307, 307, 307, 307, 307, 307, 307, 337, 307, 321, /* 2180 */ 307, 346, 345, 201, 262, 205, 64, 307, 106, 307, /* 2190 */ 307, 307, 307, 307, 307, 307, 337, 307, 307, 307, /* 2200 */ 346, 345, 307, 262, 321, 307, 307, 307, 201, 307, /* 2210 */ 205, 65, 307, 106, 307, 307, 307, 307, 307, 307, /* 2220 */ 307, 337, 307, 321, 307, 346, 345, 348, 262, 205, /* 2230 */ 321, 307, 106, 307, 275, 307, 205, 307, 183, 106, /* 2240 */ 347, 307, 307, 307, 346, 345, 307, 262, 307, 307, /* 2250 */ 307, 346, 345, 335, 262, 307, 307, 216, 307, 185, /* 2260 */ 307, 307, 307, 307, 307, 307, 307, 307, 307, 307, /* 2270 */ 307, 307, 307, 307, 307, 307, 307, 307, 307, 307, /* 2280 */ 307, 307, 307, 307, 307, 307, 11, 307, 307, 307, /* 2290 */ 307, 307, 307, 307, 114, ); static public $yy_lookahead = array( /* 0 */ 1, 86, 109, 110, 3, 4, 5, 6, 7, 8, /* 10 */ 9, 10, 11, 12, 99, 16, 15, 15, 16, 49, /* 20 */ 18, 22, 21, 50, 23, 55, 15, 57, 113, 28, /* 30 */ 33, 61, 31, 34, 35, 36, 37, 38, 39, 40, /* 40 */ 41, 42, 43, 44, 45, 46, 47, 4, 5, 15, /* 50 */ 26, 8, 18, 19, 1, 12, 13, 14, 61, 25, /* 60 */ 49, 62, 63, 64, 65, 66, 67, 68, 69, 70, /* 70 */ 71, 72, 73, 1, 81, 22, 86, 51, 85, 18, /* 80 */ 87, 88, 89, 90, 78, 79, 80, 81, 82, 99, /* 90 */ 19, 98, 55, 32, 22, 102, 103, 60, 105, 27, /* 100 */ 29, 16, 107, 113, 109, 110, 34, 35, 36, 37, /* 110 */ 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, /* 120 */ 49, 16, 49, 15, 16, 16, 18, 22, 57, 15, /* 130 */ 25, 22, 18, 19, 62, 63, 64, 65, 66, 67, /* 140 */ 68, 69, 70, 71, 72, 73, 1, 81, 109, 110, /* 150 */ 86, 85, 50, 87, 88, 91, 90, 50, 49, 30, /* 160 */ 86, 16, 20, 99, 98, 91, 57, 22, 102, 103, /* 170 */ 16, 105, 58, 99, 100, 101, 22, 48, 112, 34, /* 180 */ 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, /* 190 */ 45, 46, 47, 17, 18, 16, 106, 55, 108, 16, /* 200 */ 25, 22, 60, 87, 25, 22, 90, 62, 63, 64, /* 210 */ 65, 66, 67, 68, 69, 70, 71, 72, 73, 1, /* 220 */ 81, 105, 15, 17, 85, 18, 87, 88, 89, 90, /* 230 */ 1, 48, 18, 86, 16, 59, 15, 98, 91, 18, /* 240 */ 19, 102, 103, 99, 105, 16, 99, 100, 101, 20, /* 250 */ 75, 22, 34, 35, 36, 37, 38, 39, 40, 41, /* 260 */ 42, 43, 44, 45, 46, 47, 1, 15, 19, 17, /* 270 */ 18, 15, 58, 15, 18, 15, 18, 17, 18, 2, /* 280 */ 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, /* 290 */ 72, 73, 32, 80, 81, 82, 19, 18, 30, 34, /* 300 */ 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, /* 310 */ 45, 46, 47, 86, 58, 50, 58, 49, 91, 81, /* 320 */ 17, 19, 20, 17, 18, 57, 99, 62, 63, 64, /* 330 */ 65, 66, 67, 68, 69, 70, 71, 72, 73, 1, /* 340 */ 81, 91, 16, 86, 85, 20, 87, 88, 22, 90, /* 350 */ 100, 101, 93, 86, 116, 117, 99, 98, 91, 57, /* 360 */ 22, 102, 103, 16, 105, 16, 99, 100, 101, 22, /* 370 */ 113, 22, 34, 35, 36, 37, 38, 39, 40, 41, /* 380 */ 42, 43, 44, 45, 46, 47, 1, 16, 16, 22, /* 390 */ 16, 16, 108, 22, 22, 48, 22, 22, 19, 86, /* 400 */ 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, /* 410 */ 72, 73, 99, 15, 22, 82, 18, 84, 16, 34, /* 420 */ 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, /* 430 */ 45, 46, 47, 1, 55, 49, 16, 22, 16, 16, /* 440 */ 111, 2, 22, 57, 22, 22, 61, 62, 63, 64, /* 450 */ 65, 66, 67, 68, 69, 70, 71, 72, 73, 16, /* 460 */ 106, 22, 108, 93, 94, 29, 34, 35, 36, 37, /* 470 */ 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, /* 480 */ 86, 104, 32, 16, 16, 25, 16, 18, 111, 22, /* 490 */ 22, 48, 22, 99, 62, 63, 64, 65, 66, 67, /* 500 */ 68, 69, 70, 71, 72, 73, 1, 75, 81, 24, /* 510 */ 15, 17, 85, 18, 87, 88, 89, 90, 33, 15, /* 520 */ 16, 16, 18, 15, 16, 98, 18, 20, 104, 102, /* 530 */ 103, 16, 105, 15, 30, 111, 18, 22, 30, 34, /* 540 */ 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, /* 550 */ 45, 46, 47, 1, 16, 16, 32, 17, 29, 61, /* 560 */ 22, 22, 2, 18, 57, 81, 86, 62, 63, 64, /* 570 */ 65, 66, 67, 68, 69, 70, 71, 72, 73, 99, /* 580 */ 19, 17, 55, 18, 18, 18, 34, 35, 36, 37, /* 590 */ 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, /* 600 */ 97, 117, 50, 18, 17, 16, 59, 48, 59, 18, /* 610 */ 22, 108, 49, 18, 62, 63, 64, 65, 66, 67, /* 620 */ 68, 69, 70, 71, 72, 73, 1, 81, 22, 86, /* 630 */ 86, 85, 95, 87, 88, 91, 90, 13, 96, 86, /* 640 */ 86, 16, 99, 99, 98, 91, 95, 106, 102, 103, /* 650 */ 108, 105, 99, 99, 100, 101, 83, 107, 112, 34, /* 660 */ 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, /* 670 */ 45, 46, 47, 96, 96, 93, 106, 2, 110, 118, /* 680 */ 106, 106, 92, 118, 113, 108, 108, 62, 63, 64, /* 690 */ 65, 66, 67, 68, 69, 70, 71, 72, 73, 1, /* 700 */ 81, 92, 86, 92, 85, 92, 87, 88, 96, 90, /* 710 */ 118, 96, 118, 96, 16, 99, 96, 98, 96, 118, /* 720 */ 108, 102, 103, 108, 105, 108, 118, 118, 108, 118, /* 730 */ 108, 112, 34, 35, 36, 37, 38, 39, 40, 41, /* 740 */ 42, 43, 44, 45, 46, 47, 96, 96, 118, 118, /* 750 */ 118, 118, 118, 118, 118, 118, 118, 118, 108, 108, /* 760 */ 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, /* 770 */ 72, 73, 1, 118, 118, 81, 118, 118, 118, 85, /* 780 */ 118, 87, 88, 89, 90, 118, 118, 118, 118, 118, /* 790 */ 118, 118, 98, 118, 118, 24, 102, 103, 118, 105, /* 800 */ 118, 118, 118, 118, 118, 34, 35, 36, 37, 38, /* 810 */ 39, 40, 41, 42, 43, 44, 45, 46, 47, 1, /* 820 */ 118, 118, 118, 118, 118, 118, 118, 118, 118, 118, /* 830 */ 118, 118, 118, 62, 63, 64, 65, 66, 67, 68, /* 840 */ 69, 70, 71, 72, 73, 118, 118, 118, 118, 118, /* 850 */ 118, 33, 34, 35, 36, 37, 38, 39, 40, 41, /* 860 */ 42, 43, 44, 45, 46, 47, 118, 118, 118, 118, /* 870 */ 118, 118, 118, 118, 118, 118, 118, 118, 118, 118, /* 880 */ 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, /* 890 */ 72, 73, 1, 81, 118, 118, 118, 85, 118, 87, /* 900 */ 88, 118, 90, 118, 118, 118, 118, 16, 118, 118, /* 910 */ 98, 118, 118, 118, 102, 103, 118, 105, 118, 118, /* 920 */ 118, 118, 118, 118, 112, 34, 35, 36, 37, 38, /* 930 */ 39, 40, 41, 42, 43, 44, 45, 46, 47, 1, /* 940 */ 2, 118, 118, 118, 118, 118, 118, 118, 118, 118, /* 950 */ 118, 118, 118, 62, 63, 64, 65, 66, 67, 68, /* 960 */ 69, 70, 71, 72, 73, 118, 118, 118, 118, 118, /* 970 */ 118, 118, 34, 35, 36, 37, 38, 39, 40, 41, /* 980 */ 42, 43, 44, 45, 46, 47, 118, 118, 118, 118, /* 990 */ 118, 118, 118, 118, 118, 118, 118, 118, 118, 118, /* 1000 */ 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, /* 1010 */ 72, 73, 1, 81, 118, 118, 118, 85, 118, 87, /* 1020 */ 88, 89, 90, 118, 118, 118, 118, 16, 118, 118, /* 1030 */ 98, 118, 118, 118, 102, 103, 118, 105, 118, 118, /* 1040 */ 118, 118, 118, 118, 118, 34, 35, 36, 37, 38, /* 1050 */ 39, 40, 41, 42, 43, 44, 45, 46, 47, 1, /* 1060 */ 118, 118, 118, 118, 118, 118, 118, 118, 118, 118, /* 1070 */ 118, 118, 118, 62, 63, 64, 65, 66, 67, 68, /* 1080 */ 69, 70, 71, 72, 73, 118, 118, 118, 118, 118, /* 1090 */ 118, 118, 34, 35, 36, 37, 38, 39, 40, 41, /* 1100 */ 42, 43, 44, 45, 46, 47, 118, 118, 118, 118, /* 1110 */ 118, 118, 118, 118, 118, 118, 118, 118, 118, 118, /* 1120 */ 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, /* 1130 */ 72, 73, 118, 118, 118, 118, 15, 118, 17, 18, /* 1140 */ 118, 81, 21, 118, 23, 85, 118, 87, 88, 28, /* 1150 */ 90, 118, 31, 32, 118, 118, 35, 118, 98, 118, /* 1160 */ 118, 118, 102, 103, 118, 105, 118, 118, 118, 118, /* 1170 */ 49, 118, 118, 52, 53, 54, 55, 56, 118, 118, /* 1180 */ 59, 60, 61, 118, 118, 118, 15, 118, 17, 18, /* 1190 */ 118, 118, 21, 118, 23, 74, 118, 118, 118, 28, /* 1200 */ 10, 118, 31, 32, 118, 15, 35, 118, 118, 118, /* 1210 */ 118, 21, 118, 23, 118, 118, 118, 118, 28, 118, /* 1220 */ 49, 31, 118, 52, 53, 54, 55, 56, 118, 118, /* 1230 */ 59, 60, 118, 118, 118, 118, 15, 118, 17, 18, /* 1240 */ 118, 118, 21, 118, 23, 74, 118, 118, 118, 28, /* 1250 */ 10, 118, 31, 32, 118, 15, 35, 118, 118, 118, /* 1260 */ 118, 21, 118, 23, 74, 75, 76, 118, 28, 118, /* 1270 */ 49, 31, 118, 52, 53, 54, 55, 56, 118, 118, /* 1280 */ 59, 60, 118, 118, 118, 118, 15, 81, 17, 18, /* 1290 */ 118, 85, 21, 87, 23, 74, 90, 118, 118, 28, /* 1300 */ 118, 118, 31, 32, 98, 118, 35, 118, 102, 103, /* 1310 */ 118, 105, 118, 118, 74, 75, 76, 118, 118, 118, /* 1320 */ 49, 118, 118, 52, 53, 54, 55, 56, 118, 118, /* 1330 */ 59, 60, 118, 118, 118, 118, 15, 81, 17, 18, /* 1340 */ 118, 85, 21, 87, 23, 74, 90, 118, 118, 28, /* 1350 */ 118, 118, 31, 32, 98, 118, 35, 118, 102, 103, /* 1360 */ 118, 105, 118, 81, 118, 118, 118, 85, 118, 87, /* 1370 */ 49, 118, 90, 52, 53, 54, 55, 56, 118, 118, /* 1380 */ 59, 60, 118, 118, 102, 103, 15, 105, 17, 18, /* 1390 */ 118, 118, 21, 118, 23, 74, 118, 118, 118, 28, /* 1400 */ 118, 118, 31, 32, 118, 118, 35, 118, 118, 118, /* 1410 */ 118, 118, 118, 81, 118, 118, 118, 85, 118, 87, /* 1420 */ 49, 118, 90, 52, 53, 54, 55, 56, 118, 118, /* 1430 */ 59, 60, 118, 118, 102, 103, 15, 105, 17, 18, /* 1440 */ 118, 118, 21, 118, 23, 74, 118, 118, 118, 28, /* 1450 */ 118, 118, 31, 32, 118, 118, 35, 118, 118, 118, /* 1460 */ 118, 118, 118, 81, 118, 118, 118, 85, 118, 87, /* 1470 */ 49, 118, 90, 52, 53, 54, 55, 56, 118, 118, /* 1480 */ 59, 60, 118, 118, 102, 103, 15, 105, 17, 18, /* 1490 */ 118, 118, 21, 118, 23, 74, 118, 118, 118, 28, /* 1500 */ 118, 118, 31, 32, 118, 118, 35, 118, 118, 118, /* 1510 */ 118, 118, 118, 81, 118, 118, 118, 85, 118, 87, /* 1520 */ 49, 118, 90, 52, 53, 54, 55, 56, 118, 118, /* 1530 */ 59, 60, 118, 118, 102, 103, 15, 105, 17, 18, /* 1540 */ 118, 118, 21, 118, 23, 74, 118, 118, 118, 28, /* 1550 */ 118, 118, 31, 32, 118, 118, 35, 118, 118, 118, /* 1560 */ 118, 118, 118, 81, 118, 118, 118, 85, 118, 87, /* 1570 */ 49, 118, 90, 52, 53, 54, 55, 56, 118, 118, /* 1580 */ 59, 60, 118, 118, 102, 103, 15, 105, 17, 18, /* 1590 */ 118, 118, 21, 118, 23, 74, 118, 118, 118, 28, /* 1600 */ 118, 118, 31, 32, 118, 118, 35, 81, 118, 118, /* 1610 */ 118, 85, 118, 87, 118, 118, 90, 118, 118, 118, /* 1620 */ 49, 118, 118, 52, 53, 54, 55, 56, 102, 103, /* 1630 */ 59, 105, 118, 118, 118, 118, 15, 118, 17, 18, /* 1640 */ 118, 118, 21, 118, 23, 74, 118, 118, 118, 28, /* 1650 */ 118, 118, 31, 32, 118, 118, 35, 118, 118, 118, /* 1660 */ 118, 118, 81, 118, 118, 118, 85, 118, 87, 88, /* 1670 */ 49, 90, 118, 52, 53, 54, 55, 56, 118, 98, /* 1680 */ 59, 81, 118, 102, 103, 85, 105, 87, 88, 118, /* 1690 */ 90, 118, 118, 118, 118, 74, 115, 118, 98, 118, /* 1700 */ 118, 118, 102, 103, 118, 105, 118, 118, 118, 118, /* 1710 */ 118, 118, 81, 118, 114, 115, 85, 118, 87, 88, /* 1720 */ 118, 90, 118, 118, 118, 118, 118, 118, 118, 98, /* 1730 */ 118, 81, 118, 102, 103, 85, 105, 87, 88, 118, /* 1740 */ 90, 118, 118, 118, 118, 118, 118, 118, 98, 118, /* 1750 */ 81, 118, 102, 103, 85, 105, 87, 88, 118, 90, /* 1760 */ 118, 118, 118, 118, 118, 118, 118, 98, 118, 81, /* 1770 */ 118, 102, 103, 85, 105, 87, 88, 118, 90, 118, /* 1780 */ 118, 118, 118, 118, 118, 118, 98, 118, 118, 118, /* 1790 */ 102, 103, 118, 105, 81, 118, 118, 118, 85, 118, /* 1800 */ 87, 88, 118, 90, 118, 118, 118, 118, 118, 118, /* 1810 */ 118, 98, 118, 81, 118, 102, 103, 85, 105, 87, /* 1820 */ 88, 118, 90, 118, 118, 118, 118, 118, 118, 118, /* 1830 */ 98, 118, 81, 118, 102, 103, 85, 105, 87, 88, /* 1840 */ 118, 90, 118, 118, 118, 118, 118, 118, 118, 98, /* 1850 */ 118, 81, 118, 102, 103, 85, 105, 87, 88, 118, /* 1860 */ 90, 118, 118, 118, 118, 118, 118, 118, 98, 118, /* 1870 */ 118, 118, 102, 103, 118, 105, 81, 118, 118, 118, /* 1880 */ 85, 118, 87, 88, 118, 90, 118, 118, 118, 118, /* 1890 */ 118, 118, 118, 98, 118, 81, 118, 102, 103, 85, /* 1900 */ 105, 87, 88, 118, 90, 118, 118, 118, 118, 118, /* 1910 */ 118, 118, 98, 118, 81, 118, 102, 103, 85, 105, /* 1920 */ 87, 88, 118, 90, 118, 118, 118, 118, 118, 118, /* 1930 */ 118, 98, 118, 81, 118, 102, 103, 85, 105, 87, /* 1940 */ 88, 118, 90, 118, 118, 118, 118, 118, 118, 118, /* 1950 */ 98, 118, 118, 118, 102, 103, 118, 105, 81, 118, /* 1960 */ 118, 118, 85, 118, 87, 88, 118, 90, 118, 118, /* 1970 */ 118, 118, 118, 118, 118, 98, 118, 81, 118, 102, /* 1980 */ 103, 85, 105, 87, 88, 118, 90, 118, 118, 118, /* 1990 */ 118, 118, 118, 118, 98, 118, 81, 118, 102, 103, /* 2000 */ 85, 105, 87, 88, 118, 90, 118, 118, 118, 118, /* 2010 */ 118, 118, 118, 98, 118, 81, 118, 102, 103, 85, /* 2020 */ 105, 87, 88, 118, 90, 118, 118, 118, 118, 118, /* 2030 */ 118, 118, 98, 118, 118, 118, 102, 103, 118, 105, /* 2040 */ 81, 118, 118, 118, 85, 118, 87, 88, 118, 90, /* 2050 */ 118, 118, 118, 118, 118, 118, 118, 98, 118, 81, /* 2060 */ 118, 102, 103, 85, 105, 87, 88, 118, 90, 118, /* 2070 */ 118, 118, 118, 118, 118, 118, 98, 118, 81, 118, /* 2080 */ 102, 103, 85, 105, 87, 88, 118, 90, 118, 118, /* 2090 */ 118, 118, 118, 118, 118, 98, 118, 81, 118, 102, /* 2100 */ 103, 85, 105, 87, 88, 118, 90, 118, 118, 118, /* 2110 */ 118, 118, 118, 118, 98, 118, 118, 118, 102, 103, /* 2120 */ 118, 105, 81, 118, 118, 118, 85, 118, 87, 88, /* 2130 */ 118, 90, 118, 118, 118, 118, 118, 118, 118, 98, /* 2140 */ 118, 81, 118, 102, 103, 85, 105, 87, 88, 118, /* 2150 */ 90, 118, 118, 118, 118, 118, 118, 118, 98, 118, /* 2160 */ 81, 118, 102, 103, 85, 105, 87, 88, 118, 90, /* 2170 */ 118, 118, 118, 118, 118, 118, 118, 98, 118, 81, /* 2180 */ 118, 102, 103, 85, 105, 87, 88, 118, 90, 118, /* 2190 */ 118, 118, 118, 118, 118, 118, 98, 118, 118, 118, /* 2200 */ 102, 103, 118, 105, 81, 118, 118, 118, 85, 118, /* 2210 */ 87, 88, 118, 90, 118, 118, 118, 118, 118, 118, /* 2220 */ 118, 98, 118, 81, 118, 102, 103, 85, 105, 87, /* 2230 */ 81, 118, 90, 118, 85, 118, 87, 118, 1, 90, /* 2240 */ 98, 118, 118, 118, 102, 103, 118, 105, 118, 118, /* 2250 */ 118, 102, 103, 16, 105, 118, 118, 20, 118, 22, /* 2260 */ 118, 118, 118, 118, 118, 118, 118, 118, 118, 118, /* 2270 */ 118, 118, 118, 118, 118, 118, 118, 118, 118, 118, /* 2280 */ 118, 118, 118, 118, 118, 118, 49, 118, 118, 118, /* 2290 */ 118, 118, 118, 118, 57, ); const YY_SHIFT_USE_DFLT = -31; const YY_SHIFT_MAX = 224; static public $yy_shift_ofst = array( /* 0 */ 1, 1171, 1271, 1321, 1221, 1271, 1171, 1521, 1371, 1221, /* 10 */ 1221, 1221, 1321, 1121, 1221, 1221, 1221, 1221, 1221, 1221, /* 20 */ 1221, 1221, 1221, 1221, 1221, 1221, 1221, 1221, 1221, 1221, /* 30 */ 1221, 1221, 1221, 1221, 1221, 1221, 1221, 1221, 1221, 1421, /* 40 */ 1471, 1471, 1571, 1621, 1621, 1621, 1621, 1621, 1621, -1, /* 50 */ 145, 72, 338, 338, 432, 265, 218, 385, 505, 938, /* 60 */ 1011, 818, 891, 771, 698, 552, 625, 1058, 1058, 1058, /* 70 */ 1058, 1058, 1058, 1058, 1058, 1058, 1058, 1058, 1058, 1058, /* 80 */ 1058, 1058, 1058, 1, 1240, 2237, 229, 176, 142, 439, /* 90 */ 439, 439, 53, 1190, 43, 34, 114, 105, 179, 347, /* 100 */ 258, 302, 207, 207, 306, 207, 507, 207, 398, 207, /* 110 */ 207, 207, 207, 207, 306, 495, 495, 518, 367, 303, /* 120 */ 392, 325, 392, 392, 325, 504, 508, 252, 256, 108, /* 130 */ 221, 2, 374, 371, 37, 154, 11, 326, 37, 37, /* 140 */ 349, 372, 539, 468, 467, 375, 37, 37, 538, 515, /* 150 */ 470, 423, 422, 420, 606, 606, 624, 73, 303, 325, /* 160 */ 325, 325, 675, -31, -31, -31, -31, -31, -31, 109, /* 170 */ 71, 260, -30, 183, 268, 386, 129, 175, 277, 443, /* 180 */ 386, 485, -3, 214, 379, 61, 415, 24, 85, 249, /* 190 */ 26, 107, 73, 402, 595, 585, 560, 567, 589, 588, /* 200 */ 591, 559, 563, 527, 540, 460, 450, 524, 529, 564, /* 210 */ 561, 545, 498, 565, 494, 469, 566, 549, 547, 436, /* 220 */ 587, 102, 206, -27, 279, ); const YY_REDUCE_USE_DFLT = -108; const YY_REDUCE_MAX = 168; static public $yy_reduce_ofst = array( /* 0 */ 6, 1600, -7, 932, 66, 427, 1581, 259, 139, 546, /* 10 */ 812, 619, 694, 1770, 1751, 1795, 1814, 1896, 1877, 1732, /* 20 */ 1852, 1833, 1915, 1631, 1060, 1650, 1688, 1934, 1713, 1669, /* 30 */ 2098, 2123, 2041, 2079, 1997, 1978, 2016, 2060, 1959, 1206, /* 40 */ 1256, 2142, 1382, 1332, 1526, 1282, 2149, 1482, 1432, 74, /* 50 */ 147, 267, 554, 74, 250, 250, 250, 250, 250, 250, /* 60 */ 250, 250, 250, 250, 250, 250, 250, 250, 250, 250, /* 70 */ 250, 250, 250, 250, 250, 250, 250, 250, 250, 250, /* 80 */ 250, 250, 250, 213, 238, 544, 64, 116, -5, -10, /* 90 */ -85, 257, 227, 484, 333, 503, 354, 543, 543, 553, /* 100 */ 354, 39, 90, 620, 377, 542, 39, 577, 617, 615, /* 110 */ 578, 612, 650, 617, 424, 617, 651, 622, 616, 370, /* 120 */ 313, 39, 480, 394, -107, 284, 284, 329, 284, 284, /* 130 */ 284, 284, 144, 144, 550, 144, 541, 144, 550, 550, /* 140 */ 144, 144, 144, 144, 144, 144, 550, 550, 144, 144, /* 150 */ 144, 144, 144, 144, 537, 551, 573, 570, 582, 568, /* 160 */ 568, 568, 571, 590, 611, 613, 609, 574, 575, ); static public $yyExpectedTokens = array( /* 0 */ array(3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 15, 21, 23, 28, 31, ), /* 1 */ array(15, 17, 18, 21, 23, 28, 31, 32, 35, 49, 52, 53, 54, 55, 56, 59, 60, 74, ), /* 2 */ array(15, 17, 18, 21, 23, 28, 31, 32, 35, 49, 52, 53, 54, 55, 56, 59, 60, 74, ), /* 3 */ array(15, 17, 18, 21, 23, 28, 31, 32, 35, 49, 52, 53, 54, 55, 56, 59, 60, 74, ), /* 4 */ array(15, 17, 18, 21, 23, 28, 31, 32, 35, 49, 52, 53, 54, 55, 56, 59, 60, 74, ), /* 5 */ array(15, 17, 18, 21, 23, 28, 31, 32, 35, 49, 52, 53, 54, 55, 56, 59, 60, 74, ), /* 6 */ array(15, 17, 18, 21, 23, 28, 31, 32, 35, 49, 52, 53, 54, 55, 56, 59, 60, 74, ), /* 7 */ array(15, 17, 18, 21, 23, 28, 31, 32, 35, 49, 52, 53, 54, 55, 56, 59, 60, 74, ), /* 8 */ array(15, 17, 18, 21, 23, 28, 31, 32, 35, 49, 52, 53, 54, 55, 56, 59, 60, 74, ), /* 9 */ array(15, 17, 18, 21, 23, 28, 31, 32, 35, 49, 52, 53, 54, 55, 56, 59, 60, 74, ), /* 10 */ array(15, 17, 18, 21, 23, 28, 31, 32, 35, 49, 52, 53, 54, 55, 56, 59, 60, 74, ), /* 11 */ array(15, 17, 18, 21, 23, 28, 31, 32, 35, 49, 52, 53, 54, 55, 56, 59, 60, 74, ), /* 12 */ array(15, 17, 18, 21, 23, 28, 31, 32, 35, 49, 52, 53, 54, 55, 56, 59, 60, 74, ), /* 13 */ array(15, 17, 18, 21, 23, 28, 31, 32, 35, 49, 52, 53, 54, 55, 56, 59, 60, 61, 74, ), /* 14 */ array(15, 17, 18, 21, 23, 28, 31, 32, 35, 49, 52, 53, 54, 55, 56, 59, 60, 74, ), /* 15 */ array(15, 17, 18, 21, 23, 28, 31, 32, 35, 49, 52, 53, 54, 55, 56, 59, 60, 74, ), /* 16 */ array(15, 17, 18, 21, 23, 28, 31, 32, 35, 49, 52, 53, 54, 55, 56, 59, 60, 74, ), /* 17 */ array(15, 17, 18, 21, 23, 28, 31, 32, 35, 49, 52, 53, 54, 55, 56, 59, 60, 74, ), /* 18 */ array(15, 17, 18, 21, 23, 28, 31, 32, 35, 49, 52, 53, 54, 55, 56, 59, 60, 74, ), /* 19 */ array(15, 17, 18, 21, 23, 28, 31, 32, 35, 49, 52, 53, 54, 55, 56, 59, 60, 74, ), /* 20 */ array(15, 17, 18, 21, 23, 28, 31, 32, 35, 49, 52, 53, 54, 55, 56, 59, 60, 74, ), /* 21 */ array(15, 17, 18, 21, 23, 28, 31, 32, 35, 49, 52, 53, 54, 55, 56, 59, 60, 74, ), /* 22 */ array(15, 17, 18, 21, 23, 28, 31, 32, 35, 49, 52, 53, 54, 55, 56, 59, 60, 74, ), /* 23 */ array(15, 17, 18, 21, 23, 28, 31, 32, 35, 49, 52, 53, 54, 55, 56, 59, 60, 74, ), /* 24 */ array(15, 17, 18, 21, 23, 28, 31, 32, 35, 49, 52, 53, 54, 55, 56, 59, 60, 74, ), /* 25 */ array(15, 17, 18, 21, 23, 28, 31, 32, 35, 49, 52, 53, 54, 55, 56, 59, 60, 74, ), /* 26 */ array(15, 17, 18, 21, 23, 28, 31, 32, 35, 49, 52, 53, 54, 55, 56, 59, 60, 74, ), /* 27 */ array(15, 17, 18, 21, 23, 28, 31, 32, 35, 49, 52, 53, 54, 55, 56, 59, 60, 74, ), /* 28 */ array(15, 17, 18, 21, 23, 28, 31, 32, 35, 49, 52, 53, 54, 55, 56, 59, 60, 74, ), /* 29 */ array(15, 17, 18, 21, 23, 28, 31, 32, 35, 49, 52, 53, 54, 55, 56, 59, 60, 74, ), /* 30 */ array(15, 17, 18, 21, 23, 28, 31, 32, 35, 49, 52, 53, 54, 55, 56, 59, 60, 74, ), /* 31 */ array(15, 17, 18, 21, 23, 28, 31, 32, 35, 49, 52, 53, 54, 55, 56, 59, 60, 74, ), /* 32 */ array(15, 17, 18, 21, 23, 28, 31, 32, 35, 49, 52, 53, 54, 55, 56, 59, 60, 74, ), /* 33 */ array(15, 17, 18, 21, 23, 28, 31, 32, 35, 49, 52, 53, 54, 55, 56, 59, 60, 74, ), /* 34 */ array(15, 17, 18, 21, 23, 28, 31, 32, 35, 49, 52, 53, 54, 55, 56, 59, 60, 74, ), /* 35 */ array(15, 17, 18, 21, 23, 28, 31, 32, 35, 49, 52, 53, 54, 55, 56, 59, 60, 74, ), /* 36 */ array(15, 17, 18, 21, 23, 28, 31, 32, 35, 49, 52, 53, 54, 55, 56, 59, 60, 74, ), /* 37 */ array(15, 17, 18, 21, 23, 28, 31, 32, 35, 49, 52, 53, 54, 55, 56, 59, 60, 74, ), /* 38 */ array(15, 17, 18, 21, 23, 28, 31, 32, 35, 49, 52, 53, 54, 55, 56, 59, 60, 74, ), /* 39 */ array(15, 17, 18, 21, 23, 28, 31, 32, 35, 49, 52, 53, 54, 55, 56, 59, 60, 74, ), /* 40 */ array(15, 17, 18, 21, 23, 28, 31, 32, 35, 49, 52, 53, 54, 55, 56, 59, 60, 74, ), /* 41 */ array(15, 17, 18, 21, 23, 28, 31, 32, 35, 49, 52, 53, 54, 55, 56, 59, 60, 74, ), /* 42 */ array(15, 17, 18, 21, 23, 28, 31, 32, 35, 49, 52, 53, 54, 55, 56, 59, 74, ), /* 43 */ array(15, 17, 18, 21, 23, 28, 31, 32, 35, 49, 52, 53, 54, 55, 56, 59, 74, ), /* 44 */ array(15, 17, 18, 21, 23, 28, 31, 32, 35, 49, 52, 53, 54, 55, 56, 59, 74, ), /* 45 */ array(15, 17, 18, 21, 23, 28, 31, 32, 35, 49, 52, 53, 54, 55, 56, 59, 74, ), /* 46 */ array(15, 17, 18, 21, 23, 28, 31, 32, 35, 49, 52, 53, 54, 55, 56, 59, 74, ), /* 47 */ array(15, 17, 18, 21, 23, 28, 31, 32, 35, 49, 52, 53, 54, 55, 56, 59, 74, ), /* 48 */ array(15, 17, 18, 21, 23, 28, 31, 32, 35, 49, 52, 53, 54, 55, 56, 59, 74, ), /* 49 */ array(1, 16, 22, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, ), /* 50 */ array(1, 16, 22, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, ), /* 51 */ array(1, 22, 27, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, ), /* 52 */ array(1, 22, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, ), /* 53 */ array(1, 22, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, ), /* 54 */ array(1, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 75, ), /* 55 */ array(1, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 50, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, ), /* 56 */ array(1, 16, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, ), /* 57 */ array(1, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, ), /* 58 */ array(1, 16, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, ), /* 59 */ array(1, 2, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, ), /* 60 */ array(1, 16, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, ), /* 61 */ array(1, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, ), /* 62 */ array(1, 16, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, ), /* 63 */ array(1, 24, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, ), /* 64 */ array(1, 16, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, ), /* 65 */ array(1, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 50, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, ), /* 66 */ array(1, 16, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, ), /* 67 */ array(1, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, ), /* 68 */ array(1, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, ), /* 69 */ array(1, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, ), /* 70 */ array(1, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, ), /* 71 */ array(1, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, ), /* 72 */ array(1, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, ), /* 73 */ array(1, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, ), /* 74 */ array(1, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, ), /* 75 */ array(1, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, ), /* 76 */ array(1, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, ), /* 77 */ array(1, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, ), /* 78 */ array(1, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, ), /* 79 */ array(1, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, ), /* 80 */ array(1, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, ), /* 81 */ array(1, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, ), /* 82 */ array(1, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, ), /* 83 */ array(3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 15, 21, 23, 28, 31, ), /* 84 */ array(10, 15, 21, 23, 28, 31, 74, 75, 76, ), /* 85 */ array(1, 16, 20, 22, 49, 57, ), /* 86 */ array(1, 16, 20, 22, ), /* 87 */ array(17, 18, 59, ), /* 88 */ array(20, 55, 60, ), /* 89 */ array(2, 22, ), /* 90 */ array(2, 22, ), /* 91 */ array(2, 22, ), /* 92 */ array(1, 22, ), /* 93 */ array(10, 15, 21, 23, 28, 31, 74, 75, 76, ), /* 94 */ array(4, 5, 8, 12, 13, 14, ), /* 95 */ array(15, 18, 19, 25, ), /* 96 */ array(15, 18, 19, 58, ), /* 97 */ array(16, 22, 25, ), /* 98 */ array(16, 22, 25, ), /* 99 */ array(16, 22, 48, ), /* 100 */ array(15, 18, 58, ), /* 101 */ array(19, 20, 57, ), /* 102 */ array(15, 18, ), /* 103 */ array(15, 18, ), /* 104 */ array(17, 18, ), /* 105 */ array(15, 18, ), /* 106 */ array(20, 57, ), /* 107 */ array(15, 18, ), /* 108 */ array(15, 18, ), /* 109 */ array(15, 18, ), /* 110 */ array(15, 18, ), /* 111 */ array(15, 18, ), /* 112 */ array(15, 18, ), /* 113 */ array(15, 18, ), /* 114 */ array(17, 18, ), /* 115 */ array(15, 18, ), /* 116 */ array(15, 18, ), /* 117 */ array(15, 18, ), /* 118 */ array(22, ), /* 119 */ array(17, ), /* 120 */ array(22, ), /* 121 */ array(20, ), /* 122 */ array(22, ), /* 123 */ array(22, ), /* 124 */ array(20, ), /* 125 */ array(15, 16, 18, 30, ), /* 126 */ array(15, 16, 18, 30, ), /* 127 */ array(15, 17, 18, ), /* 128 */ array(15, 18, 58, ), /* 129 */ array(15, 16, 18, ), /* 130 */ array(15, 18, 19, ), /* 131 */ array(15, 16, 18, ), /* 132 */ array(16, 22, ), /* 133 */ array(16, 22, ), /* 134 */ array(55, 60, ), /* 135 */ array(16, 22, ), /* 136 */ array(15, 49, ), /* 137 */ array(16, 22, ), /* 138 */ array(55, 60, ), /* 139 */ array(55, 60, ), /* 140 */ array(16, 22, ), /* 141 */ array(16, 22, ), /* 142 */ array(16, 22, ), /* 143 */ array(16, 22, ), /* 144 */ array(16, 22, ), /* 145 */ array(16, 22, ), /* 146 */ array(55, 60, ), /* 147 */ array(55, 60, ), /* 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(22, ), /* 155 */ array(22, ), /* 156 */ array(13, ), /* 157 */ array(49, ), /* 158 */ array(17, ), /* 159 */ array(20, ), /* 160 */ array(20, ), /* 161 */ array(20, ), /* 162 */ array(2, ), /* 163 */ array(), /* 164 */ array(), /* 165 */ array(), /* 166 */ array(), /* 167 */ array(), /* 168 */ array(), /* 169 */ array(16, 22, 49, 57, ), /* 170 */ array(19, 29, 49, 57, ), /* 171 */ array(15, 17, 18, 32, ), /* 172 */ array(49, 55, 57, 61, ), /* 173 */ array(16, 22, 48, ), /* 174 */ array(30, 49, 57, ), /* 175 */ array(49, 57, ), /* 176 */ array(30, 48, ), /* 177 */ array(25, 75, ), /* 178 */ array(2, 19, ), /* 179 */ array(16, 48, ), /* 180 */ array(49, 57, ), /* 181 */ array(24, 33, ), /* 182 */ array(33, 61, ), /* 183 */ array(18, 58, ), /* 184 */ array(19, 55, ), /* 185 */ array(18, 32, ), /* 186 */ array(22, ), /* 187 */ array(26, ), /* 188 */ array(16, ), /* 189 */ array(19, ), /* 190 */ array(51, ), /* 191 */ array(50, ), /* 192 */ array(49, ), /* 193 */ array(16, ), /* 194 */ array(18, ), /* 195 */ array(18, ), /* 196 */ array(2, ), /* 197 */ array(18, ), /* 198 */ array(16, ), /* 199 */ array(22, ), /* 200 */ array(18, ), /* 201 */ array(48, ), /* 202 */ array(49, ), /* 203 */ array(55, ), /* 204 */ array(17, ), /* 205 */ array(25, ), /* 206 */ array(32, ), /* 207 */ array(32, ), /* 208 */ array(29, ), /* 209 */ array(17, ), /* 210 */ array(19, ), /* 211 */ array(18, ), /* 212 */ array(61, ), /* 213 */ array(18, ), /* 214 */ array(17, ), /* 215 */ array(18, ), /* 216 */ array(18, ), /* 217 */ array(59, ), /* 218 */ array(59, ), /* 219 */ array(29, ), /* 220 */ array(17, ), /* 221 */ array(50, ), /* 222 */ array(17, ), /* 223 */ array(50, ), /* 224 */ array(18, ), /* 225 */ array(), /* 226 */ array(), /* 227 */ array(), /* 228 */ array(), /* 229 */ array(), /* 230 */ array(), /* 231 */ array(), /* 232 */ array(), /* 233 */ array(), /* 234 */ array(), /* 235 */ array(), /* 236 */ array(), /* 237 */ array(), /* 238 */ array(), /* 239 */ array(), /* 240 */ array(), /* 241 */ array(), /* 242 */ array(), /* 243 */ array(), /* 244 */ array(), /* 245 */ array(), /* 246 */ array(), /* 247 */ array(), /* 248 */ array(), /* 249 */ array(), /* 250 */ array(), /* 251 */ array(), /* 252 */ array(), /* 253 */ array(), /* 254 */ array(), /* 255 */ array(), /* 256 */ array(), /* 257 */ array(), /* 258 */ array(), /* 259 */ array(), /* 260 */ array(), /* 261 */ array(), /* 262 */ array(), /* 263 */ array(), /* 264 */ array(), /* 265 */ array(), /* 266 */ array(), /* 267 */ array(), /* 268 */ array(), /* 269 */ array(), /* 270 */ array(), /* 271 */ array(), /* 272 */ array(), /* 273 */ array(), /* 274 */ array(), /* 275 */ array(), /* 276 */ array(), /* 277 */ array(), /* 278 */ array(), /* 279 */ array(), /* 280 */ array(), /* 281 */ array(), /* 282 */ array(), /* 283 */ array(), /* 284 */ array(), /* 285 */ array(), /* 286 */ array(), /* 287 */ array(), /* 288 */ array(), /* 289 */ array(), /* 290 */ array(), /* 291 */ array(), /* 292 */ array(), /* 293 */ array(), /* 294 */ array(), /* 295 */ array(), /* 296 */ array(), /* 297 */ array(), /* 298 */ array(), /* 299 */ array(), /* 300 */ array(), /* 301 */ array(), /* 302 */ array(), /* 303 */ array(), /* 304 */ array(), /* 305 */ array(), /* 306 */ array(), /* 307 */ array(), /* 308 */ array(), /* 309 */ array(), /* 310 */ array(), /* 311 */ array(), /* 312 */ array(), /* 313 */ array(), /* 314 */ array(), /* 315 */ array(), /* 316 */ array(), /* 317 */ array(), /* 318 */ array(), /* 319 */ array(), /* 320 */ array(), /* 321 */ array(), /* 322 */ array(), /* 323 */ array(), /* 324 */ array(), /* 325 */ array(), /* 326 */ array(), /* 327 */ array(), /* 328 */ array(), /* 329 */ array(), /* 330 */ array(), /* 331 */ array(), /* 332 */ array(), /* 333 */ array(), /* 334 */ array(), /* 335 */ array(), /* 336 */ array(), /* 337 */ array(), /* 338 */ array(), /* 339 */ array(), /* 340 */ array(), /* 341 */ array(), /* 342 */ array(), /* 343 */ array(), /* 344 */ array(), /* 345 */ array(), /* 346 */ array(), /* 347 */ array(), /* 348 */ array(), /* 349 */ array(), /* 350 */ array(), /* 351 */ array(), /* 352 */ array(), /* 353 */ array(), /* 354 */ array(), /* 355 */ array(), /* 356 */ array(), /* 357 */ array(), /* 358 */ array(), /* 359 */ array(), /* 360 */ array(), /* 361 */ array(), /* 362 */ array(), ); static public $yy_default = array( /* 0 */ 550, 533, 550, 550, 506, 550, 550, 550, 550, 506, /* 10 */ 506, 506, 550, 550, 550, 550, 550, 550, 550, 550, /* 20 */ 550, 550, 550, 550, 550, 550, 550, 550, 550, 550, /* 30 */ 550, 550, 550, 550, 550, 550, 550, 550, 550, 550, /* 40 */ 550, 550, 550, 550, 550, 550, 550, 550, 550, 550, /* 50 */ 550, 420, 420, 420, 550, 550, 550, 550, 550, 550, /* 60 */ 550, 505, 550, 550, 550, 550, 550, 441, 440, 450, /* 70 */ 453, 449, 534, 535, 536, 445, 446, 442, 437, 426, /* 80 */ 429, 422, 405, 363, 550, 464, 550, 550, 512, 420, /* 90 */ 420, 420, 420, 550, 550, 550, 479, 454, 454, 430, /* 100 */ 479, 472, 479, 550, 550, 550, 472, 550, 550, 550, /* 110 */ 550, 550, 550, 550, 550, 550, 550, 550, 420, 550, /* 120 */ 420, 472, 420, 420, 509, 550, 550, 550, 480, 550, /* 130 */ 550, 550, 550, 550, 496, 550, 479, 550, 498, 499, /* 140 */ 550, 550, 550, 550, 550, 550, 497, 477, 550, 550, /* 150 */ 550, 550, 550, 550, 549, 549, 380, 479, 550, 493, /* 160 */ 510, 513, 436, 515, 515, 515, 515, 479, 479, 464, /* 170 */ 425, 550, 464, 430, 464, 464, 430, 454, 491, 430, /* 180 */ 451, 550, 550, 550, 460, 550, 550, 427, 550, 425, /* 190 */ 466, 550, 491, 550, 550, 550, 491, 550, 550, 550, /* 200 */ 550, 430, 511, 460, 550, 454, 462, 550, 550, 550, /* 210 */ 550, 550, 550, 550, 550, 550, 550, 550, 550, 550, /* 220 */ 550, 550, 550, 550, 550, 530, 547, 532, 424, 540, /* 230 */ 531, 364, 546, 487, 548, 502, 543, 452, 484, 501, /* 240 */ 406, 433, 492, 412, 417, 517, 516, 466, 428, 504, /* 250 */ 503, 407, 408, 432, 500, 475, 486, 488, 485, 413, /* 260 */ 476, 403, 474, 416, 415, 419, 514, 458, 414, 491, /* 270 */ 409, 410, 411, 490, 455, 456, 478, 473, 481, 489, /* 280 */ 482, 431, 469, 457, 459, 461, 463, 404, 402, 372, /* 290 */ 371, 373, 374, 375, 370, 369, 365, 366, 367, 368, /* 300 */ 376, 377, 385, 386, 387, 418, 384, 383, 378, 379, /* 310 */ 381, 382, 483, 434, 391, 390, 392, 393, 394, 545, /* 320 */ 389, 471, 495, 388, 544, 395, 396, 537, 538, 539, /* 330 */ 542, 400, 401, 494, 397, 398, 399, 435, 529, 444, /* 340 */ 443, 447, 448, 507, 470, 468, 465, 438, 439, 467, /* 350 */ 508, 518, 525, 526, 527, 528, 524, 523, 519, 520, /* 360 */ 521, 522, 541, ); const YYNOCODE = 119; const YYSTACKDEPTH = 100; const YYNSTATE = 363; const YYNRULE = 187; const YYERRORSYMBOL = 77; 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 = '<br>'; }
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', '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', 'ternary', 'varindexed', 'modifier', 'modparameters', 'statement', 'statements', 'optspace', 'varvar', 'foraction', 'array', 'attribute', 'ifcond', 'lop', 'function', 'doublequoted_with_quotes', 'static_class_access', 'object', 'arrayindex', 'indexdef', 'varvarele', 'objectchain', 'objectelement', 'method', 'params', 'modparameter', 'arrayelements', 'arrayelement', 'doublequoted', 'doublequotedcontent', );
static public $yyRuleName = array( /* 0 */ "start ::= template", /* 1 */ "template ::= template_element", /* 2 */ "template ::= template template_element", /* 3 */ "template_element ::= smartytag", /* 4 */ "template_element ::= COMMENT", /* 5 */ "template_element ::= literal", /* 6 */ "template_element ::= PHPSTARTTAG", /* 7 */ "template_element ::= PHPENDTAG", /* 8 */ "template_element ::= ASPSTARTTAG", /* 9 */ "template_element ::= ASPENDTAG", /* 10 */ "template_element ::= FAKEPHPSTARTTAG", /* 11 */ "template_element ::= XMLTAG", /* 12 */ "template_element ::= OTHER", /* 13 */ "template_element ::= LINEBREAK", /* 14 */ "literal ::= LITERALSTART LITERALEND", /* 15 */ "literal ::= LITERALSTART literal_elements LITERALEND", /* 16 */ "literal_elements ::= literal_elements literal_element", /* 17 */ "literal_elements ::=", /* 18 */ "literal_element ::= literal", /* 19 */ "literal_element ::= LITERAL", /* 20 */ "literal_element ::= PHPSTARTTAG", /* 21 */ "literal_element ::= FAKEPHPSTARTTAG", /* 22 */ "literal_element ::= PHPENDTAG", /* 23 */ "smartytag ::= LDEL value RDEL", /* 24 */ "smartytag ::= LDEL value attributes RDEL", /* 25 */ "smartytag ::= LDEL variable attributes RDEL", /* 26 */ "smartytag ::= LDEL expr attributes RDEL", /* 27 */ "smartytag ::= LDEL ternary attributes RDEL", /* 28 */ "smartytag ::= LDEL DOLLAR ID EQUAL value RDEL", /* 29 */ "smartytag ::= LDEL DOLLAR ID EQUAL expr RDEL", /* 30 */ "smartytag ::= LDEL DOLLAR ID EQUAL expr attributes RDEL", /* 31 */ "smartytag ::= LDEL DOLLAR ID EQUAL ternary attributes RDEL", /* 32 */ "smartytag ::= LDEL varindexed EQUAL expr attributes RDEL", /* 33 */ "smartytag ::= LDEL varindexed EQUAL ternary attributes RDEL", /* 34 */ "smartytag ::= LDEL ID attributes RDEL", /* 35 */ "smartytag ::= LDEL ID RDEL", /* 36 */ "smartytag ::= LDEL ID PTR ID attributes RDEL", /* 37 */ "smartytag ::= LDEL ID modifier modparameters attributes RDEL", /* 38 */ "smartytag ::= LDEL ID PTR ID modifier modparameters attributes RDEL", /* 39 */ "smartytag ::= LDELIF SPACE expr RDEL", /* 40 */ "smartytag ::= LDELIF SPACE statement RDEL", /* 41 */ "smartytag ::= LDELFOR SPACE statements SEMICOLON optspace expr SEMICOLON optspace DOLLAR varvar foraction RDEL", /* 42 */ "foraction ::= EQUAL expr", /* 43 */ "foraction ::= INCDEC", /* 44 */ "smartytag ::= LDELFOR SPACE statement TO expr attributes RDEL", /* 45 */ "smartytag ::= LDELFOR SPACE statement TO expr STEP expr RDEL", /* 46 */ "smartytag ::= LDELFOREACH attributes RDEL", /* 47 */ "smartytag ::= LDELFOREACH SPACE value AS DOLLAR varvar RDEL", /* 48 */ "smartytag ::= LDELFOREACH SPACE value AS DOLLAR varvar APTR DOLLAR varvar RDEL", /* 49 */ "smartytag ::= LDELFOREACH SPACE array AS DOLLAR varvar RDEL", /* 50 */ "smartytag ::= LDELFOREACH SPACE array AS DOLLAR varvar APTR DOLLAR varvar RDEL", /* 51 */ "smartytag ::= LDELSLASH ID RDEL", /* 52 */ "smartytag ::= LDELSLASH ID attributes RDEL", /* 53 */ "smartytag ::= LDELSLASH ID modifier modparameters attributes RDEL", /* 54 */ "smartytag ::= LDELSLASH ID PTR ID RDEL", /* 55 */ "attributes ::= attributes attribute", /* 56 */ "attributes ::= attribute", /* 57 */ "attributes ::=", /* 58 */ "attribute ::= SPACE ID EQUAL ID", /* 59 */ "attribute ::= SPACE ID EQUAL expr", /* 60 */ "attribute ::= SPACE ID EQUAL value", /* 61 */ "attribute ::= SPACE ID EQUAL ternary", /* 62 */ "attribute ::= SPACE ID", /* 63 */ "attribute ::= SPACE INTEGER EQUAL expr", /* 64 */ "statements ::= statement", /* 65 */ "statements ::= statements COMMA statement", /* 66 */ "statement ::= DOLLAR varvar EQUAL expr", /* 67 */ "expr ::= value", /* 68 */ "expr ::= DOLLAR ID COLON ID", /* 69 */ "expr ::= expr MATH value", /* 70 */ "expr ::= expr UNIMATH value", /* 71 */ "expr ::= expr ANDSYM value", /* 72 */ "expr ::= array", /* 73 */ "expr ::= expr modifier modparameters", /* 74 */ "expr ::= expr ifcond expr", /* 75 */ "expr ::= expr ISIN array", /* 76 */ "expr ::= expr ISIN value", /* 77 */ "expr ::= expr lop expr", /* 78 */ "expr ::= expr ISDIVBY expr", /* 79 */ "expr ::= expr ISNOTDIVBY expr", /* 80 */ "expr ::= expr ISEVEN", /* 81 */ "expr ::= expr ISNOTEVEN", /* 82 */ "expr ::= expr ISEVENBY expr", /* 83 */ "expr ::= expr ISNOTEVENBY expr", /* 84 */ "expr ::= expr ISODD", /* 85 */ "expr ::= expr ISNOTODD", /* 86 */ "expr ::= expr ISODDBY expr", /* 87 */ "expr ::= expr ISNOTODDBY expr", /* 88 */ "expr ::= value INSTANCEOF ID", /* 89 */ "expr ::= value INSTANCEOF value", /* 90 */ "ternary ::= OPENP expr CLOSEP QMARK expr COLON expr", /* 91 */ "value ::= variable", /* 92 */ "value ::= UNIMATH value", /* 93 */ "value ::= NOT value", /* 94 */ "value ::= TYPECAST value", /* 95 */ "value ::= variable INCDEC", /* 96 */ "value ::= HEX", /* 97 */ "value ::= INTEGER", /* 98 */ "value ::= INTEGER DOT INTEGER", /* 99 */ "value ::= INTEGER DOT", /* 100 */ "value ::= DOT INTEGER", /* 101 */ "value ::= ID", /* 102 */ "value ::= function", /* 103 */ "value ::= OPENP expr CLOSEP", /* 104 */ "value ::= SINGLEQUOTESTRING", /* 105 */ "value ::= doublequoted_with_quotes", /* 106 */ "value ::= ID DOUBLECOLON static_class_access", /* 107 */ "value ::= varindexed DOUBLECOLON static_class_access", /* 108 */ "value ::= smartytag", /* 109 */ "variable ::= varindexed", /* 110 */ "variable ::= DOLLAR varvar AT ID", /* 111 */ "variable ::= object", /* 112 */ "variable ::= HATCH ID HATCH", /* 113 */ "variable ::= HATCH variable HATCH", /* 114 */ "varindexed ::= DOLLAR varvar arrayindex", /* 115 */ "arrayindex ::= arrayindex indexdef", /* 116 */ "arrayindex ::=", /* 117 */ "indexdef ::= DOT DOLLAR varvar", /* 118 */ "indexdef ::= DOT DOLLAR varvar AT ID", /* 119 */ "indexdef ::= DOT ID", /* 120 */ "indexdef ::= DOT INTEGER", /* 121 */ "indexdef ::= DOT LDEL expr RDEL", /* 122 */ "indexdef ::= OPENB ID CLOSEB", /* 123 */ "indexdef ::= OPENB ID DOT ID CLOSEB", /* 124 */ "indexdef ::= OPENB expr CLOSEB", /* 125 */ "indexdef ::= OPENB CLOSEB", /* 126 */ "varvar ::= varvarele", /* 127 */ "varvar ::= varvar varvarele", /* 128 */ "varvarele ::= ID", /* 129 */ "varvarele ::= LDEL expr RDEL", /* 130 */ "object ::= varindexed objectchain", /* 131 */ "objectchain ::= objectelement", /* 132 */ "objectchain ::= objectchain objectelement", /* 133 */ "objectelement ::= PTR ID arrayindex", /* 134 */ "objectelement ::= PTR DOLLAR varvar arrayindex", /* 135 */ "objectelement ::= PTR LDEL expr RDEL arrayindex", /* 136 */ "objectelement ::= PTR ID LDEL expr RDEL arrayindex", /* 137 */ "objectelement ::= PTR method", /* 138 */ "function ::= ID OPENP params CLOSEP", /* 139 */ "method ::= ID OPENP params CLOSEP", /* 140 */ "method ::= DOLLAR ID OPENP params CLOSEP", /* 141 */ "params ::= expr COMMA params", /* 142 */ "params ::= expr", /* 143 */ "params ::=", /* 144 */ "modifier ::= VERT AT ID", /* 145 */ "modifier ::= VERT ID", /* 146 */ "static_class_access ::= method", /* 147 */ "static_class_access ::= method objectchain", /* 148 */ "static_class_access ::= ID", /* 149 */ "static_class_access ::= DOLLAR ID arrayindex", /* 150 */ "static_class_access ::= DOLLAR ID arrayindex objectchain", /* 151 */ "modparameters ::= modparameters modparameter", /* 152 */ "modparameters ::=", /* 153 */ "modparameter ::= COLON value", /* 154 */ "modparameter ::= COLON array", /* 155 */ "ifcond ::= EQUALS", /* 156 */ "ifcond ::= NOTEQUALS", /* 157 */ "ifcond ::= GREATERTHAN", /* 158 */ "ifcond ::= LESSTHAN", /* 159 */ "ifcond ::= GREATEREQUAL", /* 160 */ "ifcond ::= LESSEQUAL", /* 161 */ "ifcond ::= IDENTITY", /* 162 */ "ifcond ::= NONEIDENTITY", /* 163 */ "ifcond ::= MOD", /* 164 */ "lop ::= LAND", /* 165 */ "lop ::= LOR", /* 166 */ "lop ::= LXOR", /* 167 */ "array ::= OPENB arrayelements CLOSEB", /* 168 */ "arrayelements ::= arrayelement", /* 169 */ "arrayelements ::= arrayelements COMMA arrayelement", /* 170 */ "arrayelements ::=", /* 171 */ "arrayelement ::= value APTR expr", /* 172 */ "arrayelement ::= ID APTR expr", /* 173 */ "arrayelement ::= expr", /* 174 */ "doublequoted_with_quotes ::= QUOTE QUOTE", /* 175 */ "doublequoted_with_quotes ::= QUOTE doublequoted QUOTE", /* 176 */ "doublequoted ::= doublequoted doublequotedcontent", /* 177 */ "doublequoted ::= doublequotedcontent", /* 178 */ "doublequotedcontent ::= BACKTICK variable BACKTICK", /* 179 */ "doublequotedcontent ::= BACKTICK expr BACKTICK", /* 180 */ "doublequotedcontent ::= DOLLARID", /* 181 */ "doublequotedcontent ::= LDEL variable RDEL", /* 182 */ "doublequotedcontent ::= LDEL expr RDEL", /* 183 */ "doublequotedcontent ::= smartytag", /* 184 */ "doublequotedcontent ::= OTHER", /* 185 */ "optspace ::= SPACE", /* 186 */ "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 82 "smarty_internal_templateparser.y"
$this->internalError = true; $this->compiler->trigger_template_error("Stack overflow in template parser"); #line 1644 "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' => 78, 'rhs' => 1 ), array( 'lhs' => 79, 'rhs' => 1 ), array( 'lhs' => 79, 'rhs' => 2 ), array( 'lhs' => 80, 'rhs' => 1 ), array( 'lhs' => 80, 'rhs' => 1 ), array( 'lhs' => 80, 'rhs' => 1 ), array( 'lhs' => 80, 'rhs' => 1 ), array( 'lhs' => 80, 'rhs' => 1 ), array( 'lhs' => 80, 'rhs' => 1 ), array( 'lhs' => 80, 'rhs' => 1 ), array( 'lhs' => 80, 'rhs' => 1 ), array( 'lhs' => 80, 'rhs' => 1 ), array( 'lhs' => 80, 'rhs' => 1 ), array( 'lhs' => 80, 'rhs' => 1 ), array( 'lhs' => 82, 'rhs' => 2 ), array( 'lhs' => 82, 'rhs' => 3 ), array( 'lhs' => 83, 'rhs' => 2 ), array( 'lhs' => 83, 'rhs' => 0 ), array( 'lhs' => 84, 'rhs' => 1 ), array( 'lhs' => 84, 'rhs' => 1 ), array( 'lhs' => 84, 'rhs' => 1 ), array( 'lhs' => 84, 'rhs' => 1 ), array( 'lhs' => 84, 'rhs' => 1 ), array( 'lhs' => 81, 'rhs' => 3 ), array( 'lhs' => 81, 'rhs' => 4 ), array( 'lhs' => 81, 'rhs' => 4 ), array( 'lhs' => 81, 'rhs' => 4 ), array( 'lhs' => 81, 'rhs' => 4 ), array( 'lhs' => 81, 'rhs' => 6 ), array( 'lhs' => 81, 'rhs' => 6 ), array( 'lhs' => 81, 'rhs' => 7 ), array( 'lhs' => 81, 'rhs' => 7 ), array( 'lhs' => 81, 'rhs' => 6 ), array( 'lhs' => 81, 'rhs' => 6 ), array( 'lhs' => 81, 'rhs' => 4 ), array( 'lhs' => 81, 'rhs' => 3 ), array( 'lhs' => 81, 'rhs' => 6 ), array( 'lhs' => 81, 'rhs' => 6 ), array( 'lhs' => 81, 'rhs' => 8 ), array( 'lhs' => 81, 'rhs' => 4 ), array( 'lhs' => 81, 'rhs' => 4 ), array( 'lhs' => 81, 'rhs' => 12 ), array( 'lhs' => 97, 'rhs' => 2 ), array( 'lhs' => 97, 'rhs' => 1 ), array( 'lhs' => 81, 'rhs' => 7 ), array( 'lhs' => 81, 'rhs' => 8 ), array( 'lhs' => 81, 'rhs' => 3 ), array( 'lhs' => 81, 'rhs' => 7 ), array( 'lhs' => 81, 'rhs' => 10 ), array( 'lhs' => 81, 'rhs' => 7 ), array( 'lhs' => 81, 'rhs' => 10 ), array( 'lhs' => 81, 'rhs' => 3 ), array( 'lhs' => 81, 'rhs' => 4 ), array( 'lhs' => 81, 'rhs' => 6 ), array( 'lhs' => 81, 'rhs' => 5 ), array( 'lhs' => 86, 'rhs' => 2 ), array( 'lhs' => 86, 'rhs' => 1 ), array( 'lhs' => 86, 'rhs' => 0 ), array( 'lhs' => 99, 'rhs' => 4 ), array( 'lhs' => 99, 'rhs' => 4 ), array( 'lhs' => 99, 'rhs' => 4 ), array( 'lhs' => 99, 'rhs' => 4 ), array( 'lhs' => 99, 'rhs' => 2 ), array( 'lhs' => 99, 'rhs' => 4 ), array( 'lhs' => 94, 'rhs' => 1 ), array( 'lhs' => 94, 'rhs' => 3 ), array( 'lhs' => 93, 'rhs' => 4 ), array( 'lhs' => 88, 'rhs' => 1 ), array( 'lhs' => 88, 'rhs' => 4 ), array( 'lhs' => 88, 'rhs' => 3 ), array( 'lhs' => 88, 'rhs' => 3 ), array( 'lhs' => 88, 'rhs' => 3 ), array( 'lhs' => 88, 'rhs' => 1 ), array( 'lhs' => 88, 'rhs' => 3 ), array( 'lhs' => 88, 'rhs' => 3 ), array( 'lhs' => 88, 'rhs' => 3 ), array( 'lhs' => 88, 'rhs' => 3 ), array( 'lhs' => 88, 'rhs' => 3 ), array( 'lhs' => 88, 'rhs' => 3 ), array( 'lhs' => 88, 'rhs' => 3 ), array( 'lhs' => 88, 'rhs' => 2 ), array( 'lhs' => 88, 'rhs' => 2 ), array( 'lhs' => 88, 'rhs' => 3 ), array( 'lhs' => 88, 'rhs' => 3 ), array( 'lhs' => 88, 'rhs' => 2 ), array( 'lhs' => 88, 'rhs' => 2 ), array( 'lhs' => 88, 'rhs' => 3 ), array( 'lhs' => 88, 'rhs' => 3 ), array( 'lhs' => 88, 'rhs' => 3 ), array( 'lhs' => 88, 'rhs' => 3 ), array( 'lhs' => 89, 'rhs' => 7 ), array( 'lhs' => 85, 'rhs' => 1 ), array( 'lhs' => 85, 'rhs' => 2 ), array( 'lhs' => 85, 'rhs' => 2 ), array( 'lhs' => 85, 'rhs' => 2 ), array( 'lhs' => 85, 'rhs' => 2 ), array( 'lhs' => 85, 'rhs' => 1 ), array( 'lhs' => 85, 'rhs' => 1 ), array( 'lhs' => 85, 'rhs' => 3 ), array( 'lhs' => 85, 'rhs' => 2 ), array( 'lhs' => 85, 'rhs' => 2 ), array( 'lhs' => 85, 'rhs' => 1 ), array( 'lhs' => 85, 'rhs' => 1 ), array( 'lhs' => 85, 'rhs' => 3 ), array( 'lhs' => 85, 'rhs' => 1 ), array( 'lhs' => 85, 'rhs' => 1 ), array( 'lhs' => 85, 'rhs' => 3 ), array( 'lhs' => 85, 'rhs' => 3 ), array( 'lhs' => 85, 'rhs' => 1 ), array( 'lhs' => 87, 'rhs' => 1 ), array( 'lhs' => 87, 'rhs' => 4 ), array( 'lhs' => 87, 'rhs' => 1 ), array( 'lhs' => 87, 'rhs' => 3 ), array( 'lhs' => 87, 'rhs' => 3 ), array( 'lhs' => 90, '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' => 96, 'rhs' => 1 ), array( 'lhs' => 96, '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' => 91, 'rhs' => 3 ), array( 'lhs' => 91, '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' => 92, 'rhs' => 2 ), array( 'lhs' => 92, 'rhs' => 0 ), array( 'lhs' => 113, 'rhs' => 2 ), array( 'lhs' => 113, 'rhs' => 2 ), 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' => 98, 'rhs' => 3 ), array( 'lhs' => 114, 'rhs' => 1 ), array( 'lhs' => 114, 'rhs' => 3 ), array( 'lhs' => 114, 'rhs' => 0 ), array( 'lhs' => 115, 'rhs' => 3 ), array( 'lhs' => 115, 'rhs' => 3 ), array( 'lhs' => 115, 'rhs' => 1 ), array( 'lhs' => 103, 'rhs' => 2 ), array( 'lhs' => 103, 'rhs' => 3 ), array( 'lhs' => 116, 'rhs' => 2 ), array( 'lhs' => 116, 'rhs' => 1 ), array( 'lhs' => 117, 'rhs' => 3 ), array( 'lhs' => 117, 'rhs' => 3 ), array( 'lhs' => 117, 'rhs' => 1 ), array( 'lhs' => 117, 'rhs' => 3 ), array( 'lhs' => 117, 'rhs' => 3 ), array( 'lhs' => 117, 'rhs' => 1 ), array( 'lhs' => 117, 'rhs' => 1 ), array( 'lhs' => 95, 'rhs' => 1 ), array( 'lhs' => 95, 'rhs' => 0 ), );
static public $yyReduceMap = array( 0 => 0, 1 => 1, 2 => 1, 3 => 3, 4 => 4, 5 => 5, 6 => 6, 7 => 7, 8 => 8, 9 => 9, 10 => 10, 11 => 11, 12 => 12, 13 => 13, 14 => 14, 17 => 14, 15 => 15, 16 => 16, 92 => 16, 94 => 16, 95 => 16, 147 => 16, 18 => 18, 19 => 18, 67 => 18, 91 => 18, 96 => 18, 97 => 18, 102 => 18, 104 => 18, 105 => 18, 111 => 18, 146 => 18, 168 => 18, 20 => 20, 21 => 20, 22 => 22, 23 => 23, 24 => 24, 25 => 24, 26 => 24, 27 => 24, 28 => 28, 29 => 28, 30 => 30, 31 => 30, 32 => 32, 33 => 32, 34 => 34, 35 => 35, 36 => 36, 37 => 37, 38 => 38, 39 => 39, 40 => 39, 41 => 41, 42 => 42, 43 => 43, 56 => 43, 142 => 43, 148 => 43, 173 => 43, 44 => 44, 45 => 45, 46 => 46, 47 => 47, 48 => 48, 49 => 49, 50 => 50, 51 => 51, 52 => 52, 53 => 53, 54 => 54, 55 => 55, 57 => 57, 58 => 58, 59 => 59, 60 => 59, 61 => 59, 62 => 62, 63 => 63, 64 => 64, 65 => 65, 66 => 66, 68 => 68, 69 => 69, 70 => 69, 71 => 69, 72 => 72, 126 => 72, 185 => 72, 73 => 73, 74 => 74, 77 => 74, 88 => 74, 75 => 75, 76 => 76, 78 => 78, 79 => 79, 80 => 80, 85 => 80, 81 => 81, 84 => 81, 82 => 82, 87 => 82, 83 => 83, 86 => 83, 89 => 89, 90 => 90, 93 => 93, 98 => 98, 99 => 99, 100 => 100, 101 => 101, 103 => 103, 106 => 106, 107 => 107, 108 => 108, 109 => 109, 110 => 110, 112 => 112, 113 => 113, 114 => 114, 115 => 115, 116 => 116, 152 => 116, 117 => 117, 118 => 118, 119 => 119, 120 => 120, 121 => 121, 124 => 121, 122 => 122, 123 => 123, 125 => 125, 127 => 127, 128 => 128, 129 => 129, 130 => 130, 131 => 131, 132 => 132, 133 => 133, 134 => 134, 135 => 135, 136 => 136, 137 => 137, 138 => 138, 139 => 139, 140 => 140, 141 => 141, 143 => 143, 144 => 144, 145 => 144, 149 => 149, 150 => 150, 151 => 151, 153 => 153, 154 => 153, 155 => 155, 156 => 156, 157 => 157, 158 => 158, 159 => 159, 160 => 160, 161 => 161, 162 => 162, 163 => 163, 164 => 164, 165 => 165, 166 => 166, 167 => 167, 169 => 169, 170 => 170, 171 => 171, 172 => 172, 174 => 174, 175 => 175, 176 => 176, 177 => 177, 178 => 178, 179 => 178, 181 => 178, 180 => 180, 182 => 182, 183 => 183, 184 => 184, 186 => 186, ); #line 93 "smarty_internal_templateparser.y" function yy_r0(){ $this->_retvalue = $this->root_buffer->to_smarty_php(); } #line 2045 "smarty_internal_templateparser.php" #line 99 "smarty_internal_templateparser.y" function yy_r1(){ $this->current_buffer->append_subtree($this->yystack[$this->yyidx + 0]->minor); } #line 2048 "smarty_internal_templateparser.php" #line 108 "smarty_internal_templateparser.y" function yy_r3(){ if ($this->compiler->has_code) { $tmp =''; foreach ($this->compiler->prefix_code as $code) {$tmp.=$code;} $this->compiler->prefix_code=array(); $this->_retvalue = 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 2060 "smarty_internal_templateparser.php" #line 120 "smarty_internal_templateparser.y" function yy_r4(){ $this->_retvalue = new _smarty_tag($this, ''); } #line 2063 "smarty_internal_templateparser.php" #line 123 "smarty_internal_templateparser.y" function yy_r5(){ $this->_retvalue = new _smarty_text($this, $this->yystack[$this->yyidx + 0]->minor); } #line 2066 "smarty_internal_templateparser.php" #line 126 "smarty_internal_templateparser.y" function yy_r6(){ if ($this->sec_obj->php_handling == SMARTY_PHP_PASSTHRU) { $this->_retvalue = new _smarty_text($this, self::escape_start_tag($this->yystack[$this->yyidx + 0]->minor)); } elseif ($this->sec_obj->php_handling == SMARTY_PHP_QUOTE) { $this->_retvalue = new _smarty_text($this, htmlspecialchars($this->yystack[$this->yyidx + 0]->minor, ENT_QUOTES)); }elseif ($this->sec_obj->php_handling == SMARTY_PHP_ALLOW) { $this->_retvalue = new _smarty_text($this, $this->compiler->processNocacheCode('<?php', true)); }elseif ($this->sec_obj->php_handling == SMARTY_PHP_REMOVE) { $this->_retvalue = new _smarty_text($this, ''); } } #line 2079 "smarty_internal_templateparser.php" #line 138 "smarty_internal_templateparser.y" function yy_r7(){if ($this->is_xml) { $this->compiler->tag_nocache = true; $this->is_xml = true; $this->_retvalue = new _smarty_text($this, $this->compiler->processNocacheCode("<?php echo '?>';?>", $this->compiler, true)); }elseif ($this->sec_obj->php_handling == SMARTY_PHP_PASSTHRU) { $this->_retvalue = new _smarty_text($this, '?<?php ?>>'); } elseif ($this->sec_obj->php_handling == SMARTY_PHP_QUOTE) { $this->_retvalue = new _smarty_text($this, htmlspecialchars('?>', ENT_QUOTES)); }elseif ($this->sec_obj->php_handling == SMARTY_PHP_ALLOW) { $this->_retvalue = new _smarty_text($this, $this->compiler->processNocacheCode('?>', true)); }elseif ($this->sec_obj->php_handling == SMARTY_PHP_REMOVE) { $this->_retvalue = new _smarty_text($this, ''); } } #line 2095 "smarty_internal_templateparser.php" #line 154 "smarty_internal_templateparser.y" function yy_r8(){ if ($this->sec_obj->php_handling == SMARTY_PHP_PASSTHRU) { $this->_retvalue = new _smarty_text($this, '<<?php ?>%'); } elseif ($this->sec_obj->php_handling == SMARTY_PHP_QUOTE) { $this->_retvalue = new _smarty_text($this, htmlspecialchars($this->yystack[$this->yyidx + 0]->minor, ENT_QUOTES)); }elseif ($this->sec_obj->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, '<<?php ?>%'); } }elseif ($this->sec_obj->php_handling == SMARTY_PHP_REMOVE) { if ($this->asp_tags) { $this->_retvalue = new _smarty_text($this, ''); } else { $this->_retvalue = new _smarty_text($this, '<<?php ?>%'); } } } #line 2116 "smarty_internal_templateparser.php" #line 175 "smarty_internal_templateparser.y" function yy_r9(){ if ($this->sec_obj->php_handling == SMARTY_PHP_PASSTHRU) { $this->_retvalue = new _smarty_text($this, '%<?php ?>>'); } elseif ($this->sec_obj->php_handling == SMARTY_PHP_QUOTE) { $this->_retvalue = new _smarty_text($this, htmlspecialchars('%>', ENT_QUOTES)); }elseif ($this->sec_obj->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, '%<?php ?>>'); } }elseif ($this->sec_obj->php_handling == SMARTY_PHP_REMOVE) { if ($this->asp_tags) { $this->_retvalue = new _smarty_text($this, ''); } else { $this->_retvalue = new _smarty_text($this, '%<?php ?>>'); } } } #line 2137 "smarty_internal_templateparser.php" #line 195 "smarty_internal_templateparser.y" function yy_r10(){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 2145 "smarty_internal_templateparser.php" #line 203 "smarty_internal_templateparser.y" function yy_r11(){ $this->compiler->tag_nocache = true; $this->is_xml = true; $this->_retvalue = new _smarty_text($this, $this->compiler->processNocacheCode("<?php echo '<?xml';?>", $this->compiler, true)); } #line 2148 "smarty_internal_templateparser.php" #line 206 "smarty_internal_templateparser.y" function yy_r12(){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 2156 "smarty_internal_templateparser.php" #line 212 "smarty_internal_templateparser.y" function yy_r13(){ $this->_retvalue = new _smarty_linebreak($this, $this->yystack[$this->yyidx + 0]->minor); } #line 2161 "smarty_internal_templateparser.php" #line 217 "smarty_internal_templateparser.y" function yy_r14(){ $this->_retvalue = ''; } #line 2164 "smarty_internal_templateparser.php" #line 218 "smarty_internal_templateparser.y" function yy_r15(){ $this->_retvalue = $this->yystack[$this->yyidx + -1]->minor; } #line 2167 "smarty_internal_templateparser.php" #line 220 "smarty_internal_templateparser.y" function yy_r16(){ $this->_retvalue = $this->yystack[$this->yyidx + -1]->minor.$this->yystack[$this->yyidx + 0]->minor; } #line 2170 "smarty_internal_templateparser.php" #line 223 "smarty_internal_templateparser.y" function yy_r18(){ $this->_retvalue = $this->yystack[$this->yyidx + 0]->minor; } #line 2173 "smarty_internal_templateparser.php" #line 225 "smarty_internal_templateparser.y" function yy_r20(){ $this->_retvalue = self::escape_start_tag($this->yystack[$this->yyidx + 0]->minor); } #line 2176 "smarty_internal_templateparser.php" #line 227 "smarty_internal_templateparser.y" function yy_r22(){ $this->_retvalue = self::escape_end_tag($this->yystack[$this->yyidx + 0]->minor); } #line 2179 "smarty_internal_templateparser.php" #line 235 "smarty_internal_templateparser.y" function yy_r23(){ $this->_retvalue = $this->compiler->compileTag('private_print_expression',array('value'=>$this->yystack[$this->yyidx + -1]->minor)); } #line 2182 "smarty_internal_templateparser.php" #line 236 "smarty_internal_templateparser.y" function yy_r24(){ $this->_retvalue = $this->compiler->compileTag('private_print_expression',array_merge(array('value'=>$this->yystack[$this->yyidx + -2]->minor),$this->yystack[$this->yyidx + -1]->minor)); } #line 2185 "smarty_internal_templateparser.php" #line 247 "smarty_internal_templateparser.y" function yy_r28(){ $this->_retvalue = $this->compiler->compileTag('assign',array('value'=>$this->yystack[$this->yyidx + -1]->minor,'var'=>"'".$this->yystack[$this->yyidx + -3]->minor."'")); } #line 2188 "smarty_internal_templateparser.php" #line 249 "smarty_internal_templateparser.y" function yy_r30(){ $this->_retvalue = $this->compiler->compileTag('assign',array_merge(array('value'=>$this->yystack[$this->yyidx + -2]->minor,'var'=>"'".$this->yystack[$this->yyidx + -4]->minor."'"),$this->yystack[$this->yyidx + -1]->minor)); } #line 2191 "smarty_internal_templateparser.php" #line 251 "smarty_internal_templateparser.y" function yy_r32(){ $this->_retvalue = $this->compiler->compileTag('assign',array_merge(array('value'=>$this->yystack[$this->yyidx + -2]->minor),$this->yystack[$this->yyidx + -4]->minor,$this->yystack[$this->yyidx + -1]->minor)); } #line 2194 "smarty_internal_templateparser.php" #line 254 "smarty_internal_templateparser.y" function yy_r34(){ $this->_retvalue = $this->compiler->compileTag($this->yystack[$this->yyidx + -2]->minor,$this->yystack[$this->yyidx + -1]->minor); } #line 2197 "smarty_internal_templateparser.php" #line 255 "smarty_internal_templateparser.y" function yy_r35(){ $this->_retvalue = $this->compiler->compileTag($this->yystack[$this->yyidx + -1]->minor,array()); } #line 2200 "smarty_internal_templateparser.php" #line 257 "smarty_internal_templateparser.y" function yy_r36(){ $this->_retvalue = $this->compiler->compileTag($this->yystack[$this->yyidx + -4]->minor,array_merge(array('object_methode'=>$this->yystack[$this->yyidx + -2]->minor),$this->yystack[$this->yyidx + -1]->minor)); } #line 2203 "smarty_internal_templateparser.php" #line 259 "smarty_internal_templateparser.y" function yy_r37(){ $this->_retvalue = '<?php ob_start();?>'.$this->compiler->compileTag($this->yystack[$this->yyidx + -4]->minor,$this->yystack[$this->yyidx + -1]->minor).'<?php echo '; $this->_retvalue .= $this->compiler->compileTag('private_modifier',array('modifier'=>$this->yystack[$this->yyidx + -3]->minor,'params'=>'ob_get_clean()'.$this->yystack[$this->yyidx + -2]->minor)).'?>'; } #line 2208 "smarty_internal_templateparser.php" #line 263 "smarty_internal_templateparser.y" function yy_r38(){ $this->_retvalue = '<?php ob_start();?>'.$this->compiler->compileTag($this->yystack[$this->yyidx + -6]->minor,array_merge(array('object_methode'=>$this->yystack[$this->yyidx + -4]->minor),$this->yystack[$this->yyidx + -1]->minor)).'<?php echo '; $this->_retvalue .= $this->compiler->compileTag('private_modifier',array('modifier'=>$this->yystack[$this->yyidx + -3]->minor,'params'=>'ob_get_clean()'.$this->yystack[$this->yyidx + -2]->minor)).'?>'; } #line 2213 "smarty_internal_templateparser.php" #line 267 "smarty_internal_templateparser.y" function yy_r39(){ $tag = trim(substr($this->yystack[$this->yyidx + -3]->minor,$this->lex->ldel_length)); $this->_retvalue = $this->compiler->compileTag(($tag == 'else if')? 'elseif' : $tag,array('if condition'=>$this->yystack[$this->yyidx + -1]->minor)); } #line 2216 "smarty_internal_templateparser.php" #line 270 "smarty_internal_templateparser.y" function yy_r41(){ $this->_retvalue = $this->compiler->compileTag('for',array('start'=>$this->yystack[$this->yyidx + -9]->minor,'ifexp'=>$this->yystack[$this->yyidx + -6]->minor,'varloop'=>$this->yystack[$this->yyidx + -2]->minor,'loop'=>$this->yystack[$this->yyidx + -1]->minor)); } #line 2220 "smarty_internal_templateparser.php" #line 273 "smarty_internal_templateparser.y" function yy_r42(){ $this->_retvalue = '='.$this->yystack[$this->yyidx + 0]->minor; } #line 2223 "smarty_internal_templateparser.php" #line 274 "smarty_internal_templateparser.y" function yy_r43(){ $this->_retvalue = $this->yystack[$this->yyidx + 0]->minor; } #line 2226 "smarty_internal_templateparser.php" #line 275 "smarty_internal_templateparser.y" function yy_r44(){ $this->_retvalue = $this->compiler->compileTag('for',array_merge(array('start'=>$this->yystack[$this->yyidx + -4]->minor,'to'=>$this->yystack[$this->yyidx + -2]->minor),$this->yystack[$this->yyidx + -1]->minor)); } #line 2229 "smarty_internal_templateparser.php" #line 276 "smarty_internal_templateparser.y" function yy_r45(){ $this->_retvalue = $this->compiler->compileTag('for',array('start'=>$this->yystack[$this->yyidx + -5]->minor,'to'=>$this->yystack[$this->yyidx + -3]->minor,'step'=>$this->yystack[$this->yyidx + -1]->minor)); } #line 2232 "smarty_internal_templateparser.php" #line 278 "smarty_internal_templateparser.y" function yy_r46(){ $this->_retvalue = $this->compiler->compileTag('foreach',$this->yystack[$this->yyidx + -1]->minor); } #line 2235 "smarty_internal_templateparser.php" #line 280 "smarty_internal_templateparser.y" function yy_r47(){ $this->_retvalue = $this->compiler->compileTag('foreach',array('from'=>$this->yystack[$this->yyidx + -4]->minor,'item'=>$this->yystack[$this->yyidx + -1]->minor)); } #line 2239 "smarty_internal_templateparser.php" #line 282 "smarty_internal_templateparser.y" function yy_r48(){ $this->_retvalue = $this->compiler->compileTag('foreach',array('from'=>$this->yystack[$this->yyidx + -7]->minor,'item'=>$this->yystack[$this->yyidx + -1]->minor,'key'=>$this->yystack[$this->yyidx + -4]->minor)); } #line 2243 "smarty_internal_templateparser.php" #line 284 "smarty_internal_templateparser.y" function yy_r49(){ $this->_retvalue = $this->compiler->compileTag('foreach',array('from'=>$this->yystack[$this->yyidx + -4]->minor,'item'=>$this->yystack[$this->yyidx + -1]->minor)); } #line 2247 "smarty_internal_templateparser.php" #line 286 "smarty_internal_templateparser.y" function yy_r50(){ $this->_retvalue = $this->compiler->compileTag('foreach',array('from'=>$this->yystack[$this->yyidx + -7]->minor,'item'=>$this->yystack[$this->yyidx + -1]->minor,'key'=>$this->yystack[$this->yyidx + -4]->minor)); } #line 2251 "smarty_internal_templateparser.php" #line 290 "smarty_internal_templateparser.y" function yy_r51(){ $this->_retvalue = $this->compiler->compileTag($this->yystack[$this->yyidx + -1]->minor.'close',array()); } #line 2254 "smarty_internal_templateparser.php" #line 291 "smarty_internal_templateparser.y" function yy_r52(){ $this->_retvalue = $this->compiler->compileTag($this->yystack[$this->yyidx + -2]->minor.'close',$this->yystack[$this->yyidx + -1]->minor); } #line 2257 "smarty_internal_templateparser.php" #line 292 "smarty_internal_templateparser.y" function yy_r53(){ $this->_retvalue = '<?php ob_start();?>'.$this->compiler->compileTag($this->yystack[$this->yyidx + -4]->minor.'close',$this->yystack[$this->yyidx + -1]->minor).'<?php echo '; $this->_retvalue .= $this->compiler->compileTag('private_modifier',array('modifier'=>$this->yystack[$this->yyidx + -3]->minor,'params'=>'ob_get_clean()'.$this->yystack[$this->yyidx + -2]->minor)).'?>'; } #line 2262 "smarty_internal_templateparser.php" #line 296 "smarty_internal_templateparser.y" function yy_r54(){ $this->_retvalue = $this->compiler->compileTag($this->yystack[$this->yyidx + -3]->minor.'close',array('object_methode'=>$this->yystack[$this->yyidx + -1]->minor)); } #line 2265 "smarty_internal_templateparser.php" #line 302 "smarty_internal_templateparser.y" function yy_r55(){ $this->_retvalue = $this->yystack[$this->yyidx + -1]->minor; $this->_retvalue[key($this->yystack[$this->yyidx + 0]->minor)] = $this->yystack[$this->yyidx + 0]->minor[key($this->yystack[$this->yyidx + 0]->minor)]; } #line 2268 "smarty_internal_templateparser.php" #line 306 "smarty_internal_templateparser.y" function yy_r57(){ $this->_retvalue = array(); } #line 2271 "smarty_internal_templateparser.php" #line 309 "smarty_internal_templateparser.y" function yy_r58(){ 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 2281 "smarty_internal_templateparser.php" #line 317 "smarty_internal_templateparser.y" function yy_r59(){ $this->_retvalue = array($this->yystack[$this->yyidx + -2]->minor=>$this->yystack[$this->yyidx + 0]->minor); } #line 2284 "smarty_internal_templateparser.php" #line 320 "smarty_internal_templateparser.y" function yy_r62(){ $this->_retvalue = array($this->yystack[$this->yyidx + 0]->minor=>'true'); } #line 2287 "smarty_internal_templateparser.php" #line 321 "smarty_internal_templateparser.y" function yy_r63(){$this->_retvalue = array($this->yystack[$this->yyidx + -2]->minor=>$this->yystack[$this->yyidx + 0]->minor); } #line 2290 "smarty_internal_templateparser.php" #line 327 "smarty_internal_templateparser.y" function yy_r64(){ $this->_retvalue = array($this->yystack[$this->yyidx + 0]->minor); } #line 2293 "smarty_internal_templateparser.php" #line 328 "smarty_internal_templateparser.y" function yy_r65(){ $this->yystack[$this->yyidx + -2]->minor[]=$this->yystack[$this->yyidx + 0]->minor; $this->_retvalue = $this->yystack[$this->yyidx + -2]->minor; } #line 2296 "smarty_internal_templateparser.php" #line 330 "smarty_internal_templateparser.y" function yy_r66(){ $this->_retvalue = array('var' => $this->yystack[$this->yyidx + -2]->minor, 'value'=>$this->yystack[$this->yyidx + 0]->minor); } #line 2299 "smarty_internal_templateparser.php" #line 339 "smarty_internal_templateparser.y" function yy_r68(){$this->_retvalue = '$_smarty_tpl->getStreamVariable(\''. $this->yystack[$this->yyidx + -2]->minor .'://'. $this->yystack[$this->yyidx + 0]->minor . '\')'; } #line 2302 "smarty_internal_templateparser.php" #line 341 "smarty_internal_templateparser.y" function yy_r69(){ $this->_retvalue = $this->yystack[$this->yyidx + -2]->minor . trim($this->yystack[$this->yyidx + -1]->minor) . $this->yystack[$this->yyidx + 0]->minor; } #line 2305 "smarty_internal_templateparser.php" #line 347 "smarty_internal_templateparser.y" function yy_r72(){$this->_retvalue = $this->yystack[$this->yyidx + 0]->minor; } #line 2308 "smarty_internal_templateparser.php" #line 350 "smarty_internal_templateparser.y" function yy_r73(){ $this->_retvalue = $this->compiler->compileTag('private_modifier',array('modifier'=>$this->yystack[$this->yyidx + -1]->minor,'params'=>$this->yystack[$this->yyidx + -2]->minor.$this->yystack[$this->yyidx + 0]->minor)); } #line 2311 "smarty_internal_templateparser.php" #line 354 "smarty_internal_templateparser.y" function yy_r74(){$this->_retvalue = $this->yystack[$this->yyidx + -2]->minor.$this->yystack[$this->yyidx + -1]->minor.$this->yystack[$this->yyidx + 0]->minor; } #line 2314 "smarty_internal_templateparser.php" #line 355 "smarty_internal_templateparser.y" function yy_r75(){$this->_retvalue = 'in_array('.$this->yystack[$this->yyidx + -2]->minor.','.$this->yystack[$this->yyidx + 0]->minor.')'; } #line 2317 "smarty_internal_templateparser.php" #line 356 "smarty_internal_templateparser.y" function yy_r76(){$this->_retvalue = 'in_array('.$this->yystack[$this->yyidx + -2]->minor.',(array)'.$this->yystack[$this->yyidx + 0]->minor.')'; } #line 2320 "smarty_internal_templateparser.php" #line 358 "smarty_internal_templateparser.y" function yy_r78(){$this->_retvalue = '!('.$this->yystack[$this->yyidx + -2]->minor.' % '.$this->yystack[$this->yyidx + 0]->minor.')'; } #line 2323 "smarty_internal_templateparser.php" #line 359 "smarty_internal_templateparser.y" function yy_r79(){$this->_retvalue = '('.$this->yystack[$this->yyidx + -2]->minor.' % '.$this->yystack[$this->yyidx + 0]->minor.')'; } #line 2326 "smarty_internal_templateparser.php" #line 360 "smarty_internal_templateparser.y" function yy_r80(){$this->_retvalue = '!(1 & '.$this->yystack[$this->yyidx + -1]->minor.')'; } #line 2329 "smarty_internal_templateparser.php" #line 361 "smarty_internal_templateparser.y" function yy_r81(){$this->_retvalue = '(1 & '.$this->yystack[$this->yyidx + -1]->minor.')'; } #line 2332 "smarty_internal_templateparser.php" #line 362 "smarty_internal_templateparser.y" function yy_r82(){$this->_retvalue = '!(1 & '.$this->yystack[$this->yyidx + -2]->minor.' / '.$this->yystack[$this->yyidx + 0]->minor.')'; } #line 2335 "smarty_internal_templateparser.php" #line 363 "smarty_internal_templateparser.y" function yy_r83(){$this->_retvalue = '(1 & '.$this->yystack[$this->yyidx + -2]->minor.' / '.$this->yystack[$this->yyidx + 0]->minor.')'; } #line 2338 "smarty_internal_templateparser.php" #line 369 "smarty_internal_templateparser.y" function yy_r89(){$this->prefix_number++; $this->compiler->prefix_code[] = '<?php $_tmp'.$this->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 2341 "smarty_internal_templateparser.php" #line 375 "smarty_internal_templateparser.y" function yy_r90(){ $this->_retvalue = $this->yystack[$this->yyidx + -5]->minor.' ? '.$this->yystack[$this->yyidx + -2]->minor.' : '.$this->yystack[$this->yyidx + 0]->minor; } #line 2344 "smarty_internal_templateparser.php" #line 382 "smarty_internal_templateparser.y" function yy_r93(){ $this->_retvalue = '!'.$this->yystack[$this->yyidx + 0]->minor; } #line 2347 "smarty_internal_templateparser.php" #line 388 "smarty_internal_templateparser.y" function yy_r98(){ $this->_retvalue = $this->yystack[$this->yyidx + -2]->minor.'.'.$this->yystack[$this->yyidx + 0]->minor; } #line 2350 "smarty_internal_templateparser.php" #line 389 "smarty_internal_templateparser.y" function yy_r99(){ $this->_retvalue = $this->yystack[$this->yyidx + -1]->minor.'.'; } #line 2353 "smarty_internal_templateparser.php" #line 390 "smarty_internal_templateparser.y" function yy_r100(){ $this->_retvalue = '.'.$this->yystack[$this->yyidx + 0]->minor; } #line 2356 "smarty_internal_templateparser.php" #line 392 "smarty_internal_templateparser.y" function yy_r101(){ 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 2366 "smarty_internal_templateparser.php" #line 403 "smarty_internal_templateparser.y" function yy_r103(){ $this->_retvalue = "(". $this->yystack[$this->yyidx + -1]->minor .")"; } #line 2369 "smarty_internal_templateparser.php" #line 409 "smarty_internal_templateparser.y" function yy_r106(){if ((!$this->template->security || $this->smarty->security_handler->isTrustedStaticClass($this->yystack[$this->yyidx + -2]->minor, $this->compiler)) || isset($this->smarty->registered_classes[$this->yystack[$this->yyidx + -2]->minor])) { 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 2381 "smarty_internal_templateparser.php" #line 419 "smarty_internal_templateparser.y" function yy_r107(){ if ($this->yystack[$this->yyidx + -2]->minor['var'] == '\'smarty\'') { $this->_retvalue = $this->compiler->compileTag('private_special_variable',$this->yystack[$this->yyidx + -2]->minor['smarty_internal_index']).'::'.$this->yystack[$this->yyidx + 0]->minor;} else { $this->_retvalue = '$_smarty_tpl->getVariable('. $this->yystack[$this->yyidx + -2]->minor['var'] .')->value'.$this->yystack[$this->yyidx + -2]->minor['smarty_internal_index'].'::'.$this->yystack[$this->yyidx + 0]->minor; $this->compiler->tag_nocache=$this->compiler->tag_nocache|$this->template->getVariable(trim($this->yystack[$this->yyidx + -2]->minor['var'],"'"), null, true, false)->nocache;} } #line 2385 "smarty_internal_templateparser.php" #line 422 "smarty_internal_templateparser.y" function yy_r108(){ $this->prefix_number++; $this->compiler->prefix_code[] = '<?php ob_start();?>'.$this->yystack[$this->yyidx + 0]->minor.'<?php $_tmp'.$this->prefix_number.'=ob_get_clean();?>'; $this->_retvalue = '$_tmp'.$this->prefix_number; } #line 2388 "smarty_internal_templateparser.php" #line 431 "smarty_internal_templateparser.y" function yy_r109(){if ($this->yystack[$this->yyidx + 0]->minor['var'] == '\'smarty\'') { $this->_retvalue = $this->compiler->compileTag('private_special_variable',$this->yystack[$this->yyidx + 0]->minor['smarty_internal_index']); } else { if (isset($this->compiler->local_var[$this->yystack[$this->yyidx + 0]->minor['var']])) { $this->_retvalue = '$_smarty_tpl->tpl_vars['. $this->yystack[$this->yyidx + 0]->minor['var'] .']->value'.$this->yystack[$this->yyidx + 0]->minor['smarty_internal_index']; } else { $this->_retvalue = '$_smarty_tpl->getVariable('. $this->yystack[$this->yyidx + 0]->minor['var'] .')->value'.$this->yystack[$this->yyidx + 0]->minor['smarty_internal_index']; } $this->compiler->tag_nocache=$this->compiler->tag_nocache|$this->template->getVariable(trim($this->yystack[$this->yyidx + 0]->minor['var'],"'"), null, true, false)->nocache;} } #line 2398 "smarty_internal_templateparser.php" #line 440 "smarty_internal_templateparser.y" function yy_r110(){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 2406 "smarty_internal_templateparser.php" #line 449 "smarty_internal_templateparser.y" function yy_r112(){$this->_retvalue = '$_smarty_tpl->getConfigVariable(\''. $this->yystack[$this->yyidx + -1]->minor .'\')'; } #line 2409 "smarty_internal_templateparser.php" #line 450 "smarty_internal_templateparser.y" function yy_r113(){$this->_retvalue = '$_smarty_tpl->getConfigVariable('. $this->yystack[$this->yyidx + -1]->minor .')'; } #line 2412 "smarty_internal_templateparser.php" #line 453 "smarty_internal_templateparser.y" function yy_r114(){$this->_retvalue = array('var'=>$this->yystack[$this->yyidx + -1]->minor, 'smarty_internal_index'=>$this->yystack[$this->yyidx + 0]->minor); } #line 2415 "smarty_internal_templateparser.php" #line 459 "smarty_internal_templateparser.y" function yy_r115(){$this->_retvalue = $this->yystack[$this->yyidx + -1]->minor.$this->yystack[$this->yyidx + 0]->minor; } #line 2418 "smarty_internal_templateparser.php" #line 461 "smarty_internal_templateparser.y" function yy_r116(){return; } #line 2421 "smarty_internal_templateparser.php" #line 465 "smarty_internal_templateparser.y" function yy_r117(){ $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 2424 "smarty_internal_templateparser.php" #line 466 "smarty_internal_templateparser.y" function yy_r118(){ $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 2427 "smarty_internal_templateparser.php" #line 467 "smarty_internal_templateparser.y" function yy_r119(){ $this->_retvalue = "['". $this->yystack[$this->yyidx + 0]->minor ."']"; } #line 2430 "smarty_internal_templateparser.php" #line 468 "smarty_internal_templateparser.y" function yy_r120(){ $this->_retvalue = "[". $this->yystack[$this->yyidx + 0]->minor ."]"; } #line 2433 "smarty_internal_templateparser.php" #line 469 "smarty_internal_templateparser.y" function yy_r121(){ $this->_retvalue = "[". $this->yystack[$this->yyidx + -1]->minor ."]"; } #line 2436 "smarty_internal_templateparser.php" #line 471 "smarty_internal_templateparser.y" function yy_r122(){ $this->_retvalue = '['.$this->compiler->compileTag('private_special_variable','[\'section\'][\''.$this->yystack[$this->yyidx + -1]->minor.'\'][\'index\']').']'; } #line 2439 "smarty_internal_templateparser.php" #line 472 "smarty_internal_templateparser.y" function yy_r123(){ $this->_retvalue = '['.$this->compiler->compileTag('private_special_variable','[\'section\'][\''.$this->yystack[$this->yyidx + -3]->minor.'\'][\''.$this->yystack[$this->yyidx + -1]->minor.'\']').']'; } #line 2442 "smarty_internal_templateparser.php" #line 476 "smarty_internal_templateparser.y" function yy_r125(){$this->_retvalue = '[]'; } #line 2445 "smarty_internal_templateparser.php" #line 484 "smarty_internal_templateparser.y" function yy_r127(){$this->_retvalue = $this->yystack[$this->yyidx + -1]->minor.'.'.$this->yystack[$this->yyidx + 0]->minor; } #line 2448 "smarty_internal_templateparser.php" #line 486 "smarty_internal_templateparser.y" function yy_r128(){$this->_retvalue = '\''.$this->yystack[$this->yyidx + 0]->minor.'\''; } #line 2451 "smarty_internal_templateparser.php" #line 488 "smarty_internal_templateparser.y" function yy_r129(){$this->_retvalue = '('.$this->yystack[$this->yyidx + -1]->minor.')'; } #line 2454 "smarty_internal_templateparser.php" #line 493 "smarty_internal_templateparser.y" function yy_r130(){ if ($this->yystack[$this->yyidx + -1]->minor['var'] == '\'smarty\'') { $this->_retvalue = $this->compiler->compileTag('private_special_variable',$this->yystack[$this->yyidx + -1]->minor['smarty_internal_index']).$this->yystack[$this->yyidx + 0]->minor;} else { $this->_retvalue = '$_smarty_tpl->getVariable('. $this->yystack[$this->yyidx + -1]->minor['var'] .')->value'.$this->yystack[$this->yyidx + -1]->minor['smarty_internal_index'].$this->yystack[$this->yyidx + 0]->minor; $this->compiler->tag_nocache=$this->compiler->tag_nocache|$this->template->getVariable(trim($this->yystack[$this->yyidx + -1]->minor['var'],"'"), null, true, false)->nocache;} } #line 2458 "smarty_internal_templateparser.php" #line 496 "smarty_internal_templateparser.y" function yy_r131(){$this->_retvalue = $this->yystack[$this->yyidx + 0]->minor; } #line 2461 "smarty_internal_templateparser.php" #line 498 "smarty_internal_templateparser.y" function yy_r132(){$this->_retvalue = $this->yystack[$this->yyidx + -1]->minor.$this->yystack[$this->yyidx + 0]->minor; } #line 2464 "smarty_internal_templateparser.php" #line 500 "smarty_internal_templateparser.y" function yy_r133(){ $this->_retvalue = '->'.$this->yystack[$this->yyidx + -1]->minor.$this->yystack[$this->yyidx + 0]->minor; } #line 2467 "smarty_internal_templateparser.php" #line 501 "smarty_internal_templateparser.y" function yy_r134(){ $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 2470 "smarty_internal_templateparser.php" #line 502 "smarty_internal_templateparser.y" function yy_r135(){ $this->_retvalue = '->{'.$this->yystack[$this->yyidx + -2]->minor.$this->yystack[$this->yyidx + 0]->minor.'}'; } #line 2473 "smarty_internal_templateparser.php" #line 503 "smarty_internal_templateparser.y" function yy_r136(){ $this->_retvalue = '->{\''.$this->yystack[$this->yyidx + -4]->minor.'\'.'.$this->yystack[$this->yyidx + -2]->minor.$this->yystack[$this->yyidx + 0]->minor.'}'; } #line 2476 "smarty_internal_templateparser.php" #line 505 "smarty_internal_templateparser.y" function yy_r137(){ $this->_retvalue = '->'.$this->yystack[$this->yyidx + 0]->minor; } #line 2479 "smarty_internal_templateparser.php" #line 511 "smarty_internal_templateparser.y" function yy_r138(){if (!$this->template->security || $this->smarty->security_handler->isTrustedPhpFunction($this->yystack[$this->yyidx + -3]->minor, $this->compiler)) { if ($this->yystack[$this->yyidx + -3]->minor == 'isset' || $this->yystack[$this->yyidx + -3]->minor == 'empty' || $this->yystack[$this->yyidx + -3]->minor == 'array' || is_callable($this->yystack[$this->yyidx + -3]->minor)) { $this->_retvalue = $this->yystack[$this->yyidx + -3]->minor . "(". $this->yystack[$this->yyidx + -1]->minor .")"; } else { $this->compiler->trigger_template_error ("unknown function \"" . $this->yystack[$this->yyidx + -3]->minor . "\""); } } } #line 2488 "smarty_internal_templateparser.php" #line 522 "smarty_internal_templateparser.y" function yy_r139(){ $this->_retvalue = $this->yystack[$this->yyidx + -3]->minor . "(". $this->yystack[$this->yyidx + -1]->minor .")"; } #line 2491 "smarty_internal_templateparser.php" #line 523 "smarty_internal_templateparser.y" function yy_r140(){ $this->prefix_number++; $this->compiler->prefix_code[] = '<?php $_tmp'.$this->prefix_number.'=$_smarty_tpl->getVariable(\''. $this->yystack[$this->yyidx + -3]->minor .'\')->value;?>'; $this->_retvalue = '$_tmp'.$this->prefix_number.'('. $this->yystack[$this->yyidx + -1]->minor .')'; } #line 2494 "smarty_internal_templateparser.php" #line 527 "smarty_internal_templateparser.y" function yy_r141(){ $this->_retvalue = $this->yystack[$this->yyidx + -2]->minor.",".$this->yystack[$this->yyidx + 0]->minor; } #line 2497 "smarty_internal_templateparser.php" #line 531 "smarty_internal_templateparser.y" function yy_r143(){ return; } #line 2500 "smarty_internal_templateparser.php" #line 536 "smarty_internal_templateparser.y" function yy_r144(){ $this->_retvalue = $this->yystack[$this->yyidx + 0]->minor; } #line 2503 "smarty_internal_templateparser.php" #line 546 "smarty_internal_templateparser.y" function yy_r149(){ $this->_retvalue = '$'.$this->yystack[$this->yyidx + -1]->minor.$this->yystack[$this->yyidx + 0]->minor; } #line 2506 "smarty_internal_templateparser.php" #line 548 "smarty_internal_templateparser.y" function yy_r150(){ $this->_retvalue = '$'.$this->yystack[$this->yyidx + -2]->minor.$this->yystack[$this->yyidx + -1]->minor.$this->yystack[$this->yyidx + 0]->minor; } #line 2509 "smarty_internal_templateparser.php" #line 559 "smarty_internal_templateparser.y" function yy_r151(){ $this->_retvalue = $this->yystack[$this->yyidx + -1]->minor.$this->yystack[$this->yyidx + 0]->minor; } #line 2512 "smarty_internal_templateparser.php" #line 563 "smarty_internal_templateparser.y" function yy_r153(){$this->_retvalue = ','.$this->yystack[$this->yyidx + 0]->minor; } #line 2515 "smarty_internal_templateparser.php" #line 567 "smarty_internal_templateparser.y" function yy_r155(){$this->_retvalue = '=='; } #line 2518 "smarty_internal_templateparser.php" #line 568 "smarty_internal_templateparser.y" function yy_r156(){$this->_retvalue = '!='; } #line 2521 "smarty_internal_templateparser.php" #line 569 "smarty_internal_templateparser.y" function yy_r157(){$this->_retvalue = '>'; } #line 2524 "smarty_internal_templateparser.php" #line 570 "smarty_internal_templateparser.y" function yy_r158(){$this->_retvalue = '<'; } #line 2527 "smarty_internal_templateparser.php" #line 571 "smarty_internal_templateparser.y" function yy_r159(){$this->_retvalue = '>='; } #line 2530 "smarty_internal_templateparser.php" #line 572 "smarty_internal_templateparser.y" function yy_r160(){$this->_retvalue = '<='; } #line 2533 "smarty_internal_templateparser.php" #line 573 "smarty_internal_templateparser.y" function yy_r161(){$this->_retvalue = '==='; } #line 2536 "smarty_internal_templateparser.php" #line 574 "smarty_internal_templateparser.y" function yy_r162(){$this->_retvalue = '!=='; } #line 2539 "smarty_internal_templateparser.php" #line 575 "smarty_internal_templateparser.y" function yy_r163(){$this->_retvalue = '%'; } #line 2542 "smarty_internal_templateparser.php" #line 577 "smarty_internal_templateparser.y" function yy_r164(){$this->_retvalue = '&&'; } #line 2545 "smarty_internal_templateparser.php" #line 578 "smarty_internal_templateparser.y" function yy_r165(){$this->_retvalue = '||'; } #line 2548 "smarty_internal_templateparser.php" #line 579 "smarty_internal_templateparser.y" function yy_r166(){$this->_retvalue = ' XOR '; } #line 2551 "smarty_internal_templateparser.php" #line 584 "smarty_internal_templateparser.y" function yy_r167(){ $this->_retvalue = 'array('.$this->yystack[$this->yyidx + -1]->minor.')'; } #line 2554 "smarty_internal_templateparser.php" #line 586 "smarty_internal_templateparser.y" function yy_r169(){ $this->_retvalue = $this->yystack[$this->yyidx + -2]->minor.','.$this->yystack[$this->yyidx + 0]->minor; } #line 2557 "smarty_internal_templateparser.php" #line 587 "smarty_internal_templateparser.y" function yy_r170(){ return; } #line 2560 "smarty_internal_templateparser.php" #line 588 "smarty_internal_templateparser.y" function yy_r171(){ $this->_retvalue = $this->yystack[$this->yyidx + -2]->minor.'=>'.$this->yystack[$this->yyidx + 0]->minor; } #line 2563 "smarty_internal_templateparser.php" #line 589 "smarty_internal_templateparser.y" function yy_r172(){ $this->_retvalue = '\''.$this->yystack[$this->yyidx + -2]->minor.'\'=>'.$this->yystack[$this->yyidx + 0]->minor; } #line 2566 "smarty_internal_templateparser.php" #line 596 "smarty_internal_templateparser.y" function yy_r174(){ $this->_retvalue = "''"; } #line 2569 "smarty_internal_templateparser.php" #line 597 "smarty_internal_templateparser.y" function yy_r175(){ $this->_retvalue = $this->yystack[$this->yyidx + -1]->minor->to_smarty_php(); } #line 2572 "smarty_internal_templateparser.php" #line 599 "smarty_internal_templateparser.y" function yy_r176(){ $this->yystack[$this->yyidx + -1]->minor->append_subtree($this->yystack[$this->yyidx + 0]->minor); $this->_retvalue = $this->yystack[$this->yyidx + -1]->minor; } #line 2575 "smarty_internal_templateparser.php" #line 600 "smarty_internal_templateparser.y" function yy_r177(){ $this->_retvalue = new _smarty_doublequoted($this, $this->yystack[$this->yyidx + 0]->minor); } #line 2578 "smarty_internal_templateparser.php" #line 602 "smarty_internal_templateparser.y" function yy_r178(){ $this->_retvalue = new _smarty_code($this, $this->yystack[$this->yyidx + -1]->minor); } #line 2581 "smarty_internal_templateparser.php" #line 604 "smarty_internal_templateparser.y" function yy_r180(){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 2590 "smarty_internal_templateparser.php" #line 612 "smarty_internal_templateparser.y" function yy_r182(){ $this->_retvalue = new _smarty_code($this, '('.$this->yystack[$this->yyidx + -1]->minor.')'); } #line 2593 "smarty_internal_templateparser.php" #line 613 "smarty_internal_templateparser.y" function yy_r183(){ $this->_retvalue = new _smarty_tag($this, $this->yystack[$this->yyidx + 0]->minor); } #line 2598 "smarty_internal_templateparser.php" #line 616 "smarty_internal_templateparser.y" function yy_r184(){ $this->_retvalue = new _smarty_dq_content($this, $this->yystack[$this->yyidx + 0]->minor); } #line 2601 "smarty_internal_templateparser.php" #line 623 "smarty_internal_templateparser.y" function yy_r186(){$this->_retvalue = ''; } #line 2604 "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 75 "smarty_internal_templateparser.y"
$this->internalError = true; $this->yymajor = $yymajor; $this->compiler->trigger_template_error(); #line 2667 "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 67 "smarty_internal_templateparser.y"
$this->successful = !$this->internalError; $this->internalError = false; $this->retvalue = $this->_retvalue; //echo $this->retvalue."\n\n"; #line 2685 "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); } } ?>
|