mirror of
				https://github.com/smarty-php/smarty.git
				synced 2025-10-31 04:11:37 +01:00 
			
		
		
		
	
		
			
				
	
	
		
			2585 lines
		
	
	
		
			121 KiB
		
	
	
	
		
			PHP
		
	
	
	
	
	
			
		
		
	
	
			2585 lines
		
	
	
		
			121 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
 | |
| */
 | |
| 
 | |
| /**
 | |
|  * This can be used to store both the string representation of
 | |
|  * a token, and any useful meta-data associated with the token.
 | |
|  *
 | |
|  * meta-data should be stored as an array
 | |
|  */
 | |
| 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]);
 | |
|     }
 | |
| }
 | |
| 
 | |
| /** The following structure represents a single element of the
 | |
|  * parser's stack.  Information stored includes:
 | |
|  *
 | |
|  *   +  The state number for the parser at this level of the stack.
 | |
|  *
 | |
|  *   +  The value of the token stored at this level of the stack.
 | |
|  *      (In other words, the "major" token.)
 | |
|  *
 | |
|  *   +  The semantic value stored at this level of the stack.  This is
 | |
|  *      the information used by the action routines in the grammar.
 | |
|  *      It is sometimes called the "minor" token.
 | |
|  */
 | |
| 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  */
 | |
| };
 | |
| 
 | |
| // code external to the class is included here
 | |
| 
 | |
| // declare_class is output here
 | |
| #line 12 "internal.templateparser.y"
 | |
| class Smarty_Internal_Templateparser#line 109 "internal.templateparser.php"
 | |
