Files
smarty/libs/sysplugins/smarty_internal_templateparser.php

2624 lines
140 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 */
};
2009-12-05 15:10:47 +00:00
#line 12 "smarty_internal_templateparser.y"
class Smarty_Internal_Templateparser#line 79 "smarty_internal_templateparser.php"
{
2009-12-05 15:10:47 +00:00
#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"
2010-02-17 21:30:36 +00:00
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 = 552;
const YY_ACCEPT_ACTION = 551;
const YY_ERROR_ACTION = 550;
const YY_SZ_ACTTAB = 1877;
2009-12-05 15:10:47 +00:00
static public $yy_action = array(
/* 0 */ 185, 284, 363, 30, 329, 99, 279, 101, 52, 122,
/* 10 */ 100, 270, 266, 158, 327, 312, 309, 313, 339, 179,
/* 20 */ 153, 302, 311, 287, 285, 186, 283, 92, 110, 275,
/* 30 */ 49, 47, 44, 40, 16, 22, 345, 341, 21, 20,
/* 40 */ 342, 343, 18, 19, 283, 300, 297, 296, 292, 293,
/* 50 */ 294, 153, 149, 31, 3, 105, 134, 352, 359, 360,
/* 60 */ 361, 362, 358, 357, 353, 354, 355, 356, 340, 185,
/* 70 */ 124, 30, 284, 185, 279, 26, 99, 228, 103, 53,
/* 80 */ 122, 100, 551, 85, 235, 299, 301, 30, 179, 339,
/* 90 */ 279, 32, 179, 23, 287, 285, 90, 283, 248, 49,
/* 100 */ 47, 44, 40, 16, 22, 345, 341, 21, 20, 342,
/* 110 */ 343, 18, 19, 187, 423, 37, 30, 331, 88, 279,
/* 120 */ 226, 423, 237, 310, 262, 303, 352, 359, 360, 361,
/* 130 */ 362, 358, 357, 353, 354, 355, 356, 340, 185, 284,
/* 140 */ 17, 185, 422, 210, 315, 215, 57, 5, 110, 179,
/* 150 */ 326, 193, 275, 335, 107, 160, 339, 179, 188, 5,
/* 160 */ 179, 287, 285, 154, 283, 27, 107, 269, 49, 47,
/* 170 */ 44, 40, 16, 22, 345, 341, 21, 20, 342, 343,
/* 180 */ 18, 19, 185, 157, 327, 284, 5, 114, 199, 249,
/* 190 */ 11, 215, 55, 107, 110, 352, 359, 360, 361, 362,
/* 200 */ 358, 357, 353, 354, 355, 356, 340, 287, 285, 151,
/* 210 */ 283, 278, 49, 47, 44, 40, 16, 22, 345, 341,
/* 220 */ 21, 20, 342, 343, 18, 19, 185, 221, 90, 30,
/* 230 */ 30, 94, 279, 225, 28, 351, 117, 227, 165, 352,
/* 240 */ 359, 360, 361, 362, 358, 357, 353, 354, 355, 356,
/* 250 */ 340, 258, 229, 298, 299, 301, 49, 47, 44, 40,
/* 260 */ 16, 22, 345, 341, 21, 20, 342, 343, 18, 19,
/* 270 */ 5, 187, 348, 246, 212, 223, 245, 107, 33, 179,
/* 280 */ 179, 255, 275, 352, 359, 360, 361, 362, 358, 357,
/* 290 */ 353, 354, 355, 356, 340, 185, 284, 6, 185, 316,
/* 300 */ 210, 106, 215, 54, 118, 110, 179, 55, 30, 330,
/* 310 */ 306, 279, 10, 339, 179, 211, 230, 179, 287, 285,
/* 320 */ 8, 283, 179, 198, 323, 49, 47, 44, 40, 16,
/* 330 */ 22, 345, 341, 21, 20, 342, 343, 18, 19, 185,
/* 340 */ 170, 275, 284, 337, 30, 14, 273, 279, 215, 161,
/* 350 */ 179, 110, 352, 359, 360, 361, 362, 358, 357, 353,
/* 360 */ 354, 355, 356, 340, 287, 285, 236, 283, 344, 49,
/* 370 */ 47, 44, 40, 16, 22, 345, 341, 21, 20, 342,
/* 380 */ 343, 18, 19, 185, 30, 261, 197, 279, 26, 217,
/* 390 */ 207, 220, 25, 244, 133, 256, 352, 359, 360, 361,
/* 400 */ 362, 358, 357, 353, 354, 355, 356, 340, 290, 167,
/* 410 */ 43, 240, 110, 49, 47, 44, 40, 16, 22, 345,
/* 420 */ 341, 21, 20, 342, 343, 18, 19, 185, 283, 96,
/* 430 */ 242, 318, 170, 30, 243, 41, 279, 14, 179, 164,
/* 440 */ 352, 359, 360, 361, 362, 358, 357, 353, 354, 355,
/* 450 */ 356, 340, 30, 179, 252, 182, 238, 49, 47, 44,
/* 460 */ 40, 16, 22, 345, 341, 21, 20, 342, 343, 18,
/* 470 */ 19, 185, 319, 328, 307, 338, 156, 327, 206, 179,
/* 480 */ 179, 179, 179, 332, 352, 359, 360, 361, 362, 358,
/* 490 */ 357, 353, 354, 355, 356, 340, 30, 189, 178, 203,
/* 500 */ 222, 49, 47, 44, 40, 16, 22, 345, 341, 21,
/* 510 */ 20, 342, 343, 18, 19, 166, 334, 322, 272, 155,
/* 520 */ 5, 116, 27, 179, 179, 38, 15, 107, 352, 359,
/* 530 */ 360, 361, 362, 358, 357, 353, 354, 355, 356, 340,
/* 540 */ 185, 284, 320, 260, 219, 173, 208, 215, 84, 233,
/* 550 */ 110, 131, 30, 333, 139, 279, 168, 220, 339, 162,
/* 560 */ 194, 159, 425, 287, 285, 290, 283, 201, 290, 425,
/* 570 */ 49, 47, 44, 40, 16, 22, 345, 341, 21, 20,
/* 580 */ 342, 343, 18, 19, 185, 347, 43, 284, 317, 314,
/* 590 */ 104, 277, 179, 215, 43, 179, 110, 352, 359, 360,
/* 600 */ 361, 362, 358, 357, 353, 354, 355, 356, 340, 287,
/* 610 */ 285, 119, 283, 271, 49, 47, 44, 40, 16, 22,
/* 620 */ 345, 341, 21, 20, 342, 343, 18, 19, 304, 7,
/* 630 */ 349, 291, 190, 13, 39, 179, 7, 179, 179, 463,
/* 640 */ 231, 352, 359, 360, 361, 362, 358, 357, 353, 354,
/* 650 */ 355, 356, 340, 185, 284, 10, 146, 267, 184, 5,
/* 660 */ 215, 51, 120, 110, 137, 259, 107, 308, 206, 163,
/* 670 */ 290, 339, 247, 321, 179, 200, 287, 285, 290, 283,
/* 680 */ 305, 112, 4, 49, 47, 44, 40, 16, 22, 345,
/* 690 */ 341, 21, 20, 342, 343, 18, 19, 185, 115, 43,
/* 700 */ 284, 336, 295, 270, 288, 43, 215, 95, 179, 110,
/* 710 */ 352, 359, 360, 361, 362, 358, 357, 353, 354, 355,
/* 720 */ 356, 340, 287, 285, 111, 283, 251, 49, 47, 44,
/* 730 */ 40, 16, 22, 345, 341, 21, 20, 342, 343, 18,
/* 740 */ 19, 185, 34, 209, 268, 278, 55, 42, 132, 244,
/* 750 */ 41, 121, 55, 97, 352, 359, 360, 361, 362, 358,
/* 760 */ 357, 353, 354, 355, 356, 340, 281, 147, 224, 280,
/* 770 */ 9, 49, 47, 44, 40, 16, 22, 345, 341, 21,
/* 780 */ 20, 342, 343, 18, 19, 185, 265, 221, 284, 254,
/* 790 */ 148, 29, 286, 195, 215, 93, 89, 110, 352, 359,
/* 800 */ 360, 361, 362, 358, 357, 353, 354, 355, 356, 340,
/* 810 */ 287, 285, 303, 283, 12, 49, 47, 44, 40, 16,
/* 820 */ 22, 345, 341, 21, 20, 342, 343, 18, 19, 185,
/* 830 */ 91, 274, 303, 303, 303, 303, 303, 303, 303, 303,
/* 840 */ 152, 234, 352, 359, 360, 361, 362, 358, 357, 353,
/* 850 */ 354, 355, 356, 340, 290, 303, 303, 303, 303, 49,
/* 860 */ 47, 44, 40, 16, 22, 345, 341, 21, 20, 342,
/* 870 */ 343, 18, 19, 185, 303, 303, 284, 303, 303, 303,
/* 880 */ 282, 303, 215, 303, 303, 110, 352, 359, 360, 361,
/* 890 */ 362, 358, 357, 353, 354, 355, 356, 340, 287, 285,
/* 900 */ 303, 283, 303, 49, 47, 44, 40, 16, 22, 345,
/* 910 */ 341, 21, 20, 342, 343, 18, 19, 191, 303, 303,
/* 920 */ 303, 303, 303, 303, 303, 303, 303, 303, 303, 278,
/* 930 */ 352, 359, 360, 361, 362, 358, 357, 353, 354, 355,
/* 940 */ 356, 340, 150, 3, 303, 108, 87, 166, 123, 303,
/* 950 */ 192, 3, 196, 113, 169, 303, 290, 38, 15, 124,
/* 960 */ 213, 102, 127, 48, 303, 98, 126, 124, 213, 125,
/* 970 */ 140, 48, 303, 303, 281, 281, 303, 36, 281, 281,
/* 980 */ 46, 45, 281, 289, 290, 35, 90, 1, 46, 45,
/* 990 */ 3, 289, 113, 177, 90, 1, 263, 138, 145, 303,
/* 1000 */ 303, 86, 3, 166, 114, 177, 124, 213, 303, 86,
/* 1010 */ 48, 290, 290, 38, 15, 142, 303, 135, 124, 213,
/* 1020 */ 303, 303, 48, 303, 35, 274, 303, 46, 45, 290,
/* 1030 */ 289, 290, 303, 90, 1, 3, 35, 114, 172, 46,
/* 1040 */ 45, 130, 289, 274, 129, 90, 1, 3, 86, 113,
/* 1050 */ 177, 124, 175, 128, 281, 48, 303, 281, 303, 303,
/* 1060 */ 86, 303, 144, 124, 213, 303, 281, 48, 303, 35,
/* 1070 */ 303, 303, 46, 45, 143, 289, 290, 303, 90, 1,
/* 1080 */ 3, 36, 113, 171, 46, 45, 303, 289, 290, 303,
/* 1090 */ 90, 1, 3, 86, 113, 174, 124, 213, 303, 303,
/* 1100 */ 48, 303, 274, 303, 303, 86, 303, 303, 124, 213,
/* 1110 */ 303, 303, 48, 303, 36, 303, 303, 46, 45, 303,
/* 1120 */ 289, 303, 303, 90, 1, 3, 35, 109, 177, 46,
/* 1130 */ 45, 303, 289, 303, 303, 90, 1, 3, 86, 114,
/* 1140 */ 177, 124, 213, 303, 303, 48, 303, 303, 303, 303,
/* 1150 */ 86, 303, 303, 124, 213, 303, 303, 48, 303, 35,
/* 1160 */ 303, 303, 46, 45, 303, 289, 303, 303, 90, 1,
/* 1170 */ 3, 35, 114, 183, 46, 45, 303, 289, 303, 303,
/* 1180 */ 90, 303, 303, 86, 303, 303, 124, 213, 303, 303,
/* 1190 */ 48, 303, 284, 303, 303, 86, 180, 303, 215, 81,
/* 1200 */ 303, 110, 303, 303, 35, 303, 303, 46, 45, 339,
/* 1210 */ 289, 303, 303, 90, 287, 285, 284, 283, 303, 303,
/* 1220 */ 210, 303, 215, 61, 303, 110, 181, 325, 86, 303,
/* 1230 */ 303, 303, 303, 339, 303, 303, 303, 303, 287, 285,
/* 1240 */ 284, 283, 303, 303, 210, 303, 215, 61, 218, 110,
/* 1250 */ 303, 303, 284, 303, 303, 303, 210, 339, 215, 61,
/* 1260 */ 303, 110, 287, 285, 284, 283, 303, 303, 210, 339,
/* 1270 */ 215, 61, 239, 110, 287, 285, 284, 283, 303, 303,
/* 1280 */ 180, 339, 215, 81, 214, 110, 287, 285, 303, 283,
/* 1290 */ 303, 303, 303, 339, 303, 303, 216, 303, 287, 285,
/* 1300 */ 284, 283, 303, 303, 210, 303, 215, 61, 303, 110,
/* 1310 */ 303, 324, 303, 303, 303, 303, 303, 339, 303, 303,
/* 1320 */ 303, 303, 287, 285, 284, 283, 303, 303, 210, 303,
/* 1330 */ 215, 56, 204, 110, 303, 303, 284, 303, 303, 303,
/* 1340 */ 210, 339, 215, 80, 303, 110, 287, 285, 284, 283,
/* 1350 */ 303, 303, 210, 339, 215, 69, 303, 110, 287, 285,
/* 1360 */ 284, 283, 303, 303, 210, 339, 215, 83, 303, 110,
/* 1370 */ 287, 285, 303, 283, 303, 303, 303, 339, 303, 303,
/* 1380 */ 303, 136, 287, 285, 284, 283, 166, 303, 210, 303,
/* 1390 */ 215, 65, 303, 110, 303, 290, 38, 15, 303, 303,
/* 1400 */ 303, 339, 303, 303, 303, 303, 287, 285, 284, 283,
/* 1410 */ 303, 303, 210, 303, 215, 76, 303, 110, 303, 303,
/* 1420 */ 284, 303, 303, 303, 210, 339, 176, 59, 303, 110,
/* 1430 */ 287, 285, 284, 283, 303, 303, 210, 339, 215, 71,
/* 1440 */ 303, 110, 287, 285, 284, 283, 303, 303, 210, 339,
/* 1450 */ 215, 73, 303, 110, 287, 285, 303, 283, 303, 303,
/* 1460 */ 303, 339, 303, 303, 303, 141, 287, 285, 284, 283,
/* 1470 */ 166, 303, 210, 303, 215, 68, 303, 110, 303, 290,
/* 1480 */ 38, 15, 303, 303, 303, 339, 303, 303, 303, 303,
/* 1490 */ 287, 285, 284, 283, 303, 303, 210, 303, 215, 82,
/* 1500 */ 303, 110, 303, 303, 284, 303, 303, 303, 210, 339,
/* 1510 */ 215, 75, 303, 110, 287, 285, 284, 283, 303, 303,
/* 1520 */ 210, 339, 215, 77, 303, 110, 287, 285, 284, 283,
/* 1530 */ 303, 303, 210, 339, 215, 70, 303, 110, 287, 285,
/* 1540 */ 303, 283, 303, 303, 303, 339, 303, 303, 303, 303,
/* 1550 */ 287, 285, 284, 283, 303, 303, 210, 303, 215, 72,
/* 1560 */ 303, 110, 303, 303, 303, 303, 303, 303, 303, 339,
/* 1570 */ 303, 303, 303, 303, 287, 285, 284, 283, 303, 303,
/* 1580 */ 210, 303, 215, 64, 303, 110, 303, 303, 284, 303,
/* 1590 */ 303, 303, 210, 339, 215, 50, 303, 110, 287, 285,
/* 1600 */ 284, 283, 303, 303, 210, 339, 215, 78, 303, 110,
/* 1610 */ 287, 285, 284, 283, 303, 303, 210, 339, 215, 67,
/* 1620 */ 303, 110, 287, 285, 303, 283, 303, 303, 303, 339,
/* 1630 */ 303, 303, 303, 303, 287, 285, 284, 283, 303, 303,
/* 1640 */ 210, 303, 215, 63, 303, 110, 303, 303, 303, 303,
/* 1650 */ 303, 303, 303, 339, 303, 303, 303, 303, 287, 285,
/* 1660 */ 284, 283, 303, 303, 210, 303, 215, 74, 303, 110,
/* 1670 */ 303, 303, 284, 303, 303, 303, 210, 339, 215, 60,
/* 1680 */ 303, 110, 287, 285, 284, 283, 303, 303, 210, 339,
/* 1690 */ 215, 62, 303, 110, 287, 285, 284, 283, 303, 303,
/* 1700 */ 210, 339, 215, 66, 303, 110, 287, 285, 303, 283,
/* 1710 */ 303, 303, 303, 339, 303, 303, 303, 303, 287, 285,
/* 1720 */ 284, 283, 303, 303, 210, 303, 215, 79, 303, 110,
/* 1730 */ 303, 303, 303, 303, 303, 303, 303, 339, 303, 303,
/* 1740 */ 303, 303, 287, 285, 284, 283, 303, 303, 210, 303,
/* 1750 */ 215, 58, 303, 110, 284, 303, 303, 303, 250, 303,
/* 1760 */ 215, 339, 303, 110, 303, 303, 287, 285, 303, 283,
/* 1770 */ 303, 253, 303, 303, 284, 303, 287, 285, 346, 283,
/* 1780 */ 215, 284, 303, 110, 303, 205, 303, 215, 241, 303,
/* 1790 */ 110, 350, 2, 303, 303, 303, 287, 285, 202, 283,
/* 1800 */ 303, 303, 303, 287, 285, 284, 283, 303, 124, 276,
/* 1810 */ 303, 215, 241, 303, 110, 303, 2, 303, 303, 303,
/* 1820 */ 303, 303, 303, 303, 303, 303, 303, 287, 285, 303,
/* 1830 */ 283, 303, 124, 303, 303, 303, 303, 303, 303, 303,
/* 1840 */ 303, 303, 303, 303, 303, 303, 303, 303, 303, 303,
/* 1850 */ 264, 24, 232, 303, 303, 303, 303, 303, 303, 303,
/* 1860 */ 303, 303, 303, 303, 303, 303, 303, 303, 303, 303,
/* 1870 */ 303, 303, 303, 303, 257, 24, 232,
2009-12-05 15:10:47 +00:00
);
static public $yy_lookahead = array(
/* 0 */ 1, 77, 13, 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, 88, 86, 23,
/* 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, 103, 12, 12, 14, 15, 58, 59, 60,
/* 60 */ 61, 62, 63, 64, 65, 66, 67, 68, 69, 1,
/* 70 */ 28, 12, 77, 1, 15, 16, 81, 71, 83, 84,
/* 80 */ 85, 86, 74, 75, 76, 77, 78, 12, 20, 94,
/* 90 */ 15, 16, 20, 25, 99, 100, 55, 102, 23, 31,
/* 100 */ 32, 33, 34, 35, 36, 37, 38, 39, 40, 41,
/* 110 */ 42, 43, 44, 54, 13, 24, 12, 13, 15, 15,
/* 120 */ 17, 20, 19, 78, 21, 80, 58, 59, 60, 61,
/* 130 */ 62, 63, 64, 65, 66, 67, 68, 69, 1, 77,
/* 140 */ 27, 1, 13, 81, 55, 83, 84, 46, 86, 20,
/* 150 */ 13, 89, 23, 13, 53, 22, 94, 20, 18, 46,
/* 160 */ 20, 99, 100, 30, 102, 16, 53, 15, 31, 32,
/* 170 */ 33, 34, 35, 36, 37, 38, 39, 40, 41, 42,
/* 180 */ 43, 44, 1, 106, 107, 77, 46, 14, 15, 81,
/* 190 */ 16, 83, 18, 53, 86, 58, 59, 60, 61, 62,
/* 200 */ 63, 64, 65, 66, 67, 68, 69, 99, 100, 103,
/* 210 */ 102, 105, 31, 32, 33, 34, 35, 36, 37, 38,
/* 220 */ 39, 40, 41, 42, 43, 44, 1, 53, 55, 12,
/* 230 */ 12, 15, 15, 15, 12, 15, 14, 15, 13, 58,
/* 240 */ 59, 60, 61, 62, 63, 64, 65, 66, 67, 68,
/* 250 */ 69, 29, 71, 76, 77, 78, 31, 32, 33, 34,
/* 260 */ 35, 36, 37, 38, 39, 40, 41, 42, 43, 44,
/* 270 */ 46, 54, 13, 13, 54, 51, 13, 53, 12, 20,
/* 280 */ 20, 57, 23, 58, 59, 60, 61, 62, 63, 64,
/* 290 */ 65, 66, 67, 68, 69, 1, 77, 30, 1, 13,
/* 300 */ 81, 14, 83, 84, 85, 86, 20, 18, 12, 13,
/* 310 */ 13, 15, 46, 94, 20, 18, 47, 20, 99, 100,
/* 320 */ 20, 102, 20, 27, 57, 31, 32, 33, 34, 35,
/* 330 */ 36, 37, 38, 39, 40, 41, 42, 43, 44, 1,
/* 340 */ 51, 23, 77, 13, 12, 56, 81, 15, 83, 15,
/* 350 */ 20, 86, 58, 59, 60, 61, 62, 63, 64, 65,
/* 360 */ 66, 67, 68, 69, 99, 100, 47, 102, 15, 31,
/* 370 */ 32, 33, 34, 35, 36, 37, 38, 39, 40, 41,
/* 380 */ 42, 43, 44, 1, 12, 47, 54, 15, 16, 14,
/* 390 */ 15, 51, 27, 77, 82, 13, 58, 59, 60, 61,
/* 400 */ 62, 63, 64, 65, 66, 67, 68, 69, 96, 83,
/* 410 */ 45, 47, 86, 31, 32, 33, 34, 35, 36, 37,
/* 420 */ 38, 39, 40, 41, 42, 43, 44, 1, 102, 113,
/* 430 */ 114, 13, 51, 12, 108, 2, 15, 56, 20, 13,
/* 440 */ 58, 59, 60, 61, 62, 63, 64, 65, 66, 67,
/* 450 */ 68, 69, 12, 20, 13, 15, 13, 31, 32, 33,
/* 460 */ 34, 35, 36, 37, 38, 39, 40, 41, 42, 43,
/* 470 */ 44, 1, 13, 13, 13, 13, 106, 107, 2, 20,
/* 480 */ 20, 20, 20, 13, 58, 59, 60, 61, 62, 63,
/* 490 */ 64, 65, 66, 67, 68, 69, 12, 89, 90, 15,
/* 500 */ 15, 31, 32, 33, 34, 35, 36, 37, 38, 39,
/* 510 */ 40, 41, 42, 43, 44, 87, 13, 13, 29, 88,
/* 520 */ 46, 14, 16, 20, 20, 97, 98, 53, 58, 59,
/* 530 */ 60, 61, 62, 63, 64, 65, 66, 67, 68, 69,
/* 540 */ 1, 77, 15, 57, 15, 81, 15, 83, 84, 85,
/* 550 */ 86, 82, 12, 13, 82, 15, 87, 51, 94, 87,
/* 560 */ 29, 22, 13, 99, 100, 96, 102, 27, 96, 20,
/* 570 */ 31, 32, 33, 34, 35, 36, 37, 38, 39, 40,
/* 580 */ 41, 42, 43, 44, 1, 13, 45, 77, 13, 55,
/* 590 */ 14, 81, 20, 83, 45, 20, 86, 58, 59, 60,
/* 600 */ 61, 62, 63, 64, 65, 66, 67, 68, 69, 99,
/* 610 */ 100, 20, 102, 15, 31, 32, 33, 34, 35, 36,
/* 620 */ 37, 38, 39, 40, 41, 42, 43, 44, 13, 16,
/* 630 */ 13, 13, 26, 46, 48, 20, 16, 20, 20, 26,
/* 640 */ 57, 58, 59, 60, 61, 62, 63, 64, 65, 66,
/* 650 */ 67, 68, 69, 1, 77, 46, 82, 15, 81, 46,
/* 660 */ 83, 84, 85, 86, 82, 13, 53, 13, 2, 87,
/* 670 */ 96, 94, 47, 13, 20, 26, 99, 100, 96, 102,
/* 680 */ 96, 14, 16, 31, 32, 33, 34, 35, 36, 37,
/* 690 */ 38, 39, 40, 41, 42, 43, 44, 1, 14, 45,
/* 700 */ 77, 13, 10, 104, 81, 45, 83, 79, 20, 86,
/* 710 */ 58, 59, 60, 61, 62, 63, 64, 65, 66, 67,
/* 720 */ 68, 69, 99, 100, 14, 102, 89, 31, 32, 33,
/* 730 */ 34, 35, 36, 37, 38, 39, 40, 41, 42, 43,
/* 740 */ 44, 1, 2, 47, 101, 105, 18, 20, 103, 77,
/* 750 */ 2, 108, 18, 92, 58, 59, 60, 61, 62, 63,
/* 760 */ 64, 65, 66, 67, 68, 69, 105, 103, 95, 107,
/* 770 */ 46, 31, 32, 33, 34, 35, 36, 37, 38, 39,
/* 780 */ 40, 41, 42, 43, 44, 1, 114, 53, 77, 20,
/* 790 */ 103, 91, 81, 91, 83, 88, 103, 86, 58, 59,
/* 800 */ 60, 61, 62, 63, 64, 65, 66, 67, 68, 69,
/* 810 */ 99, 100, 115, 102, 30, 31, 32, 33, 34, 35,
/* 820 */ 36, 37, 38, 39, 40, 41, 42, 43, 44, 1,
/* 830 */ 88, 110, 115, 115, 115, 115, 115, 115, 115, 115,
/* 840 */ 82, 13, 58, 59, 60, 61, 62, 63, 64, 65,
/* 850 */ 66, 67, 68, 69, 96, 115, 115, 115, 115, 31,
/* 860 */ 32, 33, 34, 35, 36, 37, 38, 39, 40, 41,
/* 870 */ 42, 43, 44, 1, 115, 115, 77, 115, 115, 115,
/* 880 */ 81, 115, 83, 115, 115, 86, 58, 59, 60, 61,
/* 890 */ 62, 63, 64, 65, 66, 67, 68, 69, 99, 100,
/* 900 */ 115, 102, 115, 31, 32, 33, 34, 35, 36, 37,
/* 910 */ 38, 39, 40, 41, 42, 43, 44, 93, 115, 115,
/* 920 */ 115, 115, 115, 115, 115, 115, 115, 115, 115, 105,
/* 930 */ 58, 59, 60, 61, 62, 63, 64, 65, 66, 67,
/* 940 */ 68, 69, 82, 12, 115, 14, 15, 87, 17, 115,
/* 950 */ 19, 12, 21, 14, 15, 115, 96, 97, 98, 28,
/* 960 */ 29, 92, 92, 32, 115, 92, 92, 28, 29, 92,
/* 970 */ 82, 32, 115, 115, 105, 105, 115, 46, 105, 105,
/* 980 */ 49, 50, 105, 52, 96, 46, 55, 56, 49, 50,
/* 990 */ 12, 52, 14, 15, 55, 56, 57, 82, 82, 115,
/* 1000 */ 115, 70, 12, 87, 14, 15, 28, 29, 115, 70,
/* 1010 */ 32, 96, 96, 97, 98, 82, 115, 82, 28, 29,
/* 1020 */ 115, 115, 32, 115, 46, 110, 115, 49, 50, 96,
/* 1030 */ 52, 96, 115, 55, 56, 12, 46, 14, 15, 49,
/* 1040 */ 50, 92, 52, 110, 92, 55, 56, 12, 70, 14,
/* 1050 */ 15, 28, 29, 92, 105, 32, 115, 105, 115, 115,
/* 1060 */ 70, 115, 82, 28, 29, 115, 105, 32, 115, 46,
/* 1070 */ 115, 115, 49, 50, 82, 52, 96, 115, 55, 56,
/* 1080 */ 12, 46, 14, 15, 49, 50, 115, 52, 96, 115,
/* 1090 */ 55, 56, 12, 70, 14, 15, 28, 29, 115, 115,
/* 1100 */ 32, 115, 110, 115, 115, 70, 115, 115, 28, 29,
/* 1110 */ 115, 115, 32, 115, 46, 115, 115, 49, 50, 115,
/* 1120 */ 52, 115, 115, 55, 56, 12, 46, 14, 15, 49,
/* 1130 */ 50, 115, 52, 115, 115, 55, 56, 12, 70, 14,
/* 1140 */ 15, 28, 29, 115, 115, 32, 115, 115, 115, 115,
/* 1150 */ 70, 115, 115, 28, 29, 115, 115, 32, 115, 46,
/* 1160 */ 115, 115, 49, 50, 115, 52, 115, 115, 55, 56,
/* 1170 */ 12, 46, 14, 15, 49, 50, 115, 52, 115, 115,
/* 1180 */ 55, 115, 115, 70, 115, 115, 28, 29, 115, 115,
/* 1190 */ 32, 115, 77, 115, 115, 70, 81, 115, 83, 84,
/* 1200 */ 115, 86, 115, 115, 46, 115, 115, 49, 50, 94,
/* 1210 */ 52, 115, 115, 55, 99, 100, 77, 102, 115, 115,
/* 1220 */ 81, 115, 83, 84, 115, 86, 111, 112, 70, 115,
/* 1230 */ 115, 115, 115, 94, 115, 115, 115, 115, 99, 100,
/* 1240 */ 77, 102, 115, 115, 81, 115, 83, 84, 109, 86,
/* 1250 */ 115, 115, 77, 115, 115, 115, 81, 94, 83, 84,
/* 1260 */ 115, 86, 99, 100, 77, 102, 115, 115, 81, 94,
/* 1270 */ 83, 84, 109, 86, 99, 100, 77, 102, 115, 115,
/* 1280 */ 81, 94, 83, 84, 109, 86, 99, 100, 115, 102,
/* 1290 */ 115, 115, 115, 94, 115, 115, 109, 115, 99, 100,
/* 1300 */ 77, 102, 115, 115, 81, 115, 83, 84, 115, 86,
/* 1310 */ 115, 112, 115, 115, 115, 115, 115, 94, 115, 115,
/* 1320 */ 115, 115, 99, 100, 77, 102, 115, 115, 81, 115,
/* 1330 */ 83, 84, 109, 86, 115, 115, 77, 115, 115, 115,
/* 1340 */ 81, 94, 83, 84, 115, 86, 99, 100, 77, 102,
/* 1350 */ 115, 115, 81, 94, 83, 84, 115, 86, 99, 100,
/* 1360 */ 77, 102, 115, 115, 81, 94, 83, 84, 115, 86,
/* 1370 */ 99, 100, 115, 102, 115, 115, 115, 94, 115, 115,
/* 1380 */ 115, 82, 99, 100, 77, 102, 87, 115, 81, 115,
/* 1390 */ 83, 84, 115, 86, 115, 96, 97, 98, 115, 115,
/* 1400 */ 115, 94, 115, 115, 115, 115, 99, 100, 77, 102,
/* 1410 */ 115, 115, 81, 115, 83, 84, 115, 86, 115, 115,
/* 1420 */ 77, 115, 115, 115, 81, 94, 83, 84, 115, 86,
/* 1430 */ 99, 100, 77, 102, 115, 115, 81, 94, 83, 84,
/* 1440 */ 115, 86, 99, 100, 77, 102, 115, 115, 81, 94,
/* 1450 */ 83, 84, 115, 86, 99, 100, 115, 102, 115, 115,
/* 1460 */ 115, 94, 115, 115, 115, 82, 99, 100, 77, 102,
/* 1470 */ 87, 115, 81, 115, 83, 84, 115, 86, 115, 96,
/* 1480 */ 97, 98, 115, 115, 115, 94, 115, 115, 115, 115,
/* 1490 */ 99, 100, 77, 102, 115, 115, 81, 115, 83, 84,
/* 1500 */ 115, 86, 115, 115, 77, 115, 115, 115, 81, 94,
/* 1510 */ 83, 84, 115, 86, 99, 100, 77, 102, 115, 115,
/* 1520 */ 81, 94, 83, 84, 115, 86, 99, 100, 77, 102,
/* 1530 */ 115, 115, 81, 94, 83, 84, 115, 86, 99, 100,
/* 1540 */ 115, 102, 115, 115, 115, 94, 115, 115, 115, 115,
/* 1550 */ 99, 100, 77, 102, 115, 115, 81, 115, 83, 84,
/* 1560 */ 115, 86, 115, 115, 115, 115, 115, 115, 115, 94,
/* 1570 */ 115, 115, 115, 115, 99, 100, 77, 102, 115, 115,
/* 1580 */ 81, 115, 83, 84, 115, 86, 115, 115, 77, 115,
/* 1590 */ 115, 115, 81, 94, 83, 84, 115, 86, 99, 100,
/* 1600 */ 77, 102, 115, 115, 81, 94, 83, 84, 115, 86,
/* 1610 */ 99, 100, 77, 102, 115, 115, 81, 94, 83, 84,
/* 1620 */ 115, 86, 99, 100, 115, 102, 115, 115, 115, 94,
/* 1630 */ 115, 115, 115, 115, 99, 100, 77, 102, 115, 115,
/* 1640 */ 81, 115, 83, 84, 115, 86, 115, 115, 115, 115,
/* 1650 */ 115, 115, 115, 94, 115, 115, 115, 115, 99, 100,
/* 1660 */ 77, 102, 115, 115, 81, 115, 83, 84, 115, 86,
/* 1670 */ 115, 115, 77, 115, 115, 115, 81, 94, 83, 84,
/* 1680 */ 115, 86, 99, 100, 77, 102, 115, 115, 81, 94,
/* 1690 */ 83, 84, 115, 86, 99, 100, 77, 102, 115, 115,
/* 1700 */ 81, 94, 83, 84, 115, 86, 99, 100, 115, 102,
/* 1710 */ 115, 115, 115, 94, 115, 115, 115, 115, 99, 100,
/* 1720 */ 77, 102, 115, 115, 81, 115, 83, 84, 115, 86,
/* 1730 */ 115, 115, 115, 115, 115, 115, 115, 94, 115, 115,
/* 1740 */ 115, 115, 99, 100, 77, 102, 115, 115, 81, 115,
/* 1750 */ 83, 84, 115, 86, 77, 115, 115, 115, 81, 115,
/* 1760 */ 83, 94, 115, 86, 115, 115, 99, 100, 115, 102,
/* 1770 */ 115, 94, 115, 115, 77, 115, 99, 100, 81, 102,
/* 1780 */ 83, 77, 115, 86, 115, 81, 115, 83, 8, 115,
/* 1790 */ 86, 94, 12, 115, 115, 115, 99, 100, 94, 102,
/* 1800 */ 115, 115, 115, 99, 100, 77, 102, 115, 28, 81,
/* 1810 */ 115, 83, 8, 115, 86, 115, 12, 115, 115, 115,
/* 1820 */ 115, 115, 115, 115, 115, 115, 115, 99, 100, 115,
/* 1830 */ 102, 115, 28, 115, 115, 115, 115, 115, 115, 115,
/* 1840 */ 115, 115, 115, 115, 115, 115, 115, 115, 115, 115,
/* 1850 */ 70, 71, 72, 115, 115, 115, 115, 115, 115, 115,
/* 1860 */ 115, 115, 115, 115, 115, 115, 115, 115, 115, 115,
/* 1870 */ 115, 115, 115, 115, 70, 71, 72,
2009-12-05 15:10:47 +00:00
);
const YY_SHIFT_USE_DFLT = -12;
const YY_SHIFT_MAX = 225;
2009-12-05 15:10:47 +00:00
static public $yy_shift_ofst = array(
/* 0 */ 42, 1080, 931, 931, 1035, 978, 1080, 1068, 1113, 978,
/* 10 */ 978, 1035, 978, 978, 939, 978, 978, 978, 978, 978,
/* 20 */ 978, 978, 978, 978, 978, 978, 978, 978, 978, 978,
/* 30 */ 978, 978, 978, 978, 978, 978, 978, 978, 978, 978,
/* 40 */ 990, 990, 1023, 1158, 1125, 1125, 1125, 1125, 1125, 1125,
/* 50 */ 68, -1, 137, 294, 294, 41, 225, 470, 426, 181,
/* 60 */ 652, 784, 539, 338, 696, 382, 828, 740, 583, 872,
/* 70 */ 872, 872, 872, 872, 872, 872, 872, 872, 872, 872,
/* 80 */ 872, 872, 872, 872, 872, 42, 1780, 140, 297, 289,
/* 90 */ 173, 433, 433, 433, 72, 11, 1804, 75, 59, 654,
/* 100 */ 174, 259, 217, 129, 421, 484, 421, 375, 440, 218,
/* 110 */ 734, 421, 421, 218, 421, 421, 421, 421, 302, 710,
/* 120 */ 302, 728, 302, 727, 103, 540, 296, 372, 332, -9,
/* 130 */ 104, 461, 381, 503, 266, 286, 260, 460, 330, 688,
/* 140 */ 459, 418, 462, 618, 615, 575, 504, 381, 381, 381,
/* 150 */ 617, 381, 572, 692, 710, 748, 728, 728, 728, 769,
/* 160 */ 769, 724, -12, -12, -12, -12, -12, -12, -12, 224,
/* 170 */ 222, 101, 613, 549, 113, 506, 6, 474, 133, 531,
/* 180 */ 365, 267, 666, 474, 660, 220, 89, 152, 216, 91,
/* 190 */ 287, 263, 300, -11, 149, 667, 591, 598, 576, 534,
/* 200 */ 684, 507, 606, 587, 625, 649, 642, 609, 620, 586,
/* 210 */ 541, 529, 353, 340, 319, 318, 269, 334, 364, 441,
/* 220 */ 489, 527, 486, 485, 443, 476,
2009-12-05 15:10:47 +00:00
);
const YY_REDUCE_USE_DFLT = -94;
const YY_REDUCE_MAX = 168;
2009-12-05 15:10:47 +00:00
static public $yy_reduce_ofst = array(
/* 0 */ 8, 1115, -76, -5, 577, 1223, 1199, 464, 62, 1187,
/* 10 */ 1139, 219, 1163, 1175, 1391, 1415, 1427, 1439, 1367, 1355,
/* 20 */ 1271, 1259, 1283, 1307, 1343, 1331, 1451, 1475, 1595, 1607,
/* 30 */ 1619, 1247, 1643, 1667, 1583, 1559, 1499, 1511, 1523, 1535,
/* 40 */ 1697, 1677, 1704, 108, 799, 265, 510, 623, 1728, 711,
/* 50 */ 1299, 916, 860, 860, 1383, 326, 428, 428, 428, 428,
/* 60 */ 428, 428, 428, 428, 428, 428, 428, 428, 428, 428,
/* 70 */ 428, 428, 428, 428, 428, 428, 428, 428, 428, 428,
/* 80 */ 428, 428, 428, 428, 428, 177, 316, 582, 469, -93,
/* 90 */ -58, 915, 992, 933, 472, 45, 672, 824, 106, 980,
/* 100 */ 370, 758, 106, 758, 949, 869, 874, 643, 869, 873,
/* 110 */ 370, 870, 661, 869, 869, 877, 952, 961, 888, 408,
/* 120 */ 935, 77, 574, 312, 673, 640, 640, 640, 640, 640,
/* 130 */ 640, 584, 599, 584, 645, 584, 584, 584, 584, 584,
/* 140 */ 584, 584, 584, 584, 584, 584, 584, 599, 599, 599,
/* 150 */ 584, 599, 584, 628, 637, 721, 662, 662, 662, 702,
/* 160 */ 700, 693, 742, 707, 664, 687, 431, -51, -61,
2009-12-05 15:10:47 +00:00
);
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, 70, ),
/* 14 */ array(12, 14, 15, 28, 29, 32, 46, 49, 50, 52, 55, 56, 57, 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, 56, 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(12, 14, 15, 28, 29, 32, 46, 49, 50, 52, 55, 70, ),
/* 50 */ array(1, 20, 25, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, ),
/* 51 */ array(1, 13, 20, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, ),
/* 52 */ array(1, 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, ),
/* 53 */ array(1, 20, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, ),
/* 54 */ array(1, 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, ),
/* 55 */ array(12, 14, 15, 55, ),
/* 56 */ 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, ),
/* 57 */ array(1, 13, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, ),
/* 58 */ array(1, 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, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 71, ),
/* 60 */ array(1, 13, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, ),
/* 61 */ array(1, 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, ),
/* 62 */ 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, ),
/* 63 */ 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, ),
/* 64 */ 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, ),
/* 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, 13, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, ),
/* 67 */ array(1, 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, ),
/* 68 */ 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, ),
/* 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(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, ),
/* 85 */ array(3, 4, 5, 6, 7, 8, 9, 12, 28, ),
/* 86 */ array(8, 12, 28, 70, 71, 72, ),
/* 87 */ array(1, 13, 18, 20, 46, 53, ),
/* 88 */ array(1, 13, 18, 20, ),
/* 89 */ array(18, 51, 56, ),
/* 90 */ array(14, 15, 55, ),
/* 91 */ array(2, 20, ),
/* 92 */ array(2, 20, ),
/* 93 */ array(2, 20, ),
/* 94 */ array(1, 20, ),
/* 95 */ array(4, 5, 6, 9, 10, 11, ),
/* 96 */ array(8, 12, 28, 70, 71, 72, ),
/* 97 */ array(12, 15, 16, 23, ),
/* 98 */ array(12, 15, 16, 54, ),
/* 99 */ array(13, 20, 45, ),
/* 100 */ array(16, 18, 53, ),
/* 101 */ array(13, 20, 23, ),
/* 102 */ array(12, 15, 54, ),
/* 103 */ array(13, 20, 23, ),
/* 104 */ array(12, 15, ),
/* 105 */ array(12, 15, ),
/* 106 */ array(12, 15, ),
/* 107 */ array(14, 15, ),
/* 108 */ array(12, 15, ),
/* 109 */ array(12, 15, ),
/* 110 */ array(18, 53, ),
/* 111 */ array(12, 15, ),
/* 112 */ array(12, 15, ),
/* 113 */ array(12, 15, ),
/* 114 */ array(12, 15, ),
/* 115 */ array(12, 15, ),
/* 116 */ array(12, 15, ),
/* 117 */ array(12, 15, ),
/* 118 */ array(20, ),
/* 119 */ array(14, ),
/* 120 */ array(20, ),
/* 121 */ array(18, ),
/* 122 */ array(20, ),
/* 123 */ array(20, ),
/* 124 */ array(15, 17, 19, 21, ),
/* 125 */ array(12, 13, 15, 27, ),
/* 126 */ array(12, 13, 15, 27, ),
/* 127 */ array(12, 15, 16, ),
/* 128 */ array(12, 15, 54, ),
/* 129 */ array(12, 13, 15, ),
/* 130 */ array(12, 13, 15, ),
/* 131 */ array(13, 20, ),
/* 132 */ array(51, 56, ),
/* 133 */ array(13, 20, ),
/* 134 */ array(12, 46, ),
/* 135 */ array(13, 20, ),
/* 136 */ array(13, 20, ),
/* 137 */ array(13, 20, ),
/* 138 */ array(13, 20, ),
/* 139 */ array(13, 20, ),
/* 140 */ array(13, 20, ),
/* 141 */ array(13, 20, ),
/* 142 */ array(13, 20, ),
/* 143 */ array(13, 20, ),
/* 144 */ array(13, 20, ),
/* 145 */ array(13, 20, ),
/* 146 */ array(13, 20, ),
/* 147 */ array(51, 56, ),
/* 148 */ array(51, 56, ),
/* 149 */ array(51, 56, ),
/* 150 */ array(13, 20, ),
/* 151 */ array(51, 56, ),
/* 152 */ array(13, 20, ),
/* 153 */ array(10, ),
/* 154 */ array(14, ),
/* 155 */ array(2, ),
/* 156 */ array(18, ),
/* 157 */ array(18, ),
/* 158 */ array(18, ),
/* 159 */ array(20, ),
/* 160 */ array(20, ),
/* 161 */ array(46, ),
/* 162 */ array(),
/* 163 */ array(),
/* 164 */ array(),
/* 165 */ array(),
/* 166 */ array(),
/* 167 */ array(),
/* 168 */ array(),
/* 169 */ array(46, 51, 53, 57, ),
/* 170 */ array(12, 14, 15, 29, ),
/* 171 */ array(13, 20, 46, 53, ),
/* 172 */ array(16, 26, 46, 53, ),
/* 173 */ array(13, 20, 45, ),
/* 174 */ array(27, 46, 53, ),
/* 175 */ array(16, 51, ),
/* 176 */ array(23, 71, ),
/* 177 */ array(46, 53, ),
/* 178 */ array(22, 30, ),
/* 179 */ array(15, 29, ),
/* 180 */ array(27, 45, ),
/* 181 */ array(30, 57, ),
/* 182 */ array(2, 16, ),
/* 183 */ array(46, 53, ),
/* 184 */ array(13, 45, ),
/* 185 */ array(15, 54, ),
/* 186 */ array(55, ),
/* 187 */ array(15, ),
/* 188 */ array(15, ),
/* 189 */ array(24, ),
/* 190 */ array(14, ),
/* 191 */ array(13, ),
/* 192 */ array(20, ),
/* 193 */ array(13, ),
/* 194 */ array(16, ),
/* 195 */ array(14, ),
/* 196 */ array(20, ),
/* 197 */ array(15, ),
/* 198 */ array(14, ),
/* 199 */ array(55, ),
/* 200 */ array(14, ),
/* 201 */ array(14, ),
/* 202 */ array(26, ),
/* 203 */ array(46, ),
/* 204 */ array(47, ),
/* 205 */ array(26, ),
/* 206 */ array(15, ),
/* 207 */ array(46, ),
/* 208 */ array(16, ),
/* 209 */ array(48, ),
/* 210 */ array(45, ),
/* 211 */ array(15, ),
/* 212 */ array(15, ),
/* 213 */ array(51, ),
/* 214 */ array(47, ),
/* 215 */ array(23, ),
/* 216 */ array(47, ),
/* 217 */ array(15, ),
/* 218 */ array(47, ),
/* 219 */ array(13, ),
/* 220 */ array(29, ),
/* 221 */ array(15, ),
/* 222 */ array(57, ),
/* 223 */ array(15, ),
/* 224 */ array(13, ),
/* 225 */ array(2, ),
/* 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(),
2009-12-05 15:10:47 +00:00
/* 263 */ array(),
/* 264 */ array(),
/* 265 */ array(),
/* 266 */ array(),
/* 267 */ array(),
/* 268 */ array(),
/* 269 */ array(),
/* 270 */ array(),
/* 271 */ array(),
/* 272 */ array(),
/* 273 */ array(),
/* 274 */ array(),
/* 275 */ array(),
/* 276 */ array(),
/* 277 */ array(),
/* 278 */ array(),
/* 279 */ array(),
/* 280 */ array(),
/* 281 */ array(),
/* 282 */ array(),
/* 283 */ array(),
/* 284 */ array(),
/* 285 */ array(),
/* 286 */ array(),
/* 287 */ array(),
/* 288 */ array(),
/* 289 */ array(),
/* 290 */ array(),
/* 291 */ array(),
/* 292 */ array(),
/* 293 */ array(),
/* 294 */ array(),
/* 295 */ array(),
/* 296 */ array(),
/* 297 */ array(),
/* 298 */ array(),
/* 299 */ array(),
/* 300 */ array(),
/* 301 */ array(),
/* 302 */ array(),
/* 303 */ array(),
/* 304 */ array(),
/* 305 */ array(),
/* 306 */ array(),
/* 307 */ array(),
/* 308 */ array(),
/* 309 */ array(),
/* 310 */ array(),
/* 311 */ array(),
/* 312 */ array(),
/* 313 */ array(),
/* 314 */ array(),
/* 315 */ array(),
/* 316 */ array(),
/* 317 */ array(),
/* 318 */ array(),
/* 319 */ array(),
/* 320 */ array(),
/* 321 */ array(),
/* 322 */ array(),
/* 323 */ array(),
/* 324 */ array(),
/* 325 */ array(),
/* 326 */ array(),
/* 327 */ array(),
/* 328 */ array(),
/* 329 */ array(),
/* 330 */ array(),
/* 331 */ array(),
/* 332 */ array(),
/* 333 */ array(),
/* 334 */ array(),
/* 335 */ array(),
/* 336 */ array(),
/* 337 */ array(),
/* 338 */ array(),
/* 339 */ array(),
/* 340 */ array(),
/* 341 */ array(),
/* 342 */ array(),
/* 343 */ array(),
/* 344 */ array(),
/* 345 */ array(),
/* 346 */ array(),
/* 347 */ array(),
/* 348 */ array(),
/* 349 */ array(),
/* 350 */ array(),
/* 351 */ array(),
/* 352 */ array(),
/* 353 */ array(),
/* 354 */ array(),
/* 355 */ array(),
/* 356 */ array(),
/* 357 */ array(),
/* 358 */ array(),
/* 359 */ array(),
/* 360 */ array(),
/* 361 */ array(),
/* 362 */ array(),
/* 363 */ array(),
2009-12-05 15:10:47 +00:00
);
static public $yy_default = array(
/* 0 */ 550, 533, 550, 550, 550, 505, 550, 550, 550, 505,
/* 10 */ 505, 550, 505, 505, 550, 550, 550, 550, 550, 550,
/* 20 */ 550, 550, 550, 550, 550, 550, 550, 550, 550, 550,
/* 30 */ 550, 550, 550, 550, 550, 550, 550, 550, 550, 550,
/* 40 */ 550, 550, 550, 550, 550, 550, 550, 550, 550, 550,
/* 50 */ 422, 550, 550, 422, 422, 550, 550, 550, 550, 550,
/* 60 */ 550, 504, 550, 550, 550, 550, 550, 550, 550, 448,
/* 70 */ 431, 452, 428, 451, 455, 443, 534, 535, 439, 404,
/* 80 */ 447, 536, 442, 444, 424, 364, 550, 463, 550, 512,
/* 90 */ 550, 422, 422, 422, 422, 550, 550, 550, 477, 432,
/* 100 */ 470, 456, 477, 456, 550, 550, 550, 550, 550, 550,
/* 110 */ 470, 550, 550, 550, 550, 550, 550, 550, 422, 550,
/* 120 */ 422, 508, 422, 422, 550, 550, 550, 550, 478, 550,
/* 130 */ 550, 550, 495, 550, 477, 550, 550, 550, 550, 550,
/* 140 */ 550, 550, 550, 550, 550, 550, 550, 498, 497, 496,
/* 150 */ 550, 475, 550, 378, 550, 438, 491, 510, 513, 549,
/* 160 */ 549, 477, 515, 515, 477, 477, 515, 477, 515, 463,
/* 170 */ 550, 463, 427, 432, 463, 461, 456, 463, 550, 550,
/* 180 */ 432, 550, 489, 453, 432, 550, 550, 550, 550, 429,
/* 190 */ 550, 550, 550, 550, 550, 550, 550, 550, 550, 550,
/* 200 */ 550, 550, 550, 489, 550, 550, 550, 511, 427, 465,
/* 210 */ 432, 550, 550, 461, 550, 456, 550, 550, 550, 550,
/* 220 */ 550, 550, 550, 550, 550, 489, 416, 480, 541, 542,
/* 230 */ 502, 485, 543, 426, 490, 365, 502, 414, 413, 503,
/* 240 */ 501, 547, 540, 499, 546, 403, 406, 500, 405, 454,
/* 250 */ 516, 430, 419, 517, 548, 483, 407, 538, 481, 482,
/* 260 */ 484, 465, 415, 486, 537, 539, 390, 433, 468, 471,
/* 270 */ 476, 479, 462, 459, 514, 460, 457, 458, 488, 489,
/* 280 */ 494, 487, 436, 472, 469, 467, 434, 464, 435, 466,
/* 290 */ 421, 418, 372, 373, 374, 375, 371, 370, 366, 367,
/* 300 */ 368, 369, 376, 377, 385, 420, 412, 417, 384, 383,
/* 310 */ 379, 380, 381, 382, 473, 474, 392, 391, 393, 394,
/* 320 */ 492, 389, 388, 530, 532, 531, 545, 493, 395, 409,
/* 330 */ 410, 411, 401, 408, 396, 397, 398, 400, 399, 437,
/* 340 */ 529, 446, 449, 450, 506, 445, 441, 386, 544, 387,
/* 350 */ 440, 507, 518, 525, 526, 527, 528, 524, 523, 519,
/* 360 */ 520, 521, 522, 402,
2009-12-05 15:10:47 +00:00
);
const YYNOCODE = 116;
2009-12-05 15:10:47 +00:00
const YYSTACKDEPTH = 100;
const YYNSTATE = 364;
const YYNRULE = 186;
const YYERRORSYMBOL = 73;
2009-12-05 15:10:47 +00:00
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(
2010-02-17 21:30:36 +00:00
'$', '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(
2009-12-05 15:10:47 +00:00
/* 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 ::= smartytag",
/* 106 */ "variable ::= varindexed",
/* 107 */ "variable ::= DOLLAR varvar AT ID",
/* 108 */ "variable ::= object",
/* 109 */ "variable ::= HATCH ID HATCH",
/* 110 */ "variable ::= HATCH variable HATCH",
/* 111 */ "varindexed ::= DOLLAR varvar arrayindex",
/* 112 */ "arrayindex ::= arrayindex indexdef",
/* 113 */ "arrayindex ::=",
/* 114 */ "indexdef ::= DOT DOLLAR varvar",
/* 115 */ "indexdef ::= DOT DOLLAR varvar AT ID",
/* 116 */ "indexdef ::= DOT ID",
/* 117 */ "indexdef ::= DOT INTEGER",
/* 118 */ "indexdef ::= DOT LDEL expr RDEL",
/* 119 */ "indexdef ::= OPENB ID CLOSEB",
/* 120 */ "indexdef ::= OPENB ID DOT ID CLOSEB",
/* 121 */ "indexdef ::= OPENB expr CLOSEB",
/* 122 */ "indexdef ::= OPENB CLOSEB",
/* 123 */ "varvar ::= varvarele",
/* 124 */ "varvar ::= varvar varvarele",
/* 125 */ "varvarele ::= ID",
/* 126 */ "varvarele ::= LDEL expr RDEL",
/* 127 */ "object ::= varindexed objectchain",
/* 128 */ "object ::= varindexed DOUBLECOLON ID",
/* 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 ::= DOLLAR ID OPENP params CLOSEP",
/* 146 */ "static_class_access ::= method objectchain",
/* 147 */ "static_class_access ::= ID",
/* 148 */ "static_class_access ::= DOLLAR ID arrayindex",
/* 149 */ "static_class_access ::= DOLLAR ID arrayindex objectchain",
/* 150 */ "modparameters ::= modparameters modparameter",
/* 151 */ "modparameters ::=",
/* 152 */ "modparameter ::= COLON value",
/* 153 */ "modparameter ::= COLON array",
/* 154 */ "ifcond ::= EQUALS",
/* 155 */ "ifcond ::= NOTEQUALS",
/* 156 */ "ifcond ::= GREATERTHAN",
/* 157 */ "ifcond ::= LESSTHAN",
/* 158 */ "ifcond ::= GREATEREQUAL",
/* 159 */ "ifcond ::= LESSEQUAL",
/* 160 */ "ifcond ::= IDENTITY",
/* 161 */ "ifcond ::= NONEIDENTITY",
/* 162 */ "ifcond ::= MOD",
/* 163 */ "lop ::= LAND",
/* 164 */ "lop ::= LOR",
/* 165 */ "lop ::= LXOR",
/* 166 */ "array ::= OPENB arrayelements CLOSEB",
/* 167 */ "arrayelements ::= arrayelement",
/* 168 */ "arrayelements ::= arrayelements COMMA arrayelement",
/* 169 */ "arrayelements ::=",
/* 170 */ "arrayelement ::= value APTR expr",
/* 171 */ "arrayelement ::= ID APTR expr",
/* 172 */ "arrayelement ::= expr",
/* 173 */ "doublequoted_with_quotes ::= QUOTE QUOTE",
/* 174 */ "doublequoted_with_quotes ::= QUOTE doublequoted QUOTE",
/* 175 */ "doublequoted ::= doublequoted doublequotedcontent",
/* 176 */ "doublequoted ::= doublequotedcontent",
/* 177 */ "doublequotedcontent ::= BACKTICK variable BACKTICK",
/* 178 */ "doublequotedcontent ::= BACKTICK expr BACKTICK",
/* 179 */ "doublequotedcontent ::= DOLLARID",
/* 180 */ "doublequotedcontent ::= LDEL variable RDEL",
/* 181 */ "doublequotedcontent ::= LDEL expr RDEL",
/* 182 */ "doublequotedcontent ::= smartytag",
/* 183 */ "doublequotedcontent ::= OTHER",
/* 184 */ "optspace ::= SPACE",
/* 185 */ "optspace ::=",
);
function tokenName($tokenType)
{
if ($tokenType === 0) {
return 'End of Input';
}
if ($tokenType > 0 && $tokenType < count($this->yyTokenName)) {
return $this->yyTokenName[$tokenType];
} else {
return "Unknown";
}
}
static function yy_destructor($yymajor, $yypminor)
{
switch ($yymajor) {
default: break; /* If no destructor action specified: do nothing */
}
}
function yy_pop_parser_stack()
{
if (!count($this->yystack)) {
return;
}
$yytos = array_pop($this->yystack);
if (self::$yyTraceFILE && $this->yyidx >= 0) {
fwrite(self::$yyTraceFILE,
self::$yyTracePrompt . 'Popping ' . $this->yyTokenName[$yytos->major] .
"\n");
}
$yymajor = $yytos->major;
self::yy_destructor($yymajor, $yytos->minor);
$this->yyidx--;
return $yymajor;
}
function __destruct()
{
while ($this->yyidx >= 0) {
$this->yy_pop_parser_stack();
}
if (is_resource(self::$yyTraceFILE)) {
fclose(self::$yyTraceFILE);
}
}
function yy_get_expected_tokens($token)
{
$state = $this->yystack[$this->yyidx]->stateno;
$expected = self::$yyExpectedTokens[$state];
if (in_array($token, self::$yyExpectedTokens[$state], true)) {
return $expected;
}
$stack = $this->yystack;
$yyidx = $this->yyidx;
do {
$yyact = $this->yy_find_shift_action($token);
if ($yyact >= self::YYNSTATE && $yyact < self::YYNSTATE + self::YYNRULE) {
// reduce action
$done = 0;
do {
if ($done++ == 100) {
$this->yyidx = $yyidx;
$this->yystack = $stack;
// too much recursion prevents proper detection
// so give up
return array_unique($expected);
}
$yyruleno = $yyact - self::YYNSTATE;
$this->yyidx -= self::$yyRuleInfo[$yyruleno]['rhs'];
$nextstate = $this->yy_find_reduce_action(
$this->yystack[$this->yyidx]->stateno,
self::$yyRuleInfo[$yyruleno]['lhs']);
if (isset(self::$yyExpectedTokens[$nextstate])) {
$expected += self::$yyExpectedTokens[$nextstate];
if (in_array($token,
self::$yyExpectedTokens[$nextstate], true)) {
$this->yyidx = $yyidx;
$this->yystack = $stack;
return array_unique($expected);
}
}
if ($nextstate < self::YYNSTATE) {
// we need to shift a non-terminal
$this->yyidx++;
$x = new TP_yyStackEntry;
$x->stateno = $nextstate;
$x->major = self::$yyRuleInfo[$yyruleno]['lhs'];
$this->yystack[$this->yyidx] = $x;
continue 2;
} elseif ($nextstate == self::YYNSTATE + self::YYNRULE + 1) {
$this->yyidx = $yyidx;
$this->yystack = $stack;
// the last token was just ignored, we can't accept
// by ignoring input, this is in essence ignoring a
// syntax error!
return array_unique($expected);
} elseif ($nextstate === self::YY_NO_ACTION) {
$this->yyidx = $yyidx;
$this->yystack = $stack;
// input accepted, but not shifted (I guess)
return $expected;
} else {
$yyact = $nextstate;
}
} while (true);
}
break;
} while (true);
return array_unique($expected);
}
function yy_is_expected_token($token)
{
if ($token === 0) {
return true; // 0 is not part of this
}
$state = $this->yystack[$this->yyidx]->stateno;
if (in_array($token, self::$yyExpectedTokens[$state], true)) {
return true;
}
$stack = $this->yystack;
$yyidx = $this->yyidx;
do {
$yyact = $this->yy_find_shift_action($token);
if ($yyact >= self::YYNSTATE && $yyact < self::YYNSTATE + self::YYNRULE) {
// reduce action
$done = 0;
do {
if ($done++ == 100) {
$this->yyidx = $yyidx;
$this->yystack = $stack;
// too much recursion prevents proper detection
// so give up
return true;
}
$yyruleno = $yyact - self::YYNSTATE;
$this->yyidx -= self::$yyRuleInfo[$yyruleno]['rhs'];
$nextstate = $this->yy_find_reduce_action(
$this->yystack[$this->yyidx]->stateno,
self::$yyRuleInfo[$yyruleno]['lhs']);
if (isset(self::$yyExpectedTokens[$nextstate]) &&
in_array($token, self::$yyExpectedTokens[$nextstate], true)) {
$this->yyidx = $yyidx;
$this->yystack = $stack;
return true;
}
if ($nextstate < self::YYNSTATE) {
// we need to shift a non-terminal
$this->yyidx++;
$x = new TP_yyStackEntry;
$x->stateno = $nextstate;
$x->major = self::$yyRuleInfo[$yyruleno]['lhs'];
$this->yystack[$this->yyidx] = $x;
continue 2;
} elseif ($nextstate == self::YYNSTATE + self::YYNRULE + 1) {
$this->yyidx = $yyidx;
$this->yystack = $stack;
if (!$token) {
// end of input: this is valid
return true;
}
// the last token was just ignored, we can't accept
// by ignoring input, this is in essence ignoring a
// syntax error!
return false;
} elseif ($nextstate === self::YY_NO_ACTION) {
$this->yyidx = $yyidx;
$this->yystack = $stack;
// input accepted, but not shifted (I guess)
return true;
} else {
$yyact = $nextstate;
}
} while (true);
}
break;
} while (true);
$this->yyidx = $yyidx;
$this->yystack = $stack;
return true;
}
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();
}
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' => 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' => 102, 'rhs' => 3 ),
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' => 5 ),
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(
2009-12-05 15:10:47 +00:00
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,
108 => 0,
144 => 0,
167 => 0,
2009-12-05 15:10:47 +00:00
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,
146 => 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,
147 => 41,
172 => 41,
42 => 42,
43 => 43,
2009-12-05 15:10:47 +00:00
44 => 44,
45 => 45,
46 => 46,
47 => 47,
48 => 48,
49 => 48,
53 => 53,
54 => 54,
55 => 55,
2009-12-05 15:10:47 +00:00
56 => 56,
58 => 58,
59 => 59,
60 => 60,
61 => 60,
62 => 60,
64 => 60,
63 => 63,
65 => 65,
66 => 66,
67 => 67,
69 => 69,
70 => 70,
71 => 70,
72 => 70,
73 => 73,
123 => 73,
184 => 73,
74 => 74,
75 => 75,
78 => 75,
89 => 75,
2010-02-17 21:30:36 +00:00
76 => 76,
77 => 77,
79 => 79,
2010-02-17 21:30:36 +00:00
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,
109 => 109,
110 => 110,
2009-12-05 15:10:47 +00:00
111 => 111,
112 => 112,
113 => 113,
151 => 113,
114 => 114,
115 => 115,
116 => 116,
117 => 117,
118 => 118,
121 => 118,
119 => 119,
120 => 120,
122 => 122,
185 => 122,
124 => 124,
125 => 125,
2009-12-05 15:10:47 +00:00
126 => 126,
127 => 127,
128 => 128,
129 => 129,
2010-01-13 15:33:54 +00:00
130 => 130,
131 => 131,
2009-12-13 20:21:54 +00:00
132 => 132,
133 => 133,
134 => 134,
135 => 135,
136 => 136,
2009-12-05 15:10:47 +00:00
137 => 137,
138 => 138,
139 => 139,
141 => 141,
142 => 142,
143 => 142,
145 => 145,
148 => 148,
149 => 149,
150 => 150,
152 => 152,
153 => 152,
154 => 154,
155 => 155,
156 => 156,
157 => 157,
158 => 158,
159 => 159,
160 => 160,
161 => 161,
162 => 162,
163 => 163,
164 => 164,
165 => 165,
2010-01-13 15:33:54 +00:00
166 => 166,
168 => 168,
169 => 169,
170 => 170,
171 => 171,
173 => 173,
174 => 174,
175 => 175,
176 => 176,
177 => 177,
178 => 177,
180 => 177,
179 => 179,
2010-01-13 15:33:54 +00:00
181 => 181,
182 => 182,
183 => 183,
);
#line 85 "smarty_internal_templateparser.y"
2009-12-05 15:10:47 +00:00
function yy_r0(){ $this->_retvalue = $this->yystack[$this->yyidx + 0]->minor; }
#line 1944 "smarty_internal_templateparser.php"
#line 91 "smarty_internal_templateparser.y"
function yy_r1(){if ($this->template->extract_code == false) {
$this->_retvalue = $this->yystack[$this->yyidx + 0]->minor;
} else {
// store code in extract buffer
$this->template->extracted_compiled_code .= $this->yystack[$this->yyidx + 0]->minor;
}
}
#line 1953 "smarty_internal_templateparser.php"
#line 99 "smarty_internal_templateparser.y"
function yy_r2(){if ($this->template->extract_code == false) {
$this->_retvalue = $this->yystack[$this->yyidx + -1]->minor.$this->yystack[$this->yyidx + 0]->minor;
} else {
// store code in extract buffer
$this->template->extracted_compiled_code .= $this->yystack[$this->yyidx + 0]->minor;
$this->_retvalue = $this->yystack[$this->yyidx + -1]->minor;
}
}
#line 1963 "smarty_internal_templateparser.php"
#line 112 "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 1975 "smarty_internal_templateparser.php"
#line 124 "smarty_internal_templateparser.y"
function yy_r4(){ $this->_retvalue = ''; }
#line 1978 "smarty_internal_templateparser.php"
#line 130 "smarty_internal_templateparser.y"
function yy_r6(){
if ($this->sec_obj->php_handling == SMARTY_PHP_PASSTHRU) {
$this->_retvalue = self::escape_start_tag($this->yystack[$this->yyidx + 0]->minor);
} elseif ($this->sec_obj->php_handling == SMARTY_PHP_QUOTE) {
$this->_retvalue = $this->compiler->processNocacheCode(htmlspecialchars($this->yystack[$this->yyidx + 0]->minor, ENT_QUOTES),false);
}elseif ($this->sec_obj->php_handling == SMARTY_PHP_ALLOW) {
$this->_retvalue = $this->compiler->processNocacheCode('<?php', true);
}elseif ($this->sec_obj->php_handling == SMARTY_PHP_REMOVE) {
$this->_retvalue = '';
}
}
#line 1991 "smarty_internal_templateparser.php"
#line 142 "smarty_internal_templateparser.y"
function yy_r7(){if ($this->is_xml) {
$this->compiler->tag_nocache = true;
$this->is_xml = true;
$this->_retvalue = $this->compiler->processNocacheCode("<?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
}
2009-12-05 15:10:47 +00:00
}
#line 2007 "smarty_internal_templateparser.php"
#line 157 "smarty_internal_templateparser.y"
function yy_r8(){if ($this->lex->strip) {
$this->_retvalue = preg_replace('![\$this->yystack[$this->yyidx + 0]->minor ]*[\r\n]+[\$this->yystack[$this->yyidx + 0]->minor ]*!', '', self::escape_start_tag($this->yystack[$this->yyidx + 0]->minor));
} else {
$this->_retvalue = self::escape_start_tag($this->yystack[$this->yyidx + 0]->minor);
}
}
#line 2015 "smarty_internal_templateparser.php"
#line 165 "smarty_internal_templateparser.y"
function yy_r9(){ $this->compiler->tag_nocache = true; $this->is_xml = true; $this->_retvalue = $this->compiler->processNocacheCode("<?php echo '<?xml';?>", $this->compiler, true); }
#line 2018 "smarty_internal_templateparser.php"
#line 168 "smarty_internal_templateparser.y"
function yy_r10(){if ($this->lex->strip) {
$this->_retvalue = preg_replace('![\t ]*[\r\n]+[\t ]*!', '', $this->yystack[$this->yyidx + 0]->minor);
} else {
$this->_retvalue = $this->yystack[$this->yyidx + 0]->minor;
}
}
#line 2026 "smarty_internal_templateparser.php"
#line 176 "smarty_internal_templateparser.y"
function yy_r11(){ $this->_retvalue = ''; }
#line 2029 "smarty_internal_templateparser.php"
#line 177 "smarty_internal_templateparser.y"
function yy_r12(){ $this->_retvalue = $this->yystack[$this->yyidx + -1]->minor; }
#line 2032 "smarty_internal_templateparser.php"
#line 179 "smarty_internal_templateparser.y"
function yy_r13(){ $this->_retvalue = $this->yystack[$this->yyidx + -1]->minor.$this->yystack[$this->yyidx + 0]->minor; }
#line 2035 "smarty_internal_templateparser.php"
#line 184 "smarty_internal_templateparser.y"
function yy_r17(){ $this->_retvalue = self::escape_start_tag($this->yystack[$this->yyidx + 0]->minor); }
#line 2038 "smarty_internal_templateparser.php"
#line 186 "smarty_internal_templateparser.y"
function yy_r19(){ $this->_retvalue = self::escape_end_tag($this->yystack[$this->yyidx + 0]->minor); }
#line 2041 "smarty_internal_templateparser.php"
#line 194 "smarty_internal_templateparser.y"
function yy_r20(){ $this->_retvalue = $this->compiler->compileTag('private_print_expression',array('value'=>$this->yystack[$this->yyidx + -1]->minor)); }
#line 2044 "smarty_internal_templateparser.php"
#line 195 "smarty_internal_templateparser.y"
function yy_r21(){ $this->_retvalue = $this->compiler->compileTag('private_print_expression',array_merge(array('value'=>$this->yystack[$this->yyidx + -2]->minor),$this->yystack[$this->yyidx + -1]->minor)); }
#line 2047 "smarty_internal_templateparser.php"
#line 206 "smarty_internal_templateparser.y"
function yy_r25(){ $this->_retvalue = $this->compiler->compileTag('assign',array('value'=>$this->yystack[$this->yyidx + -1]->minor,'var'=>"'".$this->yystack[$this->yyidx + -3]->minor."'")); }
#line 2050 "smarty_internal_templateparser.php"
#line 208 "smarty_internal_templateparser.y"
function yy_r27(){ $this->_retvalue = $this->compiler->compileTag('assign',array_merge(array('value'=>$this->yystack[$this->yyidx + -2]->minor,'var'=>"'".$this->yystack[$this->yyidx + -4]->minor."'"),$this->yystack[$this->yyidx + -1]->minor)); }
#line 2053 "smarty_internal_templateparser.php"
#line 210 "smarty_internal_templateparser.y"
function yy_r29(){ $this->_retvalue = $this->compiler->compileTag('assign',array_merge(array('value'=>$this->yystack[$this->yyidx + -2]->minor),$this->yystack[$this->yyidx + -4]->minor,$this->yystack[$this->yyidx + -1]->minor)); }
#line 2056 "smarty_internal_templateparser.php"
#line 213 "smarty_internal_templateparser.y"
function yy_r31(){ $this->_retvalue = $this->compiler->compileTag($this->yystack[$this->yyidx + -2]->minor,$this->yystack[$this->yyidx + -1]->minor); }
#line 2059 "smarty_internal_templateparser.php"
#line 215 "smarty_internal_templateparser.y"
function yy_r33(){ $this->_retvalue = $this->compiler->compileTag($this->yystack[$this->yyidx + -1]->minor,array()); }
#line 2062 "smarty_internal_templateparser.php"
#line 217 "smarty_internal_templateparser.y"
function yy_r34(){ $this->_retvalue = $this->compiler->compileTag($this->yystack[$this->yyidx + -4]->minor,array_merge(array('object_methode'=>$this->yystack[$this->yyidx + -2]->minor),$this->yystack[$this->yyidx + -1]->minor)); }
#line 2065 "smarty_internal_templateparser.php"
#line 219 "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 2070 "smarty_internal_templateparser.php"
#line 223 "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 2075 "smarty_internal_templateparser.php"
#line 227 "smarty_internal_templateparser.y"
function yy_r37(){ $this->_retvalue = $this->compiler->compileTag(($this->yystack[$this->yyidx + -3]->minor == 'else if')? 'elseif' : $this->yystack[$this->yyidx + -3]->minor,array('if condition'=>$this->yystack[$this->yyidx + -1]->minor)); }
#line 2078 "smarty_internal_templateparser.php"
#line 230 "smarty_internal_templateparser.y"
function yy_r39(){
$this->_retvalue = $this->compiler->compileTag($this->yystack[$this->yyidx + -11]->minor,array('start'=>$this->yystack[$this->yyidx + -9]->minor,'ifexp'=>$this->yystack[$this->yyidx + -6]->minor,'varloop'=>$this->yystack[$this->yyidx + -2]->minor,'loop'=>$this->yystack[$this->yyidx + -1]->minor)); }
#line 2082 "smarty_internal_templateparser.php"
#line 233 "smarty_internal_templateparser.y"
function yy_r40(){ $this->_retvalue = '='.$this->yystack[$this->yyidx + 0]->minor; }
#line 2085 "smarty_internal_templateparser.php"
#line 234 "smarty_internal_templateparser.y"
function yy_r41(){ $this->_retvalue = $this->yystack[$this->yyidx + 0]->minor; }
#line 2088 "smarty_internal_templateparser.php"
#line 235 "smarty_internal_templateparser.y"
function yy_r42(){ $this->_retvalue = $this->compiler->compileTag($this->yystack[$this->yyidx + -6]->minor,array_merge(array('start'=>$this->yystack[$this->yyidx + -4]->minor,'to'=>$this->yystack[$this->yyidx + -2]->minor),$this->yystack[$this->yyidx + -1]->minor)); }
#line 2091 "smarty_internal_templateparser.php"
#line 236 "smarty_internal_templateparser.y"
function yy_r43(){ $this->_retvalue = $this->compiler->compileTag($this->yystack[$this->yyidx + -7]->minor,array('start'=>$this->yystack[$this->yyidx + -5]->minor,'to'=>$this->yystack[$this->yyidx + -3]->minor,'step'=>$this->yystack[$this->yyidx + -1]->minor)); }
#line 2094 "smarty_internal_templateparser.php"
#line 238 "smarty_internal_templateparser.y"
function yy_r44(){
$this->_retvalue = $this->compiler->compileTag($this->yystack[$this->yyidx + -6]->minor,array('from'=>$this->yystack[$this->yyidx + -4]->minor,'item'=>$this->yystack[$this->yyidx + -1]->minor)); }
#line 2098 "smarty_internal_templateparser.php"
#line 240 "smarty_internal_templateparser.y"
function yy_r45(){
$this->_retvalue = $this->compiler->compileTag($this->yystack[$this->yyidx + -9]->minor,array('from'=>$this->yystack[$this->yyidx + -7]->minor,'item'=>$this->yystack[$this->yyidx + -1]->minor,'key'=>$this->yystack[$this->yyidx + -4]->minor)); }
#line 2102 "smarty_internal_templateparser.php"
#line 242 "smarty_internal_templateparser.y"
function yy_r46(){
$this->_retvalue = $this->compiler->compileTag($this->yystack[$this->yyidx + -6]->minor,array('from'=>$this->yystack[$this->yyidx + -4]->minor,'item'=>$this->yystack[$this->yyidx + -1]->minor)); }
#line 2106 "smarty_internal_templateparser.php"
#line 244 "smarty_internal_templateparser.y"
function yy_r47(){
$this->_retvalue = $this->compiler->compileTag($this->yystack[$this->yyidx + -9]->minor,array('from'=>$this->yystack[$this->yyidx + -7]->minor,'item'=>$this->yystack[$this->yyidx + -1]->minor,'key'=>$this->yystack[$this->yyidx + -4]->minor)); }
#line 2110 "smarty_internal_templateparser.php"
#line 248 "smarty_internal_templateparser.y"
function yy_r48(){ $this->_retvalue = $this->compiler->compileTag($this->yystack[$this->yyidx + -1]->minor.'close',array()); }
#line 2113 "smarty_internal_templateparser.php"
#line 253 "smarty_internal_templateparser.y"
function yy_r53(){ $this->_retvalue = $this->compiler->compileTag($this->yystack[$this->yyidx + -2]->minor.'close',$this->yystack[$this->yyidx + -1]->minor); }
#line 2116 "smarty_internal_templateparser.php"
#line 254 "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 2121 "smarty_internal_templateparser.php"
#line 258 "smarty_internal_templateparser.y"
function yy_r55(){ $this->_retvalue = $this->compiler->compileTag($this->yystack[$this->yyidx + -3]->minor.'close',array('object_methode'=>$this->yystack[$this->yyidx + -1]->minor)); }
#line 2124 "smarty_internal_templateparser.php"
#line 265 "smarty_internal_templateparser.y"
function yy_r56(){ $this->_retvalue = array_merge($this->yystack[$this->yyidx + -1]->minor,$this->yystack[$this->yyidx + 0]->minor); }
#line 2127 "smarty_internal_templateparser.php"
#line 269 "smarty_internal_templateparser.y"
function yy_r58(){ $this->_retvalue = array(); }
#line 2130 "smarty_internal_templateparser.php"
#line 272 "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 2140 "smarty_internal_templateparser.php"
#line 280 "smarty_internal_templateparser.y"
function yy_r60(){ $this->_retvalue = array($this->yystack[$this->yyidx + -2]->minor=>$this->yystack[$this->yyidx + 0]->minor); }
#line 2143 "smarty_internal_templateparser.php"
#line 283 "smarty_internal_templateparser.y"
function yy_r63(){ $this->_retvalue = array($this->yystack[$this->yyidx + 0]->minor=>'true'); }
#line 2146 "smarty_internal_templateparser.php"
#line 290 "smarty_internal_templateparser.y"
function yy_r65(){ $this->_retvalue = array($this->yystack[$this->yyidx + 0]->minor); }
#line 2149 "smarty_internal_templateparser.php"
#line 291 "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 2152 "smarty_internal_templateparser.php"
#line 293 "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 2155 "smarty_internal_templateparser.php"
#line 302 "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 2158 "smarty_internal_templateparser.php"
#line 304 "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 2161 "smarty_internal_templateparser.php"
#line 310 "smarty_internal_templateparser.y"
function yy_r73(){$this->_retvalue = $this->yystack[$this->yyidx + 0]->minor; }
#line 2164 "smarty_internal_templateparser.php"
#line 313 "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 2167 "smarty_internal_templateparser.php"
#line 317 "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 2170 "smarty_internal_templateparser.php"
#line 318 "smarty_internal_templateparser.y"
function yy_r76(){$this->_retvalue = 'in_array('.$this->yystack[$this->yyidx + -2]->minor.','.$this->yystack[$this->yyidx + 0]->minor.')'; }
#line 2173 "smarty_internal_templateparser.php"
#line 319 "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 2176 "smarty_internal_templateparser.php"
#line 321 "smarty_internal_templateparser.y"
function yy_r79(){$this->_retvalue = '!('.$this->yystack[$this->yyidx + -2]->minor.' % '.$this->yystack[$this->yyidx + 0]->minor.')'; }
#line 2179 "smarty_internal_templateparser.php"
#line 322 "smarty_internal_templateparser.y"
function yy_r80(){$this->_retvalue = '('.$this->yystack[$this->yyidx + -2]->minor.' % '.$this->yystack[$this->yyidx + 0]->minor.')'; }
#line 2182 "smarty_internal_templateparser.php"
#line 323 "smarty_internal_templateparser.y"
function yy_r81(){$this->_retvalue = '!(1 & '.$this->yystack[$this->yyidx + -1]->minor.')'; }
#line 2185 "smarty_internal_templateparser.php"
#line 324 "smarty_internal_templateparser.y"
function yy_r82(){$this->_retvalue = '(1 & '.$this->yystack[$this->yyidx + -1]->minor.')'; }
#line 2188 "smarty_internal_templateparser.php"
#line 325 "smarty_internal_templateparser.y"
function yy_r83(){$this->_retvalue = '!(1 & '.$this->yystack[$this->yyidx + -2]->minor.' / '.$this->yystack[$this->yyidx + 0]->minor.')'; }
#line 2191 "smarty_internal_templateparser.php"
#line 326 "smarty_internal_templateparser.y"
function yy_r84(){$this->_retvalue = '(1 & '.$this->yystack[$this->yyidx + -2]->minor.' / '.$this->yystack[$this->yyidx + 0]->minor.')'; }
#line 2194 "smarty_internal_templateparser.php"
#line 332 "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 2197 "smarty_internal_templateparser.php"
#line 338 "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 2200 "smarty_internal_templateparser.php"
#line 345 "smarty_internal_templateparser.y"
function yy_r94(){ $this->_retvalue = '!'.$this->yystack[$this->yyidx + 0]->minor; }
#line 2203 "smarty_internal_templateparser.php"
#line 350 "smarty_internal_templateparser.y"
function yy_r98(){ $this->_retvalue = $this->yystack[$this->yyidx + -2]->minor.'.'.$this->yystack[$this->yyidx + 0]->minor; }
#line 2206 "smarty_internal_templateparser.php"
#line 352 "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 2216 "smarty_internal_templateparser.php"
#line 363 "smarty_internal_templateparser.y"
function yy_r101(){ $this->_retvalue = "(". $this->yystack[$this->yyidx + -1]->minor .")"; }
#line 2219 "smarty_internal_templateparser.php"
#line 369 "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 2224 "smarty_internal_templateparser.php"
#line 373 "smarty_internal_templateparser.y"
function yy_r105(){ $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 2227 "smarty_internal_templateparser.php"
#line 382 "smarty_internal_templateparser.y"
function yy_r106(){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 2237 "smarty_internal_templateparser.php"
#line 391 "smarty_internal_templateparser.y"
function yy_r107(){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 2245 "smarty_internal_templateparser.php"
#line 400 "smarty_internal_templateparser.y"
function yy_r109(){$this->_retvalue = '$_smarty_tpl->getConfigVariable(\''. $this->yystack[$this->yyidx + -1]->minor .'\')'; }
#line 2248 "smarty_internal_templateparser.php"
#line 401 "smarty_internal_templateparser.y"
function yy_r110(){$this->_retvalue = '$_smarty_tpl->getConfigVariable('. $this->yystack[$this->yyidx + -1]->minor .')'; }
#line 2251 "smarty_internal_templateparser.php"
#line 404 "smarty_internal_templateparser.y"
function yy_r111(){$this->_retvalue = array('var'=>$this->yystack[$this->yyidx + -1]->minor, 'smarty_internal_index'=>$this->yystack[$this->yyidx + 0]->minor); }
#line 2254 "smarty_internal_templateparser.php"
#line 410 "smarty_internal_templateparser.y"
function yy_r112(){$this->_retvalue = $this->yystack[$this->yyidx + -1]->minor.$this->yystack[$this->yyidx + 0]->minor; }
#line 2257 "smarty_internal_templateparser.php"
#line 412 "smarty_internal_templateparser.y"
function yy_r113(){return; }
#line 2260 "smarty_internal_templateparser.php"
#line 416 "smarty_internal_templateparser.y"
function yy_r114(){ $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 2263 "smarty_internal_templateparser.php"
#line 417 "smarty_internal_templateparser.y"
function yy_r115(){ $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 2266 "smarty_internal_templateparser.php"
#line 418 "smarty_internal_templateparser.y"
function yy_r116(){ $this->_retvalue = "['". $this->yystack[$this->yyidx + 0]->minor ."']"; }
#line 2269 "smarty_internal_templateparser.php"
#line 419 "smarty_internal_templateparser.y"
function yy_r117(){ $this->_retvalue = "[". $this->yystack[$this->yyidx + 0]->minor ."]"; }
#line 2272 "smarty_internal_templateparser.php"
#line 420 "smarty_internal_templateparser.y"
function yy_r118(){ $this->_retvalue = "[". $this->yystack[$this->yyidx + -1]->minor ."]"; }
#line 2275 "smarty_internal_templateparser.php"
#line 422 "smarty_internal_templateparser.y"
function yy_r119(){ $this->_retvalue = '['.$this->compiler->compileTag('private_special_variable','[\'section\'][\''.$this->yystack[$this->yyidx + -1]->minor.'\'][\'index\']').']'; }
#line 2278 "smarty_internal_templateparser.php"
#line 423 "smarty_internal_templateparser.y"
function yy_r120(){ $this->_retvalue = '['.$this->compiler->compileTag('private_special_variable','[\'section\'][\''.$this->yystack[$this->yyidx + -3]->minor.'\'][\''.$this->yystack[$this->yyidx + -1]->minor.'\']').']'; }
#line 2281 "smarty_internal_templateparser.php"
#line 427 "smarty_internal_templateparser.y"
function yy_r122(){$this->_retvalue = ''; }
#line 2284 "smarty_internal_templateparser.php"
#line 435 "smarty_internal_templateparser.y"
function yy_r124(){$this->_retvalue = $this->yystack[$this->yyidx + -1]->minor.'.'.$this->yystack[$this->yyidx + 0]->minor; }
#line 2287 "smarty_internal_templateparser.php"
#line 437 "smarty_internal_templateparser.y"
function yy_r125(){$this->_retvalue = '\''.$this->yystack[$this->yyidx + 0]->minor.'\''; }
#line 2290 "smarty_internal_templateparser.php"
#line 439 "smarty_internal_templateparser.y"
function yy_r126(){$this->_retvalue = '('.$this->yystack[$this->yyidx + -1]->minor.')'; }
#line 2293 "smarty_internal_templateparser.php"
#line 444 "smarty_internal_templateparser.y"
function yy_r127(){ 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 2297 "smarty_internal_templateparser.php"
#line 446 "smarty_internal_templateparser.y"
function yy_r128(){ 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 2301 "smarty_internal_templateparser.php"
#line 449 "smarty_internal_templateparser.y"
function yy_r129(){$this->_retvalue = $this->yystack[$this->yyidx + 0]->minor; }
#line 2304 "smarty_internal_templateparser.php"
#line 451 "smarty_internal_templateparser.y"
function yy_r130(){$this->_retvalue = $this->yystack[$this->yyidx + -1]->minor.$this->yystack[$this->yyidx + 0]->minor; }
#line 2307 "smarty_internal_templateparser.php"
#line 453 "smarty_internal_templateparser.y"
function yy_r131(){ $this->_retvalue = '->'.$this->yystack[$this->yyidx + -1]->minor.$this->yystack[$this->yyidx + 0]->minor; }
#line 2310 "smarty_internal_templateparser.php"
#line 454 "smarty_internal_templateparser.y"
function yy_r132(){ $this->_retvalue = '->{'.$this->yystack[$this->yyidx + -1]->minor.$this->yystack[$this->yyidx + 0]->minor.'}'; }
#line 2313 "smarty_internal_templateparser.php"
#line 455 "smarty_internal_templateparser.y"
function yy_r133(){ $this->_retvalue = '->{'.$this->yystack[$this->yyidx + -2]->minor.$this->yystack[$this->yyidx + 0]->minor.'}'; }
#line 2316 "smarty_internal_templateparser.php"
#line 456 "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 2319 "smarty_internal_templateparser.php"
#line 458 "smarty_internal_templateparser.y"
function yy_r135(){ $this->_retvalue = '->'.$this->yystack[$this->yyidx + 0]->minor; }
#line 2322 "smarty_internal_templateparser.php"
#line 464 "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 2331 "smarty_internal_templateparser.php"
#line 475 "smarty_internal_templateparser.y"
function yy_r137(){ $this->_retvalue = $this->yystack[$this->yyidx + -3]->minor . "(". $this->yystack[$this->yyidx + -1]->minor .")"; }
#line 2334 "smarty_internal_templateparser.php"
#line 477 "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 2337 "smarty_internal_templateparser.php"
#line 481 "smarty_internal_templateparser.y"
function yy_r139(){ $this->_retvalue = $this->yystack[$this->yyidx + -2]->minor.",".$this->yystack[$this->yyidx + 0]->minor; }
#line 2340 "smarty_internal_templateparser.php"
#line 485 "smarty_internal_templateparser.y"
function yy_r141(){ return; }
#line 2343 "smarty_internal_templateparser.php"
#line 490 "smarty_internal_templateparser.y"
function yy_r142(){ $this->_retvalue = $this->yystack[$this->yyidx + 0]->minor; }
#line 2346 "smarty_internal_templateparser.php"
#line 495 "smarty_internal_templateparser.y"
function yy_r145(){ $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 2349 "smarty_internal_templateparser.php"
#line 502 "smarty_internal_templateparser.y"
function yy_r148(){ $this->_retvalue = '$'.$this->yystack[$this->yyidx + -1]->minor.$this->yystack[$this->yyidx + 0]->minor; }
#line 2352 "smarty_internal_templateparser.php"
#line 504 "smarty_internal_templateparser.y"
function yy_r149(){ $this->_retvalue = '$'.$this->yystack[$this->yyidx + -2]->minor.$this->yystack[$this->yyidx + -1]->minor.$this->yystack[$this->yyidx + 0]->minor; }
#line 2355 "smarty_internal_templateparser.php"
#line 515 "smarty_internal_templateparser.y"
function yy_r150(){ $this->_retvalue = $this->yystack[$this->yyidx + -1]->minor.$this->yystack[$this->yyidx + 0]->minor; }
#line 2358 "smarty_internal_templateparser.php"
#line 519 "smarty_internal_templateparser.y"
function yy_r152(){$this->_retvalue = ','.$this->yystack[$this->yyidx + 0]->minor; }
#line 2361 "smarty_internal_templateparser.php"
#line 523 "smarty_internal_templateparser.y"
function yy_r154(){$this->_retvalue = '=='; }
#line 2364 "smarty_internal_templateparser.php"
#line 524 "smarty_internal_templateparser.y"
function yy_r155(){$this->_retvalue = '!='; }
#line 2367 "smarty_internal_templateparser.php"
#line 525 "smarty_internal_templateparser.y"
function yy_r156(){$this->_retvalue = '>'; }
#line 2370 "smarty_internal_templateparser.php"
#line 526 "smarty_internal_templateparser.y"
function yy_r157(){$this->_retvalue = '<'; }
#line 2373 "smarty_internal_templateparser.php"
#line 527 "smarty_internal_templateparser.y"
function yy_r158(){$this->_retvalue = '>='; }
#line 2376 "smarty_internal_templateparser.php"
#line 528 "smarty_internal_templateparser.y"
function yy_r159(){$this->_retvalue = '<='; }
#line 2379 "smarty_internal_templateparser.php"
#line 529 "smarty_internal_templateparser.y"
function yy_r160(){$this->_retvalue = '==='; }
#line 2382 "smarty_internal_templateparser.php"
#line 530 "smarty_internal_templateparser.y"
function yy_r161(){$this->_retvalue = '!=='; }
#line 2385 "smarty_internal_templateparser.php"
#line 531 "smarty_internal_templateparser.y"
function yy_r162(){$this->_retvalue = '%'; }
#line 2388 "smarty_internal_templateparser.php"
#line 533 "smarty_internal_templateparser.y"
function yy_r163(){$this->_retvalue = '&&'; }
#line 2391 "smarty_internal_templateparser.php"
#line 534 "smarty_internal_templateparser.y"
function yy_r164(){$this->_retvalue = '||'; }
#line 2394 "smarty_internal_templateparser.php"
#line 535 "smarty_internal_templateparser.y"
function yy_r165(){$this->_retvalue = ' XOR '; }
#line 2397 "smarty_internal_templateparser.php"
#line 540 "smarty_internal_templateparser.y"
function yy_r166(){ $this->_retvalue = 'array('.$this->yystack[$this->yyidx + -1]->minor.')'; }
#line 2400 "smarty_internal_templateparser.php"
#line 542 "smarty_internal_templateparser.y"
function yy_r168(){ $this->_retvalue = $this->yystack[$this->yyidx + -2]->minor.','.$this->yystack[$this->yyidx + 0]->minor; }
#line 2403 "smarty_internal_templateparser.php"
#line 543 "smarty_internal_templateparser.y"
function yy_r169(){ return; }
#line 2406 "smarty_internal_templateparser.php"
#line 544 "smarty_internal_templateparser.y"
function yy_r170(){ $this->_retvalue = $this->yystack[$this->yyidx + -2]->minor.'=>'.$this->yystack[$this->yyidx + 0]->minor; }
#line 2409 "smarty_internal_templateparser.php"
#line 545 "smarty_internal_templateparser.y"
function yy_r171(){ $this->_retvalue = '\''.$this->yystack[$this->yyidx + -2]->minor.'\'=>'.$this->yystack[$this->yyidx + 0]->minor; }
#line 2412 "smarty_internal_templateparser.php"
#line 552 "smarty_internal_templateparser.y"
function yy_r173(){ $this->_retvalue = "''"; }
#line 2415 "smarty_internal_templateparser.php"
#line 553 "smarty_internal_templateparser.y"
function yy_r174(){ $this->_retvalue = $this->yystack[$this->yyidx + -1]->minor->to_smarty_php(); }
#line 2418 "smarty_internal_templateparser.php"
#line 555 "smarty_internal_templateparser.y"
function yy_r175(){ $this->yystack[$this->yyidx + -1]->minor->append_subtree($this->yystack[$this->yyidx + 0]->minor); $this->_retvalue = $this->yystack[$this->yyidx + -1]->minor; }
#line 2421 "smarty_internal_templateparser.php"
#line 556 "smarty_internal_templateparser.y"
function yy_r176(){ $this->_retvalue = new _smarty_doublequoted($this, $this->yystack[$this->yyidx + 0]->minor); }
#line 2424 "smarty_internal_templateparser.php"
#line 558 "smarty_internal_templateparser.y"
function yy_r177(){ $this->_retvalue = new _smarty_code($this, $this->yystack[$this->yyidx + -1]->minor); }
#line 2427 "smarty_internal_templateparser.php"
#line 560 "smarty_internal_templateparser.y"
function yy_r179(){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 2436 "smarty_internal_templateparser.php"
#line 568 "smarty_internal_templateparser.y"
function yy_r181(){ $this->_retvalue = new _smarty_code($this, '('.$this->yystack[$this->yyidx + -1]->minor.')'); }
#line 2439 "smarty_internal_templateparser.php"
#line 569 "smarty_internal_templateparser.y"
function yy_r182(){
$this->_retvalue = new _smarty_tag($this, $this->yystack[$this->yyidx + 0]->minor);
}
#line 2444 "smarty_internal_templateparser.php"
#line 572 "smarty_internal_templateparser.y"
function yy_r183(){ $this->_retvalue = new _smarty_dq_content($this, $this->yystack[$this->yyidx + 0]->minor); }
#line 2447 "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 2510 "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 2528 "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);
}
}
?>