Files
smarty/libs/sysplugins/smarty_internal_templateparser.php

2609 lines
137 KiB
PHP
Raw Normal View History

<?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"
2009-10-22 23:05:14 +00:00
// 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;
2009-10-22 23:05:14 +00:00
}
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 ?>>';
}
2009-10-22 23:05:14 +00:00
#line 128 "smarty_internal_templateparser.php"
const TP_VERT = 1;
const TP_COLON = 2;
const TP_COMMENT = 3;
const TP_PHPSTARTTAG = 4;
const TP_PHPENDTAG = 5;
const TP_FAKEPHPSTARTTAG = 6;
const TP_XMLTAG = 7;
const TP_OTHER = 8;
const TP_LITERALSTART = 9;
const TP_LITERALEND = 10;
const TP_LITERAL = 11;
const TP_LDEL = 12;
const TP_RDEL = 13;
const TP_DOLLAR = 14;
const TP_ID = 15;
const TP_EQUAL = 16;
const TP_FOREACH = 17;
const TP_PTR = 18;
const TP_IF = 19;
const TP_SPACE = 20;
const TP_FOR = 21;
const TP_SEMICOLON = 22;
const TP_INCDEC = 23;
const TP_TO = 24;
const TP_STEP = 25;
const TP_AS = 26;
const TP_APTR = 27;
const TP_LDELSLASH = 28;
const TP_INTEGER = 29;
const TP_COMMA = 30;
const TP_MATH = 31;
const TP_UNIMATH = 32;
const TP_ANDSYM = 33;
const TP_ISIN = 34;
const TP_ISDIVBY = 35;
const TP_ISNOTDIVBY = 36;
const TP_ISEVEN = 37;
const TP_ISNOTEVEN = 38;
const TP_ISEVENBY = 39;
const TP_ISNOTEVENBY = 40;
const TP_ISODD = 41;
const TP_ISNOTODD = 42;
const TP_ISODDBY = 43;
const TP_ISNOTODDBY = 44;
const TP_INSTANCEOF = 45;
const TP_OPENP = 46;
const TP_CLOSEP = 47;
const TP_QMARK = 48;
const TP_NOT = 49;
const TP_TYPECAST = 50;
const TP_DOT = 51;
const TP_SINGLEQUOTESTRING = 52;
const TP_DOUBLECOLON = 53;
const TP_AT = 54;
const TP_HATCH = 55;
const TP_OPENB = 56;
const TP_CLOSEB = 57;
const TP_EQUALS = 58;
const TP_NOTEQUALS = 59;
const TP_GREATERTHAN = 60;
const TP_LESSTHAN = 61;
const TP_GREATEREQUAL = 62;
const TP_LESSEQUAL = 63;
const TP_IDENTITY = 64;
const TP_NONEIDENTITY = 65;
const TP_MOD = 66;
const TP_LAND = 67;
const TP_LOR = 68;
const TP_LXOR = 69;
const TP_QUOTE = 70;
const TP_BACKTICK = 71;
const TP_DOLLARID = 72;
const YY_NO_ACTION = 549;
const YY_ACCEPT_ACTION = 548;
const YY_ERROR_ACTION = 547;
const YY_SZ_ACTTAB = 1785;
static public $yy_action = array(
/* 0 */ 180, 299, 5, 21, 355, 198, 344, 221, 53, 122,
/* 10 */ 104, 359, 314, 154, 293, 280, 242, 234, 304, 183,
/* 20 */ 162, 265, 268, 347, 322, 223, 292, 323, 119, 235,
/* 30 */ 42, 48, 46, 39, 32, 26, 282, 287, 25, 28,
/* 40 */ 289, 301, 31, 30, 292, 264, 259, 248, 276, 279,
/* 50 */ 278, 162, 167, 316, 3, 119, 315, 317, 318, 312,
/* 60 */ 311, 305, 327, 308, 309, 310, 307, 306, 303, 180,
/* 70 */ 126, 292, 299, 112, 209, 231, 177, 273, 221, 50,
/* 80 */ 118, 104, 548, 84, 230, 232, 258, 21, 183, 304,
/* 90 */ 344, 19, 191, 16, 347, 322, 151, 292, 351, 42,
/* 100 */ 48, 46, 39, 32, 26, 282, 287, 25, 28, 289,
/* 110 */ 301, 31, 30, 21, 89, 253, 344, 18, 155, 293,
/* 120 */ 27, 238, 116, 144, 332, 2, 317, 318, 312, 311,
/* 130 */ 305, 327, 308, 309, 310, 307, 306, 303, 180, 299,
/* 140 */ 110, 126, 196, 174, 4, 221, 72, 236, 104, 210,
/* 150 */ 290, 115, 7, 421, 54, 250, 304, 183, 423, 302,
/* 160 */ 421, 347, 322, 89, 292, 423, 183, 160, 42, 48,
/* 170 */ 46, 39, 32, 26, 282, 287, 25, 28, 289, 301,
/* 180 */ 31, 30, 180, 361, 14, 240, 4, 120, 21, 106,
/* 190 */ 45, 344, 19, 115, 334, 317, 318, 312, 311, 305,
/* 200 */ 327, 308, 309, 310, 307, 306, 303, 21, 356, 35,
/* 210 */ 344, 40, 42, 48, 46, 39, 32, 26, 282, 287,
/* 220 */ 25, 28, 289, 301, 31, 30, 148, 241, 4, 183,
/* 230 */ 206, 37, 87, 238, 249, 115, 246, 2, 245, 317,
/* 240 */ 318, 312, 311, 305, 327, 308, 309, 310, 307, 306,
/* 250 */ 303, 180, 299, 126, 180, 244, 98, 267, 99, 51,
/* 260 */ 124, 101, 153, 94, 237, 9, 321, 169, 10, 304,
/* 270 */ 183, 218, 233, 183, 347, 322, 331, 292, 461, 183,
/* 280 */ 352, 42, 48, 46, 39, 32, 26, 282, 287, 25,
/* 290 */ 28, 289, 301, 31, 30, 335, 14, 240, 4, 4,
/* 300 */ 346, 54, 211, 200, 45, 115, 115, 183, 317, 318,
/* 310 */ 312, 311, 305, 327, 308, 309, 310, 307, 306, 303,
/* 320 */ 180, 299, 91, 180, 161, 198, 21, 221, 67, 344,
/* 330 */ 104, 137, 159, 220, 173, 333, 165, 288, 304, 13,
/* 340 */ 187, 158, 183, 347, 322, 331, 292, 239, 232, 258,
/* 350 */ 42, 48, 46, 39, 32, 26, 282, 287, 25, 28,
/* 360 */ 289, 301, 31, 30, 180, 216, 176, 140, 190, 45,
/* 370 */ 21, 180, 29, 344, 105, 260, 341, 317, 318, 312,
/* 380 */ 311, 305, 327, 308, 309, 310, 307, 306, 303, 261,
/* 390 */ 183, 275, 38, 274, 42, 48, 46, 39, 32, 26,
/* 400 */ 282, 287, 25, 28, 289, 301, 31, 30, 180, 420,
/* 410 */ 45, 345, 206, 157, 293, 20, 183, 241, 183, 323,
/* 420 */ 254, 317, 318, 312, 311, 305, 327, 308, 309, 310,
/* 430 */ 307, 306, 303, 21, 21, 10, 344, 201, 42, 48,
/* 440 */ 46, 39, 32, 26, 282, 287, 25, 28, 289, 301,
/* 450 */ 31, 30, 180, 320, 272, 299, 251, 173, 156, 330,
/* 460 */ 183, 221, 13, 323, 104, 317, 318, 312, 311, 305,
/* 470 */ 327, 308, 309, 310, 307, 306, 303, 347, 322, 8,
/* 480 */ 292, 263, 42, 48, 46, 39, 32, 26, 282, 287,
/* 490 */ 25, 28, 289, 301, 31, 30, 180, 358, 4, 229,
/* 500 */ 21, 34, 93, 182, 183, 115, 183, 136, 255, 317,
/* 510 */ 318, 312, 311, 305, 327, 308, 309, 310, 307, 306,
/* 520 */ 303, 331, 227, 256, 324, 323, 42, 48, 46, 39,
/* 530 */ 32, 26, 282, 287, 25, 28, 289, 301, 31, 30,
/* 540 */ 180, 15, 21, 299, 296, 212, 328, 326, 22, 221,
/* 550 */ 213, 183, 104, 317, 318, 312, 311, 305, 327, 308,
/* 560 */ 309, 310, 307, 306, 303, 347, 322, 204, 292, 45,
/* 570 */ 42, 48, 46, 39, 32, 26, 282, 287, 25, 28,
/* 580 */ 289, 301, 31, 30, 180, 337, 340, 336, 283, 12,
/* 590 */ 270, 225, 183, 183, 183, 183, 163, 317, 318, 312,
/* 600 */ 311, 305, 327, 308, 309, 310, 307, 306, 303, 111,
/* 610 */ 205, 9, 202, 357, 42, 48, 46, 39, 32, 26,
/* 620 */ 282, 287, 25, 28, 289, 301, 31, 30, 180, 300,
/* 630 */ 329, 299, 286, 353, 114, 257, 183, 221, 108, 183,
/* 640 */ 104, 317, 318, 312, 311, 305, 327, 308, 309, 310,
/* 650 */ 307, 306, 303, 347, 322, 109, 292, 194, 42, 48,
/* 660 */ 46, 39, 32, 26, 282, 287, 25, 28, 289, 301,
/* 670 */ 31, 30, 180, 349, 247, 319, 228, 41, 183, 143,
/* 680 */ 183, 359, 183, 214, 168, 317, 318, 312, 311, 305,
/* 690 */ 327, 308, 309, 310, 307, 306, 303, 219, 103, 54,
/* 700 */ 291, 351, 42, 48, 46, 39, 32, 26, 282, 287,
/* 710 */ 25, 28, 289, 301, 31, 30, 180, 313, 189, 299,
/* 720 */ 295, 40, 338, 343, 183, 221, 22, 183, 104, 317,
/* 730 */ 318, 312, 311, 305, 327, 308, 309, 310, 307, 306,
/* 740 */ 303, 347, 322, 339, 292, 6, 42, 48, 46, 39,
/* 750 */ 32, 26, 282, 287, 25, 28, 289, 301, 31, 30,
/* 760 */ 180, 204, 141, 299, 294, 203, 17, 281, 266, 221,
/* 770 */ 54, 123, 104, 317, 318, 312, 311, 305, 327, 308,
/* 780 */ 309, 310, 307, 306, 303, 347, 322, 90, 292, 92,
/* 790 */ 42, 48, 46, 39, 32, 26, 282, 287, 25, 28,
/* 800 */ 289, 301, 31, 30, 180, 106, 217, 299, 95, 88,
/* 810 */ 325, 297, 302, 221, 302, 302, 104, 317, 318, 312,
/* 820 */ 311, 305, 327, 308, 309, 310, 307, 306, 303, 347,
/* 830 */ 322, 302, 292, 302, 42, 48, 46, 39, 32, 26,
/* 840 */ 282, 287, 25, 28, 289, 301, 31, 30, 180, 342,
/* 850 */ 302, 302, 302, 302, 302, 302, 123, 302, 302, 132,
/* 860 */ 262, 317, 318, 312, 311, 305, 327, 308, 309, 310,
/* 870 */ 307, 306, 303, 331, 302, 302, 302, 302, 42, 48,
/* 880 */ 46, 39, 32, 26, 282, 287, 25, 28, 289, 301,
/* 890 */ 31, 30, 166, 302, 302, 302, 302, 302, 302, 302,
/* 900 */ 302, 302, 24, 33, 302, 317, 318, 312, 311, 305,
/* 910 */ 327, 308, 309, 310, 307, 306, 303, 138, 3, 302,
/* 920 */ 113, 86, 166, 121, 302, 199, 3, 188, 107, 171,
/* 930 */ 302, 331, 24, 33, 126, 208, 21, 354, 47, 344,
/* 940 */ 202, 222, 126, 208, 21, 360, 47, 344, 302, 302,
/* 950 */ 302, 207, 36, 351, 11, 44, 43, 302, 348, 192,
/* 960 */ 23, 89, 1, 44, 43, 3, 348, 112, 178, 89,
/* 970 */ 1, 252, 133, 147, 302, 302, 85, 3, 166, 107,
/* 980 */ 178, 126, 208, 302, 85, 47, 331, 331, 24, 33,
/* 990 */ 152, 302, 145, 126, 208, 302, 302, 47, 302, 23,
/* 1000 */ 325, 302, 44, 43, 331, 348, 331, 302, 89, 1,
/* 1010 */ 3, 23, 107, 170, 44, 43, 302, 348, 325, 96,
/* 1020 */ 89, 1, 3, 85, 117, 178, 126, 208, 125, 139,
/* 1030 */ 47, 302, 298, 131, 164, 85, 302, 302, 126, 208,
/* 1040 */ 302, 298, 47, 331, 36, 302, 298, 44, 43, 134,
/* 1050 */ 348, 100, 302, 89, 1, 3, 23, 107, 178, 44,
/* 1060 */ 43, 128, 348, 331, 298, 89, 1, 3, 85, 107,
/* 1070 */ 175, 126, 208, 130, 298, 47, 149, 325, 127, 302,
/* 1080 */ 85, 97, 150, 126, 208, 302, 298, 47, 302, 36,
/* 1090 */ 331, 298, 44, 43, 298, 348, 331, 302, 89, 1,
/* 1100 */ 3, 23, 112, 172, 44, 43, 129, 348, 135, 302,
/* 1110 */ 89, 1, 3, 85, 112, 178, 126, 186, 302, 298,
/* 1120 */ 47, 302, 331, 302, 302, 85, 302, 302, 126, 208,
/* 1130 */ 302, 302, 47, 302, 23, 302, 302, 44, 43, 302,
/* 1140 */ 348, 302, 302, 89, 1, 3, 23, 112, 185, 44,
/* 1150 */ 43, 302, 348, 302, 302, 89, 302, 302, 85, 302,
/* 1160 */ 302, 126, 208, 302, 302, 47, 302, 299, 302, 302,
/* 1170 */ 85, 181, 302, 221, 68, 302, 104, 302, 302, 23,
/* 1180 */ 302, 302, 44, 43, 304, 348, 302, 302, 89, 347,
/* 1190 */ 322, 299, 292, 302, 302, 181, 302, 221, 68, 302,
/* 1200 */ 104, 184, 226, 85, 302, 302, 302, 302, 304, 302,
/* 1210 */ 302, 302, 302, 347, 322, 299, 292, 302, 302, 198,
/* 1220 */ 302, 221, 62, 302, 104, 302, 243, 299, 302, 302,
/* 1230 */ 302, 198, 304, 221, 62, 302, 104, 347, 322, 299,
/* 1240 */ 292, 302, 302, 198, 304, 221, 62, 224, 104, 347,
/* 1250 */ 322, 299, 292, 302, 302, 198, 304, 221, 62, 197,
/* 1260 */ 104, 347, 322, 302, 292, 302, 299, 302, 304, 302,
/* 1270 */ 350, 215, 221, 347, 322, 104, 292, 302, 299, 302,
/* 1280 */ 302, 302, 98, 269, 102, 52, 124, 101, 347, 322,
/* 1290 */ 302, 292, 302, 302, 302, 304, 302, 302, 302, 302,
/* 1300 */ 347, 322, 299, 292, 302, 302, 198, 302, 221, 70,
/* 1310 */ 302, 104, 302, 302, 299, 302, 302, 302, 198, 304,
/* 1320 */ 221, 58, 302, 104, 347, 322, 299, 292, 302, 302,
/* 1330 */ 198, 304, 221, 79, 302, 104, 347, 322, 299, 292,
/* 1340 */ 302, 302, 198, 304, 221, 77, 302, 104, 347, 322,
/* 1350 */ 302, 292, 302, 302, 302, 304, 302, 302, 302, 142,
/* 1360 */ 347, 322, 299, 292, 166, 302, 198, 302, 221, 81,
/* 1370 */ 302, 104, 302, 331, 24, 33, 302, 302, 302, 304,
/* 1380 */ 302, 302, 302, 302, 347, 322, 299, 292, 302, 302,
/* 1390 */ 198, 302, 221, 78, 302, 104, 302, 302, 299, 302,
/* 1400 */ 302, 302, 198, 304, 221, 49, 302, 104, 347, 322,
/* 1410 */ 299, 292, 302, 302, 198, 304, 221, 63, 302, 104,
/* 1420 */ 347, 322, 299, 292, 302, 302, 198, 304, 221, 73,
/* 1430 */ 302, 104, 347, 322, 302, 292, 302, 302, 302, 304,
/* 1440 */ 302, 302, 302, 146, 347, 322, 299, 292, 166, 302,
/* 1450 */ 198, 302, 221, 56, 302, 104, 302, 331, 24, 33,
/* 1460 */ 302, 302, 302, 304, 302, 302, 302, 302, 347, 322,
/* 1470 */ 299, 292, 302, 302, 198, 302, 221, 80, 302, 104,
/* 1480 */ 302, 302, 299, 302, 302, 302, 198, 304, 221, 55,
/* 1490 */ 302, 104, 347, 322, 299, 292, 302, 302, 198, 304,
/* 1500 */ 221, 75, 302, 104, 347, 322, 299, 292, 302, 302,
/* 1510 */ 198, 304, 221, 61, 302, 104, 347, 322, 302, 292,
/* 1520 */ 302, 302, 302, 304, 302, 302, 302, 302, 347, 322,
/* 1530 */ 299, 292, 302, 302, 198, 302, 221, 66, 302, 104,
/* 1540 */ 302, 302, 302, 302, 302, 302, 302, 304, 302, 302,
/* 1550 */ 302, 302, 347, 322, 299, 292, 302, 302, 198, 302,
/* 1560 */ 221, 57, 302, 104, 302, 302, 299, 302, 302, 302,
/* 1570 */ 198, 304, 221, 74, 302, 104, 347, 322, 299, 292,
/* 1580 */ 302, 302, 198, 304, 221, 69, 302, 104, 347, 322,
/* 1590 */ 299, 292, 302, 302, 198, 304, 221, 65, 302, 104,
/* 1600 */ 347, 322, 302, 292, 302, 302, 302, 304, 302, 302,
/* 1610 */ 302, 302, 347, 322, 299, 292, 302, 302, 198, 302,
/* 1620 */ 221, 76, 302, 104, 302, 302, 302, 302, 302, 302,
/* 1630 */ 302, 304, 302, 302, 302, 302, 347, 322, 299, 292,
/* 1640 */ 302, 302, 198, 302, 221, 82, 302, 104, 302, 302,
/* 1650 */ 299, 302, 302, 302, 198, 304, 221, 83, 302, 104,
/* 1660 */ 347, 322, 299, 292, 302, 302, 198, 304, 221, 59,
/* 1670 */ 302, 104, 347, 322, 299, 292, 302, 302, 198, 304,
/* 1680 */ 179, 64, 302, 104, 347, 322, 302, 292, 302, 302,
/* 1690 */ 302, 304, 302, 302, 302, 302, 347, 322, 299, 292,
/* 1700 */ 302, 302, 198, 302, 221, 60, 302, 104, 302, 302,
/* 1710 */ 302, 302, 302, 302, 302, 304, 302, 302, 302, 302,
/* 1720 */ 347, 322, 299, 292, 302, 302, 198, 302, 221, 71,
/* 1730 */ 302, 104, 299, 302, 302, 302, 277, 302, 221, 304,
/* 1740 */ 302, 104, 302, 302, 347, 322, 302, 292, 302, 271,
/* 1750 */ 302, 302, 299, 302, 347, 322, 284, 292, 221, 299,
/* 1760 */ 302, 104, 302, 193, 302, 221, 302, 302, 104, 285,
/* 1770 */ 302, 302, 302, 302, 347, 322, 195, 292, 302, 302,
/* 1780 */ 302, 347, 322, 302, 292,
);
static public $yy_lookahead = array(
/* 0 */ 1, 77, 30, 12, 13, 81, 15, 83, 84, 85,
/* 10 */ 86, 104, 13, 106, 107, 4, 5, 6, 94, 20,
/* 20 */ 9, 10, 11, 99, 100, 83, 102, 23, 86, 57,
/* 30 */ 31, 32, 33, 34, 35, 36, 37, 38, 39, 40,
/* 40 */ 41, 42, 43, 44, 102, 3, 4, 5, 6, 7,
/* 50 */ 8, 9, 83, 15, 12, 86, 15, 58, 59, 60,
/* 60 */ 61, 62, 63, 64, 65, 66, 67, 68, 69, 1,
/* 70 */ 28, 102, 77, 14, 15, 71, 81, 108, 83, 84,
/* 80 */ 85, 86, 74, 75, 76, 77, 78, 12, 20, 94,
/* 90 */ 15, 16, 54, 25, 99, 100, 103, 102, 105, 31,
/* 100 */ 32, 33, 34, 35, 36, 37, 38, 39, 40, 41,
/* 110 */ 42, 43, 44, 12, 55, 13, 15, 16, 106, 107,
/* 120 */ 12, 8, 14, 15, 23, 12, 58, 59, 60, 61,
/* 130 */ 62, 63, 64, 65, 66, 67, 68, 69, 1, 77,
/* 140 */ 14, 28, 15, 81, 46, 83, 84, 85, 86, 51,
/* 150 */ 13, 53, 16, 13, 18, 57, 94, 20, 13, 13,
/* 160 */ 20, 99, 100, 55, 102, 20, 20, 88, 31, 32,
/* 170 */ 33, 34, 35, 36, 37, 38, 39, 40, 41, 42,
/* 180 */ 43, 44, 1, 70, 71, 72, 46, 20, 12, 53,
/* 190 */ 45, 15, 16, 53, 13, 58, 59, 60, 61, 62,
/* 200 */ 63, 64, 65, 66, 67, 68, 69, 12, 13, 27,
/* 210 */ 15, 2, 31, 32, 33, 34, 35, 36, 37, 38,
/* 220 */ 39, 40, 41, 42, 43, 44, 103, 77, 46, 20,
/* 230 */ 54, 12, 15, 8, 17, 53, 19, 12, 21, 58,
/* 240 */ 59, 60, 61, 62, 63, 64, 65, 66, 67, 68,
/* 250 */ 69, 1, 77, 28, 1, 78, 81, 80, 83, 84,
/* 260 */ 85, 86, 82, 113, 114, 46, 13, 87, 16, 94,
/* 270 */ 20, 18, 13, 20, 99, 100, 96, 102, 26, 20,
/* 280 */ 15, 31, 32, 33, 34, 35, 36, 37, 38, 39,
/* 290 */ 40, 41, 42, 43, 44, 70, 71, 72, 46, 46,
/* 300 */ 13, 18, 14, 15, 45, 53, 53, 20, 58, 59,
/* 310 */ 60, 61, 62, 63, 64, 65, 66, 67, 68, 69,
/* 320 */ 1, 77, 88, 1, 22, 81, 12, 83, 84, 15,
/* 330 */ 86, 82, 30, 89, 51, 13, 87, 13, 94, 56,
/* 340 */ 18, 22, 20, 99, 100, 96, 102, 76, 77, 78,
/* 350 */ 31, 32, 33, 34, 35, 36, 37, 38, 39, 40,
/* 360 */ 41, 42, 43, 44, 1, 89, 90, 103, 54, 45,
/* 370 */ 12, 1, 12, 15, 14, 15, 13, 58, 59, 60,
/* 380 */ 61, 62, 63, 64, 65, 66, 67, 68, 69, 29,
/* 390 */ 20, 55, 27, 47, 31, 32, 33, 34, 35, 36,
/* 400 */ 37, 38, 39, 40, 41, 42, 43, 44, 1, 13,
/* 410 */ 45, 13, 54, 106, 107, 24, 20, 77, 20, 23,
/* 420 */ 13, 58, 59, 60, 61, 62, 63, 64, 65, 66,
/* 430 */ 67, 68, 69, 12, 12, 16, 15, 15, 31, 32,
/* 440 */ 33, 34, 35, 36, 37, 38, 39, 40, 41, 42,
/* 450 */ 43, 44, 1, 13, 114, 77, 57, 51, 15, 81,
/* 460 */ 20, 83, 56, 23, 86, 58, 59, 60, 61, 62,
/* 470 */ 63, 64, 65, 66, 67, 68, 69, 99, 100, 46,
/* 480 */ 102, 55, 31, 32, 33, 34, 35, 36, 37, 38,
/* 490 */ 39, 40, 41, 42, 43, 44, 1, 13, 46, 13,
/* 500 */ 12, 48, 15, 15, 20, 53, 20, 82, 13, 58,
/* 510 */ 59, 60, 61, 62, 63, 64, 65, 66, 67, 68,
/* 520 */ 69, 96, 71, 47, 13, 23, 31, 32, 33, 34,
/* 530 */ 35, 36, 37, 38, 39, 40, 41, 42, 43, 44,
/* 540 */ 1, 2, 12, 77, 13, 15, 13, 81, 16, 83,
/* 550 */ 15, 20, 86, 58, 59, 60, 61, 62, 63, 64,
/* 560 */ 65, 66, 67, 68, 69, 99, 100, 51, 102, 45,
/* 570 */ 31, 32, 33, 34, 35, 36, 37, 38, 39, 40,
/* 580 */ 41, 42, 43, 44, 1, 13, 13, 13, 13, 20,
/* 590 */ 47, 13, 20, 20, 20, 20, 13, 58, 59, 60,
/* 600 */ 61, 62, 63, 64, 65, 66, 67, 68, 69, 14,
/* 610 */ 26, 46, 2, 15, 31, 32, 33, 34, 35, 36,
/* 620 */ 37, 38, 39, 40, 41, 42, 43, 44, 1, 13,
/* 630 */ 29, 77, 13, 15, 14, 81, 20, 83, 14, 20,
/* 640 */ 86, 58, 59, 60, 61, 62, 63, 64, 65, 66,
/* 650 */ 67, 68, 69, 99, 100, 14, 102, 26, 31, 32,
/* 660 */ 33, 34, 35, 36, 37, 38, 39, 40, 41, 42,
/* 670 */ 43, 44, 1, 13, 47, 13, 96, 20, 20, 103,
/* 680 */ 20, 104, 20, 15, 13, 58, 59, 60, 61, 62,
/* 690 */ 63, 64, 65, 66, 67, 68, 69, 29, 14, 18,
/* 700 */ 107, 105, 31, 32, 33, 34, 35, 36, 37, 38,
/* 710 */ 39, 40, 41, 42, 43, 44, 1, 13, 95, 77,
/* 720 */ 13, 2, 20, 81, 20, 83, 16, 20, 86, 58,
/* 730 */ 59, 60, 61, 62, 63, 64, 65, 66, 67, 68,
/* 740 */ 69, 99, 100, 89, 102, 30, 31, 32, 33, 34,
/* 750 */ 35, 36, 37, 38, 39, 40, 41, 42, 43, 44,
/* 760 */ 1, 51, 103, 77, 101, 91, 91, 81, 10, 83,
/* 770 */ 18, 108, 86, 58, 59, 60, 61, 62, 63, 64,
/* 780 */ 65, 66, 67, 68, 69, 99, 100, 88, 102, 88,
/* 790 */ 31, 32, 33, 34, 35, 36, 37, 38, 39, 40,
/* 800 */ 41, 42, 43, 44, 1, 53, 47, 77, 79, 103,
/* 810 */ 110, 81, 115, 83, 115, 115, 86, 58, 59, 60,
/* 820 */ 61, 62, 63, 64, 65, 66, 67, 68, 69, 99,
/* 830 */ 100, 115, 102, 115, 31, 32, 33, 34, 35, 36,
/* 840 */ 37, 38, 39, 40, 41, 42, 43, 44, 1, 101,
/* 850 */ 115, 115, 115, 115, 115, 115, 108, 115, 115, 82,
/* 860 */ 57, 58, 59, 60, 61, 62, 63, 64, 65, 66,
/* 870 */ 67, 68, 69, 96, 115, 115, 115, 115, 31, 32,
/* 880 */ 33, 34, 35, 36, 37, 38, 39, 40, 41, 42,
/* 890 */ 43, 44, 87, 115, 115, 115, 115, 115, 115, 115,
/* 900 */ 115, 115, 97, 98, 115, 58, 59, 60, 61, 62,
/* 910 */ 63, 64, 65, 66, 67, 68, 69, 82, 12, 115,
/* 920 */ 14, 15, 87, 17, 115, 19, 12, 21, 14, 15,
/* 930 */ 115, 96, 97, 98, 28, 29, 12, 13, 32, 15,
/* 940 */ 2, 93, 28, 29, 12, 13, 32, 15, 115, 115,
/* 950 */ 115, 27, 46, 105, 16, 49, 50, 115, 52, 27,
/* 960 */ 46, 55, 56, 49, 50, 12, 52, 14, 15, 55,
/* 970 */ 56, 57, 82, 82, 115, 115, 70, 12, 87, 14,
/* 980 */ 15, 28, 29, 115, 70, 32, 96, 96, 97, 98,
/* 990 */ 82, 115, 82, 28, 29, 115, 115, 32, 115, 46,
/* 1000 */ 110, 115, 49, 50, 96, 52, 96, 115, 55, 56,
/* 1010 */ 12, 46, 14, 15, 49, 50, 115, 52, 110, 92,
/* 1020 */ 55, 56, 12, 70, 14, 15, 28, 29, 92, 82,
/* 1030 */ 32, 115, 105, 92, 87, 70, 115, 115, 28, 29,
/* 1040 */ 115, 105, 32, 96, 46, 115, 105, 49, 50, 82,
/* 1050 */ 52, 92, 115, 55, 56, 12, 46, 14, 15, 49,
/* 1060 */ 50, 92, 52, 96, 105, 55, 56, 12, 70, 14,
/* 1070 */ 15, 28, 29, 92, 105, 32, 82, 110, 92, 115,
/* 1080 */ 70, 92, 82, 28, 29, 115, 105, 32, 115, 46,
/* 1090 */ 96, 105, 49, 50, 105, 52, 96, 115, 55, 56,
/* 1100 */ 12, 46, 14, 15, 49, 50, 92, 52, 82, 115,
/* 1110 */ 55, 56, 12, 70, 14, 15, 28, 29, 115, 105,
/* 1120 */ 32, 115, 96, 115, 115, 70, 115, 115, 28, 29,
/* 1130 */ 115, 115, 32, 115, 46, 115, 115, 49, 50, 115,
/* 1140 */ 52, 115, 115, 55, 56, 12, 46, 14, 15, 49,
/* 1150 */ 50, 115, 52, 115, 115, 55, 115, 115, 70, 115,
/* 1160 */ 115, 28, 29, 115, 115, 32, 115, 77, 115, 115,
/* 1170 */ 70, 81, 115, 83, 84, 115, 86, 115, 115, 46,
/* 1180 */ 115, 115, 49, 50, 94, 52, 115, 115, 55, 99,
/* 1190 */ 100, 77, 102, 115, 115, 81, 115, 83, 84, 115,
/* 1200 */ 86, 111, 112, 70, 115, 115, 115, 115, 94, 115,
/* 1210 */ 115, 115, 115, 99, 100, 77, 102, 115, 115, 81,
/* 1220 */ 115, 83, 84, 115, 86, 115, 112, 77, 115, 115,
/* 1230 */ 115, 81, 94, 83, 84, 115, 86, 99, 100, 77,
/* 1240 */ 102, 115, 115, 81, 94, 83, 84, 109, 86, 99,
/* 1250 */ 100, 77, 102, 115, 115, 81, 94, 83, 84, 109,
/* 1260 */ 86, 99, 100, 115, 102, 115, 77, 115, 94, 115,
/* 1270 */ 81, 109, 83, 99, 100, 86, 102, 115, 77, 115,
/* 1280 */ 115, 115, 81, 109, 83, 84, 85, 86, 99, 100,
/* 1290 */ 115, 102, 115, 115, 115, 94, 115, 115, 115, 115,
/* 1300 */ 99, 100, 77, 102, 115, 115, 81, 115, 83, 84,
/* 1310 */ 115, 86, 115, 115, 77, 115, 115, 115, 81, 94,
/* 1320 */ 83, 84, 115, 86, 99, 100, 77, 102, 115, 115,
/* 1330 */ 81, 94, 83, 84, 115, 86, 99, 100, 77, 102,
/* 1340 */ 115, 115, 81, 94, 83, 84, 115, 86, 99, 100,
/* 1350 */ 115, 102, 115, 115, 115, 94, 115, 115, 115, 82,
/* 1360 */ 99, 100, 77, 102, 87, 115, 81, 115, 83, 84,
/* 1370 */ 115, 86, 115, 96, 97, 98, 115, 115, 115, 94,
/* 1380 */ 115, 115, 115, 115, 99, 100, 77, 102, 115, 115,
/* 1390 */ 81, 115, 83, 84, 115, 86, 115, 115, 77, 115,
/* 1400 */ 115, 115, 81, 94, 83, 84, 115, 86, 99, 100,
/* 1410 */ 77, 102, 115, 115, 81, 94, 83, 84, 115, 86,
/* 1420 */ 99, 100, 77, 102, 115, 115, 81, 94, 83, 84,
/* 1430 */ 115, 86, 99, 100, 115, 102, 115, 115, 115, 94,
/* 1440 */ 115, 115, 115, 82, 99, 100, 77, 102, 87, 115,
/* 1450 */ 81, 115, 83, 84, 115, 86, 115, 96, 97, 98,
/* 1460 */ 115, 115, 115, 94, 115, 115, 115, 115, 99, 100,
/* 1470 */ 77, 102, 115, 115, 81, 115, 83, 84, 115, 86,
/* 1480 */ 115, 115, 77, 115, 115, 115, 81, 94, 83, 84,
/* 1490 */ 115, 86, 99, 100, 77, 102, 115, 115, 81, 94,
/* 1500 */ 83, 84, 115, 86, 99, 100, 77, 102, 115, 115,
/* 1510 */ 81, 94, 83, 84, 115, 86, 99, 100, 115, 102,
/* 1520 */ 115, 115, 115, 94, 115, 115, 115, 115, 99, 100,
/* 1530 */ 77, 102, 115, 115, 81, 115, 83, 84, 115, 86,
/* 1540 */ 115, 115, 115, 115, 115, 115, 115, 94, 115, 115,
/* 1550 */ 115, 115, 99, 100, 77, 102, 115, 115, 81, 115,
/* 1560 */ 83, 84, 115, 86, 115, 115, 77, 115, 115, 115,
/* 1570 */ 81, 94, 83, 84, 115, 86, 99, 100, 77, 102,
/* 1580 */ 115, 115, 81, 94, 83, 84, 115, 86, 99, 100,
/* 1590 */ 77, 102, 115, 115, 81, 94, 83, 84, 115, 86,
/* 1600 */ 99, 100, 115, 102, 115, 115, 115, 94, 115, 115,
/* 1610 */ 115, 115, 99, 100, 77, 102, 115, 115, 81, 115,
/* 1620 */ 83, 84, 115, 86, 115, 115, 115, 115, 115, 115,
/* 1630 */ 115, 94, 115, 115, 115, 115, 99, 100, 77, 102,
/* 1640 */ 115, 115, 81, 115, 83, 84, 115, 86, 115, 115,
/* 1650 */ 77, 115, 115, 115, 81, 94, 83, 84, 115, 86,
/* 1660 */ 99, 100, 77, 102, 115, 115, 81, 94, 83, 84,
/* 1670 */ 115, 86, 99, 100, 77, 102, 115, 115, 81, 94,
/* 1680 */ 83, 84, 115, 86, 99, 100, 115, 102, 115, 115,
/* 1690 */ 115, 94, 115, 115, 115, 115, 99, 100, 77, 102,
/* 1700 */ 115, 115, 81, 115, 83, 84, 115, 86, 115, 115,
/* 1710 */ 115, 115, 115, 115, 115, 94, 115, 115, 115, 115,
/* 1720 */ 99, 100, 77, 102, 115, 115, 81, 115, 83, 84,
/* 1730 */ 115, 86, 77, 115, 115, 115, 81, 115, 83, 94,
/* 1740 */ 115, 86, 115, 115, 99, 100, 115, 102, 115, 94,
/* 1750 */ 115, 115, 77, 115, 99, 100, 81, 102, 83, 77,
/* 1760 */ 115, 86, 115, 81, 115, 83, 115, 115, 86, 94,
/* 1770 */ 115, 115, 115, 115, 99, 100, 94, 102, 115, 115,
/* 1780 */ 115, 99, 100, 115, 102,
);
const YY_SHIFT_USE_DFLT = -29;
const YY_SHIFT_MAX = 224;
static public $yy_shift_ofst = array(
/* 0 */ 42, 1055, 906, 906, 965, 1055, 965, 1043, 965, 965,
/* 10 */ 998, 1043, 1010, 914, 965, 965, 965, 965, 965, 965,
/* 20 */ 965, 965, 965, 965, 965, 965, 965, 965, 965, 965,
/* 30 */ 965, 965, 965, 965, 965, 965, 965, 965, 965, 953,
/* 40 */ 953, 1088, 1100, 1100, 1100, 1133, 1100, 1100, 1100, 68,
/* 50 */ 137, -1, 250, 250, 108, 803, 627, 539, 583, 495,
/* 60 */ 671, 759, 715, 407, 451, 181, 319, 363, 847, 847,
/* 70 */ 847, 847, 847, 847, 847, 847, 847, 847, 847, 847,
/* 80 */ 847, 847, 847, 847, 42, 225, 253, 322, 283, 59,
/* 90 */ 209, 209, 209, 370, 113, 11, 101, 176, 259, 440,
/* 100 */ 358, 136, 396, 421, 752, 421, 288, 422, 421, 421,
/* 110 */ 421, 421, 421, 488, 421, 288, 530, 422, 658, 681,
/* 120 */ 684, 657, 658, 681, 658, 924, 217, 932, 75, -9,
/* 130 */ 314, 195, 146, 287, 398, 484, 662, 660, 704, 707,
/* 140 */ 406, 406, 619, 406, 219, 531, 574, 616, 406, 575,
/* 150 */ 486, 406, 573, 572, 681, 681, 433, 681, 702, 684,
/* 160 */ 719, 702, 758, -29, -29, -29, -29, -29, -29, -29,
/* 170 */ 140, 98, 252, 360, 145, 182, 302, 324, 452, 4,
/* 180 */ 38, 365, 938, 668, -28, 452, 710, 127, 167, 102,
/* 190 */ 265, 41, 126, 631, 595, 584, 578, 543, 524, 569,
/* 200 */ 565, 610, 618, 641, 601, 624, 598, 620, 516, 336,
/* 210 */ 535, 443, 433, 399, 419, 346, 391, 453, 487, 532,
/* 220 */ 533, 502, 511, 426, 476,
);
const YY_REDUCE_USE_DFLT = -94;
const YY_REDUCE_MAX = 169;
static public $yy_reduce_ofst = array(
/* 0 */ 8, 1090, 175, 1201, 1138, 1114, 1174, -76, 1150, 1162,
/* 10 */ 62, -5, 244, 1405, 1597, 1501, 1513, 1453, 1573, 1261,
/* 20 */ 1321, 1333, 1345, 1369, 1393, 1309, 1225, 1237, 1285, 1585,
/* 30 */ 1561, 1645, 1537, 1417, 1477, 1489, 1429, 1621, 1249, 1675,
/* 40 */ 1655, 1682, 642, 378, 686, 554, 730, 466, 1189, 1361,
/* 50 */ 1277, 835, 835, 891, -31, 805, 805, 805, 805, 805,
/* 60 */ 805, 805, 805, 805, 805, 805, 805, 805, 805, 805,
/* 70 */ 805, 805, 805, 805, 805, 805, 805, 805, 805, 805,
/* 80 */ 805, 805, 805, 805, 271, 150, 947, 180, -93, -58,
/* 90 */ 890, 908, 967, 249, 340, 177, 848, -7, 1000, 425,
/* 100 */ -7, 12, 425, 969, 12, 981, 663, 959, 936, 927,
/* 110 */ 941, 986, 959, 959, 1014, 748, 959, 989, 994, 12,
/* 120 */ 276, 1026, 910, 307, 777, 596, 623, 596, 596, 596,
/* 130 */ 596, 596, 580, 580, 580, 580, 580, 580, 580, 580,
/* 140 */ 577, 577, 580, 577, 576, 580, 580, 580, 577, 580,
/* 150 */ 580, 577, 580, 580, 593, 593, 706, 593, 674, 654,
/* 160 */ 700, 675, 729, 659, 701, 699, 79, 123, 264, 234,
);
static public $yyExpectedTokens = array(
/* 0 */ array(3, 4, 5, 6, 7, 8, 9, 12, 28, ),
/* 1 */ array(12, 14, 15, 28, 29, 32, 46, 49, 50, 52, 55, 56, 70, ),
/* 2 */ array(12, 14, 15, 17, 19, 21, 28, 29, 32, 46, 49, 50, 52, 55, 56, 70, ),
/* 3 */ array(12, 14, 15, 17, 19, 21, 28, 29, 32, 46, 49, 50, 52, 55, 56, 70, ),
/* 4 */ array(12, 14, 15, 28, 29, 32, 46, 49, 50, 52, 55, 56, 70, ),
/* 5 */ array(12, 14, 15, 28, 29, 32, 46, 49, 50, 52, 55, 56, 70, ),
/* 6 */ array(12, 14, 15, 28, 29, 32, 46, 49, 50, 52, 55, 56, 70, ),
/* 7 */ array(12, 14, 15, 28, 29, 32, 46, 49, 50, 52, 55, 56, 70, ),
/* 8 */ array(12, 14, 15, 28, 29, 32, 46, 49, 50, 52, 55, 56, 70, ),
/* 9 */ array(12, 14, 15, 28, 29, 32, 46, 49, 50, 52, 55, 56, 70, ),
/* 10 */ array(12, 14, 15, 28, 29, 32, 46, 49, 50, 52, 55, 56, 70, ),
/* 11 */ array(12, 14, 15, 28, 29, 32, 46, 49, 50, 52, 55, 56, 70, ),
/* 12 */ array(12, 14, 15, 28, 29, 32, 46, 49, 50, 52, 55, 56, 70, ),
/* 13 */ array(12, 14, 15, 28, 29, 32, 46, 49, 50, 52, 55, 56, 57, 70, ),
/* 14 */ array(12, 14, 15, 28, 29, 32, 46, 49, 50, 52, 55, 56, 70, ),
/* 15 */ array(12, 14, 15, 28, 29, 32, 46, 49, 50, 52, 55, 56, 70, ),
/* 16 */ array(12, 14, 15, 28, 29, 32, 46, 49, 50, 52, 55, 56, 70, ),
/* 17 */ array(12, 14, 15, 28, 29, 32, 46, 49, 50, 52, 55, 56, 70, ),
/* 18 */ array(12, 14, 15, 28, 29, 32, 46, 49, 50, 52, 55, 56, 70, ),
/* 19 */ array(12, 14, 15, 28, 29, 32, 46, 49, 50, 52, 55, 56, 70, ),
/* 20 */ array(12, 14, 15, 28, 29, 32, 46, 49, 50, 52, 55, 56, 70, ),
/* 21 */ array(12, 14, 15, 28, 29, 32, 46, 49, 50, 52, 55, 56, 70, ),
/* 22 */ array(12, 14, 15, 28, 29, 32, 46, 49, 50, 52, 55, 56, 70, ),
/* 23 */ array(12, 14, 15, 28, 29, 32, 46, 49, 50, 52, 55, 56, 70, ),
/* 24 */ array(12, 14, 15, 28, 29, 32, 46, 49, 50, 52, 55, 56, 70, ),
/* 25 */ array(12, 14, 15, 28, 29, 32, 46, 49, 50, 52, 55, 56, 70, ),
/* 26 */ array(12, 14, 15, 28, 29, 32, 46, 49, 50, 52, 55, 56, 70, ),
/* 27 */ array(12, 14, 15, 28, 29, 32, 46, 49, 50, 52, 55, 56, 70, ),
/* 28 */ array(12, 14, 15, 28, 29, 32, 46, 49, 50, 52, 55, 56, 70, ),
/* 29 */ array(12, 14, 15, 28, 29, 32, 46, 49, 50, 52, 55, 56, 70, ),
/* 30 */ array(12, 14, 15, 28, 29, 32, 46, 49, 50, 52, 55, 56, 70, ),
/* 31 */ array(12, 14, 15, 28, 29, 32, 46, 49, 50, 52, 55, 56, 70, ),
/* 32 */ array(12, 14, 15, 28, 29, 32, 46, 49, 50, 52, 55, 56, 70, ),
/* 33 */ array(12, 14, 15, 28, 29, 32, 46, 49, 50, 52, 55, 56, 70, ),
/* 34 */ array(12, 14, 15, 28, 29, 32, 46, 49, 50, 52, 55, 56, 70, ),
/* 35 */ array(12, 14, 15, 28, 29, 32, 46, 49, 50, 52, 55, 56, 70, ),
/* 36 */ array(12, 14, 15, 28, 29, 32, 46, 49, 50, 52, 55, 56, 70, ),
/* 37 */ array(12, 14, 15, 28, 29, 32, 46, 49, 50, 52, 55, 56, 70, ),
/* 38 */ array(12, 14, 15, 28, 29, 32, 46, 49, 50, 52, 55, 56, 70, ),
/* 39 */ array(12, 14, 15, 28, 29, 32, 46, 49, 50, 52, 55, 56, 70, ),
/* 40 */ array(12, 14, 15, 28, 29, 32, 46, 49, 50, 52, 55, 56, 70, ),
/* 41 */ array(12, 14, 15, 28, 29, 32, 46, 49, 50, 52, 55, 56, 70, ),
/* 42 */ array(12, 14, 15, 28, 29, 32, 46, 49, 50, 52, 55, 70, ),
/* 43 */ array(12, 14, 15, 28, 29, 32, 46, 49, 50, 52, 55, 70, ),
/* 44 */ array(12, 14, 15, 28, 29, 32, 46, 49, 50, 52, 55, 70, ),
/* 45 */ array(12, 14, 15, 28, 29, 32, 46, 49, 50, 52, 55, 70, ),
/* 46 */ array(12, 14, 15, 28, 29, 32, 46, 49, 50, 52, 55, 70, ),
/* 47 */ array(12, 14, 15, 28, 29, 32, 46, 49, 50, 52, 55, 70, ),
/* 48 */ array(12, 14, 15, 28, 29, 32, 46, 49, 50, 52, 55, 70, ),
/* 49 */ array(1, 20, 25, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, ),
/* 50 */ array(1, 13, 20, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, ),
/* 51 */ array(1, 13, 20, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, ),
/* 52 */ array(1, 20, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, ),
/* 53 */ array(1, 20, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, ),
/* 54 */ array(12, 14, 15, 55, ),
/* 55 */ array(1, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, ),
/* 56 */ array(1, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 47, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, ),
/* 57 */ array(1, 2, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, ),
/* 58 */ array(1, 13, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, ),
/* 59 */ array(1, 13, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, ),
/* 60 */ array(1, 13, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, ),
/* 61 */ array(1, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 47, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, ),
/* 62 */ array(1, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, ),
/* 63 */ array(1, 13, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, ),
/* 64 */ array(1, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 71, ),
/* 65 */ array(1, 13, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, ),
/* 66 */ array(1, 22, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, ),
/* 67 */ array(1, 13, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, ),
/* 68 */ array(1, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, ),
/* 69 */ array(1, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, ),
/* 70 */ array(1, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, ),
/* 71 */ array(1, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, ),
/* 72 */ array(1, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, ),
/* 73 */ array(1, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, ),
/* 74 */ array(1, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, ),
/* 75 */ array(1, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, ),
/* 76 */ array(1, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, ),
/* 77 */ array(1, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, ),
/* 78 */ array(1, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, ),
/* 79 */ array(1, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, ),
/* 80 */ array(1, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, ),
/* 81 */ array(1, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, ),
/* 82 */ array(1, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, ),
/* 83 */ array(1, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, ),
/* 84 */ array(3, 4, 5, 6, 7, 8, 9, 12, 28, ),
/* 85 */ array(8, 12, 28, 70, 71, 72, ),
/* 86 */ array(1, 13, 18, 20, 46, 53, ),
/* 87 */ array(1, 13, 18, 20, ),
/* 88 */ array(18, 51, 56, ),
/* 89 */ array(14, 15, 55, ),
/* 90 */ array(2, 20, ),
/* 91 */ array(2, 20, ),
/* 92 */ array(2, 20, ),
/* 93 */ array(1, 20, ),
/* 94 */ array(8, 12, 28, 70, 71, 72, ),
/* 95 */ array(4, 5, 6, 9, 10, 11, ),
/* 96 */ array(12, 15, 16, 23, ),
/* 97 */ array(12, 15, 16, 54, ),
/* 98 */ array(13, 20, 45, ),
/* 99 */ array(13, 20, 23, ),
/* 100 */ array(12, 15, 54, ),
/* 101 */ array(16, 18, 53, ),
/* 102 */ array(13, 20, 23, ),
/* 103 */ array(12, 15, ),
/* 104 */ array(18, 53, ),
/* 105 */ array(12, 15, ),
/* 106 */ array(14, 15, ),
/* 107 */ array(12, 15, ),
/* 108 */ array(12, 15, ),
/* 109 */ array(12, 15, ),
/* 110 */ array(12, 15, ),
/* 111 */ array(12, 15, ),
/* 112 */ array(12, 15, ),
/* 113 */ array(12, 15, ),
/* 114 */ array(12, 15, ),
/* 115 */ array(14, 15, ),
/* 116 */ array(12, 15, ),
/* 117 */ array(12, 15, ),
/* 118 */ array(20, ),
/* 119 */ array(18, ),
/* 120 */ array(14, ),
/* 121 */ array(20, ),
/* 122 */ array(20, ),
/* 123 */ array(18, ),
/* 124 */ array(20, ),
/* 125 */ array(12, 13, 15, 27, ),
/* 126 */ array(15, 17, 19, 21, ),
/* 127 */ array(12, 13, 15, 27, ),
/* 128 */ array(12, 15, 16, ),
/* 129 */ array(12, 13, 15, ),
/* 130 */ array(12, 15, 54, ),
/* 131 */ array(12, 13, 15, ),
/* 132 */ array(13, 20, ),
/* 133 */ array(13, 20, ),
/* 134 */ array(13, 20, ),
/* 135 */ array(13, 20, ),
/* 136 */ array(13, 20, ),
/* 137 */ array(13, 20, ),
/* 138 */ array(13, 20, ),
/* 139 */ array(13, 20, ),
/* 140 */ array(51, 56, ),
/* 141 */ array(51, 56, ),
/* 142 */ array(13, 20, ),
/* 143 */ array(51, 56, ),
/* 144 */ array(12, 46, ),
/* 145 */ array(13, 20, ),
/* 146 */ array(13, 20, ),
/* 147 */ array(13, 20, ),
/* 148 */ array(51, 56, ),
/* 149 */ array(13, 20, ),
/* 150 */ array(13, 20, ),
/* 151 */ array(51, 56, ),
/* 152 */ array(13, 20, ),
/* 153 */ array(13, 20, ),
/* 154 */ array(18, ),
/* 155 */ array(18, ),
/* 156 */ array(46, ),
/* 157 */ array(18, ),
/* 158 */ array(20, ),
/* 159 */ array(14, ),
/* 160 */ array(2, ),
/* 161 */ array(20, ),
/* 162 */ array(10, ),
/* 163 */ array(),
/* 164 */ array(),
/* 165 */ array(),
/* 166 */ array(),
/* 167 */ array(),
/* 168 */ array(),
/* 169 */ array(),
/* 170 */ array(13, 20, 46, 53, ),
/* 171 */ array(46, 51, 53, 57, ),
/* 172 */ array(16, 26, 46, 53, ),
/* 173 */ array(12, 14, 15, 29, ),
/* 174 */ array(13, 20, 45, ),
/* 175 */ array(27, 46, 53, ),
/* 176 */ array(22, 30, ),
/* 177 */ array(13, 45, ),
/* 178 */ array(46, 53, ),
/* 179 */ array(23, 71, ),
/* 180 */ array(15, 54, ),
/* 181 */ array(27, 45, ),
/* 182 */ array(2, 16, ),
/* 183 */ array(15, 29, ),
/* 184 */ array(30, 57, ),
/* 185 */ array(46, 53, ),
/* 186 */ array(16, 51, ),
/* 187 */ array(15, ),
/* 188 */ array(20, ),
/* 189 */ array(13, ),
/* 190 */ array(15, ),
/* 191 */ array(15, ),
/* 192 */ array(14, ),
/* 193 */ array(26, ),
/* 194 */ array(14, ),
/* 195 */ array(26, ),
/* 196 */ array(13, ),
/* 197 */ array(47, ),
/* 198 */ array(45, ),
/* 199 */ array(20, ),
/* 200 */ array(46, ),
/* 201 */ array(2, ),
/* 202 */ array(15, ),
/* 203 */ array(14, ),
/* 204 */ array(29, ),
/* 205 */ array(14, ),
/* 206 */ array(15, ),
/* 207 */ array(14, ),
/* 208 */ array(51, ),
/* 209 */ array(55, ),
/* 210 */ array(15, ),
/* 211 */ array(15, ),
/* 212 */ array(46, ),
/* 213 */ array(57, ),
/* 214 */ array(16, ),
/* 215 */ array(47, ),
/* 216 */ array(24, ),
/* 217 */ array(48, ),
/* 218 */ array(15, ),
/* 219 */ array(16, ),
/* 220 */ array(13, ),
/* 221 */ array(23, ),
/* 222 */ array(13, ),
/* 223 */ array(55, ),
/* 224 */ array(47, ),
/* 225 */ array(),
/* 226 */ array(),
/* 227 */ array(),
/* 228 */ array(),
/* 229 */ array(),
/* 230 */ array(),
/* 231 */ array(),
/* 232 */ array(),
/* 233 */ array(),
/* 234 */ array(),
/* 235 */ array(),
/* 236 */ array(),
/* 237 */ array(),
/* 238 */ array(),
/* 239 */ array(),
/* 240 */ array(),
/* 241 */ array(),
/* 242 */ array(),
/* 243 */ array(),
/* 244 */ array(),
/* 245 */ array(),
/* 246 */ array(),
/* 247 */ array(),
/* 248 */ array(),
/* 249 */ array(),
/* 250 */ array(),
/* 251 */ array(),
/* 252 */ array(),
/* 253 */ array(),
/* 254 */ array(),
/* 255 */ array(),
/* 256 */ array(),
/* 257 */ array(),
/* 258 */ array(),
/* 259 */ array(),
/* 260 */ array(),
/* 261 */ array(),
/* 262 */ array(),
/* 263 */ array(),
/* 264 */ array(),
/* 265 */ array(),
/* 266 */ array(),
/* 267 */ array(),
/* 268 */ array(),
/* 269 */ array(),
/* 270 */ array(),
/* 271 */ array(),
/* 272 */ array(),
/* 273 */ array(),
/* 274 */ array(),
/* 275 */ array(),
/* 276 */ array(),
/* 277 */ array(),
/* 278 */ array(),
/* 279 */ array(),
/* 280 */ array(),
/* 281 */ array(),
/* 282 */ array(),
/* 283 */ array(),
/* 284 */ array(),
/* 285 */ array(),
/* 286 */ array(),
/* 287 */ array(),
/* 288 */ array(),
/* 289 */ array(),
/* 290 */ array(),
/* 291 */ array(),
/* 292 */ array(),
/* 293 */ array(),
/* 294 */ array(),
/* 295 */ array(),
/* 296 */ array(),
/* 297 */ array(),
/* 298 */ array(),
/* 299 */ array(),
/* 300 */ array(),
/* 301 */ array(),
/* 302 */ array(),
/* 303 */ array(),
/* 304 */ array(),
/* 305 */ array(),
/* 306 */ array(),
/* 307 */ array(),
/* 308 */ array(),
/* 309 */ array(),
/* 310 */ array(),
/* 311 */ array(),
/* 312 */ array(),
/* 313 */ array(),
/* 314 */ array(),
/* 315 */ array(),
/* 316 */ array(),
/* 317 */ array(),
/* 318 */ array(),
/* 319 */ array(),
/* 320 */ array(),
/* 321 */ array(),
/* 322 */ array(),
/* 323 */ array(),
/* 324 */ array(),
/* 325 */ array(),
/* 326 */ array(),
/* 327 */ array(),
/* 328 */ array(),
/* 329 */ array(),
/* 330 */ array(),
/* 331 */ array(),
/* 332 */ array(),
/* 333 */ array(),
/* 334 */ array(),
/* 335 */ array(),
/* 336 */ array(),
/* 337 */ array(),
/* 338 */ array(),
/* 339 */ array(),
/* 340 */ array(),
/* 341 */ array(),
/* 342 */ array(),
/* 343 */ array(),
/* 344 */ array(),
/* 345 */ array(),
/* 346 */ array(),
/* 347 */ array(),
/* 348 */ array(),
/* 349 */ array(),
/* 350 */ array(),
/* 351 */ array(),
/* 352 */ array(),
/* 353 */ array(),
/* 354 */ array(),
/* 355 */ array(),
/* 356 */ array(),
/* 357 */ array(),
/* 358 */ array(),
/* 359 */ array(),
/* 360 */ array(),
/* 361 */ array(),
);
static public $yy_default = array(
/* 0 */ 547, 530, 547, 547, 503, 547, 503, 547, 503, 503,
/* 10 */ 547, 547, 547, 547, 547, 547, 547, 547, 547, 547,
/* 20 */ 547, 547, 547, 547, 547, 547, 547, 547, 547, 547,
/* 30 */ 547, 547, 547, 547, 547, 547, 547, 547, 547, 547,
/* 40 */ 547, 547, 547, 547, 547, 547, 547, 547, 547, 420,
/* 50 */ 547, 547, 420, 420, 547, 547, 547, 547, 547, 547,
/* 60 */ 547, 547, 502, 547, 547, 547, 547, 547, 533, 453,
/* 70 */ 442, 449, 422, 426, 532, 440, 441, 429, 445, 531,
/* 80 */ 437, 446, 450, 402, 362, 547, 461, 547, 509, 547,
/* 90 */ 420, 420, 420, 420, 547, 547, 547, 476, 430, 454,
/* 100 */ 476, 469, 454, 547, 469, 547, 547, 547, 547, 547,
/* 110 */ 547, 547, 547, 547, 547, 547, 547, 547, 420, 469,
/* 120 */ 547, 420, 420, 506, 420, 547, 547, 547, 547, 547,
/* 130 */ 477, 547, 547, 547, 547, 547, 547, 547, 547, 547,
/* 140 */ 496, 495, 547, 493, 476, 547, 547, 547, 494, 547,
/* 150 */ 547, 474, 547, 547, 510, 490, 476, 507, 546, 547,
/* 160 */ 436, 546, 376, 476, 512, 512, 512, 476, 476, 512,
/* 170 */ 461, 461, 425, 547, 430, 461, 547, 430, 461, 454,
/* 180 */ 547, 430, 488, 547, 547, 451, 459, 547, 547, 547,
/* 190 */ 547, 547, 547, 547, 547, 547, 547, 547, 430, 547,
/* 200 */ 508, 488, 547, 547, 547, 547, 547, 547, 459, 547,
/* 210 */ 547, 547, 488, 547, 425, 547, 427, 463, 547, 547,
/* 220 */ 547, 454, 547, 547, 547, 417, 528, 539, 418, 383,
/* 230 */ 363, 538, 365, 382, 380, 527, 424, 537, 544, 364,
/* 240 */ 540, 543, 381, 529, 377, 413, 412, 463, 369, 414,
/* 250 */ 482, 483, 485, 411, 489, 481, 498, 452, 367, 368,
/* 260 */ 479, 480, 484, 473, 366, 374, 373, 375, 378, 501,
/* 270 */ 500, 514, 536, 497, 499, 472, 370, 513, 372, 371,
/* 280 */ 379, 456, 443, 390, 439, 438, 389, 444, 387, 447,
/* 290 */ 388, 492, 471, 491, 467, 393, 392, 434, 486, 468,
/* 300 */ 391, 448, 386, 526, 435, 519, 525, 524, 521, 522,
/* 310 */ 523, 518, 517, 385, 542, 504, 505, 515, 516, 384,
/* 320 */ 541, 395, 465, 458, 401, 511, 455, 520, 400, 460,
/* 330 */ 457, 419, 403, 410, 405, 534, 404, 415, 545, 428,
/* 340 */ 416, 399, 466, 432, 488, 397, 398, 462, 464, 396,
/* 350 */ 433, 487, 478, 431, 408, 409, 407, 470, 394, 475,
/* 360 */ 406, 535,
);
const YYNOCODE = 116;
const YYSTACKDEPTH = 100;
const YYNSTATE = 362;
const YYNRULE = 185;
const YYERRORSYMBOL = 73;
const YYERRSYMDT = 'yy0';
const YYFALLBACK = 0;
static public $yyFallback = array(
);
static function Trace($TraceFILE, $zTracePrompt)
{
if (!$TraceFILE) {
$zTracePrompt = 0;
} elseif (!$zTracePrompt) {
$TraceFILE = 0;
}
self::$yyTraceFILE = $TraceFILE;
self::$yyTracePrompt = $zTracePrompt;
}
static function PrintTrace()
{
self::$yyTraceFILE = fopen('php://output', 'w');
self::$yyTracePrompt = '<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', 'FAKEPHPSTARTTAG', 'XMLTAG',
'OTHER', 'LITERALSTART', 'LITERALEND', 'LITERAL',
'LDEL', 'RDEL', 'DOLLAR', 'ID',
'EQUAL', 'FOREACH', 'PTR', 'IF',
'SPACE', 'FOR', 'SEMICOLON', 'INCDEC',
'TO', 'STEP', 'AS', 'APTR',
'LDELSLASH', 'INTEGER', 'COMMA', 'MATH',
'UNIMATH', 'ANDSYM', 'ISIN', 'ISDIVBY',
'ISNOTDIVBY', 'ISEVEN', 'ISNOTEVEN', 'ISEVENBY',
'ISNOTEVENBY', 'ISODD', 'ISNOTODD', 'ISODDBY',
'ISNOTODDBY', 'INSTANCEOF', 'OPENP', 'CLOSEP',
'QMARK', 'NOT', 'TYPECAST', 'DOT',
'SINGLEQUOTESTRING', 'DOUBLECOLON', 'AT', 'HATCH',
'OPENB', 'CLOSEB', 'EQUALS', 'NOTEQUALS',
'GREATERTHAN', 'LESSTHAN', 'GREATEREQUAL', 'LESSEQUAL',
'IDENTITY', 'NONEIDENTITY', 'MOD', 'LAND',
'LOR', 'LXOR', 'QUOTE', 'BACKTICK',
'DOLLARID', 'error', 'start', 'template',
'template_element', 'smartytag', 'literal', 'literal_elements',
'literal_element', 'value', 'attributes', 'variable',
'expr', 'ternary', 'varindexed', 'modifier',
'modparameters', 'statement', 'statements', 'optspace',
'varvar', 'foraction', 'array', 'specialclose',
'attribute', 'ifcond', 'lop', 'function',
'doublequoted_with_quotes', 'static_class_access', 'object', 'arrayindex',
'indexdef', 'varvarele', 'objectchain', 'objectelement',
'method', 'params', 'modparameter', 'arrayelements',
'arrayelement', 'doublequoted', 'doublequotedcontent',
);
static public $yyRuleName = array(
/* 0 */ "start ::= template",
/* 1 */ "template ::= template_element",
/* 2 */ "template ::= template template_element",
/* 3 */ "template_element ::= smartytag",
/* 4 */ "template_element ::= COMMENT",
/* 5 */ "template_element ::= literal",
/* 6 */ "template_element ::= PHPSTARTTAG",
/* 7 */ "template_element ::= PHPENDTAG",
/* 8 */ "template_element ::= FAKEPHPSTARTTAG",
/* 9 */ "template_element ::= XMLTAG",
/* 10 */ "template_element ::= OTHER",
/* 11 */ "literal ::= LITERALSTART LITERALEND",
/* 12 */ "literal ::= LITERALSTART literal_elements LITERALEND",
/* 13 */ "literal_elements ::= literal_elements literal_element",
/* 14 */ "literal_elements ::=",
/* 15 */ "literal_element ::= literal",
/* 16 */ "literal_element ::= LITERAL",
/* 17 */ "literal_element ::= PHPSTARTTAG",
/* 18 */ "literal_element ::= FAKEPHPSTARTTAG",
/* 19 */ "literal_element ::= PHPENDTAG",
/* 20 */ "smartytag ::= LDEL value RDEL",
/* 21 */ "smartytag ::= LDEL value attributes RDEL",
/* 22 */ "smartytag ::= LDEL variable attributes RDEL",
/* 23 */ "smartytag ::= LDEL expr attributes RDEL",
/* 24 */ "smartytag ::= LDEL ternary attributes RDEL",
/* 25 */ "smartytag ::= LDEL DOLLAR ID EQUAL value RDEL",
/* 26 */ "smartytag ::= LDEL DOLLAR ID EQUAL expr RDEL",
/* 27 */ "smartytag ::= LDEL DOLLAR ID EQUAL expr attributes RDEL",
/* 28 */ "smartytag ::= LDEL DOLLAR ID EQUAL ternary attributes RDEL",
/* 29 */ "smartytag ::= LDEL varindexed EQUAL expr attributes RDEL",
/* 30 */ "smartytag ::= LDEL varindexed EQUAL ternary attributes RDEL",
/* 31 */ "smartytag ::= LDEL ID attributes RDEL",
/* 32 */ "smartytag ::= LDEL FOREACH attributes RDEL",
/* 33 */ "smartytag ::= LDEL ID RDEL",
/* 34 */ "smartytag ::= LDEL ID PTR ID attributes RDEL",
/* 35 */ "smartytag ::= LDEL ID modifier modparameters attributes RDEL",
/* 36 */ "smartytag ::= LDEL ID PTR ID modifier modparameters attributes RDEL",
/* 37 */ "smartytag ::= LDEL IF SPACE expr RDEL",
/* 38 */ "smartytag ::= LDEL IF SPACE statement RDEL",
/* 39 */ "smartytag ::= LDEL FOR SPACE statements SEMICOLON optspace expr SEMICOLON optspace DOLLAR varvar foraction RDEL",
/* 40 */ "foraction ::= EQUAL expr",
/* 41 */ "foraction ::= INCDEC",
/* 42 */ "smartytag ::= LDEL FOR SPACE statement TO expr attributes RDEL",
/* 43 */ "smartytag ::= LDEL FOR SPACE statement TO expr STEP expr RDEL",
/* 44 */ "smartytag ::= LDEL FOREACH SPACE value AS DOLLAR varvar RDEL",
/* 45 */ "smartytag ::= LDEL FOREACH SPACE value AS DOLLAR varvar APTR DOLLAR varvar RDEL",
/* 46 */ "smartytag ::= LDEL FOREACH SPACE array AS DOLLAR varvar RDEL",
/* 47 */ "smartytag ::= LDEL FOREACH SPACE array AS DOLLAR varvar APTR DOLLAR varvar RDEL",
/* 48 */ "smartytag ::= LDELSLASH ID RDEL",
/* 49 */ "smartytag ::= LDELSLASH specialclose RDEL",
/* 50 */ "specialclose ::= IF",
/* 51 */ "specialclose ::= FOR",
/* 52 */ "specialclose ::= FOREACH",
/* 53 */ "smartytag ::= LDELSLASH ID attributes RDEL",
/* 54 */ "smartytag ::= LDELSLASH ID modifier modparameters attributes RDEL",
/* 55 */ "smartytag ::= LDELSLASH ID PTR ID RDEL",
/* 56 */ "attributes ::= attributes attribute",
/* 57 */ "attributes ::= attribute",
/* 58 */ "attributes ::=",
/* 59 */ "attribute ::= SPACE ID EQUAL ID",
/* 60 */ "attribute ::= SPACE ID EQUAL expr",
/* 61 */ "attribute ::= SPACE ID EQUAL value",
/* 62 */ "attribute ::= SPACE ID EQUAL ternary",
/* 63 */ "attribute ::= SPACE ID",
/* 64 */ "attribute ::= SPACE INTEGER EQUAL expr",
/* 65 */ "statements ::= statement",
/* 66 */ "statements ::= statements COMMA statement",
/* 67 */ "statement ::= DOLLAR varvar EQUAL expr",
/* 68 */ "expr ::= value",
/* 69 */ "expr ::= DOLLAR ID COLON ID",
/* 70 */ "expr ::= expr MATH value",
/* 71 */ "expr ::= expr UNIMATH value",
/* 72 */ "expr ::= expr ANDSYM value",
/* 73 */ "expr ::= array",
/* 74 */ "expr ::= expr modifier modparameters",
/* 75 */ "expr ::= expr ifcond expr",
/* 76 */ "expr ::= expr ISIN array",
/* 77 */ "expr ::= expr ISIN value",
/* 78 */ "expr ::= expr lop expr",
/* 79 */ "expr ::= expr ISDIVBY expr",
/* 80 */ "expr ::= expr ISNOTDIVBY expr",
/* 81 */ "expr ::= expr ISEVEN",
/* 82 */ "expr ::= expr ISNOTEVEN",
/* 83 */ "expr ::= expr ISEVENBY expr",
/* 84 */ "expr ::= expr ISNOTEVENBY expr",
/* 85 */ "expr ::= expr ISODD",
/* 86 */ "expr ::= expr ISNOTODD",
/* 87 */ "expr ::= expr ISODDBY expr",
/* 88 */ "expr ::= expr ISNOTODDBY expr",
/* 89 */ "expr ::= value INSTANCEOF ID",
/* 90 */ "expr ::= value INSTANCEOF value",
/* 91 */ "ternary ::= OPENP expr CLOSEP QMARK expr COLON expr",
/* 92 */ "value ::= variable",
/* 93 */ "value ::= UNIMATH value",
/* 94 */ "value ::= NOT value",
/* 95 */ "value ::= TYPECAST value",
/* 96 */ "value ::= variable INCDEC",
/* 97 */ "value ::= INTEGER",
/* 98 */ "value ::= INTEGER DOT INTEGER",
/* 99 */ "value ::= ID",
/* 100 */ "value ::= function",
/* 101 */ "value ::= OPENP expr CLOSEP",
/* 102 */ "value ::= SINGLEQUOTESTRING",
/* 103 */ "value ::= doublequoted_with_quotes",
/* 104 */ "value ::= ID DOUBLECOLON static_class_access",
/* 105 */ "value ::= varindexed DOUBLECOLON static_class_access",
/* 106 */ "value ::= smartytag",
/* 107 */ "variable ::= varindexed",
/* 108 */ "variable ::= DOLLAR varvar AT ID",
/* 109 */ "variable ::= object",
/* 110 */ "variable ::= HATCH ID HATCH",
/* 111 */ "variable ::= HATCH variable HATCH",
/* 112 */ "varindexed ::= DOLLAR varvar arrayindex",
/* 113 */ "arrayindex ::= arrayindex indexdef",
/* 114 */ "arrayindex ::=",
/* 115 */ "indexdef ::= DOT DOLLAR varvar",
/* 116 */ "indexdef ::= DOT DOLLAR varvar AT ID",
/* 117 */ "indexdef ::= DOT ID",
/* 118 */ "indexdef ::= DOT INTEGER",
/* 119 */ "indexdef ::= DOT LDEL expr RDEL",
/* 120 */ "indexdef ::= OPENB ID CLOSEB",
/* 121 */ "indexdef ::= OPENB ID DOT ID CLOSEB",
/* 122 */ "indexdef ::= OPENB expr CLOSEB",
/* 123 */ "indexdef ::= OPENB CLOSEB",
/* 124 */ "varvar ::= varvarele",
/* 125 */ "varvar ::= varvar varvarele",
/* 126 */ "varvarele ::= ID",
/* 127 */ "varvarele ::= LDEL expr RDEL",
/* 128 */ "object ::= varindexed objectchain",
/* 129 */ "objectchain ::= objectelement",
/* 130 */ "objectchain ::= objectchain objectelement",
/* 131 */ "objectelement ::= PTR ID arrayindex",
/* 132 */ "objectelement ::= PTR variable arrayindex",
/* 133 */ "objectelement ::= PTR LDEL expr RDEL arrayindex",
/* 134 */ "objectelement ::= PTR ID LDEL expr RDEL arrayindex",
/* 135 */ "objectelement ::= PTR method",
/* 136 */ "function ::= ID OPENP params CLOSEP",
/* 137 */ "method ::= ID OPENP params CLOSEP",
/* 138 */ "method ::= DOLLAR ID OPENP params CLOSEP",
/* 139 */ "params ::= expr COMMA params",
/* 140 */ "params ::= expr",
/* 141 */ "params ::=",
/* 142 */ "modifier ::= VERT AT ID",
/* 143 */ "modifier ::= VERT ID",
/* 144 */ "static_class_access ::= method",
/* 145 */ "static_class_access ::= method objectchain",
/* 146 */ "static_class_access ::= ID",
/* 147 */ "static_class_access ::= DOLLAR ID arrayindex",
/* 148 */ "static_class_access ::= DOLLAR ID arrayindex objectchain",
/* 149 */ "modparameters ::= modparameters modparameter",
/* 150 */ "modparameters ::=",
/* 151 */ "modparameter ::= COLON value",
/* 152 */ "modparameter ::= COLON array",
/* 153 */ "ifcond ::= EQUALS",
/* 154 */ "ifcond ::= NOTEQUALS",
/* 155 */ "ifcond ::= GREATERTHAN",
/* 156 */ "ifcond ::= LESSTHAN",
/* 157 */ "ifcond ::= GREATEREQUAL",
/* 158 */ "ifcond ::= LESSEQUAL",
/* 159 */ "ifcond ::= IDENTITY",
/* 160 */ "ifcond ::= NONEIDENTITY",
/* 161 */ "ifcond ::= MOD",
/* 162 */ "lop ::= LAND",
/* 163 */ "lop ::= LOR",
/* 164 */ "lop ::= LXOR",
/* 165 */ "array ::= OPENB arrayelements CLOSEB",
/* 166 */ "arrayelements ::= arrayelement",
/* 167 */ "arrayelements ::= arrayelements COMMA arrayelement",
/* 168 */ "arrayelements ::=",
/* 169 */ "arrayelement ::= value APTR expr",
/* 170 */ "arrayelement ::= ID APTR expr",
/* 171 */ "arrayelement ::= expr",
/* 172 */ "doublequoted_with_quotes ::= QUOTE QUOTE",
/* 173 */ "doublequoted_with_quotes ::= QUOTE doublequoted QUOTE",
/* 174 */ "doublequoted ::= doublequoted doublequotedcontent",
/* 175 */ "doublequoted ::= doublequotedcontent",
/* 176 */ "doublequotedcontent ::= BACKTICK variable BACKTICK",
/* 177 */ "doublequotedcontent ::= BACKTICK expr BACKTICK",
/* 178 */ "doublequotedcontent ::= DOLLARID",
/* 179 */ "doublequotedcontent ::= LDEL variable RDEL",
/* 180 */ "doublequotedcontent ::= LDEL expr RDEL",
/* 181 */ "doublequotedcontent ::= smartytag",
/* 182 */ "doublequotedcontent ::= OTHER",
/* 183 */ "optspace ::= SPACE",
/* 184 */ "optspace ::=",
);
function tokenName($tokenType)
{
if ($tokenType === 0) {
return 'End of Input';
}
if ($tokenType > 0 && $tokenType < count($this->yyTokenName)) {
return $this->yyTokenName[$tokenType];
} else {
return "Unknown";
}
}
static function yy_destructor($yymajor, $yypminor)
{
switch ($yymajor) {
default: break; /* If no destructor action specified: do nothing */
}
}
function yy_pop_parser_stack()
{
if (!count($this->yystack)) {
return;
}
$yytos = array_pop($this->yystack);
if (self::$yyTraceFILE && $this->yyidx >= 0) {
fwrite(self::$yyTraceFILE,
self::$yyTracePrompt . 'Popping ' . $this->yyTokenName[$yytos->major] .
"\n");
}
$yymajor = $yytos->major;
self::yy_destructor($yymajor, $yytos->minor);
$this->yyidx--;
return $yymajor;
}
function __destruct()
{
while ($this->yystack !== Array()) {
$this->yy_pop_parser_stack();
}
if (is_resource(self::$yyTraceFILE)) {
fclose(self::$yyTraceFILE);
}
}
function yy_get_expected_tokens($token)
{
$state = $this->yystack[$this->yyidx]->stateno;
$expected = self::$yyExpectedTokens[$state];
if (in_array($token, self::$yyExpectedTokens[$state], true)) {
return $expected;
}
$stack = $this->yystack;
$yyidx = $this->yyidx;
do {
$yyact = $this->yy_find_shift_action($token);
if ($yyact >= self::YYNSTATE && $yyact < self::YYNSTATE + self::YYNRULE) {
// reduce action
$done = 0;
do {
if ($done++ == 100) {
$this->yyidx = $yyidx;
$this->yystack = $stack;
// too much recursion prevents proper detection
// so give up
return array_unique($expected);
}
$yyruleno = $yyact - self::YYNSTATE;
$this->yyidx -= self::$yyRuleInfo[$yyruleno]['rhs'];
$nextstate = $this->yy_find_reduce_action(
$this->yystack[$this->yyidx]->stateno,
self::$yyRuleInfo[$yyruleno]['lhs']);
if (isset(self::$yyExpectedTokens[$nextstate])) {
$expected = array_merge($expected, self::$yyExpectedTokens[$nextstate]);
if (in_array($token,
self::$yyExpectedTokens[$nextstate], true)) {
$this->yyidx = $yyidx;
$this->yystack = $stack;
return array_unique($expected);
}
}
if ($nextstate < self::YYNSTATE) {
// we need to shift a non-terminal
$this->yyidx++;
$x = new TP_yyStackEntry;
$x->stateno = $nextstate;
$x->major = self::$yyRuleInfo[$yyruleno]['lhs'];
$this->yystack[$this->yyidx] = $x;
continue 2;
} elseif ($nextstate == self::YYNSTATE + self::YYNRULE + 1) {
$this->yyidx = $yyidx;
$this->yystack = $stack;
// the last token was just ignored, we can't accept
// by ignoring input, this is in essence ignoring a
// syntax error!
return array_unique($expected);
} elseif ($nextstate === self::YY_NO_ACTION) {
$this->yyidx = $yyidx;
$this->yystack = $stack;
// input accepted, but not shifted (I guess)
return $expected;
} else {
$yyact = $nextstate;
}
} while (true);
}
break;
} while (true);
$this->yyidx = $yyidx;
$this->yystack = $stack;
return array_unique($expected);
}
function yy_is_expected_token($token)
{
if ($token === 0) {
return true; // 0 is not part of this
}
$state = $this->yystack[$this->yyidx]->stateno;
if (in_array($token, self::$yyExpectedTokens[$state], true)) {
return true;
}
$stack = $this->yystack;
$yyidx = $this->yyidx;
do {
$yyact = $this->yy_find_shift_action($token);
if ($yyact >= self::YYNSTATE && $yyact < self::YYNSTATE + self::YYNRULE) {
// reduce action
$done = 0;
do {
if ($done++ == 100) {
$this->yyidx = $yyidx;
$this->yystack = $stack;
// too much recursion prevents proper detection
// so give up
return true;
}
$yyruleno = $yyact - self::YYNSTATE;
$this->yyidx -= self::$yyRuleInfo[$yyruleno]['rhs'];
$nextstate = $this->yy_find_reduce_action(
$this->yystack[$this->yyidx]->stateno,
self::$yyRuleInfo[$yyruleno]['lhs']);
if (isset(self::$yyExpectedTokens[$nextstate]) &&
in_array($token, self::$yyExpectedTokens[$nextstate], true)) {
$this->yyidx = $yyidx;
$this->yystack = $stack;
return true;
}
if ($nextstate < self::YYNSTATE) {
// we need to shift a non-terminal
$this->yyidx++;
$x = new TP_yyStackEntry;
$x->stateno = $nextstate;
$x->major = self::$yyRuleInfo[$yyruleno]['lhs'];
$this->yystack[$this->yyidx] = $x;
continue 2;
} elseif ($nextstate == self::YYNSTATE + self::YYNRULE + 1) {
$this->yyidx = $yyidx;
$this->yystack = $stack;
if (!$token) {
// end of input: this is valid
return true;
}
// the last token was just ignored, we can't accept
// by ignoring input, this is in essence ignoring a
// syntax error!
return false;
} elseif ($nextstate === self::YY_NO_ACTION) {
$this->yyidx = $yyidx;
$this->yystack = $stack;
// input accepted, but not shifted (I guess)
return true;
} else {
$yyact = $nextstate;
}
} while (true);
}
break;
} while (true);
$this->yyidx = $yyidx;
$this->yystack = $stack;
return true;
}
2009-12-05 15:10:47 +00:00
function yy_find_shift_action($iLookAhead)
{
$stateno = $this->yystack[$this->yyidx]->stateno;
/* if ($this->yyidx < 0) return self::YY_NO_ACTION; */
if (!isset(self::$yy_shift_ofst[$stateno])) {
// no shift actions
return self::$yy_default[$stateno];
}
$i = self::$yy_shift_ofst[$stateno];
if ($i === self::YY_SHIFT_USE_DFLT) {
return self::$yy_default[$stateno];
}
if ($iLookAhead == self::YYNOCODE) {
return self::YY_NO_ACTION;
}
$i += $iLookAhead;
if ($i < 0 || $i >= self::YY_SZ_ACTTAB ||
self::$yy_lookahead[$i] != $iLookAhead) {
if (count(self::$yyFallback) && $iLookAhead < count(self::$yyFallback)
&& ($iFallback = self::$yyFallback[$iLookAhead]) != 0) {
if (self::$yyTraceFILE) {
fwrite(self::$yyTraceFILE, self::$yyTracePrompt . "FALLBACK " .
$this->yyTokenName[$iLookAhead] . " => " .
$this->yyTokenName[$iFallback] . "\n");
}
return $this->yy_find_shift_action($iFallback);
}
return self::$yy_default[$stateno];
} else {
return self::$yy_action[$i];
}
}
function yy_find_reduce_action($stateno, $iLookAhead)
{
/* $stateno = $this->yystack[$this->yyidx]->stateno; */
if (!isset(self::$yy_reduce_ofst[$stateno])) {
return self::$yy_default[$stateno];
}
$i = self::$yy_reduce_ofst[$stateno];
if ($i == self::YY_REDUCE_USE_DFLT) {
return self::$yy_default[$stateno];
}
if ($iLookAhead == self::YYNOCODE) {
return self::YY_NO_ACTION;
}
$i += $iLookAhead;
if ($i < 0 || $i >= self::YY_SZ_ACTTAB ||
self::$yy_lookahead[$i] != $iLookAhead) {
return self::$yy_default[$stateno];
} else {
return self::$yy_action[$i];
}
}
function yy_shift($yyNewState, $yyMajor, $yypMinor)
{
$this->yyidx++;
if ($this->yyidx >= self::YYSTACKDEPTH) {
$this->yyidx--;
if (self::$yyTraceFILE) {
fprintf(self::$yyTraceFILE, "%sStack Overflow!\n", self::$yyTracePrompt);
}
while ($this->yyidx >= 0) {
$this->yy_pop_parser_stack();
}
#line 80 "smarty_internal_templateparser.y"
$this->internalError = true;
$this->compiler->trigger_template_error("Stack overflow in template parser");
#line 1532 "smarty_internal_templateparser.php"
return;
}
$yytos = new TP_yyStackEntry;
$yytos->stateno = $yyNewState;
$yytos->major = $yyMajor;
$yytos->minor = $yypMinor;
array_push($this->yystack, $yytos);
if (self::$yyTraceFILE && $this->yyidx > 0) {
fprintf(self::$yyTraceFILE, "%sShift %d\n", self::$yyTracePrompt,
$yyNewState);
fprintf(self::$yyTraceFILE, "%sStack:", self::$yyTracePrompt);
for($i = 1; $i <= $this->yyidx; $i++) {
fprintf(self::$yyTraceFILE, " %s",
$this->yyTokenName[$this->yystack[$i]->major]);
}
fwrite(self::$yyTraceFILE,"\n");
}
}
static public $yyRuleInfo = array(
array( 'lhs' => 74, 'rhs' => 1 ),
array( 'lhs' => 75, 'rhs' => 1 ),
array( 'lhs' => 75, 'rhs' => 2 ),
array( 'lhs' => 76, 'rhs' => 1 ),
array( 'lhs' => 76, 'rhs' => 1 ),
array( 'lhs' => 76, 'rhs' => 1 ),
array( 'lhs' => 76, 'rhs' => 1 ),
array( 'lhs' => 76, 'rhs' => 1 ),
array( 'lhs' => 76, 'rhs' => 1 ),
array( 'lhs' => 76, 'rhs' => 1 ),
array( 'lhs' => 76, 'rhs' => 1 ),
array( 'lhs' => 78, 'rhs' => 2 ),
array( 'lhs' => 78, 'rhs' => 3 ),
array( 'lhs' => 79, 'rhs' => 2 ),
array( 'lhs' => 79, 'rhs' => 0 ),
array( 'lhs' => 80, 'rhs' => 1 ),
array( 'lhs' => 80, 'rhs' => 1 ),
array( 'lhs' => 80, 'rhs' => 1 ),
array( 'lhs' => 80, 'rhs' => 1 ),
array( 'lhs' => 80, 'rhs' => 1 ),
array( 'lhs' => 77, 'rhs' => 3 ),
array( 'lhs' => 77, 'rhs' => 4 ),
array( 'lhs' => 77, 'rhs' => 4 ),
array( 'lhs' => 77, 'rhs' => 4 ),
array( 'lhs' => 77, 'rhs' => 4 ),
array( 'lhs' => 77, 'rhs' => 6 ),
array( 'lhs' => 77, 'rhs' => 6 ),
array( 'lhs' => 77, 'rhs' => 7 ),
array( 'lhs' => 77, 'rhs' => 7 ),
array( 'lhs' => 77, 'rhs' => 6 ),
array( 'lhs' => 77, 'rhs' => 6 ),
array( 'lhs' => 77, 'rhs' => 4 ),
array( 'lhs' => 77, 'rhs' => 4 ),
array( 'lhs' => 77, 'rhs' => 3 ),
array( 'lhs' => 77, 'rhs' => 6 ),
array( 'lhs' => 77, 'rhs' => 6 ),
array( 'lhs' => 77, 'rhs' => 8 ),
array( 'lhs' => 77, 'rhs' => 5 ),
array( 'lhs' => 77, 'rhs' => 5 ),
array( 'lhs' => 77, 'rhs' => 13 ),
array( 'lhs' => 93, 'rhs' => 2 ),
array( 'lhs' => 93, 'rhs' => 1 ),
array( 'lhs' => 77, 'rhs' => 8 ),
array( 'lhs' => 77, 'rhs' => 9 ),
array( 'lhs' => 77, 'rhs' => 8 ),
array( 'lhs' => 77, 'rhs' => 11 ),
array( 'lhs' => 77, 'rhs' => 8 ),
array( 'lhs' => 77, 'rhs' => 11 ),
array( 'lhs' => 77, 'rhs' => 3 ),
array( 'lhs' => 77, 'rhs' => 3 ),
array( 'lhs' => 95, 'rhs' => 1 ),
array( 'lhs' => 95, 'rhs' => 1 ),
array( 'lhs' => 95, 'rhs' => 1 ),
array( 'lhs' => 77, 'rhs' => 4 ),
array( 'lhs' => 77, 'rhs' => 6 ),
array( 'lhs' => 77, 'rhs' => 5 ),
array( 'lhs' => 82, 'rhs' => 2 ),
array( 'lhs' => 82, 'rhs' => 1 ),
array( 'lhs' => 82, 'rhs' => 0 ),
array( 'lhs' => 96, 'rhs' => 4 ),
array( 'lhs' => 96, 'rhs' => 4 ),
array( 'lhs' => 96, 'rhs' => 4 ),
array( 'lhs' => 96, 'rhs' => 4 ),
array( 'lhs' => 96, 'rhs' => 2 ),
array( 'lhs' => 96, 'rhs' => 4 ),
array( 'lhs' => 90, 'rhs' => 1 ),
array( 'lhs' => 90, 'rhs' => 3 ),
array( 'lhs' => 89, 'rhs' => 4 ),
array( 'lhs' => 84, 'rhs' => 1 ),
array( 'lhs' => 84, 'rhs' => 4 ),
array( 'lhs' => 84, 'rhs' => 3 ),
array( 'lhs' => 84, 'rhs' => 3 ),
array( 'lhs' => 84, 'rhs' => 3 ),
array( 'lhs' => 84, 'rhs' => 1 ),
array( 'lhs' => 84, 'rhs' => 3 ),
array( 'lhs' => 84, 'rhs' => 3 ),
array( 'lhs' => 84, 'rhs' => 3 ),
array( 'lhs' => 84, 'rhs' => 3 ),
array( 'lhs' => 84, 'rhs' => 3 ),
array( 'lhs' => 84, 'rhs' => 3 ),
array( 'lhs' => 84, 'rhs' => 3 ),
array( 'lhs' => 84, 'rhs' => 2 ),
array( 'lhs' => 84, 'rhs' => 2 ),
array( 'lhs' => 84, 'rhs' => 3 ),
array( 'lhs' => 84, 'rhs' => 3 ),
array( 'lhs' => 84, 'rhs' => 2 ),
array( 'lhs' => 84, 'rhs' => 2 ),
array( 'lhs' => 84, 'rhs' => 3 ),
array( 'lhs' => 84, 'rhs' => 3 ),
array( 'lhs' => 84, 'rhs' => 3 ),
array( 'lhs' => 84, 'rhs' => 3 ),
array( 'lhs' => 85, 'rhs' => 7 ),
array( 'lhs' => 81, 'rhs' => 1 ),
array( 'lhs' => 81, 'rhs' => 2 ),
array( 'lhs' => 81, 'rhs' => 2 ),
array( 'lhs' => 81, 'rhs' => 2 ),
array( 'lhs' => 81, 'rhs' => 2 ),
array( 'lhs' => 81, 'rhs' => 1 ),
array( 'lhs' => 81, 'rhs' => 3 ),
array( 'lhs' => 81, 'rhs' => 1 ),
array( 'lhs' => 81, 'rhs' => 1 ),
array( 'lhs' => 81, 'rhs' => 3 ),
array( 'lhs' => 81, 'rhs' => 1 ),
array( 'lhs' => 81, 'rhs' => 1 ),
array( 'lhs' => 81, 'rhs' => 3 ),
array( 'lhs' => 81, 'rhs' => 3 ),
array( 'lhs' => 81, 'rhs' => 1 ),
array( 'lhs' => 83, 'rhs' => 1 ),
array( 'lhs' => 83, 'rhs' => 4 ),
array( 'lhs' => 83, 'rhs' => 1 ),
array( 'lhs' => 83, 'rhs' => 3 ),
array( 'lhs' => 83, 'rhs' => 3 ),
array( 'lhs' => 86, 'rhs' => 3 ),
array( 'lhs' => 103, 'rhs' => 2 ),
array( 'lhs' => 103, 'rhs' => 0 ),
array( 'lhs' => 104, 'rhs' => 3 ),
array( 'lhs' => 104, 'rhs' => 5 ),
array( 'lhs' => 104, 'rhs' => 2 ),
array( 'lhs' => 104, 'rhs' => 2 ),
array( 'lhs' => 104, 'rhs' => 4 ),
array( 'lhs' => 104, 'rhs' => 3 ),
array( 'lhs' => 104, 'rhs' => 5 ),
array( 'lhs' => 104, 'rhs' => 3 ),
array( 'lhs' => 104, 'rhs' => 2 ),
array( 'lhs' => 92, 'rhs' => 1 ),
array( 'lhs' => 92, 'rhs' => 2 ),
array( 'lhs' => 105, 'rhs' => 1 ),
array( 'lhs' => 105, 'rhs' => 3 ),
array( 'lhs' => 102, 'rhs' => 2 ),
array( 'lhs' => 106, 'rhs' => 1 ),
array( 'lhs' => 106, 'rhs' => 2 ),
array( 'lhs' => 107, 'rhs' => 3 ),
array( 'lhs' => 107, 'rhs' => 3 ),
array( 'lhs' => 107, 'rhs' => 5 ),
array( 'lhs' => 107, 'rhs' => 6 ),
array( 'lhs' => 107, 'rhs' => 2 ),
array( 'lhs' => 99, 'rhs' => 4 ),
array( 'lhs' => 108, 'rhs' => 4 ),
array( 'lhs' => 108, 'rhs' => 5 ),
array( 'lhs' => 109, 'rhs' => 3 ),
array( 'lhs' => 109, 'rhs' => 1 ),
array( 'lhs' => 109, 'rhs' => 0 ),
array( 'lhs' => 87, 'rhs' => 3 ),
array( 'lhs' => 87, 'rhs' => 2 ),
array( 'lhs' => 101, 'rhs' => 1 ),
array( 'lhs' => 101, 'rhs' => 2 ),
array( 'lhs' => 101, 'rhs' => 1 ),
array( 'lhs' => 101, 'rhs' => 3 ),
array( 'lhs' => 101, 'rhs' => 4 ),
array( 'lhs' => 88, 'rhs' => 2 ),
array( 'lhs' => 88, 'rhs' => 0 ),
array( 'lhs' => 110, 'rhs' => 2 ),
array( 'lhs' => 110, 'rhs' => 2 ),
array( 'lhs' => 97, 'rhs' => 1 ),
array( 'lhs' => 97, 'rhs' => 1 ),
array( 'lhs' => 97, 'rhs' => 1 ),
array( 'lhs' => 97, 'rhs' => 1 ),
array( 'lhs' => 97, 'rhs' => 1 ),
array( 'lhs' => 97, 'rhs' => 1 ),
array( 'lhs' => 97, 'rhs' => 1 ),
array( 'lhs' => 97, 'rhs' => 1 ),
array( 'lhs' => 97, 'rhs' => 1 ),
array( 'lhs' => 98, 'rhs' => 1 ),
array( 'lhs' => 98, 'rhs' => 1 ),
array( 'lhs' => 98, 'rhs' => 1 ),
array( 'lhs' => 94, 'rhs' => 3 ),
array( 'lhs' => 111, 'rhs' => 1 ),
array( 'lhs' => 111, 'rhs' => 3 ),
array( 'lhs' => 111, 'rhs' => 0 ),
array( 'lhs' => 112, 'rhs' => 3 ),
array( 'lhs' => 112, 'rhs' => 3 ),
array( 'lhs' => 112, 'rhs' => 1 ),
array( 'lhs' => 100, 'rhs' => 2 ),
array( 'lhs' => 100, 'rhs' => 3 ),
array( 'lhs' => 113, 'rhs' => 2 ),
array( 'lhs' => 113, 'rhs' => 1 ),
array( 'lhs' => 114, 'rhs' => 3 ),
array( 'lhs' => 114, 'rhs' => 3 ),
array( 'lhs' => 114, 'rhs' => 1 ),
array( 'lhs' => 114, 'rhs' => 3 ),
array( 'lhs' => 114, 'rhs' => 3 ),
array( 'lhs' => 114, 'rhs' => 1 ),
array( 'lhs' => 114, 'rhs' => 1 ),
array( 'lhs' => 91, 'rhs' => 1 ),
array( 'lhs' => 91, 'rhs' => 0 ),
);
static public $yyReduceMap = array(
0 => 0,
5 => 0,
15 => 0,
16 => 0,
50 => 0,
51 => 0,
52 => 0,
68 => 0,
92 => 0,
97 => 0,
100 => 0,
102 => 0,
103 => 0,
109 => 0,
144 => 0,
166 => 0,
1 => 1,
2 => 2,
3 => 3,
4 => 4,
6 => 6,
7 => 7,
8 => 8,
9 => 9,
10 => 10,
11 => 11,
14 => 11,
12 => 12,
13 => 13,
93 => 13,
95 => 13,
96 => 13,
145 => 13,
17 => 17,
18 => 17,
19 => 19,
20 => 20,
21 => 21,
22 => 21,
23 => 21,
24 => 21,
25 => 25,
26 => 25,
27 => 27,
28 => 27,
29 => 29,
30 => 29,
31 => 31,
32 => 31,
33 => 33,
34 => 34,
35 => 35,
36 => 36,
37 => 37,
38 => 37,
39 => 39,
40 => 40,
41 => 41,
57 => 41,
140 => 41,
146 => 41,
171 => 41,
42 => 42,
43 => 43,
44 => 44,
45 => 45,
46 => 46,
47 => 47,
48 => 48,
49 => 48,
53 => 53,
54 => 54,
55 => 55,
56 => 56,
58 => 58,
59 => 59,
60 => 60,
61 => 60,
62 => 60,
63 => 63,
64 => 64,
65 => 65,
66 => 66,
67 => 67,
69 => 69,
70 => 70,
71 => 70,
72 => 70,
73 => 73,
124 => 73,
183 => 73,
74 => 74,
75 => 75,
78 => 75,
89 => 75,
76 => 76,
77 => 77,
79 => 79,
80 => 80,
81 => 81,
86 => 81,
82 => 82,
85 => 82,
83 => 83,
88 => 83,
84 => 84,
87 => 84,
90 => 90,
91 => 91,
94 => 94,
98 => 98,
99 => 99,
101 => 101,
104 => 104,
105 => 105,
106 => 106,
107 => 107,
108 => 108,
110 => 110,
111 => 111,
112 => 112,
113 => 113,
114 => 114,
150 => 114,
115 => 115,
116 => 116,
117 => 117,
118 => 118,
119 => 119,
122 => 119,
120 => 120,
121 => 121,
123 => 123,
184 => 123,
125 => 125,
126 => 126,
127 => 127,
128 => 128,
129 => 129,
130 => 130,
131 => 131,
132 => 132,
133 => 133,
134 => 134,
135 => 135,
136 => 136,
137 => 137,
138 => 138,
139 => 139,
141 => 141,
142 => 142,
143 => 142,
147 => 147,
148 => 148,
149 => 149,
151 => 151,
152 => 151,
153 => 153,
154 => 154,
155 => 155,
156 => 156,
157 => 157,
158 => 158,
159 => 159,
160 => 160,
161 => 161,
162 => 162,
163 => 163,
164 => 164,
165 => 165,
167 => 167,
168 => 168,
169 => 169,
170 => 170,
172 => 172,
173 => 173,
174 => 174,
175 => 175,
176 => 176,
177 => 176,
179 => 176,
178 => 178,
180 => 180,
181 => 181,
182 => 182,
);
#line 91 "smarty_internal_templateparser.y"
function yy_r0(){ $this->_retvalue = $this->yystack[$this->yyidx + 0]->minor; }
#line 1929 "smarty_internal_templateparser.php"
#line 97 "smarty_internal_templateparser.y"
function yy_r1(){if ($this->template->extract_code == false) {
$this->_retvalue = $this->yystack[$this->yyidx + 0]->minor;
} else {
// store code in extract buffer
$this->template->extracted_compiled_code .= $this->yystack[$this->yyidx + 0]->minor;
}
}
#line 1938 "smarty_internal_templateparser.php"
#line 105 "smarty_internal_templateparser.y"
function yy_r2(){if ($this->template->extract_code == false) {
$this->_retvalue = $this->yystack[$this->yyidx + -1]->minor.$this->yystack[$this->yyidx + 0]->minor;
} else {
// store code in extract buffer
$this->template->extracted_compiled_code .= $this->yystack[$this->yyidx + 0]->minor;
$this->_retvalue = $this->yystack[$this->yyidx + -1]->minor;
}
}
#line 1948 "smarty_internal_templateparser.php"
#line 118 "smarty_internal_templateparser.y"
function yy_r3(){
2009-10-22 23:05:14 +00:00
if ($this->compiler->has_code) {
$tmp =''; foreach ($this->compiler->prefix_code as $code) {$tmp.=$code;} $this->compiler->prefix_code=array();
$this->_retvalue = $this->compiler->processNocacheCode($tmp.$this->yystack[$this->yyidx + 0]->minor,true);
} else {
$this->_retvalue = $this->yystack[$this->yyidx + 0]->minor;
}
$this->compiler->has_variable_string = false;
$this->block_nesting_level = count($this->compiler->_tag_stack);
}
#line 1960 "smarty_internal_templateparser.php"
#line 130 "smarty_internal_templateparser.y"
function yy_r4(){ $this->_retvalue = ''; }
#line 1963 "smarty_internal_templateparser.php"
#line 136 "smarty_internal_templateparser.y"
function yy_r6(){
if ($this->sec_obj->php_handling == SMARTY_PHP_PASSTHRU) {
$this->_retvalue = self::escape_start_tag($this->yystack[$this->yyidx + 0]->minor);
} elseif ($this->sec_obj->php_handling == SMARTY_PHP_QUOTE) {
$this->_retvalue = $this->compiler->processNocacheCode(htmlspecialchars($this->yystack[$this->yyidx + 0]->minor, ENT_QUOTES),false);
}elseif ($this->sec_obj->php_handling == SMARTY_PHP_ALLOW) {
$this->_retvalue = $this->compiler->processNocacheCode('<?php', true);
}elseif ($this->sec_obj->php_handling == SMARTY_PHP_REMOVE) {
$this->_retvalue = '';
}
}
#line 1976 "smarty_internal_templateparser.php"
#line 148 "smarty_internal_templateparser.y"
function yy_r7(){if ($this->is_xml) {
$this->compiler->tag_nocache = true;
$this->is_xml = true;
$this->_retvalue = $this->compiler->processNocacheCode("<?php echo '?>';?>", $this->compiler, true);
}elseif ($this->sec_obj->php_handling == SMARTY_PHP_PASSTHRU) {
$this->_retvalue = '?<??>>';
2009-10-22 23:05:14 +00:00
} elseif ($this->sec_obj->php_handling == SMARTY_PHP_QUOTE) {
$this->_retvalue = $this->compiler->processNocacheCode(htmlspecialchars('?>', ENT_QUOTES), false);
}elseif ($this->sec_obj->php_handling == SMARTY_PHP_ALLOW) {
$this->_retvalue = $this->compiler->processNocacheCode('?>', true);
}elseif ($this->sec_obj->php_handling == SMARTY_PHP_REMOVE) {
$this->_retvalue = '';
2009-10-22 23:05:14 +00:00
}
}
#line 1992 "smarty_internal_templateparser.php"
#line 163 "smarty_internal_templateparser.y"
function yy_r8(){if ($this->lex->strip) {
$this->_retvalue = preg_replace('![\$this->yystack[$this->yyidx + 0]->minor ]*[\r\n]+[\$this->yystack[$this->yyidx + 0]->minor ]*!', '', self::escape_start_tag($this->yystack[$this->yyidx + 0]->minor));
} else {
$this->_retvalue = self::escape_start_tag($this->yystack[$this->yyidx + 0]->minor);
}
}
#line 2000 "smarty_internal_templateparser.php"
#line 171 "smarty_internal_templateparser.y"
function yy_r9(){ $this->compiler->tag_nocache = true; $this->is_xml = true; $this->_retvalue = $this->compiler->processNocacheCode("<?php echo '<?xml';?>", $this->compiler, true); }
#line 2003 "smarty_internal_templateparser.php"
#line 174 "smarty_internal_templateparser.y"
function yy_r10(){if ($this->lex->strip) {
$this->_retvalue = preg_replace('![\t ]*[\r\n]+[\t ]*!', '', $this->yystack[$this->yyidx + 0]->minor);
} else {
$this->_retvalue = $this->yystack[$this->yyidx + 0]->minor;
}
}
#line 2011 "smarty_internal_templateparser.php"
#line 182 "smarty_internal_templateparser.y"
function yy_r11(){ $this->_retvalue = ''; }
#line 2014 "smarty_internal_templateparser.php"
#line 183 "smarty_internal_templateparser.y"
function yy_r12(){ $this->_retvalue = $this->yystack[$this->yyidx + -1]->minor; }
#line 2017 "smarty_internal_templateparser.php"
#line 185 "smarty_internal_templateparser.y"
function yy_r13(){ $this->_retvalue = $this->yystack[$this->yyidx + -1]->minor.$this->yystack[$this->yyidx + 0]->minor; }
#line 2020 "smarty_internal_templateparser.php"
#line 190 "smarty_internal_templateparser.y"
function yy_r17(){ $this->_retvalue = self::escape_start_tag($this->yystack[$this->yyidx + 0]->minor); }
#line 2023 "smarty_internal_templateparser.php"
#line 192 "smarty_internal_templateparser.y"
function yy_r19(){ $this->_retvalue = self::escape_end_tag($this->yystack[$this->yyidx + 0]->minor); }
#line 2026 "smarty_internal_templateparser.php"
#line 200 "smarty_internal_templateparser.y"
function yy_r20(){ $this->_retvalue = $this->compiler->compileTag('private_print_expression',array('value'=>$this->yystack[$this->yyidx + -1]->minor)); }
#line 2029 "smarty_internal_templateparser.php"
#line 201 "smarty_internal_templateparser.y"
function yy_r21(){ $this->_retvalue = $this->compiler->compileTag('private_print_expression',array_merge(array('value'=>$this->yystack[$this->yyidx + -2]->minor),$this->yystack[$this->yyidx + -1]->minor)); }
#line 2032 "smarty_internal_templateparser.php"
#line 212 "smarty_internal_templateparser.y"
function yy_r25(){ $this->_retvalue = $this->compiler->compileTag('assign',array('value'=>$this->yystack[$this->yyidx + -1]->minor,'var'=>"'".$this->yystack[$this->yyidx + -3]->minor."'")); }
#line 2035 "smarty_internal_templateparser.php"
#line 214 "smarty_internal_templateparser.y"
function yy_r27(){ $this->_retvalue = $this->compiler->compileTag('assign',array_merge(array('value'=>$this->yystack[$this->yyidx + -2]->minor,'var'=>"'".$this->yystack[$this->yyidx + -4]->minor."'"),$this->yystack[$this->yyidx + -1]->minor)); }
#line 2038 "smarty_internal_templateparser.php"
#line 216 "smarty_internal_templateparser.y"
function yy_r29(){ $this->_retvalue = $this->compiler->compileTag('assign',array_merge(array('value'=>$this->yystack[$this->yyidx + -2]->minor),$this->yystack[$this->yyidx + -4]->minor,$this->yystack[$this->yyidx + -1]->minor)); }
#line 2041 "smarty_internal_templateparser.php"
#line 219 "smarty_internal_templateparser.y"
function yy_r31(){ $this->_retvalue = $this->compiler->compileTag($this->yystack[$this->yyidx + -2]->minor,$this->yystack[$this->yyidx + -1]->minor); }
#line 2044 "smarty_internal_templateparser.php"
#line 221 "smarty_internal_templateparser.y"
function yy_r33(){ $this->_retvalue = $this->compiler->compileTag($this->yystack[$this->yyidx + -1]->minor,array()); }
#line 2047 "smarty_internal_templateparser.php"
#line 223 "smarty_internal_templateparser.y"
function yy_r34(){ $this->_retvalue = $this->compiler->compileTag($this->yystack[$this->yyidx + -4]->minor,array_merge(array('object_methode'=>$this->yystack[$this->yyidx + -2]->minor),$this->yystack[$this->yyidx + -1]->minor)); }
#line 2050 "smarty_internal_templateparser.php"
#line 225 "smarty_internal_templateparser.y"
function yy_r35(){ $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 2055 "smarty_internal_templateparser.php"
#line 229 "smarty_internal_templateparser.y"
function yy_r36(){ $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 2060 "smarty_internal_templateparser.php"
#line 233 "smarty_internal_templateparser.y"
function yy_r37(){ $this->_retvalue = $this->compiler->compileTag(($this->yystack[$this->yyidx + -3]->minor == 'else if')? 'elseif' : $this->yystack[$this->yyidx + -3]->minor,array('if condition'=>$this->yystack[$this->yyidx + -1]->minor)); }
#line 2063 "smarty_internal_templateparser.php"
#line 236 "smarty_internal_templateparser.y"
function yy_r39(){
$this->_retvalue = $this->compiler->compileTag($this->yystack[$this->yyidx + -11]->minor,array('start'=>$this->yystack[$this->yyidx + -9]->minor,'ifexp'=>$this->yystack[$this->yyidx + -6]->minor,'varloop'=>$this->yystack[$this->yyidx + -2]->minor,'loop'=>$this->yystack[$this->yyidx + -1]->minor)); }
#line 2067 "smarty_internal_templateparser.php"
#line 239 "smarty_internal_templateparser.y"
function yy_r40(){ $this->_retvalue = '='.$this->yystack[$this->yyidx + 0]->minor; }
#line 2070 "smarty_internal_templateparser.php"
#line 240 "smarty_internal_templateparser.y"
function yy_r41(){ $this->_retvalue = $this->yystack[$this->yyidx + 0]->minor; }
#line 2073 "smarty_internal_templateparser.php"
#line 241 "smarty_internal_templateparser.y"
function yy_r42(){ $this->_retvalue = $this->compiler->compileTag($this->yystack[$this->yyidx + -6]->minor,array_merge(array('start'=>$this->yystack[$this->yyidx + -4]->minor,'to'=>$this->yystack[$this->yyidx + -2]->minor),$this->yystack[$this->yyidx + -1]->minor)); }
#line 2076 "smarty_internal_templateparser.php"
#line 242 "smarty_internal_templateparser.y"
function yy_r43(){ $this->_retvalue = $this->compiler->compileTag($this->yystack[$this->yyidx + -7]->minor,array('start'=>$this->yystack[$this->yyidx + -5]->minor,'to'=>$this->yystack[$this->yyidx + -3]->minor,'step'=>$this->yystack[$this->yyidx + -1]->minor)); }
#line 2079 "smarty_internal_templateparser.php"
#line 244 "smarty_internal_templateparser.y"
function yy_r44(){
$this->_retvalue = $this->compiler->compileTag($this->yystack[$this->yyidx + -6]->minor,array('from'=>$this->yystack[$this->yyidx + -4]->minor,'item'=>$this->yystack[$this->yyidx + -1]->minor)); }
#line 2083 "smarty_internal_templateparser.php"
#line 246 "smarty_internal_templateparser.y"
function yy_r45(){
$this->_retvalue = $this->compiler->compileTag($this->yystack[$this->yyidx + -9]->minor,array('from'=>$this->yystack[$this->yyidx + -7]->minor,'item'=>$this->yystack[$this->yyidx + -1]->minor,'key'=>$this->yystack[$this->yyidx + -4]->minor)); }
#line 2087 "smarty_internal_templateparser.php"
#line 248 "smarty_internal_templateparser.y"
function yy_r46(){
$this->_retvalue = $this->compiler->compileTag($this->yystack[$this->yyidx + -6]->minor,array('from'=>$this->yystack[$this->yyidx + -4]->minor,'item'=>$this->yystack[$this->yyidx + -1]->minor)); }
#line 2091 "smarty_internal_templateparser.php"
#line 250 "smarty_internal_templateparser.y"
function yy_r47(){
$this->_retvalue = $this->compiler->compileTag($this->yystack[$this->yyidx + -9]->minor,array('from'=>$this->yystack[$this->yyidx + -7]->minor,'item'=>$this->yystack[$this->yyidx + -1]->minor,'key'=>$this->yystack[$this->yyidx + -4]->minor)); }
#line 2095 "smarty_internal_templateparser.php"
#line 254 "smarty_internal_templateparser.y"
function yy_r48(){ $this->_retvalue = $this->compiler->compileTag($this->yystack[$this->yyidx + -1]->minor.'close',array()); }
#line 2098 "smarty_internal_templateparser.php"
#line 259 "smarty_internal_templateparser.y"
function yy_r53(){ $this->_retvalue = $this->compiler->compileTag($this->yystack[$this->yyidx + -2]->minor.'close',$this->yystack[$this->yyidx + -1]->minor); }
#line 2101 "smarty_internal_templateparser.php"
#line 260 "smarty_internal_templateparser.y"
function yy_r54(){ $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 2106 "smarty_internal_templateparser.php"
#line 264 "smarty_internal_templateparser.y"
function yy_r55(){ $this->_retvalue = $this->compiler->compileTag($this->yystack[$this->yyidx + -3]->minor.'close',array('object_methode'=>$this->yystack[$this->yyidx + -1]->minor)); }
#line 2109 "smarty_internal_templateparser.php"
#line 271 "smarty_internal_templateparser.y"
function yy_r56(){ $this->_retvalue = $this->yystack[$this->yyidx + -1]->minor; $this->_retvalue[key($this->yystack[$this->yyidx + 0]->minor)] = $this->yystack[$this->yyidx + 0]->minor[key($this->yystack[$this->yyidx + 0]->minor)]; }
#line 2112 "smarty_internal_templateparser.php"
#line 275 "smarty_internal_templateparser.y"
function yy_r58(){ $this->_retvalue = array(); }
#line 2115 "smarty_internal_templateparser.php"
#line 278 "smarty_internal_templateparser.y"
function yy_r59(){ if (preg_match('~^true$~i', $this->yystack[$this->yyidx + 0]->minor)) {
$this->_retvalue = array($this->yystack[$this->yyidx + -2]->minor=>'true');
} elseif (preg_match('~^false$~i', $this->yystack[$this->yyidx + 0]->minor)) {
$this->_retvalue = array($this->yystack[$this->yyidx + -2]->minor=>'false');
} elseif (preg_match('~^null$~i', $this->yystack[$this->yyidx + 0]->minor)) {
$this->_retvalue = array($this->yystack[$this->yyidx + -2]->minor=>'null');
} else
$this->_retvalue = array($this->yystack[$this->yyidx + -2]->minor=>"'".$this->yystack[$this->yyidx + 0]->minor."'"); }
#line 2125 "smarty_internal_templateparser.php"
#line 286 "smarty_internal_templateparser.y"
function yy_r60(){ $this->_retvalue = array($this->yystack[$this->yyidx + -2]->minor=>$this->yystack[$this->yyidx + 0]->minor); }
#line 2128 "smarty_internal_templateparser.php"
#line 289 "smarty_internal_templateparser.y"
function yy_r63(){ $this->_retvalue = array($this->yystack[$this->yyidx + 0]->minor=>'true'); }
#line 2131 "smarty_internal_templateparser.php"
#line 290 "smarty_internal_templateparser.y"
function yy_r64(){$this->_retvalue = array($this->yystack[$this->yyidx + -2]->minor=>$this->yystack[$this->yyidx + 0]->minor); }
#line 2134 "smarty_internal_templateparser.php"
#line 296 "smarty_internal_templateparser.y"
function yy_r65(){ $this->_retvalue = array($this->yystack[$this->yyidx + 0]->minor); }
#line 2137 "smarty_internal_templateparser.php"
#line 297 "smarty_internal_templateparser.y"
function yy_r66(){ $this->yystack[$this->yyidx + -2]->minor[]=$this->yystack[$this->yyidx + 0]->minor; $this->_retvalue = $this->yystack[$this->yyidx + -2]->minor; }
#line 2140 "smarty_internal_templateparser.php"
#line 299 "smarty_internal_templateparser.y"
function yy_r67(){ $this->_retvalue = array('var' => $this->yystack[$this->yyidx + -2]->minor, 'value'=>$this->yystack[$this->yyidx + 0]->minor); }
#line 2143 "smarty_internal_templateparser.php"
#line 308 "smarty_internal_templateparser.y"
function yy_r69(){$this->_retvalue = '$_smarty_tpl->getStreamVariable(\''. $this->yystack[$this->yyidx + -2]->minor .'://'. $this->yystack[$this->yyidx + 0]->minor . '\')'; }
#line 2146 "smarty_internal_templateparser.php"
#line 310 "smarty_internal_templateparser.y"
function yy_r70(){ $this->_retvalue = $this->yystack[$this->yyidx + -2]->minor . trim($this->yystack[$this->yyidx + -1]->minor) . $this->yystack[$this->yyidx + 0]->minor; }
#line 2149 "smarty_internal_templateparser.php"
#line 316 "smarty_internal_templateparser.y"
function yy_r73(){$this->_retvalue = $this->yystack[$this->yyidx + 0]->minor; }
#line 2152 "smarty_internal_templateparser.php"
#line 319 "smarty_internal_templateparser.y"
function yy_r74(){ $this->_retvalue = $this->compiler->compileTag('private_modifier',array('modifier'=>$this->yystack[$this->yyidx + -1]->minor,'params'=>$this->yystack[$this->yyidx + -2]->minor.$this->yystack[$this->yyidx + 0]->minor)); }
#line 2155 "smarty_internal_templateparser.php"
#line 323 "smarty_internal_templateparser.y"
function yy_r75(){$this->_retvalue = $this->yystack[$this->yyidx + -2]->minor.$this->yystack[$this->yyidx + -1]->minor.$this->yystack[$this->yyidx + 0]->minor; }
#line 2158 "smarty_internal_templateparser.php"
#line 324 "smarty_internal_templateparser.y"
function yy_r76(){$this->_retvalue = 'in_array('.$this->yystack[$this->yyidx + -2]->minor.','.$this->yystack[$this->yyidx + 0]->minor.')'; }
#line 2161 "smarty_internal_templateparser.php"
#line 325 "smarty_internal_templateparser.y"
function yy_r77(){$this->_retvalue = 'in_array('.$this->yystack[$this->yyidx + -2]->minor.',(array)'.$this->yystack[$this->yyidx + 0]->minor.')'; }
#line 2164 "smarty_internal_templateparser.php"
#line 327 "smarty_internal_templateparser.y"
function yy_r79(){$this->_retvalue = '!('.$this->yystack[$this->yyidx + -2]->minor.' % '.$this->yystack[$this->yyidx + 0]->minor.')'; }
#line 2167 "smarty_internal_templateparser.php"
#line 328 "smarty_internal_templateparser.y"
function yy_r80(){$this->_retvalue = '('.$this->yystack[$this->yyidx + -2]->minor.' % '.$this->yystack[$this->yyidx + 0]->minor.')'; }
#line 2170 "smarty_internal_templateparser.php"
#line 329 "smarty_internal_templateparser.y"
function yy_r81(){$this->_retvalue = '!(1 & '.$this->yystack[$this->yyidx + -1]->minor.')'; }
#line 2173 "smarty_internal_templateparser.php"
#line 330 "smarty_internal_templateparser.y"
function yy_r82(){$this->_retvalue = '(1 & '.$this->yystack[$this->yyidx + -1]->minor.')'; }
#line 2176 "smarty_internal_templateparser.php"
#line 331 "smarty_internal_templateparser.y"
function yy_r83(){$this->_retvalue = '!(1 & '.$this->yystack[$this->yyidx + -2]->minor.' / '.$this->yystack[$this->yyidx + 0]->minor.')'; }
#line 2179 "smarty_internal_templateparser.php"
#line 332 "smarty_internal_templateparser.y"
function yy_r84(){$this->_retvalue = '(1 & '.$this->yystack[$this->yyidx + -2]->minor.' / '.$this->yystack[$this->yyidx + 0]->minor.')'; }
#line 2182 "smarty_internal_templateparser.php"
#line 338 "smarty_internal_templateparser.y"
function yy_r90(){$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 2185 "smarty_internal_templateparser.php"
#line 344 "smarty_internal_templateparser.y"
function yy_r91(){ $this->_retvalue = $this->yystack[$this->yyidx + -5]->minor.' ? '.$this->yystack[$this->yyidx + -2]->minor.' : '.$this->yystack[$this->yyidx + 0]->minor; }
#line 2188 "smarty_internal_templateparser.php"
#line 351 "smarty_internal_templateparser.y"
function yy_r94(){ $this->_retvalue = '!'.$this->yystack[$this->yyidx + 0]->minor; }
#line 2191 "smarty_internal_templateparser.php"
#line 356 "smarty_internal_templateparser.y"
function yy_r98(){ $this->_retvalue = $this->yystack[$this->yyidx + -2]->minor.'.'.$this->yystack[$this->yyidx + 0]->minor; }
#line 2194 "smarty_internal_templateparser.php"
#line 358 "smarty_internal_templateparser.y"
function yy_r99(){ if (preg_match('~^true$~i', $this->yystack[$this->yyidx + 0]->minor)) {
$this->_retvalue = 'true';
} elseif (preg_match('~^false$~i', $this->yystack[$this->yyidx + 0]->minor)) {
$this->_retvalue = 'false';
} elseif (preg_match('~^null$~i', $this->yystack[$this->yyidx + 0]->minor)) {
$this->_retvalue = 'null';
} else
$this->_retvalue = "'".$this->yystack[$this->yyidx + 0]->minor."'"; }
#line 2204 "smarty_internal_templateparser.php"
#line 369 "smarty_internal_templateparser.y"
function yy_r101(){ $this->_retvalue = "(". $this->yystack[$this->yyidx + -1]->minor .")"; }
#line 2207 "smarty_internal_templateparser.php"
#line 375 "smarty_internal_templateparser.y"
function yy_r104(){if (!$this->template->security || $this->smarty->security_handler->isTrustedStaticClass($this->yystack[$this->yyidx + -2]->minor, $this->compiler)) {
$this->_retvalue = $this->yystack[$this->yyidx + -2]->minor.'::'.$this->yystack[$this->yyidx + 0]->minor;
} }
#line 2212 "smarty_internal_templateparser.php"
#line 378 "smarty_internal_templateparser.y"
function yy_r105(){ if ($this->yystack[$this->yyidx + -2]->minor['var'] == '\'smarty\'') { $this->_retvalue = $this->compiler->compileTag('private_special_variable',$this->yystack[$this->yyidx + -2]->minor['smarty_internal_index']).'::'.$this->yystack[$this->yyidx + 0]->minor;} else {
$this->_retvalue = '$_smarty_tpl->getVariable('. $this->yystack[$this->yyidx + -2]->minor['var'] .')->value'.$this->yystack[$this->yyidx + -2]->minor['smarty_internal_index'].'::'.$this->yystack[$this->yyidx + 0]->minor; $this->compiler->tag_nocache=$this->compiler->tag_nocache|$this->template->getVariable(trim($this->yystack[$this->yyidx + -2]->minor['var'],"'"), null, true, false)->nocache;} }
#line 2216 "smarty_internal_templateparser.php"
#line 381 "smarty_internal_templateparser.y"
function yy_r106(){ $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 2219 "smarty_internal_templateparser.php"
#line 390 "smarty_internal_templateparser.y"
function yy_r107(){if ($this->yystack[$this->yyidx + 0]->minor['var'] == '\'smarty\'') { $this->_retvalue = $this->compiler->compileTag('private_special_variable',$this->yystack[$this->yyidx + 0]->minor['smarty_internal_index']);
} else {
if (isset($this->compiler->local_var[$this->yystack[$this->yyidx + 0]->minor['var']])) {
$this->_retvalue = '$_smarty_tpl->tpl_vars['. $this->yystack[$this->yyidx + 0]->minor['var'] .']->value'.$this->yystack[$this->yyidx + 0]->minor['smarty_internal_index'];
} else {
$this->_retvalue = '$_smarty_tpl->getVariable('. $this->yystack[$this->yyidx + 0]->minor['var'] .')->value'.$this->yystack[$this->yyidx + 0]->minor['smarty_internal_index'];
}
$this->compiler->tag_nocache=$this->compiler->tag_nocache|$this->template->getVariable(trim($this->yystack[$this->yyidx + 0]->minor['var'],"'"), null, true, false)->nocache;} }
#line 2229 "smarty_internal_templateparser.php"
#line 399 "smarty_internal_templateparser.y"
function yy_r108(){if (isset($this->compiler->local_var[$this->yystack[$this->yyidx + -2]->minor])) {
$this->_retvalue = '$_smarty_tpl->tpl_vars['. $this->yystack[$this->yyidx + -2]->minor .']->'.$this->yystack[$this->yyidx + 0]->minor;
} else {
$this->_retvalue = '$_smarty_tpl->getVariable('. $this->yystack[$this->yyidx + -2]->minor .')->'.$this->yystack[$this->yyidx + 0]->minor;
}
$this->compiler->tag_nocache=$this->compiler->tag_nocache|$this->template->getVariable(trim($this->yystack[$this->yyidx + -2]->minor,"'"), null, true, false)->nocache; }
#line 2237 "smarty_internal_templateparser.php"
#line 408 "smarty_internal_templateparser.y"
function yy_r110(){$this->_retvalue = '$_smarty_tpl->getConfigVariable(\''. $this->yystack[$this->yyidx + -1]->minor .'\')'; }
#line 2240 "smarty_internal_templateparser.php"
#line 409 "smarty_internal_templateparser.y"
function yy_r111(){$this->_retvalue = '$_smarty_tpl->getConfigVariable('. $this->yystack[$this->yyidx + -1]->minor .')'; }
#line 2243 "smarty_internal_templateparser.php"
#line 412 "smarty_internal_templateparser.y"
function yy_r112(){$this->_retvalue = array('var'=>$this->yystack[$this->yyidx + -1]->minor, 'smarty_internal_index'=>$this->yystack[$this->yyidx + 0]->minor); }
#line 2246 "smarty_internal_templateparser.php"
#line 418 "smarty_internal_templateparser.y"
function yy_r113(){$this->_retvalue = $this->yystack[$this->yyidx + -1]->minor.$this->yystack[$this->yyidx + 0]->minor; }
#line 2249 "smarty_internal_templateparser.php"
#line 420 "smarty_internal_templateparser.y"
function yy_r114(){return; }
#line 2252 "smarty_internal_templateparser.php"
#line 424 "smarty_internal_templateparser.y"
function yy_r115(){ $this->_retvalue = '[$_smarty_tpl->getVariable('. $this->yystack[$this->yyidx + 0]->minor .')->value]'; $this->compiler->tag_nocache=$this->compiler->tag_nocache|$this->template->getVariable('$this->yystack[$this->yyidx + 0]->minor', null, true, false)->nocache; }
#line 2255 "smarty_internal_templateparser.php"
#line 425 "smarty_internal_templateparser.y"
function yy_r116(){ $this->_retvalue = '[$_smarty_tpl->getVariable('. $this->yystack[$this->yyidx + -2]->minor .')->'.$this->yystack[$this->yyidx + 0]->minor.']'; $this->compiler->tag_nocache=$this->compiler->tag_nocache|$this->template->getVariable(trim($this->yystack[$this->yyidx + -2]->minor,"'"), null, true, false)->nocache; }
#line 2258 "smarty_internal_templateparser.php"
#line 426 "smarty_internal_templateparser.y"
function yy_r117(){ $this->_retvalue = "['". $this->yystack[$this->yyidx + 0]->minor ."']"; }
#line 2261 "smarty_internal_templateparser.php"
#line 427 "smarty_internal_templateparser.y"
function yy_r118(){ $this->_retvalue = "[". $this->yystack[$this->yyidx + 0]->minor ."]"; }
#line 2264 "smarty_internal_templateparser.php"
#line 428 "smarty_internal_templateparser.y"
function yy_r119(){ $this->_retvalue = "[". $this->yystack[$this->yyidx + -1]->minor ."]"; }
#line 2267 "smarty_internal_templateparser.php"
#line 430 "smarty_internal_templateparser.y"
function yy_r120(){ $this->_retvalue = '['.$this->compiler->compileTag('private_special_variable','[\'section\'][\''.$this->yystack[$this->yyidx + -1]->minor.'\'][\'index\']').']'; }
#line 2270 "smarty_internal_templateparser.php"
#line 431 "smarty_internal_templateparser.y"
function yy_r121(){ $this->_retvalue = '['.$this->compiler->compileTag('private_special_variable','[\'section\'][\''.$this->yystack[$this->yyidx + -3]->minor.'\'][\''.$this->yystack[$this->yyidx + -1]->minor.'\']').']'; }
#line 2273 "smarty_internal_templateparser.php"
#line 435 "smarty_internal_templateparser.y"
function yy_r123(){$this->_retvalue = ''; }
#line 2276 "smarty_internal_templateparser.php"
#line 443 "smarty_internal_templateparser.y"
function yy_r125(){$this->_retvalue = $this->yystack[$this->yyidx + -1]->minor.'.'.$this->yystack[$this->yyidx + 0]->minor; }
#line 2279 "smarty_internal_templateparser.php"
#line 445 "smarty_internal_templateparser.y"
function yy_r126(){$this->_retvalue = '\''.$this->yystack[$this->yyidx + 0]->minor.'\''; }
#line 2282 "smarty_internal_templateparser.php"
#line 447 "smarty_internal_templateparser.y"
function yy_r127(){$this->_retvalue = '('.$this->yystack[$this->yyidx + -1]->minor.')'; }
#line 2285 "smarty_internal_templateparser.php"
#line 452 "smarty_internal_templateparser.y"
function yy_r128(){ if ($this->yystack[$this->yyidx + -1]->minor['var'] == '\'smarty\'') { $this->_retvalue = $this->compiler->compileTag('private_special_variable',$this->yystack[$this->yyidx + -1]->minor['smarty_internal_index']).$this->yystack[$this->yyidx + 0]->minor;} else {
$this->_retvalue = '$_smarty_tpl->getVariable('. $this->yystack[$this->yyidx + -1]->minor['var'] .')->value'.$this->yystack[$this->yyidx + -1]->minor['smarty_internal_index'].$this->yystack[$this->yyidx + 0]->minor; $this->compiler->tag_nocache=$this->compiler->tag_nocache|$this->template->getVariable(trim($this->yystack[$this->yyidx + -1]->minor['var'],"'"), null, true, false)->nocache;} }
#line 2289 "smarty_internal_templateparser.php"
#line 455 "smarty_internal_templateparser.y"
function yy_r129(){$this->_retvalue = $this->yystack[$this->yyidx + 0]->minor; }
#line 2292 "smarty_internal_templateparser.php"
#line 457 "smarty_internal_templateparser.y"
function yy_r130(){$this->_retvalue = $this->yystack[$this->yyidx + -1]->minor.$this->yystack[$this->yyidx + 0]->minor; }
#line 2295 "smarty_internal_templateparser.php"
#line 459 "smarty_internal_templateparser.y"
function yy_r131(){ $this->_retvalue = '->'.$this->yystack[$this->yyidx + -1]->minor.$this->yystack[$this->yyidx + 0]->minor; }
#line 2298 "smarty_internal_templateparser.php"
#line 460 "smarty_internal_templateparser.y"
function yy_r132(){ $this->_retvalue = '->{'.$this->yystack[$this->yyidx + -1]->minor.$this->yystack[$this->yyidx + 0]->minor.'}'; }
#line 2301 "smarty_internal_templateparser.php"
#line 461 "smarty_internal_templateparser.y"
function yy_r133(){ $this->_retvalue = '->{'.$this->yystack[$this->yyidx + -2]->minor.$this->yystack[$this->yyidx + 0]->minor.'}'; }
#line 2304 "smarty_internal_templateparser.php"
#line 462 "smarty_internal_templateparser.y"
function yy_r134(){ $this->_retvalue = '->{\''.$this->yystack[$this->yyidx + -4]->minor.'\'.'.$this->yystack[$this->yyidx + -2]->minor.$this->yystack[$this->yyidx + 0]->minor.'}'; }
#line 2307 "smarty_internal_templateparser.php"
#line 464 "smarty_internal_templateparser.y"
function yy_r135(){ $this->_retvalue = '->'.$this->yystack[$this->yyidx + 0]->minor; }
#line 2310 "smarty_internal_templateparser.php"
#line 470 "smarty_internal_templateparser.y"
function yy_r136(){if (!$this->template->security || $this->smarty->security_handler->isTrustedPhpFunction($this->yystack[$this->yyidx + -3]->minor, $this->compiler)) {
if ($this->yystack[$this->yyidx + -3]->minor == 'isset' || $this->yystack[$this->yyidx + -3]->minor == 'empty' || $this->yystack[$this->yyidx + -3]->minor == 'array' || is_callable($this->yystack[$this->yyidx + -3]->minor)) {
$this->_retvalue = $this->yystack[$this->yyidx + -3]->minor . "(". $this->yystack[$this->yyidx + -1]->minor .")";
} else {
$this->compiler->trigger_template_error ("unknown function \"" . $this->yystack[$this->yyidx + -3]->minor . "\"");
}
} }
#line 2319 "smarty_internal_templateparser.php"
#line 481 "smarty_internal_templateparser.y"
function yy_r137(){ $this->_retvalue = $this->yystack[$this->yyidx + -3]->minor . "(". $this->yystack[$this->yyidx + -1]->minor .")"; }
#line 2322 "smarty_internal_templateparser.php"
#line 482 "smarty_internal_templateparser.y"
function yy_r138(){ $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 2325 "smarty_internal_templateparser.php"
#line 486 "smarty_internal_templateparser.y"
function yy_r139(){ $this->_retvalue = $this->yystack[$this->yyidx + -2]->minor.",".$this->yystack[$this->yyidx + 0]->minor; }
#line 2328 "smarty_internal_templateparser.php"
#line 490 "smarty_internal_templateparser.y"
function yy_r141(){ return; }
#line 2331 "smarty_internal_templateparser.php"
#line 495 "smarty_internal_templateparser.y"
function yy_r142(){ $this->_retvalue = $this->yystack[$this->yyidx + 0]->minor; }
#line 2334 "smarty_internal_templateparser.php"
#line 505 "smarty_internal_templateparser.y"
function yy_r147(){ $this->_retvalue = '$'.$this->yystack[$this->yyidx + -1]->minor.$this->yystack[$this->yyidx + 0]->minor; }
#line 2337 "smarty_internal_templateparser.php"
#line 507 "smarty_internal_templateparser.y"
function yy_r148(){ $this->_retvalue = '$'.$this->yystack[$this->yyidx + -2]->minor.$this->yystack[$this->yyidx + -1]->minor.$this->yystack[$this->yyidx + 0]->minor; }
#line 2340 "smarty_internal_templateparser.php"
#line 518 "smarty_internal_templateparser.y"
function yy_r149(){ $this->_retvalue = $this->yystack[$this->yyidx + -1]->minor.$this->yystack[$this->yyidx + 0]->minor; }
#line 2343 "smarty_internal_templateparser.php"
#line 522 "smarty_internal_templateparser.y"
function yy_r151(){$this->_retvalue = ','.$this->yystack[$this->yyidx + 0]->minor; }
#line 2346 "smarty_internal_templateparser.php"
#line 526 "smarty_internal_templateparser.y"
function yy_r153(){$this->_retvalue = '=='; }
#line 2349 "smarty_internal_templateparser.php"
#line 527 "smarty_internal_templateparser.y"
function yy_r154(){$this->_retvalue = '!='; }
#line 2352 "smarty_internal_templateparser.php"
#line 528 "smarty_internal_templateparser.y"
function yy_r155(){$this->_retvalue = '>'; }
#line 2355 "smarty_internal_templateparser.php"
#line 529 "smarty_internal_templateparser.y"
function yy_r156(){$this->_retvalue = '<'; }
#line 2358 "smarty_internal_templateparser.php"
#line 530 "smarty_internal_templateparser.y"
function yy_r157(){$this->_retvalue = '>='; }
#line 2361 "smarty_internal_templateparser.php"
#line 531 "smarty_internal_templateparser.y"
function yy_r158(){$this->_retvalue = '<='; }
#line 2364 "smarty_internal_templateparser.php"
#line 532 "smarty_internal_templateparser.y"
function yy_r159(){$this->_retvalue = '==='; }
#line 2367 "smarty_internal_templateparser.php"
#line 533 "smarty_internal_templateparser.y"
function yy_r160(){$this->_retvalue = '!=='; }
#line 2370 "smarty_internal_templateparser.php"
#line 534 "smarty_internal_templateparser.y"
function yy_r161(){$this->_retvalue = '%'; }
#line 2373 "smarty_internal_templateparser.php"
#line 536 "smarty_internal_templateparser.y"
function yy_r162(){$this->_retvalue = '&&'; }
#line 2376 "smarty_internal_templateparser.php"
#line 537 "smarty_internal_templateparser.y"
function yy_r163(){$this->_retvalue = '||'; }
#line 2379 "smarty_internal_templateparser.php"
#line 538 "smarty_internal_templateparser.y"
function yy_r164(){$this->_retvalue = ' XOR '; }
#line 2382 "smarty_internal_templateparser.php"
#line 543 "smarty_internal_templateparser.y"
function yy_r165(){ $this->_retvalue = 'array('.$this->yystack[$this->yyidx + -1]->minor.')'; }
#line 2385 "smarty_internal_templateparser.php"
#line 545 "smarty_internal_templateparser.y"
function yy_r167(){ $this->_retvalue = $this->yystack[$this->yyidx + -2]->minor.','.$this->yystack[$this->yyidx + 0]->minor; }
#line 2388 "smarty_internal_templateparser.php"
#line 546 "smarty_internal_templateparser.y"
function yy_r168(){ return; }
#line 2391 "smarty_internal_templateparser.php"
#line 547 "smarty_internal_templateparser.y"
function yy_r169(){ $this->_retvalue = $this->yystack[$this->yyidx + -2]->minor.'=>'.$this->yystack[$this->yyidx + 0]->minor; }
#line 2394 "smarty_internal_templateparser.php"
#line 548 "smarty_internal_templateparser.y"
function yy_r170(){ $this->_retvalue = '\''.$this->yystack[$this->yyidx + -2]->minor.'\'=>'.$this->yystack[$this->yyidx + 0]->minor; }
#line 2397 "smarty_internal_templateparser.php"
#line 555 "smarty_internal_templateparser.y"
function yy_r172(){ $this->_retvalue = "''"; }
#line 2400 "smarty_internal_templateparser.php"
#line 556 "smarty_internal_templateparser.y"
function yy_r173(){ $this->_retvalue = $this->yystack[$this->yyidx + -1]->minor->to_smarty_php(); }
#line 2403 "smarty_internal_templateparser.php"
#line 558 "smarty_internal_templateparser.y"
function yy_r174(){ $this->yystack[$this->yyidx + -1]->minor->append_subtree($this->yystack[$this->yyidx + 0]->minor); $this->_retvalue = $this->yystack[$this->yyidx + -1]->minor; }
#line 2406 "smarty_internal_templateparser.php"
#line 559 "smarty_internal_templateparser.y"
function yy_r175(){ $this->_retvalue = new _smarty_doublequoted($this, $this->yystack[$this->yyidx + 0]->minor); }
#line 2409 "smarty_internal_templateparser.php"
#line 561 "smarty_internal_templateparser.y"
function yy_r176(){ $this->_retvalue = new _smarty_code($this, $this->yystack[$this->yyidx + -1]->minor); }
#line 2412 "smarty_internal_templateparser.php"
#line 563 "smarty_internal_templateparser.y"
function yy_r178(){if (isset($this->compiler->local_var["'".substr($this->yystack[$this->yyidx + 0]->minor,1)."'"])) {
$this->_retvalue = new _smarty_code($this, '$_smarty_tpl->tpl_vars[\''. substr($this->yystack[$this->yyidx + 0]->minor,1) .'\']->value');
} else {
$this->_retvalue = new _smarty_code($this, '$_smarty_tpl->getVariable(\''. substr($this->yystack[$this->yyidx + 0]->minor,1) .'\')->value');
}
$this->compiler->tag_nocache = $this->compiler->tag_nocache | $this->template->getVariable(trim($this->yystack[$this->yyidx + 0]->minor,"'"), null, true, false)->nocache;
}
#line 2421 "smarty_internal_templateparser.php"
#line 571 "smarty_internal_templateparser.y"
function yy_r180(){ $this->_retvalue = new _smarty_code($this, '('.$this->yystack[$this->yyidx + -1]->minor.')'); }
#line 2424 "smarty_internal_templateparser.php"
#line 572 "smarty_internal_templateparser.y"
function yy_r181(){
$this->_retvalue = new _smarty_tag($this, $this->yystack[$this->yyidx + 0]->minor);
}
#line 2429 "smarty_internal_templateparser.php"
#line 575 "smarty_internal_templateparser.y"
function yy_r182(){ $this->_retvalue = new _smarty_dq_content($this, $this->yystack[$this->yyidx + 0]->minor); }
#line 2432 "smarty_internal_templateparser.php"
private $_retvalue;
function yy_reduce($yyruleno)
{
$yymsp = $this->yystack[$this->yyidx];
if (self::$yyTraceFILE && $yyruleno >= 0
&& $yyruleno < count(self::$yyRuleName)) {
fprintf(self::$yyTraceFILE, "%sReduce (%d) [%s].\n",
self::$yyTracePrompt, $yyruleno,
self::$yyRuleName[$yyruleno]);
}
$this->_retvalue = $yy_lefthand_side = null;
if (array_key_exists($yyruleno, self::$yyReduceMap)) {
// call the action
$this->_retvalue = null;
$this->{'yy_r' . self::$yyReduceMap[$yyruleno]}();
$yy_lefthand_side = $this->_retvalue;
}
$yygoto = self::$yyRuleInfo[$yyruleno]['lhs'];
$yysize = self::$yyRuleInfo[$yyruleno]['rhs'];
$this->yyidx -= $yysize;
for($i = $yysize; $i; $i--) {
// pop all of the right-hand side parameters
array_pop($this->yystack);
}
$yyact = $this->yy_find_reduce_action($this->yystack[$this->yyidx]->stateno, $yygoto);
if ($yyact < self::YYNSTATE) {
if (!self::$yyTraceFILE && $yysize) {
$this->yyidx++;
$x = new TP_yyStackEntry;
$x->stateno = $yyact;
$x->major = $yygoto;
$x->minor = $yy_lefthand_side;
$this->yystack[$this->yyidx] = $x;
} else {
$this->yy_shift($yyact, $yygoto, $yy_lefthand_side);
}
} elseif ($yyact == self::YYNSTATE + self::YYNRULE + 1) {
$this->yy_accept();
}
}
function yy_parse_failed()
{
if (self::$yyTraceFILE) {
fprintf(self::$yyTraceFILE, "%sFail!\n", self::$yyTracePrompt);
}
while ($this->yyidx >= 0) {
$this->yy_pop_parser_stack();
}
}
function yy_syntax_error($yymajor, $TOKEN)
{
#line 73 "smarty_internal_templateparser.y"
2009-10-22 23:05:14 +00:00
$this->internalError = true;
$this->yymajor = $yymajor;
$this->compiler->trigger_template_error();
#line 2495 "smarty_internal_templateparser.php"
}
function yy_accept()
{
if (self::$yyTraceFILE) {
fprintf(self::$yyTraceFILE, "%sAccept!\n", self::$yyTracePrompt);
}
while ($this->yyidx >= 0) {
$stack = $this->yy_pop_parser_stack();
}
#line 65 "smarty_internal_templateparser.y"
2009-10-22 23:05:14 +00:00
$this->successful = !$this->internalError;
$this->internalError = false;
$this->retvalue = $this->_retvalue;
//echo $this->retvalue."\n\n";
#line 2513 "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);
}
}
?>