| {
 | |
| /* First off, code is included which follows the "include_class" declaration
 | |
| ** in the input file. */
 | |
| #line 14 "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;
 | |
|         $this->cacher = $this->template->cacher_object; 
 | |
| 				$this->nocache = false;
 | |
| 				$this->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 142 "internal.templateparser.php"
 | |
| 
 | |
| /* Next is all token values, as class constants
 | |
| */
 | |
| /* 
 | |
| ** These constants (all generated automatically by the parser generator)
 | |
| ** specify the various kinds of tokens (terminals) that the parser
 | |
| ** understands. 
 | |
| **
 | |
| ** Each symbol here is a terminal symbol in the grammar.
 | |
| */
 | |
|     const TP_OTHER                          =  1;
 | |
|     const TP_LDELSLASH                      =  2;
 | |
|     const TP_LDEL                           =  3;
 | |
|     const TP_RDEL                           =  4;
 | |
|     const TP_PHP                            =  5;
 | |
|     const TP_SHORTTAGSTART                  =  6;
 | |
|     const TP_SHORTTAGEND                    =  7;
 | |
|     const TP_COMMENTEND                     =  8;
 | |
|     const TP_COMMENTSTART                   =  9;
 | |
|     const TP_INTEGER                        = 10;
 | |
|     const TP_MATH                           = 11;
 | |
|     const TP_UNIMATH                        = 12;
 | |
|     const TP_INCDEC                         = 13;
 | |
|     const TP_OPENP                          = 14;
 | |
|     const TP_CLOSEP                         = 15;
 | |
|     const TP_OPENB                          = 16;
 | |
|     const TP_CLOSEB                         = 17;
 | |
|     const TP_DOLLAR                         = 18;
 | |
|     const TP_DOT                            = 19;
 | |
|     const TP_COMMA                          = 20;
 | |
|     const TP_COLON                          = 21;
 | |
|     const TP_DOUBLECOLON                    = 22;
 | |
|     const TP_SEMICOLON                      = 23;
 | |
|     const TP_VERT                           = 24;
 | |
|     const TP_EQUAL                          = 25;
 | |
|     const TP_SPACE                          = 26;
 | |
|     const TP_PTR                            = 27;
 | |
|     const TP_APTR                           = 28;
 | |
|     const TP_ID                             = 29;
 | |
|     const TP_EQUALS                         = 30;
 | |
|     const TP_NOTEQUALS                      = 31;
 | |
|     const TP_GREATERTHAN                    = 32;
 | |
|     const TP_LESSTHAN                       = 33;
 | |
|     const TP_GREATEREQUAL                   = 34;
 | |
|     const TP_LESSEQUAL                      = 35;
 | |
|     const TP_IDENTITY                       = 36;
 | |
|     const TP_NONEIDENTITY                   = 37;
 | |
|     const TP_NOT                            = 38;
 | |
|     const TP_LAND                           = 39;
 | |
|     const TP_LOR                            = 40;
 | |
|     const TP_QUOTE                          = 41;
 | |
|     const TP_SINGLEQUOTE                    = 42;
 | |
|     const TP_BOOLEAN                        = 43;
 | |
|     const TP_NULL                           = 44;
 | |
|     const TP_AS                             = 45;
 | |
|     const TP_ANDSYM                         = 46;
 | |
|     const TP_BACKTICK                       = 47;
 | |
|     const TP_HATCH                          = 48;
 | |
|     const TP_AT                             = 49;
 | |
|     const TP_ISODD                          = 50;
 | |
|     const TP_ISNOTODD                       = 51;
 | |
|     const TP_ISEVEN                         = 52;
 | |
|     const TP_ISNOTEVEN                      = 53;
 | |
|     const TP_ISODDBY                        = 54;
 | |
|     const TP_ISNOTODDBY                     = 55;
 | |
|     const TP_ISEVENBY                       = 56;
 | |
|     const TP_ISNOTEVENBY                    = 57;
 | |
|     const TP_ISDIVBY                        = 58;
 | |
|     const TP_ISNOTDIVBY                     = 59;
 | |
|     const TP_ISIN                           = 60;
 | |
|     const TP_LITERALSTART                   = 61;
 | |
|     const TP_LITERALEND                     = 62;
 | |
|     const TP_LDELIMTAG                      = 63;
 | |
|     const TP_RDELIMTAG                      = 64;
 | |
|     const TP_PHPSTART                       = 65;
 | |
|     const TP_PHPEND                         = 66;
 | |
|     const TP_XML                            = 67;
 | |
|     const YY_NO_ACTION = 444;
 | |
|     const YY_ACCEPT_ACTION = 443;
 | |
|     const YY_ERROR_ACTION = 442;
 | |
| 
 | |
| /* Next are that tables used to determine what action to take based on the
 | |
| ** current state and lookahead token.  These tables are used to implement
 | |
| ** functions that take a state number and lookahead value and return an
 | |
| ** action integer.  
 | |
| **
 | |
| ** Suppose the action integer is N.  Then the action is determined as
 | |
| ** follows
 | |
| **
 | |
| **   0 <= N < self::YYNSTATE                              Shift N.  That is,
 | |
| **                                                        push the lookahead
 | |
| **                                                        token onto the stack
 | |
| **                                                        and goto state N.
 | |
| **
 | |
| **   self::YYNSTATE <= N < self::YYNSTATE+self::YYNRULE   Reduce by rule N-YYNSTATE.
 | |
| **
 | |
| **   N == self::YYNSTATE+self::YYNRULE                    A syntax error has occurred.
 | |
| **
 | |
| **   N == self::YYNSTATE+self::YYNRULE+1                  The parser accepts its
 | |
| **                                                        input. (and concludes parsing)
 | |
| **
 | |
| **   N == self::YYNSTATE+self::YYNRULE+2                  No such action.  Denotes unused
 | |
| **                                                        slots in the yy_action[] table.
 | |
| **
 | |
| ** The action table is constructed as a single large static array $yy_action.
 | |
| ** Given state S and lookahead X, the action is computed as
 | |
| **
 | |
| **      self::$yy_action[self::$yy_shift_ofst[S] + X ]
 | |
| **
 | |
| ** If the index value self::$yy_shift_ofst[S]+X is out of range or if the value
 | |
| ** self::$yy_lookahead[self::$yy_shift_ofst[S]+X] is not equal to X or if
 | |
| ** self::$yy_shift_ofst[S] is equal to self::YY_SHIFT_USE_DFLT, it means that
 | |
| ** the action is not in the table and that self::$yy_default[S] should be used instead.  
 | |
| **
 | |
| ** The formula above is for computing the action when the lookahead is
 | |
| ** a terminal symbol.  If the lookahead is a non-terminal (as occurs after
 | |
| ** a reduce action) then the static $yy_reduce_ofst array is used in place of
 | |
| ** the static $yy_shift_ofst array and self::YY_REDUCE_USE_DFLT is used in place of
 | |
| ** self::YY_SHIFT_USE_DFLT.
 | |
| **
 | |
| ** The following are the tables generated in this section:
 | |
| **
 | |
| **  self::$yy_action        A single table containing all actions.
 | |
| **  self::$yy_lookahead     A table containing the lookahead for each entry in
 | |
| **                          yy_action.  Used to detect hash collisions.
 | |
| **  self::$yy_shift_ofst    For each state, the offset into self::$yy_action for
 | |
| **                          shifting terminals.
 | |
| **  self::$yy_reduce_ofst   For each state, the offset into self::$yy_action for
 | |
| **                          shifting non-terminals after a reduce.
 | |
| **  self::$yy_default       Default action for each state.
 | |
| */
 | |
|     const YY_SZ_ACTTAB = 965;
 | |
| static public $yy_action = array(
 | |
|  /*     0 */   226,  256,  257,  258,  263,  264,  269,  270,  268,  148,
 | |
|  /*    10 */   280,  275,   24,  106,  138,  420,  420,  420,  420,  420,
 | |
|  /*    20 */   420,  420,  420,  273,  190,  189,  443,   51,  187,  212,
 | |
|  /*    30 */   241,  240,  159,   27,   28,  153,  238,   38,  223,    3,
 | |
|  /*    40 */   148,   13,  275,   63,   18,   35,  420,  420,  420,  420,
 | |
|  /*    50 */   420,  420,  420,  420,  147,  190,  189,  196,  173,  191,
 | |
|  /*    60 */    31,  215,   72,    7,  274,   36,   52,   56,  184,  181,
 | |
|  /*    70 */   252,  165,  259,   45,  261,   57,   35,  122,  186,  153,
 | |
|  /*    80 */   202,   38,  266,   22,  201,   13,  114,   63,   33,  254,
 | |
|  /*    90 */   175,   30,  279,  235,   48,  232,  275,   66,  147,  253,
 | |
|  /*   100 */   153,   19,   38,  156,   22,   45,   13,  227,   57,   62,
 | |
|  /*   110 */    52,   56,  184,  181,  170,  246,  149,   45,  272,  143,
 | |
|  /*   120 */   194,  220,  193,  197,   10,   11,    8,   12,    2,    5,
 | |
|  /*   130 */   103,   52,   56,  184,  181,  148,    4,   24,   45,  251,
 | |
|  /*   140 */   273,  253,  153,   19,   38,   44,    3,  211,   13,   68,
 | |
|  /*   150 */    58,  245,  229,   60,  234,  231,   14,   86,  149,   21,
 | |
|  /*   160 */   196,   89,  191,  223,  119,  183,  148,  185,    1,  158,
 | |
|  /*   170 */     7,  219,  250,   52,   56,  184,  181,  215,   72,   41,
 | |
|  /*   180 */    45,  221,  275,   73,  152,  150,   57,   44,  171,  169,
 | |
|  /*   190 */    32,   14,   93,   43,  186,  151,  234,  172,  275,  119,
 | |
|  /*   200 */   201,   39,  420,  275,  285,  188,  194,  220,  193,  197,
 | |
|  /*   210 */    10,   11,    8,   12,    2,    5,   45,  141,   72,  241,
 | |
|  /*   220 */   240,   57,  194,  220,  193,  197,   10,   11,    8,   12,
 | |
|  /*   230 */     2,    5,  154,  153,   15,   38,  233,   22,  148,   13,
 | |
|  /*   240 */   201,   63,  153,  148,   38,  163,   22,   29,   13,  137,
 | |
|  /*   250 */    63,   45,  147,  196,   36,  191,   59,  275,  110,  138,
 | |
|  /*   260 */   222,   42,  105,  140,   52,   56,  184,  181,  273,  148,
 | |
|  /*   270 */   225,   45,  273,   52,   56,  184,  181,  241,  240,   24,
 | |
|  /*   280 */    45,  194,  220,  193,  197,   10,   11,    8,   12,    2,
 | |
|  /*   290 */     5,  153,  205,   38,  260,   22,  148,   13,  159,   57,
 | |
|  /*   300 */   153,   28,   38,   26,   22,  223,   13,   20,   57,   39,
 | |
|  /*   310 */   146,  120,   36,  196,    9,  191,   24,  179,   72,  144,
 | |
|  /*   320 */   138,  249,   52,   56,  184,  181,   24,  213,  138,   45,
 | |
|  /*   330 */    85,   52,   56,  184,  181,  153,  275,   38,   45,   22,
 | |
|  /*   340 */   201,   13,  223,   63,  248,  196,    6,  191,   14,  177,
 | |
|  /*   350 */    72,  237,  223,   57,  142,   14,  119,  199,   72,  215,
 | |
|  /*   360 */    72,   41,  173,  119,  176,   77,   52,   56,  184,  181,
 | |
|  /*   370 */   218,  217,  201,   45,   93,  139,  186,  215,   72,  118,
 | |
|  /*   380 */   201,  282,  201,   45,  190,  189,  262,  188,  218,  217,
 | |
|  /*   390 */   148,  180,   93,  153,  186,  148,  196,   22,  191,   13,
 | |
|  /*   400 */   201,   57,   14,  159,   24,  209,  215,   72,  145,  242,
 | |
|  /*   410 */   119,  226,  146,  159,  157,   72,   23,  218,  217,   32,
 | |
|  /*   420 */   148,   90,   43,  186,   52,   56,  184,  181,  283,  201,
 | |
|  /*   430 */   223,   45,  200,  212,  215,   72,   41,  201,  214,  247,
 | |
|  /*   440 */    76,  215,   72,   41,  160,  218,  217,   75,  286,   93,
 | |
|  /*   450 */   159,  186,  218,  217,  215,   72,   93,  201,  186,  148,
 | |
|  /*   460 */    34,  224,  188,  132,  201,  265,  267,  203,  266,  188,
 | |
|  /*   470 */   159,  186,  215,   72,   41,   57,  244,  201,   79,   16,
 | |
|  /*   480 */    24,  215,   72,  218,  217,   33,  208,   93,   92,  186,
 | |
|  /*   490 */   159,   24,  218,  217,   55,  201,   88,  278,  186,   95,
 | |
|  /*   500 */   188,  215,   72,   40,  201,   45,  223,   74,  115,   54,
 | |
|  /*   510 */   255,  222,  218,  217,   98,  255,   93,  161,  186,  159,
 | |
|  /*   520 */   215,   72,   41,  287,  201,  255,   82,  159,  174,  188,
 | |
|  /*   530 */    96,  218,  217,   91,   39,   93,   53,  186,  198,  215,
 | |
|  /*   540 */    72,   41,  124,  201,  108,   80,  255,  100,  188,  287,
 | |
|  /*   550 */   218,  217,  255,  104,   93,   97,  186,  273,  215,   72,
 | |
|  /*   560 */    41,  125,  201,  273,   83,   94,  266,  188,  287,  218,
 | |
|  /*   570 */   217,  255,  129,   93,  130,  186,  215,   72,   41,  266,
 | |
|  /*   580 */   162,  201,   78,  277,   70,  284,  188,  218,  217,  210,
 | |
|  /*   590 */   182,   93,  281,  186,  107,  215,   72,   41,  123,  201,
 | |
|  /*   600 */   287,   81,  206,   47,  188,  155,  218,  217,   64,  164,
 | |
|  /*   610 */    93,  134,  186,  204,  215,   72,   41,   18,  201,  102,
 | |
|  /*   620 */    84,  239,  192,  188,   69,  218,  217,  228,  178,   93,
 | |
|  /*   630 */   109,  186,   61,  276,  215,   72,  153,  201,  271,   37,
 | |
|  /*   640 */    22,  195,  188,  222,   57,  218,  217,  159,  202,   87,
 | |
|  /*   650 */    67,  186,  136,  207,   71,  146,   25,  201,   17,   46,
 | |
|  /*   660 */   135,  215,   72,  117,  265,  265,   99,   52,   56,  184,
 | |
|  /*   670 */   181,  265,  218,  217,   45,  265,   93,  265,  186,  265,
 | |
|  /*   680 */   265,  167,  265,  265,  201,  215,   72,  117,  265,  265,
 | |
|  /*   690 */   265,  265,  265,  215,   72,  265,  218,  217,  215,   72,
 | |
|  /*   700 */    93,  265,  186,  265,  236,  230,  265,  265,  201,  216,
 | |
|  /*   710 */   186,  215,   72,  118,  265,  186,  201,  265,  265,  265,
 | |
|  /*   720 */   265,  201,  218,  217,  265,  265,   93,  265,  186,  265,
 | |
|  /*   730 */   215,   72,  117,  265,  201,  265,  265,  215,   72,  117,
 | |
|  /*   740 */   265,  218,  217,  243,  265,   93,  265,  186,  218,  217,
 | |
|  /*   750 */   168,  265,   93,  201,  186,  265,  265,  166,  265,  265,
 | |
|  /*   760 */   201,  215,   72,  113,  265,  265,  265,  265,  265,  265,
 | |
|  /*   770 */   265,  265,  218,  217,  265,  265,   93,  265,  186,  265,
 | |
|  /*   780 */   215,   72,  126,  265,  201,  265,  265,  215,   72,  131,
 | |
|  /*   790 */   265,  218,  217,  265,  265,   93,  265,  186,  218,  217,
 | |
|  /*   800 */   265,  265,   93,  201,  186,  215,   72,  111,  265,  265,
 | |
|  /*   810 */   201,  265,  215,   72,  121,  265,  218,  217,  265,  265,
 | |
|  /*   820 */    93,  265,  186,  218,  217,  265,  265,   93,  201,  186,
 | |
|  /*   830 */   265,  265,  215,   72,  116,  201,  265,  265,  265,  265,
 | |
|  /*   840 */   265,  265,  265,  218,  217,  265,  265,   93,  265,  186,
 | |
|  /*   850 */   265,  215,   72,  133,  265,  201,  265,  265,  265,  265,
 | |
|  /*   860 */   265,  265,  218,  217,  265,  265,   93,  265,  186,  265,
 | |
|  /*   870 */   215,   72,  128,  265,  201,  265,  265,  215,   72,  127,
 | |
|  /*   880 */   265,  218,  217,  265,  265,   93,  265,  186,  218,  217,
 | |
|  /*   890 */   265,  265,   93,  201,  186,  215,   72,   49,  265,  265,
 | |
|  /*   900 */   201,  265,  215,   72,  112,  265,  218,  217,  265,  265,
 | |
|  /*   910 */    93,  265,  186,  218,  217,  265,  265,   93,  201,  186,
 | |
|  /*   920 */   265,  265,  215,   65,   50,  201,  265,  265,  265,  265,
 | |
|  /*   930 */   265,  265,  265,  218,  217,  265,  265,   93,  265,  186,
 | |
|  /*   940 */   265,  215,   72,  101,  265,  201,  265,  265,  265,  265,
 | |
|  /*   950 */   265,  265,  218,  217,  265,  265,   93,  265,  186,  265,
 | |
|  /*   960 */   265,  265,  265,  265,  201,
 | |
|     );
 | |
|     static public $yy_lookahead = array(
 | |
|  /*     0 */    15,   30,   31,   32,   33,   34,   35,   36,   37,   24,
 | |
|  /*    10 */     4,   26,    3,   77,   78,   30,   31,   32,   33,   34,
 | |
|  /*    20 */    35,   36,   37,   87,   39,   40,   69,   70,   71,   72,
 | |
|  /*    30 */    11,   12,   26,    3,   25,   10,   17,   12,   29,   14,
 | |
|  /*    40 */    24,   16,   26,   18,   14,   60,   30,   31,   32,   33,
 | |
|  /*    50 */    34,   35,   36,   37,   29,   39,   40,    1,   49,    3,
 | |
|  /*    60 */     3,   74,   75,   38,    1,   46,   41,   42,   43,   44,
 | |
|  /*    70 */     1,   29,   85,   48,    4,   18,   60,   95,   91,   10,
 | |
|  /*    80 */    98,   12,  100,   14,   97,   16,   29,   18,   21,    1,
 | |
|  /*    90 */     2,    3,   29,    5,    6,    7,   26,    9,   29,    1,
 | |
|  /*   100 */    10,    3,   12,   18,   14,   48,   16,   17,   18,   18,
 | |
|  /*   110 */    41,   42,   43,   44,   29,    4,   18,   48,   62,   29,
 | |
|  /*   120 */    50,   51,   52,   53,   54,   55,   56,   57,   58,   59,
 | |
|  /*   130 */    77,   41,   42,   43,   44,   24,   88,    3,   48,   41,
 | |
|  /*   140 */    87,    1,   10,    3,   12,   47,   14,   13,   16,   61,
 | |
|  /*   150 */    18,   63,   64,   65,  101,   67,   14,   92,   18,   25,
 | |
|  /*   160 */     1,   29,    3,   29,   22,    7,   24,    8,   26,   27,
 | |
|  /*   170 */    38,   15,  107,   41,   42,   43,   44,   74,   75,   76,
 | |
|  /*   180 */    48,   41,   26,   80,   81,   82,   18,   47,   85,   86,
 | |
|  /*   190 */    16,   14,   89,   19,   91,   23,  101,   29,   26,   22,
 | |
|  /*   200 */    97,   27,   25,   26,    1,  102,   50,   51,   52,   53,
 | |
|  /*   210 */    54,   55,   56,   57,   58,   59,   48,   74,   75,   11,
 | |
|  /*   220 */    12,   18,   50,   51,   52,   53,   54,   55,   56,   57,
 | |
|  /*   230 */    58,   59,   29,   10,   20,   12,   93,   14,   24,   16,
 | |
|  /*   240 */    97,   18,   10,   24,   12,   84,   14,   28,   16,    4,
 | |
|  /*   250 */    18,   48,   29,    1,   46,    3,   29,   26,   77,   78,
 | |
|  /*   260 */    99,   29,   77,   78,   41,   42,   43,   44,   87,   24,
 | |
|  /*   270 */     4,   48,   87,   41,   42,   43,   44,   11,   12,    3,
 | |
|  /*   280 */    48,   50,   51,   52,   53,   54,   55,   56,   57,   58,
 | |
|  /*   290 */    59,   10,   48,   12,   42,   14,   24,   16,   26,   18,
 | |
|  /*   300 */    10,   25,   12,   88,   14,   29,   16,   25,   18,   27,
 | |
|  /*   310 */    29,   20,   46,    1,   23,    3,    3,   74,   75,   29,
 | |
|  /*   320 */    78,   29,   41,   42,   43,   44,    3,    4,   78,   48,
 | |
|  /*   330 */    88,   41,   42,   43,   44,   10,   26,   12,   48,   14,
 | |
|  /*   340 */    97,   16,   29,   18,   29,    1,  104,    3,   14,   74,
 | |
|  /*   350 */    75,   17,   29,   18,   29,   14,   22,   74,   75,   74,
 | |
|  /*   360 */    75,   76,   49,   22,   49,   80,   41,   42,   43,   44,
 | |
|  /*   370 */    85,   86,   97,   48,   89,    4,   91,   74,   75,   76,
 | |
|  /*   380 */    97,    4,   97,   48,   39,   40,   42,  102,   85,   86,
 | |
|  /*   390 */    24,    4,   89,   10,   91,   24,    1,   14,    3,   16,
 | |
|  /*   400 */    97,   18,   14,   26,    3,    4,   74,   75,  105,  106,
 | |
|  /*   410 */    22,   15,   29,   26,   74,   75,   28,   85,   86,   16,
 | |
|  /*   420 */    24,   89,   19,   91,   41,   42,   43,   44,    4,   97,
 | |
|  /*   430 */    29,   48,   71,   72,   74,   75,   76,   97,  100,    4,
 | |
|  /*   440 */    80,   74,   75,   76,   88,   85,   86,   80,    4,   89,
 | |
|  /*   450 */    26,   91,   85,   86,   74,   75,   89,   97,   91,   24,
 | |
|  /*   460 */     3,   66,  102,   95,   97,   85,   86,   10,  100,  102,
 | |
|  /*   470 */    26,   91,   74,   75,   76,   18,   17,   97,   80,   20,
 | |
|  /*   480 */     3,   74,   75,   85,   86,   21,   29,   89,   73,   91,
 | |
|  /*   490 */    26,    3,   85,   86,   83,   97,   89,    4,   91,   83,
 | |
|  /*   500 */   102,   74,   75,   76,   97,   48,   29,   80,   96,   83,
 | |
|  /*   510 */    99,   99,   85,   86,   73,   99,   89,   29,   91,   26,
 | |
|  /*   520 */    74,   75,   76,  108,   97,   99,   80,   26,   27,  102,
 | |
|  /*   530 */    83,   85,   86,   73,   27,   89,   83,   91,   29,   74,
 | |
|  /*   540 */    75,   76,   25,   97,   96,   80,   99,   77,  102,  108,
 | |
|  /*   550 */    85,   86,   99,   77,   89,   83,   91,   87,   74,   75,
 | |
|  /*   560 */    76,   95,   97,   87,   80,   73,  100,  102,  108,   85,
 | |
|  /*   570 */    86,   99,   29,   89,   95,   91,   74,   75,   76,  100,
 | |
|  /*   580 */    21,   97,   80,   29,   29,   47,  102,   85,   86,    4,
 | |
|  /*   590 */    10,   89,   47,   91,   88,   74,   75,   76,   29,   97,
 | |
|  /*   600 */   108,   80,    4,   79,  102,   19,   85,   86,   18,   45,
 | |
|  /*   610 */    89,   79,   91,   48,   74,   75,   76,   14,   97,   96,
 | |
|  /*   620 */    80,   15,    4,  102,   15,   85,   86,   15,   45,   89,
 | |
|  /*   630 */    96,   91,   18,   87,   74,   75,   10,   97,  107,   90,
 | |
|  /*   640 */    14,  108,  102,   99,   18,   85,   86,   26,   98,   89,
 | |
|  /*   650 */    18,   91,  104,   81,   93,   29,   88,   97,   14,   96,
 | |
|  /*   660 */   103,   74,   75,   76,  109,  109,   96,   41,   42,   43,
 | |
|  /*   670 */    44,  109,   85,   86,   48,  109,   89,  109,   91,  109,
 | |
|  /*   680 */   109,   94,  109,  109,   97,   74,   75,   76,  109,  109,
 | |
|  /*   690 */   109,  109,  109,   74,   75,  109,   85,   86,   74,   75,
 | |
|  /*   700 */    89,  109,   91,  109,   85,   94,  109,  109,   97,   85,
 | |
|  /*   710 */    91,   74,   75,   76,  109,   91,   97,  109,  109,  109,
 | |
|  /*   720 */   109,   97,   85,   86,  109,  109,   89,  109,   91,  109,
 | |
|  /*   730 */    74,   75,   76,  109,   97,  109,  109,   74,   75,   76,
 | |
|  /*   740 */   109,   85,   86,  106,  109,   89,  109,   91,   85,   86,
 | |
|  /*   750 */    94,  109,   89,   97,   91,  109,  109,   94,  109,  109,
 | |
|  /*   760 */    97,   74,   75,   76,  109,  109,  109,  109,  109,  109,
 | |
|  /*   770 */   109,  109,   85,   86,  109,  109,   89,  109,   91,  109,
 | |
|  /*   780 */    74,   75,   76,  109,   97,  109,  109,   74,   75,   76,
 | |
|  /*   790 */   109,   85,   86,  109,  109,   89,  109,   91,   85,   86,
 | |
|  /*   800 */   109,  109,   89,   97,   91,   74,   75,   76,  109,  109,
 | |
|  /*   810 */    97,  109,   74,   75,   76,  109,   85,   86,  109,  109,
 | |
|  /*   820 */    89,  109,   91,   85,   86,  109,  109,   89,   97,   91,
 | |
|  /*   830 */   109,  109,   74,   75,   76,   97,  109,  109,  109,  109,
 | |
|  /*   840 */   109,  109,  109,   85,   86,  109,  109,   89,  109,   91,
 | |
|  /*   850 */   109,   74,   75,   76,  109,   97,  109,  109,  109,  109,
 | |
|  /*   860 */   109,  109,   85,   86,  109,  109,   89,  109,   91,  109,
 | |
|  /*   870 */    74,   75,   76,  109,   97,  109,  109,   74,   75,   76,
 | |
|  /*   880 */   109,   85,   86,  109,  109,   89,  109,   91,   85,   86,
 | |
|  /*   890 */   109,  109,   89,   97,   91,   74,   75,   76,  109,  109,
 | |
|  /*   900 */    97,  109,   74,   75,   76,  109,   85,   86,  109,  109,
 | |
|  /*   910 */    89,  109,   91,   85,   86,  109,  109,   89,   97,   91,
 | |
|  /*   920 */   109,  109,   74,   75,   76,   97,  109,  109,  109,  109,
 | |
|  /*   930 */   109,  109,  109,   85,   86,  109,  109,   89,  109,   91,
 | |
|  /*   940 */   109,   74,   75,   76,  109,   97,  109,  109,  109,  109,
 | |
|  /*   950 */   109,  109,   85,   86,  109,  109,   89,  109,   91,  109,
 | |
|  /*   960 */   109,  109,  109,  109,   97,
 | |
| );
 | |
|     const YY_SHIFT_USE_DFLT = -30;
 | |
|     const YY_SHIFT_MAX = 179;
 | |
|     static public $yy_shift_ofst = array(
 | |
|  /*     0 */    88,  132,   25,   25,   25,   25,   25,   25,   25,   25,
 | |
|  /*    10 */    25,   25,   25,  325,  223,  223,  325,  223,  223,   69,
 | |
|  /*    20 */   223,  223,  223,  223,  223,  223,  223,  223,  223,  223,
 | |
|  /*    30 */   232,  223,   90,  290,  281,  383,  626,  626,  626,   57,
 | |
|  /*    40 */   -15,   16,  142,  457,  203,  168,  174,  464,  335,  272,
 | |
|  /*    50 */   272,   88,   98,  134,    9,  313,  344,  477,  488,  501,
 | |
|  /*    60 */   312,  477,  477,  488,  477,  282,  312,  477,  312,  507,
 | |
|  /*    70 */   621,  507,  507,   70,  156,  172,  231,  231,  231,  231,
 | |
|  /*    80 */   231,  231,  231,  231,  231,  -29,  140,   19,  266,  177,
 | |
|  /*    90 */   208,  252,  159,  208,   56,  276,  323,  401,  395,  403,
 | |
|  /*   100 */   387,  396,  403,  377,  424,  444,  493,  345,  403,  403,
 | |
|  /*   110 */     6,  435,  371,  245,   30,  403,  111,  214,  219,   85,
 | |
|  /*   120 */   632,  366,  507,  644,  310,  507,  366,  366,  366,  310,
 | |
|  /*   130 */   507,  366,  507,  366,   67,  310,  310,  -30,  -30,  -30,
 | |
|  /*   140 */   -30,  -30,  388,  334,  341,  459,  341,  341,  315,   63,
 | |
|  /*   150 */   291,  614,  585,  586,  545,  580,  569,  538,  555,  543,
 | |
|  /*   160 */   517,  559,  554,  598,  590,  618,  606,  609,  612,  583,
 | |
|  /*   170 */   603,  564,  565,  509,   42,  227,  292,  244,   91,  158,
 | |
| );
 | |
|     const YY_REDUCE_USE_DFLT = -65;
 | |
|     const YY_REDUCE_MAX = 141;
 | |
|     static public $yy_reduce_ofst = array(
 | |
|  /*     0 */   -43,  103,  446,  427,  398,  484,  502,  540,  521,  367,
 | |
|  /*    10 */   465,  285,  360,  303,  663,  611,  637,  587,  656,  731,
 | |
|  /*    20 */   821,  803,  867,  796,  758,  738,  713,  687,  706,  777,
 | |
|  /*    30 */   848,  828,  560,  332,  407,  380,  619,  -13,  624,  143,
 | |
|  /*    40 */   242,  242,  185,  283,  340,  275,  -18,   53,  243,  -64,
 | |
|  /*    50 */   181,  361,   65,  161,  412,  412,  460,  411,  426,  470,
 | |
|  /*    60 */   441,  453,  447,  411,  472,  368,  415,  416,  492,  479,
 | |
|  /*    70 */   476,  466,  368,  506,  506,  506,  506,  506,  506,  506,
 | |
|  /*    80 */   506,  506,  506,  506,  506,  557,  531,  549,  549,  356,
 | |
|  /*    90 */   549,  533,  533,  549,  533,  544,  544,  544,  533,  550,
 | |
|  /*   100 */   546,  250,  550,  546,  546,  546,  546,  548,  550,  550,
 | |
|  /*   110 */   546,  250,  250,  250,  570,  550,  250,  250,  250,  561,
 | |
|  /*   120 */   572,  250,  338,  563,  568,  338,  250,  250,  250,  356,
 | |
|  /*   130 */   338,  250,  338,  250,   95,  215,   48,  534,  532,  448,
 | |
|  /*   140 */   524,  523,
 | |
| );
 | |
|     static public $yyExpectedTokens = array(
 | |
|         /* 0 */ array(1, 2, 3, 5, 6, 7, 9, 61, 63, 64, 65, 67, ),
 | |
|         /* 1 */ array(10, 12, 14, 16, 18, 29, 38, 41, 42, 43, 44, 48, ),
 | |
|         /* 2 */ array(10, 12, 14, 16, 18, 29, 38, 41, 42, 43, 44, 48, ),
 | |
|         /* 3 */ array(10, 12, 14, 16, 18, 29, 38, 41, 42, 43, 44, 48, ),
 | |
|         /* 4 */ array(10, 12, 14, 16, 18, 29, 38, 41, 42, 43, 44, 48, ),
 | |
|         /* 5 */ array(10, 12, 14, 16, 18, 29, 38, 41, 42, 43, 44, 48, ),
 | |
|         /* 6 */ array(10, 12, 14, 16, 18, 29, 38, 41, 42, 43, 44, 48, ),
 | |
|         /* 7 */ array(10, 12, 14, 16, 18, 29, 38, 41, 42, 43, 44, 48, ),
 | |
|         /* 8 */ array(10, 12, 14, 16, 18, 29, 38, 41, 42, 43, 44, 48, ),
 | |
|         /* 9 */ array(10, 12, 14, 16, 18, 29, 38, 41, 42, 43, 44, 48, ),
 | |
|         /* 10 */ array(10, 12, 14, 16, 18, 29, 38, 41, 42, 43, 44, 48, ),
 | |
|         /* 11 */ array(10, 12, 14, 16, 18, 29, 38, 41, 42, 43, 44, 48, ),
 | |
|         /* 12 */ array(10, 12, 14, 16, 18, 29, 38, 41, 42, 43, 44, 48, ),
 | |
|         /* 13 */ array(10, 12, 14, 16, 18, 29, 41, 42, 43, 44, 48, ),
 | |
|         /* 14 */ array(10, 12, 14, 16, 18, 29, 41, 42, 43, 44, 48, ),
 | |
|         /* 15 */ array(10, 12, 14, 16, 18, 29, 41, 42, 43, 44, 48, ),
 | |
|         /* 16 */ array(10, 12, 14, 16, 18, 29, 41, 42, 43, 44, 48, ),
 | |
|         /* 17 */ array(10, 12, 14, 16, 18, 29, 41, 42, 43, 44, 48, ),
 | |
|         /* 18 */ array(10, 12, 14, 16, 18, 29, 41, 42, 43, 44, 48, ),
 | |
|         /* 19 */ array(1, 10, 12, 14, 16, 18, 29, 41, 42, 43, 44, 48, ),
 | |
|         /* 20 */ array(10, 12, 14, 16, 18, 29, 41, 42, 43, 44, 48, ),
 | |
|         /* 21 */ array(10, 12, 14, 16, 18, 29, 41, 42, 43, 44, 48, ),
 | |
|         /* 22 */ array(10, 12, 14, 16, 18, 29, 41, 42, 43, 44, 48, ),
 | |
|         /* 23 */ array(10, 12, 14, 16, 18, 29, 41, 42, 43, 44, 48, ),
 | |
|         /* 24 */ array(10, 12, 14, 16, 18, 29, 41, 42, 43, 44, 48, ),
 | |
|         /* 25 */ array(10, 12, 14, 16, 18, 29, 41, 42, 43, 44, 48, ),
 | |
|         /* 26 */ array(10, 12, 14, 16, 18, 29, 41, 42, 43, 44, 48, ),
 | |
|         /* 27 */ array(10, 12, 14, 16, 18, 29, 41, 42, 43, 44, 48, ),
 | |
|         /* 28 */ array(10, 12, 14, 16, 18, 29, 41, 42, 43, 44, 48, ),
 | |
|         /* 29 */ array(10, 12, 14, 16, 18, 29, 41, 42, 43, 44, 48, ),
 | |
|         /* 30 */ array(10, 12, 14, 16, 18, 29, 41, 42, 43, 44, 48, ),
 | |
|         /* 31 */ array(10, 12, 14, 16, 18, 29, 41, 42, 43, 44, 48, ),
 | |
|         /* 32 */ array(10, 12, 14, 16, 17, 18, 29, 41, 42, 43, 44, 48, ),
 | |
|         /* 33 */ array(10, 12, 14, 16, 18, 29, 41, 42, 43, 44, 48, ),
 | |
|         /* 34 */ array(10, 12, 14, 16, 18, 29, 41, 42, 43, 44, 48, ),
 | |
|         /* 35 */ array(10, 14, 16, 18, 29, 41, 42, 43, 44, 48, ),
 | |
|         /* 36 */ array(10, 14, 18, 29, 41, 42, 43, 44, 48, ),
 | |
|         /* 37 */ array(10, 14, 18, 29, 41, 42, 43, 44, 48, ),
 | |
|         /* 38 */ array(10, 14, 18, 29, 41, 42, 43, 44, 48, ),
 | |
|         /* 39 */ array(3, 18, 29, 48, ),
 | |
|         /* 40 */ array(15, 24, 26, 30, 31, 32, 33, 34, 35, 36, 37, 39, 40, 60, ),
 | |
|         /* 41 */ array(24, 26, 30, 31, 32, 33, 34, 35, 36, 37, 39, 40, 60, ),
 | |
|         /* 42 */ array(14, 22, 24, 26, 27, ),
 | |
|         /* 43 */ array(3, 10, 18, 29, 48, ),
 | |
|         /* 44 */ array(1, 18, 29, 48, ),
 | |
|         /* 45 */ array(18, 29, 48, ),
 | |
|         /* 46 */ array(16, 19, 27, ),
 | |
|         /* 47 */ array(21, 26, ),
 | |
|         /* 48 */ array(18, 48, ),
 | |
|         /* 49 */ array(24, 26, ),
 | |
|         /* 50 */ array(24, 26, ),
 | |
|         /* 51 */ array(1, 2, 3, 5, 6, 7, 9, 61, 63, 64, 65, 67, ),
 | |
|         /* 52 */ array(1, 3, 18, 41, 47, ),
 | |
|         /* 53 */ array(3, 13, 25, 29, ),
 | |
|         /* 54 */ array(3, 25, 29, 49, ),
 | |
|         /* 55 */ array(3, 29, 49, ),
 | |
|         /* 56 */ array(1, 3, 42, ),
 | |
|         /* 57 */ array(3, 29, ),
 | |
|         /* 58 */ array(3, 29, ),
 | |
|         /* 59 */ array(26, 27, ),
 | |
|         /* 60 */ array(1, 3, ),
 | |
|         /* 61 */ array(3, 29, ),
 | |
|         /* 62 */ array(3, 29, ),
 | |
|         /* 63 */ array(3, 29, ),
 | |
|         /* 64 */ array(3, 29, ),
 | |
|         /* 65 */ array(25, 27, ),
 | |
|         /* 66 */ array(1, 3, ),
 | |
|         /* 67 */ array(3, 29, ),
 | |
|         /* 68 */ array(1, 3, ),
 | |
|         /* 69 */ array(27, ),
 | |
|         /* 70 */ array(26, ),
 | |
|         /* 71 */ array(27, ),
 | |
|         /* 72 */ array(27, ),
 | |
|         /* 73 */ array(4, 26, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, ),
 | |
|         /* 74 */ array(15, 26, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, ),
 | |
|         /* 75 */ array(23, 26, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, ),
 | |
|         /* 76 */ array(26, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, ),
 | |
|         /* 77 */ array(26, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, ),
 | |
|         /* 78 */ array(26, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, ),
 | |
|         /* 79 */ array(26, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, ),
 | |
|         /* 80 */ array(26, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, ),
 | |
|         /* 81 */ array(26, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, ),
 | |
|         /* 82 */ array(26, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, ),
 | |
|         /* 83 */ array(26, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, ),
 | |
|         /* 84 */ array(26, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, ),
 | |
|         /* 85 */ array(30, 31, 32, 33, 34, 35, 36, 37, ),
 | |
|         /* 86 */ array(1, 3, 18, 41, 47, ),
 | |
|         /* 87 */ array(11, 12, 17, 46, ),
 | |
|         /* 88 */ array(4, 11, 12, 46, ),
 | |
|         /* 89 */ array(14, 22, 25, 26, ),
 | |
|         /* 90 */ array(11, 12, 46, ),
 | |
|         /* 91 */ array(1, 3, 42, ),
 | |
|         /* 92 */ array(1, 3, 8, ),
 | |
|         /* 93 */ array(11, 12, 46, ),
 | |
|         /* 94 */ array(1, 3, 62, ),
 | |
|         /* 95 */ array(3, 25, 29, ),
 | |
|         /* 96 */ array(3, 4, 29, ),
 | |
|         /* 97 */ array(3, 4, 29, ),
 | |
|         /* 98 */ array(1, 3, 66, ),
 | |
|         /* 99 */ array(16, 19, ),
 | |
|         /* 100 */ array(4, 26, ),
 | |
|         /* 101 */ array(15, 24, ),
 | |
|         /* 102 */ array(16, 19, ),
 | |
|         /* 103 */ array(4, 26, ),
 | |
|         /* 104 */ array(4, 26, ),
 | |
|         /* 105 */ array(4, 26, ),
 | |
|         /* 106 */ array(4, 26, ),
 | |
|         /* 107 */ array(39, 40, ),
 | |
|         /* 108 */ array(16, 19, ),
 | |
|         /* 109 */ array(16, 19, ),
 | |
|         /* 110 */ array(4, 26, ),
 | |
|         /* 111 */ array(4, 24, ),
 | |
|         /* 112 */ array(4, 24, ),
 | |
|         /* 113 */ array(4, 24, ),
 | |
|         /* 114 */ array(3, 14, ),
 | |
|         /* 115 */ array(16, 19, ),
 | |
|         /* 116 */ array(4, 24, ),
 | |
|         /* 117 */ array(20, 24, ),
 | |
|         /* 118 */ array(24, 28, ),
 | |
|         /* 119 */ array(18, 29, ),
 | |
|         /* 120 */ array(18, ),
 | |
|         /* 121 */ array(24, ),
 | |
|         /* 122 */ array(27, ),
 | |
|         /* 123 */ array(14, ),
 | |
|         /* 124 */ array(26, ),
 | |
|         /* 125 */ array(27, ),
 | |
|         /* 126 */ array(24, ),
 | |
|         /* 127 */ array(24, ),
 | |
|         /* 128 */ array(24, ),
 | |
|         /* 129 */ array(26, ),
 | |
|         /* 130 */ array(27, ),
 | |
|         /* 131 */ array(24, ),
 | |
|         /* 132 */ array(27, ),
 | |
|         /* 133 */ array(24, ),
 | |
|         /* 134 */ array(21, ),
 | |
|         /* 135 */ array(26, ),
 | |
|         /* 136 */ array(26, ),
 | |
|         /* 137 */ array(),
 | |
|         /* 138 */ array(),
 | |
|         /* 139 */ array(),
 | |
|         /* 140 */ array(),
 | |
|         /* 141 */ array(),
 | |
|         /* 142 */ array(14, 22, 28, ),
 | |
|         /* 143 */ array(14, 17, 22, ),
 | |
|         /* 144 */ array(14, 22, ),
 | |
|         /* 145 */ array(17, 20, ),
 | |
|         /* 146 */ array(14, 22, ),
 | |
|         /* 147 */ array(14, 22, ),
 | |
|         /* 148 */ array(29, 49, ),
 | |
|         /* 149 */ array(1, 29, ),
 | |
|         /* 150 */ array(20, 23, ),
 | |
|         /* 151 */ array(18, ),
 | |
|         /* 152 */ array(4, ),
 | |
|         /* 153 */ array(19, ),
 | |
|         /* 154 */ array(47, ),
 | |
|         /* 155 */ array(10, ),
 | |
|         /* 156 */ array(29, ),
 | |
|         /* 157 */ array(47, ),
 | |
|         /* 158 */ array(29, ),
 | |
|         /* 159 */ array(29, ),
 | |
|         /* 160 */ array(25, ),
 | |
|         /* 161 */ array(21, ),
 | |
|         /* 162 */ array(29, ),
 | |
|         /* 163 */ array(4, ),
 | |
|         /* 164 */ array(18, ),
 | |
|         /* 165 */ array(4, ),
 | |
|         /* 166 */ array(15, ),
 | |
|         /* 167 */ array(15, ),
 | |
|         /* 168 */ array(15, ),
 | |
|         /* 169 */ array(45, ),
 | |
|         /* 170 */ array(14, ),
 | |
|         /* 171 */ array(45, ),
 | |
|         /* 172 */ array(48, ),
 | |
|         /* 173 */ array(29, ),
 | |
|         /* 174 */ array(29, ),
 | |
|         /* 175 */ array(29, ),
 | |
|         /* 176 */ array(29, ),
 | |
|         /* 177 */ array(48, ),
 | |
|         /* 178 */ array(18, ),
 | |
|         /* 179 */ array(7, ),
 | |
|         /* 180 */ array(),
 | |
|         /* 181 */ array(),
 | |
|         /* 182 */ array(),
 | |
|         /* 183 */ array(),
 | |
|         /* 184 */ array(),
 | |
|         /* 185 */ array(),
 | |
|         /* 186 */ array(),
 | |
|         /* 187 */ array(),
 | |
|         /* 188 */ array(),
 | |
|         /* 189 */ array(),
 | |
|         /* 190 */ array(),
 | |
|         /* 191 */ array(),
 | |
|         /* 192 */ array(),
 | |
|         /* 193 */ array(),
 | |
|         /* 194 */ array(),
 | |
|         /* 195 */ array(),
 | |
|         /* 196 */ array(),
 | |
|         /* 197 */ array(),
 | |
|         /* 198 */ array(),
 | |
|         /* 199 */ array(),
 | |
|         /* 200 */ array(),
 | |
|         /* 201 */ array(),
 | |
|         /* 202 */ array(),
 | |
|         /* 203 */ array(),
 | |
|         /* 204 */ array(),
 | |
|         /* 205 */ array(),
 | |
|         /* 206 */ array(),
 | |
|         /* 207 */ array(),
 | |
|         /* 208 */ array(),
 | |
|         /* 209 */ array(),
 | |
|         /* 210 */ array(),
 | |
|         /* 211 */ array(),
 | |
|         /* 212 */ array(),
 | |
|         /* 213 */ array(),
 | |
|         /* 214 */ array(),
 | |
|         /* 215 */ array(),
 | |
|         /* 216 */ array(),
 | |
|         /* 217 */ array(),
 | |
|         /* 218 */ array(),
 | |
|         /* 219 */ array(),
 | |
|         /* 220 */ array(),
 | |
|         /* 221 */ array(),
 | |
|         /* 222 */ array(),
 | |
|         /* 223 */ array(),
 | |
|         /* 224 */ array(),
 | |
|         /* 225 */ array(),
 | |
|         /* 226 */ array(),
 | |
|         /* 227 */ array(),
 | |
|         /* 228 */ array(),
 | |
|         /* 229 */ array(),
 | |
|         /* 230 */ array(),
 | |
|         /* 231 */ array(),
 | |
|         /* 232 */ array(),
 | |
|         /* 233 */ array(),
 | |
|         /* 234 */ array(),
 | |
|         /* 235 */ array(),
 | |
|         /* 236 */ array(),
 | |
|         /* 237 */ array(),
 | |
|         /* 238 */ array(),
 | |
|         /* 239 */ array(),
 | |
|         /* 240 */ array(),
 | |
|         /* 241 */ array(),
 | |
|         /* 242 */ array(),
 | |
|         /* 243 */ array(),
 | |
|         /* 244 */ array(),
 | |
|         /* 245 */ array(),
 | |
|         /* 246 */ array(),
 | |
|         /* 247 */ array(),
 | |
|         /* 248 */ array(),
 | |
|         /* 249 */ array(),
 | |
|         /* 250 */ array(),
 | |
|         /* 251 */ array(),
 | |
|         /* 252 */ array(),
 | |
|         /* 253 */ array(),
 | |
|         /* 254 */ array(),
 | |
|         /* 255 */ array(),
 | |
|         /* 256 */ array(),
 | |
|         /* 257 */ array(),
 | |
|         /* 258 */ array(),
 | |
|         /* 259 */ array(),
 | |
|         /* 260 */ array(),
 | |
|         /* 261 */ array(),
 | |
|         /* 262 */ array(),
 | |
|         /* 263 */ array(),
 | |
|         /* 264 */ array(),
 | |
|         /* 265 */ array(),
 | |
|         /* 266 */ array(),
 | |
|         /* 267 */ array(),
 | |
|         /* 268 */ array(),
 | |
|         /* 269 */ array(),
 | |
|         /* 270 */ array(),
 | |
|         /* 271 */ array(),
 | |
|         /* 272 */ array(),
 | |
|         /* 273 */ array(),
 | |
|         /* 274 */ array(),
 | |
|         /* 275 */ array(),
 | |
|         /* 276 */ array(),
 | |
|         /* 277 */ array(),
 | |
|         /* 278 */ array(),
 | |
|         /* 279 */ array(),
 | |
|         /* 280 */ array(),
 | |
|         /* 281 */ array(),
 | |
|         /* 282 */ array(),
 | |
|         /* 283 */ array(),
 | |
|         /* 284 */ array(),
 | |
|         /* 285 */ array(),
 | |
|         /* 286 */ array(),
 | |
|         /* 287 */ array(),
 | |
| );
 | |
|     static public $yy_default = array(
 | |
|  /*     0 */   442,  442,  442,  442,  442,  442,  442,  442,  442,  442,
 | |
|  /*    10 */   442,  442,  442,  424,  383,  383,  442,  383,  383,  442,
 | |
|  /*    20 */   442,  442,  442,  442,  442,  442,  442,  442,  442,  442,
 | |
|  /*    30 */   442,  442,  442,  442,  442,  442,  442,  442,  442,  442,
 | |
|  /*    40 */   393,  393,  318,  442,  442,  442,  350,  318,  442,  318,
 | |
|  /*    50 */   318,  288,  442,  442,  359,  359,  442,  442,  442,  318,
 | |
|  /*    60 */   442,  442,  442,  442,  442,  352,  442,  442,  442,  346,
 | |
|  /*    70 */   318,  345,  352,  420,  420,  420,  404,  408,  397,  398,
 | |
|  /*    80 */   407,  403,  399,  400,  391,  442,  442,  442,  442,  323,
 | |
|  /*    90 */   388,  442,  442,  324,  442,  442,  442,  442,  442,  374,
 | |
|  /*   100 */   442,  442,  375,  442,  442,  442,  442,  442,  376,  377,
 | |
|  /*   110 */   442,  442,  442,  442,  359,  357,  442,  382,  427,  442,
 | |
|  /*   120 */   442,  319,  351,  359,  420,  347,  322,  312,  426,  420,
 | |
|  /*   130 */   348,  394,  371,  425,  326,  420,  420,  359,  387,  359,
 | |
|  /*   140 */   387,  359,  323,  442,  389,  442,  442,  323,  442,  442,
 | |
|  /*   150 */   442,  442,  320,  335,  442,  442,  442,  442,  442,  442,
 | |
|  /*   160 */   442,  369,  442,  442,  442,  442,  442,  442,  442,  327,
 | |
|  /*   170 */   349,  328,  442,  442,  442,  442,  442,  442,  442,  442,
 | |
|  /*   180 */   307,  338,  336,  298,  337,  292,  339,  289,  390,  418,
 | |
|  /*   190 */   417,  441,  308,  401,  405,  438,  440,  402,  353,  362,
 | |
|  /*   200 */   290,  354,  358,  361,  355,  356,  311,  321,  360,  314,
 | |
|  /*   210 */   310,  313,  291,  315,  373,  334,  329,  327,  328,  392,
 | |
|  /*   220 */   406,  343,  368,  369,  297,  363,  340,  366,  380,  295,
 | |
|  /*   230 */   381,  299,  300,  378,  386,  296,  331,  364,  365,  379,
 | |
|  /*   240 */   332,  333,  422,  423,  421,  294,  370,  433,  385,  384,
 | |
|  /*   250 */   429,  344,  435,  437,  301,  367,  409,  410,  411,  330,
 | |
|  /*   260 */   341,  309,  342,  412,  413,  396,  372,  395,  416,  414,
 | |
|  /*   270 */   415,  428,  293,  317,  434,  419,  316,  325,  302,  432,
 | |
|  /*   280 */   303,  430,  306,  305,  431,  436,  304,  439,
 | |
| );
 | |
| /* The next thing included is series of defines which control
 | |
| ** various aspects of the generated parser.
 | |
| **    self::YYNOCODE      is a number which corresponds
 | |
| **                        to no legal terminal or nonterminal number.  This
 | |
| **                        number is used to fill in empty slots of the hash 
 | |
| **                        table.
 | |
| **    self::YYFALLBACK    If defined, this indicates that one or more tokens
 | |
| **                        have fall-back values which should be used if the
 | |
| **                        original value of the token will not parse.
 | |
| **    self::YYSTACKDEPTH  is the maximum depth of the parser's stack.
 | |
| **    self::YYNSTATE      the combined number of states.
 | |
| **    self::YYNRULE       the number of rules in the grammar
 | |
| **    self::YYERRORSYMBOL is the code number of the error symbol.  If not
 | |
| **                        defined, then do no error processing.
 | |
| */
 | |
|     const YYNOCODE = 110;
 | |
|     const YYSTACKDEPTH = 100;
 | |
|     const YYNSTATE = 288;
 | |
|     const YYNRULE = 154;
 | |
|     const YYERRORSYMBOL = 68;
 | |
|     const YYERRSYMDT = 'yy0';
 | |
|     const YYFALLBACK = 1;
 | |
|     /** The next table maps tokens into fallback tokens.  If a construct
 | |
|      * like the following:
 | |
|      * 
 | |
|      *      %fallback ID X Y Z.
 | |
|      *
 | |
|      * appears in the grammer, then ID becomes a fallback token for X, Y,
 | |
|      * and Z.  Whenever one of the tokens X, Y, or Z is input to the parser
 | |
|      * but it does not parse, the type of the token is changed to ID and
 | |
|      * the parse is retried before an error is thrown.
 | |
|      */
 | |
|     static public $yyFallback = array(
 | |
|     0,  /*          $ => nothing */
 | |
|     0,  /*      OTHER => nothing */
 | |
|     1,  /*  LDELSLASH => OTHER */
 | |
|     1,  /*       LDEL => OTHER */
 | |
|     1,  /*       RDEL => OTHER */
 | |
|     1,  /*        PHP => OTHER */
 | |
|     1,  /* SHORTTAGSTART => OTHER */
 | |
|     1,  /* SHORTTAGEND => OTHER */
 | |
|     1,  /* COMMENTEND => OTHER */
 | |
|     1,  /* COMMENTSTART => OTHER */
 | |
|     1,  /*    INTEGER => OTHER */
 | |
|     1,  /*       MATH => OTHER */
 | |
|     1,  /*    UNIMATH => OTHER */
 | |
|     1,  /*     INCDEC => OTHER */
 | |
|     1,  /*      OPENP => OTHER */
 | |
|     1,  /*     CLOSEP => OTHER */
 | |
|     1,  /*      OPENB => OTHER */
 | |
|     1,  /*     CLOSEB => OTHER */
 | |
|     1,  /*     DOLLAR => OTHER */
 | |
|     1,  /*        DOT => OTHER */
 | |
|     1,  /*      COMMA => OTHER */
 | |
|     1,  /*      COLON => OTHER */
 | |
|     1,  /* DOUBLECOLON => OTHER */
 | |
|     1,  /*  SEMICOLON => OTHER */
 | |
|     1,  /*       VERT => OTHER */
 | |
|     1,  /*      EQUAL => OTHER */
 | |
|     1,  /*      SPACE => OTHER */
 | |
|     1,  /*        PTR => OTHER */
 | |
|     1,  /*       APTR => OTHER */
 | |
|     1,  /*         ID => OTHER */
 | |
|     1,  /*     EQUALS => OTHER */
 | |
|     1,  /*  NOTEQUALS => OTHER */
 | |
|     1,  /* GREATERTHAN => OTHER */
 | |
|     1,  /*   LESSTHAN => OTHER */
 | |
|     1,  /* GREATEREQUAL => OTHER */
 | |
|     1,  /*  LESSEQUAL => OTHER */
 | |
|     1,  /*   IDENTITY => OTHER */
 | |
|     1,  /* NONEIDENTITY => OTHER */
 | |
|     1,  /*        NOT => OTHER */
 | |
|     1,  /*       LAND => OTHER */
 | |
|     1,  /*        LOR => OTHER */
 | |
|     1,  /*      QUOTE => OTHER */
 | |
|     1,  /* SINGLEQUOTE => OTHER */
 | |
|     1,  /*    BOOLEAN => OTHER */
 | |
|     1,  /*       NULL => OTHER */
 | |
|     1,  /*         AS => OTHER */
 | |
|     1,  /*     ANDSYM => OTHER */
 | |
|     1,  /*   BACKTICK => OTHER */
 | |
|     1,  /*      HATCH => OTHER */
 | |
|     1,  /*         AT => OTHER */
 | |
|     1,  /*      ISODD => OTHER */
 | |
|     1,  /*   ISNOTODD => OTHER */
 | |
|     1,  /*     ISEVEN => OTHER */
 | |
|     1,  /*  ISNOTEVEN => OTHER */
 | |
|     1,  /*    ISODDBY => OTHER */
 | |
|     1,  /* ISNOTODDBY => OTHER */
 | |
|     1,  /*   ISEVENBY => OTHER */
 | |
|     1,  /* ISNOTEVENBY => OTHER */
 | |
|     1,  /*    ISDIVBY => OTHER */
 | |
|     1,  /* ISNOTDIVBY => OTHER */
 | |
|     1,  /*       ISIN => OTHER */
 | |
|     0,  /* LITERALSTART => nothing */
 | |
|     0,  /* LITERALEND => nothing */
 | |
|     0,  /*  LDELIMTAG => nothing */
 | |
|     0,  /*  RDELIMTAG => nothing */
 | |
|     0,  /*   PHPSTART => nothing */
 | |
|     0,  /*     PHPEND => nothing */
 | |
|     0,  /*        XML => nothing */
 | |
|     );
 | |
|     /**
 | |
|      * Turn parser tracing on by giving a stream to which to write the trace
 | |
|      * and a prompt to preface each trace message.  Tracing is turned off
 | |
|      * by making either argument NULL 
 | |
|      *
 | |
|      * Inputs:
 | |
|      * 
 | |
|      * - A stream resource to which trace output should be written.
 | |
|      *   If NULL, then tracing is turned off.
 | |
|      * - A prefix string written at the beginning of every
 | |
|      *   line of trace output.  If NULL, then tracing is
 | |
|      *   turned off.
 | |
|      *
 | |
|      * Outputs:
 | |
|      * 
 | |
|      * - None.
 | |
|      * @param resource
 | |
|      * @param string
 | |
|      */
 | |
|     static function Trace($TraceFILE, $zTracePrompt)
 | |
|     {
 | |
|         if (!$TraceFILE) {
 | |
|             $zTracePrompt = 0;
 | |
|         } elseif (!$zTracePrompt) {
 | |
|             $TraceFILE = 0;
 | |
|         }
 | |
|         self::$yyTraceFILE = $TraceFILE;
 | |
|         self::$yyTracePrompt = $zTracePrompt;
 | |
|     }
 | |
| 
 | |
|     /**
 | |
|      * Output debug information to output (php://output stream)
 | |
|      */
 | |
|     static function PrintTrace()
 | |
|     {
 | |
|         self::$yyTraceFILE = fopen('php://output', 'w');
 | |
|         self::$yyTracePrompt = '<br>';
 | |
|     }
 | |
| 
 | |
|     /**
 | |
|      * @var resource|0
 | |
|      */
 | |
|     static public $yyTraceFILE;
 | |
|     /**
 | |
|      * String to prepend to debug output
 | |
|      * @var string|0
 | |
|      */
 | |
|     static public $yyTracePrompt;
 | |
|     /**
 | |
|      * @var int
 | |
|      */
 | |
|     public $yyidx;                    /* Index of top element in stack */
 | |
|     /**
 | |
|      * @var int
 | |
|      */
 | |
|     public $yyerrcnt;                 /* Shifts left before out of the error */
 | |
|     /**
 | |
|      * @var array
 | |
|      */
 | |
|     public $yystack = array();  /* The parser's stack */
 | |
| 
 | |
|     /**
 | |
|      * For tracing shifts, the names of all terminals and nonterminals
 | |
|      * are required.  The following table supplies these names
 | |
|      * @var array
 | |
|      */
 | |
|     public $yyTokenName = array( 
 | |
|   '$',             'OTHER',         'LDELSLASH',     'LDEL',        
 | |
|   'RDEL',          'PHP',           'SHORTTAGSTART',  'SHORTTAGEND', 
 | |
|   'COMMENTEND',    'COMMENTSTART',  'INTEGER',       'MATH',        
 | |
|   'UNIMATH',       'INCDEC',        'OPENP',         'CLOSEP',      
 | |
|   'OPENB',         'CLOSEB',        'DOLLAR',        'DOT',         
 | |
|   'COMMA',         'COLON',         'DOUBLECOLON',   'SEMICOLON',   
 | |
|   'VERT',          'EQUAL',         'SPACE',         'PTR',         
 | |
|   'APTR',          'ID',            'EQUALS',        'NOTEQUALS',   
 | |
|   'GREATERTHAN',   'LESSTHAN',      'GREATEREQUAL',  'LESSEQUAL',   
 | |
|   'IDENTITY',      'NONEIDENTITY',  'NOT',           'LAND',        
 | |
|   'LOR',           'QUOTE',         'SINGLEQUOTE',   'BOOLEAN',     
 | |
|   'NULL',          'AS',            'ANDSYM',        'BACKTICK',    
 | |
|   'HATCH',         'AT',            'ISODD',         'ISNOTODD',    
 | |
|   'ISEVEN',        'ISNOTEVEN',     'ISODDBY',       'ISNOTODDBY',  
 | |
|   'ISEVENBY',      'ISNOTEVENBY',   'ISDIVBY',       'ISNOTDIVBY',  
 | |
|   'ISIN',          'LITERALSTART',  'LITERALEND',    'LDELIMTAG',   
 | |
|   'RDELIMTAG',     'PHPSTART',      'PHPEND',        'XML',         
 | |
|   'error',         'start',         'template',      'template_element',
 | |
|   'smartytag',     'text',          'variable',      'varindexed',  
 | |
|   'expr',          'attributes',    'modifier',      'modparameters',
 | |
|   'ifexprs',       'statement',     'statements',    'varvar',      
 | |
|   'foraction',     'value',         'array',         'attribute',   
 | |
|   'optspace',      'exprs',         'math',          'function',    
 | |
|   'doublequoted',  'method',        'params',        'objectchain', 
 | |
|   'arrayindex',    'object',        'indexdef',      'varvarele',   
 | |
|   'objectelement',  'modparameter',  'ifexpr',        'ifcond',      
 | |
|   'lop',           'arrayelements',  'arrayelement',  'doublequotedcontent',
 | |
|   'textelement', 
 | |
|     );
 | |
| 
 | |
|     /**
 | |
|      * For tracing reduce actions, the names of all rules are required.
 | |
|      * @var array
 | |
|      */
 | |
|     static public $yyRuleName = array(
 | |
|  /*   0 */ "start ::= template",
 | |
|  /*   1 */ "template ::= template_element",
 | |
|  /*   2 */ "template ::= template template_element",
 | |
|  /*   3 */ "template_element ::= smartytag",
 | |
|  /*   4 */ "template_element ::= COMMENTSTART text COMMENTEND",
 | |
|  /*   5 */ "template_element ::= LITERALSTART text LITERALEND",
 | |
|  /*   6 */ "template_element ::= LDELIMTAG",
 | |
|  /*   7 */ "template_element ::= RDELIMTAG",
 | |
|  /*   8 */ "template_element ::= PHP",
 | |
|  /*   9 */ "template_element ::= PHPSTART text PHPEND",
 | |
|  /*  10 */ "template_element ::= SHORTTAGSTART variable SHORTTAGEND",
 | |
|  /*  11 */ "template_element ::= XML",
 | |
|  /*  12 */ "template_element ::= SHORTTAGEND",
 | |
|  /*  13 */ "template_element ::= OTHER",
 | |
|  /*  14 */ "smartytag ::= LDEL varindexed EQUAL expr attributes RDEL",
 | |
|  /*  15 */ "smartytag ::= LDEL expr attributes RDEL",
 | |
|  /*  16 */ "smartytag ::= LDEL ID attributes RDEL",
 | |
|  /*  17 */ "smartytag ::= LDEL ID PTR ID attributes RDEL",
 | |
|  /*  18 */ "smartytag ::= LDEL ID modifier modparameters attributes RDEL",
 | |
|  /*  19 */ "smartytag ::= LDELSLASH ID attributes RDEL",
 | |
|  /*  20 */ "smartytag ::= LDELSLASH ID PTR ID RDEL",
 | |
|  /*  21 */ "smartytag ::= LDEL ID SPACE ifexprs RDEL",
 | |
|  /*  22 */ "smartytag ::= LDEL ID SPACE statement RDEL",
 | |
|  /*  23 */ "smartytag ::= LDEL ID SPACE statements SEMICOLON ifexprs SEMICOLON DOLLAR varvar foraction RDEL",
 | |
|  /*  24 */ "foraction ::= EQUAL expr",
 | |
|  /*  25 */ "foraction ::= INCDEC",
 | |
|  /*  26 */ "smartytag ::= LDEL ID SPACE value AS DOLLAR varvar RDEL",
 | |
|  /*  27 */ "smartytag ::= LDEL ID SPACE array AS DOLLAR varvar RDEL",
 | |
|  /*  28 */ "attributes ::= attributes attribute",
 | |
|  /*  29 */ "attributes ::= attribute",
 | |
|  /*  30 */ "attributes ::=",
 | |
|  /*  31 */ "attribute ::= SPACE ID optspace EQUAL optspace expr",
 | |
|  /*  32 */ "statements ::= statement",
 | |
|  /*  33 */ "statements ::= statements COMMA statement",
 | |
|  /*  34 */ "statement ::= DOLLAR varvar EQUAL expr",
 | |
|  /*  35 */ "expr ::= ID",
 | |
|  /*  36 */ "expr ::= exprs",
 | |
|  /*  37 */ "expr ::= DOLLAR ID COLON ID",
 | |
|  /*  38 */ "expr ::= expr modifier modparameters",
 | |
|  /*  39 */ "exprs ::= array",
 | |
|  /*  40 */ "exprs ::= value",
 | |
|  /*  41 */ "exprs ::= UNIMATH value",
 | |
|  /*  42 */ "exprs ::= exprs math value",
 | |
|  /*  43 */ "exprs ::= exprs ANDSYM value",
 | |
|  /*  44 */ "math ::= UNIMATH",
 | |
|  /*  45 */ "math ::= MATH",
 | |
|  /*  46 */ "value ::= variable",
 | |
|  /*  47 */ "value ::= INTEGER",
 | |
|  /*  48 */ "value ::= INTEGER DOT INTEGER",
 | |
|  /*  49 */ "value ::= BOOLEAN",
 | |
|  /*  50 */ "value ::= NULL",
 | |
|  /*  51 */ "value ::= function",
 | |
|  /*  52 */ "value ::= OPENP expr CLOSEP",
 | |
|  /*  53 */ "value ::= SINGLEQUOTE text SINGLEQUOTE",
 | |
|  /*  54 */ "value ::= SINGLEQUOTE SINGLEQUOTE",
 | |
|  /*  55 */ "value ::= QUOTE doublequoted QUOTE",
 | |
|  /*  56 */ "value ::= QUOTE QUOTE",
 | |
|  /*  57 */ "value ::= ID DOUBLECOLON method",
 | |
|  /*  58 */ "value ::= ID DOUBLECOLON DOLLAR ID OPENP params CLOSEP",
 | |
|  /*  59 */ "value ::= ID DOUBLECOLON method objectchain",
 | |
|  /*  60 */ "value ::= ID DOUBLECOLON DOLLAR ID OPENP params CLOSEP objectchain",
 | |
|  /*  61 */ "value ::= ID DOUBLECOLON ID",
 | |
|  /*  62 */ "value ::= ID DOUBLECOLON DOLLAR ID arrayindex",
 | |
|  /*  63 */ "value ::= ID DOUBLECOLON DOLLAR ID arrayindex objectchain",
 | |
|  /*  64 */ "variable ::= varindexed",
 | |
|  /*  65 */ "variable ::= DOLLAR varvar AT ID",
 | |
|  /*  66 */ "variable ::= object",
 | |
|  /*  67 */ "variable ::= HATCH ID HATCH",
 | |
|  /*  68 */ "variable ::= HATCH variable HATCH",
 | |
|  /*  69 */ "varindexed ::= DOLLAR varvar arrayindex",
 | |
|  /*  70 */ "arrayindex ::= arrayindex indexdef",
 | |
|  /*  71 */ "arrayindex ::=",
 | |
|  /*  72 */ "indexdef ::= DOT ID",
 | |
|  /*  73 */ "indexdef ::= DOT INTEGER",
 | |
|  /*  74 */ "indexdef ::= DOT variable",
 | |
|  /*  75 */ "indexdef ::= DOT LDEL exprs RDEL",
 | |
|  /*  76 */ "indexdef ::= OPENB ID CLOSEB",
 | |
|  /*  77 */ "indexdef ::= OPENB exprs CLOSEB",
 | |
|  /*  78 */ "indexdef ::= OPENB CLOSEB",
 | |
|  /*  79 */ "varvar ::= varvarele",
 | |
|  /*  80 */ "varvar ::= varvar varvarele",
 | |
|  /*  81 */ "varvarele ::= ID",
 | |
|  /*  82 */ "varvarele ::= LDEL expr RDEL",
 | |
|  /*  83 */ "object ::= varindexed objectchain",
 | |
|  /*  84 */ "objectchain ::= objectelement",
 | |
|  /*  85 */ "objectchain ::= objectchain objectelement",
 | |
|  /*  86 */ "objectelement ::= PTR ID arrayindex",
 | |
|  /*  87 */ "objectelement ::= PTR variable arrayindex",
 | |
|  /*  88 */ "objectelement ::= PTR LDEL expr RDEL arrayindex",
 | |
|  /*  89 */ "objectelement ::= PTR ID LDEL expr RDEL arrayindex",
 | |
|  /*  90 */ "objectelement ::= PTR method",
 | |
|  /*  91 */ "function ::= ID OPENP params CLOSEP",
 | |
|  /*  92 */ "method ::= ID OPENP params CLOSEP",
 | |
|  /*  93 */ "params ::= expr COMMA params",
 | |
|  /*  94 */ "params ::= expr",
 | |
|  /*  95 */ "params ::=",
 | |
|  /*  96 */ "modifier ::= VERT AT ID",
 | |
|  /*  97 */ "modifier ::= VERT ID",
 | |
|  /*  98 */ "modparameters ::= modparameters modparameter",
 | |
|  /*  99 */ "modparameters ::=",
 | |
|  /* 100 */ "modparameter ::= COLON exprs",
 | |
|  /* 101 */ "modparameter ::= COLON ID",
 | |
|  /* 102 */ "ifexprs ::= ifexpr",
 | |
|  /* 103 */ "ifexprs ::= NOT ifexprs",
 | |
|  /* 104 */ "ifexprs ::= OPENP ifexprs CLOSEP",
 | |
|  /* 105 */ "ifexpr ::= expr",
 | |
|  /* 106 */ "ifexpr ::= expr optspace ifcond optspace expr",
 | |
|  /* 107 */ "ifexpr ::= expr ISIN array",
 | |
|  /* 108 */ "ifexpr ::= expr ISIN value",
 | |
|  /* 109 */ "ifexpr ::= expr lop ifexprs",
 | |
|  /* 110 */ "ifexpr ::= ifexprs optspace lop optspace ifexprs",
 | |
|  /* 111 */ "ifexpr ::= ifexprs ISDIVBY ifexprs",
 | |
|  /* 112 */ "ifexpr ::= ifexprs ISNOTDIVBY ifexprs",
 | |
|  /* 113 */ "ifexpr ::= ifexprs ISEVEN",
 | |
|  /* 114 */ "ifexpr ::= ifexprs ISNOTEVEN",
 | |
|  /* 115 */ "ifexpr ::= ifexprs ISEVENBY ifexprs",
 | |
|  /* 116 */ "ifexpr ::= ifexprs ISNOTEVENBY ifexprs",
 | |
|  /* 117 */ "ifexpr ::= ifexprs ISODD",
 | |
|  /* 118 */ "ifexpr ::= ifexprs ISNOTODD",
 | |
|  /* 119 */ "ifexpr ::= ifexprs ISODDBY ifexprs",
 | |
|  /* 120 */ "ifexpr ::= ifexprs ISNOTODDBY ifexprs",
 | |
|  /* 121 */ "ifcond ::= EQUALS",
 | |
|  /* 122 */ "ifcond ::= NOTEQUALS",
 | |
|  /* 123 */ "ifcond ::= GREATERTHAN",
 | |
|  /* 124 */ "ifcond ::= LESSTHAN",
 | |
|  /* 125 */ "ifcond ::= GREATEREQUAL",
 | |
|  /* 126 */ "ifcond ::= LESSEQUAL",
 | |
|  /* 127 */ "ifcond ::= IDENTITY",
 | |
|  /* 128 */ "ifcond ::= NONEIDENTITY",
 | |
|  /* 129 */ "lop ::= LAND",
 | |
|  /* 130 */ "lop ::= LOR",
 | |
|  /* 131 */ "optspace ::= SPACE",
 | |
|  /* 132 */ "optspace ::=",
 | |
|  /* 133 */ "array ::= OPENB arrayelements CLOSEB",
 | |
|  /* 134 */ "arrayelements ::= arrayelement",
 | |
|  /* 135 */ "arrayelements ::= arrayelements COMMA arrayelement",
 | |
|  /* 136 */ "arrayelements ::=",
 | |
|  /* 137 */ "arrayelement ::= expr APTR expr",
 | |
|  /* 138 */ "arrayelement ::= ID APTR expr",
 | |
|  /* 139 */ "arrayelement ::= expr",
 | |
|  /* 140 */ "doublequoted ::= doublequoted doublequotedcontent",
 | |
|  /* 141 */ "doublequoted ::= doublequotedcontent",
 | |
|  /* 142 */ "doublequotedcontent ::= BACKTICK ID BACKTICK",
 | |
|  /* 143 */ "doublequotedcontent ::= BACKTICK variable BACKTICK",
 | |
|  /* 144 */ "doublequotedcontent ::= DOLLAR ID",
 | |
|  /* 145 */ "doublequotedcontent ::= LDEL expr RDEL",
 | |
|  /* 146 */ "doublequotedcontent ::= DOLLAR OTHER",
 | |
|  /* 147 */ "doublequotedcontent ::= LDEL OTHER",
 | |
|  /* 148 */ "doublequotedcontent ::= BACKTICK OTHER",
 | |
|  /* 149 */ "doublequotedcontent ::= OTHER",
 | |
|  /* 150 */ "text ::= text textelement",
 | |
|  /* 151 */ "text ::= textelement",
 | |
|  /* 152 */ "textelement ::= OTHER",
 | |
|  /* 153 */ "textelement ::= LDEL",
 | |
|     );
 | |
| 
 | |
|     /**
 | |
|      * This function returns the symbolic name associated with a token
 | |
|      * value.
 | |
|      * @param int
 | |
|      * @return string
 | |
|      */
 | |
|     function tokenName($tokenType)
 | |
|     {
 | |
|         if ($tokenType === 0) {
 | |
|             return 'End of Input';
 | |
|         }
 | |
|         if ($tokenType > 0 && $tokenType < count($this->yyTokenName)) {
 | |
|             return $this->yyTokenName[$tokenType];
 | |
|         } else {
 | |
|             return "Unknown";
 | |
|         }
 | |
|     }
 | |
| 
 | |
|     /**
 | |
|      * The following function deletes the value associated with a
 | |
|      * symbol.  The symbol can be either a terminal or nonterminal.
 | |
|      * @param int the symbol code
 | |
|      * @param mixed the symbol's value
 | |
|      */
 | |
|     static function yy_destructor($yymajor, $yypminor)
 | |
|     {
 | |
|         switch ($yymajor) {
 | |
|         /* Here is inserted the actions which take place when a
 | |
|         ** terminal or non-terminal is destroyed.  This can happen
 | |
|         ** when the symbol is popped from the stack during a
 | |
|         ** reduce or during error processing or when a parser is 
 | |
|         ** being destroyed before it is finished parsing.
 | |
|         **
 | |
|         ** Note: during a reduce, the only symbols destroyed are those
 | |
|         ** which appear on the RHS of the rule, but which are not used
 | |
|         ** inside the C code.
 | |
|         */
 | |
|             default:  break;   /* If no destructor action specified: do nothing */
 | |
|         }
 | |
|     }
 | |
| 
 | |
|     /**
 | |
|      * Pop the parser's stack once.
 | |
|      *
 | |
|      * If there is a destructor routine associated with the token which
 | |
|      * is popped from the stack, then call it.
 | |
|      *
 | |
|      * Return the major token number for the symbol popped.
 | |
|      * @param TP_yyParser
 | |
|      * @return int
 | |
|      */
 | |
|     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;
 | |
|     }
 | |
