mirror of
				https://github.com/smarty-php/smarty.git
				synced 2025-10-30 20:01:37 +01:00 
			
		
		
		
	
		
			
				
	
	
		
			2453 lines
		
	
	
		
			128 KiB
		
	
	
	
		
			PHP
		
	
	
	
	
	
			
		
		
	
	
			2453 lines
		
	
	
		
			128 KiB
		
	
	
	
		
			PHP
		
	
	
	
	
	
| <?php
 | |
| /**
 | |
| * Smarty Internal Plugin Templateparser
 | |
| *
 | |
| * This is the template parser.
 | |
| * It is generated from the internal.templateparser.y file
 | |
| * @package Smarty
 | |
| * @subpackage Compiler
 | |
| * @author Uwe Tews
 | |
| */
 | |
| 
 | |
| class TP_yyToken implements ArrayAccess
 | |
| {
 | |
|     public $string = '';
 | |
|     public $metadata = array();
 | |
| 
 | |
|     function __construct($s, $m = array())
 | |
|     {
 | |
|         if ($s instanceof TP_yyToken) {
 | |
|             $this->string = $s->string;
 | |
|             $this->metadata = $s->metadata;
 | |
|         } else {
 | |
|             $this->string = (string) $s;
 | |
|             if ($m instanceof TP_yyToken) {
 | |
|                 $this->metadata = $m->metadata;
 | |
|             } elseif (is_array($m)) {
 | |
|                 $this->metadata = $m;
 | |
|             }
 | |
|         }
 | |
|     }
 | |
| 
 | |
|     function __toString()
 | |
|     {
 | |
|         return $this->_string;
 | |
|     }
 | |
| 
 | |
|     function offsetExists($offset)
 | |
|     {
 | |
|         return isset($this->metadata[$offset]);
 | |
|     }
 | |
| 
 | |
|     function offsetGet($offset)
 | |
|     {
 | |
|         return $this->metadata[$offset];
 | |
|     }
 | |
| 
 | |
|     function offsetSet($offset, $value)
 | |
|     {
 | |
|         if ($offset === null) {
 | |
|             if (isset($value[0])) {
 | |
|                 $x = ($value instanceof TP_yyToken) ?
 | |
|                     $value->metadata : $value;
 | |
|                 $this->metadata = array_merge($this->metadata, $x);
 | |
|                 return;
 | |
|             }
 | |
|             $offset = count($this->metadata);
 | |
|         }
 | |
|         if ($value === null) {
 | |
|             return;
 | |
|         }
 | |
|         if ($value instanceof TP_yyToken) {
 | |
|             if ($value->metadata) {
 | |
|                 $this->metadata[$offset] = $value->metadata;
 | |
|             }
 | |
|         } elseif ($value) {
 | |
|             $this->metadata[$offset] = $value;
 | |
|         }
 | |
|     }
 | |
| 
 | |
|     function offsetUnset($offset)
 | |
|     {
 | |
|         unset($this->metadata[$offset]);
 | |
|     }
 | |
| }
 | |
| 
 | |
| class TP_yyStackEntry
 | |
| {
 | |
|     public $stateno;       /* The state-number */
 | |
|     public $major;         /* The major token value.  This is the code
 | |
|                      ** number for the token at this stack level */
 | |
|     public $minor; /* The user-supplied minor token value.  This
 | |
|                      ** is the value of the token  */
 | |
| };
 | |
| 
 | |
| 
 | |
| #line 12 "smarty_internal_templateparser.y"
 | |
| class Smarty_Internal_Templateparser#line 79 "smarty_internal_templateparser.php"
 | |