| 
 | |
|     /**
 | |
|      * Deallocate and destroy a parser.  Destructors are all called for
 | |
|      * all stack elements before shutting the parser down.
 | |
|      */
 | |
|     function __destruct()
 | |
|     {
 | |
|         while ($this->yyidx >= 0) {
 | |
|             $this->yy_pop_parser_stack();
 | |
|         }
 | |
|         if (is_resource(self::$yyTraceFILE)) {
 | |
|             fclose(self::$yyTraceFILE);
 | |
|         }
 | |
|     }
 | |
| 
 | |
|     /**
 | |
|      * Based on the current state and parser stack, get a list of all
 | |
|      * possible lookahead tokens
 | |
|      * @param int
 | |
|      * @return array
 | |
|      */
 | |
|     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);
 | |
|     }
 | |
| 
 | |
|     /**
 | |
|      * Based on the parser state and current parser stack, determine whether
 | |
|      * the lookahead token is possible.
 | |
|      * 
 | |
|      * The parser will convert the token value to an error token if not.  This
 | |
|      * catches some unusual edge cases where the parser would fail.
 | |
|      * @param int
 | |
|      * @return bool
 | |
|      */
 | |
|     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;
 | |
|     }
 | |
| 
 | |
|     /**
 | |
|      * Find the appropriate action for a parser given the terminal
 | |
|      * look-ahead token iLookAhead.
 | |
|      *
 | |
|      * If the look-ahead token is YYNOCODE, then check to see if the action is
 | |
|      * independent of the look-ahead.  If it is, return the action, otherwise
 | |
|      * return YY_NO_ACTION.
 | |
|      * @param int The look-ahead token
 | |
|      */
 | |
|     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];
 | |
|         }
 | |
|     }
 | |
| 
 | |
|     /**
 | |
|      * Find the appropriate action for a parser given the non-terminal
 | |
|      * look-ahead token $iLookAhead.
 | |
|      *
 | |
|      * If the look-ahead token is self::YYNOCODE, then check to see if the action is
 | |
|      * independent of the look-ahead.  If it is, return the action, otherwise
 | |
|      * return self::YY_NO_ACTION.
 | |
|      * @param int Current state number
 | |
|      * @param int The look-ahead token
 | |
|      */
 | |
|     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];
 | |
|         }
 | |
|     }
 | |
| 
 | |
|     /**
 | |
|      * Perform a shift action.
 | |
|      * @param int The new state to shift in
 | |
|      * @param int The major token to shift in
 | |
|      * @param mixed the minor token to shift in
 | |
|      */
 | |
|     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();
 | |
|             }
 | |
|             /* Here code is inserted which will execute if the parser
 | |
|             ** stack ever overflows */
 | |
|             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");
 | |
|         }
 | |
|     }
 | |
| 
 | |
|     /**
 | |
|      * The following table contains information about every rule that
 | |
|      * is used during the reduce.
 | |
|      *
 | |
|      * <pre>
 | |
|      * array(
 | |
|      *  array(
 | |
|      *   int $lhs;         Symbol on the left-hand side of the rule
 | |
|      *   int $nrhs;     Number of right-hand side symbols in the rule
 | |
|      *  ),...
 | |
|      * );
 | |
|      * </pre>
 | |
|      */
 | |