| {
 | |
| #line 14 "smarty_internal_templateparser.y"
 | |
| 
 | |
|     // states whether the parse was successful or not
 | |
|     public $successful = true;
 | |
|     public $retvalue = 0;
 | |
|     private $lex;
 | |
|     private $internalError = false;
 | |
| 
 | |
|     function __construct($lex, $compiler) {
 | |
|         // set instance object
 | |
|         self::instance($this); 
 | |
|         $this->lex = $lex;
 | |
|         $this->compiler = $compiler;
 | |
|         $this->smarty = $this->compiler->smarty;
 | |
|         $this->template = $this->compiler->template;
 | |
|         if ($this->template->security && isset($this->smarty->security_handler)) {
 | |
|               $this->sec_obj = $this->smarty->security_policy;
 | |
|         } else {
 | |
|               $this->sec_obj = $this->smarty;
 | |
|         }
 | |
|         $this->cacher = $this->template->cacher_object; 
 | |
|         $this->compiler->has_variable_string = false;
 | |
| 				$this->compiler->prefix_code = array();
 | |
| 				$this->prefix_number = 0;
 | |
|     }
 | |
|     public static function &instance($new_instance = null)
 | |
|     {
 | |
|         static $instance = null;
 | |
|         if (isset($new_instance) && is_object($new_instance))
 | |
|             $instance = $new_instance;
 | |
|         return $instance;
 | |
|     }
 | |
|     
 | |
| #line 115 "smarty_internal_templateparser.php"
 | |
| 
 | |
|     const TP_COMMENT                        =  1;
 | |
|     const TP_PHP                            =  2;
 | |
|     const TP_OTHER                          =  3;
 | |
|     const TP_SHORTTAGEND                    =  4;
 | |
|     const TP_SHORTTAGSTART                  =  5;
 | |
|     const TP_XML                            =  6;
 | |
|     const TP_LDEL                           =  7;
 | |
|     const TP_RDEL                           =  8;
 | |
|     const TP_DOLLAR                         =  9;
 | |
|     const TP_ID                             = 10;
 | |
|     const TP_EQUAL                          = 11;
 | |
|     const TP_FOREACH                        = 12;
 | |
|     const TP_PTR                            = 13;
 | |
|     const TP_IF                             = 14;
 | |
|     const TP_SPACE                          = 15;
 | |
|     const TP_FOR                            = 16;
 | |
|     const TP_SEMICOLON                      = 17;
 | |
|     const TP_INCDEC                         = 18;
 | |
|     const TP_TO                             = 19;
 | |
|     const TP_AS                             = 20;
 | |
|     const TP_APTR                           = 21;
 | |
|     const TP_LDELSLASH                      = 22;
 | |
|     const TP_INTEGER                        = 23;
 | |
|     const TP_COMMA                          = 24;
 | |
|     const TP_COLON                          = 25;
 | |
|     const TP_UNIMATH                        = 26;
 | |
|     const TP_OPENP                          = 27;
 | |
|     const TP_CLOSEP                         = 28;
 | |
|     const TP_QMARK                          = 29;
 | |
|     const TP_MATH                           = 30;
 | |
|     const TP_ANDSYM                         = 31;
 | |
|     const TP_TYPECAST                       = 32;
 | |
|     const TP_DOT                            = 33;
 | |
|     const TP_BOOLEAN                        = 34;
 | |
|     const TP_NULL                           = 35;
 | |
|     const TP_SINGLEQUOTESTRING              = 36;
 | |
|     const TP_QUOTE                          = 37;
 | |
|     const TP_DOUBLECOLON                    = 38;
 | |
|     const TP_AT                             = 39;
 | |
|     const TP_HATCH                          = 40;
 | |
|     const TP_OPENB                          = 41;
 | |
|     const TP_CLOSEB                         = 42;
 | |
|     const TP_VERT                           = 43;
 | |
|     const TP_NOT                            = 44;
 | |
|     const TP_ISIN                           = 45;
 | |
|     const TP_ISDIVBY                        = 46;
 | |
|     const TP_ISNOTDIVBY                     = 47;
 | |
|     const TP_ISEVEN                         = 48;
 | |
|     const TP_ISNOTEVEN                      = 49;
 | |
|     const TP_ISEVENBY                       = 50;
 | |
|     const TP_ISNOTEVENBY                    = 51;
 | |
|     const TP_ISODD                          = 52;
 | |
|     const TP_ISNOTODD                       = 53;
 | |
|     const TP_ISODDBY                        = 54;
 | |
|     const TP_ISNOTODDBY                     = 55;
 | |
|     const TP_INSTANCEOF                     = 56;
 | |
|     const TP_EQUALS                         = 57;
 | |
|     const TP_NOTEQUALS                      = 58;
 | |
|     const TP_GREATERTHAN                    = 59;
 | |
|     const TP_LESSTHAN                       = 60;
 | |
|     const TP_GREATEREQUAL                   = 61;
 | |
|     const TP_LESSEQUAL                      = 62;
 | |
|     const TP_IDENTITY                       = 63;
 | |
|     const TP_NONEIDENTITY                   = 64;
 | |
|     const TP_MOD                            = 65;
 | |
|     const TP_LAND                           = 66;
 | |
|     const TP_LOR                            = 67;
 | |
|     const TP_LXOR                           = 68;
 | |
|     const TP_BACKTICK                       = 69;
 | |
|     const TP_DOLLARID                       = 70;
 | |
|     const YY_NO_ACTION = 545;
 | |
|     const YY_ACCEPT_ACTION = 544;
 | |
|     const YY_ERROR_ACTION = 543;
 | |
| 
 | |
|     const YY_SZ_ACTTAB = 1350;
 | |
| static public $yy_action = array(
 | |
|  /*     0 */    15,   47,   84,   49,  174,   90,  250,  198,  121,  204,
 | |
|  /*    10 */   242,  269,   39,  170,   32,  108,  196,  306,   35,   46,
 | |
|  /*    20 */    11,  149,  260,  294,  314,   63,  307,  293,  292,  272,
 | |
|  /*    30 */    48,  171,   17,   53,   13,   15,   32,   86,  182,  306,
 | |
|  /*    40 */    35,  284,  227,  128,  199,  159,  212,   89,  257,   32,
 | |
|  /*    50 */   108,  196,  306,  250,   46,    4,  271,  242,  269,  112,
 | |
|  /*    60 */    63,  277,  293,  292,  272,   48,  186,  285,   53,   13,
 | |
|  /*    70 */   327,   15,   12,   81,  175,  187,  349,  179,  409,   32,
 | |
|  /*    80 */   333,  209,  306,  186,   18,  179,  108,  196,  304,  172,
 | |
|  /*    90 */    46,   33,   89,  206,   32,  329,   63,  306,  293,  292,
 | |
|  /*   100 */   272,   48,  236,  186,   53,   13,  264,   15,  254,   76,
 | |
|  /*   110 */   182,  179,  285,  284,  234,   31,  199,   52,   88,   89,
 | |
|  /*   120 */   250,   40,  108,  196,  242,  269,   46,    4,  271,   81,
 | |
|  /*   130 */   220,  112,   63,  277,  293,  292,  272,   48,   38,  285,
 | |
|  /*   140 */    53,   13,  129,   15,   12,   86,  182,  169,   30,  284,
 | |
|  /*   150 */    82,   20,   71,   61,   92,   74,  186,  294,  108,  196,
 | |
|  /*   160 */    53,  225,   46,   33,  271,  214,  186,  112,   63,  277,
 | |
|  /*   170 */   293,  292,  272,   48,  179,  285,   53,   13,  352,    3,
 | |
|  /*   180 */     2,  270,  355,    5,    7,  338,  323,   10,    9,   15,
 | |
|  /*   190 */   203,   86,  182,   32,  337,   25,  306,   81,  147,  325,
 | |
|  /*   200 */   326,  322,  186,  205,  108,  196,  286,  208,   46,   11,
 | |
|  /*   210 */   544,   67,  246,  330,   63,  312,  293,  292,  272,   48,
 | |
|  /*   220 */    27,   23,   53,   13,   15,  219,   86,  176,   53,   16,
 | |
|  /*   230 */    32,   32,  334,  306,  306,  284,  344,   17,  199,  108,
 | |
|  /*   240 */   196,   89,  195,   46,   11,  150,  321,  347,  128,   63,
 | |
|  /*   250 */   345,  293,  292,  272,   48,  277,  148,   53,   13,  193,
 | |
|  /*   260 */   217,  285,  212,  153,    3,    2,  270,  355,    5,    7,
 | |
|  /*   270 */   338,  323,   10,    9,    3,    2,  270,  355,    5,    7,
 | |
|  /*   280 */   338,  323,   10,    9,  325,  326,  322,   15,   32,   86,
 | |
|  /*   290 */   177,  306,   26,  319,  325,  326,  322,  275,  274,  247,
 | |
|  /*   300 */   179,  167,  108,  196,  303,  179,   46,   33,  304,  210,
 | |
|  /*   310 */   339,  179,   63,   24,  293,  292,  272,   48,  142,   17,
 | |
|  /*   320 */    53,   13,   15,  173,   81,  184,  233,   54,  284,  227,
 | |
|  /*   330 */   128,  199,  159,  294,   89,  163,  186,  108,  196,  186,
 | |
|  /*   340 */   307,   46,   33,  271,   81,  173,  112,   63,  277,  293,
 | |
|  /*   350 */   292,  272,   48,   17,  285,   53,   13,   15,   37,   81,
 | |
|  /*   360 */   183,  331,   29,  348,  128,   41,   19,   83,  255,  419,
 | |
|  /*   370 */    36,  132,  108,  196,  310,   53,   46,   33,   22,   55,
 | |
|  /*   380 */   230,  238,   63,   17,  293,  292,  272,   48,   22,  226,
 | |
|  /*   390 */    53,   13,  266,  252,  128,  186,  224,   42,  245,    3,
 | |
|  /*   400 */     2,  270,  355,    5,    7,  338,  323,   10,    9,  340,
 | |
|  /*   410 */   341,  342,  343,  350,  351,  358,  359,  360,   47,  325,
 | |
|  /*   420 */   326,  322,  315,    3,    2,  270,  355,    5,    7,  338,
 | |
|  /*   430 */   323,   10,    9,   15,  228,   81,  178,  127,  174,   32,
 | |
|  /*   440 */   280,  131,  306,  325,  326,  322,   39,  291,  108,  188,
 | |
|  /*   450 */   361,  330,  294,   33,  179,  186,  294,  282,   63,  295,
 | |
|  /*   460 */   293,  292,  272,   48,  179,  295,   53,   13,   15,  295,
 | |
|  /*   470 */    81,  184,  165,  324,  221,  354,  283,  223,  356,   15,
 | |
|  /*   480 */   232,  189,  186,  108,  196,   50,  241,  239,   33,  262,
 | |
|  /*   490 */   200,  240,  186,   63,  108,  293,  292,  272,   48,  134,
 | |
|  /*   500 */   173,   53,   13,   15,  310,   81,  184,   68,   40,  284,
 | |
|  /*   510 */    82,  186,   72,   51,   92,   74,  161,   32,  108,  196,
 | |
|  /*   520 */   192,  307,  244,   33,  271,  123,   58,  112,   63,  277,
 | |
|  /*   530 */   293,  292,  272,   48,   56,  285,   53,  241,   15,   80,
 | |
|  /*   540 */    81,  185,  135,  151,  110,   69,  124,  280,  307,  284,
 | |
|  /*   550 */   297,  168,  199,  108,  196,   89,   60,  294,   33,  279,
 | |
|  /*   560 */   279,  294,  186,   63,   42,  293,  292,  272,   48,  277,
 | |
|  /*   570 */   295,   53,  186,  259,   42,  285,  340,  341,  342,  343,
 | |
|  /*   580 */   350,  351,  358,  359,  360,  126,  340,  341,  342,  343,
 | |
|  /*   590 */   350,  351,  358,  359,  360,  284,  190,   91,  199,   66,
 | |
|  /*   600 */   412,   89,  263,  115,   98,  201,   21,  412,   47,  137,
 | |
|  /*   610 */   271,   87,   70,  112,  173,  277,  284,  190,  279,  199,
 | |
|  /*   620 */    66,  285,   89,  276,  294,  104,  353,  279,   27,  218,
 | |
|  /*   630 */   140,  271,   89,  141,  112,  173,  277,  214,  173,  309,
 | |
|  /*   640 */   284,  190,  285,  199,   64,  294,   89,  353,  294,   95,
 | |
|  /*   650 */    32,  305,  285,  180,   89,  271,  231,  288,  112,   89,
 | |
|  /*   660 */   277,  160,  284,  296,  179,  199,  285,  195,   89,   78,
 | |
|  /*   670 */   113,  353,  284,  190,  285,  199,   66,  271,   89,  285,
 | |
|  /*   680 */   111,  105,  277,  304,  258,  279,  143,  271,  285,  109,
 | |
|  /*   690 */   112,  179,  277,  284,  190,  268,  199,   66,  285,   89,
 | |
|  /*   700 */   287,  294,  102,  353,  279,  317,    1,  179,  271,  318,
 | |
|  /*   710 */    73,  112,  179,  277,  290,  116,  179,  284,  190,  285,
 | |
|  /*   720 */   199,   66,  273,   89,  353,  279,   96,   23,  213,  179,
 | |
|  /*   730 */   279,  289,  271,  215,   45,  112,  313,  277,  179,  284,
 | |
|  /*   740 */   296,  114,  199,  285,  298,   89,  253,   28,  353,  284,
 | |
|  /*   750 */   190,  179,  199,   66,  271,   89,  279,  117,  101,  277,
 | |
|  /*   760 */   346,  301,  332,  130,  271,  285,  133,  112,  179,  277,
 | |
|  /*   770 */   284,  190,  251,  199,   65,  285,   89,  299,  294,   97,
 | |
|  /*   780 */   353,  294,  336,  278,  179,  271,  281,  138,  112,  179,
 | |
|  /*   790 */   277,  211,  311,  179,  284,  190,  285,  199,   66,  328,
 | |
|  /*   800 */    89,  353,  294,   99,   34,  265,  179,   79,  335,  271,
 | |
|  /*   810 */    85,  261,  112,   77,  277,  179,  284,  296,   44,  199,
 | |
|  /*   820 */   285,  300,   89,  145,  310,  353,  284,  190,  179,  199,
 | |
|  /*   830 */    66,  271,   89,  314,  107,  106,  277,  302,  294,  139,
 | |
|  /*   840 */    93,  271,  285,    6,  112,  235,  277,  284,  190,   14,
 | |
|  /*   850 */   199,   66,  285,   89,  294,  179,  103,  353,   43,   75,
 | |
|  /*   860 */   256,  207,  271,  202,  108,  112,  235,  277,  146,  243,
 | |
|  /*   870 */    14,  284,  190,  285,  199,   66,    8,   89,  353,  248,
 | |
|  /*   880 */   100,  295,  295,  295,  295,  108,  271,  295,  295,  112,
 | |
|  /*   890 */   295,  277,  295,  284,  191,  295,  199,  285,  295,   89,
 | |
|  /*   900 */   237,  295,  353,  284,  296,  295,  199,  119,  197,   89,
 | |
|  /*   910 */   295,   62,  267,  277,  295,  295,  295,  295,  271,  285,
 | |
|  /*   920 */   295,  112,  295,  277,  284,  296,  229,  199,  119,  285,
 | |
|  /*   930 */    89,  295,   62,  267,  295,  295,  295,  295,  295,  271,
 | |
|  /*   940 */   295,  295,  112,  295,  277,  295,  295,  316,  284,  296,
 | |
|  /*   950 */   285,  199,  119,  295,   89,  295,  295,  320,  295,  295,
 | |
|  /*   960 */   295,  295,  216,  271,  179,  295,  112,  295,  277,  295,
 | |
|  /*   970 */   295,  222,  295,  295,  285,  295,   17,  295,  284,  296,
 | |
|  /*   980 */   295,  199,   57,   94,   89,  284,  296,  128,  199,  119,
 | |
|  /*   990 */   295,   89,  186,  271,  295,  295,  112,  295,  277,  295,
 | |
|  /*  1000 */   271,  295,  295,  112,  285,  277,  295,  295,  194,  295,
 | |
|  /*  1010 */   295,  285,  295,  295,  295,  284,  181,  295,  199,  162,
 | |
|  /*  1020 */   249,   89,  295,  295,  295,  284,  296,  295,  199,  152,
 | |
|  /*  1030 */   271,   89,  295,  112,  295,  277,  295,  295,  295,  295,
 | |
|  /*  1040 */   271,  285,  295,  112,  295,  277,  295,  295,  295,  295,
 | |
|  /*  1050 */   295,  285,  295,  295,  284,  296,  295,  199,  154,  295,
 | |
|  /*  1060 */    89,  284,  296,  295,  199,  120,  295,   89,  295,  271,
 | |
|  /*  1070 */   295,  295,  112,  295,  277,  295,  271,  295,  295,  112,
 | |
|  /*  1080 */   285,  277,  295,  295,  295,  295,  295,  285,  295,  295,
 | |
|  /*  1090 */   295,  284,  296,  295,  199,  136,  295,   89,  295,  295,
 | |
|  /*  1100 */   295,  284,  296,  295,  199,  164,  271,   89,  295,  112,
 | |
|  /*  1110 */   295,  277,  295,  295,  295,  295,  271,  285,  295,  112,
 | |
|  /*  1120 */   295,  277,  295,  295,  295,  295,  295,  285,  295,  295,
 | |
|  /*  1130 */   284,  296,  295,  199,  118,  295,   89,  284,  296,  295,
 | |
|  /*  1140 */   199,  157,  295,   89,  295,  271,  295,  295,  112,  295,
 | |
|  /*  1150 */   277,  295,  271,  295,  295,  112,  285,  277,  295,  295,
 | |
|  /*  1160 */   295,  295,  295,  285,  295,  295,  295,  284,  296,  295,
 | |
|  /*  1170 */   199,  125,  295,   89,  295,  295,  295,  284,  296,  295,
 | |
|  /*  1180 */   199,  155,  271,   89,  295,  112,  295,  277,  295,  295,
 | |
|  /*  1190 */   295,  295,  271,  285,  295,  112,  295,  277,  295,  295,
 | |
|  /*  1200 */   295,  295,  295,  285,  295,  295,  284,  296,  295,  199,
 | |
|  /*  1210 */    59,  295,   89,  284,  296,  295,  199,  122,  295,   89,
 | |
|  /*  1220 */   295,  271,  295,  295,  112,  295,  277,  295,  271,  295,
 | |
|  /*  1230 */   295,  112,  285,  277,  295,  295,  295,  295,  295,  285,
 | |
|  /*  1240 */   295,  295,  295,  284,  296,  295,  199,  156,  295,   89,
 | |
|  /*  1250 */   295,  295,  295,  284,  296,  295,  199,  158,  271,   89,
 | |
|  /*  1260 */   295,  112,  295,  277,  295,  295,  295,  295,  271,  285,
 | |
|  /*  1270 */   295,  112,  295,  277,  295,  295,  295,  295,  295,  285,
 | |
|  /*  1280 */   295,  295,  284,  296,  295,  199,  144,  295,   89,  284,
 | |
|  /*  1290 */   296,  295,  199,  166,  295,   89,  295,  271,  295,  295,
 | |
|  /*  1300 */   112,  295,  277,  295,  271,  295,  295,  112,  285,  277,
 | |
|  /*  1310 */   295,  295,  295,  295,  295,  285,  295,  295,  295,  284,
 | |
|  /*  1320 */   308,  295,  199,  284,  357,   89,  199,  295,  295,   89,
 | |
|  /*  1330 */   295,  295,  295,  295,  295,  295,  295,  295,  295,  277,
 | |
|  /*  1340 */   295,  295,  295,  277,  295,  285,  295,  295,  295,  285,
 | |
|     );
 | |
|     static public $yy_lookahead = array(
 | |
|  /*     0 */     7,   13,    9,   10,   33,   12,   26,   14,   77,   16,
 | |
|  /*    10 */    30,   31,   41,   82,    7,   22,   23,   10,   11,   26,
 | |
|  /*    20 */    27,   99,   42,   92,  102,   32,  104,   34,   35,   36,
 | |
|  /*    30 */    37,    8,   27,   40,   41,    7,    7,    9,   10,   10,
 | |
|  /*    40 */    11,   75,   76,   38,   78,   79,   39,   81,    8,    7,
 | |
|  /*    50 */    22,   23,   10,   26,   26,   27,   90,   30,   31,   93,
 | |
|  /*    60 */    32,   95,   34,   35,   36,   37,   43,  101,   40,   41,
 | |
|  /*    70 */     8,    7,   44,    9,   10,  109,  110,   15,    8,    7,
 | |
|  /*    80 */     8,   39,   10,   43,   24,   15,   22,   23,   18,   78,
 | |
|  /*    90 */    26,   27,   81,   21,    7,    8,   32,   10,   34,   35,
 | |
|  /*   100 */    36,   37,    8,   43,   40,   41,   42,    7,   97,    9,
 | |
|  /*   110 */    10,   15,  101,   75,   76,   29,   78,   79,   80,   81,
 | |
|  /*   120 */    26,   25,   22,   23,   30,   31,   26,   27,   90,    9,
 | |
|  /*   130 */    10,   93,   32,   95,   34,   35,   36,   37,   25,  101,
 | |
|  /*   140 */    40,   41,   77,    7,   44,    9,   10,   82,   25,   75,
 | |
|  /*   150 */    76,   11,   78,   79,   80,   81,   43,   92,   22,   23,
 | |
|  /*   160 */    40,   28,   26,   27,   90,   25,   43,   93,   32,   95,
 | |
|  /*   170 */    34,   35,   36,   37,   15,  101,   40,   41,    4,   46,
 | |
|  /*   180 */    47,   48,   49,   50,   51,   52,   53,   54,   55,    7,
 | |
|  /*   190 */    10,    9,   10,    7,    8,    7,   10,    9,   10,   66,
 | |
|  /*   200 */    67,   68,   43,   23,   22,   23,   40,   21,   26,   27,
 | |
|  /*   210 */    72,   73,   74,   75,   32,  104,   34,   35,   36,   37,
 | |
|  /*   220 */    11,   11,   40,   41,    7,    3,    9,   10,   40,   24,
 | |
|  /*   230 */     7,    7,    8,   10,   10,   75,   76,   27,   78,   22,
 | |
|  /*   240 */    23,   81,   33,   26,   27,   17,   28,   42,   38,   32,
 | |
|  /*   250 */    90,   34,   35,   36,   37,   95,   17,   40,   41,    9,
 | |
|  /*   260 */    10,  101,   39,   24,   46,   47,   48,   49,   50,   51,
 | |
|  /*   270 */    52,   53,   54,   55,   46,   47,   48,   49,   50,   51,
 | |
|  /*   280 */    52,   53,   54,   55,   66,   67,   68,    7,    7,    9,
 | |
|  /*   290 */    10,   10,   11,    8,   66,   67,   68,   10,    8,   18,
 | |
|  /*   300 */    15,    8,   22,   23,    8,   15,   26,   27,   18,   13,
 | |
|  /*   310 */     4,   15,   32,   21,   34,   35,   36,   37,   77,   27,
 | |
|  /*   320 */    40,   41,    7,   82,    9,   10,   39,  100,   75,   76,
 | |
|  /*   330 */    38,   78,   79,   92,   81,   99,   43,   22,   23,   43,
 | |
|  /*   340 */   104,   26,   27,   90,    9,   82,   93,   32,   95,   34,
 | |
|  /*   350 */    35,   36,   37,   27,  101,   40,   41,    7,    7,    9,
 | |
|  /*   360 */    10,    8,   21,  110,   38,    7,   27,    9,   10,   43,
 | |
|  /*   370 */   107,  100,   22,   23,  103,   40,   26,   27,   27,   10,
 | |
|  /*   380 */    28,   23,   32,   27,   34,   35,   36,   37,   27,   33,
 | |
|  /*   390 */    40,   41,   34,   35,   38,   43,    3,   45,   42,   46,
 | |
|  /*   400 */    47,   48,   49,   50,   51,   52,   53,   54,   55,   57,
 | |
|  /*   410 */    58,   59,   60,   61,   62,   63,   64,   65,   13,   66,
 | |
|  /*   420 */    67,   68,   40,   46,   47,   48,   49,   50,   51,   52,
 | |
|  /*   430 */    53,   54,   55,    7,   10,    9,   10,   77,   33,    7,
 | |
|  /*   440 */    28,   77,   10,   66,   67,   68,   41,    8,   22,   23,
 | |
|  /*   450 */    74,   75,   92,   27,   15,   43,   92,    8,   32,  105,
 | |
|  /*   460 */    34,   35,   36,   37,   15,  105,   40,   41,    7,  105,
 | |
|  /*   470 */     9,   10,   83,    1,    2,    3,    4,    5,    6,    7,
 | |
|  /*   480 */    85,   86,   43,   22,   23,   10,   75,   12,   27,   14,
 | |
|  /*   490 */    89,   16,   43,   32,   22,   34,   35,   36,   37,  100,
 | |
|  /*   500 */    82,   40,   41,    7,  103,    9,   10,   96,   25,   75,
 | |
|  /*   510 */    76,   43,   78,   79,   80,   81,   99,    7,   22,   23,
 | |
|  /*   520 */    10,  104,  111,   27,   90,  100,   83,   93,   32,   95,
 | |
|  /*   530 */    34,   35,   36,   37,   83,  101,   40,   75,    7,    9,
 | |
|  /*   540 */     9,   10,   77,   99,   88,   88,   77,   28,  104,   75,
 | |
|  /*   550 */    76,   82,   78,   22,   23,   81,   83,   92,   27,  103,
 | |
|  /*   560 */   103,   92,   43,   32,   45,   34,   35,   36,   37,   95,
 | |
|  /*   570 */   105,   40,   43,  111,   45,  101,   57,   58,   59,   60,
 | |
|  /*   580 */    61,   62,   63,   64,   65,  100,   57,   58,   59,   60,
 | |
|  /*   590 */    61,   62,   63,   64,   65,   75,   76,   28,   78,   79,
 | |
|  /*   600 */     8,   81,   28,   88,   84,   85,   11,   15,   13,   77,
 | |
|  /*   610 */    90,   15,   88,   93,   82,   95,   75,   76,  103,   78,
 | |
|  /*   620 */    79,  101,   81,   10,   92,   84,  106,  103,   11,   78,
 | |
|  /*   630 */    77,   90,   81,   77,   93,   82,   95,   25,   82,   23,
 | |
|  /*   640 */    75,   76,  101,   78,   79,   92,   81,  106,   92,   84,
 | |
|  /*   650 */     7,   78,  101,   10,   81,   90,   78,    8,   93,   81,
 | |
|  /*   660 */    95,   10,   75,   76,   15,   78,  101,   33,   81,    9,
 | |
|  /*   670 */    88,  106,   75,   76,  101,   78,   79,   90,   81,  101,
 | |
|  /*   680 */    93,   84,   95,   18,    8,  103,   77,   90,  101,   88,
 | |
|  /*   690 */    93,   15,   95,   75,   76,    8,   78,   79,  101,   81,
 | |
|  /*   700 */     8,   92,   84,  106,  103,    8,   15,   15,   90,    8,
 | |
|  /*   710 */    88,   93,   15,   95,    8,   88,   15,   75,   76,  101,
 | |
|  /*   720 */    78,   79,    8,   81,  106,  103,   84,   11,   20,   15,
 | |
|  /*   730 */   103,    8,   90,   20,   56,   93,   10,   95,   15,   75,
 | |
|  /*   740 */    76,   88,   78,  101,    8,   81,    8,   29,  106,   75,
 | |
|  /*   750 */    76,   15,   78,   79,   90,   81,  103,   93,   84,   95,
 | |
|  /*   760 */    28,    8,    8,   77,   90,  101,   77,   93,   15,   95,
 | |
|  /*   770 */    75,   76,   42,   78,   79,  101,   81,    8,   92,   84,
 | |
|  /*   780 */   106,   92,    8,   10,   15,   90,    8,   77,   93,   15,
 | |
|  /*   790 */    95,   10,   10,   15,   75,   76,  101,   78,   79,    8,
 | |
|  /*   800 */    81,  106,   92,   84,   19,    8,   15,    9,    8,   90,
 | |
|  /*   810 */     9,   69,   93,    9,   95,   15,   75,   76,   94,   78,
 | |
|  /*   820 */   101,    8,   81,   77,  103,  106,   75,   76,   15,   78,
 | |
|  /*   830 */    79,   90,   81,  102,   93,   84,   95,   92,   92,   77,
 | |
|  /*   840 */    97,   90,  101,  108,   93,    3,   95,   75,   76,    7,
 | |
|  /*   850 */    78,   79,  101,   81,   92,   15,   84,  106,   15,    9,
 | |
|  /*   860 */    15,   91,   90,   87,   22,   93,    3,   95,  100,   85,
 | |
|  /*   870 */     7,   75,   76,  101,   78,   79,   87,   81,  106,   37,
 | |
|  /*   880 */    84,  112,  112,  112,  112,   22,   90,  112,  112,   93,
 | |
|  /*   890 */   112,   95,  112,   75,   76,  112,   78,  101,  112,   81,
 | |
|  /*   900 */    37,  112,  106,   75,   76,  112,   78,   79,   90,   81,
 | |
|  /*   910 */   112,   69,   70,   95,  112,  112,  112,  112,   90,  101,
 | |
|  /*   920 */   112,   93,  112,   95,   75,   76,   98,   78,   79,  101,
 | |
|  /*   930 */    81,  112,   69,   70,  112,  112,  112,  112,  112,   90,
 | |
|  /*   940 */   112,  112,   93,  112,   95,  112,  112,   98,   75,   76,
 | |
|  /*   950 */   101,   78,   79,  112,   81,  112,  112,    8,  112,  112,
 | |
|  /*   960 */   112,  112,   13,   90,   15,  112,   93,  112,   95,  112,
 | |
|  /*   970 */   112,   98,  112,  112,  101,  112,   27,  112,   75,   76,
 | |
|  /*   980 */   112,   78,   79,   80,   81,   75,   76,   38,   78,   79,
 | |
|  /*   990 */   112,   81,   43,   90,  112,  112,   93,  112,   95,  112,
 | |
|  /*  1000 */    90,  112,  112,   93,  101,   95,  112,  112,   98,  112,
 | |
|  /*  1010 */   112,  101,  112,  112,  112,   75,   76,  112,   78,   79,
 | |
|  /*  1020 */    80,   81,  112,  112,  112,   75,   76,  112,   78,   79,
 | |
|  /*  1030 */    90,   81,  112,   93,  112,   95,  112,  112,  112,  112,
 | |
|  /*  1040 */    90,  101,  112,   93,  112,   95,  112,  112,  112,  112,
 | |
|  /*  1050 */   112,  101,  112,  112,   75,   76,  112,   78,   79,  112,
 | |
|  /*  1060 */    81,   75,   76,  112,   78,   79,  112,   81,  112,   90,
 | |
|  /*  1070 */   112,  112,   93,  112,   95,  112,   90,  112,  112,   93,
 | |
|  /*  1080 */   101,   95,  112,  112,  112,  112,  112,  101,  112,  112,
 | |
|  /*  1090 */   112,   75,   76,  112,   78,   79,  112,   81,  112,  112,
 | |
|  /*  1100 */   112,   75,   76,  112,   78,   79,   90,   81,  112,   93,
 | |
|  /*  1110 */   112,   95,  112,  112,  112,  112,   90,  101,  112,   93,
 | |
|  /*  1120 */   112,   95,  112,  112,  112,  112,  112,  101,  112,  112,
 | |
|  /*  1130 */    75,   76,  112,   78,   79,  112,   81,   75,   76,  112,
 | |
|  /*  1140 */    78,   79,  112,   81,  112,   90,  112,  112,   93,  112,
 | |
|  /*  1150 */    95,  112,   90,  112,  112,   93,  101,   95,  112,  112,
 | |
|  /*  1160 */   112,  112,  112,  101,  112,  112,  112,   75,   76,  112,
 | |
|  /*  1170 */    78,   79,  112,   81,  112,  112,  112,   75,   76,  112,
 | |
|  /*  1180 */    78,   79,   90,   81,  112,   93,  112,   95,  112,  112,
 | |
|  /*  1190 */   112,  112,   90,  101,  112,   93,  112,   95,  112,  112,
 | |
|  /*  1200 */   112,  112,  112,  101,  112,  112,   75,   76,  112,   78,
 | |
|  /*  1210 */    79,  112,   81,   75,   76,  112,   78,   79,  112,   81,
 | |
|  /*  1220 */   112,   90,  112,  112,   93,  112,   95,  112,   90,  112,
 | |
|  /*  1230 */   112,   93,  101,   95,  112,  112,  112,  112,  112,  101,
 | |
|  /*  1240 */   112,  112,  112,   75,   76,  112,   78,   79,  112,   81,
 | |
|  /*  1250 */   112,  112,  112,   75,   76,  112,   78,   79,   90,   81,
 | |
|  /*  1260 */   112,   93,  112,   95,  112,  112,  112,  112,   90,  101,
 | |
|  /*  1270 */   112,   93,  112,   95,  112,  112,  112,  112,  112,  101,
 | |
|  /*  1280 */   112,  112,   75,   76,  112,   78,   79,  112,   81,   75,
 | |
|  /*  1290 */    76,  112,   78,   79,  112,   81,  112,   90,  112,  112,
 | |
|  /*  1300 */    93,  112,   95,  112,   90,  112,  112,   93,  101,   95,
 | |
|  /*  1310 */   112,  112,  112,  112,  112,  101,  112,  112,  112,   75,
 | |
|  /*  1320 */    76,  112,   78,   75,   76,   81,   78,  112,  112,   81,
 | |
|  /*  1330 */   112,  112,  112,  112,  112,  112,  112,  112,  112,   95,
 | |
|  /*  1340 */   112,  112,  112,   95,  112,  101,  112,  112,  112,  101,
 | |
| );
 | |
|     const YY_SHIFT_USE_DFLT = -30;
 | |
|     const YY_SHIFT_MAX = 234;
 | |
|     static public $yy_shift_ofst = array(
 | |
|  /*     0 */   472,  100,   28,   28,   28,   28,   28,   28,   28,   28,
 | |
|  /*    10 */    28,   28,   28,  280,   -7,   -7,  280,  136,  136,  136,
 | |
|  /*    20 */   182,  182,  136,  217,  136,  136,  136,  136,  136,  136,
 | |
|  /*    30 */   136,  136,  136,  136,  136,  136,  136,  136,  136,   64,
 | |
|  /*    40 */   350,  315,  461,  426,  496,  531,  496,  188,  863,  949,
 | |
|  /*    50 */   296,  449,  439,  120,  405,  159,   96,  159,   96,  159,
 | |
|  /*    60 */    96,  159,  335,  335,  519,  352,  529,  472,  842,  281,
 | |
|  /*    70 */     7,   70,  290,  223,  595,  432,  510,  432,  432,  432,
 | |
|  /*    80 */   432,  432,  813,  432,  643,  432,  510,  850,  840,  -12,
 | |
|  /*    90 */   843,  -12,  840,  -12,  840,  218,  228,  133,  353,  377,
 | |
|  /*   100 */   377,  377,  377,  377,  377,  377,  377,  -20,  475,   72,
 | |
|  /*   110 */   186,   94,   27,   29,   42,   87,  224,   27,  113,   60,
 | |
|  /*   120 */   123,  285,   40,  -29,   62,   23,  -29,  800,  250,  769,
 | |
|  /*   130 */   753,  736,  -29,  774,  -29,  791,  412,  778,  723,  692,
 | |
|  /*   140 */   676,  649,  697,  714,  293,  701,  -29,  351,  845,  -12,
 | |
|  /*   150 */   845,  -12,  468,  850,  468,  468,  468,  468,  468,  468,
 | |
|  /*   160 */   339,  -12,  468,  -12,  468,  483,  468,  -30,  -30,  -30,
 | |
|  /*   170 */   -30,  -30,  -30,  -30,  358,  356,  326,  292,  210,  180,
 | |
|  /*   180 */   140,  592,    5,    5,    5,    5,  287,  205,  209,  239,
 | |
|  /*   190 */   678,  713,  612,  651,  569,  616,  634,  708,  691,  665,
 | |
|  /*   200 */   687,  754,  660,  716,  596,  617,  798,  797,  801,  782,
 | |
|  /*   210 */   781,  738,  726,  530,  773,  804,  369,  361,  382,  306,
 | |
|  /*   220 */   166,  222,  574,  393,  174,   86,  424,  341,  730,  732,
 | |
|  /*   230 */   718,  742,  785,  613,  706,
 | |
| );
 | |
|     const YY_REDUCE_USE_DFLT = -79;
 | |
|     const YY_REDUCE_MAX = 173;
 | |
|     static public $yy_reduce_ofst = array(
 | |
|  /*     0 */   138,  520,  597,  618,  565,  541,  796,  751,  642,  772,
 | |
|  /*    10 */   719,  695,  674,  -34,  434,   74,  253,  828,  849,  910,
 | |
|  /*    20 */    38,  903,  873,  940, 1062, 1092,  950, 1102, 1055, 1026,
 | |
|  /*    30 */   979,  986, 1138, 1016, 1131, 1168, 1214, 1207, 1178,  741,
 | |
|  /*    40 */   664,  587,  160,  818, 1244, 1248,  474,   11,  411,  -69,
 | |
|  /*    50 */    65,  532,  556,  551,  -78,  469,  465,  241,  360,  553,
 | |
|  /*    60 */   364,  532,  578,  573,  263,  263,  263,  376,  462,  401,
 | |
|  /*    70 */   271,  609,  609,  271,  236,  582,  524,  456,  457,  515,
 | |
|  /*    80 */   601,  622,  686,  653,  622,  627,  622,  395,  762,  236,
 | |
|  /*    90 */   689,  444,  710,  417,  746,  735,  735,  735,  735,  735,
 | |
|  /*   100 */   735,  735,  735,  735,  735,  735,  735,  724,  770,  721,
 | |
|  /*   110 */   721,  724,  724,  721,  721,  721,  721,  724,  418,  418,
 | |
|  /*   120 */   418,  745,  418,  731,  745,  418,  731,  745,  743,  745,
 | |
|  /*   130 */   745,  745,  731,  745,  731,  745,  418,  745,  745,  745,
 | |
|  /*   140 */   745,  745,  745,  745,  418,  745,  731,  768,  789,  111,
 | |
|  /*   150 */   776,  111,  418,  784,  418,  418,  418,  418,  418,  418,
 | |
|  /*   160 */   227,  111,  418,  111,  418,  354,  418,  399,  451,  473,
 | |
|  /*   170 */   443,  425,  485,  389,
 | |
| );
 | |
|     static public $yyExpectedTokens = array(
 | |
|         /* 0 */ array(1, 2, 3, 4, 5, 6, 7, 22, ),
 | |
|         /* 1 */ array(7, 9, 10, 22, 23, 26, 27, 32, 34, 35, 36, 37, 40, 41, 44, ),
 | |
|         /* 2 */ array(7, 9, 10, 22, 23, 26, 27, 32, 34, 35, 36, 37, 40, 41, 44, ),
 | |
|         /* 3 */ array(7, 9, 10, 22, 23, 26, 27, 32, 34, 35, 36, 37, 40, 41, 44, ),
 | |
|         /* 4 */ array(7, 9, 10, 22, 23, 26, 27, 32, 34, 35, 36, 37, 40, 41, 44, ),
 | |
|         /* 5 */ array(7, 9, 10, 22, 23, 26, 27, 32, 34, 35, 36, 37, 40, 41, 44, ),
 | |
|         /* 6 */ array(7, 9, 10, 22, 23, 26, 27, 32, 34, 35, 36, 37, 40, 41, 44, ),
 | |
|         /* 7 */ array(7, 9, 10, 22, 23, 26, 27, 32, 34, 35, 36, 37, 40, 41, 44, ),
 | |
|         /* 8 */ array(7, 9, 10, 22, 23, 26, 27, 32, 34, 35, 36, 37, 40, 41, 44, ),
 | |
|         /* 9 */ array(7, 9, 10, 22, 23, 26, 27, 32, 34, 35, 36, 37, 40, 41, 44, ),
 | |
|         /* 10 */ array(7, 9, 10, 22, 23, 26, 27, 32, 34, 35, 36, 37, 40, 41, 44, ),
 | |
|         /* 11 */ array(7, 9, 10, 22, 23, 26, 27, 32, 34, 35, 36, 37, 40, 41, 44, ),
 | |
|         /* 12 */ array(7, 9, 10, 22, 23, 26, 27, 32, 34, 35, 36, 37, 40, 41, 44, ),
 | |
|         /* 13 */ array(7, 9, 10, 22, 23, 26, 27, 32, 34, 35, 36, 37, 40, 41, ),
 | |
|         /* 14 */ array(7, 9, 10, 12, 14, 16, 22, 23, 26, 27, 32, 34, 35, 36, 37, 40, 41, ),
 | |
|         /* 15 */ array(7, 9, 10, 12, 14, 16, 22, 23, 26, 27, 32, 34, 35, 36, 37, 40, 41, ),
 | |
|         /* 16 */ array(7, 9, 10, 22, 23, 26, 27, 32, 34, 35, 36, 37, 40, 41, ),
 | |
|         /* 17 */ array(7, 9, 10, 22, 23, 26, 27, 32, 34, 35, 36, 37, 40, 41, ),
 | |
|         /* 18 */ array(7, 9, 10, 22, 23, 26, 27, 32, 34, 35, 36, 37, 40, 41, ),
 | |
|         /* 19 */ array(7, 9, 10, 22, 23, 26, 27, 32, 34, 35, 36, 37, 40, 41, ),
 | |
|         /* 20 */ array(7, 9, 10, 22, 23, 26, 27, 32, 34, 35, 36, 37, 40, 41, ),
 | |
|         /* 21 */ array(7, 9, 10, 22, 23, 26, 27, 32, 34, 35, 36, 37, 40, 41, ),
 | |
|         /* 22 */ array(7, 9, 10, 22, 23, 26, 27, 32, 34, 35, 36, 37, 40, 41, ),
 | |
|         /* 23 */ array(7, 9, 10, 22, 23, 26, 27, 32, 34, 35, 36, 37, 40, 41, ),
 | |
|         /* 24 */ array(7, 9, 10, 22, 23, 26, 27, 32, 34, 35, 36, 37, 40, 41, ),
 | |
|         /* 25 */ array(7, 9, 10, 22, 23, 26, 27, 32, 34, 35, 36, 37, 40, 41, ),
 | |
|         /* 26 */ array(7, 9, 10, 22, 23, 26, 27, 32, 34, 35, 36, 37, 40, 41, ),
 | |
|         /* 27 */ array(7, 9, 10, 22, 23, 26, 27, 32, 34, 35, 36, 37, 40, 41, ),
 | |
|         /* 28 */ array(7, 9, 10, 22, 23, 26, 27, 32, 34, 35, 36, 37, 40, 41, ),
 | |
|         /* 29 */ array(7, 9, 10, 22, 23, 26, 27, 32, 34, 35, 36, 37, 40, 41, ),
 | |
|         /* 30 */ array(7, 9, 10, 22, 23, 26, 27, 32, 34, 35, 36, 37, 40, 41, ),
 | |
|         /* 31 */ array(7, 9, 10, 22, 23, 26, 27, 32, 34, 35, 36, 37, 40, 41, ),
 | |
|         /* 32 */ array(7, 9, 10, 22, 23, 26, 27, 32, 34, 35, 36, 37, 40, 41, ),
 | |
|         /* 33 */ array(7, 9, 10, 22, 23, 26, 27, 32, 34, 35, 36, 37, 40, 41, ),
 | |
|         /* 34 */ array(7, 9, 10, 22, 23, 26, 27, 32, 34, 35, 36, 37, 40, 41, ),
 | |
|         /* 35 */ array(7, 9, 10, 22, 23, 26, 27, 32, 34, 35, 36, 37, 40, 41, ),
 | |
|         /* 36 */ array(7, 9, 10, 22, 23, 26, 27, 32, 34, 35, 36, 37, 40, 41, ),
 | |
|         /* 37 */ array(7, 9, 10, 22, 23, 26, 27, 32, 34, 35, 36, 37, 40, 41, ),
 | |
|         /* 38 */ array(7, 9, 10, 22, 23, 26, 27, 32, 34, 35, 36, 37, 40, 41, ),
 | |
|         /* 39 */ array(7, 9, 10, 22, 23, 26, 27, 32, 34, 35, 36, 37, 40, 41, 42, ),
 | |
|         /* 40 */ array(7, 9, 10, 22, 23, 26, 27, 32, 34, 35, 36, 37, 40, 41, ),
 | |
|         /* 41 */ array(7, 9, 10, 22, 23, 26, 27, 32, 34, 35, 36, 37, 40, 41, ),
 | |
|         /* 42 */ array(7, 9, 10, 22, 23, 27, 32, 34, 35, 36, 37, 40, 41, ),
 | |
|         /* 43 */ array(7, 9, 10, 22, 23, 27, 32, 34, 35, 36, 37, 40, 41, ),
 | |
|         /* 44 */ array(7, 9, 10, 22, 23, 27, 32, 34, 35, 36, 37, 40, ),
 | |
|         /* 45 */ array(7, 9, 10, 22, 23, 27, 32, 34, 35, 36, 37, 40, ),
 | |
|         /* 46 */ array(7, 9, 10, 22, 23, 27, 32, 34, 35, 36, 37, 40, ),
 | |
|         /* 47 */ array(7, 9, 10, 40, ),
 | |
|         /* 48 */ array(3, 7, 22, 37, 69, 70, ),
 | |
|         /* 49 */ array(8, 13, 15, 27, 38, 43, ),
 | |
|         /* 50 */ array(8, 13, 15, 43, ),
 | |
|         /* 51 */ array(8, 15, 43, ),
 | |
|         /* 52 */ array(8, 15, 43, ),
 | |
|         /* 53 */ array(9, 10, 40, ),
 | |
|         /* 54 */ array(13, 33, 41, ),
 | |
|         /* 55 */ array(15, 43, ),
 | |
|         /* 56 */ array(15, 25, ),
 | |
|         /* 57 */ array(15, 43, ),
 | |
|         /* 58 */ array(15, 25, ),
 | |
|         /* 59 */ array(15, 43, ),
 | |
|         /* 60 */ array(15, 25, ),
 | |
|         /* 61 */ array(15, 43, ),
 | |
|         /* 62 */ array(9, 40, ),
 | |
|         /* 63 */ array(9, 40, ),
 | |
|         /* 64 */ array(28, 43, 45, 57, 58, 59, 60, 61, 62, 63, 64, 65, ),
 | |
|         /* 65 */ array(28, 43, 45, 57, 58, 59, 60, 61, 62, 63, 64, 65, ),
 | |
|         /* 66 */ array(43, 45, 57, 58, 59, 60, 61, 62, 63, 64, 65, ),
 | |
|         /* 67 */ array(1, 2, 3, 4, 5, 6, 7, 22, ),
 | |
|         /* 68 */ array(3, 7, 22, 37, 69, 70, ),
 | |
|         /* 69 */ array(7, 10, 11, 18, ),
 | |
|         /* 70 */ array(7, 10, 11, 39, ),
 | |
|         /* 71 */ array(8, 15, 18, ),
 | |
|         /* 72 */ array(8, 15, 18, ),
 | |
|         /* 73 */ array(7, 10, 39, ),
 | |
|         /* 74 */ array(11, 13, ),
 | |
|         /* 75 */ array(7, 10, ),
 | |
|         /* 76 */ array(7, 10, ),
 | |
|         /* 77 */ array(7, 10, ),
 | |
|         /* 78 */ array(7, 10, ),
 | |
|         /* 79 */ array(7, 10, ),
 | |
|         /* 80 */ array(7, 10, ),
 | |
|         /* 81 */ array(7, 10, ),
 | |
|         /* 82 */ array(8, 15, ),
 | |
|         /* 83 */ array(7, 10, ),
 | |
|         /* 84 */ array(7, 10, ),
 | |
|         /* 85 */ array(7, 10, ),
 | |
|         /* 86 */ array(7, 10, ),
 | |
|         /* 87 */ array(9, ),
 | |
|         /* 88 */ array(15, ),
 | |
|         /* 89 */ array(13, ),
 | |
|         /* 90 */ array(15, ),
 | |
|         /* 91 */ array(13, ),
 | |
|         /* 92 */ array(15, ),
 | |
|         /* 93 */ array(13, ),
 | |
|         /* 94 */ array(15, ),
 | |
|         /* 95 */ array(28, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 66, 67, 68, ),
 | |
|         /* 96 */ array(17, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 66, 67, 68, ),
 | |
|         /* 97 */ array(28, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 66, 67, 68, ),
 | |
|         /* 98 */ array(8, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 66, 67, 68, ),
 | |
|         /* 99 */ array(46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 66, 67, 68, ),
 | |
|         /* 100 */ array(46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 66, 67, 68, ),
 | |
|         /* 101 */ array(46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 66, 67, 68, ),
 | |
|         /* 102 */ array(46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 66, 67, 68, ),
 | |
|         /* 103 */ array(46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 66, 67, 68, ),
 | |
|         /* 104 */ array(46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 66, 67, 68, ),
 | |
|         /* 105 */ array(46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 66, 67, 68, ),
 | |
|         /* 106 */ array(46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 66, 67, 68, ),
 | |
|         /* 107 */ array(26, 30, 31, 42, ),
 | |
|         /* 108 */ array(10, 12, 14, 16, ),
 | |
|         /* 109 */ array(7, 8, 10, 21, ),
 | |
|         /* 110 */ array(7, 8, 10, 21, ),
 | |
|         /* 111 */ array(8, 26, 30, 31, ),
 | |
|         /* 112 */ array(26, 30, 31, ),
 | |
|         /* 113 */ array(7, 10, 11, ),
 | |
|         /* 114 */ array(7, 10, 39, ),
 | |
|         /* 115 */ array(7, 8, 10, ),
 | |
|         /* 116 */ array(7, 8, 10, ),
 | |
|         /* 117 */ array(26, 30, 31, ),
 | |
|         /* 118 */ array(25, 43, ),
 | |
|         /* 119 */ array(24, 43, ),
 | |
|         /* 120 */ array(25, 43, ),
 | |
|         /* 121 */ array(8, 15, ),
 | |
|         /* 122 */ array(8, 43, ),
 | |
|         /* 123 */ array(33, 41, ),
 | |
|         /* 124 */ array(8, 15, ),
 | |
|         /* 125 */ array(8, 43, ),
 | |
|         /* 126 */ array(33, 41, ),
 | |
|         /* 127 */ array(8, 15, ),
 | |
|         /* 128 */ array(9, 10, ),
 | |
|         /* 129 */ array(8, 15, ),
 | |
|         /* 130 */ array(8, 15, ),
 | |
|         /* 131 */ array(8, 15, ),
 | |
|         /* 132 */ array(33, 41, ),
 | |
|         /* 133 */ array(8, 15, ),
 | |
|         /* 134 */ array(33, 41, ),
 | |
|         /* 135 */ array(8, 15, ),
 | |
|         /* 136 */ array(28, 43, ),
 | |
|         /* 137 */ array(8, 15, ),
 | |
|         /* 138 */ array(8, 15, ),
 | |
|         /* 139 */ array(8, 15, ),
 | |
|         /* 140 */ array(8, 15, ),
 | |
|         /* 141 */ array(8, 15, ),
 | |
|         /* 142 */ array(8, 15, ),
 | |
|         /* 143 */ array(8, 15, ),
 | |
|         /* 144 */ array(8, 43, ),
 | |
|         /* 145 */ array(8, 15, ),
 | |
|         /* 146 */ array(33, 41, ),
 | |
|         /* 147 */ array(7, 27, ),
 | |
|         /* 148 */ array(15, ),
 | |
|         /* 149 */ array(13, ),
 | |
|         /* 150 */ array(15, ),
 | |
|         /* 151 */ array(13, ),
 | |
|         /* 152 */ array(43, ),
 | |
|         /* 153 */ array(9, ),
 | |
|         /* 154 */ array(43, ),
 | |
|         /* 155 */ array(43, ),
 | |
|         /* 156 */ array(43, ),
 | |
|         /* 157 */ array(43, ),
 | |
|         /* 158 */ array(43, ),
 | |
|         /* 159 */ array(43, ),
 | |
|         /* 160 */ array(27, ),
 | |
|         /* 161 */ array(13, ),
 | |
|         /* 162 */ array(43, ),
 | |
|         /* 163 */ array(13, ),
 | |
|         /* 164 */ array(43, ),
 | |
|         /* 165 */ array(25, ),
 | |
|         /* 166 */ array(43, ),
 | |
|         /* 167 */ array(),
 | |
|         /* 168 */ array(),
 | |
|         /* 169 */ array(),
 | |
|         /* 170 */ array(),
 | |
|         /* 171 */ array(),
 | |
|         /* 172 */ array(),
 | |
|         /* 173 */ array(),
 | |
|         /* 174 */ array(7, 9, 10, 23, 34, 35, ),
 | |
|         /* 175 */ array(27, 33, 38, 42, ),
 | |
|         /* 176 */ array(27, 38, 43, ),
 | |
|         /* 177 */ array(21, 27, 38, ),
 | |
|         /* 178 */ array(11, 27, 38, ),
 | |
|         /* 179 */ array(10, 23, ),
 | |
|         /* 180 */ array(11, 25, ),
 | |
|         /* 181 */ array(8, 15, ),
 | |
|         /* 182 */ array(27, 38, ),
 | |
|         /* 183 */ array(27, 38, ),
 | |
|         /* 184 */ array(27, 38, ),
 | |
|         /* 185 */ array(27, 38, ),
 | |
|         /* 186 */ array(10, 39, ),
 | |
|         /* 187 */ array(24, 42, ),
 | |
|         /* 188 */ array(11, 33, ),
 | |
|         /* 189 */ array(17, 24, ),
 | |
|         /* 190 */ array(56, ),
 | |
|         /* 191 */ array(20, ),
 | |
|         /* 192 */ array(25, ),
 | |
|         /* 193 */ array(10, ),
 | |
|         /* 194 */ array(28, ),
 | |
|         /* 195 */ array(23, ),
 | |
|         /* 196 */ array(33, ),
 | |
|         /* 197 */ array(20, ),
 | |
|         /* 198 */ array(15, ),
 | |
|         /* 199 */ array(18, ),
 | |
|         /* 200 */ array(8, ),
 | |
|         /* 201 */ array(8, ),
 | |
|         /* 202 */ array(9, ),
 | |
|         /* 203 */ array(11, ),
 | |
|         /* 204 */ array(15, ),
 | |
|         /* 205 */ array(11, ),
 | |
|         /* 206 */ array(9, ),
 | |
|         /* 207 */ array(8, ),
 | |
|         /* 208 */ array(9, ),
 | |
|         /* 209 */ array(10, ),
 | |
|         /* 210 */ array(10, ),
 | |
|         /* 211 */ array(8, ),
 | |
|         /* 212 */ array(10, ),
 | |
|         /* 213 */ array(9, ),
 | |
|         /* 214 */ array(10, ),
 | |
|         /* 215 */ array(9, ),
 | |
|         /* 216 */ array(10, ),
 | |
|         /* 217 */ array(27, ),
 | |
|         /* 218 */ array(40, ),
 | |
|         /* 219 */ array(4, ),
 | |
|         /* 220 */ array(40, ),
 | |
|         /* 221 */ array(3, ),
 | |
|         /* 222 */ array(28, ),
 | |
|         /* 223 */ array(3, ),
 | |
|         /* 224 */ array(4, ),
 | |
|         /* 225 */ array(29, ),
 | |
|         /* 226 */ array(10, ),
 | |
|         /* 227 */ array(21, ),
 | |
|         /* 228 */ array(42, ),
 | |
|         /* 229 */ array(28, ),
 | |
|         /* 230 */ array(29, ),
 | |
|         /* 231 */ array(69, ),
 | |
|         /* 232 */ array(19, ),
 | |
|         /* 233 */ array(10, ),
 | |
|         /* 234 */ array(8, ),
 | |
|         /* 235 */ array(),
 | |
|         /* 236 */ array(),
 | |
|         /* 237 */ array(),
 | |
|         /* 238 */ array(),
 | |
|         /* 239 */ array(),
 | |
|         /* 240 */ array(),
 | |
|         /* 241 */ array(),
 | |
|         /* 242 */ array(),
 | |
|         /* 243 */ array(),
 | |
|         /* 244 */ array(),
 | |
|         /* 245 */ array(),
 | |
|         /* 246 */ array(),
 | |
|         /* 247 */ array(),
 | |
|         /* 248 */ array(),
 | |
|         /* 249 */ array(),
 | |
|         /* 250 */ array(),
 | |
|         /* 251 */ array(),
 | |
|         /* 252 */ array(),
 | |
|         /* 253 */ array(),
 | |
|         /* 254 */ array(),
 | |
|         /* 255 */ array(),
 | |
|         /* 256 */ array(),
 | |
|         /* 257 */ array(),
 | |
|         /* 258 */ array(),
 | |
|         /* 259 */ array(),
 | |
|         /* 260 */ array(),
 | |
|         /* 261 */ array(),
 | |
|         /* 262 */ array(),
 | |
|         /* 263 */ array(),
 | |
|         /* 264 */ array(),
 | |
|         /* 265 */ array(),
 | |
|         /* 266 */ array(),
 | |
|         /* 267 */ array(),
 | |
|         /* 268 */ array(),
 | |
|         /* 269 */ array(),
 | |
|         /* 270 */ array(),
 | |
|         /* 271 */ array(),
 | |
|         /* 272 */ array(),
 | |
|         /* 273 */ array(),
 | |
|         /* 274 */ array(),
 | |
|         /* 275 */ array(),
 | |
|         /* 276 */ array(),
 | |
|         /* 277 */ array(),
 | |
|         /* 278 */ array(),
 | |
|         /* 279 */ array(),
 | |
|         /* 280 */ array(),
 | |
|         /* 281 */ array(),
 | |
|         /* 282 */ array(),
 | |
|         /* 283 */ array(),
 | |
|         /* 284 */ array(),
 | |
|         /* 285 */ array(),
 | |
|         /* 286 */ array(),
 | |
|         /* 287 */ array(),
 | |
|         /* 288 */ array(),
 | |
|         /* 289 */ array(),
 | |
|         /* 290 */ array(),
 | |
|         /* 291 */ array(),
 | |
|         /* 292 */ array(),
 | |
|         /* 293 */ array(),
 | |
|         /* 294 */ array(),
 | |
|         /* 295 */ array(),
 | |
|         /* 296 */ array(),
 | |
|         /* 297 */ array(),
 | |
|         /* 298 */ array(),
 | |
|         /* 299 */ array(),
 | |
|         /* 300 */ array(),
 | |
|         /* 301 */ array(),
 | |
|         /* 302 */ array(),
 | |
|         /* 303 */ array(),
 | |
|         /* 304 */ array(),
 | |
|         /* 305 */ array(),
 | |
|         /* 306 */ array(),
 | |
|         /* 307 */ array(),
 | |
|         /* 308 */ array(),
 | |
|         /* 309 */ array(),
 | |
|         /* 310 */ array(),
 | |
|         /* 311 */ array(),
 | |
|         /* 312 */ array(),
 | |
|         /* 313 */ array(),
 | |
|         /* 314 */ array(),
 | |
|         /* 315 */ array(),
 | |
|         /* 316 */ array(),
 | |
|         /* 317 */ array(),
 | |
|         /* 318 */ array(),
 | |
|         /* 319 */ array(),
 | |
|         /* 320 */ array(),
 | |
|         /* 321 */ array(),
 | |
|         /* 322 */ array(),
 | |
|         /* 323 */ array(),
 | |
|         /* 324 */ array(),
 | |
|         /* 325 */ array(),
 | |
|         /* 326 */ array(),
 | |
|         /* 327 */ array(),
 | |
|         /* 328 */ array(),
 | |
|         /* 329 */ array(),
 | |
|         /* 330 */ array(),
 | |
|         /* 331 */ array(),
 | |
|         /* 332 */ array(),
 | |
|         /* 333 */ array(),
 | |
|         /* 334 */ array(),
 | |
|         /* 335 */ array(),
 | |
|         /* 336 */ array(),
 | |
|         /* 337 */ array(),
 | |
|         /* 338 */ array(),
 | |
|         /* 339 */ array(),
 | |
|         /* 340 */ array(),
 | |
|         /* 341 */ array(),
 | |
|         /* 342 */ array(),
 | |
|         /* 343 */ array(),
 | |
|         /* 344 */ array(),
 | |
|         /* 345 */ array(),
 | |
|         /* 346 */ array(),
 | |
|         /* 347 */ array(),
 | |
|         /* 348 */ array(),
 | |
|         /* 349 */ array(),
 | |
|         /* 350 */ array(),
 | |
|         /* 351 */ array(),
 | |
|         /* 352 */ array(),
 | |
|         /* 353 */ array(),
 | |
|         /* 354 */ array(),
 | |
|         /* 355 */ array(),
 | |
|         /* 356 */ array(),
 | |
|         /* 357 */ array(),
 | |
|         /* 358 */ array(),
 | |
|         /* 359 */ array(),
 | |
|         /* 360 */ array(),
 | |
|         /* 361 */ array(),
 | |
| );
 | |
|     static public $yy_default = array(
 | |
|  /*     0 */   543,  543,  543,  543,  543,  543,  543,  543,  543,  543,
 | |
|  /*    10 */   543,  543,  543,  529,  543,  543,  543,  487,  487,  487,
 | |
|  /*    20 */   543,  543,  487,  543,  543,  543,  543,  543,  543,  543,
 | |
|  /*    30 */   543,  543,  543,  543,  543,  543,  543,  543,  543,  543,
 | |
|  /*    40 */   543,  543,  543,  543,  543,  543,  543,  543,  543,  543,
 | |
|  /*    50 */   543,  543,  543,  543,  449,  409,  409,  409,  409,  409,
 | |
|  /*    60 */   409,  409,  543,  543,  497,  497,  497,  362,  543,  543,
 | |
|  /*    70 */   459,  432,  432,  459,  452,  543,  543,  543,  543,  543,
 | |
|  /*    80 */   543,  543,  423,  543,  543,  543,  543,  543,  409,  452,
 | |
|  /*    90 */   409,  445,  409,  444,  409,  543,  543,  543,  543,  510,
 | |
|  /*   100 */   501,  495,  502,  511,  506,  503,  507,  543,  543,  543,
 | |
|  /*   110 */   543,  543,  420,  543,  460,  543,  543,  492,  543,  486,
 | |
|  /*   120 */   543,  543,  543,  480,  543,  543,  479,  543,  543,  543,
 | |
|  /*   130 */   543,  543,  457,  543,  481,  543,  543,  543,  543,  543,
 | |
|  /*   140 */   543,  543,  543,  543,  543,  543,  478,  459,  542,  450,
 | |
|  /*   150 */   542,  447,  392,  543,  427,  415,  418,  531,  428,  532,
 | |
|  /*   160 */   459,  446,  411,  475,  530,  422,  498,  459,  491,  491,
 | |
|  /*   170 */   491,  459,  459,  491,  543,  543,  410,  419,  414,  543,
 | |
|  /*   180 */   473,  423,  419,  493,  543,  512,  543,  543,  435,  543,
 | |
|  /*   190 */   423,  543,  473,  543,  543,  543,  435,  543,  543,  432,
 | |
|  /*   200 */   543,  543,  543,  414,  543,  543,  543,  543,  543,  543,
 | |
|  /*   210 */   543,  543,  543,  543,  543,  543,  543,  448,  543,  543,
 | |
|  /*   220 */   543,  543,  543,  543,  543,  543,  543,  423,  543,  543,
 | |
|  /*   230 */   440,  543,  416,  543,  423,  540,  466,  443,  465,  403,
 | |
|  /*   240 */   402,  539,  430,  417,  534,  467,  363,  393,  442,  413,
 | |
|  /*   250 */   429,  468,  464,  406,  482,  462,  541,  474,  394,  533,
 | |
|  /*   260 */   469,  535,  401,  484,  470,  400,  463,  536,  391,  431,
 | |
|  /*   270 */   504,  426,  441,  374,  537,  489,  488,  439,  421,  471,
 | |
|  /*   280 */   440,  375,  538,  370,  451,  454,  455,  380,  379,  376,
 | |
|  /*   290 */   377,  378,  438,  437,  408,  490,  423,  424,  405,  404,
 | |
|  /*   300 */   372,  373,  407,  399,  434,  433,  473,  476,  425,  436,
 | |
|  /*   310 */   472,  461,  477,  453,  458,  456,  485,  381,  382,  383,
 | |
|  /*   320 */   385,  496,  525,  509,  366,  523,  524,  386,  388,  398,
 | |
|  /*   330 */   365,  389,  390,  397,  396,  387,  384,  395,  508,  367,
 | |
|  /*   340 */   514,  515,  516,  517,  500,  499,  483,  526,  528,  527,
 | |
|  /*   350 */   518,  519,  368,  494,  371,  505,  369,  513,  520,  521,
 | |
|  /*   360 */   522,  364,
 | |
| );
 | |
|     const YYNOCODE = 113;
 | |
|     const YYSTACKDEPTH = 100;
 | |
|     const YYNSTATE = 362;
 | |
|     const YYNRULE = 181;
 | |
|     const YYERRORSYMBOL = 71;
 | |
|     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( 
 | |
|   '$',             'COMMENT',       'PHP',           'OTHER',       
 | |
|   'SHORTTAGEND',   'SHORTTAGSTART',  'XML',           'LDEL',        
 | |
|   'RDEL',          'DOLLAR',        'ID',            'EQUAL',       
 | |
|   'FOREACH',       'PTR',           'IF',            'SPACE',       
 | |
|   'FOR',           'SEMICOLON',     'INCDEC',        'TO',          
 | |
|   'AS',            'APTR',          'LDELSLASH',     'INTEGER',     
 | |
|   'COMMA',         'COLON',         'UNIMATH',       'OPENP',       
 | |
|   'CLOSEP',        'QMARK',         'MATH',          'ANDSYM',      
 | |
|   'TYPECAST',      'DOT',           'BOOLEAN',       'NULL',        
 | |
|   'SINGLEQUOTESTRING',  'QUOTE',         'DOUBLECOLON',   'AT',          
 | |
|   'HATCH',         'OPENB',         'CLOSEB',        'VERT',        
 | |
|   'NOT',           'ISIN',          'ISDIVBY',       'ISNOTDIVBY',  
 | |
|   'ISEVEN',        'ISNOTEVEN',     'ISEVENBY',      'ISNOTEVENBY', 
 | |
|   'ISODD',         'ISNOTODD',      'ISODDBY',       'ISNOTODDBY',  
 | |
|   'INSTANCEOF',    'EQUALS',        'NOTEQUALS',     'GREATERTHAN', 
 | |
|   'LESSTHAN',      'GREATEREQUAL',  'LESSEQUAL',     'IDENTITY',    
 | |
|   'NONEIDENTITY',  'MOD',           'LAND',          'LOR',         
 | |
|   'LXOR',          'BACKTICK',      'DOLLARID',      'error',       
 | |
|   'start',         'template',      'template_element',  'smartytag',   
 | |
|   'value',         'attributes',    'variable',      'expr',        
 | |
|   'ternary',       'varindexed',    'modifier',      'modparameters',
 | |
|   'ifexprs',       'statement',     'statements',    'optspace',    
 | |
|   'varvar',        'foraction',     'array',         'specialclose',
 | |
|   'attribute',     'exprs',         'math',          'function',    
 | |
|   'doublequoted',  'method',        'params',        'objectchain', 
 | |
|   'arrayindex',    'object',        'indexdef',      'varvarele',   
 | |
|   'objectelement',  'modparameter',  'ifexpr',        'ifcond',      
 | |
|   'lop',           'arrayelements',  'arrayelement',  'doublequotedcontent',
 | |
|     );
 | |
| 
 | |
|     static public $yyRuleName = array(
 | |
|  /*   0 */ "start ::= template",
 | |
|  /*   1 */ "template ::= template_element",
 | |
|  /*   2 */ "template ::= template template_element",
 | |
|  /*   3 */ "template_element ::= smartytag",
 | |
|  /*   4 */ "template_element ::= COMMENT",
 | |
|  /*   5 */ "template_element ::= PHP OTHER SHORTTAGEND",
 | |
|  /*   6 */ "template_element ::= SHORTTAGSTART OTHER SHORTTAGEND",
 | |
|  /*   7 */ "template_element ::= XML",
 | |
|  /*   8 */ "template_element ::= SHORTTAGEND",
 | |
|  /*   9 */ "template_element ::= OTHER",
 | |
|  /*  10 */ "smartytag ::= LDEL value RDEL",
 | |
|  /*  11 */ "smartytag ::= LDEL value attributes RDEL",
 | |
|  /*  12 */ "smartytag ::= LDEL variable attributes RDEL",
 | |
|  /*  13 */ "smartytag ::= LDEL expr attributes RDEL",
 | |
|  /*  14 */ "smartytag ::= LDEL ternary attributes RDEL",
 | |
|  /*  15 */ "smartytag ::= LDEL DOLLAR ID EQUAL value RDEL",
 | |
|  /*  16 */ "smartytag ::= LDEL DOLLAR ID EQUAL expr RDEL",
 | |
|  /*  17 */ "smartytag ::= LDEL DOLLAR ID EQUAL expr attributes RDEL",
 | |
|  /*  18 */ "smartytag ::= LDEL DOLLAR ID EQUAL ternary attributes RDEL",
 | |
|  /*  19 */ "smartytag ::= LDEL varindexed EQUAL expr attributes RDEL",
 | |
|  /*  20 */ "smartytag ::= LDEL varindexed EQUAL ternary attributes RDEL",
 | |
|  /*  21 */ "smartytag ::= LDEL ID attributes RDEL",
 | |
|  /*  22 */ "smartytag ::= LDEL FOREACH attributes RDEL",
 | |
|  /*  23 */ "smartytag ::= LDEL ID RDEL",
 | |
|  /*  24 */ "smartytag ::= LDEL ID PTR ID attributes RDEL",
 | |
|  /*  25 */ "smartytag ::= LDEL ID modifier modparameters attributes RDEL",
 | |
|  /*  26 */ "smartytag ::= LDEL ID PTR ID modifier modparameters attributes RDEL",
 | |
|  /*  27 */ "smartytag ::= LDEL IF SPACE ifexprs RDEL",
 | |
|  /*  28 */ "smartytag ::= LDEL IF SPACE statement RDEL",
 | |
|  /*  29 */ "smartytag ::= LDEL FOR SPACE statements SEMICOLON optspace ifexprs SEMICOLON optspace DOLLAR varvar foraction RDEL",
 | |
|  /*  30 */ "foraction ::= EQUAL expr",
 | |
|  /*  31 */ "foraction ::= INCDEC",
 | |
|  /*  32 */ "smartytag ::= LDEL FOR SPACE statement TO expr attributes RDEL",
 | |
|  /*  33 */ "smartytag ::= LDEL FOREACH SPACE value AS DOLLAR varvar RDEL",
 | |
|  /*  34 */ "smartytag ::= LDEL FOREACH SPACE value AS DOLLAR varvar APTR DOLLAR varvar RDEL",
 | |
|  /*  35 */ "smartytag ::= LDEL FOREACH SPACE array AS DOLLAR varvar RDEL",
 | |
|  /*  36 */ "smartytag ::= LDEL FOREACH SPACE array AS DOLLAR varvar APTR DOLLAR varvar RDEL",
 | |
|  /*  37 */ "smartytag ::= LDELSLASH ID RDEL",
 | |
|  /*  38 */ "smartytag ::= LDELSLASH specialclose RDEL",
 | |
|  /*  39 */ "specialclose ::= IF",
 | |
|  /*  40 */ "specialclose ::= FOR",
 | |
|  /*  41 */ "specialclose ::= FOREACH",
 | |
|  /*  42 */ "smartytag ::= LDELSLASH ID attributes RDEL",
 | |
|  /*  43 */ "smartytag ::= LDELSLASH ID modifier modparameters attributes RDEL",
 | |
|  /*  44 */ "smartytag ::= LDELSLASH ID PTR ID RDEL",
 | |
|  /*  45 */ "attributes ::= attributes attribute",
 | |
|  /*  46 */ "attributes ::= attribute",
 | |
|  /*  47 */ "attributes ::=",
 | |
|  /*  48 */ "attribute ::= SPACE ID EQUAL ID",
 | |
|  /*  49 */ "attribute ::= SPACE ID EQUAL expr",
 | |
|  /*  50 */ "attribute ::= SPACE ID EQUAL value",
 | |
|  /*  51 */ "attribute ::= SPACE ID EQUAL ternary",
 | |
|  /*  52 */ "attribute ::= SPACE ID",
 | |
|  /*  53 */ "attribute ::= SPACE INTEGER EQUAL expr",
 | |
|  /*  54 */ "statements ::= statement",
 | |
|  /*  55 */ "statements ::= statements COMMA statement",
 | |
|  /*  56 */ "statement ::= DOLLAR varvar EQUAL expr",
 | |
|  /*  57 */ "expr ::= ID",
 | |
|  /*  58 */ "expr ::= exprs",
 | |
|  /*  59 */ "expr ::= DOLLAR ID COLON ID",
 | |
|  /*  60 */ "expr ::= expr modifier modparameters",
 | |
|  /*  61 */ "exprs ::= value",
 | |
|  /*  62 */ "exprs ::= UNIMATH value",
 | |
|  /*  63 */ "exprs ::= exprs math value",
 | |
|  /*  64 */ "exprs ::= array",
 | |
|  /*  65 */ "ternary ::= OPENP ifexprs CLOSEP QMARK expr COLON expr",
 | |
|  /*  66 */ "ternary ::= OPENP expr CLOSEP QMARK expr COLON expr",
 | |
|  /*  67 */ "math ::= UNIMATH",
 | |
|  /*  68 */ "math ::= MATH",
 | |
|  /*  69 */ "math ::= ANDSYM",
 | |
|  /*  70 */ "value ::= variable",
 | |
|  /*  71 */ "value ::= TYPECAST variable",
 | |
|  /*  72 */ "value ::= variable INCDEC",
 | |
|  /*  73 */ "value ::= INTEGER",
 | |
|  /*  74 */ "value ::= INTEGER DOT INTEGER",
 | |
|  /*  75 */ "value ::= BOOLEAN",
 | |
|  /*  76 */ "value ::= NULL",
 | |
|  /*  77 */ "value ::= function",
 | |
|  /*  78 */ "value ::= OPENP expr CLOSEP",
 | |
|  /*  79 */ "value ::= SINGLEQUOTESTRING",
 | |
|  /*  80 */ "value ::= QUOTE doublequoted QUOTE",
 | |
|  /*  81 */ "value ::= QUOTE QUOTE",
 | |
|  /*  82 */ "value ::= ID DOUBLECOLON method",
 | |
|  /*  83 */ "value ::= ID DOUBLECOLON DOLLAR ID OPENP params CLOSEP",
 | |
|  /*  84 */ "value ::= ID DOUBLECOLON method objectchain",
 | |
|  /*  85 */ "value ::= ID DOUBLECOLON DOLLAR ID OPENP params CLOSEP objectchain",
 | |
|  /*  86 */ "value ::= ID DOUBLECOLON ID",
 | |
|  /*  87 */ "value ::= ID DOUBLECOLON DOLLAR ID arrayindex",
 | |
|  /*  88 */ "value ::= ID DOUBLECOLON DOLLAR ID arrayindex objectchain",
 | |
|  /*  89 */ "value ::= smartytag",
 | |
|  /*  90 */ "variable ::= varindexed",
 | |
|  /*  91 */ "variable ::= DOLLAR varvar AT ID",
 | |
|  /*  92 */ "variable ::= object",
 | |
|  /*  93 */ "variable ::= HATCH ID HATCH",
 | |
|  /*  94 */ "variable ::= HATCH variable HATCH",
 | |
|  /*  95 */ "varindexed ::= DOLLAR varvar arrayindex",
 | |
|  /*  96 */ "arrayindex ::= arrayindex indexdef",
 | |
|  /*  97 */ "arrayindex ::=",
 | |
|  /*  98 */ "indexdef ::= DOT DOLLAR varvar",
 | |
|  /*  99 */ "indexdef ::= DOT DOLLAR varvar AT ID",
 | |
|  /* 100 */ "indexdef ::= DOT ID",
 | |
|  /* 101 */ "indexdef ::= DOT BOOLEAN",
 | |
|  /* 102 */ "indexdef ::= DOT NULL",
 | |
|  /* 103 */ "indexdef ::= DOT INTEGER",
 | |
|  /* 104 */ "indexdef ::= DOT LDEL exprs RDEL",
 | |
|  /* 105 */ "indexdef ::= OPENB ID CLOSEB",
 | |
|  /* 106 */ "indexdef ::= OPENB ID DOT ID CLOSEB",
 | |
|  /* 107 */ "indexdef ::= OPENB exprs CLOSEB",
 | |
|  /* 108 */ "indexdef ::= OPENB CLOSEB",
 | |
|  /* 109 */ "varvar ::= varvarele",
 | |
|  /* 110 */ "varvar ::= varvar varvarele",
 | |
|  /* 111 */ "varvarele ::= ID",
 | |
|  /* 112 */ "varvarele ::= LDEL expr RDEL",
 | |
|  /* 113 */ "object ::= varindexed objectchain",
 | |
|  /* 114 */ "objectchain ::= objectelement",
 | |
|  /* 115 */ "objectchain ::= objectchain objectelement",
 | |
|  /* 116 */ "objectelement ::= PTR ID arrayindex",
 | |
|  /* 117 */ "objectelement ::= PTR variable arrayindex",
 | |
|  /* 118 */ "objectelement ::= PTR LDEL expr RDEL arrayindex",
 | |
|  /* 119 */ "objectelement ::= PTR ID LDEL expr RDEL arrayindex",
 | |
|  /* 120 */ "objectelement ::= PTR method",
 | |
|  /* 121 */ "function ::= ID OPENP params CLOSEP",
 | |
|  /* 122 */ "method ::= ID OPENP params CLOSEP",
 | |
|  /* 123 */ "params ::= expr COMMA params",
 | |
|  /* 124 */ "params ::= expr",
 | |
|  /* 125 */ "params ::=",
 | |
|  /* 126 */ "modifier ::= VERT AT ID",
 | |
|  /* 127 */ "modifier ::= VERT ID",
 | |
|  /* 128 */ "modparameters ::= modparameters modparameter",
 | |
|  /* 129 */ "modparameters ::=",
 | |
|  /* 130 */ "modparameter ::= COLON exprs",
 | |
|  /* 131 */ "modparameter ::= COLON ID",
 | |
|  /* 132 */ "ifexprs ::= ifexpr",
 | |
|  /* 133 */ "ifexprs ::= NOT ifexprs",
 | |
|  /* 134 */ "ifexprs ::= OPENP ifexprs CLOSEP",
 | |
|  /* 135 */ "ifexpr ::= expr",
 | |
|  /* 136 */ "ifexpr ::= expr ifcond expr",
 | |
|  /* 137 */ "ifexpr ::= expr ISIN array",
 | |
|  /* 138 */ "ifexpr ::= expr ISIN value",
 | |
|  /* 139 */ "ifexpr ::= ifexprs lop ifexprs",
 | |
|  /* 140 */ "ifexpr ::= ifexprs ISDIVBY ifexprs",
 | |
|  /* 141 */ "ifexpr ::= ifexprs ISNOTDIVBY ifexprs",
 | |
|  /* 142 */ "ifexpr ::= ifexprs ISEVEN",
 | |
|  /* 143 */ "ifexpr ::= ifexprs ISNOTEVEN",
 | |
|  /* 144 */ "ifexpr ::= ifexprs ISEVENBY ifexprs",
 | |
|  /* 145 */ "ifexpr ::= ifexprs ISNOTEVENBY ifexprs",
 | |
|  /* 146 */ "ifexpr ::= ifexprs ISODD",
 | |
|  /* 147 */ "ifexpr ::= ifexprs ISNOTODD",
 | |
|  /* 148 */ "ifexpr ::= ifexprs ISODDBY ifexprs",
 | |
|  /* 149 */ "ifexpr ::= ifexprs ISNOTODDBY ifexprs",
 | |
|  /* 150 */ "ifexpr ::= value INSTANCEOF ID",
 | |
|  /* 151 */ "ifexpr ::= value INSTANCEOF value",
 | |
|  /* 152 */ "ifcond ::= EQUALS",
 | |
|  /* 153 */ "ifcond ::= NOTEQUALS",
 | |
|  /* 154 */ "ifcond ::= GREATERTHAN",
 | |
|  /* 155 */ "ifcond ::= LESSTHAN",
 | |
|  /* 156 */ "ifcond ::= GREATEREQUAL",
 | |
|  /* 157 */ "ifcond ::= LESSEQUAL",
 | |
|  /* 158 */ "ifcond ::= IDENTITY",
 | |
|  /* 159 */ "ifcond ::= NONEIDENTITY",
 | |
|  /* 160 */ "ifcond ::= MOD",
 | |
|  /* 161 */ "lop ::= LAND",
 | |
|  /* 162 */ "lop ::= LOR",
 | |
|  /* 163 */ "lop ::= LXOR",
 | |
|  /* 164 */ "array ::= OPENB arrayelements CLOSEB",
 | |
|  /* 165 */ "arrayelements ::= arrayelement",
 | |
|  /* 166 */ "arrayelements ::= arrayelements COMMA arrayelement",
 | |
|  /* 167 */ "arrayelements ::=",
 | |
|  /* 168 */ "arrayelement ::= value APTR expr",
 | |
|  /* 169 */ "arrayelement ::= ID APTR expr",
 | |
|  /* 170 */ "arrayelement ::= expr",
 | |
|  /* 171 */ "doublequoted ::= doublequoted doublequotedcontent",
 | |
|  /* 172 */ "doublequoted ::= doublequotedcontent",
 | |
|  /* 173 */ "doublequotedcontent ::= BACKTICK variable BACKTICK",
 | |
|  /* 174 */ "doublequotedcontent ::= DOLLARID",
 | |
|  /* 175 */ "doublequotedcontent ::= LDEL variable RDEL",
 | |
|  /* 176 */ "doublequotedcontent ::= LDEL expr RDEL",
 | |
|  /* 177 */ "doublequotedcontent ::= smartytag",
 | |
|  /* 178 */ "doublequotedcontent ::= OTHER",
 | |
|  /* 179 */ "optspace ::= SPACE",
 | |
|  /* 180 */ "optspace ::=",
 | |
|     );
 | |
| 
 | |
|     function tokenName($tokenType)
 | |
|     {
 | |
|         if ($tokenType === 0) {
 | |
|             return 'End of Input';
 | |
|         }
 | |
|         if ($tokenType > 0 && $tokenType < count($this->yyTokenName)) {
 | |
|             return $this->yyTokenName[$tokenType];
 | |
|         } else {
 | |
|             return "Unknown";
 | |
|         }
 | |
|     }
 | |
| 
 | |
|     static function yy_destructor($yymajor, $yypminor)
 | |
|     {
 | |
|         switch ($yymajor) {
 | |
|             default:  break;   /* If no destructor action specified: do nothing */
 | |
|         }
 | |
|     }
 | |
| 
 | |
|     function yy_pop_parser_stack()
 | |
|     {
 | |
|         if (!count($this->yystack)) {
 | |
|             return;
 | |
|         }
 | |
|         $yytos = array_pop($this->yystack);
 | |
|         if (self::$yyTraceFILE && $this->yyidx >= 0) {
 | |
|             fwrite(self::$yyTraceFILE,
 | |
|                 self::$yyTracePrompt . 'Popping ' . $this->yyTokenName[$yytos->major] .
 | |
|                     "\n");
 | |
|         }
 | |
|         $yymajor = $yytos->major;
 | |
|         self::yy_destructor($yymajor, $yytos->minor);
 | |
|         $this->yyidx--;
 | |
|         return $yymajor;
 | |
|     }
 | |
| 
 | |
|     function __destruct()
 | |
|     {
 | |
|         while ($this->yyidx >= 0) {
 | |
|             $this->yy_pop_parser_stack();
 | |
|         }
 | |
|         if (is_resource(self::$yyTraceFILE)) {
 | |
|             fclose(self::$yyTraceFILE);
 | |
|         }
 | |
|     }
 | |
| 
 | |
|     function yy_get_expected_tokens($token)
 | |
|     {
 | |
|         $state = $this->yystack[$this->yyidx]->stateno;
 | |
|         $expected = self::$yyExpectedTokens[$state];
 | |
|         if (in_array($token, self::$yyExpectedTokens[$state], true)) {
 | |
|             return $expected;
 | |
|         }
 | |
|         $stack = $this->yystack;
 | |
|         $yyidx = $this->yyidx;
 | |
|         do {
 | |
|             $yyact = $this->yy_find_shift_action($token);
 | |
|             if ($yyact >= self::YYNSTATE && $yyact < self::YYNSTATE + self::YYNRULE) {
 | |
|                 // reduce action
 | |
|                 $done = 0;
 | |
|                 do {
 | |
|                     if ($done++ == 100) {
 | |
|                         $this->yyidx = $yyidx;
 | |
|                         $this->yystack = $stack;
 | |
|                         // too much recursion prevents proper detection
 | |
|                         // so give up
 | |
|                         return array_unique($expected);
 | |
|                     }
 | |
|                     $yyruleno = $yyact - self::YYNSTATE;
 | |
|                     $this->yyidx -= self::$yyRuleInfo[$yyruleno]['rhs'];
 | |
|                     $nextstate = $this->yy_find_reduce_action(
 | |
|                         $this->yystack[$this->yyidx]->stateno,
 | |
|                         self::$yyRuleInfo[$yyruleno]['lhs']);
 | |
|                     if (isset(self::$yyExpectedTokens[$nextstate])) {
 | |
|                         $expected += self::$yyExpectedTokens[$nextstate];
 | |
|                             if (in_array($token,
 | |
|                                   self::$yyExpectedTokens[$nextstate], true)) {
 | |
|                             $this->yyidx = $yyidx;
 | |
|                             $this->yystack = $stack;
 | |
|                             return array_unique($expected);
 | |
|                         }
 | |
|                     }
 | |
|                     if ($nextstate < self::YYNSTATE) {
 | |
|                         // we need to shift a non-terminal
 | |
|                         $this->yyidx++;
 | |
|                         $x = new TP_yyStackEntry;
 | |
|                         $x->stateno = $nextstate;
 | |
|                         $x->major = self::$yyRuleInfo[$yyruleno]['lhs'];
 | |
|                         $this->yystack[$this->yyidx] = $x;
 | |
|                         continue 2;
 | |
|                     } elseif ($nextstate == self::YYNSTATE + self::YYNRULE + 1) {
 | |
|                         $this->yyidx = $yyidx;
 | |
|                         $this->yystack = $stack;
 | |
|                         // the last token was just ignored, we can't accept
 | |
|                         // by ignoring input, this is in essence ignoring a
 | |
|                         // syntax error!
 | |
|                         return array_unique($expected);
 | |
|                     } elseif ($nextstate === self::YY_NO_ACTION) {
 | |
|                         $this->yyidx = $yyidx;
 | |
|                         $this->yystack = $stack;
 | |
|                         // input accepted, but not shifted (I guess)
 | |
|                         return $expected;
 | |
|                     } else {
 | |
|                         $yyact = $nextstate;
 | |
|                     }
 | |
|                 } while (true);
 | |
|             }
 | |
|             break;
 | |
|         } while (true);
 | |
|         return array_unique($expected);
 | |
|     }
 | |
| 
 | |
|     function yy_is_expected_token($token)
 | |
|     {
 | |
|         if ($token === 0) {
 | |
|             return true; // 0 is not part of this
 | |
|         }
 | |
|         $state = $this->yystack[$this->yyidx]->stateno;
 | |
|         if (in_array($token, self::$yyExpectedTokens[$state], true)) {
 | |
|             return true;
 | |
|         }
 | |
|         $stack = $this->yystack;
 | |
|         $yyidx = $this->yyidx;
 | |
|         do {
 | |
|             $yyact = $this->yy_find_shift_action($token);
 | |
|             if ($yyact >= self::YYNSTATE && $yyact < self::YYNSTATE + self::YYNRULE) {
 | |
|                 // reduce action
 | |
|                 $done = 0;
 | |
|                 do {
 | |
|                     if ($done++ == 100) {
 | |
|                         $this->yyidx = $yyidx;
 | |
|                         $this->yystack = $stack;
 | |
|                         // too much recursion prevents proper detection
 | |
|                         // so give up
 | |
|                         return true;
 | |
|                     }
 | |
|                     $yyruleno = $yyact - self::YYNSTATE;
 | |
|                     $this->yyidx -= self::$yyRuleInfo[$yyruleno]['rhs'];
 | |
|                     $nextstate = $this->yy_find_reduce_action(
 | |
|                         $this->yystack[$this->yyidx]->stateno,
 | |
|                         self::$yyRuleInfo[$yyruleno]['lhs']);
 | |
|                     if (isset(self::$yyExpectedTokens[$nextstate]) &&
 | |
|                           in_array($token, self::$yyExpectedTokens[$nextstate], true)) {
 | |
|                         $this->yyidx = $yyidx;
 | |
|                         $this->yystack = $stack;
 | |
|                         return true;
 | |
|                     }
 | |
|                     if ($nextstate < self::YYNSTATE) {
 | |
|                         // we need to shift a non-terminal
 | |
|                         $this->yyidx++;
 | |
|                         $x = new TP_yyStackEntry;
 | |
|                         $x->stateno = $nextstate;
 | |
|                         $x->major = self::$yyRuleInfo[$yyruleno]['lhs'];
 | |
|                         $this->yystack[$this->yyidx] = $x;
 | |
|                         continue 2;
 | |
|                     } elseif ($nextstate == self::YYNSTATE + self::YYNRULE + 1) {
 | |
|                         $this->yyidx = $yyidx;
 | |
|                         $this->yystack = $stack;
 | |
|                         if (!$token) {
 | |
|                             // end of input: this is valid
 | |
|                             return true;
 | |
|                         }
 | |
|                         // the last token was just ignored, we can't accept
 | |
|                         // by ignoring input, this is in essence ignoring a
 | |
|                         // syntax error!
 | |
|                         return false;
 | |
|                     } elseif ($nextstate === self::YY_NO_ACTION) {
 | |
|                         $this->yyidx = $yyidx;
 | |
|                         $this->yystack = $stack;
 | |
|                         // input accepted, but not shifted (I guess)
 | |
|                         return true;
 | |
|                     } else {
 | |
|                         $yyact = $nextstate;
 | |
|                     }
 | |
|                 } while (true);
 | |
|             }
 | |
|             break;
 | |
|         } while (true);
 | |
|         $this->yyidx = $yyidx;
 | |
|         $this->yystack = $stack;
 | |
|         return true;
 | |
|     }
 | |
| 
 | |
|    function yy_find_shift_action($iLookAhead)
 | |
|     {
 | |
|         $stateno = $this->yystack[$this->yyidx]->stateno;
 | |
|      
 | |
|         /* if ($this->yyidx < 0) return self::YY_NO_ACTION;  */
 | |
|         if (!isset(self::$yy_shift_ofst[$stateno])) {
 | |
|             // no shift actions
 | |
|             return self::$yy_default[$stateno];
 | |
|         }
 | |
|         $i = self::$yy_shift_ofst[$stateno];
 | |
|         if ($i === self::YY_SHIFT_USE_DFLT) {
 | |
|             return self::$yy_default[$stateno];
 | |
|         }
 | |
|         if ($iLookAhead == self::YYNOCODE) {
 | |
|             return self::YY_NO_ACTION;
 | |
|         }
 | |
|         $i += $iLookAhead;
 | |
|         if ($i < 0 || $i >= self::YY_SZ_ACTTAB ||
 | |
|               self::$yy_lookahead[$i] != $iLookAhead) {
 | |
|             if (count(self::$yyFallback) && $iLookAhead < count(self::$yyFallback)
 | |
|                    && ($iFallback = self::$yyFallback[$iLookAhead]) != 0) {
 | |
|                 if (self::$yyTraceFILE) {
 | |
|                     fwrite(self::$yyTraceFILE, self::$yyTracePrompt . "FALLBACK " .
 | |
|                         $this->yyTokenName[$iLookAhead] . " => " .
 | |
|                         $this->yyTokenName[$iFallback] . "\n");
 | |
|                 }
 | |
|                 return $this->yy_find_shift_action($iFallback);
 | |
|             }
 | |
|             return self::$yy_default[$stateno];
 | |
|         } else {
 | |
|             return self::$yy_action[$i];
 | |
|         }
 | |
|     }
 | |
| 
 | |
|     function yy_find_reduce_action($stateno, $iLookAhead)
 | |
|     {
 | |
|         /* $stateno = $this->yystack[$this->yyidx]->stateno; */
 | |
| 
 | |
|         if (!isset(self::$yy_reduce_ofst[$stateno])) {
 | |
|             return self::$yy_default[$stateno];
 | |
|         }
 | |
|         $i = self::$yy_reduce_ofst[$stateno];
 | |
|         if ($i == self::YY_REDUCE_USE_DFLT) {
 | |
|             return self::$yy_default[$stateno];
 | |
|         }
 | |
|         if ($iLookAhead == self::YYNOCODE) {
 | |
|             return self::YY_NO_ACTION;
 | |
|         }
 | |
|         $i += $iLookAhead;
 | |
|         if ($i < 0 || $i >= self::YY_SZ_ACTTAB ||
 | |
|               self::$yy_lookahead[$i] != $iLookAhead) {
 | |
|             return self::$yy_default[$stateno];
 | |
|         } else {
 | |
|             return self::$yy_action[$i];
 | |
|         }
 | |
|     }
 | |
| 
 | |
|     function yy_shift($yyNewState, $yyMajor, $yypMinor)
 | |
|     {
 | |
|         $this->yyidx++;
 | |
|         if ($this->yyidx >= self::YYSTACKDEPTH) {
 | |
|             $this->yyidx--;
 | |
|             if (self::$yyTraceFILE) {
 | |
|                 fprintf(self::$yyTraceFILE, "%sStack Overflow!\n", self::$yyTracePrompt);
 | |
|             }
 | |
|             while ($this->yyidx >= 0) {
 | |
|                 $this->yy_pop_parser_stack();
 | |
|             }
 | |
|             return;
 | |
|         }
 | |
|         $yytos = new TP_yyStackEntry;
 | |
|         $yytos->stateno = $yyNewState;
 | |
|         $yytos->major = $yyMajor;
 | |
|         $yytos->minor = $yypMinor;
 | |
|         array_push($this->yystack, $yytos);
 | |
|         if (self::$yyTraceFILE && $this->yyidx > 0) {
 | |
|             fprintf(self::$yyTraceFILE, "%sShift %d\n", self::$yyTracePrompt,
 | |
|                 $yyNewState);
 | |
|             fprintf(self::$yyTraceFILE, "%sStack:", self::$yyTracePrompt);
 | |
|             for($i = 1; $i <= $this->yyidx; $i++) {
 | |
|                 fprintf(self::$yyTraceFILE, " %s",
 | |
|                     $this->yyTokenName[$this->yystack[$i]->major]);
 | |
|             }
 | |
|             fwrite(self::$yyTraceFILE,"\n");
 | |
|         }
 | |
|     }
 | |
| 
 | |
|     static public $yyRuleInfo = array(
 | |
|   array( 'lhs' => 72, 'rhs' => 1 ),
 | |
|   array( 'lhs' => 73, 'rhs' => 1 ),
 | |
|   array( 'lhs' => 73, 'rhs' => 2 ),
 | |
|   array( 'lhs' => 74, 'rhs' => 1 ),
 | |
|   array( 'lhs' => 74, 'rhs' => 1 ),
 | |
|   array( 'lhs' => 74, 'rhs' => 3 ),
 | |
|   array( 'lhs' => 74, 'rhs' => 3 ),
 | |
|   array( 'lhs' => 74, 'rhs' => 1 ),
 | |
|   array( 'lhs' => 74, 'rhs' => 1 ),
 | |
|   array( 'lhs' => 74, 'rhs' => 1 ),
 | |
|   array( 'lhs' => 75, 'rhs' => 3 ),
 | |
|   array( 'lhs' => 75, 'rhs' => 4 ),
 | |
|   array( 'lhs' => 75, 'rhs' => 4 ),
 | |
|   array( 'lhs' => 75, 'rhs' => 4 ),
 | |
|   array( 'lhs' => 75, 'rhs' => 4 ),
 | |
|   array( 'lhs' => 75, 'rhs' => 6 ),
 | |
|   array( 'lhs' => 75, 'rhs' => 6 ),
 | |
|   array( 'lhs' => 75, 'rhs' => 7 ),
 | |
|   array( 'lhs' => 75, 'rhs' => 7 ),
 | |
|   array( 'lhs' => 75, 'rhs' => 6 ),
 | |
|   array( 'lhs' => 75, 'rhs' => 6 ),
 | |
|   array( 'lhs' => 75, 'rhs' => 4 ),
 | |
|   array( 'lhs' => 75, 'rhs' => 4 ),
 | |
|   array( 'lhs' => 75, 'rhs' => 3 ),
 | |
|   array( 'lhs' => 75, 'rhs' => 6 ),
 | |
|   array( 'lhs' => 75, 'rhs' => 6 ),
 | |
|   array( 'lhs' => 75, 'rhs' => 8 ),
 | |
|   array( 'lhs' => 75, 'rhs' => 5 ),
 | |
|   array( 'lhs' => 75, 'rhs' => 5 ),
 | |
|   array( 'lhs' => 75, 'rhs' => 13 ),
 | |
|   array( 'lhs' => 89, 'rhs' => 2 ),
 | |
|   array( 'lhs' => 89, 'rhs' => 1 ),
 | |
|   array( 'lhs' => 75, 'rhs' => 8 ),
 | |
|   array( 'lhs' => 75, 'rhs' => 8 ),
 | |
|   array( 'lhs' => 75, 'rhs' => 11 ),
 | |
|   array( 'lhs' => 75, 'rhs' => 8 ),
 | |
|   array( 'lhs' => 75, 'rhs' => 11 ),
 | |
|   array( 'lhs' => 75, 'rhs' => 3 ),
 | |
|   array( 'lhs' => 75, 'rhs' => 3 ),
 | |
|   array( 'lhs' => 91, 'rhs' => 1 ),
 | |
|   array( 'lhs' => 91, 'rhs' => 1 ),
 | |
|   array( 'lhs' => 91, 'rhs' => 1 ),
 | |
|   array( 'lhs' => 75, 'rhs' => 4 ),
 | |
|   array( 'lhs' => 75, 'rhs' => 6 ),
 | |
|   array( 'lhs' => 75, 'rhs' => 5 ),
 | |
|   array( 'lhs' => 77, 'rhs' => 2 ),
 | |
|   array( 'lhs' => 77, 'rhs' => 1 ),
 | |
|   array( 'lhs' => 77, 'rhs' => 0 ),
 | |
|   array( 'lhs' => 92, 'rhs' => 4 ),
 | |
|   array( 'lhs' => 92, 'rhs' => 4 ),
 | |
|   array( 'lhs' => 92, 'rhs' => 4 ),
 | |
|   array( 'lhs' => 92, 'rhs' => 4 ),
 | |
|   array( 'lhs' => 92, 'rhs' => 2 ),
 | |
|   array( 'lhs' => 92, 'rhs' => 4 ),
 | |
|   array( 'lhs' => 86, 'rhs' => 1 ),
 | |
|   array( 'lhs' => 86, 'rhs' => 3 ),
 | |
|   array( 'lhs' => 85, 'rhs' => 4 ),
 | |
|   array( 'lhs' => 79, 'rhs' => 1 ),
 | |
|   array( 'lhs' => 79, 'rhs' => 1 ),
 | |
|   array( 'lhs' => 79, 'rhs' => 4 ),
 | |
|   array( 'lhs' => 79, 'rhs' => 3 ),
 | |
|   array( 'lhs' => 93, 'rhs' => 1 ),
 | |
|   array( 'lhs' => 93, 'rhs' => 2 ),
 | |
|   array( 'lhs' => 93, 'rhs' => 3 ),
 | |
|   array( 'lhs' => 93, 'rhs' => 1 ),
 | |
|   array( 'lhs' => 80, 'rhs' => 7 ),
 | |
|   array( 'lhs' => 80, 'rhs' => 7 ),
 | |
|   array( 'lhs' => 94, 'rhs' => 1 ),
 | |
|   array( 'lhs' => 94, 'rhs' => 1 ),
 | |
|   array( 'lhs' => 94, 'rhs' => 1 ),
 | |
|   array( 'lhs' => 76, 'rhs' => 1 ),
 | |
|   array( 'lhs' => 76, 'rhs' => 2 ),
 | |
|   array( 'lhs' => 76, 'rhs' => 2 ),
 | |
|   array( 'lhs' => 76, 'rhs' => 1 ),
 | |
|   array( 'lhs' => 76, 'rhs' => 3 ),
 | |
|   array( 'lhs' => 76, 'rhs' => 1 ),
 | |
|   array( 'lhs' => 76, 'rhs' => 1 ),
 | |
|   array( 'lhs' => 76, 'rhs' => 1 ),
 | |
|   array( 'lhs' => 76, 'rhs' => 3 ),
 | |
|   array( 'lhs' => 76, 'rhs' => 1 ),
 | |
|   array( 'lhs' => 76, 'rhs' => 3 ),
 | |
|   array( 'lhs' => 76, 'rhs' => 2 ),
 | |
|   array( 'lhs' => 76, 'rhs' => 3 ),
 | |
|   array( 'lhs' => 76, 'rhs' => 7 ),
 | |
|   array( 'lhs' => 76, 'rhs' => 4 ),
 | |
|   array( 'lhs' => 76, 'rhs' => 8 ),
 | |
|   array( 'lhs' => 76, 'rhs' => 3 ),
 | |
|   array( 'lhs' => 76, 'rhs' => 5 ),
 | |
|   array( 'lhs' => 76, 'rhs' => 6 ),
 | |
|   array( 'lhs' => 76, 'rhs' => 1 ),
 | |
|   array( 'lhs' => 78, 'rhs' => 1 ),
 | |
|   array( 'lhs' => 78, 'rhs' => 4 ),
 | |
|   array( 'lhs' => 78, 'rhs' => 1 ),
 | |
|   array( 'lhs' => 78, 'rhs' => 3 ),
 | |
|   array( 'lhs' => 78, 'rhs' => 3 ),
 | |
|   array( 'lhs' => 81, 'rhs' => 3 ),
 | |
|   array( 'lhs' => 100, 'rhs' => 2 ),
 | |
|   array( 'lhs' => 100, 'rhs' => 0 ),
 | |
|   array( 'lhs' => 102, 'rhs' => 3 ),
 | |
|   array( 'lhs' => 102, 'rhs' => 5 ),
 | |
|   array( 'lhs' => 102, 'rhs' => 2 ),
 | |
|   array( 'lhs' => 102, 'rhs' => 2 ),
 | |
|   array( 'lhs' => 102, 'rhs' => 2 ),
 | |
|   array( 'lhs' => 102, 'rhs' => 2 ),
 | |
|   array( 'lhs' => 102, 'rhs' => 4 ),
 | |
|   array( 'lhs' => 102, 'rhs' => 3 ),
 | |
|   array( 'lhs' => 102, 'rhs' => 5 ),
 | |
|   array( 'lhs' => 102, 'rhs' => 3 ),
 | |
|   array( 'lhs' => 102, 'rhs' => 2 ),
 | |
|   array( 'lhs' => 88, 'rhs' => 1 ),
 | |
|   array( 'lhs' => 88, 'rhs' => 2 ),
 | |
|   array( 'lhs' => 103, 'rhs' => 1 ),
 | |
|   array( 'lhs' => 103, 'rhs' => 3 ),
 | |
|   array( 'lhs' => 101, 'rhs' => 2 ),
 | |
|   array( 'lhs' => 99, 'rhs' => 1 ),
 | |
|   array( 'lhs' => 99, 'rhs' => 2 ),
 | |
|   array( 'lhs' => 104, 'rhs' => 3 ),
 | |
|   array( 'lhs' => 104, 'rhs' => 3 ),
 | |
|   array( 'lhs' => 104, 'rhs' => 5 ),
 | |
|   array( 'lhs' => 104, 'rhs' => 6 ),
 | |
|   array( 'lhs' => 104, 'rhs' => 2 ),
 | |
|   array( 'lhs' => 95, 'rhs' => 4 ),
 | |
|   array( 'lhs' => 97, 'rhs' => 4 ),
 | |
|   array( 'lhs' => 98, 'rhs' => 3 ),
 | |
|   array( 'lhs' => 98, 'rhs' => 1 ),
 | |
|   array( 'lhs' => 98, 'rhs' => 0 ),
 | |
|   array( 'lhs' => 82, 'rhs' => 3 ),
 | |
|   array( 'lhs' => 82, 'rhs' => 2 ),
 | |
|   array( 'lhs' => 83, 'rhs' => 2 ),
 | |
|   array( 'lhs' => 83, 'rhs' => 0 ),
 | |
|   array( 'lhs' => 105, 'rhs' => 2 ),
 | |
|   array( 'lhs' => 105, 'rhs' => 2 ),
 | |
|   array( 'lhs' => 84, 'rhs' => 1 ),
 | |
|   array( 'lhs' => 84, 'rhs' => 2 ),
 | |
|   array( 'lhs' => 84, 'rhs' => 3 ),
 | |
|   array( 'lhs' => 106, 'rhs' => 1 ),
 | |
|   array( 'lhs' => 106, 'rhs' => 3 ),
 | |
|   array( 'lhs' => 106, 'rhs' => 3 ),
 | |
|   array( 'lhs' => 106, 'rhs' => 3 ),
 | |
|   array( 'lhs' => 106, 'rhs' => 3 ),
 | |
|   array( 'lhs' => 106, 'rhs' => 3 ),
 | |
|   array( 'lhs' => 106, 'rhs' => 3 ),
 | |
|   array( 'lhs' => 106, 'rhs' => 2 ),
 | |
|   array( 'lhs' => 106, 'rhs' => 2 ),
 | |
|   array( 'lhs' => 106, 'rhs' => 3 ),
 | |
|   array( 'lhs' => 106, 'rhs' => 3 ),
 | |
|   array( 'lhs' => 106, 'rhs' => 2 ),
 | |
|   array( 'lhs' => 106, 'rhs' => 2 ),
 | |
|   array( 'lhs' => 106, 'rhs' => 3 ),
 | |
|   array( 'lhs' => 106, 'rhs' => 3 ),
 | |
|   array( 'lhs' => 106, 'rhs' => 3 ),
 | |
|   array( 'lhs' => 106, 'rhs' => 3 ),
 | |
|   array( 'lhs' => 107, 'rhs' => 1 ),
 | |
|   array( 'lhs' => 107, 'rhs' => 1 ),
 | |
|   array( 'lhs' => 107, 'rhs' => 1 ),
 | |
|   array( 'lhs' => 107, 'rhs' => 1 ),
 | |
|   array( 'lhs' => 107, 'rhs' => 1 ),
 | |
|   array( 'lhs' => 107, 'rhs' => 1 ),
 | |
|   array( 'lhs' => 107, 'rhs' => 1 ),
 | |
|   array( 'lhs' => 107, 'rhs' => 1 ),
 | |
|   array( 'lhs' => 107, 'rhs' => 1 ),
 | |
|   array( 'lhs' => 108, 'rhs' => 1 ),
 | |
|   array( 'lhs' => 108, 'rhs' => 1 ),
 | |
|   array( 'lhs' => 108, 'rhs' => 1 ),
 | |
|   array( 'lhs' => 90, 'rhs' => 3 ),
 | |
|   array( 'lhs' => 109, 'rhs' => 1 ),
 | |
|   array( 'lhs' => 109, 'rhs' => 3 ),
 | |
|   array( 'lhs' => 109, 'rhs' => 0 ),
 | |
|   array( 'lhs' => 110, 'rhs' => 3 ),
 | |
|   array( 'lhs' => 110, 'rhs' => 3 ),
 | |
|   array( 'lhs' => 110, 'rhs' => 1 ),
 | |
|   array( 'lhs' => 96, 'rhs' => 2 ),
 | |
|   array( 'lhs' => 96, 'rhs' => 1 ),
 | |
|   array( 'lhs' => 111, 'rhs' => 3 ),
 | |
|   array( 'lhs' => 111, 'rhs' => 1 ),
 | |
|   array( 'lhs' => 111, 'rhs' => 3 ),
 | |
|   array( 'lhs' => 111, 'rhs' => 3 ),
 | |
|   array( 'lhs' => 111, 'rhs' => 1 ),
 | |
|   array( 'lhs' => 111, 'rhs' => 1 ),
 | |
|   array( 'lhs' => 87, 'rhs' => 1 ),
 | |
|   array( 'lhs' => 87, 'rhs' => 0 ),
 | |
|     );
 | |
| 
 | |
|     static public $yyReduceMap = array(
 | |
|         0 => 0,
 | |
|         39 => 0,
 | |
|         40 => 0,
 | |
|         41 => 0,
 | |
|         61 => 0,
 | |
|         70 => 0,
 | |
|         73 => 0,
 | |
|         75 => 0,
 | |
|         76 => 0,
 | |
|         77 => 0,
 | |
|         79 => 0,
 | |
|         92 => 0,
 | |
|         165 => 0,
 | |
|         1 => 1,
 | |
|         58 => 1,
 | |
|         64 => 1,
 | |
|         67 => 1,
 | |
|         68 => 1,
 | |
|         109 => 1,
 | |
|         132 => 1,
 | |
|         172 => 1,
 | |
|         178 => 1,
 | |
|         179 => 1,
 | |
|         2 => 2,
 | |
|         128 => 2,
 | |
|         3 => 3,
 | |
|         4 => 4,
 | |
|         5 => 5,
 | |
|         6 => 6,
 | |
|         7 => 7,
 | |
|         8 => 8,
 | |
|         9 => 9,
 | |
|         10 => 10,
 | |
|         11 => 11,
 | |
|         12 => 11,
 | |
|         13 => 11,
 | |
|         14 => 11,
 | |
|         15 => 15,
 | |
|         16 => 15,
 | |
|         17 => 17,
 | |
|         18 => 17,
 | |
|         19 => 19,
 | |
|         20 => 19,
 | |
|         21 => 21,
 | |
|         22 => 21,
 | |
|         23 => 23,
 | |
|         24 => 24,
 | |
|         25 => 25,
 | |
|         26 => 26,
 | |
|         27 => 27,
 | |
|         28 => 27,
 | |
|         29 => 29,
 | |
|         30 => 30,
 | |
|         31 => 31,
 | |
|         46 => 31,
 | |
|         124 => 31,
 | |
|         170 => 31,
 | |
|         32 => 32,
 | |
|         33 => 33,
 | |
|         34 => 34,
 | |
|         35 => 35,
 | |
|         36 => 36,
 | |
|         37 => 37,
 | |
|         38 => 37,
 | |
|         42 => 42,
 | |
|         43 => 43,
 | |
|         44 => 44,
 | |
|         45 => 45,
 | |
|         47 => 47,
 | |
|         48 => 48,
 | |
|         49 => 49,
 | |
|         50 => 49,
 | |
|         51 => 49,
 | |
|         53 => 49,
 | |
|         52 => 52,
 | |
|         54 => 54,
 | |
|         55 => 55,
 | |
|         56 => 56,
 | |
|         57 => 57,
 | |
|         59 => 59,
 | |
|         60 => 60,
 | |
|         62 => 62,
 | |
|         71 => 62,
 | |
|         72 => 62,
 | |
|         63 => 63,
 | |
|         65 => 65,
 | |
|         66 => 65,
 | |
|         69 => 69,
 | |
|         74 => 74,
 | |
|         78 => 78,
 | |
|         80 => 80,
 | |
|         81 => 81,
 | |
|         82 => 82,
 | |
|         83 => 83,
 | |
|         84 => 84,
 | |
|         85 => 85,
 | |
|         86 => 86,
 | |
|         87 => 87,
 | |
|         88 => 88,
 | |
|         89 => 89,
 | |
|         90 => 90,
 | |
|         91 => 91,
 | |
|         93 => 93,
 | |
|         94 => 94,
 | |
|         95 => 95,
 | |
|         96 => 96,
 | |
|         171 => 96,
 | |
|         97 => 97,
 | |
|         129 => 97,
 | |
|         98 => 98,
 | |
|         99 => 99,
 | |
|         100 => 100,
 | |
|         101 => 100,
 | |
|         102 => 100,
 | |
|         103 => 103,
 | |
|         104 => 104,
 | |
|         107 => 104,
 | |
|         105 => 105,
 | |
|         106 => 106,
 | |
|         108 => 108,
 | |
|         180 => 108,
 | |
|         110 => 110,
 | |
|         111 => 111,
 | |
|         112 => 112,
 | |
|         134 => 112,
 | |
|         113 => 113,
 | |
|         114 => 114,
 | |
|         115 => 115,
 | |
|         116 => 116,
 | |
|         117 => 117,
 | |
|         118 => 118,
 | |
|         119 => 119,
 | |
|         120 => 120,
 | |
|         121 => 121,
 | |
|         122 => 122,
 | |
|         123 => 123,
 | |
|         125 => 125,
 | |
|         126 => 126,
 | |
|         127 => 127,
 | |
|         130 => 130,
 | |
|         131 => 131,
 | |
|         133 => 133,
 | |
|         135 => 135,
 | |
|         136 => 136,
 | |
|         139 => 136,
 | |
|         150 => 136,
 | |
|         137 => 137,
 | |
|         138 => 138,
 | |
|         140 => 140,
 | |
|         141 => 141,
 | |
|         142 => 142,
 | |
|         147 => 142,
 | |
|         143 => 143,
 | |
|         146 => 143,
 | |
|         144 => 144,
 | |
|         149 => 144,
 | |
|         145 => 145,
 | |
|         148 => 145,
 | |
|         151 => 151,
 | |
|         152 => 152,
 | |
|         153 => 153,
 | |
|         154 => 154,
 | |
|         155 => 155,
 | |
|         156 => 156,
 | |
|         157 => 157,
 | |
|         158 => 158,
 | |
|         159 => 159,
 | |
|         160 => 160,
 | |
|         161 => 161,
 | |
|         162 => 162,
 | |
|         163 => 163,
 | |
|         164 => 164,
 | |
|         166 => 166,
 | |
|         167 => 167,
 | |
|         168 => 168,
 | |
|         169 => 169,
 | |
|         173 => 173,
 | |
|         175 => 173,
 | |
|         174 => 174,
 | |
|         176 => 176,
 | |
|         177 => 177,
 | |
|     );
 | |
| #line 78 "smarty_internal_templateparser.y"
 | |
|     function yy_r0(){ $this->_retvalue = $this->yystack[$this->yyidx + 0]->minor;     }
 | |
| #line 1807 "smarty_internal_templateparser.php"
 | |
| #line 84 "smarty_internal_templateparser.y"
 | |
|     function yy_r1(){$this->_retvalue = $this->yystack[$this->yyidx + 0]->minor;    }
 | |
| #line 1810 "smarty_internal_templateparser.php"
 | |
| #line 86 "smarty_internal_templateparser.y"
 | |
|     function yy_r2(){ $this->_retvalue = $this->yystack[$this->yyidx + -1]->minor.$this->yystack[$this->yyidx + 0]->minor;    }
 | |
| #line 1813 "smarty_internal_templateparser.php"
 | |
| #line 92 "smarty_internal_templateparser.y"
 | |
|     function yy_r3(){
 | |
|                                           if ($this->compiler->has_code) {
 | |
|                                             $tmp =''; foreach ($this->compiler->prefix_code as $code) {$tmp.=$code;} $this->compiler->prefix_code=array();
 | |
|                                             $this->_retvalue = $this->cacher->processNocacheCode($tmp.$this->yystack[$this->yyidx + 0]->minor, $this->compiler,true);
 | |
|                                          } else { $this->_retvalue = $this->yystack[$this->yyidx + 0]->minor;}  $this->compiler->has_variable_string = false;    }
 | |
| #line 1820 "smarty_internal_templateparser.php"
 | |
| #line 99 "smarty_internal_templateparser.y"
 | |
|     function yy_r4(){ $this->_retvalue = '';    }
 | |
| #line 1823 "smarty_internal_templateparser.php"
 | |
| #line 104 "smarty_internal_templateparser.y"
 | |
|     function yy_r5(){if ($this->sec_obj->php_handling == SMARTY_PHP_PASSTHRU) {
 | |
|                                        $this->_retvalue = $this->cacher->processNocacheCode("<?php echo htmlspecialchars('<?php".str_replace("'","\'",$this->yystack[$this->yyidx + -1]->minor)."?>', ENT_QUOTES);?>\n", $this->compiler, false);
 | |
|                                       } elseif ($this->sec_obj->php_handling == SMARTY_PHP_QUOTE) {
 | |
|                                        $this->_retvalue = $this->cacher->processNocacheCode(htmlspecialchars('<?php'.$this->yystack[$this->yyidx + -1]->minor.'?>', ENT_QUOTES), $this->compiler, false);
 | |
|                                       }elseif ($this->sec_obj->php_handling == SMARTY_PHP_ALLOW) {
 | |
|                                        $this->_retvalue = $this->cacher->processNocacheCode('<?php'.$this->yystack[$this->yyidx + -1]->minor.'?>', $this->compiler, true);
 | |
|                                       }elseif ($this->sec_obj->php_handling == SMARTY_PHP_REMOVE) {
 | |
|                                        $this->_retvalue = '';
 | |
|                                       }
 | |
|                                          }
 | |
| #line 1835 "smarty_internal_templateparser.php"
 | |
| #line 115 "smarty_internal_templateparser.y"
 | |
|     function yy_r6(){ 
 | |
|                                       if ($this->sec_obj->php_handling == SMARTY_PHP_PASSTHRU) {
 | |
|                                        $this->_retvalue = $this->cacher->processNocacheCode("<?php echo '<?=".$this->yystack[$this->yyidx + -1]->minor."?>'?>\n", $this->compiler, false);
 | |
|                                       } elseif ($this->sec_obj->php_handling == SMARTY_PHP_QUOTE) {
 | |
|                                        $this->_retvalue = $this->cacher->processNocacheCode(htmlspecialchars('<?='.$this->yystack[$this->yyidx + -1]->minor.'?>', ENT_QUOTES), $this->compiler, false);
 | |
|                                       }elseif ($this->sec_obj->php_handling == SMARTY_PHP_ALLOW) {
 | |
|                                        $this->_retvalue = $this->cacher->processNocacheCode('<?='.$this->yystack[$this->yyidx + -1]->minor.'?>', $this->compiler, true);
 | |
|                                       }elseif ($this->sec_obj == SMARTY_PHP_REMOVE) {
 | |
|                                        $this->_retvalue = '';
 | |
|                                       }
 | |
|                                          }
 | |
| #line 1848 "smarty_internal_templateparser.php"
 | |
| #line 128 "smarty_internal_templateparser.y"
 | |
|     function yy_r7(){ $this->compiler->tag_nocache = true; $this->_retvalue = $this->cacher->processNocacheCode("<?php echo '<?xml';?>", $this->compiler, true);    }
 | |
| #line 1851 "smarty_internal_templateparser.php"
 | |
| #line 129 "smarty_internal_templateparser.y"
 | |
|     function yy_r8(){$this->compiler->tag_nocache = true; $this->_retvalue = $this->cacher->processNocacheCode("<?php echo '?>';?>\n", $this->compiler, true);    }
 | |
| #line 1854 "smarty_internal_templateparser.php"
 | |
| #line 131 "smarty_internal_templateparser.y"
 | |
|     function yy_r9(){$this->_retvalue = $this->cacher->processNocacheCode($this->yystack[$this->yyidx + 0]->minor, $this->compiler,false);    }
 | |
| #line 1857 "smarty_internal_templateparser.php"
 | |
| #line 139 "smarty_internal_templateparser.y"
 | |
|     function yy_r10(){ $this->_retvalue = $this->compiler->compileTag('print_expression',array('value'=>$this->yystack[$this->yyidx + -1]->minor));    }
 | |
| #line 1860 "smarty_internal_templateparser.php"
 | |
| #line 140 "smarty_internal_templateparser.y"
 | |
|     function yy_r11(){ $this->_retvalue = $this->compiler->compileTag('print_expression',array_merge(array('value'=>$this->yystack[$this->yyidx + -2]->minor),$this->yystack[$this->yyidx + -1]->minor));    }
 | |
| #line 1863 "smarty_internal_templateparser.php"
 | |
| #line 151 "smarty_internal_templateparser.y"
 | |
|     function yy_r15(){ $this->_retvalue = $this->compiler->compileTag('assign',array('value'=>$this->yystack[$this->yyidx + -1]->minor,'var'=>"'".$this->yystack[$this->yyidx + -3]->minor."'"));    }
 | |
| #line 1866 "smarty_internal_templateparser.php"
 | |
| #line 153 "smarty_internal_templateparser.y"
 | |
|     function yy_r17(){ $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 1869 "smarty_internal_templateparser.php"
 | |
| #line 155 "smarty_internal_templateparser.y"
 | |
|     function yy_r19(){ $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 1872 "smarty_internal_templateparser.php"
 | |
| #line 158 "smarty_internal_templateparser.y"
 | |
|     function yy_r21(){ $this->_retvalue = $this->compiler->compileTag($this->yystack[$this->yyidx + -2]->minor,$this->yystack[$this->yyidx + -1]->minor);    }
 | |
| #line 1875 "smarty_internal_templateparser.php"
 | |
| #line 160 "smarty_internal_templateparser.y"
 | |
|     function yy_r23(){ $this->_retvalue = $this->compiler->compileTag($this->yystack[$this->yyidx + -1]->minor,array());    }
 | |
| #line 1878 "smarty_internal_templateparser.php"
 | |
| #line 162 "smarty_internal_templateparser.y"
 | |
|     function yy_r24(){ $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 1881 "smarty_internal_templateparser.php"
 | |
| #line 164 "smarty_internal_templateparser.y"
 | |
|     function yy_r25(){  $this->_retvalue = '<?php ob_start();?>'.$this->compiler->compileTag($this->yystack[$this->yyidx + -4]->minor,$this->yystack[$this->yyidx + -1]->minor).'<?php echo ';
 | |
| 															                                   if ($this->smarty->plugin_handler->loadSmartyPlugin($this->yystack[$this->yyidx + -3]->minor[0],'modifier')) {
 | |
|                                                                       $this->_retvalue .= "\$_smarty_tpl->smarty->plugin_handler->executeModifier('".$this->yystack[$this->yyidx + -3]->minor[0] . "',array(ob_get_clean()" . $this->yystack[$this->yyidx + -2]->minor. "),".$this->yystack[$this->yyidx + -3]->minor[1].");?>";
 | |
|                                                                  } else {
 | |
|                                                                    if (is_callable($this->yystack[$this->yyidx + -3]->minor[0])) {
 | |
| 																					                            if (!$this->template->security || $this->smarty->security_handler->isTrustedModifier($this->yystack[$this->yyidx + -3]->minor[0], $this->compiler)) {
 | |
|                                                                          $this->_retvalue .= "\$_smarty_tpl->smarty->plugin_handler->executeModifier('".$this->yystack[$this->yyidx + -3]->minor[0] . "',array(ob_get_clean()" . $this->yystack[$this->yyidx + -2]->minor. "),".$this->yystack[$this->yyidx + -3]->minor[1].");?>";
 | |
| 																					                            }
 | |
| 																					                         } else {
 | |
|                                                                       $this->compiler->trigger_template_error ("unknown modifier \"" . $this->yystack[$this->yyidx + -3]->minor[0] . "\"");
 | |
|                                                                  }
 | |
|                                                               }
 | |
|                                                                         }
 | |
| #line 1896 "smarty_internal_templateparser.php"
 | |
| #line 178 "smarty_internal_templateparser.y"
 | |
|     function yy_r26(){  $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 ';
 | |
| 															                                   if ($this->smarty->plugin_handler->loadSmartyPlugin($this->yystack[$this->yyidx + -3]->minor[0],'modifier')) {
 | |
|                                                                       $this->_retvalue .= "\$_smarty_tpl->smarty->plugin_handler->executeModifier('".$this->yystack[$this->yyidx + -3]->minor[0] . "',array(ob_get_clean()" . $this->yystack[$this->yyidx + -2]->minor. "),".$this->yystack[$this->yyidx + -3]->minor[1].");?>";
 | |
|                                                                  } else {
 | |
|                                                                    if (is_callable($this->yystack[$this->yyidx + -3]->minor[0])) {
 | |
| 																					                            if (!$this->template->security || $this->smarty->security_handler->isTrustedModifier($this->yystack[$this->yyidx + -3]->minor[0], $this->compiler)) {
 | |
|                                                                          $this->_retvalue .= "\$_smarty_tpl->smarty->plugin_handler->executeModifier('".$this->yystack[$this->yyidx + -3]->minor[0] . "',array(ob_get_clean()" . $this->yystack[$this->yyidx + -2]->minor. "),".$this->yystack[$this->yyidx + -3]->minor[1].");?>";
 | |
| 																					                            }
 | |
| 																					                         } else {
 | |
|                                                                       $this->compiler->trigger_template_error ("unknown modifier \"" . $this->yystack[$this->yyidx + -3]->minor[0] . "\"");
 | |
|                                                                  }
 | |
|                                                               }
 | |
|                                                                         }
 | |
| #line 1911 "smarty_internal_templateparser.php"
 | |
| #line 192 "smarty_internal_templateparser.y"
 | |
|     function yy_r27(){ $this->_retvalue = $this->compiler->compileTag($this->yystack[$this->yyidx + -3]->minor,array('if condition'=>$this->yystack[$this->yyidx + -1]->minor));    }
 | |
| #line 1914 "smarty_internal_templateparser.php"
 | |
| #line 195 "smarty_internal_templateparser.y"
 | |
|     function yy_r29(){
 | |
|                                                              $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 1918 "smarty_internal_templateparser.php"
 | |
| #line 197 "smarty_internal_templateparser.y"
 | |
|     function yy_r30(){ $this->_retvalue = '='.$this->yystack[$this->yyidx + 0]->minor;    }
 | |
| #line 1921 "smarty_internal_templateparser.php"
 | |
| #line 198 "smarty_internal_templateparser.y"
 | |
|     function yy_r31(){ $this->_retvalue = $this->yystack[$this->yyidx + 0]->minor;    }
 | |
| #line 1924 "smarty_internal_templateparser.php"
 | |
| #line 199 "smarty_internal_templateparser.y"
 | |
|     function yy_r32(){ $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 1927 "smarty_internal_templateparser.php"
 | |
| #line 202 "smarty_internal_templateparser.y"
 | |
|     function yy_r33(){
 | |
|                                                             $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 1931 "smarty_internal_templateparser.php"
 | |
| #line 204 "smarty_internal_templateparser.y"
 | |
|     function yy_r34(){
 | |
|                                                             $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 1935 "smarty_internal_templateparser.php"
 | |
| #line 206 "smarty_internal_templateparser.y"
 | |
|     function yy_r35(){ 
 | |
|                                                             $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 1939 "smarty_internal_templateparser.php"
 | |
| #line 208 "smarty_internal_templateparser.y"
 | |
|     function yy_r36(){ 
 | |
|                                                             $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 1943 "smarty_internal_templateparser.php"
 | |
| #line 212 "smarty_internal_templateparser.y"
 | |
|     function yy_r37(){ $this->_retvalue = $this->compiler->compileTag($this->yystack[$this->yyidx + -1]->minor.'close',array());    }
 | |
| #line 1946 "smarty_internal_templateparser.php"
 | |
| #line 217 "smarty_internal_templateparser.y"
 | |
|     function yy_r42(){ $this->_retvalue = $this->compiler->compileTag($this->yystack[$this->yyidx + -2]->minor.'close',$this->yystack[$this->yyidx + -1]->minor);    }
 | |
| #line 1949 "smarty_internal_templateparser.php"
 | |
| #line 218 "smarty_internal_templateparser.y"
 | |
|     function yy_r43(){  $this->_retvalue = '<?php ob_start();?>'.$this->compiler->compileTag($this->yystack[$this->yyidx + -4]->minor.'close',$this->yystack[$this->yyidx + -1]->minor).'<?php echo ';
 | |
| 															                                   if ($this->smarty->plugin_handler->loadSmartyPlugin($this->yystack[$this->yyidx + -3]->minor[0],'modifier')) {
 | |
|                                                                       $this->_retvalue .= "\$_smarty_tpl->smarty->plugin_handler->executeModifier('".$this->yystack[$this->yyidx + -3]->minor[0] . "',array(ob_get_clean()" . $this->yystack[$this->yyidx + -2]->minor. "),".$this->yystack[$this->yyidx + -3]->minor[1].");?>";
 | |
|                                                                  } else {
 | |
|                                                                    if (is_callable($this->yystack[$this->yyidx + -3]->minor[0])) {
 | |
| 																					                            if (!$this->template->security || $this->smarty->security_handler->isTrustedModifier($this->yystack[$this->yyidx + -3]->minor[0], $this->compiler)) {
 | |
|                                                                          $this->_retvalue .= "\$_smarty_tpl->smarty->plugin_handler->executeModifier('".$this->yystack[$this->yyidx + -3]->minor[0] . "',array(ob_get_clean()" . $this->yystack[$this->yyidx + -2]->minor. "),".$this->yystack[$this->yyidx + -3]->minor[1].");?>";
 | |
| 																					                            }
 | |
| 																					                         } else {
 | |
|                                                                       $this->compiler->trigger_template_error ("unknown modifier \"" . $this->yystack[$this->yyidx + -3]->minor[0] . "\"");
 | |
|                                                                  }
 | |
|                                                               }
 | |
|                                                                         }
 | |
| #line 1964 "smarty_internal_templateparser.php"
 | |
| #line 232 "smarty_internal_templateparser.y"
 | |
|     function yy_r44(){  $this->_retvalue = $this->compiler->compileTag($this->yystack[$this->yyidx + -3]->minor.'close',array('object_methode'=>$this->yystack[$this->yyidx + -1]->minor));    }
 | |
| #line 1967 "smarty_internal_templateparser.php"
 | |
| #line 239 "smarty_internal_templateparser.y"
 | |
|     function yy_r45(){ $this->_retvalue = array_merge($this->yystack[$this->yyidx + -1]->minor,$this->yystack[$this->yyidx + 0]->minor);    }
 | |
| #line 1970 "smarty_internal_templateparser.php"
 | |
| #line 243 "smarty_internal_templateparser.y"
 | |
|     function yy_r47(){ $this->_retvalue = array();    }
 | |
| #line 1973 "smarty_internal_templateparser.php"
 | |
| #line 246 "smarty_internal_templateparser.y"
 | |
|     function yy_r48(){ $this->_retvalue = array($this->yystack[$this->yyidx + -2]->minor=>"'".$this->yystack[$this->yyidx + 0]->minor."'");    }
 | |
| #line 1976 "smarty_internal_templateparser.php"
 | |
| #line 247 "smarty_internal_templateparser.y"
 | |
|     function yy_r49(){ $this->_retvalue = array($this->yystack[$this->yyidx + -2]->minor=>$this->yystack[$this->yyidx + 0]->minor);    }
 | |
| #line 1979 "smarty_internal_templateparser.php"
 | |
| #line 250 "smarty_internal_templateparser.y"
 | |
|     function yy_r52(){ $this->_retvalue = array($this->yystack[$this->yyidx + 0]->minor=>'true');    }
 | |
| #line 1982 "smarty_internal_templateparser.php"
 | |
| #line 257 "smarty_internal_templateparser.y"
 | |
|     function yy_r54(){ $this->_retvalue = array($this->yystack[$this->yyidx + 0]->minor);    }
 | |
| #line 1985 "smarty_internal_templateparser.php"
 | |
| #line 258 "smarty_internal_templateparser.y"
 | |
|     function yy_r55(){ $this->yystack[$this->yyidx + -2]->minor[]=$this->yystack[$this->yyidx + 0]->minor; $this->_retvalue = $this->yystack[$this->yyidx + -2]->minor;    }
 | |
| #line 1988 "smarty_internal_templateparser.php"
 | |
| #line 260 "smarty_internal_templateparser.y"
 | |
|     function yy_r56(){ $this->_retvalue = array('var' => $this->yystack[$this->yyidx + -2]->minor, 'value'=>$this->yystack[$this->yyidx + 0]->minor);    }
 | |
| #line 1991 "smarty_internal_templateparser.php"
 | |
| #line 266 "smarty_internal_templateparser.y"
 | |
|     function yy_r57(){ $this->_retvalue = '\''.$this->yystack[$this->yyidx + 0]->minor.'\'';     }
 | |
| #line 1994 "smarty_internal_templateparser.php"
 | |
| #line 269 "smarty_internal_templateparser.y"
 | |
|     function yy_r59(){$this->_retvalue = '$_smarty_tpl->getStreamVariable(\''. $this->yystack[$this->yyidx + -2]->minor .'://'. $this->yystack[$this->yyidx + 0]->minor . '\')';    }
 | |
| #line 1997 "smarty_internal_templateparser.php"
 | |
| #line 270 "smarty_internal_templateparser.y"
 | |
|     function yy_r60(){            
 | |
|                                                             if ($this->smarty->plugin_handler->loadSmartyPlugin($this->yystack[$this->yyidx + -1]->minor[0],'modifier')) {
 | |
|                                                                       $this->_retvalue = "\$_smarty_tpl->smarty->plugin_handler->executeModifier('".$this->yystack[$this->yyidx + -1]->minor[0] . "',array(". $this->yystack[$this->yyidx + -2]->minor . $this->yystack[$this->yyidx + 0]->minor. "),".$this->yystack[$this->yyidx + -1]->minor[1].")";
 | |
|                                                                  } else {
 | |
|                                                                    if (is_callable($this->yystack[$this->yyidx + -1]->minor[0])) {
 | |
| 																					                            if (!$this->template->security || $this->smarty->security_handler->isTrustedModifier($this->yystack[$this->yyidx + -1]->minor[0], $this->compiler)) {
 | |
|                                                                          $this->_retvalue = "\$_smarty_tpl->smarty->plugin_handler->executeModifier('".$this->yystack[$this->yyidx + -1]->minor[0] . "',array(". $this->yystack[$this->yyidx + -2]->minor . $this->yystack[$this->yyidx + 0]->minor. "),".$this->yystack[$this->yyidx + -1]->minor[1].")";
 | |
| 																					                            }
 | |
| 																					                         } else {
 | |
|                                                                       $this->compiler->trigger_template_error ("unknown modifier \"" . $this->yystack[$this->yyidx + -1]->minor[0] . "\"");
 | |
|                                                                  }
 | |
|                                                               }
 | |
|                                                                 }
 | |
| #line 2012 "smarty_internal_templateparser.php"
 | |
| #line 287 "smarty_internal_templateparser.y"
 | |
|     function yy_r62(){ $this->_retvalue = $this->yystack[$this->yyidx + -1]->minor.$this->yystack[$this->yyidx + 0]->minor;     }
 | |
| #line 2015 "smarty_internal_templateparser.php"
 | |
| #line 289 "smarty_internal_templateparser.y"
 | |
|     function yy_r63(){ $this->_retvalue = $this->yystack[$this->yyidx + -2]->minor . $this->yystack[$this->yyidx + -1]->minor . $this->yystack[$this->yyidx + 0]->minor;     }
 | |
| #line 2018 "smarty_internal_templateparser.php"
 | |
| #line 296 "smarty_internal_templateparser.y"
 | |
|     function yy_r65(){ $this->_retvalue = $this->yystack[$this->yyidx + -5]->minor.' ? '.$this->yystack[$this->yyidx + -2]->minor.' : '.$this->yystack[$this->yyidx + 0]->minor;    }
 | |
| #line 2021 "smarty_internal_templateparser.php"
 | |
| #line 310 "smarty_internal_templateparser.y"
 | |
|     function yy_r69(){$this->_retvalue = ' & ';    }
 | |
| #line 2024 "smarty_internal_templateparser.php"
 | |
| #line 318 "smarty_internal_templateparser.y"
 | |
|     function yy_r74(){ $this->_retvalue = $this->yystack[$this->yyidx + -2]->minor.'.'.$this->yystack[$this->yyidx + 0]->minor;     }
 | |
| #line 2027 "smarty_internal_templateparser.php"
 | |
| #line 328 "smarty_internal_templateparser.y"
 | |
|     function yy_r78(){ $this->_retvalue = "(". $this->yystack[$this->yyidx + -1]->minor .")";     }
 | |
| #line 2030 "smarty_internal_templateparser.php"
 | |
| #line 332 "smarty_internal_templateparser.y"
 | |
|     function yy_r80(){ $_s = str_replace(array('."".','.""'),array('.',''),'"'.$this->yystack[$this->yyidx + -1]->minor.'"'); 
 | |
|                                                     if (substr($_s,0,3) == '"".') {
 | |
|                                                       $this->_retvalue = substr($_s,3);
 | |
|                                                     } else {
 | |
|                                                       $this->_retvalue = $_s;
 | |
|                                                     }
 | |
|                                                       }
 | |
| #line 2039 "smarty_internal_templateparser.php"
 | |
| #line 339 "smarty_internal_templateparser.y"
 | |
|     function yy_r81(){ $this->_retvalue = "''";     }
 | |
| #line 2042 "smarty_internal_templateparser.php"
 | |
| #line 341 "smarty_internal_templateparser.y"
 | |
|     function yy_r82(){ $this->_retvalue = $this->yystack[$this->yyidx + -2]->minor.'::'.$this->yystack[$this->yyidx + 0]->minor;     }
 | |
| #line 2045 "smarty_internal_templateparser.php"
 | |
| #line 342 "smarty_internal_templateparser.y"
 | |
|     function yy_r83(){ $this->prefix_number++; $this->compiler->prefix_code[] = '<?php $_tmp'.$this->prefix_number.'=$_smarty_tpl->getVariable(\''. $this->yystack[$this->yyidx + -3]->minor .'\')->value;?>'; $this->_retvalue = $this->yystack[$this->yyidx + -6]->minor.'::$_tmp'.$this->prefix_number.'('. $this->yystack[$this->yyidx + -1]->minor .')';     }
 | |
| #line 2048 "smarty_internal_templateparser.php"
 | |
| #line 344 "smarty_internal_templateparser.y"
 | |
|     function yy_r84(){ $this->_retvalue = $this->yystack[$this->yyidx + -3]->minor.'::'.$this->yystack[$this->yyidx + -1]->minor.$this->yystack[$this->yyidx + 0]->minor;     }
 | |
| #line 2051 "smarty_internal_templateparser.php"
 | |
| #line 345 "smarty_internal_templateparser.y"
 | |
|     function yy_r85(){ $this->prefix_number++; $this->compiler->prefix_code[] = '<?php $_tmp'.$this->prefix_number.'=$_smarty_tpl->getVariable(\''. $this->yystack[$this->yyidx + -4]->minor .'\')->value;?>'; $this->_retvalue = $this->yystack[$this->yyidx + -7]->minor.'::$_tmp'.$this->prefix_number.'('. $this->yystack[$this->yyidx + -2]->minor .')'.$this->yystack[$this->yyidx + 0]->minor;     }
 | |
| #line 2054 "smarty_internal_templateparser.php"
 | |
| #line 347 "smarty_internal_templateparser.y"
 | |
|     function yy_r86(){ $this->_retvalue = $this->yystack[$this->yyidx + -2]->minor.'::'.$this->yystack[$this->yyidx + 0]->minor;    }
 | |
| #line 2057 "smarty_internal_templateparser.php"
 | |
| #line 349 "smarty_internal_templateparser.y"
 | |
|     function yy_r87(){ $this->_retvalue = $this->yystack[$this->yyidx + -4]->minor.'::$'.$this->yystack[$this->yyidx + -1]->minor.$this->yystack[$this->yyidx + 0]->minor;    }
 | |
| #line 2060 "smarty_internal_templateparser.php"
 | |
| #line 351 "smarty_internal_templateparser.y"
 | |
|     function yy_r88(){ $this->_retvalue = $this->yystack[$this->yyidx + -5]->minor.'::$'.$this->yystack[$this->yyidx + -2]->minor.$this->yystack[$this->yyidx + -1]->minor.$this->yystack[$this->yyidx + 0]->minor;    }
 | |
| #line 2063 "smarty_internal_templateparser.php"
 | |
| #line 353 "smarty_internal_templateparser.y"
 | |
|     function yy_r89(){ $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 2066 "smarty_internal_templateparser.php"
 | |
| #line 362 "smarty_internal_templateparser.y"
 | |
|     function yy_r90(){if ($this->yystack[$this->yyidx + 0]->minor['var'] == '\'smarty\'') { $this->_retvalue =  $this->compiler->compileTag('special_smarty_variable',$this->yystack[$this->yyidx + 0]->minor['index']);} else {
 | |
|                                                          $this->_retvalue = '$_smarty_tpl->getVariable('. $this->yystack[$this->yyidx + 0]->minor['var'] .')->value'.$this->yystack[$this->yyidx + 0]->minor['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 2070 "smarty_internal_templateparser.php"
 | |
| #line 365 "smarty_internal_templateparser.y"
 | |
|     function yy_r91(){ $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 2073 "smarty_internal_templateparser.php"
 | |
| #line 369 "smarty_internal_templateparser.y"
 | |
|     function yy_r93(){$this->_retvalue = '$_smarty_tpl->getConfigVariable(\''. $this->yystack[$this->yyidx + -1]->minor .'\')';    }
 | |
| #line 2076 "smarty_internal_templateparser.php"
 | |
| #line 370 "smarty_internal_templateparser.y"
 | |
|     function yy_r94(){$this->_retvalue = '$_smarty_tpl->getConfigVariable('. $this->yystack[$this->yyidx + -1]->minor .')';    }
 | |
| #line 2079 "smarty_internal_templateparser.php"
 | |
| #line 373 "smarty_internal_templateparser.y"
 | |
|     function yy_r95(){$this->_retvalue = array('var'=>$this->yystack[$this->yyidx + -1]->minor, 'index'=>$this->yystack[$this->yyidx + 0]->minor);    }
 | |
| #line 2082 "smarty_internal_templateparser.php"
 | |
| #line 379 "smarty_internal_templateparser.y"
 | |
|     function yy_r96(){$this->_retvalue = $this->yystack[$this->yyidx + -1]->minor.$this->yystack[$this->yyidx + 0]->minor;    }
 | |
| #line 2085 "smarty_internal_templateparser.php"
 | |
| #line 381 "smarty_internal_templateparser.y"
 | |
|     function yy_r97(){return;    }
 | |
| #line 2088 "smarty_internal_templateparser.php"
 | |
| #line 385 "smarty_internal_templateparser.y"
 | |
|     function yy_r98(){ $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 2091 "smarty_internal_templateparser.php"
 | |
| #line 386 "smarty_internal_templateparser.y"
 | |
|     function yy_r99(){ $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 2094 "smarty_internal_templateparser.php"
 | |
| #line 389 "smarty_internal_templateparser.y"
 | |
|     function yy_r100(){ $this->_retvalue = "['". $this->yystack[$this->yyidx + 0]->minor ."']";    }
 | |
| #line 2097 "smarty_internal_templateparser.php"
 | |
| #line 393 "smarty_internal_templateparser.y"
 | |
|     function yy_r103(){ $this->_retvalue = "[". $this->yystack[$this->yyidx + 0]->minor ."]";    }
 | |
| #line 2100 "smarty_internal_templateparser.php"
 | |
| #line 394 "smarty_internal_templateparser.y"
 | |
|     function yy_r104(){ $this->_retvalue = "[". $this->yystack[$this->yyidx + -1]->minor ."]";    }
 | |
| #line 2103 "smarty_internal_templateparser.php"
 | |
| #line 396 "smarty_internal_templateparser.y"
 | |
|     function yy_r105(){ $this->_retvalue = '['.$this->compiler->compileTag('special_smarty_variable','[\'section\'][\''.$this->yystack[$this->yyidx + -1]->minor.'\'][\'index\']').']';    }
 | |
| #line 2106 "smarty_internal_templateparser.php"
 | |
| #line 397 "smarty_internal_templateparser.y"
 | |
|     function yy_r106(){ $this->_retvalue = '['.$this->compiler->compileTag('special_smarty_variable','[\'section\'][\''.$this->yystack[$this->yyidx + -3]->minor.'\'][\''.$this->yystack[$this->yyidx + -1]->minor.'\']').']';    }
 | |
| #line 2109 "smarty_internal_templateparser.php"
 | |
| #line 401 "smarty_internal_templateparser.y"
 | |
|     function yy_r108(){$this->_retvalue = '';    }
 | |
| #line 2112 "smarty_internal_templateparser.php"
 | |
| #line 409 "smarty_internal_templateparser.y"
 | |
|     function yy_r110(){$this->_retvalue = $this->yystack[$this->yyidx + -1]->minor.'.'.$this->yystack[$this->yyidx + 0]->minor;    }
 | |
| #line 2115 "smarty_internal_templateparser.php"
 | |
| #line 411 "smarty_internal_templateparser.y"
 | |
|     function yy_r111(){$this->_retvalue = '\''.$this->yystack[$this->yyidx + 0]->minor.'\'';    }
 | |
| #line 2118 "smarty_internal_templateparser.php"
 | |
| #line 414 "smarty_internal_templateparser.y"
 | |
|     function yy_r112(){$this->_retvalue = '('.$this->yystack[$this->yyidx + -1]->minor.')';    }
 | |
| #line 2121 "smarty_internal_templateparser.php"
 | |
| #line 419 "smarty_internal_templateparser.y"
 | |
|     function yy_r113(){ if ($this->yystack[$this->yyidx + -1]->minor['var'] == '\'smarty\'') { $this->_retvalue =  $this->compiler->compileTag('special_smarty_variable',$this->yystack[$this->yyidx + -1]->minor['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['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 2125 "smarty_internal_templateparser.php"
 | |
| #line 422 "smarty_internal_templateparser.y"
 | |
|     function yy_r114(){$this->_retvalue  = $this->yystack[$this->yyidx + 0]->minor;     }
 | |
| #line 2128 "smarty_internal_templateparser.php"
 | |
| #line 424 "smarty_internal_templateparser.y"
 | |
|     function yy_r115(){$this->_retvalue  = $this->yystack[$this->yyidx + -1]->minor.$this->yystack[$this->yyidx + 0]->minor;     }
 | |
| #line 2131 "smarty_internal_templateparser.php"
 | |
| #line 426 "smarty_internal_templateparser.y"
 | |
|     function yy_r116(){ $this->_retvalue = '->'.$this->yystack[$this->yyidx + -1]->minor.$this->yystack[$this->yyidx + 0]->minor;    }
 | |
| #line 2134 "smarty_internal_templateparser.php"
 | |
| #line 427 "smarty_internal_templateparser.y"
 | |
|     function yy_r117(){ $this->_retvalue = '->{'.$this->yystack[$this->yyidx + -1]->minor.$this->yystack[$this->yyidx + 0]->minor.'}';    }
 | |
| #line 2137 "smarty_internal_templateparser.php"
 | |
| #line 428 "smarty_internal_templateparser.y"
 | |
|     function yy_r118(){ $this->_retvalue = '->{'.$this->yystack[$this->yyidx + -2]->minor.$this->yystack[$this->yyidx + 0]->minor.'}';    }
 | |
| #line 2140 "smarty_internal_templateparser.php"
 | |
| #line 429 "smarty_internal_templateparser.y"
 | |
|     function yy_r119(){ $this->_retvalue = '->{\''.$this->yystack[$this->yyidx + -4]->minor.'\'.'.$this->yystack[$this->yyidx + -2]->minor.$this->yystack[$this->yyidx + 0]->minor.'}';    }
 | |
| #line 2143 "smarty_internal_templateparser.php"
 | |
| #line 431 "smarty_internal_templateparser.y"
 | |
|     function yy_r120(){ $this->_retvalue = '->'.$this->yystack[$this->yyidx + 0]->minor;    }
 | |
| #line 2146 "smarty_internal_templateparser.php"
 | |
| #line 437 "smarty_internal_templateparser.y"
 | |
|     function yy_r121(){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 2155 "smarty_internal_templateparser.php"
 | |
| #line 448 "smarty_internal_templateparser.y"
 | |
|     function yy_r122(){ $this->_retvalue = $this->yystack[$this->yyidx + -3]->minor . "(". $this->yystack[$this->yyidx + -1]->minor .")";    }
 | |
| #line 2158 "smarty_internal_templateparser.php"
 | |
| #line 452 "smarty_internal_templateparser.y"
 | |
|     function yy_r123(){ $this->_retvalue = $this->yystack[$this->yyidx + -2]->minor.",".$this->yystack[$this->yyidx + 0]->minor;    }
 | |
| #line 2161 "smarty_internal_templateparser.php"
 | |
| #line 456 "smarty_internal_templateparser.y"
 | |
|     function yy_r125(){ return;    }
 | |
| #line 2164 "smarty_internal_templateparser.php"
 | |
| #line 461 "smarty_internal_templateparser.y"
 | |
|     function yy_r126(){ $this->_retvalue =  array($this->yystack[$this->yyidx + 0]->minor,'false');    }
 | |
| #line 2167 "smarty_internal_templateparser.php"
 | |
| #line 462 "smarty_internal_templateparser.y"
 | |
|     function yy_r127(){ $this->_retvalue =  array($this->yystack[$this->yyidx + 0]->minor,'true');    }
 | |
| #line 2170 "smarty_internal_templateparser.php"
 | |
| #line 478 "smarty_internal_templateparser.y"
 | |
|     function yy_r130(){$this->_retvalue = ','.$this->yystack[$this->yyidx + 0]->minor;    }
 | |
| #line 2173 "smarty_internal_templateparser.php"
 | |
| #line 479 "smarty_internal_templateparser.y"
 | |
|     function yy_r131(){$this->_retvalue = ',\''.$this->yystack[$this->yyidx + 0]->minor.'\'';    }
 | |
| #line 2176 "smarty_internal_templateparser.php"
 | |
| #line 486 "smarty_internal_templateparser.y"
 | |
|     function yy_r133(){$this->_retvalue = '!'.$this->yystack[$this->yyidx + 0]->minor;    }
 | |
| #line 2179 "smarty_internal_templateparser.php"
 | |
| #line 491 "smarty_internal_templateparser.y"
 | |
|     function yy_r135(){$this->_retvalue =$this->yystack[$this->yyidx + 0]->minor;    }
 | |
| #line 2182 "smarty_internal_templateparser.php"
 | |
| #line 493 "smarty_internal_templateparser.y"
 | |
|     function yy_r136(){$this->_retvalue = $this->yystack[$this->yyidx + -2]->minor.$this->yystack[$this->yyidx + -1]->minor.$this->yystack[$this->yyidx + 0]->minor;    }
 | |
| #line 2185 "smarty_internal_templateparser.php"
 | |
| #line 494 "smarty_internal_templateparser.y"
 | |
|     function yy_r137(){$this->_retvalue = 'in_array('.$this->yystack[$this->yyidx + -2]->minor.','.$this->yystack[$this->yyidx + 0]->minor.')';    }
 | |
| #line 2188 "smarty_internal_templateparser.php"
 | |
| #line 495 "smarty_internal_templateparser.y"
 | |
|     function yy_r138(){$this->_retvalue = 'in_array('.$this->yystack[$this->yyidx + -2]->minor.',(array)'.$this->yystack[$this->yyidx + 0]->minor.')';    }
 | |
| #line 2191 "smarty_internal_templateparser.php"
 | |
| #line 497 "smarty_internal_templateparser.y"
 | |
|     function yy_r140(){$this->_retvalue = '!('.$this->yystack[$this->yyidx + -2]->minor.' % '.$this->yystack[$this->yyidx + 0]->minor.')';    }
 | |
| #line 2194 "smarty_internal_templateparser.php"
 | |
| #line 498 "smarty_internal_templateparser.y"
 | |
|     function yy_r141(){$this->_retvalue = '('.$this->yystack[$this->yyidx + -2]->minor.' % '.$this->yystack[$this->yyidx + 0]->minor.')';    }
 | |
| #line 2197 "smarty_internal_templateparser.php"
 | |
| #line 499 "smarty_internal_templateparser.y"
 | |
|     function yy_r142(){$this->_retvalue = '!(1 & '.$this->yystack[$this->yyidx + -1]->minor.')';    }
 | |
| #line 2200 "smarty_internal_templateparser.php"
 | |
| #line 500 "smarty_internal_templateparser.y"
 | |
|     function yy_r143(){$this->_retvalue = '(1 & '.$this->yystack[$this->yyidx + -1]->minor.')';    }
 | |
| #line 2203 "smarty_internal_templateparser.php"
 | |
| #line 501 "smarty_internal_templateparser.y"
 | |
|     function yy_r144(){$this->_retvalue = '!(1 & '.$this->yystack[$this->yyidx + -2]->minor.' / '.$this->yystack[$this->yyidx + 0]->minor.')';    }
 | |
| #line 2206 "smarty_internal_templateparser.php"
 | |
| #line 502 "smarty_internal_templateparser.y"
 | |
|     function yy_r145(){$this->_retvalue = '(1 & '.$this->yystack[$this->yyidx + -2]->minor.' / '.$this->yystack[$this->yyidx + 0]->minor.')';    }
 | |
| #line 2209 "smarty_internal_templateparser.php"
 | |
| #line 508 "smarty_internal_templateparser.y"
 | |
|     function yy_r151(){$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 2212 "smarty_internal_templateparser.php"
 | |
| #line 510 "smarty_internal_templateparser.y"
 | |
|     function yy_r152(){$this->_retvalue = '==';    }
 | |
| #line 2215 "smarty_internal_templateparser.php"
 | |
| #line 511 "smarty_internal_templateparser.y"
 | |
|     function yy_r153(){$this->_retvalue = '!=';    }
 | |
| #line 2218 "smarty_internal_templateparser.php"
 | |
| #line 512 "smarty_internal_templateparser.y"
 | |
|     function yy_r154(){$this->_retvalue = '>';    }
 | |
| #line 2221 "smarty_internal_templateparser.php"
 | |
| #line 513 "smarty_internal_templateparser.y"
 | |
|     function yy_r155(){$this->_retvalue = '<';    }
 | |
| #line 2224 "smarty_internal_templateparser.php"
 | |
| #line 514 "smarty_internal_templateparser.y"
 | |
|     function yy_r156(){$this->_retvalue = '>=';    }
 | |
| #line 2227 "smarty_internal_templateparser.php"
 | |
| #line 515 "smarty_internal_templateparser.y"
 | |
|     function yy_r157(){$this->_retvalue = '<=';    }
 | |
| #line 2230 "smarty_internal_templateparser.php"
 | |
| #line 516 "smarty_internal_templateparser.y"
 | |
|     function yy_r158(){$this->_retvalue = '===';    }
 | |
| #line 2233 "smarty_internal_templateparser.php"
 | |
| #line 517 "smarty_internal_templateparser.y"
 | |
|     function yy_r159(){$this->_retvalue = '!==';    }
 | |
| #line 2236 "smarty_internal_templateparser.php"
 | |
| #line 518 "smarty_internal_templateparser.y"
 | |
|     function yy_r160(){$this->_retvalue = '%';    }
 | |
| #line 2239 "smarty_internal_templateparser.php"
 | |
| #line 520 "smarty_internal_templateparser.y"
 | |
|     function yy_r161(){$this->_retvalue = '&&';    }
 | |
| #line 2242 "smarty_internal_templateparser.php"
 | |
| #line 521 "smarty_internal_templateparser.y"
 | |
|     function yy_r162(){$this->_retvalue = '||';    }
 | |
| #line 2245 "smarty_internal_templateparser.php"
 | |
| #line 522 "smarty_internal_templateparser.y"
 | |
|     function yy_r163(){$this->_retvalue = ' XOR ';    }
 | |
| #line 2248 "smarty_internal_templateparser.php"
 | |
| #line 527 "smarty_internal_templateparser.y"
 | |
|     function yy_r164(){ $this->_retvalue = 'array('.$this->yystack[$this->yyidx + -1]->minor.')';    }
 | |
| #line 2251 "smarty_internal_templateparser.php"
 | |
| #line 529 "smarty_internal_templateparser.y"
 | |
|     function yy_r166(){ $this->_retvalue = $this->yystack[$this->yyidx + -2]->minor.','.$this->yystack[$this->yyidx + 0]->minor;     }
 | |
| #line 2254 "smarty_internal_templateparser.php"
 | |
| #line 530 "smarty_internal_templateparser.y"
 | |
|     function yy_r167(){ return;     }
 | |
| #line 2257 "smarty_internal_templateparser.php"
 | |
| #line 531 "smarty_internal_templateparser.y"
 | |
|     function yy_r168(){ $this->_retvalue = $this->yystack[$this->yyidx + -2]->minor.'=>'.$this->yystack[$this->yyidx + 0]->minor;    }
 | |
| #line 2260 "smarty_internal_templateparser.php"
 | |
| #line 532 "smarty_internal_templateparser.y"
 | |
|     function yy_r169(){ $this->_retvalue = '\''.$this->yystack[$this->yyidx + -2]->minor.'\'=>'.$this->yystack[$this->yyidx + 0]->minor;    }
 | |
| #line 2263 "smarty_internal_templateparser.php"
 | |
| #line 541 "smarty_internal_templateparser.y"
 | |
|     function yy_r173(){$this->_retvalue = '".'.$this->yystack[$this->yyidx + -1]->minor.'."'; $this->compiler->has_variable_string = true;    }
 | |
| #line 2266 "smarty_internal_templateparser.php"
 | |
| #line 542 "smarty_internal_templateparser.y"
 | |
|     function yy_r174(){$this->_retvalue = '".'.'$_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; $this->compiler->has_variable_string = true;    }
 | |
| #line 2269 "smarty_internal_templateparser.php"
 | |
| #line 544 "smarty_internal_templateparser.y"
 | |
|     function yy_r176(){ $this->_retvalue = '".('.$this->yystack[$this->yyidx + -1]->minor.')."'; $this->compiler->has_variable_string = true;    }
 | |
| #line 2272 "smarty_internal_templateparser.php"
 | |
| #line 545 "smarty_internal_templateparser.y"
 | |
|     function yy_r177(){ $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.'."'; $this->compiler->has_variable_string = true;    }
 | |
| #line 2275 "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 60 "smarty_internal_templateparser.y"
 | |
| 
 | |
|     $this->internalError = true;
 | |
|     $this->yymajor = $yymajor;
 | |
|     $this->compiler->trigger_template_error();
 | |
| #line 2338 "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 52 "smarty_internal_templateparser.y"
 | |
| 
 | |
|     $this->successful = !$this->internalError;
 | |
|     $this->internalError = false;
 | |
|     $this->retvalue = $this->_retvalue;
 | |
|     //echo $this->retvalue."\n\n";
 | |
| #line 2356 "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);
 | |
|     }
 | |
| }
 | |
| ?>
 |