|     static public $yyRuleInfo = array(
 | |
|   array( 'lhs' => 69, 'rhs' => 1 ),
 | |
|   array( 'lhs' => 70, 'rhs' => 1 ),
 | |
|   array( 'lhs' => 70, 'rhs' => 2 ),
 | |
|   array( 'lhs' => 71, 'rhs' => 1 ),
 | |
|   array( 'lhs' => 71, 'rhs' => 3 ),
 | |
|   array( 'lhs' => 71, 'rhs' => 3 ),
 | |
|   array( 'lhs' => 71, 'rhs' => 1 ),
 | |
|   array( 'lhs' => 71, 'rhs' => 1 ),
 | |
|   array( 'lhs' => 71, 'rhs' => 1 ),
 | |
|   array( 'lhs' => 71, 'rhs' => 3 ),
 | |
|   array( 'lhs' => 71, 'rhs' => 3 ),
 | |
|   array( 'lhs' => 71, 'rhs' => 1 ),
 | |
|   array( 'lhs' => 71, 'rhs' => 1 ),
 | |
|   array( 'lhs' => 71, 'rhs' => 1 ),
 | |
|   array( 'lhs' => 72, 'rhs' => 6 ),
 | |
|   array( 'lhs' => 72, 'rhs' => 4 ),
 | |
|   array( 'lhs' => 72, 'rhs' => 4 ),
 | |
|   array( 'lhs' => 72, 'rhs' => 6 ),
 | |
|   array( 'lhs' => 72, 'rhs' => 6 ),
 | |
|   array( 'lhs' => 72, 'rhs' => 4 ),
 | |
|   array( 'lhs' => 72, 'rhs' => 5 ),
 | |
|   array( 'lhs' => 72, 'rhs' => 5 ),
 | |
|   array( 'lhs' => 72, 'rhs' => 5 ),
 | |
|   array( 'lhs' => 72, 'rhs' => 11 ),
 | |
|   array( 'lhs' => 84, 'rhs' => 2 ),
 | |
|   array( 'lhs' => 84, 'rhs' => 1 ),
 | |
|   array( 'lhs' => 72, 'rhs' => 8 ),
 | |
|   array( 'lhs' => 72, 'rhs' => 8 ),
 | |
|   array( 'lhs' => 77, 'rhs' => 2 ),
 | |
|   array( 'lhs' => 77, 'rhs' => 1 ),
 | |
|   array( 'lhs' => 77, 'rhs' => 0 ),
 | |
|   array( 'lhs' => 87, 'rhs' => 6 ),
 | |
|   array( 'lhs' => 82, 'rhs' => 1 ),
 | |
|   array( 'lhs' => 82, 'rhs' => 3 ),
 | |
|   array( 'lhs' => 81, 'rhs' => 4 ),
 | |
|   array( 'lhs' => 76, 'rhs' => 1 ),
 | |
|   array( 'lhs' => 76, 'rhs' => 1 ),
 | |
|   array( 'lhs' => 76, 'rhs' => 4 ),
 | |
|   array( 'lhs' => 76, 'rhs' => 3 ),
 | |
|   array( 'lhs' => 89, 'rhs' => 1 ),
 | |
|   array( 'lhs' => 89, 'rhs' => 1 ),
 | |
|   array( 'lhs' => 89, 'rhs' => 2 ),
 | |
|   array( 'lhs' => 89, 'rhs' => 3 ),
 | |
|   array( 'lhs' => 89, 'rhs' => 3 ),
 | |
|   array( 'lhs' => 90, 'rhs' => 1 ),
 | |
|   array( 'lhs' => 90, 'rhs' => 1 ),
 | |
|   array( 'lhs' => 85, 'rhs' => 1 ),
 | |
|   array( 'lhs' => 85, 'rhs' => 1 ),
 | |
|   array( 'lhs' => 85, 'rhs' => 3 ),
 | |
|   array( 'lhs' => 85, 'rhs' => 1 ),
 | |
|   array( 'lhs' => 85, 'rhs' => 1 ),
 | |
|   array( 'lhs' => 85, 'rhs' => 1 ),
 | |
|   array( 'lhs' => 85, 'rhs' => 3 ),
 | |
|   array( 'lhs' => 85, 'rhs' => 3 ),
 | |
|   array( 'lhs' => 85, 'rhs' => 2 ),
 | |
|   array( 'lhs' => 85, 'rhs' => 3 ),
 | |
|   array( 'lhs' => 85, 'rhs' => 2 ),
 | |
|   array( 'lhs' => 85, 'rhs' => 3 ),
 | |
|   array( 'lhs' => 85, 'rhs' => 7 ),
 | |
|   array( 'lhs' => 85, 'rhs' => 4 ),
 | |
|   array( 'lhs' => 85, 'rhs' => 8 ),
 | |
|   array( 'lhs' => 85, 'rhs' => 3 ),
 | |
|   array( 'lhs' => 85, 'rhs' => 5 ),
 | |
|   array( 'lhs' => 85, 'rhs' => 6 ),
 | |
|   array( 'lhs' => 74, 'rhs' => 1 ),
 | |
|   array( 'lhs' => 74, 'rhs' => 4 ),
 | |
|   array( 'lhs' => 74, 'rhs' => 1 ),
 | |
|   array( 'lhs' => 74, 'rhs' => 3 ),
 | |
|   array( 'lhs' => 74, 'rhs' => 3 ),
 | |
|   array( 'lhs' => 75, 'rhs' => 3 ),
 | |
|   array( 'lhs' => 96, 'rhs' => 2 ),
 | |
|   array( 'lhs' => 96, 'rhs' => 0 ),
 | |
|   array( 'lhs' => 98, 'rhs' => 2 ),
 | |
|   array( 'lhs' => 98, 'rhs' => 2 ),
 | |
|   array( 'lhs' => 98, 'rhs' => 2 ),
 | |
|   array( 'lhs' => 98, 'rhs' => 4 ),
 | |
|   array( 'lhs' => 98, 'rhs' => 3 ),
 | |
|   array( 'lhs' => 98, 'rhs' => 3 ),
 | |
|   array( 'lhs' => 98, 'rhs' => 2 ),
 | |
|   array( 'lhs' => 83, 'rhs' => 1 ),
 | |
|   array( 'lhs' => 83, 'rhs' => 2 ),
 | |
|   array( 'lhs' => 99, 'rhs' => 1 ),
 | |
|   array( 'lhs' => 99, 'rhs' => 3 ),
 | |
|   array( 'lhs' => 97, 'rhs' => 2 ),
 | |
|   array( 'lhs' => 95, 'rhs' => 1 ),
 | |
|   array( 'lhs' => 95, 'rhs' => 2 ),
 | |
|   array( 'lhs' => 100, 'rhs' => 3 ),
 | |
|   array( 'lhs' => 100, 'rhs' => 3 ),
 | |
|   array( 'lhs' => 100, 'rhs' => 5 ),
 | |
|   array( 'lhs' => 100, 'rhs' => 6 ),
 | |
|   array( 'lhs' => 100, 'rhs' => 2 ),
 | |
|   array( 'lhs' => 91, 'rhs' => 4 ),
 | |
|   array( 'lhs' => 93, 'rhs' => 4 ),
 | |
|   array( 'lhs' => 94, 'rhs' => 3 ),
 | |
|   array( 'lhs' => 94, 'rhs' => 1 ),
 | |
|   array( 'lhs' => 94, 'rhs' => 0 ),
 | |
|   array( 'lhs' => 78, 'rhs' => 3 ),
 | |
|   array( 'lhs' => 78, 'rhs' => 2 ),
 | |
|   array( 'lhs' => 79, 'rhs' => 2 ),
 | |
|   array( 'lhs' => 79, 'rhs' => 0 ),
 | |
|   array( 'lhs' => 101, 'rhs' => 2 ),
 | |
|   array( 'lhs' => 101, 'rhs' => 2 ),
 | |
|   array( 'lhs' => 80, 'rhs' => 1 ),
 | |
|   array( 'lhs' => 80, 'rhs' => 2 ),
 | |
|   array( 'lhs' => 80, 'rhs' => 3 ),
 | |
|   array( 'lhs' => 102, 'rhs' => 1 ),
 | |
|   array( 'lhs' => 102, 'rhs' => 5 ),
 | |
|   array( 'lhs' => 102, 'rhs' => 3 ),
 | |
|   array( 'lhs' => 102, 'rhs' => 3 ),
 | |
|   array( 'lhs' => 102, 'rhs' => 3 ),
 | |
|   array( 'lhs' => 102, 'rhs' => 5 ),
 | |
|   array( 'lhs' => 102, 'rhs' => 3 ),
 | |
|   array( 'lhs' => 102, 'rhs' => 3 ),
 | |
|   array( 'lhs' => 102, 'rhs' => 2 ),
 | |
|   array( 'lhs' => 102, 'rhs' => 2 ),
 | |
|   array( 'lhs' => 102, 'rhs' => 3 ),
 | |
|   array( 'lhs' => 102, 'rhs' => 3 ),
 | |
|   array( 'lhs' => 102, 'rhs' => 2 ),
 | |
|   array( 'lhs' => 102, 'rhs' => 2 ),
 | |
|   array( 'lhs' => 102, 'rhs' => 3 ),
 | |
|   array( 'lhs' => 102, 'rhs' => 3 ),
 | |
|   array( 'lhs' => 103, 'rhs' => 1 ),
 | |
|   array( 'lhs' => 103, 'rhs' => 1 ),
 | |
|   array( 'lhs' => 103, 'rhs' => 1 ),
 | |
|   array( 'lhs' => 103, 'rhs' => 1 ),
 | |
|   array( 'lhs' => 103, 'rhs' => 1 ),
 | |
|   array( 'lhs' => 103, 'rhs' => 1 ),
 | |
|   array( 'lhs' => 103, 'rhs' => 1 ),
 | |
|   array( 'lhs' => 103, 'rhs' => 1 ),
 | |
|   array( 'lhs' => 104, 'rhs' => 1 ),
 | |
|   array( 'lhs' => 104, 'rhs' => 1 ),
 | |
|   array( 'lhs' => 88, 'rhs' => 1 ),
 | |
|   array( 'lhs' => 88, 'rhs' => 0 ),
 | |
|   array( 'lhs' => 86, 'rhs' => 3 ),
 | |
|   array( 'lhs' => 105, 'rhs' => 1 ),
 | |
|   array( 'lhs' => 105, 'rhs' => 3 ),
 | |
|   array( 'lhs' => 105, 'rhs' => 0 ),
 | |
|   array( 'lhs' => 106, 'rhs' => 3 ),
 | |
|   array( 'lhs' => 106, 'rhs' => 3 ),
 | |
|   array( 'lhs' => 106, 'rhs' => 1 ),
 | |
|   array( 'lhs' => 92, 'rhs' => 2 ),
 | |
|   array( 'lhs' => 92, 'rhs' => 1 ),
 | |
|   array( 'lhs' => 107, 'rhs' => 3 ),
 | |
|   array( 'lhs' => 107, 'rhs' => 3 ),
 | |
|   array( 'lhs' => 107, 'rhs' => 2 ),
 | |
|   array( 'lhs' => 107, 'rhs' => 3 ),
 | |
|   array( 'lhs' => 107, 'rhs' => 2 ),
 | |
|   array( 'lhs' => 107, 'rhs' => 2 ),
 | |
|   array( 'lhs' => 107, 'rhs' => 2 ),
 | |
|   array( 'lhs' => 107, 'rhs' => 1 ),
 | |
|   array( 'lhs' => 73, 'rhs' => 2 ),
 | |
|   array( 'lhs' => 73, 'rhs' => 1 ),
 | |
|   array( 'lhs' => 108, 'rhs' => 1 ),
 | |
|   array( 'lhs' => 108, 'rhs' => 1 ),
 | |
|     );
 | |
| 
 | |
|     /**
 | |
|      * The following table contains a mapping of reduce action to method name
 | |
|      * that handles the reduction.
 | |
|      * 
 | |
|      * If a rule is not set, it has no handler.
 | |
|      */
 | |
|     static public $yyReduceMap = array(
 | |
|         0 => 0,
 | |
|         40 => 0,
 | |
|         46 => 0,
 | |
|         47 => 0,
 | |
|         49 => 0,
 | |
|         50 => 0,
 | |
|         51 => 0,
 | |
|         66 => 0,
 | |
|         134 => 0,
 | |
|         1 => 1,
 | |
|         36 => 1,
 | |
|         39 => 1,
 | |
|         44 => 1,
 | |
|         45 => 1,
 | |
|         79 => 1,
 | |
|         102 => 1,
 | |
|         141 => 1,
 | |
|         149 => 1,
 | |
|         151 => 1,
 | |
|         152 => 1,
 | |
|         153 => 1,
 | |
|         2 => 2,
 | |
|         70 => 2,
 | |
|         140 => 2,
 | |
|         150 => 2,
 | |
|         3 => 3,
 | |
|         4 => 4,
 | |
|         5 => 5,
 | |
|         6 => 6,
 | |
|         7 => 7,
 | |
|         8 => 8,
 | |
|         9 => 9,
 | |
|         10 => 10,
 | |
|         11 => 11,
 | |
|         12 => 12,
 | |
|         13 => 13,
 | |
|         14 => 14,
 | |
|         15 => 15,
 | |
|         16 => 16,
 | |
|         17 => 17,
 | |
|         18 => 18,
 | |
|         19 => 19,
 | |
|         20 => 20,
 | |
|         21 => 21,
 | |
|         22 => 22,
 | |
|         23 => 23,
 | |
|         24 => 24,
 | |
|         25 => 25,
 | |
|         29 => 25,
 | |
|         94 => 25,
 | |
|         131 => 25,
 | |
|         139 => 25,
 | |
|         26 => 26,
 | |
|         27 => 27,
 | |
|         28 => 28,
 | |
|         30 => 30,
 | |
|         31 => 31,
 | |
|         32 => 32,
 | |
|         33 => 33,
 | |
|         34 => 34,
 | |
|         35 => 35,
 | |
|         37 => 37,
 | |
|         38 => 38,
 | |
|         41 => 41,
 | |
|         42 => 42,
 | |
|         43 => 43,
 | |
|         48 => 48,
 | |
|         52 => 52,
 | |
|         53 => 53,
 | |
|         54 => 54,
 | |
|         56 => 54,
 | |
|         55 => 55,
 | |
|         57 => 57,
 | |
|         58 => 58,
 | |
|         59 => 59,
 | |
|         60 => 60,
 | |
|         61 => 61,
 | |
|         62 => 62,
 | |
|         63 => 63,
 | |
|         64 => 64,
 | |
|         65 => 65,
 | |
|         67 => 67,
 | |
|         68 => 68,
 | |
|         69 => 69,
 | |
|         71 => 71,
 | |
|         99 => 71,
 | |
|         72 => 72,
 | |
|         73 => 73,
 | |
|         74 => 74,
 | |
|         75 => 75,
 | |
|         77 => 75,
 | |
|         76 => 76,
 | |
|         78 => 78,
 | |
|         80 => 80,
 | |
|         81 => 81,
 | |
|         82 => 82,
 | |
|         104 => 82,
 | |
|         83 => 83,
 | |
|         84 => 84,
 | |
|         85 => 85,
 | |
|         86 => 86,
 | |
|         87 => 87,
 | |
|         88 => 88,
 | |
|         89 => 89,
 | |
|         90 => 90,
 | |
|         91 => 91,
 | |
|         92 => 92,
 | |
|         93 => 93,
 | |
|         95 => 95,
 | |
|         132 => 95,
 | |
|         96 => 96,
 | |
|         97 => 97,
 | |
|         98 => 98,
 | |
|         100 => 100,
 | |
|         101 => 101,
 | |
|         103 => 103,
 | |
|         105 => 105,
 | |
|         106 => 106,
 | |
|         110 => 106,
 | |
|         107 => 107,
 | |
|         108 => 108,
 | |
|         109 => 109,
 | |
|         111 => 111,
 | |
|         112 => 112,
 | |
|         113 => 113,
 | |
|         118 => 113,
 | |
|         114 => 114,
 | |
|         117 => 114,
 | |
|         115 => 115,
 | |
|         120 => 115,
 | |
|         116 => 116,
 | |
|         119 => 116,
 | |
|         121 => 121,
 | |
|         122 => 122,
 | |
|         123 => 123,
 | |
|         124 => 124,
 | |
|         125 => 125,
 | |
|         126 => 126,
 | |
|         127 => 127,
 | |
|         128 => 128,
 | |
|         129 => 129,
 | |
|         130 => 130,
 | |
|         133 => 133,
 | |
|         135 => 135,
 | |
|         136 => 136,
 | |
|         137 => 137,
 | |
|         138 => 138,
 | |
|         142 => 142,
 | |
|         143 => 143,
 | |
|         144 => 144,
 | |
|         145 => 145,
 | |
|         146 => 146,
 | |
|         147 => 147,
 | |
|         148 => 148,
 | |
|     );
 | |
|     /* Beginning here are the reduction cases.  A typical example
 | |
|     ** follows:
 | |
|     **  #line <lineno> <grammarfile>
 | |
|     **   function yy_r0($yymsp){ ... }           // User supplied code
 | |
|     **  #line <lineno> <thisfile>
 | |
|     */
 | |
| #line 73 "internal.templateparser.y"
 | |
|     function yy_r0(){ $this->_retvalue = $this->yystack[$this->yyidx + 0]->minor;     }
 | |
| #line 1885 "internal.templateparser.php"
 | |
| #line 79 "internal.templateparser.y"
 | |
|     function yy_r1(){$this->_retvalue = $this->yystack[$this->yyidx + 0]->minor;    }
 | |
| #line 1888 "internal.templateparser.php"
 | |
| #line 81 "internal.templateparser.y"
 | |
|     function yy_r2(){$this->_retvalue = $this->yystack[$this->yyidx + -1]->minor.$this->yystack[$this->yyidx + 0]->minor;    }
 | |
| #line 1891 "internal.templateparser.php"
 | |
| #line 87 "internal.templateparser.y"
 | |
|     function yy_r3(){if ($this->compiler->has_code) {
 | |
|                                             $tmp =''; foreach ($this->prefix_code as $code) {$tmp.=$code;} $this->prefix_code=array();
 | |
|                                             $this->_retvalue = $this->cacher->processNocacheCode($tmp.$this->yystack[$this->yyidx + 0]->minor, $this->compiler,$this->nocache,true);
 | |
|                                          } $this->nocache=false;    }
 | |
| #line 1897 "internal.templateparser.php"
 | |
| #line 92 "internal.templateparser.y"
 | |
|     function yy_r4(){ $this->_retvalue = '';    }
 | |
| #line 1900 "internal.templateparser.php"
 | |
| #line 95 "internal.templateparser.y"
 | |
|     function yy_r5(){$this->_retvalue = $this->cacher->processNocacheCode($this->yystack[$this->yyidx + -1]->minor, $this->compiler,false,false);    }
 | |
| #line 1903 "internal.templateparser.php"
 | |
| #line 97 "internal.templateparser.y"
 | |
|     function yy_r6(){$this->_retvalue = $this->cacher->processNocacheCode($this->smarty->left_delimiter, $this->compiler,false,false);    }
 | |
| #line 1906 "internal.templateparser.php"
 | |
| #line 99 "internal.templateparser.y"
 | |
|     function yy_r7(){$this->_retvalue = $this->cacher->processNocacheCode($this->smarty->right_delimiter, $this->compiler,false,false);    }
 | |
| #line 1909 "internal.templateparser.php"
 | |
| #line 101 "internal.templateparser.y"
 | |
|     function yy_r8(){if (!$this->template->security) { 
 | |
|                                        $this->_retvalue = $this->cacher->processNocacheCode($this->yystack[$this->yyidx + 0]->minor, $this->compiler, false,true);
 | |
|                                       } elseif ($this->smarty->security_policy->php_handling == SMARTY_PHP_QUOTE) {
 | |
|                                        $this->_retvalue = $this->cacher->processNocacheCode(htmlspecialchars($this->yystack[$this->yyidx + 0]->minor, ENT_QUOTES), $this->compiler, false, false);
 | |
|                                       }elseif ($this->smarty->security_policy->php_handling == SMARTY_PHP_PASSTHRU || $this->smarty->security_policy->php_handling == SMARTY_PHP_ALLOW) {
 | |
|                                        $this->_retvalue = $this->cacher->processNocacheCode("<?php echo '".$this->yystack[$this->yyidx + 0]->minor."';?>\n", $this->compiler, false, false);
 | |
|                                       }elseif ($this->smarty->security_policy->php_handling == SMARTY_PHP_REMOVE) {
 | |
|                                        $this->_retvalue = '';
 | |
|                                       }	    }
 | |
| #line 1920 "internal.templateparser.php"
 | |
| #line 111 "internal.templateparser.y"
 | |
|     function yy_r9(){if (!$this->template->security) { 
 | |
|                                         $this->_retvalue = $this->cacher->processNocacheCode('<?php '.$this->yystack[$this->yyidx + -1]->minor.' ?>', $this->compiler, false,true);
 | |
|                                       } elseif ($this->smarty->security_policy->php_handling == SMARTY_PHP_QUOTE) {
 | |
|                                         $this->_retvalue = $this->cacher->processNocacheCode(htmlspecialchars('<?php '.$this->yystack[$this->yyidx + -1]->minor.' ?>', ENT_QUOTES), $this->compiler, false, false);	
 | |
|                                       }elseif ($this->smarty->security_policy->php_handling == SMARTY_PHP_PASSTHRU || $this->smarty->security_policy->php_handling == SMARTY_PHP_ALLOW) {
 | |
|                                         $this->_retvalue = $this->cacher->processNocacheCode("<?php echo '<?php ".$this->yystack[$this->yyidx + -1]->minor." ?>';?>\n", $this->compiler, false, false);
 | |
|                                       }elseif ($this->smarty->security_policy->php_handling == SMARTY_PHP_REMOVE) {
 | |
|                                         $this->_retvalue = '';
 | |
|                                       }	    }
 | |
| #line 1931 "internal.templateparser.php"
 | |
| #line 121 "internal.templateparser.y"
 | |
|     function yy_r10(){if (!$this->template->security) { 
 | |
|                                         $this->_retvalue = $this->cacher->processNocacheCode($this->compiler->compileTag('print_expression',array('value'=>$this->yystack[$this->yyidx + -1]->minor)), $this->compiler, false,true);
 | |
|                                       } elseif ($this->smarty->security_policy->php_handling == SMARTY_PHP_QUOTE) {
 | |
|                                         $this->_retvalue = $this->cacher->processNocacheCode(htmlspecialchars('<?php '.t.' ?>', ENT_QUOTES), $this->compiler, false, false);	
 | |
|                                       }elseif ($this->smarty->security_policy->php_handling == SMARTY_PHP_PASSTHRU || $this->smarty->security_policy->php_handling == SMARTY_PHP_ALLOW) {
 | |
|                                         $this->_retvalue = $this->cacher->processNocacheCode("<?php echo '<?php ".t." ?>';?>\n", $this->compiler, false, false);
 | |
|                                       }elseif ($this->smarty->security_policy->php_handling == SMARTY_PHP_REMOVE) {
 | |
|                                         $this->_retvalue = '';
 | |
|                                       }	    }
 | |
| #line 1942 "internal.templateparser.php"
 | |
| #line 131 "internal.templateparser.y"
 | |
|     function yy_r11(){$this->_retvalue = $this->cacher->processNocacheCode("<?php echo '".$this->yystack[$this->yyidx + 0]->minor."';?>\n", $this->compiler, true, true);    }
 | |
| #line 1945 "internal.templateparser.php"
 | |
| #line 132 "internal.templateparser.y"
 | |
|     function yy_r12(){$this->_retvalue = $this->cacher->processNocacheCode("<?php echo '?>';?>\n", $this->compiler, true, true);    }
 | |
| #line 1948 "internal.templateparser.php"
 | |
| #line 134 "internal.templateparser.y"
 | |
|     function yy_r13(){$this->_retvalue = $this->cacher->processNocacheCode($this->yystack[$this->yyidx + 0]->minor, $this->compiler,false,false);    }
 | |
| #line 1951 "internal.templateparser.php"
 | |
| #line 141 "internal.templateparser.y"
 | |
|     function yy_r14(){ $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 1954 "internal.templateparser.php"
 | |
| #line 143 "internal.templateparser.y"
 | |
|     function yy_r15(){ $this->_retvalue = $this->compiler->compileTag('print_expression',array_merge(array('value'=>$this->yystack[$this->yyidx + -2]->minor),$this->yystack[$this->yyidx + -1]->minor));    }
 | |
| #line 1957 "internal.templateparser.php"
 | |
| #line 145 "internal.templateparser.y"
 | |
|     function yy_r16(){ $this->_retvalue =  $this->compiler->compileTag($this->yystack[$this->yyidx + -2]->minor,$this->yystack[$this->yyidx + -1]->minor);    }
 | |
| #line 1960 "internal.templateparser.php"
 | |
| #line 147 "internal.templateparser.y"
 | |
|     function yy_r17(){ $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 1963 "internal.templateparser.php"
 | |
| #line 149 "internal.templateparser.y"
 | |
|     function yy_r18(){ $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->".$this->yystack[$this->yyidx + -3]->minor[0] . "(array(ob_get_clean()". $this->yystack[$this->yyidx + -2]->minor ."),'modifier');?>";
 | |
|                                                                  } else {
 | |
|                                                                    if ($this->yystack[$this->yyidx + -3]->minor[0] == 'isset' || $this->yystack[$this->yyidx + -3]->minor[0] == 'empty' || 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 .= $this->yystack[$this->yyidx + -3]->minor[0] . "(ob_get_clean()". $this->yystack[$this->yyidx + -2]->minor .");?>";
 | |
| 																					                            }
 | |
| 																					                         } else {
 | |
|                                                                       $this->compiler->trigger_template_error ("unknown modifier \"" . $this->yystack[$this->yyidx + -3]->minor[0] . "\"");
 | |
|                                                                  }
 | |
|                                                               }
 | |
|                                                                 }
 | |
| #line 1978 "internal.templateparser.php"
 | |
| #line 163 "internal.templateparser.y"
 | |
|     function yy_r19(){ $this->_retvalue =  $this->compiler->compileTag($this->yystack[$this->yyidx + -2]->minor.'close',$this->yystack[$this->yyidx + -1]->minor);    }
 | |
| #line 1981 "internal.templateparser.php"
 | |
| #line 165 "internal.templateparser.y"
 | |
|     function yy_r20(){ $this->_retvalue =  $this->compiler->compileTag($this->yystack[$this->yyidx + -3]->minor.'close',array('object_methode'=>$this->yystack[$this->yyidx + -1]->minor));    }
 | |
| #line 1984 "internal.templateparser.php"
 | |
| #line 167 "internal.templateparser.y"
 | |
|     function yy_r21(){if (!in_array($this->yystack[$this->yyidx + -3]->minor,array('if','elseif','while'))) {
 | |
|                                                             $this->compiler->trigger_template_error ("wrong syntax for tag \"" . $this->yystack[$this->yyidx + -3]->minor . "\""); 
 | |
|                                                             }
 | |
|                                                            $this->_retvalue =  $this->compiler->compileTag($this->yystack[$this->yyidx + -3]->minor,array('if condition'=>$this->yystack[$this->yyidx + -1]->minor));    }
 | |
| #line 1990 "internal.templateparser.php"
 | |
| #line 171 "internal.templateparser.y"
 | |
|     function yy_r22(){ if (!in_array($this->yystack[$this->yyidx + -3]->minor,array('if','elseif','while'))) {
 | |
|                                                             $this->compiler->trigger_template_error ("wrong syntax for tag \"" . $this->yystack[$this->yyidx + -3]->minor . "\""); 
 | |
|                                                             }
 | |
|                                                            $this->_retvalue =  $this->compiler->compileTag($this->yystack[$this->yyidx + -3]->minor,array('if condition'=>$this->yystack[$this->yyidx + -1]->minor));    }
 | |
| #line 1996 "internal.templateparser.php"
 | |
| #line 176 "internal.templateparser.y"
 | |
|     function yy_r23(){
 | |
|                                                             if ($this->yystack[$this->yyidx + -9]->minor != 'for') {
 | |
|                                                                $this->compiler->trigger_template_error ("wrong syntax for tag \"" . $this->yystack[$this->yyidx + -9]->minor . "\""); 
 | |
|                                                             }
 | |
|                                                             $this->_retvalue =  $this->compiler->compileTag($this->yystack[$this->yyidx + -9]->minor,array('start'=>$this->yystack[$this->yyidx + -7]->minor,'ifexp'=>$this->yystack[$this->yyidx + -5]->minor,'varloop'=>$this->yystack[$this->yyidx + -2]->minor,'loop'=>$this->yystack[$this->yyidx + -1]->minor));    }
 | |
| #line 2003 "internal.templateparser.php"
 | |
| #line 181 "internal.templateparser.y"
 | |
|     function yy_r24(){ $this->_retvalue = '='.$this->yystack[$this->yyidx + 0]->minor;    }
 | |
| #line 2006 "internal.templateparser.php"
 | |
| #line 182 "internal.templateparser.y"
 | |
|     function yy_r25(){ $this->_retvalue = $this->yystack[$this->yyidx + 0]->minor;    }
 | |
| #line 2009 "internal.templateparser.php"
 | |
| #line 184 "internal.templateparser.y"
 | |
|     function yy_r26(){
 | |
|                                                             if ($this->yystack[$this->yyidx + -6]->minor != 'foreach') {
 | |
|                                                                $this->compiler->trigger_template_error ("wrong syntax for tag \"" . $this->yystack[$this->yyidx + -6]->minor . "\""); 
 | |
|                                                             }
 | |
|                                                             $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 2016 "internal.templateparser.php"
 | |
| #line 189 "internal.templateparser.y"
 | |
|     function yy_r27(){ 
 | |
|                                                             if ($this->yystack[$this->yyidx + -6]->minor != 'foreach') {
 | |
|                                                                $this->compiler->trigger_template_error ("wrong syntax for tag \"" . $this->yystack[$this->yyidx + -6]->minor . "\""); 
 | |
|                                                             }
 | |
|                                                             $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 2023 "internal.templateparser.php"
 | |
| #line 199 "internal.templateparser.y"
 | |
|     function yy_r28(){ $this->_retvalue = array_merge($this->yystack[$this->yyidx + -1]->minor,$this->yystack[$this->yyidx + 0]->minor);    }
 | |
| #line 2026 "internal.templateparser.php"
 | |
| #line 203 "internal.templateparser.y"
 | |
|     function yy_r30(){ $this->_retvalue = array();    }
 | |
| #line 2029 "internal.templateparser.php"
 | |
| #line 206 "internal.templateparser.y"
 | |
|     function yy_r31(){ $this->_retvalue = array($this->yystack[$this->yyidx + -4]->minor=>$this->yystack[$this->yyidx + 0]->minor);    }
 | |
| #line 2032 "internal.templateparser.php"
 | |
| #line 211 "internal.templateparser.y"
 | |
|     function yy_r32(){ $this->_retvalue = array($this->yystack[$this->yyidx + 0]->minor);    }
 | |
| #line 2035 "internal.templateparser.php"
 | |
| #line 212 "internal.templateparser.y"
 | |
|     function yy_r33(){ $this->yystack[$this->yyidx + -2]->minor[]=$this->yystack[$this->yyidx + 0]->minor; $this->_retvalue = $this->yystack[$this->yyidx + -2]->minor;    }
 | |
| #line 2038 "internal.templateparser.php"
 | |
| #line 214 "internal.templateparser.y"
 | |
|     function yy_r34(){ $this->_retvalue = array('var' => $this->yystack[$this->yyidx + -2]->minor, 'value'=>$this->yystack[$this->yyidx + 0]->minor);    }
 | |
| #line 2041 "internal.templateparser.php"
 | |
| #line 220 "internal.templateparser.y"
 | |
|     function yy_r35(){ $this->_retvalue = '\''.$this->yystack[$this->yyidx + 0]->minor.'\'';     }
 | |
| #line 2044 "internal.templateparser.php"
 | |
| #line 224 "internal.templateparser.y"
 | |
|     function yy_r37(){$this->_retvalue = '$_smarty_tpl->getStreamVariable(\''. $this->yystack[$this->yyidx + -2]->minor .'://'. $this->yystack[$this->yyidx + 0]->minor . '\')';    }
 | |
| #line 2047 "internal.templateparser.php"
 | |
| #line 225 "internal.templateparser.y"
 | |
|     function yy_r38(){             
 | |
|                                                             if ($this->smarty->plugin_handler->loadSmartyPlugin($this->yystack[$this->yyidx + -1]->minor[0],'modifier')) {
 | |
|                                                                       $this->_retvalue = "\$_smarty_tpl->smarty->plugin_handler->".$this->yystack[$this->yyidx + -1]->minor[0] . "(array(". $this->yystack[$this->yyidx + -2]->minor . $this->yystack[$this->yyidx + 0]->minor ."),'modifier')";
 | |
|                                                                  } else {
 | |
|                                                                    if ($this->yystack[$this->yyidx + -1]->minor[0] == 'isset' || $this->yystack[$this->yyidx + -1]->minor[0] == 'empty' || 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 = $this->yystack[$this->yyidx + -1]->minor[0] . "(". $this->yystack[$this->yyidx + -2]->minor . $this->yystack[$this->yyidx + 0]->minor .")";
 | |
| 																					                            }
 | |
| 																					                         } else {
 | |
|                                                                       $this->compiler->trigger_template_error ("unknown modifier \"" . $this->yystack[$this->yyidx + -1]->minor[0] . "\"");
 | |
|                                                                  }
 | |
|                                                               }
 | |
|                                                                 }
 | |
| #line 2062 "internal.templateparser.php"
 | |
| #line 243 "internal.templateparser.y"
 | |
|     function yy_r41(){ $this->_retvalue = $this->yystack[$this->yyidx + -1]->minor.$this->yystack[$this->yyidx + 0]->minor;     }
 | |
| #line 2065 "internal.templateparser.php"
 | |
| #line 245 "internal.templateparser.y"
 | |
|     function yy_r42(){ $this->_retvalue = $this->yystack[$this->yyidx + -2]->minor . $this->yystack[$this->yyidx + -1]->minor . $this->yystack[$this->yyidx + 0]->minor;     }
 | |
| #line 2068 "internal.templateparser.php"
 | |
| #line 247 "internal.templateparser.y"
 | |
|     function yy_r43(){ $this->_retvalue = '('. $this->yystack[$this->yyidx + -2]->minor . ').(' . $this->yystack[$this->yyidx + 0]->minor. ')';     }
 | |
| #line 2071 "internal.templateparser.php"
 | |
| #line 262 "internal.templateparser.y"
 | |
|     function yy_r48(){ $this->_retvalue = $this->yystack[$this->yyidx + -2]->minor.'.'.$this->yystack[$this->yyidx + 0]->minor;     }
 | |
| #line 2074 "internal.templateparser.php"
 | |
| #line 271 "internal.templateparser.y"
 | |
|     function yy_r52(){ $this->_retvalue = "(". $this->yystack[$this->yyidx + -1]->minor .")";     }
 | |
| #line 2077 "internal.templateparser.php"
 | |
| #line 274 "internal.templateparser.y"
 | |
|     function yy_r53(){ $this->_retvalue = "'".$this->yystack[$this->yyidx + -1]->minor."'";     }
 | |
| #line 2080 "internal.templateparser.php"
 | |
| #line 275 "internal.templateparser.y"
 | |
|     function yy_r54(){ $this->_retvalue = "''";     }
 | |
| #line 2083 "internal.templateparser.php"
 | |
| #line 277 "internal.templateparser.y"
 | |
|     function yy_r55(){ $this->_retvalue = '"'.$this->yystack[$this->yyidx + -1]->minor.'"';     }
 | |
| #line 2086 "internal.templateparser.php"
 | |
| #line 281 "internal.templateparser.y"
 | |
|     function yy_r57(){ $this->_retvalue = $this->yystack[$this->yyidx + -2]->minor.'::'.$this->yystack[$this->yyidx + 0]->minor;     }
 | |
| #line 2089 "internal.templateparser.php"
 | |
| #line 282 "internal.templateparser.y"
 | |
|     function yy_r58(){ $this->prefix_number++; $this->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 2092 "internal.templateparser.php"
 | |
| #line 284 "internal.templateparser.y"
 | |
|     function yy_r59(){ $this->_retvalue = $this->yystack[$this->yyidx + -3]->minor.'::'.$this->yystack[$this->yyidx + -1]->minor.$this->yystack[$this->yyidx + 0]->minor;     }
 | |
| #line 2095 "internal.templateparser.php"
 | |
| #line 285 "internal.templateparser.y"
 | |
|     function yy_r60(){ $this->prefix_number++; $this->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 2098 "internal.templateparser.php"
 | |
| #line 287 "internal.templateparser.y"
 | |
|     function yy_r61(){ $this->_retvalue = $this->yystack[$this->yyidx + -2]->minor.'::'.$this->yystack[$this->yyidx + 0]->minor;    }
 | |
| #line 2101 "internal.templateparser.php"
 | |
| #line 289 "internal.templateparser.y"
 | |
|     function yy_r62(){ $this->_retvalue = $this->yystack[$this->yyidx + -4]->minor.'::$'.$this->yystack[$this->yyidx + -1]->minor.$this->yystack[$this->yyidx + 0]->minor;    }
 | |
| #line 2104 "internal.templateparser.php"
 | |
| #line 291 "internal.templateparser.y"
 | |
|     function yy_r63(){ $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 2107 "internal.templateparser.php"
 | |
| #line 298 "internal.templateparser.y"
 | |
|     function yy_r64(){if ($this->yystack[$this->yyidx + 0]->minor['var'] == '\'smarty\'') { $this->_retvalue =  $this->compiler->compileTag('internal_smarty_var',$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->nocache=$this->template->getVariable(trim($this->yystack[$this->yyidx + 0]->minor['var'],"'"))->nocache;}    }
 | |
| #line 2111 "internal.templateparser.php"
 | |
| #line 301 "internal.templateparser.y"
 | |
|     function yy_r65(){ $this->_retvalue = '$_smarty_tpl->getVariable('. $this->yystack[$this->yyidx + -2]->minor .')->'.$this->yystack[$this->yyidx + 0]->minor; $this->nocache=$this->template->getVariable(trim($this->yystack[$this->yyidx + -2]->minor,"'"))->nocache;    }
 | |
| #line 2114 "internal.templateparser.php"
 | |
| #line 305 "internal.templateparser.y"
 | |
|     function yy_r67(){$this->_retvalue = '$_smarty_tpl->getConfigVariable(\''. $this->yystack[$this->yyidx + -1]->minor .'\')';    }
 | |
| #line 2117 "internal.templateparser.php"
 | |
| #line 306 "internal.templateparser.y"
 | |
|     function yy_r68(){$this->_retvalue = '$_smarty_tpl->getConfigVariable('. $this->yystack[$this->yyidx + -1]->minor .')';    }
 | |
| #line 2120 "internal.templateparser.php"
 | |
| #line 309 "internal.templateparser.y"
 | |
|     function yy_r69(){$this->_retvalue = array('var'=>$this->yystack[$this->yyidx + -1]->minor, 'index'=>$this->yystack[$this->yyidx + 0]->minor);    }
 | |
| #line 2123 "internal.templateparser.php"
 | |
| #line 317 "internal.templateparser.y"
 | |
|     function yy_r71(){return;    }
 | |
| #line 2126 "internal.templateparser.php"
 | |
| #line 321 "internal.templateparser.y"
 | |
|     function yy_r72(){ $this->_retvalue = "['". $this->yystack[$this->yyidx + 0]->minor ."']";    }
 | |
| #line 2129 "internal.templateparser.php"
 | |
| #line 322 "internal.templateparser.y"
 | |
|     function yy_r73(){ $this->_retvalue = "[". $this->yystack[$this->yyidx + 0]->minor ."]";    }
 | |
| #line 2132 "internal.templateparser.php"
 | |
| #line 323 "internal.templateparser.y"
 | |
|     function yy_r74(){ $this->_retvalue = "[".$this->yystack[$this->yyidx + 0]->minor."]";    }
 | |
| #line 2135 "internal.templateparser.php"
 | |
| #line 324 "internal.templateparser.y"
 | |
|     function yy_r75(){ $this->_retvalue = "[". $this->yystack[$this->yyidx + -1]->minor ."]";    }
 | |
| #line 2138 "internal.templateparser.php"
 | |
| #line 326 "internal.templateparser.y"
 | |
|     function yy_r76(){ $this->_retvalue = '['.$this->compiler->compileTag('internal_smarty_var','[\'section\'][\''.$this->yystack[$this->yyidx + -1]->minor.'\'][\'index\']').']';    }
 | |
| #line 2141 "internal.templateparser.php"
 | |
| #line 330 "internal.templateparser.y"
 | |
|     function yy_r78(){$this->_retvalue = '';    }
 | |
| #line 2144 "internal.templateparser.php"
 | |
| #line 338 "internal.templateparser.y"
 | |
|     function yy_r80(){$this->_retvalue = $this->yystack[$this->yyidx + -1]->minor.'.'.$this->yystack[$this->yyidx + 0]->minor;    }
 | |
| #line 2147 "internal.templateparser.php"
 | |
| #line 340 "internal.templateparser.y"
 | |
|     function yy_r81(){$this->_retvalue = '\''.$this->yystack[$this->yyidx + 0]->minor.'\'';    }
 | |
| #line 2150 "internal.templateparser.php"
 | |
| #line 342 "internal.templateparser.y"
 | |
|     function yy_r82(){$this->_retvalue = '('.$this->yystack[$this->yyidx + -1]->minor.')';    }
 | |
| #line 2153 "internal.templateparser.php"
 | |
| #line 347 "internal.templateparser.y"
 | |
|     function yy_r83(){ if ($this->yystack[$this->yyidx + -1]->minor['var'] == '\'smarty\'') { $this->_retvalue =  $this->compiler->compileTag('internal_smarty_var',$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->nocache=$this->template->getVariable(trim($this->yystack[$this->yyidx + -1]->minor['var'],"'"))->nocache;}    }
 | |
| #line 2157 "internal.templateparser.php"
 | |
| #line 351 "internal.templateparser.y"
 | |
|     function yy_r84(){$this->_retvalue  = $this->yystack[$this->yyidx + 0]->minor;     }
 | |
| #line 2160 "internal.templateparser.php"
 | |
| #line 353 "internal.templateparser.y"
 | |
|     function yy_r85(){$this->_retvalue  = $this->yystack[$this->yyidx + -1]->minor.$this->yystack[$this->yyidx + 0]->minor;     }
 | |
| #line 2163 "internal.templateparser.php"
 | |
| #line 355 "internal.templateparser.y"
 | |
|     function yy_r86(){ $this->_retvalue = '->'.$this->yystack[$this->yyidx + -1]->minor.$this->yystack[$this->yyidx + 0]->minor;    }
 | |
| #line 2166 "internal.templateparser.php"
 | |
| #line 356 "internal.templateparser.y"
 | |
|     function yy_r87(){ $this->_retvalue = '->{'.$this->yystack[$this->yyidx + -1]->minor.$this->yystack[$this->yyidx + 0]->minor.'}';    }
 | |
| #line 2169 "internal.templateparser.php"
 | |
| #line 357 "internal.templateparser.y"
 | |
|     function yy_r88(){ $this->_retvalue = '->{'.$this->yystack[$this->yyidx + -2]->minor.$this->yystack[$this->yyidx + 0]->minor.'}';    }
 | |
| #line 2172 "internal.templateparser.php"
 | |
| #line 358 "internal.templateparser.y"
 | |
|     function yy_r89(){ $this->_retvalue = '->{\''.$this->yystack[$this->yyidx + -4]->minor.'\'.'.$this->yystack[$this->yyidx + -2]->minor.$this->yystack[$this->yyidx + 0]->minor.'}';    }
 | |
| #line 2175 "internal.templateparser.php"
 | |
| #line 360 "internal.templateparser.y"
 | |
|     function yy_r90(){ $this->_retvalue = '->'.$this->yystack[$this->yyidx + 0]->minor;    }
 | |
| #line 2178 "internal.templateparser.php"
 | |
| #line 366 "internal.templateparser.y"
 | |
|     function yy_r91(){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 2187 "internal.templateparser.php"
 | |
| #line 377 "internal.templateparser.y"
 | |
|     function yy_r92(){ $this->_retvalue = $this->yystack[$this->yyidx + -3]->minor . "(". $this->yystack[$this->yyidx + -1]->minor .")";    }
 | |
| #line 2190 "internal.templateparser.php"
 | |
| #line 381 "internal.templateparser.y"
 | |
|     function yy_r93(){ $this->_retvalue = $this->yystack[$this->yyidx + -2]->minor.",".$this->yystack[$this->yyidx + 0]->minor;    }
 | |
| #line 2193 "internal.templateparser.php"
 | |
| #line 385 "internal.templateparser.y"
 | |
|     function yy_r95(){ return;    }
 | |
| #line 2196 "internal.templateparser.php"
 | |
| #line 390 "internal.templateparser.y"
 | |
|     function yy_r96(){ $this->_retvalue =  array($this->yystack[$this->yyidx + 0]->minor,true);    }
 | |
| #line 2199 "internal.templateparser.php"
 | |
| #line 391 "internal.templateparser.y"
 | |
|     function yy_r97(){ $this->_retvalue =  array($this->yystack[$this->yyidx + 0]->minor,false);    }
 | |
| #line 2202 "internal.templateparser.php"
 | |
| #line 398 "internal.templateparser.y"
 | |
|     function yy_r98(){ $this->_retvalue = $this->yystack[$this->yyidx + -1]->minor.$this->yystack[$this->yyidx + 0]->minor;    }
 | |
| #line 2205 "internal.templateparser.php"
 | |
| #line 402 "internal.templateparser.y"
 | |
|     function yy_r100(){$this->_retvalue = ','.$this->yystack[$this->yyidx + 0]->minor;    }
 | |
| #line 2208 "internal.templateparser.php"
 | |
| #line 403 "internal.templateparser.y"
 | |
|     function yy_r101(){$this->_retvalue = ',\''.$this->yystack[$this->yyidx + 0]->minor.'\'';    }
 | |
| #line 2211 "internal.templateparser.php"
 | |
| #line 410 "internal.templateparser.y"
 | |
|     function yy_r103(){$this->_retvalue = '!'.$this->yystack[$this->yyidx + 0]->minor;    }
 | |
| #line 2214 "internal.templateparser.php"
 | |
| #line 415 "internal.templateparser.y"
 | |
|     function yy_r105(){$this->_retvalue =$this->yystack[$this->yyidx + 0]->minor;    }
 | |
| #line 2217 "internal.templateparser.php"
 | |
| #line 416 "internal.templateparser.y"
 | |
|     function yy_r106(){$this->_retvalue = $this->yystack[$this->yyidx + -4]->minor.$this->yystack[$this->yyidx + -2]->minor.$this->yystack[$this->yyidx + 0]->minor;    }
 | |
| #line 2220 "internal.templateparser.php"
 | |
| #line 417 "internal.templateparser.y"
 | |
|     function yy_r107(){$this->_retvalue = 'in_array('.$this->yystack[$this->yyidx + -2]->minor.','.$this->yystack[$this->yyidx + 0]->minor.')';    }
 | |
| #line 2223 "internal.templateparser.php"
 | |
| #line 418 "internal.templateparser.y"
 | |
|     function yy_r108(){$this->_retvalue = 'in_array('.$this->yystack[$this->yyidx + -2]->minor.',(array)'.$this->yystack[$this->yyidx + 0]->minor.')';    }
 | |
| #line 2226 "internal.templateparser.php"
 | |
| #line 419 "internal.templateparser.y"
 | |
|     function yy_r109(){$this->_retvalue = $this->yystack[$this->yyidx + -2]->minor.$this->yystack[$this->yyidx + -1]->minor.$this->yystack[$this->yyidx + 0]->minor;    }
 | |
| #line 2229 "internal.templateparser.php"
 | |
| #line 421 "internal.templateparser.y"
 | |
|     function yy_r111(){$this->_retvalue = '!('.$this->yystack[$this->yyidx + -2]->minor.' % '.$this->yystack[$this->yyidx + 0]->minor.')';    }
 | |
| #line 2232 "internal.templateparser.php"
 | |
| #line 422 "internal.templateparser.y"
 | |
|     function yy_r112(){$this->_retvalue = '('.$this->yystack[$this->yyidx + -2]->minor.' % '.$this->yystack[$this->yyidx + 0]->minor.')';    }
 | |
| #line 2235 "internal.templateparser.php"
 | |
| #line 423 "internal.templateparser.y"
 | |
|     function yy_r113(){$this->_retvalue = '!(1 & '.$this->yystack[$this->yyidx + -1]->minor.')';    }
 | |
| #line 2238 "internal.templateparser.php"
 | |
| #line 424 "internal.templateparser.y"
 | |
|     function yy_r114(){$this->_retvalue = '(1 & '.$this->yystack[$this->yyidx + -1]->minor.')';    }
 | |
| #line 2241 "internal.templateparser.php"
 | |
| #line 425 "internal.templateparser.y"
 | |
|     function yy_r115(){$this->_retvalue = '!(1 & '.$this->yystack[$this->yyidx + -2]->minor.' / '.$this->yystack[$this->yyidx + 0]->minor.')';    }
 | |
| #line 2244 "internal.templateparser.php"
 | |
| #line 426 "internal.templateparser.y"
 | |
|     function yy_r116(){$this->_retvalue = '(1 & '.$this->yystack[$this->yyidx + -2]->minor.' / '.$this->yystack[$this->yyidx + 0]->minor.')';    }
 | |
| #line 2247 "internal.templateparser.php"
 | |
| #line 432 "internal.templateparser.y"
 | |
|     function yy_r121(){$this->_retvalue = '==';    }
 | |
| #line 2250 "internal.templateparser.php"
 | |
| #line 433 "internal.templateparser.y"
 | |
|     function yy_r122(){$this->_retvalue = '!=';    }
 | |
| #line 2253 "internal.templateparser.php"
 | |
| #line 434 "internal.templateparser.y"
 | |
|     function yy_r123(){$this->_retvalue = '>';    }
 | |
| #line 2256 "internal.templateparser.php"
 | |
| #line 435 "internal.templateparser.y"
 | |
|     function yy_r124(){$this->_retvalue = '<';    }
 | |
| #line 2259 "internal.templateparser.php"
 | |
| #line 436 "internal.templateparser.y"
 | |
|     function yy_r125(){$this->_retvalue = '>=';    }
 | |
| #line 2262 "internal.templateparser.php"
 | |
| #line 437 "internal.templateparser.y"
 | |
|     function yy_r126(){$this->_retvalue = '<=';    }
 | |
| #line 2265 "internal.templateparser.php"
 | |
| #line 438 "internal.templateparser.y"
 | |
|     function yy_r127(){$this->_retvalue = '===';    }
 | |
| #line 2268 "internal.templateparser.php"
 | |
| #line 439 "internal.templateparser.y"
 | |
|     function yy_r128(){$this->_retvalue = '!==';    }
 | |
| #line 2271 "internal.templateparser.php"
 | |
| #line 441 "internal.templateparser.y"
 | |
|     function yy_r129(){$this->_retvalue = '&&';    }
 | |
| #line 2274 "internal.templateparser.php"
 | |
| #line 442 "internal.templateparser.y"
 | |
|     function yy_r130(){$this->_retvalue = '||';    }
 | |
| #line 2277 "internal.templateparser.php"
 | |
| #line 454 "internal.templateparser.y"
 | |
|     function yy_r133(){ $this->_retvalue = 'array('.$this->yystack[$this->yyidx + -1]->minor.')';    }
 | |
| #line 2280 "internal.templateparser.php"
 | |
| #line 456 "internal.templateparser.y"
 | |
|     function yy_r135(){ $this->_retvalue = $this->yystack[$this->yyidx + -2]->minor.','.$this->yystack[$this->yyidx + 0]->minor;     }
 | |
| #line 2283 "internal.templateparser.php"
 | |
| #line 457 "internal.templateparser.y"
 | |
|     function yy_r136(){ return;     }
 | |
| #line 2286 "internal.templateparser.php"
 | |
| #line 458 "internal.templateparser.y"
 | |
|     function yy_r137(){ $this->_retvalue = $this->yystack[$this->yyidx + -2]->minor.'=>'.$this->yystack[$this->yyidx + 0]->minor;    }
 | |
| #line 2289 "internal.templateparser.php"
 | |
| #line 459 "internal.templateparser.y"
 | |
|     function yy_r138(){ $this->_retvalue = '\''.$this->yystack[$this->yyidx + -2]->minor.'\'=>'.$this->yystack[$this->yyidx + 0]->minor;    }
 | |
| #line 2292 "internal.templateparser.php"
 | |
| #line 467 "internal.templateparser.y"
 | |
|     function yy_r142(){$this->_retvalue = "`".$this->yystack[$this->yyidx + -1]->minor."`";    }
 | |
| #line 2295 "internal.templateparser.php"
 | |
| #line 468 "internal.templateparser.y"
 | |
|     function yy_r143(){$this->_retvalue = '".'.$this->yystack[$this->yyidx + -1]->minor.'."';    }
 | |
| #line 2298 "internal.templateparser.php"
 | |
| #line 469 "internal.templateparser.y"
 | |
|     function yy_r144(){$this->_retvalue = '".'.'$_smarty_tpl->getVariable(\''. $this->yystack[$this->yyidx + 0]->minor .'\')->value'.'."'; $this->nocache=$this->template->getVariable(trim($this->yystack[$this->yyidx + 0]->minor,"'"))->nocache;    }
 | |
| #line 2301 "internal.templateparser.php"
 | |
| #line 470 "internal.templateparser.y"
 | |
|     function yy_r145(){$this->_retvalue = '".('.$this->yystack[$this->yyidx + -1]->minor.')."';    }
 | |
| #line 2304 "internal.templateparser.php"
 | |
| #line 471 "internal.templateparser.y"
 | |
|     function yy_r146(){$this->_retvalue = '$'.$this->yystack[$this->yyidx + 0]->minor;    }
 | |
| #line 2307 "internal.templateparser.php"
 | |
| #line 472 "internal.templateparser.y"
 | |
|     function yy_r147(){$this->_retvalue = '{'.$this->yystack[$this->yyidx + 0]->minor;    }
 | |
| #line 2310 "internal.templateparser.php"
 | |
| #line 473 "internal.templateparser.y"
 | |
|     function yy_r148(){$this->_retvalue = '`'.$this->yystack[$this->yyidx + 0]->minor;    }
 | |
| #line 2313 "internal.templateparser.php"
 | |
| 
 | |
|     /**
 | |
|      * placeholder for the left hand side in a reduce operation.
 | |
|      * 
 | |
|      * For a parser with a rule like this:
 | |
|      * <pre>
 | |
|      * rule(A) ::= B. { A = 1; }
 | |
|      * </pre>
 | |
|      * 
 | |
|      * The parser will translate to something like:
 | |
|      * 
 | |
|      * <code>
 | |
|      * function yy_r0(){$this->_retvalue = 1;}
 | |
|      * </code>
 | |
|      */
 | |
|     private $_retvalue;
 | |
| 
 | |
|     /**
 | |
|      * Perform a reduce action and the shift that must immediately
 | |
|      * follow the reduce.
 | |
|      * 
 | |
|      * For a rule such as:
 | |
|      * 
 | |
|      * <pre>
 | |
|      * A ::= B blah C. { dosomething(); }
 | |
|      * </pre>
 | |
|      * 
 | |
|      * This function will first call the action, if any, ("dosomething();" in our
 | |
|      * example), and then it will pop three states from the stack,
 | |
|      * one for each entry on the right-hand side of the expression
 | |
|      * (B, blah, and C in our example rule), and then push the result of the action
 | |
|      * back on to the stack with the resulting state reduced to (as described in the .out
 | |
|      * file)
 | |
|      * @param int Number of the rule by which to reduce
 | |
|      */
 | |
|     function yy_reduce($yyruleno)
 | |
|     {
 | |
|         //int $yygoto;                     /* The next state */
 | |
|         //int $yyact;                      /* The next action */
 | |
|         //mixed $yygotominor;        /* The LHS of the rule reduced */
 | |
|         //TP_yyStackEntry $yymsp;            /* The top of the parser's stack */
 | |
|         //int $yysize;                     /* Amount to pop the stack */
 | |
|         $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 we are not debugging and the reduce action popped at least
 | |
|             ** one element off the stack, then we can push the new element back
 | |
|             ** onto the stack here, and skip the stack overflow test in yy_shift().
 | |
|             ** That gives a significant speed improvement. */
 | |
|             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();
 | |
|         }
 | |
|     }
 | |
| 
 | |
|     /**
 | |
|      * The following code executes when the parse fails
 | |
|      * 
 | |
|      * Code from %parse_fail is inserted here
 | |
|      */
 | |
|     function yy_parse_failed()
 | |
|     {
 | |
|         if (self::$yyTraceFILE) {
 | |
|             fprintf(self::$yyTraceFILE, "%sFail!\n", self::$yyTracePrompt);
 | |
|         }
 | |
|         while ($this->yyidx >= 0) {
 | |
|             $this->yy_pop_parser_stack();
 | |
|         }
 | |
|         /* Here code is inserted which will be executed whenever the
 | |
|         ** parser fails */
 | |
|     }
 | |
| 
 | |
|     /**
 | |
|      * The following code executes when a syntax error first occurs.
 | |
|      * 
 | |
|      * %syntax_error code is inserted here
 | |
|      * @param int The major type of the error token
 | |
|      * @param mixed The minor type of the error token
 | |
|      */
 | |
|     function yy_syntax_error($yymajor, $TOKEN)
 | |
|     {
 | |
| #line 55 "internal.templateparser.y"
 | |
| 
 | |
|     $this->internalError = true;
 | |
|     $this->yymajor = $yymajor;
 | |
|     $this->compiler->trigger_template_error();
 | |
| #line 2431 "internal.templateparser.php"
 | |
|     }
 | |
| 
 | |
|     /**
 | |
|      * The following is executed when the parser accepts
 | |
|      * 
 | |
|      * %parse_accept code is inserted here
 | |
|      */
 | |
|     function yy_accept()
 | |
|     {
 | |
|         if (self::$yyTraceFILE) {
 | |
|             fprintf(self::$yyTraceFILE, "%sAccept!\n", self::$yyTracePrompt);
 | |
|         }
 | |
|         while ($this->yyidx >= 0) {
 | |
|             $stack = $this->yy_pop_parser_stack();
 | |
|         }
 | |
|         /* Here code is inserted which will be executed whenever the
 | |
|         ** parser accepts */
 | |
| #line 47 "internal.templateparser.y"
 | |
| 
 | |
|     $this->successful = !$this->internalError;
 | |
|     $this->internalError = false;
 | |
|     $this->retvalue = $this->_retvalue;
 | |
|     //echo $this->retvalue."\n\n";
 | |
| #line 2456 "internal.templateparser.php"
 | |
|     }
 | |
| 
 | |
|     /**
 | |
|      * The main parser program.
 | |
|      * 
 | |
|      * The first argument is the major token number.  The second is
 | |
|      * the token value string as scanned from the input.
 | |
|      *
 | |
|      * @param int the token number
 | |
|      * @param mixed the token value
 | |
|      * @param mixed any extra arguments that should be passed to handlers
 | |
|      */
 | |
|     function doParse($yymajor, $yytokenvalue)
 | |
|     {
 | |
| //        $yyact;            /* The parser action. */
 | |
| //        $yyendofinput;     /* True if we are at the end of input */
 | |
|         $yyerrorhit = 0;   /* True if yymajor has invoked an error */
 | |
|         
 | |
|         /* (re)initialize the parser, if necessary */
 | |
|         if ($this->yyidx === null || $this->yyidx < 0) {
 | |
|             /* if ($yymajor == 0) return; // not sure why this was here... */
 | |
|             $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) {
 | |
|                     /* A syntax error has occurred.
 | |
|                     ** The response to an error depends upon whether or not the
 | |
|                     ** grammar defines an error token "ERROR".  
 | |
|                     **
 | |
|                     ** This is what we do if the grammar does define ERROR:
 | |
|                     **
 | |
|                     **  * Call the %syntax_error function.
 | |
|                     **
 | |
|                     **  * Begin popping the stack until we enter a state where
 | |
|                     **    it is legal to shift the error symbol, then shift
 | |
|                     **    the error symbol.
 | |
|                     **
 | |
|                     **  * Set the error count to three.
 | |
|                     **
 | |
|                     **  * Begin accepting and shifting new tokens.  No new error
 | |
|                     **    processing will occur until three tokens have been
 | |
|                     **    shifted successfully.
 | |
|                     **
 | |
|                     */
 | |
|                     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 {
 | |
|                     /* YYERRORSYMBOL is not defined */
 | |
|                     /* This is what we do if the grammar does not define ERROR:
 | |
|                     **
 | |
|                     **  * Report an error message, and throw away the input token.
 | |
|                     **
 | |
|                     **  * If the input token is $, then fail the parse.
 | |
|                     **
 | |
|                     ** As before, subsequent error messages are suppressed until
 | |
|                     ** three input tokens have been successfully shifted.
 | |
|                     */
 | |
|                     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);
 | |
|     }
 | |
| }
 |