mirror of
https://github.com/smarty-php/smarty.git
synced 2025-10-17 22:45:20 +02:00
- bugfix observe compile_check property when loading config files - added the template object as third filter parameter
2697 lines
144 KiB
PHP
2697 lines
144 KiB
PHP
<?php
|
|
/**
|
|
* Smarty Internal Plugin Templateparser
|
|
*
|
|
* This is the template parser.
|
|
* It is generated from the internal.templateparser.y file
|
|
* @package Smarty
|
|
* @subpackage Compiler
|
|
* @author Uwe Tews
|
|
*/
|
|
|
|
class TP_yyToken implements ArrayAccess
|
|
{
|
|
public $string = '';
|
|
public $metadata = array();
|
|
|
|
function __construct($s, $m = array())
|
|
{
|
|
if ($s instanceof TP_yyToken) {
|
|
$this->string = $s->string;
|
|
$this->metadata = $s->metadata;
|
|
} else {
|
|
$this->string = (string) $s;
|
|
if ($m instanceof TP_yyToken) {
|
|
$this->metadata = $m->metadata;
|
|
} elseif (is_array($m)) {
|
|
$this->metadata = $m;
|
|
}
|
|
}
|
|
}
|
|
|
|
function __toString()
|
|
{
|
|
return $this->_string;
|
|
}
|
|
|
|
function offsetExists($offset)
|
|
{
|
|
return isset($this->metadata[$offset]);
|
|
}
|
|
|
|
function offsetGet($offset)
|
|
{
|
|
return $this->metadata[$offset];
|
|
}
|
|
|
|
function offsetSet($offset, $value)
|
|
{
|
|
if ($offset === null) {
|
|
if (isset($value[0])) {
|
|
$x = ($value instanceof TP_yyToken) ?
|
|
$value->metadata : $value;
|
|
$this->metadata = array_merge($this->metadata, $x);
|
|
return;
|
|
}
|
|
$offset = count($this->metadata);
|
|
}
|
|
if ($value === null) {
|
|
return;
|
|
}
|
|
if ($value instanceof TP_yyToken) {
|
|
if ($value->metadata) {
|
|
$this->metadata[$offset] = $value->metadata;
|
|
}
|
|
} elseif ($value) {
|
|
$this->metadata[$offset] = $value;
|
|
}
|
|
}
|
|
|
|
function offsetUnset($offset)
|
|
{
|
|
unset($this->metadata[$offset]);
|
|
}
|
|
}
|
|
|
|
class TP_yyStackEntry
|
|
{
|
|
public $stateno; /* The state-number */
|
|
public $major; /* The major token value. This is the code
|
|
** number for the token at this stack level */
|
|
public $minor; /* The user-supplied minor token value. This
|
|
** is the value of the token */
|
|
};
|
|
|
|
|
|
#line 12 "smarty_internal_templateparser.y"
|
|
class Smarty_Internal_Templateparser#line 79 "smarty_internal_templateparser.php"
|
|
{
|
|
#line 14 "smarty_internal_templateparser.y"
|
|
|
|
// states whether the parse was successful or not
|
|
public $successful = true;
|
|
public $retvalue = 0;
|
|
private $lex;
|
|
private $internalError = false;
|
|
|
|
function __construct($lex, $compiler) {
|
|
// set instance object
|
|
self::instance($this);
|
|
$this->lex = $lex;
|
|
$this->compiler = $compiler;
|
|
$this->smarty = $this->compiler->smarty;
|
|
$this->template = $this->compiler->template;
|
|
if ($this->template->security && isset($this->smarty->security_handler)) {
|
|
$this->sec_obj = $this->smarty->security_policy;
|
|
} else {
|
|
$this->sec_obj = $this->smarty;
|
|
}
|
|
$this->compiler->has_variable_string = false;
|
|
$this->compiler->prefix_code = array();
|
|
$this->prefix_number = 0;
|
|
$this->block_nesting_level = 0;
|
|
$this->is_xml = false;
|
|
}
|
|
public static function &instance($new_instance = null)
|
|
{
|
|
static $instance = null;
|
|
if (isset($new_instance) && is_object($new_instance))
|
|
$instance = $new_instance;
|
|
return $instance;
|
|
}
|
|
|
|
public static function escape_start_tag($tag_text) {
|
|
$tag = preg_replace('/\A<\?(.*)\z/', '<<?php ?>?\1', $tag_text, -1 , $count); //Escape tag
|
|
assert($tag !== false && $count === 1);
|
|
return $tag;
|
|
}
|
|
|
|
public static function escape_end_tag($tag_text) {
|
|
assert($tag_text === '?>');
|
|
return '?<?php ?>>';
|
|
}
|
|
|
|
|
|
#line 128 "smarty_internal_templateparser.php"
|
|
|
|
const TP_VERT = 1;
|
|
const TP_COLON = 2;
|
|
const TP_COMMENT = 3;
|
|
const TP_PHPSTARTTAG = 4;
|
|
const TP_PHPENDTAG = 5;
|
|
const TP_FAKEPHPSTARTTAG = 6;
|
|
const TP_XMLTAG = 7;
|
|
const TP_OTHER = 8;
|
|
const TP_LITERALSTART = 9;
|
|
const TP_LITERALEND = 10;
|
|
const TP_LITERAL = 11;
|
|
const TP_LDEL = 12;
|
|
const TP_RDEL = 13;
|
|
const TP_DOLLAR = 14;
|
|
const TP_ID = 15;
|
|
const TP_EQUAL = 16;
|
|
const TP_FOREACH = 17;
|
|
const TP_PTR = 18;
|
|
const TP_IF = 19;
|
|
const TP_SPACE = 20;
|
|
const TP_FOR = 21;
|
|
const TP_SEMICOLON = 22;
|
|
const TP_INCDEC = 23;
|
|
const TP_TO = 24;
|
|
const TP_STEP = 25;
|
|
const TP_AS = 26;
|
|
const TP_APTR = 27;
|
|
const TP_LDELSLASH = 28;
|
|
const TP_INTEGER = 29;
|
|
const TP_COMMA = 30;
|
|
const TP_MATH = 31;
|
|
const TP_UNIMATH = 32;
|
|
const TP_ANDSYM = 33;
|
|
const TP_ISIN = 34;
|
|
const TP_ISDIVBY = 35;
|
|
const TP_ISNOTDIVBY = 36;
|
|
const TP_ISEVEN = 37;
|
|
const TP_ISNOTEVEN = 38;
|
|
const TP_ISEVENBY = 39;
|
|
const TP_ISNOTEVENBY = 40;
|
|
const TP_ISODD = 41;
|
|
const TP_ISNOTODD = 42;
|
|
const TP_ISODDBY = 43;
|
|
const TP_ISNOTODDBY = 44;
|
|
const TP_INSTANCEOF = 45;
|
|
const TP_OPENP = 46;
|
|
const TP_CLOSEP = 47;
|
|
const TP_QMARK = 48;
|
|
const TP_NOT = 49;
|
|
const TP_TYPECAST = 50;
|
|
const TP_DOT = 51;
|
|
const TP_BOOLEAN = 52;
|
|
const TP_NULL = 53;
|
|
const TP_SINGLEQUOTESTRING = 54;
|
|
const TP_DOUBLECOLON = 55;
|
|
const TP_AT = 56;
|
|
const TP_HATCH = 57;
|
|
const TP_OPENB = 58;
|
|
const TP_CLOSEB = 59;
|
|
const TP_EQUALS = 60;
|
|
const TP_NOTEQUALS = 61;
|
|
const TP_GREATERTHAN = 62;
|
|
const TP_LESSTHAN = 63;
|
|
const TP_GREATEREQUAL = 64;
|
|
const TP_LESSEQUAL = 65;
|
|
const TP_IDENTITY = 66;
|
|
const TP_NONEIDENTITY = 67;
|
|
const TP_MOD = 68;
|
|
const TP_LAND = 69;
|
|
const TP_LOR = 70;
|
|
const TP_LXOR = 71;
|
|
const TP_QUOTE = 72;
|
|
const TP_BACKTICK = 73;
|
|
const TP_DOLLARID = 74;
|
|
const YY_NO_ACTION = 559;
|
|
const YY_ACCEPT_ACTION = 558;
|
|
const YY_ERROR_ACTION = 557;
|
|
|
|
const YY_SZ_ACTTAB = 2265;
|
|
static public $yy_action = array(
|
|
/* 0 */ 182, 270, 269, 288, 275, 292, 286, 293, 254, 229,
|
|
/* 10 */ 155, 318, 303, 2, 182, 246, 341, 278, 179, 179,
|
|
/* 20 */ 155, 230, 245, 157, 343, 304, 342, 158, 343, 124,
|
|
/* 30 */ 44, 46, 42, 40, 30, 14, 233, 227, 24, 23,
|
|
/* 40 */ 253, 243, 21, 25, 44, 46, 42, 40, 30, 14,
|
|
/* 50 */ 233, 227, 24, 23, 253, 243, 21, 25, 31, 336,
|
|
/* 60 */ 347, 360, 359, 358, 362, 364, 363, 357, 356, 351,
|
|
/* 70 */ 353, 182, 26, 336, 347, 360, 359, 358, 362, 364,
|
|
/* 80 */ 363, 357, 356, 351, 353, 558, 84, 271, 269, 288,
|
|
/* 90 */ 179, 5, 87, 212, 274, 32, 267, 306, 268, 90,
|
|
/* 100 */ 111, 44, 46, 42, 40, 30, 14, 233, 227, 24,
|
|
/* 110 */ 23, 253, 243, 21, 25, 22, 9, 22, 344, 16,
|
|
/* 120 */ 344, 38, 425, 7, 162, 54, 33, 115, 331, 425,
|
|
/* 130 */ 336, 347, 360, 359, 358, 362, 364, 363, 357, 356,
|
|
/* 140 */ 351, 353, 182, 279, 231, 329, 182, 244, 289, 239,
|
|
/* 150 */ 203, 153, 343, 115, 301, 5, 182, 262, 348, 219,
|
|
/* 160 */ 6, 179, 224, 188, 111, 179, 316, 232, 168, 279,
|
|
/* 170 */ 113, 216, 44, 46, 42, 40, 30, 14, 233, 227,
|
|
/* 180 */ 24, 23, 253, 243, 21, 25, 44, 46, 42, 40,
|
|
/* 190 */ 30, 14, 233, 227, 24, 23, 253, 243, 21, 25,
|
|
/* 200 */ 182, 336, 347, 360, 359, 358, 362, 364, 363, 357,
|
|
/* 210 */ 356, 351, 353, 89, 137, 336, 347, 360, 359, 358,
|
|
/* 220 */ 362, 364, 363, 357, 356, 351, 353, 142, 349, 346,
|
|
/* 230 */ 44, 46, 42, 40, 30, 14, 233, 227, 24, 23,
|
|
/* 240 */ 253, 243, 21, 25, 182, 34, 277, 113, 149, 5,
|
|
/* 250 */ 22, 147, 220, 344, 16, 115, 355, 143, 111, 336,
|
|
/* 260 */ 347, 360, 359, 358, 362, 364, 363, 357, 356, 351,
|
|
/* 270 */ 353, 279, 160, 17, 44, 46, 42, 40, 30, 14,
|
|
/* 280 */ 233, 227, 24, 23, 253, 243, 21, 25, 182, 20,
|
|
/* 290 */ 89, 43, 22, 22, 22, 344, 344, 344, 35, 41,
|
|
/* 300 */ 114, 238, 54, 336, 347, 360, 359, 358, 362, 364,
|
|
/* 310 */ 363, 357, 356, 351, 353, 240, 194, 179, 44, 46,
|
|
/* 320 */ 42, 40, 30, 14, 233, 227, 24, 23, 253, 243,
|
|
/* 330 */ 21, 25, 182, 264, 424, 169, 219, 215, 235, 237,
|
|
/* 340 */ 179, 179, 13, 306, 306, 202, 218, 336, 347, 360,
|
|
/* 350 */ 359, 358, 362, 364, 363, 357, 356, 351, 353, 190,
|
|
/* 360 */ 4, 191, 44, 46, 42, 40, 30, 14, 233, 227,
|
|
/* 370 */ 24, 23, 253, 243, 21, 25, 182, 22, 308, 154,
|
|
/* 380 */ 344, 313, 22, 299, 280, 344, 250, 159, 179, 140,
|
|
/* 390 */ 255, 336, 347, 360, 359, 358, 362, 364, 363, 357,
|
|
/* 400 */ 356, 351, 353, 349, 103, 11, 44, 46, 42, 40,
|
|
/* 410 */ 30, 14, 233, 227, 24, 23, 253, 243, 21, 25,
|
|
/* 420 */ 5, 340, 95, 257, 324, 222, 298, 427, 179, 111,
|
|
/* 430 */ 182, 179, 31, 261, 427, 336, 347, 360, 359, 358,
|
|
/* 440 */ 362, 364, 363, 357, 356, 351, 353, 182, 231, 179,
|
|
/* 450 */ 182, 339, 196, 43, 203, 53, 122, 115, 43, 43,
|
|
/* 460 */ 22, 311, 319, 344, 218, 330, 179, 193, 28, 179,
|
|
/* 470 */ 316, 232, 251, 279, 252, 213, 323, 44, 46, 42,
|
|
/* 480 */ 40, 30, 14, 233, 227, 24, 23, 253, 243, 21,
|
|
/* 490 */ 25, 182, 325, 276, 297, 5, 161, 343, 321, 179,
|
|
/* 500 */ 179, 179, 104, 228, 111, 179, 336, 347, 360, 359,
|
|
/* 510 */ 358, 362, 364, 363, 357, 356, 351, 353, 201, 184,
|
|
/* 520 */ 8, 44, 46, 42, 40, 30, 14, 233, 227, 24,
|
|
/* 530 */ 23, 253, 243, 21, 25, 182, 312, 169, 361, 320,
|
|
/* 540 */ 322, 294, 345, 179, 13, 179, 179, 166, 179, 179,
|
|
/* 550 */ 336, 347, 360, 359, 358, 362, 364, 363, 357, 356,
|
|
/* 560 */ 351, 353, 209, 223, 295, 44, 46, 42, 40, 30,
|
|
/* 570 */ 14, 233, 227, 24, 23, 253, 243, 21, 25, 182,
|
|
/* 580 */ 326, 350, 314, 22, 290, 93, 214, 179, 179, 179,
|
|
/* 590 */ 300, 234, 148, 182, 336, 347, 360, 359, 358, 362,
|
|
/* 600 */ 364, 363, 357, 356, 351, 353, 349, 6, 107, 44,
|
|
/* 610 */ 46, 42, 40, 30, 14, 233, 227, 24, 23, 253,
|
|
/* 620 */ 243, 21, 25, 44, 46, 42, 40, 30, 14, 233,
|
|
/* 630 */ 227, 24, 23, 253, 243, 21, 25, 10, 336, 347,
|
|
/* 640 */ 360, 359, 358, 362, 364, 363, 357, 356, 351, 353,
|
|
/* 650 */ 182, 317, 336, 347, 360, 359, 358, 362, 364, 363,
|
|
/* 660 */ 357, 356, 351, 353, 145, 242, 335, 5, 263, 163,
|
|
/* 670 */ 22, 152, 334, 183, 225, 179, 111, 259, 349, 156,
|
|
/* 680 */ 44, 46, 42, 40, 30, 14, 233, 227, 24, 23,
|
|
/* 690 */ 253, 243, 21, 25, 182, 167, 327, 337, 352, 117,
|
|
/* 700 */ 108, 43, 36, 119, 250, 27, 18, 221, 123, 336,
|
|
/* 710 */ 347, 360, 359, 358, 362, 364, 363, 357, 356, 351,
|
|
/* 720 */ 353, 281, 10, 212, 44, 46, 42, 40, 30, 14,
|
|
/* 730 */ 233, 227, 24, 23, 253, 243, 21, 25, 182, 129,
|
|
/* 740 */ 217, 248, 106, 121, 208, 306, 282, 54, 260, 304,
|
|
/* 750 */ 338, 133, 281, 336, 347, 360, 359, 358, 362, 364,
|
|
/* 760 */ 363, 357, 356, 351, 353, 349, 199, 54, 44, 46,
|
|
/* 770 */ 42, 40, 30, 14, 233, 227, 24, 23, 253, 243,
|
|
/* 780 */ 21, 25, 125, 97, 224, 284, 332, 150, 179, 192,
|
|
/* 790 */ 346, 39, 109, 41, 92, 281, 281, 336, 347, 360,
|
|
/* 800 */ 359, 358, 362, 364, 363, 357, 356, 351, 353, 200,
|
|
/* 810 */ 2, 132, 110, 85, 88, 120, 91, 211, 141, 197,
|
|
/* 820 */ 2, 346, 112, 170, 139, 349, 124, 207, 22, 302,
|
|
/* 830 */ 47, 344, 349, 333, 15, 354, 124, 207, 349, 354,
|
|
/* 840 */ 47, 151, 94, 195, 29, 226, 354, 48, 45, 135,
|
|
/* 850 */ 328, 315, 236, 12, 19, 89, 1, 48, 45, 134,
|
|
/* 860 */ 328, 315, 236, 349, 167, 89, 1, 241, 310, 2,
|
|
/* 870 */ 86, 112, 173, 349, 27, 18, 310, 354, 127, 2,
|
|
/* 880 */ 86, 112, 176, 131, 136, 124, 207, 130, 165, 47,
|
|
/* 890 */ 310, 281, 164, 310, 310, 124, 207, 349, 349, 47,
|
|
/* 900 */ 310, 349, 310, 19, 310, 100, 48, 45, 310, 328,
|
|
/* 910 */ 315, 236, 310, 19, 89, 1, 48, 45, 281, 328,
|
|
/* 920 */ 315, 236, 96, 126, 89, 1, 310, 310, 2, 86,
|
|
/* 930 */ 112, 176, 310, 128, 310, 281, 281, 146, 2, 86,
|
|
/* 940 */ 105, 176, 167, 310, 124, 207, 281, 310, 47, 310,
|
|
/* 950 */ 310, 349, 27, 18, 124, 207, 310, 310, 47, 310,
|
|
/* 960 */ 310, 310, 29, 310, 310, 48, 45, 310, 328, 315,
|
|
/* 970 */ 236, 310, 19, 89, 1, 48, 45, 310, 328, 315,
|
|
/* 980 */ 236, 310, 310, 89, 1, 310, 310, 2, 86, 113,
|
|
/* 990 */ 178, 310, 310, 310, 310, 310, 138, 2, 86, 113,
|
|
/* 1000 */ 181, 167, 310, 124, 207, 310, 310, 47, 310, 310,
|
|
/* 1010 */ 349, 27, 18, 124, 207, 310, 310, 47, 310, 310,
|
|
/* 1020 */ 310, 19, 310, 310, 48, 45, 310, 328, 315, 236,
|
|
/* 1030 */ 310, 19, 89, 1, 48, 45, 144, 328, 315, 236,
|
|
/* 1040 */ 310, 167, 89, 1, 310, 310, 2, 86, 113, 172,
|
|
/* 1050 */ 349, 27, 18, 310, 310, 310, 2, 86, 112, 171,
|
|
/* 1060 */ 310, 310, 124, 187, 310, 310, 47, 310, 310, 310,
|
|
/* 1070 */ 310, 310, 124, 207, 310, 310, 47, 310, 310, 310,
|
|
/* 1080 */ 19, 310, 310, 48, 45, 310, 328, 315, 236, 310,
|
|
/* 1090 */ 29, 89, 1, 48, 45, 310, 328, 315, 236, 310,
|
|
/* 1100 */ 310, 89, 1, 310, 310, 2, 86, 113, 181, 310,
|
|
/* 1110 */ 310, 310, 310, 310, 310, 2, 86, 113, 186, 310,
|
|
/* 1120 */ 310, 124, 207, 310, 310, 47, 310, 310, 310, 310,
|
|
/* 1130 */ 310, 124, 207, 310, 310, 47, 310, 310, 310, 19,
|
|
/* 1140 */ 310, 310, 48, 45, 310, 328, 315, 236, 310, 19,
|
|
/* 1150 */ 89, 310, 48, 45, 310, 328, 315, 236, 310, 310,
|
|
/* 1160 */ 89, 310, 310, 231, 310, 86, 310, 185, 310, 203,
|
|
/* 1170 */ 76, 310, 115, 310, 310, 86, 310, 310, 310, 310,
|
|
/* 1180 */ 330, 310, 310, 310, 310, 316, 232, 231, 279, 310,
|
|
/* 1190 */ 310, 196, 310, 203, 58, 310, 115, 177, 310, 310,
|
|
/* 1200 */ 310, 310, 231, 256, 330, 310, 272, 3, 203, 316,
|
|
/* 1210 */ 232, 115, 279, 310, 310, 310, 310, 310, 310, 210,
|
|
/* 1220 */ 310, 310, 231, 124, 316, 232, 174, 279, 203, 72,
|
|
/* 1230 */ 273, 115, 310, 310, 310, 310, 310, 231, 310, 330,
|
|
/* 1240 */ 310, 189, 310, 203, 316, 232, 115, 279, 310, 231,
|
|
/* 1250 */ 310, 310, 310, 175, 205, 203, 50, 116, 115, 316,
|
|
/* 1260 */ 232, 310, 279, 310, 310, 310, 330, 365, 37, 249,
|
|
/* 1270 */ 310, 316, 232, 231, 279, 310, 310, 196, 310, 203,
|
|
/* 1280 */ 58, 310, 115, 256, 310, 310, 310, 3, 310, 310,
|
|
/* 1290 */ 330, 310, 310, 310, 310, 316, 232, 310, 279, 310,
|
|
/* 1300 */ 310, 310, 231, 124, 310, 204, 101, 310, 102, 52,
|
|
/* 1310 */ 118, 99, 310, 310, 310, 310, 310, 231, 310, 330,
|
|
/* 1320 */ 310, 285, 310, 203, 316, 232, 115, 279, 310, 231,
|
|
/* 1330 */ 310, 310, 310, 196, 291, 203, 58, 310, 115, 316,
|
|
/* 1340 */ 232, 310, 279, 310, 310, 310, 330, 247, 37, 249,
|
|
/* 1350 */ 310, 316, 232, 231, 279, 310, 310, 196, 310, 203,
|
|
/* 1360 */ 65, 206, 115, 310, 310, 198, 310, 310, 310, 310,
|
|
/* 1370 */ 330, 310, 310, 310, 310, 316, 232, 310, 279, 310,
|
|
/* 1380 */ 310, 310, 231, 310, 310, 310, 185, 310, 203, 76,
|
|
/* 1390 */ 310, 115, 310, 310, 310, 310, 310, 310, 310, 330,
|
|
/* 1400 */ 310, 310, 310, 310, 316, 232, 310, 279, 310, 310,
|
|
/* 1410 */ 310, 310, 310, 310, 310, 231, 310, 307, 310, 101,
|
|
/* 1420 */ 310, 98, 49, 118, 99, 310, 310, 310, 310, 310,
|
|
/* 1430 */ 310, 310, 330, 310, 310, 310, 310, 316, 232, 231,
|
|
/* 1440 */ 279, 310, 310, 196, 310, 203, 58, 310, 115, 310,
|
|
/* 1450 */ 310, 310, 310, 310, 310, 310, 330, 310, 310, 310,
|
|
/* 1460 */ 310, 316, 232, 310, 279, 310, 231, 310, 310, 310,
|
|
/* 1470 */ 196, 283, 203, 69, 310, 115, 310, 310, 310, 310,
|
|
/* 1480 */ 310, 310, 310, 330, 310, 310, 310, 310, 316, 232,
|
|
/* 1490 */ 310, 279, 310, 310, 310, 231, 310, 310, 310, 196,
|
|
/* 1500 */ 310, 203, 64, 310, 115, 310, 310, 310, 310, 310,
|
|
/* 1510 */ 310, 310, 330, 310, 310, 310, 310, 316, 232, 231,
|
|
/* 1520 */ 279, 310, 310, 196, 310, 203, 57, 310, 115, 310,
|
|
/* 1530 */ 310, 310, 310, 310, 310, 310, 330, 310, 310, 310,
|
|
/* 1540 */ 310, 316, 232, 310, 279, 310, 231, 310, 310, 310,
|
|
/* 1550 */ 196, 310, 203, 83, 310, 115, 310, 310, 310, 310,
|
|
/* 1560 */ 310, 310, 310, 330, 310, 310, 310, 310, 316, 232,
|
|
/* 1570 */ 310, 279, 310, 310, 310, 231, 310, 310, 310, 196,
|
|
/* 1580 */ 310, 203, 70, 310, 115, 310, 310, 310, 310, 310,
|
|
/* 1590 */ 310, 310, 330, 310, 310, 310, 310, 316, 232, 231,
|
|
/* 1600 */ 279, 310, 310, 196, 310, 203, 68, 310, 115, 310,
|
|
/* 1610 */ 310, 310, 310, 310, 310, 310, 330, 310, 310, 310,
|
|
/* 1620 */ 310, 316, 232, 310, 279, 310, 231, 310, 310, 310,
|
|
/* 1630 */ 196, 310, 203, 74, 310, 115, 310, 310, 310, 310,
|
|
/* 1640 */ 310, 310, 310, 330, 310, 310, 310, 310, 316, 232,
|
|
/* 1650 */ 310, 279, 310, 310, 310, 231, 310, 310, 310, 196,
|
|
/* 1660 */ 310, 203, 71, 310, 115, 310, 310, 310, 310, 310,
|
|
/* 1670 */ 310, 310, 330, 310, 310, 310, 310, 316, 232, 231,
|
|
/* 1680 */ 279, 310, 310, 196, 310, 203, 66, 310, 115, 310,
|
|
/* 1690 */ 310, 310, 310, 310, 310, 310, 330, 310, 310, 310,
|
|
/* 1700 */ 310, 316, 232, 310, 279, 310, 231, 310, 310, 310,
|
|
/* 1710 */ 196, 310, 203, 73, 310, 115, 310, 310, 310, 310,
|
|
/* 1720 */ 310, 310, 310, 330, 310, 310, 310, 310, 316, 232,
|
|
/* 1730 */ 310, 279, 310, 310, 310, 231, 310, 310, 310, 196,
|
|
/* 1740 */ 310, 203, 78, 310, 115, 310, 310, 310, 310, 310,
|
|
/* 1750 */ 310, 310, 330, 310, 310, 310, 310, 316, 232, 231,
|
|
/* 1760 */ 279, 310, 310, 196, 310, 203, 77, 310, 115, 310,
|
|
/* 1770 */ 310, 310, 310, 310, 310, 310, 330, 310, 310, 310,
|
|
/* 1780 */ 310, 316, 232, 310, 279, 310, 231, 310, 310, 310,
|
|
/* 1790 */ 196, 310, 203, 63, 310, 115, 310, 310, 310, 310,
|
|
/* 1800 */ 310, 310, 310, 330, 310, 310, 310, 310, 316, 232,
|
|
/* 1810 */ 310, 279, 310, 310, 310, 231, 310, 310, 310, 196,
|
|
/* 1820 */ 310, 203, 81, 310, 115, 310, 310, 310, 310, 310,
|
|
/* 1830 */ 310, 310, 330, 310, 310, 310, 310, 316, 232, 231,
|
|
/* 1840 */ 279, 310, 310, 196, 310, 203, 80, 310, 115, 310,
|
|
/* 1850 */ 310, 310, 310, 310, 310, 310, 330, 310, 310, 310,
|
|
/* 1860 */ 310, 316, 232, 310, 279, 310, 231, 310, 310, 310,
|
|
/* 1870 */ 196, 310, 203, 60, 310, 115, 310, 310, 310, 310,
|
|
/* 1880 */ 310, 310, 310, 330, 310, 310, 310, 310, 316, 232,
|
|
/* 1890 */ 310, 279, 310, 310, 310, 231, 310, 310, 310, 196,
|
|
/* 1900 */ 310, 203, 55, 310, 115, 310, 310, 310, 310, 310,
|
|
/* 1910 */ 310, 310, 330, 310, 310, 310, 310, 316, 232, 231,
|
|
/* 1920 */ 279, 310, 310, 196, 310, 203, 51, 310, 115, 310,
|
|
/* 1930 */ 310, 310, 310, 310, 310, 310, 330, 310, 310, 310,
|
|
/* 1940 */ 310, 316, 232, 310, 279, 310, 231, 310, 310, 310,
|
|
/* 1950 */ 196, 310, 180, 67, 310, 115, 310, 310, 310, 310,
|
|
/* 1960 */ 310, 310, 310, 330, 310, 310, 310, 310, 316, 232,
|
|
/* 1970 */ 310, 279, 310, 310, 310, 231, 310, 310, 310, 196,
|
|
/* 1980 */ 310, 203, 61, 310, 115, 310, 310, 310, 310, 310,
|
|
/* 1990 */ 310, 310, 330, 310, 310, 310, 310, 316, 232, 231,
|
|
/* 2000 */ 279, 310, 310, 196, 310, 203, 56, 310, 115, 310,
|
|
/* 2010 */ 310, 310, 310, 310, 310, 310, 330, 310, 310, 310,
|
|
/* 2020 */ 310, 316, 232, 310, 279, 310, 231, 310, 310, 310,
|
|
/* 2030 */ 196, 310, 203, 59, 310, 115, 310, 310, 310, 310,
|
|
/* 2040 */ 310, 310, 310, 330, 310, 310, 310, 310, 316, 232,
|
|
/* 2050 */ 310, 279, 310, 310, 310, 231, 310, 310, 310, 196,
|
|
/* 2060 */ 310, 203, 82, 310, 115, 310, 310, 310, 310, 310,
|
|
/* 2070 */ 310, 310, 330, 310, 310, 310, 310, 316, 232, 231,
|
|
/* 2080 */ 279, 310, 310, 196, 310, 203, 79, 310, 115, 310,
|
|
/* 2090 */ 310, 310, 310, 310, 310, 310, 330, 310, 310, 310,
|
|
/* 2100 */ 310, 316, 232, 310, 279, 310, 231, 310, 310, 310,
|
|
/* 2110 */ 196, 310, 203, 62, 310, 115, 310, 310, 310, 310,
|
|
/* 2120 */ 310, 310, 310, 330, 310, 310, 310, 310, 316, 232,
|
|
/* 2130 */ 310, 279, 310, 310, 310, 231, 310, 310, 310, 196,
|
|
/* 2140 */ 310, 203, 75, 310, 115, 310, 310, 310, 310, 310,
|
|
/* 2150 */ 310, 310, 330, 310, 310, 310, 310, 316, 232, 231,
|
|
/* 2160 */ 279, 310, 310, 265, 310, 203, 231, 310, 115, 310,
|
|
/* 2170 */ 305, 310, 203, 310, 310, 115, 266, 310, 310, 310,
|
|
/* 2180 */ 310, 316, 232, 310, 279, 310, 231, 310, 316, 232,
|
|
/* 2190 */ 296, 279, 203, 231, 310, 115, 310, 258, 310, 203,
|
|
/* 2200 */ 310, 310, 115, 310, 310, 310, 310, 310, 316, 232,
|
|
/* 2210 */ 310, 279, 310, 310, 310, 316, 232, 310, 279, 231,
|
|
/* 2220 */ 310, 310, 310, 287, 310, 203, 310, 310, 115, 310,
|
|
/* 2230 */ 310, 310, 310, 310, 310, 310, 310, 310, 310, 231,
|
|
/* 2240 */ 310, 316, 232, 309, 279, 203, 310, 310, 115, 310,
|
|
/* 2250 */ 310, 310, 310, 310, 310, 310, 310, 310, 310, 310,
|
|
/* 2260 */ 310, 316, 232, 310, 279,
|
|
);
|
|
static public $yy_lookahead = array(
|
|
/* 0 */ 1, 78, 79, 80, 3, 4, 5, 6, 7, 8,
|
|
/* 10 */ 9, 13, 13, 12, 1, 4, 5, 6, 20, 20,
|
|
/* 20 */ 9, 10, 11, 108, 109, 106, 13, 108, 109, 28,
|
|
/* 30 */ 31, 32, 33, 34, 35, 36, 37, 38, 39, 40,
|
|
/* 40 */ 41, 42, 43, 44, 31, 32, 33, 34, 35, 36,
|
|
/* 50 */ 37, 38, 39, 40, 41, 42, 43, 44, 16, 60,
|
|
/* 60 */ 61, 62, 63, 64, 65, 66, 67, 68, 69, 70,
|
|
/* 70 */ 71, 1, 27, 60, 61, 62, 63, 64, 65, 66,
|
|
/* 80 */ 67, 68, 69, 70, 71, 76, 77, 78, 79, 80,
|
|
/* 90 */ 20, 46, 15, 51, 17, 25, 19, 23, 21, 15,
|
|
/* 100 */ 55, 31, 32, 33, 34, 35, 36, 37, 38, 39,
|
|
/* 110 */ 40, 41, 42, 43, 44, 12, 30, 12, 15, 16,
|
|
/* 120 */ 15, 16, 13, 16, 85, 18, 12, 88, 23, 20,
|
|
/* 130 */ 60, 61, 62, 63, 64, 65, 66, 67, 68, 69,
|
|
/* 140 */ 70, 71, 1, 104, 79, 59, 1, 73, 83, 110,
|
|
/* 150 */ 85, 108, 109, 88, 13, 46, 1, 13, 13, 56,
|
|
/* 160 */ 46, 20, 55, 18, 55, 20, 101, 102, 13, 104,
|
|
/* 170 */ 14, 15, 31, 32, 33, 34, 35, 36, 37, 38,
|
|
/* 180 */ 39, 40, 41, 42, 43, 44, 31, 32, 33, 34,
|
|
/* 190 */ 35, 36, 37, 38, 39, 40, 41, 42, 43, 44,
|
|
/* 200 */ 1, 60, 61, 62, 63, 64, 65, 66, 67, 68,
|
|
/* 210 */ 69, 70, 71, 57, 84, 60, 61, 62, 63, 64,
|
|
/* 220 */ 65, 66, 67, 68, 69, 70, 71, 105, 98, 107,
|
|
/* 230 */ 31, 32, 33, 34, 35, 36, 37, 38, 39, 40,
|
|
/* 240 */ 41, 42, 43, 44, 1, 12, 47, 14, 15, 46,
|
|
/* 250 */ 12, 105, 85, 15, 16, 88, 13, 105, 55, 60,
|
|
/* 260 */ 61, 62, 63, 64, 65, 66, 67, 68, 69, 70,
|
|
/* 270 */ 71, 104, 90, 27, 31, 32, 33, 34, 35, 36,
|
|
/* 280 */ 37, 38, 39, 40, 41, 42, 43, 44, 1, 2,
|
|
/* 290 */ 57, 45, 12, 12, 12, 15, 15, 15, 12, 2,
|
|
/* 300 */ 14, 15, 18, 60, 61, 62, 63, 64, 65, 66,
|
|
/* 310 */ 67, 68, 69, 70, 71, 29, 15, 20, 31, 32,
|
|
/* 320 */ 33, 34, 35, 36, 37, 38, 39, 40, 41, 42,
|
|
/* 330 */ 43, 44, 1, 13, 13, 51, 56, 56, 52, 53,
|
|
/* 340 */ 20, 20, 58, 23, 23, 15, 2, 60, 61, 62,
|
|
/* 350 */ 63, 64, 65, 66, 67, 68, 69, 70, 71, 29,
|
|
/* 360 */ 16, 26, 31, 32, 33, 34, 35, 36, 37, 38,
|
|
/* 370 */ 39, 40, 41, 42, 43, 44, 1, 12, 13, 22,
|
|
/* 380 */ 15, 13, 12, 13, 57, 15, 79, 30, 20, 84,
|
|
/* 390 */ 59, 60, 61, 62, 63, 64, 65, 66, 67, 68,
|
|
/* 400 */ 69, 70, 71, 98, 14, 30, 31, 32, 33, 34,
|
|
/* 410 */ 35, 36, 37, 38, 39, 40, 41, 42, 43, 44,
|
|
/* 420 */ 46, 13, 115, 116, 13, 51, 13, 13, 20, 55,
|
|
/* 430 */ 1, 20, 16, 59, 20, 60, 61, 62, 63, 64,
|
|
/* 440 */ 65, 66, 67, 68, 69, 70, 71, 1, 79, 20,
|
|
/* 450 */ 1, 15, 83, 45, 85, 86, 87, 88, 45, 45,
|
|
/* 460 */ 12, 13, 13, 15, 2, 96, 20, 18, 48, 20,
|
|
/* 470 */ 101, 102, 80, 104, 82, 27, 15, 31, 32, 33,
|
|
/* 480 */ 34, 35, 36, 37, 38, 39, 40, 41, 42, 43,
|
|
/* 490 */ 44, 1, 13, 13, 13, 46, 108, 109, 13, 20,
|
|
/* 500 */ 20, 20, 14, 13, 55, 20, 60, 61, 62, 63,
|
|
/* 510 */ 64, 65, 66, 67, 68, 69, 70, 71, 91, 92,
|
|
/* 520 */ 20, 31, 32, 33, 34, 35, 36, 37, 38, 39,
|
|
/* 530 */ 40, 41, 42, 43, 44, 1, 13, 51, 13, 13,
|
|
/* 540 */ 29, 13, 13, 20, 58, 20, 20, 13, 20, 20,
|
|
/* 550 */ 60, 61, 62, 63, 64, 65, 66, 67, 68, 69,
|
|
/* 560 */ 70, 71, 14, 15, 15, 31, 32, 33, 34, 35,
|
|
/* 570 */ 36, 37, 38, 39, 40, 41, 42, 43, 44, 1,
|
|
/* 580 */ 13, 13, 13, 12, 57, 90, 15, 20, 20, 20,
|
|
/* 590 */ 59, 13, 84, 1, 60, 61, 62, 63, 64, 65,
|
|
/* 600 */ 66, 67, 68, 69, 70, 71, 98, 46, 14, 31,
|
|
/* 610 */ 32, 33, 34, 35, 36, 37, 38, 39, 40, 41,
|
|
/* 620 */ 42, 43, 44, 31, 32, 33, 34, 35, 36, 37,
|
|
/* 630 */ 38, 39, 40, 41, 42, 43, 44, 16, 60, 61,
|
|
/* 640 */ 62, 63, 64, 65, 66, 67, 68, 69, 70, 71,
|
|
/* 650 */ 1, 15, 60, 61, 62, 63, 64, 65, 66, 67,
|
|
/* 660 */ 68, 69, 70, 71, 84, 73, 15, 46, 13, 89,
|
|
/* 670 */ 12, 22, 15, 15, 15, 20, 55, 47, 98, 15,
|
|
/* 680 */ 31, 32, 33, 34, 35, 36, 37, 38, 39, 40,
|
|
/* 690 */ 41, 42, 43, 44, 1, 89, 103, 13, 13, 20,
|
|
/* 700 */ 14, 45, 24, 110, 79, 99, 100, 56, 94, 60,
|
|
/* 710 */ 61, 62, 63, 64, 65, 66, 67, 68, 69, 70,
|
|
/* 720 */ 71, 107, 16, 51, 31, 32, 33, 34, 35, 36,
|
|
/* 730 */ 37, 38, 39, 40, 41, 42, 43, 44, 1, 94,
|
|
/* 740 */ 47, 116, 14, 47, 26, 23, 47, 18, 13, 106,
|
|
/* 750 */ 98, 84, 107, 60, 61, 62, 63, 64, 65, 66,
|
|
/* 760 */ 67, 68, 69, 70, 71, 98, 93, 18, 31, 32,
|
|
/* 770 */ 33, 34, 35, 36, 37, 38, 39, 40, 41, 42,
|
|
/* 780 */ 43, 44, 94, 94, 55, 109, 20, 105, 20, 97,
|
|
/* 790 */ 107, 20, 14, 2, 90, 107, 107, 60, 61, 62,
|
|
/* 800 */ 63, 64, 65, 66, 67, 68, 69, 70, 71, 95,
|
|
/* 810 */ 12, 84, 14, 15, 105, 17, 90, 19, 84, 21,
|
|
/* 820 */ 12, 107, 14, 15, 84, 98, 28, 29, 12, 13,
|
|
/* 830 */ 32, 15, 98, 91, 93, 112, 28, 29, 98, 112,
|
|
/* 840 */ 32, 105, 81, 27, 46, 10, 112, 49, 50, 84,
|
|
/* 850 */ 52, 53, 54, 46, 46, 57, 58, 49, 50, 84,
|
|
/* 860 */ 52, 53, 54, 98, 89, 57, 58, 59, 117, 12,
|
|
/* 870 */ 72, 14, 15, 98, 99, 100, 117, 112, 94, 12,
|
|
/* 880 */ 72, 14, 15, 84, 84, 28, 29, 84, 89, 32,
|
|
/* 890 */ 117, 107, 89, 117, 117, 28, 29, 98, 98, 32,
|
|
/* 900 */ 117, 98, 117, 46, 117, 94, 49, 50, 117, 52,
|
|
/* 910 */ 53, 54, 117, 46, 57, 58, 49, 50, 107, 52,
|
|
/* 920 */ 53, 54, 94, 94, 57, 58, 117, 117, 12, 72,
|
|
/* 930 */ 14, 15, 117, 94, 117, 107, 107, 84, 12, 72,
|
|
/* 940 */ 14, 15, 89, 117, 28, 29, 107, 117, 32, 117,
|
|
/* 950 */ 117, 98, 99, 100, 28, 29, 117, 117, 32, 117,
|
|
/* 960 */ 117, 117, 46, 117, 117, 49, 50, 117, 52, 53,
|
|
/* 970 */ 54, 117, 46, 57, 58, 49, 50, 117, 52, 53,
|
|
/* 980 */ 54, 117, 117, 57, 58, 117, 117, 12, 72, 14,
|
|
/* 990 */ 15, 117, 117, 117, 117, 117, 84, 12, 72, 14,
|
|
/* 1000 */ 15, 89, 117, 28, 29, 117, 117, 32, 117, 117,
|
|
/* 1010 */ 98, 99, 100, 28, 29, 117, 117, 32, 117, 117,
|
|
/* 1020 */ 117, 46, 117, 117, 49, 50, 117, 52, 53, 54,
|
|
/* 1030 */ 117, 46, 57, 58, 49, 50, 84, 52, 53, 54,
|
|
/* 1040 */ 117, 89, 57, 58, 117, 117, 12, 72, 14, 15,
|
|
/* 1050 */ 98, 99, 100, 117, 117, 117, 12, 72, 14, 15,
|
|
/* 1060 */ 117, 117, 28, 29, 117, 117, 32, 117, 117, 117,
|
|
/* 1070 */ 117, 117, 28, 29, 117, 117, 32, 117, 117, 117,
|
|
/* 1080 */ 46, 117, 117, 49, 50, 117, 52, 53, 54, 117,
|
|
/* 1090 */ 46, 57, 58, 49, 50, 117, 52, 53, 54, 117,
|
|
/* 1100 */ 117, 57, 58, 117, 117, 12, 72, 14, 15, 117,
|
|
/* 1110 */ 117, 117, 117, 117, 117, 12, 72, 14, 15, 117,
|
|
/* 1120 */ 117, 28, 29, 117, 117, 32, 117, 117, 117, 117,
|
|
/* 1130 */ 117, 28, 29, 117, 117, 32, 117, 117, 117, 46,
|
|
/* 1140 */ 117, 117, 49, 50, 117, 52, 53, 54, 117, 46,
|
|
/* 1150 */ 57, 117, 49, 50, 117, 52, 53, 54, 117, 117,
|
|
/* 1160 */ 57, 117, 117, 79, 117, 72, 117, 83, 117, 85,
|
|
/* 1170 */ 86, 117, 88, 117, 117, 72, 117, 117, 117, 117,
|
|
/* 1180 */ 96, 117, 117, 117, 117, 101, 102, 79, 104, 117,
|
|
/* 1190 */ 117, 83, 117, 85, 86, 117, 88, 113, 114, 117,
|
|
/* 1200 */ 117, 117, 79, 8, 96, 117, 83, 12, 85, 101,
|
|
/* 1210 */ 102, 88, 104, 117, 117, 117, 117, 117, 117, 111,
|
|
/* 1220 */ 117, 117, 79, 28, 101, 102, 83, 104, 85, 86,
|
|
/* 1230 */ 87, 88, 117, 117, 117, 117, 117, 79, 117, 96,
|
|
/* 1240 */ 117, 83, 117, 85, 101, 102, 88, 104, 117, 79,
|
|
/* 1250 */ 117, 117, 117, 83, 96, 85, 86, 87, 88, 101,
|
|
/* 1260 */ 102, 117, 104, 117, 117, 117, 96, 72, 73, 74,
|
|
/* 1270 */ 117, 101, 102, 79, 104, 117, 117, 83, 117, 85,
|
|
/* 1280 */ 86, 117, 88, 8, 117, 117, 117, 12, 117, 117,
|
|
/* 1290 */ 96, 117, 117, 117, 117, 101, 102, 117, 104, 117,
|
|
/* 1300 */ 117, 117, 79, 28, 117, 111, 83, 117, 85, 86,
|
|
/* 1310 */ 87, 88, 117, 117, 117, 117, 117, 79, 117, 96,
|
|
/* 1320 */ 117, 83, 117, 85, 101, 102, 88, 104, 117, 79,
|
|
/* 1330 */ 117, 117, 117, 83, 96, 85, 86, 117, 88, 101,
|
|
/* 1340 */ 102, 117, 104, 117, 117, 117, 96, 72, 73, 74,
|
|
/* 1350 */ 117, 101, 102, 79, 104, 117, 117, 83, 117, 85,
|
|
/* 1360 */ 86, 111, 88, 117, 117, 91, 117, 117, 117, 117,
|
|
/* 1370 */ 96, 117, 117, 117, 117, 101, 102, 117, 104, 117,
|
|
/* 1380 */ 117, 117, 79, 117, 117, 117, 83, 117, 85, 86,
|
|
/* 1390 */ 117, 88, 117, 117, 117, 117, 117, 117, 117, 96,
|
|
/* 1400 */ 117, 117, 117, 117, 101, 102, 117, 104, 117, 117,
|
|
/* 1410 */ 117, 117, 117, 117, 117, 79, 117, 114, 117, 83,
|
|
/* 1420 */ 117, 85, 86, 87, 88, 117, 117, 117, 117, 117,
|
|
/* 1430 */ 117, 117, 96, 117, 117, 117, 117, 101, 102, 79,
|
|
/* 1440 */ 104, 117, 117, 83, 117, 85, 86, 117, 88, 117,
|
|
/* 1450 */ 117, 117, 117, 117, 117, 117, 96, 117, 117, 117,
|
|
/* 1460 */ 117, 101, 102, 117, 104, 117, 79, 117, 117, 117,
|
|
/* 1470 */ 83, 111, 85, 86, 117, 88, 117, 117, 117, 117,
|
|
/* 1480 */ 117, 117, 117, 96, 117, 117, 117, 117, 101, 102,
|
|
/* 1490 */ 117, 104, 117, 117, 117, 79, 117, 117, 117, 83,
|
|
/* 1500 */ 117, 85, 86, 117, 88, 117, 117, 117, 117, 117,
|
|
/* 1510 */ 117, 117, 96, 117, 117, 117, 117, 101, 102, 79,
|
|
/* 1520 */ 104, 117, 117, 83, 117, 85, 86, 117, 88, 117,
|
|
/* 1530 */ 117, 117, 117, 117, 117, 117, 96, 117, 117, 117,
|
|
/* 1540 */ 117, 101, 102, 117, 104, 117, 79, 117, 117, 117,
|
|
/* 1550 */ 83, 117, 85, 86, 117, 88, 117, 117, 117, 117,
|
|
/* 1560 */ 117, 117, 117, 96, 117, 117, 117, 117, 101, 102,
|
|
/* 1570 */ 117, 104, 117, 117, 117, 79, 117, 117, 117, 83,
|
|
/* 1580 */ 117, 85, 86, 117, 88, 117, 117, 117, 117, 117,
|
|
/* 1590 */ 117, 117, 96, 117, 117, 117, 117, 101, 102, 79,
|
|
/* 1600 */ 104, 117, 117, 83, 117, 85, 86, 117, 88, 117,
|
|
/* 1610 */ 117, 117, 117, 117, 117, 117, 96, 117, 117, 117,
|
|
/* 1620 */ 117, 101, 102, 117, 104, 117, 79, 117, 117, 117,
|
|
/* 1630 */ 83, 117, 85, 86, 117, 88, 117, 117, 117, 117,
|
|
/* 1640 */ 117, 117, 117, 96, 117, 117, 117, 117, 101, 102,
|
|
/* 1650 */ 117, 104, 117, 117, 117, 79, 117, 117, 117, 83,
|
|
/* 1660 */ 117, 85, 86, 117, 88, 117, 117, 117, 117, 117,
|
|
/* 1670 */ 117, 117, 96, 117, 117, 117, 117, 101, 102, 79,
|
|
/* 1680 */ 104, 117, 117, 83, 117, 85, 86, 117, 88, 117,
|
|
/* 1690 */ 117, 117, 117, 117, 117, 117, 96, 117, 117, 117,
|
|
/* 1700 */ 117, 101, 102, 117, 104, 117, 79, 117, 117, 117,
|
|
/* 1710 */ 83, 117, 85, 86, 117, 88, 117, 117, 117, 117,
|
|
/* 1720 */ 117, 117, 117, 96, 117, 117, 117, 117, 101, 102,
|
|
/* 1730 */ 117, 104, 117, 117, 117, 79, 117, 117, 117, 83,
|
|
/* 1740 */ 117, 85, 86, 117, 88, 117, 117, 117, 117, 117,
|
|
/* 1750 */ 117, 117, 96, 117, 117, 117, 117, 101, 102, 79,
|
|
/* 1760 */ 104, 117, 117, 83, 117, 85, 86, 117, 88, 117,
|
|
/* 1770 */ 117, 117, 117, 117, 117, 117, 96, 117, 117, 117,
|
|
/* 1780 */ 117, 101, 102, 117, 104, 117, 79, 117, 117, 117,
|
|
/* 1790 */ 83, 117, 85, 86, 117, 88, 117, 117, 117, 117,
|
|
/* 1800 */ 117, 117, 117, 96, 117, 117, 117, 117, 101, 102,
|
|
/* 1810 */ 117, 104, 117, 117, 117, 79, 117, 117, 117, 83,
|
|
/* 1820 */ 117, 85, 86, 117, 88, 117, 117, 117, 117, 117,
|
|
/* 1830 */ 117, 117, 96, 117, 117, 117, 117, 101, 102, 79,
|
|
/* 1840 */ 104, 117, 117, 83, 117, 85, 86, 117, 88, 117,
|
|
/* 1850 */ 117, 117, 117, 117, 117, 117, 96, 117, 117, 117,
|
|
/* 1860 */ 117, 101, 102, 117, 104, 117, 79, 117, 117, 117,
|
|
/* 1870 */ 83, 117, 85, 86, 117, 88, 117, 117, 117, 117,
|
|
/* 1880 */ 117, 117, 117, 96, 117, 117, 117, 117, 101, 102,
|
|
/* 1890 */ 117, 104, 117, 117, 117, 79, 117, 117, 117, 83,
|
|
/* 1900 */ 117, 85, 86, 117, 88, 117, 117, 117, 117, 117,
|
|
/* 1910 */ 117, 117, 96, 117, 117, 117, 117, 101, 102, 79,
|
|
/* 1920 */ 104, 117, 117, 83, 117, 85, 86, 117, 88, 117,
|
|
/* 1930 */ 117, 117, 117, 117, 117, 117, 96, 117, 117, 117,
|
|
/* 1940 */ 117, 101, 102, 117, 104, 117, 79, 117, 117, 117,
|
|
/* 1950 */ 83, 117, 85, 86, 117, 88, 117, 117, 117, 117,
|
|
/* 1960 */ 117, 117, 117, 96, 117, 117, 117, 117, 101, 102,
|
|
/* 1970 */ 117, 104, 117, 117, 117, 79, 117, 117, 117, 83,
|
|
/* 1980 */ 117, 85, 86, 117, 88, 117, 117, 117, 117, 117,
|
|
/* 1990 */ 117, 117, 96, 117, 117, 117, 117, 101, 102, 79,
|
|
/* 2000 */ 104, 117, 117, 83, 117, 85, 86, 117, 88, 117,
|
|
/* 2010 */ 117, 117, 117, 117, 117, 117, 96, 117, 117, 117,
|
|
/* 2020 */ 117, 101, 102, 117, 104, 117, 79, 117, 117, 117,
|
|
/* 2030 */ 83, 117, 85, 86, 117, 88, 117, 117, 117, 117,
|
|
/* 2040 */ 117, 117, 117, 96, 117, 117, 117, 117, 101, 102,
|
|
/* 2050 */ 117, 104, 117, 117, 117, 79, 117, 117, 117, 83,
|
|
/* 2060 */ 117, 85, 86, 117, 88, 117, 117, 117, 117, 117,
|
|
/* 2070 */ 117, 117, 96, 117, 117, 117, 117, 101, 102, 79,
|
|
/* 2080 */ 104, 117, 117, 83, 117, 85, 86, 117, 88, 117,
|
|
/* 2090 */ 117, 117, 117, 117, 117, 117, 96, 117, 117, 117,
|
|
/* 2100 */ 117, 101, 102, 117, 104, 117, 79, 117, 117, 117,
|
|
/* 2110 */ 83, 117, 85, 86, 117, 88, 117, 117, 117, 117,
|
|
/* 2120 */ 117, 117, 117, 96, 117, 117, 117, 117, 101, 102,
|
|
/* 2130 */ 117, 104, 117, 117, 117, 79, 117, 117, 117, 83,
|
|
/* 2140 */ 117, 85, 86, 117, 88, 117, 117, 117, 117, 117,
|
|
/* 2150 */ 117, 117, 96, 117, 117, 117, 117, 101, 102, 79,
|
|
/* 2160 */ 104, 117, 117, 83, 117, 85, 79, 117, 88, 117,
|
|
/* 2170 */ 83, 117, 85, 117, 117, 88, 96, 117, 117, 117,
|
|
/* 2180 */ 117, 101, 102, 117, 104, 117, 79, 117, 101, 102,
|
|
/* 2190 */ 83, 104, 85, 79, 117, 88, 117, 83, 117, 85,
|
|
/* 2200 */ 117, 117, 88, 117, 117, 117, 117, 117, 101, 102,
|
|
/* 2210 */ 117, 104, 117, 117, 117, 101, 102, 117, 104, 79,
|
|
/* 2220 */ 117, 117, 117, 83, 117, 85, 117, 117, 88, 117,
|
|
/* 2230 */ 117, 117, 117, 117, 117, 117, 117, 117, 117, 79,
|
|
/* 2240 */ 117, 101, 102, 83, 104, 85, 117, 117, 88, 117,
|
|
/* 2250 */ 117, 117, 117, 117, 117, 117, 117, 117, 117, 117,
|
|
/* 2260 */ 117, 101, 102, 117, 104,
|
|
);
|
|
const YY_SHIFT_USE_DFLT = -3;
|
|
const YY_SHIFT_MAX = 225;
|
|
static public $yy_shift_ofst = array(
|
|
/* 0 */ 1, 857, 798, 798, 916, 867, 867, 916, 926, 857,
|
|
/* 10 */ 1044, 867, 867, 808, 867, 867, 867, 867, 867, 867,
|
|
/* 20 */ 867, 867, 867, 867, 867, 867, 867, 867, 867, 867,
|
|
/* 30 */ 867, 867, 867, 867, 867, 867, 867, 867, 867, 1034,
|
|
/* 40 */ 985, 975, 1093, 1103, 1093, 1093, 1093, 1093, 1093, -1,
|
|
/* 50 */ 141, 70, 446, 446, 233, 490, 534, 649, 375, 693,
|
|
/* 60 */ 287, 155, 13, 199, 331, 243, 578, 592, 737, 737,
|
|
/* 70 */ 737, 737, 737, 737, 737, 737, 737, 737, 737, 737,
|
|
/* 80 */ 737, 737, 737, 737, 1, 449, 1195, 145, 284, 156,
|
|
/* 90 */ 429, 297, 297, 297, 11, 1275, 105, 103, 320, 107,
|
|
/* 100 */ 280, 408, 321, 282, 282, 571, 282, 282, 282, 282,
|
|
/* 110 */ 658, 548, 571, 282, 282, 729, 768, 778, 768, 749,
|
|
/* 120 */ 771, 749, 768, 448, 77, 816, 238, 281, 365, 370,
|
|
/* 130 */ -2, 368, 567, 529, 528, 568, 411, 569, 526, 481,
|
|
/* 140 */ 479, 485, 486, 486, 523, 525, 480, 486, 655, 114,
|
|
/* 150 */ 486, 486, 766, 749, 766, 835, 807, 749, 749, 778,
|
|
/* 160 */ 791, 749, -3, -3, -3, -3, -3, -3, -3, 286,
|
|
/* 170 */ 374, 109, 621, 45, 414, 413, 203, 86, 203, 330,
|
|
/* 180 */ 74, 203, 651, 344, 357, 246, 203, 42, 301, 335,
|
|
/* 190 */ 416, 390, 144, 84, 735, 686, 656, 679, 685, 594,
|
|
/* 200 */ 684, 678, 706, 722, 699, 718, 696, 672, 728, 664,
|
|
/* 210 */ 630, 500, 511, 488, 462, 436, 327, 420, 461, 549,
|
|
/* 220 */ 527, 657, 659, 561, 636, 531,
|
|
);
|
|
const YY_REDUCE_USE_DFLT = -86;
|
|
const YY_REDUCE_MAX = 168;
|
|
static public $yy_reduce_ofst = array(
|
|
/* 0 */ 9, 1084, 1223, 1336, 1170, 1194, 1108, 369, 1274, 1303,
|
|
/* 10 */ 1143, 1360, 1250, 1416, 1387, 1440, 2056, 1656, 1680, 1707,
|
|
/* 20 */ 1736, 1627, 1600, 1496, 1520, 1547, 1576, 1760, 1787, 1947,
|
|
/* 30 */ 1976, 2000, 2027, 1920, 1896, 1816, 1840, 1867, 1467, 1158,
|
|
/* 40 */ 1238, 2080, 65, 2140, 2114, 2107, 1123, 2087, 2160, 853,
|
|
/* 50 */ 952, 775, 853, 912, 39, 606, 606, 606, 606, 606,
|
|
/* 60 */ 606, 606, 606, 606, 606, 606, 606, 606, 606, 606,
|
|
/* 70 */ 606, 606, 606, 606, 606, 606, 606, 606, 606, 606,
|
|
/* 80 */ 606, 606, 606, 606, -77, 803, 307, 580, -81, 167,
|
|
/* 90 */ 799, 727, 765, 734, 392, 625, 714, 122, 508, 43,
|
|
/* 100 */ 122, 667, 508, 614, 645, 689, 688, 828, 839, 829,
|
|
/* 110 */ 811, 593, 811, 811, 784, 43, 800, 427, 740, 388,
|
|
/* 120 */ 305, -85, 130, 683, 692, 683, 683, 683, 683, 683,
|
|
/* 130 */ 652, 652, 652, 652, 652, 652, 652, 652, 652, 652,
|
|
/* 140 */ 652, 652, 643, 643, 652, 652, 652, 643, 652, 682,
|
|
/* 150 */ 643, 643, 673, 676, 741, 761, 709, 676, 676, 742,
|
|
/* 160 */ 723, 676, 736, 704, 726, 495, 152, 182, 146,
|
|
);
|
|
static public $yyExpectedTokens = array(
|
|
/* 0 */ array(3, 4, 5, 6, 7, 8, 9, 12, 28, ),
|
|
/* 1 */ array(12, 14, 15, 28, 29, 32, 46, 49, 50, 52, 53, 54, 57, 58, 72, ),
|
|
/* 2 */ array(12, 14, 15, 17, 19, 21, 28, 29, 32, 46, 49, 50, 52, 53, 54, 57, 58, 72, ),
|
|
/* 3 */ array(12, 14, 15, 17, 19, 21, 28, 29, 32, 46, 49, 50, 52, 53, 54, 57, 58, 72, ),
|
|
/* 4 */ array(12, 14, 15, 28, 29, 32, 46, 49, 50, 52, 53, 54, 57, 58, 72, ),
|
|
/* 5 */ array(12, 14, 15, 28, 29, 32, 46, 49, 50, 52, 53, 54, 57, 58, 72, ),
|
|
/* 6 */ array(12, 14, 15, 28, 29, 32, 46, 49, 50, 52, 53, 54, 57, 58, 72, ),
|
|
/* 7 */ array(12, 14, 15, 28, 29, 32, 46, 49, 50, 52, 53, 54, 57, 58, 72, ),
|
|
/* 8 */ array(12, 14, 15, 28, 29, 32, 46, 49, 50, 52, 53, 54, 57, 58, 72, ),
|
|
/* 9 */ array(12, 14, 15, 28, 29, 32, 46, 49, 50, 52, 53, 54, 57, 58, 72, ),
|
|
/* 10 */ array(12, 14, 15, 28, 29, 32, 46, 49, 50, 52, 53, 54, 57, 58, 72, ),
|
|
/* 11 */ array(12, 14, 15, 28, 29, 32, 46, 49, 50, 52, 53, 54, 57, 58, 72, ),
|
|
/* 12 */ array(12, 14, 15, 28, 29, 32, 46, 49, 50, 52, 53, 54, 57, 58, 72, ),
|
|
/* 13 */ array(12, 14, 15, 28, 29, 32, 46, 49, 50, 52, 53, 54, 57, 58, 59, 72, ),
|
|
/* 14 */ array(12, 14, 15, 28, 29, 32, 46, 49, 50, 52, 53, 54, 57, 58, 72, ),
|
|
/* 15 */ array(12, 14, 15, 28, 29, 32, 46, 49, 50, 52, 53, 54, 57, 58, 72, ),
|
|
/* 16 */ array(12, 14, 15, 28, 29, 32, 46, 49, 50, 52, 53, 54, 57, 58, 72, ),
|
|
/* 17 */ array(12, 14, 15, 28, 29, 32, 46, 49, 50, 52, 53, 54, 57, 58, 72, ),
|
|
/* 18 */ array(12, 14, 15, 28, 29, 32, 46, 49, 50, 52, 53, 54, 57, 58, 72, ),
|
|
/* 19 */ array(12, 14, 15, 28, 29, 32, 46, 49, 50, 52, 53, 54, 57, 58, 72, ),
|
|
/* 20 */ array(12, 14, 15, 28, 29, 32, 46, 49, 50, 52, 53, 54, 57, 58, 72, ),
|
|
/* 21 */ array(12, 14, 15, 28, 29, 32, 46, 49, 50, 52, 53, 54, 57, 58, 72, ),
|
|
/* 22 */ array(12, 14, 15, 28, 29, 32, 46, 49, 50, 52, 53, 54, 57, 58, 72, ),
|
|
/* 23 */ array(12, 14, 15, 28, 29, 32, 46, 49, 50, 52, 53, 54, 57, 58, 72, ),
|
|
/* 24 */ array(12, 14, 15, 28, 29, 32, 46, 49, 50, 52, 53, 54, 57, 58, 72, ),
|
|
/* 25 */ array(12, 14, 15, 28, 29, 32, 46, 49, 50, 52, 53, 54, 57, 58, 72, ),
|
|
/* 26 */ array(12, 14, 15, 28, 29, 32, 46, 49, 50, 52, 53, 54, 57, 58, 72, ),
|
|
/* 27 */ array(12, 14, 15, 28, 29, 32, 46, 49, 50, 52, 53, 54, 57, 58, 72, ),
|
|
/* 28 */ array(12, 14, 15, 28, 29, 32, 46, 49, 50, 52, 53, 54, 57, 58, 72, ),
|
|
/* 29 */ array(12, 14, 15, 28, 29, 32, 46, 49, 50, 52, 53, 54, 57, 58, 72, ),
|
|
/* 30 */ array(12, 14, 15, 28, 29, 32, 46, 49, 50, 52, 53, 54, 57, 58, 72, ),
|
|
/* 31 */ array(12, 14, 15, 28, 29, 32, 46, 49, 50, 52, 53, 54, 57, 58, 72, ),
|
|
/* 32 */ array(12, 14, 15, 28, 29, 32, 46, 49, 50, 52, 53, 54, 57, 58, 72, ),
|
|
/* 33 */ array(12, 14, 15, 28, 29, 32, 46, 49, 50, 52, 53, 54, 57, 58, 72, ),
|
|
/* 34 */ array(12, 14, 15, 28, 29, 32, 46, 49, 50, 52, 53, 54, 57, 58, 72, ),
|
|
/* 35 */ array(12, 14, 15, 28, 29, 32, 46, 49, 50, 52, 53, 54, 57, 58, 72, ),
|
|
/* 36 */ array(12, 14, 15, 28, 29, 32, 46, 49, 50, 52, 53, 54, 57, 58, 72, ),
|
|
/* 37 */ array(12, 14, 15, 28, 29, 32, 46, 49, 50, 52, 53, 54, 57, 58, 72, ),
|
|
/* 38 */ array(12, 14, 15, 28, 29, 32, 46, 49, 50, 52, 53, 54, 57, 58, 72, ),
|
|
/* 39 */ array(12, 14, 15, 28, 29, 32, 46, 49, 50, 52, 53, 54, 57, 58, 72, ),
|
|
/* 40 */ array(12, 14, 15, 28, 29, 32, 46, 49, 50, 52, 53, 54, 57, 58, 72, ),
|
|
/* 41 */ array(12, 14, 15, 28, 29, 32, 46, 49, 50, 52, 53, 54, 57, 58, 72, ),
|
|
/* 42 */ array(12, 14, 15, 28, 29, 32, 46, 49, 50, 52, 53, 54, 57, 72, ),
|
|
/* 43 */ array(12, 14, 15, 28, 29, 32, 46, 49, 50, 52, 53, 54, 57, 72, ),
|
|
/* 44 */ array(12, 14, 15, 28, 29, 32, 46, 49, 50, 52, 53, 54, 57, 72, ),
|
|
/* 45 */ array(12, 14, 15, 28, 29, 32, 46, 49, 50, 52, 53, 54, 57, 72, ),
|
|
/* 46 */ array(12, 14, 15, 28, 29, 32, 46, 49, 50, 52, 53, 54, 57, 72, ),
|
|
/* 47 */ array(12, 14, 15, 28, 29, 32, 46, 49, 50, 52, 53, 54, 57, 72, ),
|
|
/* 48 */ array(12, 14, 15, 28, 29, 32, 46, 49, 50, 52, 53, 54, 57, 72, ),
|
|
/* 49 */ array(1, 13, 20, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, ),
|
|
/* 50 */ array(1, 13, 20, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, ),
|
|
/* 51 */ array(1, 20, 25, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, ),
|
|
/* 52 */ array(1, 20, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, ),
|
|
/* 53 */ array(1, 20, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, ),
|
|
/* 54 */ array(12, 14, 15, 57, ),
|
|
/* 55 */ array(1, 13, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, ),
|
|
/* 56 */ array(1, 13, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, ),
|
|
/* 57 */ array(1, 22, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, ),
|
|
/* 58 */ array(1, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, ),
|
|
/* 59 */ array(1, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 47, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, ),
|
|
/* 60 */ array(1, 2, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, ),
|
|
/* 61 */ array(1, 13, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, ),
|
|
/* 62 */ array(1, 13, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, ),
|
|
/* 63 */ array(1, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 47, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, ),
|
|
/* 64 */ array(1, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, ),
|
|
/* 65 */ array(1, 13, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, ),
|
|
/* 66 */ array(1, 13, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, ),
|
|
/* 67 */ array(1, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 73, ),
|
|
/* 68 */ array(1, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, ),
|
|
/* 69 */ array(1, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, ),
|
|
/* 70 */ array(1, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, ),
|
|
/* 71 */ array(1, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, ),
|
|
/* 72 */ array(1, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, ),
|
|
/* 73 */ array(1, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, ),
|
|
/* 74 */ array(1, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, ),
|
|
/* 75 */ array(1, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, ),
|
|
/* 76 */ array(1, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, ),
|
|
/* 77 */ array(1, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, ),
|
|
/* 78 */ array(1, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, ),
|
|
/* 79 */ array(1, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, ),
|
|
/* 80 */ array(1, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, ),
|
|
/* 81 */ array(1, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, ),
|
|
/* 82 */ array(1, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, ),
|
|
/* 83 */ array(1, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, ),
|
|
/* 84 */ array(3, 4, 5, 6, 7, 8, 9, 12, 28, ),
|
|
/* 85 */ array(1, 13, 18, 20, 46, 55, ),
|
|
/* 86 */ array(8, 12, 28, 72, 73, 74, ),
|
|
/* 87 */ array(1, 13, 18, 20, ),
|
|
/* 88 */ array(18, 51, 58, ),
|
|
/* 89 */ array(14, 15, 57, ),
|
|
/* 90 */ array(1, 20, ),
|
|
/* 91 */ array(2, 20, ),
|
|
/* 92 */ array(2, 20, ),
|
|
/* 93 */ array(2, 20, ),
|
|
/* 94 */ array(4, 5, 6, 9, 10, 11, ),
|
|
/* 95 */ array(8, 12, 28, 72, 73, 74, ),
|
|
/* 96 */ array(12, 15, 16, 23, ),
|
|
/* 97 */ array(12, 15, 16, 56, ),
|
|
/* 98 */ array(13, 20, 23, ),
|
|
/* 99 */ array(16, 18, 55, ),
|
|
/* 100 */ array(12, 15, 56, ),
|
|
/* 101 */ array(13, 20, 45, ),
|
|
/* 102 */ array(13, 20, 23, ),
|
|
/* 103 */ array(12, 15, ),
|
|
/* 104 */ array(12, 15, ),
|
|
/* 105 */ array(12, 15, ),
|
|
/* 106 */ array(12, 15, ),
|
|
/* 107 */ array(12, 15, ),
|
|
/* 108 */ array(12, 15, ),
|
|
/* 109 */ array(12, 15, ),
|
|
/* 110 */ array(12, 15, ),
|
|
/* 111 */ array(14, 15, ),
|
|
/* 112 */ array(12, 15, ),
|
|
/* 113 */ array(12, 15, ),
|
|
/* 114 */ array(12, 15, ),
|
|
/* 115 */ array(18, 55, ),
|
|
/* 116 */ array(20, ),
|
|
/* 117 */ array(14, ),
|
|
/* 118 */ array(20, ),
|
|
/* 119 */ array(18, ),
|
|
/* 120 */ array(20, ),
|
|
/* 121 */ array(18, ),
|
|
/* 122 */ array(20, ),
|
|
/* 123 */ array(12, 13, 15, 27, ),
|
|
/* 124 */ array(15, 17, 19, 21, ),
|
|
/* 125 */ array(12, 13, 15, 27, ),
|
|
/* 126 */ array(12, 15, 16, ),
|
|
/* 127 */ array(12, 15, 56, ),
|
|
/* 128 */ array(12, 13, 15, ),
|
|
/* 129 */ array(12, 13, 15, ),
|
|
/* 130 */ array(13, 20, ),
|
|
/* 131 */ array(13, 20, ),
|
|
/* 132 */ array(13, 20, ),
|
|
/* 133 */ array(13, 20, ),
|
|
/* 134 */ array(13, 20, ),
|
|
/* 135 */ array(13, 20, ),
|
|
/* 136 */ array(13, 20, ),
|
|
/* 137 */ array(13, 20, ),
|
|
/* 138 */ array(13, 20, ),
|
|
/* 139 */ array(13, 20, ),
|
|
/* 140 */ array(13, 20, ),
|
|
/* 141 */ array(13, 20, ),
|
|
/* 142 */ array(51, 58, ),
|
|
/* 143 */ array(51, 58, ),
|
|
/* 144 */ array(13, 20, ),
|
|
/* 145 */ array(13, 20, ),
|
|
/* 146 */ array(13, 20, ),
|
|
/* 147 */ array(51, 58, ),
|
|
/* 148 */ array(13, 20, ),
|
|
/* 149 */ array(12, 46, ),
|
|
/* 150 */ array(51, 58, ),
|
|
/* 151 */ array(51, 58, ),
|
|
/* 152 */ array(20, ),
|
|
/* 153 */ array(18, ),
|
|
/* 154 */ array(20, ),
|
|
/* 155 */ array(10, ),
|
|
/* 156 */ array(46, ),
|
|
/* 157 */ array(18, ),
|
|
/* 158 */ array(18, ),
|
|
/* 159 */ array(14, ),
|
|
/* 160 */ array(2, ),
|
|
/* 161 */ array(18, ),
|
|
/* 162 */ array(),
|
|
/* 163 */ array(),
|
|
/* 164 */ array(),
|
|
/* 165 */ array(),
|
|
/* 166 */ array(),
|
|
/* 167 */ array(),
|
|
/* 168 */ array(),
|
|
/* 169 */ array(12, 14, 15, 29, 52, 53, ),
|
|
/* 170 */ array(46, 51, 55, 59, ),
|
|
/* 171 */ array(13, 20, 46, 55, ),
|
|
/* 172 */ array(16, 46, 55, ),
|
|
/* 173 */ array(27, 46, 55, ),
|
|
/* 174 */ array(13, 20, 45, ),
|
|
/* 175 */ array(13, 45, ),
|
|
/* 176 */ array(46, 55, ),
|
|
/* 177 */ array(30, 59, ),
|
|
/* 178 */ array(46, 55, ),
|
|
/* 179 */ array(15, 29, ),
|
|
/* 180 */ array(23, 73, ),
|
|
/* 181 */ array(46, 55, ),
|
|
/* 182 */ array(15, 56, ),
|
|
/* 183 */ array(2, 16, ),
|
|
/* 184 */ array(22, 30, ),
|
|
/* 185 */ array(27, 45, ),
|
|
/* 186 */ array(46, 55, ),
|
|
/* 187 */ array(16, 51, ),
|
|
/* 188 */ array(15, ),
|
|
/* 189 */ array(26, ),
|
|
/* 190 */ array(16, ),
|
|
/* 191 */ array(14, ),
|
|
/* 192 */ array(13, ),
|
|
/* 193 */ array(15, ),
|
|
/* 194 */ array(13, ),
|
|
/* 195 */ array(14, ),
|
|
/* 196 */ array(45, ),
|
|
/* 197 */ array(20, ),
|
|
/* 198 */ array(13, ),
|
|
/* 199 */ array(14, ),
|
|
/* 200 */ array(13, ),
|
|
/* 201 */ array(24, ),
|
|
/* 202 */ array(16, ),
|
|
/* 203 */ array(23, ),
|
|
/* 204 */ array(47, ),
|
|
/* 205 */ array(26, ),
|
|
/* 206 */ array(47, ),
|
|
/* 207 */ array(51, ),
|
|
/* 208 */ array(14, ),
|
|
/* 209 */ array(15, ),
|
|
/* 210 */ array(47, ),
|
|
/* 211 */ array(20, ),
|
|
/* 212 */ array(29, ),
|
|
/* 213 */ array(14, ),
|
|
/* 214 */ array(2, ),
|
|
/* 215 */ array(15, ),
|
|
/* 216 */ array(57, ),
|
|
/* 217 */ array(48, ),
|
|
/* 218 */ array(15, ),
|
|
/* 219 */ array(15, ),
|
|
/* 220 */ array(57, ),
|
|
/* 221 */ array(15, ),
|
|
/* 222 */ array(15, ),
|
|
/* 223 */ array(46, ),
|
|
/* 224 */ array(15, ),
|
|
/* 225 */ array(59, ),
|
|
/* 226 */ array(),
|
|
/* 227 */ array(),
|
|
/* 228 */ array(),
|
|
/* 229 */ array(),
|
|
/* 230 */ array(),
|
|
/* 231 */ array(),
|
|
/* 232 */ array(),
|
|
/* 233 */ array(),
|
|
/* 234 */ array(),
|
|
/* 235 */ array(),
|
|
/* 236 */ array(),
|
|
/* 237 */ array(),
|
|
/* 238 */ array(),
|
|
/* 239 */ array(),
|
|
/* 240 */ array(),
|
|
/* 241 */ array(),
|
|
/* 242 */ array(),
|
|
/* 243 */ array(),
|
|
/* 244 */ array(),
|
|
/* 245 */ array(),
|
|
/* 246 */ array(),
|
|
/* 247 */ array(),
|
|
/* 248 */ array(),
|
|
/* 249 */ array(),
|
|
/* 250 */ array(),
|
|
/* 251 */ array(),
|
|
/* 252 */ array(),
|
|
/* 253 */ array(),
|
|
/* 254 */ array(),
|
|
/* 255 */ array(),
|
|
/* 256 */ array(),
|
|
/* 257 */ array(),
|
|
/* 258 */ array(),
|
|
/* 259 */ array(),
|
|
/* 260 */ array(),
|
|
/* 261 */ array(),
|
|
/* 262 */ array(),
|
|
/* 263 */ array(),
|
|
/* 264 */ array(),
|
|
/* 265 */ array(),
|
|
/* 266 */ array(),
|
|
/* 267 */ array(),
|
|
/* 268 */ array(),
|
|
/* 269 */ array(),
|
|
/* 270 */ array(),
|
|
/* 271 */ array(),
|
|
/* 272 */ array(),
|
|
/* 273 */ array(),
|
|
/* 274 */ array(),
|
|
/* 275 */ array(),
|
|
/* 276 */ array(),
|
|
/* 277 */ array(),
|
|
/* 278 */ array(),
|
|
/* 279 */ array(),
|
|
/* 280 */ array(),
|
|
/* 281 */ array(),
|
|
/* 282 */ array(),
|
|
/* 283 */ array(),
|
|
/* 284 */ array(),
|
|
/* 285 */ array(),
|
|
/* 286 */ array(),
|
|
/* 287 */ array(),
|
|
/* 288 */ array(),
|
|
/* 289 */ array(),
|
|
/* 290 */ array(),
|
|
/* 291 */ array(),
|
|
/* 292 */ array(),
|
|
/* 293 */ array(),
|
|
/* 294 */ array(),
|
|
/* 295 */ array(),
|
|
/* 296 */ array(),
|
|
/* 297 */ array(),
|
|
/* 298 */ array(),
|
|
/* 299 */ array(),
|
|
/* 300 */ array(),
|
|
/* 301 */ array(),
|
|
/* 302 */ array(),
|
|
/* 303 */ array(),
|
|
/* 304 */ array(),
|
|
/* 305 */ array(),
|
|
/* 306 */ array(),
|
|
/* 307 */ array(),
|
|
/* 308 */ array(),
|
|
/* 309 */ array(),
|
|
/* 310 */ array(),
|
|
/* 311 */ array(),
|
|
/* 312 */ array(),
|
|
/* 313 */ array(),
|
|
/* 314 */ array(),
|
|
/* 315 */ array(),
|
|
/* 316 */ array(),
|
|
/* 317 */ array(),
|
|
/* 318 */ array(),
|
|
/* 319 */ array(),
|
|
/* 320 */ array(),
|
|
/* 321 */ array(),
|
|
/* 322 */ array(),
|
|
/* 323 */ array(),
|
|
/* 324 */ array(),
|
|
/* 325 */ array(),
|
|
/* 326 */ array(),
|
|
/* 327 */ array(),
|
|
/* 328 */ array(),
|
|
/* 329 */ array(),
|
|
/* 330 */ array(),
|
|
/* 331 */ array(),
|
|
/* 332 */ array(),
|
|
/* 333 */ array(),
|
|
/* 334 */ array(),
|
|
/* 335 */ array(),
|
|
/* 336 */ array(),
|
|
/* 337 */ array(),
|
|
/* 338 */ array(),
|
|
/* 339 */ array(),
|
|
/* 340 */ array(),
|
|
/* 341 */ array(),
|
|
/* 342 */ array(),
|
|
/* 343 */ array(),
|
|
/* 344 */ array(),
|
|
/* 345 */ array(),
|
|
/* 346 */ array(),
|
|
/* 347 */ array(),
|
|
/* 348 */ array(),
|
|
/* 349 */ array(),
|
|
/* 350 */ array(),
|
|
/* 351 */ array(),
|
|
/* 352 */ array(),
|
|
/* 353 */ array(),
|
|
/* 354 */ array(),
|
|
/* 355 */ array(),
|
|
/* 356 */ array(),
|
|
/* 357 */ array(),
|
|
/* 358 */ array(),
|
|
/* 359 */ array(),
|
|
/* 360 */ array(),
|
|
/* 361 */ array(),
|
|
/* 362 */ array(),
|
|
/* 363 */ array(),
|
|
/* 364 */ array(),
|
|
/* 365 */ array(),
|
|
);
|
|
static public $yy_default = array(
|
|
/* 0 */ 557, 540, 557, 557, 557, 510, 510, 557, 557, 557,
|
|
/* 10 */ 557, 510, 510, 557, 557, 557, 557, 557, 557, 557,
|
|
/* 20 */ 557, 557, 557, 557, 557, 557, 557, 557, 557, 557,
|
|
/* 30 */ 557, 557, 557, 557, 557, 557, 557, 557, 557, 557,
|
|
/* 40 */ 557, 557, 557, 557, 557, 557, 557, 557, 557, 557,
|
|
/* 50 */ 557, 424, 424, 424, 557, 557, 557, 557, 509, 557,
|
|
/* 60 */ 557, 557, 557, 557, 557, 557, 557, 557, 450, 447,
|
|
/* 70 */ 451, 542, 426, 454, 455, 433, 543, 445, 541, 430,
|
|
/* 80 */ 442, 458, 446, 406, 366, 435, 557, 557, 518, 557,
|
|
/* 90 */ 424, 424, 424, 424, 557, 557, 557, 481, 459, 474,
|
|
/* 100 */ 481, 434, 459, 557, 557, 557, 557, 557, 557, 557,
|
|
/* 110 */ 557, 557, 557, 557, 557, 474, 424, 557, 424, 513,
|
|
/* 120 */ 424, 514, 424, 557, 557, 557, 557, 482, 557, 557,
|
|
/* 130 */ 557, 557, 557, 557, 557, 557, 557, 557, 557, 557,
|
|
/* 140 */ 557, 557, 479, 504, 557, 557, 557, 503, 557, 481,
|
|
/* 150 */ 501, 502, 556, 497, 556, 380, 481, 516, 519, 557,
|
|
/* 160 */ 441, 515, 481, 521, 521, 521, 481, 521, 481, 557,
|
|
/* 170 */ 435, 435, 429, 435, 434, 434, 435, 557, 524, 557,
|
|
/* 180 */ 459, 557, 557, 495, 557, 434, 456, 464, 557, 557,
|
|
/* 190 */ 557, 557, 557, 557, 557, 557, 434, 557, 557, 557,
|
|
/* 200 */ 557, 431, 429, 459, 557, 557, 557, 464, 557, 557,
|
|
/* 210 */ 557, 557, 557, 557, 495, 557, 557, 469, 557, 557,
|
|
/* 220 */ 557, 557, 557, 517, 557, 557, 377, 449, 488, 376,
|
|
/* 230 */ 378, 473, 471, 448, 496, 485, 470, 486, 484, 505,
|
|
/* 240 */ 487, 492, 549, 453, 548, 382, 383, 545, 546, 550,
|
|
/* 250 */ 553, 381, 379, 452, 375, 491, 554, 547, 437, 507,
|
|
/* 260 */ 421, 489, 415, 388, 551, 522, 523, 416, 417, 369,
|
|
/* 270 */ 368, 367, 438, 428, 418, 370, 389, 469, 384, 476,
|
|
/* 280 */ 477, 493, 506, 508, 500, 444, 373, 457, 371, 439,
|
|
/* 290 */ 478, 443, 372, 374, 408, 475, 462, 390, 391, 411,
|
|
/* 300 */ 490, 392, 412, 552, 480, 460, 463, 539, 413, 461,
|
|
/* 310 */ 538, 410, 393, 400, 396, 467, 468, 498, 397, 399,
|
|
/* 320 */ 395, 402, 465, 436, 394, 398, 401, 472, 466, 537,
|
|
/* 330 */ 440, 407, 555, 432, 511, 512, 525, 405, 422, 483,
|
|
/* 340 */ 386, 385, 409, 499, 495, 387, 494, 526, 414, 423,
|
|
/* 350 */ 420, 535, 404, 536, 520, 403, 534, 533, 529, 528,
|
|
/* 360 */ 527, 419, 530, 532, 531, 544,
|
|
);
|
|
const YYNOCODE = 118;
|
|
const YYSTACKDEPTH = 100;
|
|
const YYNSTATE = 366;
|
|
const YYNRULE = 191;
|
|
const YYERRORSYMBOL = 75;
|
|
const YYERRSYMDT = 'yy0';
|
|
const YYFALLBACK = 0;
|
|
static public $yyFallback = array(
|
|
);
|
|
static function Trace($TraceFILE, $zTracePrompt)
|
|
{
|
|
if (!$TraceFILE) {
|
|
$zTracePrompt = 0;
|
|
} elseif (!$zTracePrompt) {
|
|
$TraceFILE = 0;
|
|
}
|
|
self::$yyTraceFILE = $TraceFILE;
|
|
self::$yyTracePrompt = $zTracePrompt;
|
|
}
|
|
|
|
static function PrintTrace()
|
|
{
|
|
self::$yyTraceFILE = fopen('php://output', 'w');
|
|
self::$yyTracePrompt = '<br>';
|
|
}
|
|
|
|
static public $yyTraceFILE;
|
|
static public $yyTracePrompt;
|
|
public $yyidx; /* Index of top element in stack */
|
|
public $yyerrcnt; /* Shifts left before out of the error */
|
|
public $yystack = array(); /* The parser's stack */
|
|
|
|
public $yyTokenName = array(
|
|
'$', 'VERT', 'COLON', 'COMMENT',
|
|
'PHPSTARTTAG', 'PHPENDTAG', 'FAKEPHPSTARTTAG', 'XMLTAG',
|
|
'OTHER', 'LITERALSTART', 'LITERALEND', 'LITERAL',
|
|
'LDEL', 'RDEL', 'DOLLAR', 'ID',
|
|
'EQUAL', 'FOREACH', 'PTR', 'IF',
|
|
'SPACE', 'FOR', 'SEMICOLON', 'INCDEC',
|
|
'TO', 'STEP', 'AS', 'APTR',
|
|
'LDELSLASH', 'INTEGER', 'COMMA', 'MATH',
|
|
'UNIMATH', 'ANDSYM', 'ISIN', 'ISDIVBY',
|
|
'ISNOTDIVBY', 'ISEVEN', 'ISNOTEVEN', 'ISEVENBY',
|
|
'ISNOTEVENBY', 'ISODD', 'ISNOTODD', 'ISODDBY',
|
|
'ISNOTODDBY', 'INSTANCEOF', 'OPENP', 'CLOSEP',
|
|
'QMARK', 'NOT', 'TYPECAST', 'DOT',
|
|
'BOOLEAN', 'NULL', 'SINGLEQUOTESTRING', 'DOUBLECOLON',
|
|
'AT', 'HATCH', 'OPENB', 'CLOSEB',
|
|
'EQUALS', 'NOTEQUALS', 'GREATERTHAN', 'LESSTHAN',
|
|
'GREATEREQUAL', 'LESSEQUAL', 'IDENTITY', 'NONEIDENTITY',
|
|
'MOD', 'LAND', 'LOR', 'LXOR',
|
|
'QUOTE', 'BACKTICK', 'DOLLARID', 'error',
|
|
'start', 'template', 'template_element', 'smartytag',
|
|
'literal', 'literal_elements', 'literal_element', 'value',
|
|
'attributes', 'variable', 'expr', 'ternary',
|
|
'varindexed', 'modifier', 'modparameters', 'statement',
|
|
'statements', 'optspace', 'varvar', 'foraction',
|
|
'array', 'specialclose', 'attribute', 'ifcond',
|
|
'lop', 'function', 'doublequoted_with_quotes', 'static_class_access',
|
|
'object', 'arrayindex', 'indexdef', 'varvarele',
|
|
'objectchain', 'objectelement', 'method', 'params',
|
|
'modparameter', 'arrayelements', 'arrayelement', 'doublequoted',
|
|
'doublequotedcontent',
|
|
);
|
|
|
|
static public $yyRuleName = array(
|
|
/* 0 */ "start ::= template",
|
|
/* 1 */ "template ::= template_element",
|
|
/* 2 */ "template ::= template template_element",
|
|
/* 3 */ "template_element ::= smartytag",
|
|
/* 4 */ "template_element ::= COMMENT",
|
|
/* 5 */ "template_element ::= literal",
|
|
/* 6 */ "template_element ::= PHPSTARTTAG",
|
|
/* 7 */ "template_element ::= PHPENDTAG",
|
|
/* 8 */ "template_element ::= FAKEPHPSTARTTAG",
|
|
/* 9 */ "template_element ::= XMLTAG",
|
|
/* 10 */ "template_element ::= OTHER",
|
|
/* 11 */ "literal ::= LITERALSTART LITERALEND",
|
|
/* 12 */ "literal ::= LITERALSTART literal_elements LITERALEND",
|
|
/* 13 */ "literal_elements ::= literal_elements literal_element",
|
|
/* 14 */ "literal_elements ::=",
|
|
/* 15 */ "literal_element ::= literal",
|
|
/* 16 */ "literal_element ::= LITERAL",
|
|
/* 17 */ "literal_element ::= PHPSTARTTAG",
|
|
/* 18 */ "literal_element ::= FAKEPHPSTARTTAG",
|
|
/* 19 */ "literal_element ::= PHPENDTAG",
|
|
/* 20 */ "smartytag ::= LDEL value RDEL",
|
|
/* 21 */ "smartytag ::= LDEL value attributes RDEL",
|
|
/* 22 */ "smartytag ::= LDEL variable attributes RDEL",
|
|
/* 23 */ "smartytag ::= LDEL expr attributes RDEL",
|
|
/* 24 */ "smartytag ::= LDEL ternary attributes RDEL",
|
|
/* 25 */ "smartytag ::= LDEL DOLLAR ID EQUAL value RDEL",
|
|
/* 26 */ "smartytag ::= LDEL DOLLAR ID EQUAL expr RDEL",
|
|
/* 27 */ "smartytag ::= LDEL DOLLAR ID EQUAL expr attributes RDEL",
|
|
/* 28 */ "smartytag ::= LDEL DOLLAR ID EQUAL ternary attributes RDEL",
|
|
/* 29 */ "smartytag ::= LDEL varindexed EQUAL expr attributes RDEL",
|
|
/* 30 */ "smartytag ::= LDEL varindexed EQUAL ternary attributes RDEL",
|
|
/* 31 */ "smartytag ::= LDEL ID attributes RDEL",
|
|
/* 32 */ "smartytag ::= LDEL FOREACH attributes RDEL",
|
|
/* 33 */ "smartytag ::= LDEL ID RDEL",
|
|
/* 34 */ "smartytag ::= LDEL ID PTR ID attributes RDEL",
|
|
/* 35 */ "smartytag ::= LDEL ID modifier modparameters attributes RDEL",
|
|
/* 36 */ "smartytag ::= LDEL ID PTR ID modifier modparameters attributes RDEL",
|
|
/* 37 */ "smartytag ::= LDEL IF SPACE expr RDEL",
|
|
/* 38 */ "smartytag ::= LDEL IF SPACE statement RDEL",
|
|
/* 39 */ "smartytag ::= LDEL FOR SPACE statements SEMICOLON optspace expr SEMICOLON optspace DOLLAR varvar foraction RDEL",
|
|
/* 40 */ "foraction ::= EQUAL expr",
|
|
/* 41 */ "foraction ::= INCDEC",
|
|
/* 42 */ "smartytag ::= LDEL FOR SPACE statement TO expr attributes RDEL",
|
|
/* 43 */ "smartytag ::= LDEL FOR SPACE statement TO expr STEP expr RDEL",
|
|
/* 44 */ "smartytag ::= LDEL FOREACH SPACE value AS DOLLAR varvar RDEL",
|
|
/* 45 */ "smartytag ::= LDEL FOREACH SPACE value AS DOLLAR varvar APTR DOLLAR varvar RDEL",
|
|
/* 46 */ "smartytag ::= LDEL FOREACH SPACE array AS DOLLAR varvar RDEL",
|
|
/* 47 */ "smartytag ::= LDEL FOREACH SPACE array AS DOLLAR varvar APTR DOLLAR varvar RDEL",
|
|
/* 48 */ "smartytag ::= LDELSLASH ID RDEL",
|
|
/* 49 */ "smartytag ::= LDELSLASH specialclose RDEL",
|
|
/* 50 */ "specialclose ::= IF",
|
|
/* 51 */ "specialclose ::= FOR",
|
|
/* 52 */ "specialclose ::= FOREACH",
|
|
/* 53 */ "smartytag ::= LDELSLASH ID attributes RDEL",
|
|
/* 54 */ "smartytag ::= LDELSLASH ID modifier modparameters attributes RDEL",
|
|
/* 55 */ "smartytag ::= LDELSLASH ID PTR ID RDEL",
|
|
/* 56 */ "attributes ::= attributes attribute",
|
|
/* 57 */ "attributes ::= attribute",
|
|
/* 58 */ "attributes ::=",
|
|
/* 59 */ "attribute ::= SPACE ID EQUAL ID",
|
|
/* 60 */ "attribute ::= SPACE ID EQUAL expr",
|
|
/* 61 */ "attribute ::= SPACE ID EQUAL value",
|
|
/* 62 */ "attribute ::= SPACE ID EQUAL ternary",
|
|
/* 63 */ "attribute ::= SPACE ID",
|
|
/* 64 */ "attribute ::= SPACE INTEGER EQUAL expr",
|
|
/* 65 */ "statements ::= statement",
|
|
/* 66 */ "statements ::= statements COMMA statement",
|
|
/* 67 */ "statement ::= DOLLAR varvar EQUAL expr",
|
|
/* 68 */ "expr ::= value",
|
|
/* 69 */ "expr ::= ID",
|
|
/* 70 */ "expr ::= DOLLAR ID COLON ID",
|
|
/* 71 */ "expr ::= expr MATH value",
|
|
/* 72 */ "expr ::= expr UNIMATH value",
|
|
/* 73 */ "expr ::= expr ANDSYM value",
|
|
/* 74 */ "expr ::= array",
|
|
/* 75 */ "expr ::= expr modifier modparameters",
|
|
/* 76 */ "expr ::= expr ifcond expr",
|
|
/* 77 */ "expr ::= expr ISIN array",
|
|
/* 78 */ "expr ::= expr ISIN value",
|
|
/* 79 */ "expr ::= expr lop expr",
|
|
/* 80 */ "expr ::= expr ISDIVBY expr",
|
|
/* 81 */ "expr ::= expr ISNOTDIVBY expr",
|
|
/* 82 */ "expr ::= expr ISEVEN",
|
|
/* 83 */ "expr ::= expr ISNOTEVEN",
|
|
/* 84 */ "expr ::= expr ISEVENBY expr",
|
|
/* 85 */ "expr ::= expr ISNOTEVENBY expr",
|
|
/* 86 */ "expr ::= expr ISODD",
|
|
/* 87 */ "expr ::= expr ISNOTODD",
|
|
/* 88 */ "expr ::= expr ISODDBY expr",
|
|
/* 89 */ "expr ::= expr ISNOTODDBY expr",
|
|
/* 90 */ "expr ::= value INSTANCEOF ID",
|
|
/* 91 */ "expr ::= value INSTANCEOF value",
|
|
/* 92 */ "ternary ::= OPENP expr CLOSEP QMARK expr COLON expr",
|
|
/* 93 */ "value ::= variable",
|
|
/* 94 */ "value ::= UNIMATH value",
|
|
/* 95 */ "value ::= NOT value",
|
|
/* 96 */ "value ::= TYPECAST value",
|
|
/* 97 */ "value ::= variable INCDEC",
|
|
/* 98 */ "value ::= INTEGER",
|
|
/* 99 */ "value ::= INTEGER DOT INTEGER",
|
|
/* 100 */ "value ::= BOOLEAN",
|
|
/* 101 */ "value ::= NULL",
|
|
/* 102 */ "value ::= function",
|
|
/* 103 */ "value ::= OPENP expr CLOSEP",
|
|
/* 104 */ "value ::= SINGLEQUOTESTRING",
|
|
/* 105 */ "value ::= doublequoted_with_quotes",
|
|
/* 106 */ "value ::= ID DOUBLECOLON static_class_access",
|
|
/* 107 */ "value ::= smartytag",
|
|
/* 108 */ "variable ::= varindexed",
|
|
/* 109 */ "variable ::= DOLLAR varvar AT ID",
|
|
/* 110 */ "variable ::= object",
|
|
/* 111 */ "variable ::= HATCH ID HATCH",
|
|
/* 112 */ "variable ::= HATCH variable HATCH",
|
|
/* 113 */ "varindexed ::= DOLLAR varvar arrayindex",
|
|
/* 114 */ "arrayindex ::= arrayindex indexdef",
|
|
/* 115 */ "arrayindex ::=",
|
|
/* 116 */ "indexdef ::= DOT DOLLAR varvar",
|
|
/* 117 */ "indexdef ::= DOT DOLLAR varvar AT ID",
|
|
/* 118 */ "indexdef ::= DOT ID",
|
|
/* 119 */ "indexdef ::= DOT BOOLEAN",
|
|
/* 120 */ "indexdef ::= DOT NULL",
|
|
/* 121 */ "indexdef ::= DOT INTEGER",
|
|
/* 122 */ "indexdef ::= DOT LDEL expr RDEL",
|
|
/* 123 */ "indexdef ::= OPENB ID CLOSEB",
|
|
/* 124 */ "indexdef ::= OPENB ID DOT ID CLOSEB",
|
|
/* 125 */ "indexdef ::= OPENB expr CLOSEB",
|
|
/* 126 */ "indexdef ::= OPENB CLOSEB",
|
|
/* 127 */ "varvar ::= varvarele",
|
|
/* 128 */ "varvar ::= varvar varvarele",
|
|
/* 129 */ "varvarele ::= ID",
|
|
/* 130 */ "varvarele ::= LDEL expr RDEL",
|
|
/* 131 */ "object ::= varindexed objectchain",
|
|
/* 132 */ "object ::= varindexed DOUBLECOLON ID",
|
|
/* 133 */ "objectchain ::= objectelement",
|
|
/* 134 */ "objectchain ::= objectchain objectelement",
|
|
/* 135 */ "objectelement ::= PTR ID arrayindex",
|
|
/* 136 */ "objectelement ::= PTR variable arrayindex",
|
|
/* 137 */ "objectelement ::= PTR LDEL expr RDEL arrayindex",
|
|
/* 138 */ "objectelement ::= PTR ID LDEL expr RDEL arrayindex",
|
|
/* 139 */ "objectelement ::= PTR method",
|
|
/* 140 */ "function ::= ID OPENP params CLOSEP",
|
|
/* 141 */ "method ::= ID OPENP params CLOSEP",
|
|
/* 142 */ "params ::= expr COMMA params",
|
|
/* 143 */ "params ::= expr",
|
|
/* 144 */ "params ::=",
|
|
/* 145 */ "modifier ::= VERT AT ID",
|
|
/* 146 */ "modifier ::= VERT ID",
|
|
/* 147 */ "static_class_access ::= method",
|
|
/* 148 */ "static_class_access ::= DOLLAR ID OPENP params CLOSEP",
|
|
/* 149 */ "static_class_access ::= method objectchain",
|
|
/* 150 */ "static_class_access ::= DOLLAR ID OPENP params CLOSEP objectchain",
|
|
/* 151 */ "static_class_access ::= ID",
|
|
/* 152 */ "static_class_access ::= DOLLAR ID arrayindex",
|
|
/* 153 */ "static_class_access ::= DOLLAR ID arrayindex objectchain",
|
|
/* 154 */ "modparameters ::= modparameters modparameter",
|
|
/* 155 */ "modparameters ::=",
|
|
/* 156 */ "modparameter ::= COLON value",
|
|
/* 157 */ "modparameter ::= COLON array",
|
|
/* 158 */ "modparameter ::= COLON ID",
|
|
/* 159 */ "ifcond ::= EQUALS",
|
|
/* 160 */ "ifcond ::= NOTEQUALS",
|
|
/* 161 */ "ifcond ::= GREATERTHAN",
|
|
/* 162 */ "ifcond ::= LESSTHAN",
|
|
/* 163 */ "ifcond ::= GREATEREQUAL",
|
|
/* 164 */ "ifcond ::= LESSEQUAL",
|
|
/* 165 */ "ifcond ::= IDENTITY",
|
|
/* 166 */ "ifcond ::= NONEIDENTITY",
|
|
/* 167 */ "ifcond ::= MOD",
|
|
/* 168 */ "lop ::= LAND",
|
|
/* 169 */ "lop ::= LOR",
|
|
/* 170 */ "lop ::= LXOR",
|
|
/* 171 */ "array ::= OPENB arrayelements CLOSEB",
|
|
/* 172 */ "arrayelements ::= arrayelement",
|
|
/* 173 */ "arrayelements ::= arrayelements COMMA arrayelement",
|
|
/* 174 */ "arrayelements ::=",
|
|
/* 175 */ "arrayelement ::= value APTR expr",
|
|
/* 176 */ "arrayelement ::= ID APTR expr",
|
|
/* 177 */ "arrayelement ::= expr",
|
|
/* 178 */ "doublequoted_with_quotes ::= QUOTE QUOTE",
|
|
/* 179 */ "doublequoted_with_quotes ::= QUOTE doublequoted QUOTE",
|
|
/* 180 */ "doublequoted ::= doublequoted doublequotedcontent",
|
|
/* 181 */ "doublequoted ::= doublequotedcontent",
|
|
/* 182 */ "doublequotedcontent ::= BACKTICK variable BACKTICK",
|
|
/* 183 */ "doublequotedcontent ::= BACKTICK expr BACKTICK",
|
|
/* 184 */ "doublequotedcontent ::= DOLLARID",
|
|
/* 185 */ "doublequotedcontent ::= LDEL variable RDEL",
|
|
/* 186 */ "doublequotedcontent ::= LDEL expr RDEL",
|
|
/* 187 */ "doublequotedcontent ::= smartytag",
|
|
/* 188 */ "doublequotedcontent ::= OTHER",
|
|
/* 189 */ "optspace ::= SPACE",
|
|
/* 190 */ "optspace ::=",
|
|
);
|
|
|
|
function tokenName($tokenType)
|
|
{
|
|
if ($tokenType === 0) {
|
|
return 'End of Input';
|
|
}
|
|
if ($tokenType > 0 && $tokenType < count($this->yyTokenName)) {
|
|
return $this->yyTokenName[$tokenType];
|
|
} else {
|
|
return "Unknown";
|
|
}
|
|
}
|
|
|
|
static function yy_destructor($yymajor, $yypminor)
|
|
{
|
|
switch ($yymajor) {
|
|
default: break; /* If no destructor action specified: do nothing */
|
|
}
|
|
}
|
|
|
|
function yy_pop_parser_stack()
|
|
{
|
|
if (!count($this->yystack)) {
|
|
return;
|
|
}
|
|
$yytos = array_pop($this->yystack);
|
|
if (self::$yyTraceFILE && $this->yyidx >= 0) {
|
|
fwrite(self::$yyTraceFILE,
|
|
self::$yyTracePrompt . 'Popping ' . $this->yyTokenName[$yytos->major] .
|
|
"\n");
|
|
}
|
|
$yymajor = $yytos->major;
|
|
self::yy_destructor($yymajor, $yytos->minor);
|
|
$this->yyidx--;
|
|
return $yymajor;
|
|
}
|
|
|
|
function __destruct()
|
|
{
|
|
while ($this->yyidx >= 0) {
|
|
$this->yy_pop_parser_stack();
|
|
}
|
|
if (is_resource(self::$yyTraceFILE)) {
|
|
fclose(self::$yyTraceFILE);
|
|
}
|
|
}
|
|
|
|
function yy_get_expected_tokens($token)
|
|
{
|
|
$state = $this->yystack[$this->yyidx]->stateno;
|
|
$expected = self::$yyExpectedTokens[$state];
|
|
if (in_array($token, self::$yyExpectedTokens[$state], true)) {
|
|
return $expected;
|
|
}
|
|
$stack = $this->yystack;
|
|
$yyidx = $this->yyidx;
|
|
do {
|
|
$yyact = $this->yy_find_shift_action($token);
|
|
if ($yyact >= self::YYNSTATE && $yyact < self::YYNSTATE + self::YYNRULE) {
|
|
// reduce action
|
|
$done = 0;
|
|
do {
|
|
if ($done++ == 100) {
|
|
$this->yyidx = $yyidx;
|
|
$this->yystack = $stack;
|
|
// too much recursion prevents proper detection
|
|
// so give up
|
|
return array_unique($expected);
|
|
}
|
|
$yyruleno = $yyact - self::YYNSTATE;
|
|
$this->yyidx -= self::$yyRuleInfo[$yyruleno]['rhs'];
|
|
$nextstate = $this->yy_find_reduce_action(
|
|
$this->yystack[$this->yyidx]->stateno,
|
|
self::$yyRuleInfo[$yyruleno]['lhs']);
|
|
if (isset(self::$yyExpectedTokens[$nextstate])) {
|
|
$expected += self::$yyExpectedTokens[$nextstate];
|
|
if (in_array($token,
|
|
self::$yyExpectedTokens[$nextstate], true)) {
|
|
$this->yyidx = $yyidx;
|
|
$this->yystack = $stack;
|
|
return array_unique($expected);
|
|
}
|
|
}
|
|
if ($nextstate < self::YYNSTATE) {
|
|
// we need to shift a non-terminal
|
|
$this->yyidx++;
|
|
$x = new TP_yyStackEntry;
|
|
$x->stateno = $nextstate;
|
|
$x->major = self::$yyRuleInfo[$yyruleno]['lhs'];
|
|
$this->yystack[$this->yyidx] = $x;
|
|
continue 2;
|
|
} elseif ($nextstate == self::YYNSTATE + self::YYNRULE + 1) {
|
|
$this->yyidx = $yyidx;
|
|
$this->yystack = $stack;
|
|
// the last token was just ignored, we can't accept
|
|
// by ignoring input, this is in essence ignoring a
|
|
// syntax error!
|
|
return array_unique($expected);
|
|
} elseif ($nextstate === self::YY_NO_ACTION) {
|
|
$this->yyidx = $yyidx;
|
|
$this->yystack = $stack;
|
|
// input accepted, but not shifted (I guess)
|
|
return $expected;
|
|
} else {
|
|
$yyact = $nextstate;
|
|
}
|
|
} while (true);
|
|
}
|
|
break;
|
|
} while (true);
|
|
return array_unique($expected);
|
|
}
|
|
|
|
function yy_is_expected_token($token)
|
|
{
|
|
if ($token === 0) {
|
|
return true; // 0 is not part of this
|
|
}
|
|
$state = $this->yystack[$this->yyidx]->stateno;
|
|
if (in_array($token, self::$yyExpectedTokens[$state], true)) {
|
|
return true;
|
|
}
|
|
$stack = $this->yystack;
|
|
$yyidx = $this->yyidx;
|
|
do {
|
|
$yyact = $this->yy_find_shift_action($token);
|
|
if ($yyact >= self::YYNSTATE && $yyact < self::YYNSTATE + self::YYNRULE) {
|
|
// reduce action
|
|
$done = 0;
|
|
do {
|
|
if ($done++ == 100) {
|
|
$this->yyidx = $yyidx;
|
|
$this->yystack = $stack;
|
|
// too much recursion prevents proper detection
|
|
// so give up
|
|
return true;
|
|
}
|
|
$yyruleno = $yyact - self::YYNSTATE;
|
|
$this->yyidx -= self::$yyRuleInfo[$yyruleno]['rhs'];
|
|
$nextstate = $this->yy_find_reduce_action(
|
|
$this->yystack[$this->yyidx]->stateno,
|
|
self::$yyRuleInfo[$yyruleno]['lhs']);
|
|
if (isset(self::$yyExpectedTokens[$nextstate]) &&
|
|
in_array($token, self::$yyExpectedTokens[$nextstate], true)) {
|
|
$this->yyidx = $yyidx;
|
|
$this->yystack = $stack;
|
|
return true;
|
|
}
|
|
if ($nextstate < self::YYNSTATE) {
|
|
// we need to shift a non-terminal
|
|
$this->yyidx++;
|
|
$x = new TP_yyStackEntry;
|
|
$x->stateno = $nextstate;
|
|
$x->major = self::$yyRuleInfo[$yyruleno]['lhs'];
|
|
$this->yystack[$this->yyidx] = $x;
|
|
continue 2;
|
|
} elseif ($nextstate == self::YYNSTATE + self::YYNRULE + 1) {
|
|
$this->yyidx = $yyidx;
|
|
$this->yystack = $stack;
|
|
if (!$token) {
|
|
// end of input: this is valid
|
|
return true;
|
|
}
|
|
// the last token was just ignored, we can't accept
|
|
// by ignoring input, this is in essence ignoring a
|
|
// syntax error!
|
|
return false;
|
|
} elseif ($nextstate === self::YY_NO_ACTION) {
|
|
$this->yyidx = $yyidx;
|
|
$this->yystack = $stack;
|
|
// input accepted, but not shifted (I guess)
|
|
return true;
|
|
} else {
|
|
$yyact = $nextstate;
|
|
}
|
|
} while (true);
|
|
}
|
|
break;
|
|
} while (true);
|
|
$this->yyidx = $yyidx;
|
|
$this->yystack = $stack;
|
|
return true;
|
|
}
|
|
|
|
function yy_find_shift_action($iLookAhead)
|
|
{
|
|
$stateno = $this->yystack[$this->yyidx]->stateno;
|
|
|
|
/* if ($this->yyidx < 0) return self::YY_NO_ACTION; */
|
|
if (!isset(self::$yy_shift_ofst[$stateno])) {
|
|
// no shift actions
|
|
return self::$yy_default[$stateno];
|
|
}
|
|
$i = self::$yy_shift_ofst[$stateno];
|
|
if ($i === self::YY_SHIFT_USE_DFLT) {
|
|
return self::$yy_default[$stateno];
|
|
}
|
|
if ($iLookAhead == self::YYNOCODE) {
|
|
return self::YY_NO_ACTION;
|
|
}
|
|
$i += $iLookAhead;
|
|
if ($i < 0 || $i >= self::YY_SZ_ACTTAB ||
|
|
self::$yy_lookahead[$i] != $iLookAhead) {
|
|
if (count(self::$yyFallback) && $iLookAhead < count(self::$yyFallback)
|
|
&& ($iFallback = self::$yyFallback[$iLookAhead]) != 0) {
|
|
if (self::$yyTraceFILE) {
|
|
fwrite(self::$yyTraceFILE, self::$yyTracePrompt . "FALLBACK " .
|
|
$this->yyTokenName[$iLookAhead] . " => " .
|
|
$this->yyTokenName[$iFallback] . "\n");
|
|
}
|
|
return $this->yy_find_shift_action($iFallback);
|
|
}
|
|
return self::$yy_default[$stateno];
|
|
} else {
|
|
return self::$yy_action[$i];
|
|
}
|
|
}
|
|
|
|
function yy_find_reduce_action($stateno, $iLookAhead)
|
|
{
|
|
/* $stateno = $this->yystack[$this->yyidx]->stateno; */
|
|
|
|
if (!isset(self::$yy_reduce_ofst[$stateno])) {
|
|
return self::$yy_default[$stateno];
|
|
}
|
|
$i = self::$yy_reduce_ofst[$stateno];
|
|
if ($i == self::YY_REDUCE_USE_DFLT) {
|
|
return self::$yy_default[$stateno];
|
|
}
|
|
if ($iLookAhead == self::YYNOCODE) {
|
|
return self::YY_NO_ACTION;
|
|
}
|
|
$i += $iLookAhead;
|
|
if ($i < 0 || $i >= self::YY_SZ_ACTTAB ||
|
|
self::$yy_lookahead[$i] != $iLookAhead) {
|
|
return self::$yy_default[$stateno];
|
|
} else {
|
|
return self::$yy_action[$i];
|
|
}
|
|
}
|
|
|
|
function yy_shift($yyNewState, $yyMajor, $yypMinor)
|
|
{
|
|
$this->yyidx++;
|
|
if ($this->yyidx >= self::YYSTACKDEPTH) {
|
|
$this->yyidx--;
|
|
if (self::$yyTraceFILE) {
|
|
fprintf(self::$yyTraceFILE, "%sStack Overflow!\n", self::$yyTracePrompt);
|
|
}
|
|
while ($this->yyidx >= 0) {
|
|
$this->yy_pop_parser_stack();
|
|
}
|
|
return;
|
|
}
|
|
$yytos = new TP_yyStackEntry;
|
|
$yytos->stateno = $yyNewState;
|
|
$yytos->major = $yyMajor;
|
|
$yytos->minor = $yypMinor;
|
|
array_push($this->yystack, $yytos);
|
|
if (self::$yyTraceFILE && $this->yyidx > 0) {
|
|
fprintf(self::$yyTraceFILE, "%sShift %d\n", self::$yyTracePrompt,
|
|
$yyNewState);
|
|
fprintf(self::$yyTraceFILE, "%sStack:", self::$yyTracePrompt);
|
|
for($i = 1; $i <= $this->yyidx; $i++) {
|
|
fprintf(self::$yyTraceFILE, " %s",
|
|
$this->yyTokenName[$this->yystack[$i]->major]);
|
|
}
|
|
fwrite(self::$yyTraceFILE,"\n");
|
|
}
|
|
}
|
|
|
|
static public $yyRuleInfo = array(
|
|
array( 'lhs' => 76, 'rhs' => 1 ),
|
|
array( 'lhs' => 77, 'rhs' => 1 ),
|
|
array( 'lhs' => 77, 'rhs' => 2 ),
|
|
array( 'lhs' => 78, 'rhs' => 1 ),
|
|
array( 'lhs' => 78, 'rhs' => 1 ),
|
|
array( 'lhs' => 78, 'rhs' => 1 ),
|
|
array( 'lhs' => 78, 'rhs' => 1 ),
|
|
array( 'lhs' => 78, 'rhs' => 1 ),
|
|
array( 'lhs' => 78, 'rhs' => 1 ),
|
|
array( 'lhs' => 78, 'rhs' => 1 ),
|
|
array( 'lhs' => 78, 'rhs' => 1 ),
|
|
array( 'lhs' => 80, 'rhs' => 2 ),
|
|
array( 'lhs' => 80, 'rhs' => 3 ),
|
|
array( 'lhs' => 81, 'rhs' => 2 ),
|
|
array( 'lhs' => 81, 'rhs' => 0 ),
|
|
array( 'lhs' => 82, 'rhs' => 1 ),
|
|
array( 'lhs' => 82, 'rhs' => 1 ),
|
|
array( 'lhs' => 82, 'rhs' => 1 ),
|
|
array( 'lhs' => 82, 'rhs' => 1 ),
|
|
array( 'lhs' => 82, 'rhs' => 1 ),
|
|
array( 'lhs' => 79, 'rhs' => 3 ),
|
|
array( 'lhs' => 79, 'rhs' => 4 ),
|
|
array( 'lhs' => 79, 'rhs' => 4 ),
|
|
array( 'lhs' => 79, 'rhs' => 4 ),
|
|
array( 'lhs' => 79, 'rhs' => 4 ),
|
|
array( 'lhs' => 79, 'rhs' => 6 ),
|
|
array( 'lhs' => 79, 'rhs' => 6 ),
|
|
array( 'lhs' => 79, 'rhs' => 7 ),
|
|
array( 'lhs' => 79, 'rhs' => 7 ),
|
|
array( 'lhs' => 79, 'rhs' => 6 ),
|
|
array( 'lhs' => 79, 'rhs' => 6 ),
|
|
array( 'lhs' => 79, 'rhs' => 4 ),
|
|
array( 'lhs' => 79, 'rhs' => 4 ),
|
|
array( 'lhs' => 79, 'rhs' => 3 ),
|
|
array( 'lhs' => 79, 'rhs' => 6 ),
|
|
array( 'lhs' => 79, 'rhs' => 6 ),
|
|
array( 'lhs' => 79, 'rhs' => 8 ),
|
|
array( 'lhs' => 79, 'rhs' => 5 ),
|
|
array( 'lhs' => 79, 'rhs' => 5 ),
|
|
array( 'lhs' => 79, 'rhs' => 13 ),
|
|
array( 'lhs' => 95, 'rhs' => 2 ),
|
|
array( 'lhs' => 95, 'rhs' => 1 ),
|
|
array( 'lhs' => 79, 'rhs' => 8 ),
|
|
array( 'lhs' => 79, 'rhs' => 9 ),
|
|
array( 'lhs' => 79, 'rhs' => 8 ),
|
|
array( 'lhs' => 79, 'rhs' => 11 ),
|
|
array( 'lhs' => 79, 'rhs' => 8 ),
|
|
array( 'lhs' => 79, 'rhs' => 11 ),
|
|
array( 'lhs' => 79, 'rhs' => 3 ),
|
|
array( 'lhs' => 79, 'rhs' => 3 ),
|
|
array( 'lhs' => 97, 'rhs' => 1 ),
|
|
array( 'lhs' => 97, 'rhs' => 1 ),
|
|
array( 'lhs' => 97, 'rhs' => 1 ),
|
|
array( 'lhs' => 79, 'rhs' => 4 ),
|
|
array( 'lhs' => 79, 'rhs' => 6 ),
|
|
array( 'lhs' => 79, 'rhs' => 5 ),
|
|
array( 'lhs' => 84, 'rhs' => 2 ),
|
|
array( 'lhs' => 84, 'rhs' => 1 ),
|
|
array( 'lhs' => 84, 'rhs' => 0 ),
|
|
array( 'lhs' => 98, 'rhs' => 4 ),
|
|
array( 'lhs' => 98, 'rhs' => 4 ),
|
|
array( 'lhs' => 98, 'rhs' => 4 ),
|
|
array( 'lhs' => 98, 'rhs' => 4 ),
|
|
array( 'lhs' => 98, 'rhs' => 2 ),
|
|
array( 'lhs' => 98, 'rhs' => 4 ),
|
|
array( 'lhs' => 92, 'rhs' => 1 ),
|
|
array( 'lhs' => 92, 'rhs' => 3 ),
|
|
array( 'lhs' => 91, 'rhs' => 4 ),
|
|
array( 'lhs' => 86, 'rhs' => 1 ),
|
|
array( 'lhs' => 86, 'rhs' => 1 ),
|
|
array( 'lhs' => 86, 'rhs' => 4 ),
|
|
array( 'lhs' => 86, 'rhs' => 3 ),
|
|
array( 'lhs' => 86, 'rhs' => 3 ),
|
|
array( 'lhs' => 86, 'rhs' => 3 ),
|
|
array( 'lhs' => 86, 'rhs' => 1 ),
|
|
array( 'lhs' => 86, 'rhs' => 3 ),
|
|
array( 'lhs' => 86, 'rhs' => 3 ),
|
|
array( 'lhs' => 86, 'rhs' => 3 ),
|
|
array( 'lhs' => 86, 'rhs' => 3 ),
|
|
array( 'lhs' => 86, 'rhs' => 3 ),
|
|
array( 'lhs' => 86, 'rhs' => 3 ),
|
|
array( 'lhs' => 86, 'rhs' => 3 ),
|
|
array( 'lhs' => 86, 'rhs' => 2 ),
|
|
array( 'lhs' => 86, 'rhs' => 2 ),
|
|
array( 'lhs' => 86, 'rhs' => 3 ),
|
|
array( 'lhs' => 86, 'rhs' => 3 ),
|
|
array( 'lhs' => 86, 'rhs' => 2 ),
|
|
array( 'lhs' => 86, 'rhs' => 2 ),
|
|
array( 'lhs' => 86, 'rhs' => 3 ),
|
|
array( 'lhs' => 86, 'rhs' => 3 ),
|
|
array( 'lhs' => 86, 'rhs' => 3 ),
|
|
array( 'lhs' => 86, 'rhs' => 3 ),
|
|
array( 'lhs' => 87, 'rhs' => 7 ),
|
|
array( 'lhs' => 83, 'rhs' => 1 ),
|
|
array( 'lhs' => 83, 'rhs' => 2 ),
|
|
array( 'lhs' => 83, 'rhs' => 2 ),
|
|
array( 'lhs' => 83, 'rhs' => 2 ),
|
|
array( 'lhs' => 83, 'rhs' => 2 ),
|
|
array( 'lhs' => 83, 'rhs' => 1 ),
|
|
array( 'lhs' => 83, 'rhs' => 3 ),
|
|
array( 'lhs' => 83, 'rhs' => 1 ),
|
|
array( 'lhs' => 83, 'rhs' => 1 ),
|
|
array( 'lhs' => 83, 'rhs' => 1 ),
|
|
array( 'lhs' => 83, 'rhs' => 3 ),
|
|
array( 'lhs' => 83, 'rhs' => 1 ),
|
|
array( 'lhs' => 83, 'rhs' => 1 ),
|
|
array( 'lhs' => 83, 'rhs' => 3 ),
|
|
array( 'lhs' => 83, 'rhs' => 1 ),
|
|
array( 'lhs' => 85, 'rhs' => 1 ),
|
|
array( 'lhs' => 85, 'rhs' => 4 ),
|
|
array( 'lhs' => 85, 'rhs' => 1 ),
|
|
array( 'lhs' => 85, 'rhs' => 3 ),
|
|
array( 'lhs' => 85, 'rhs' => 3 ),
|
|
array( 'lhs' => 88, 'rhs' => 3 ),
|
|
array( 'lhs' => 105, 'rhs' => 2 ),
|
|
array( 'lhs' => 105, 'rhs' => 0 ),
|
|
array( 'lhs' => 106, 'rhs' => 3 ),
|
|
array( 'lhs' => 106, 'rhs' => 5 ),
|
|
array( 'lhs' => 106, 'rhs' => 2 ),
|
|
array( 'lhs' => 106, 'rhs' => 2 ),
|
|
array( 'lhs' => 106, 'rhs' => 2 ),
|
|
array( 'lhs' => 106, 'rhs' => 2 ),
|
|
array( 'lhs' => 106, 'rhs' => 4 ),
|
|
array( 'lhs' => 106, 'rhs' => 3 ),
|
|
array( 'lhs' => 106, 'rhs' => 5 ),
|
|
array( 'lhs' => 106, 'rhs' => 3 ),
|
|
array( 'lhs' => 106, 'rhs' => 2 ),
|
|
array( 'lhs' => 94, 'rhs' => 1 ),
|
|
array( 'lhs' => 94, 'rhs' => 2 ),
|
|
array( 'lhs' => 107, 'rhs' => 1 ),
|
|
array( 'lhs' => 107, 'rhs' => 3 ),
|
|
array( 'lhs' => 104, 'rhs' => 2 ),
|
|
array( 'lhs' => 104, 'rhs' => 3 ),
|
|
array( 'lhs' => 108, 'rhs' => 1 ),
|
|
array( 'lhs' => 108, 'rhs' => 2 ),
|
|
array( 'lhs' => 109, 'rhs' => 3 ),
|
|
array( 'lhs' => 109, 'rhs' => 3 ),
|
|
array( 'lhs' => 109, 'rhs' => 5 ),
|
|
array( 'lhs' => 109, 'rhs' => 6 ),
|
|
array( 'lhs' => 109, 'rhs' => 2 ),
|
|
array( 'lhs' => 101, 'rhs' => 4 ),
|
|
array( 'lhs' => 110, 'rhs' => 4 ),
|
|
array( 'lhs' => 111, 'rhs' => 3 ),
|
|
array( 'lhs' => 111, 'rhs' => 1 ),
|
|
array( 'lhs' => 111, 'rhs' => 0 ),
|
|
array( 'lhs' => 89, 'rhs' => 3 ),
|
|
array( 'lhs' => 89, 'rhs' => 2 ),
|
|
array( 'lhs' => 103, 'rhs' => 1 ),
|
|
array( 'lhs' => 103, 'rhs' => 5 ),
|
|
array( 'lhs' => 103, 'rhs' => 2 ),
|
|
array( 'lhs' => 103, 'rhs' => 6 ),
|
|
array( 'lhs' => 103, 'rhs' => 1 ),
|
|
array( 'lhs' => 103, 'rhs' => 3 ),
|
|
array( 'lhs' => 103, 'rhs' => 4 ),
|
|
array( 'lhs' => 90, 'rhs' => 2 ),
|
|
array( 'lhs' => 90, 'rhs' => 0 ),
|
|
array( 'lhs' => 112, 'rhs' => 2 ),
|
|
array( 'lhs' => 112, 'rhs' => 2 ),
|
|
array( 'lhs' => 112, 'rhs' => 2 ),
|
|
array( 'lhs' => 99, 'rhs' => 1 ),
|
|
array( 'lhs' => 99, 'rhs' => 1 ),
|
|
array( 'lhs' => 99, 'rhs' => 1 ),
|
|
array( 'lhs' => 99, 'rhs' => 1 ),
|
|
array( 'lhs' => 99, 'rhs' => 1 ),
|
|
array( 'lhs' => 99, 'rhs' => 1 ),
|
|
array( 'lhs' => 99, 'rhs' => 1 ),
|
|
array( 'lhs' => 99, 'rhs' => 1 ),
|
|
array( 'lhs' => 99, 'rhs' => 1 ),
|
|
array( 'lhs' => 100, 'rhs' => 1 ),
|
|
array( 'lhs' => 100, 'rhs' => 1 ),
|
|
array( 'lhs' => 100, 'rhs' => 1 ),
|
|
array( 'lhs' => 96, 'rhs' => 3 ),
|
|
array( 'lhs' => 113, 'rhs' => 1 ),
|
|
array( 'lhs' => 113, 'rhs' => 3 ),
|
|
array( 'lhs' => 113, 'rhs' => 0 ),
|
|
array( 'lhs' => 114, 'rhs' => 3 ),
|
|
array( 'lhs' => 114, 'rhs' => 3 ),
|
|
array( 'lhs' => 114, 'rhs' => 1 ),
|
|
array( 'lhs' => 102, 'rhs' => 2 ),
|
|
array( 'lhs' => 102, 'rhs' => 3 ),
|
|
array( 'lhs' => 115, 'rhs' => 2 ),
|
|
array( 'lhs' => 115, 'rhs' => 1 ),
|
|
array( 'lhs' => 116, 'rhs' => 3 ),
|
|
array( 'lhs' => 116, 'rhs' => 3 ),
|
|
array( 'lhs' => 116, 'rhs' => 1 ),
|
|
array( 'lhs' => 116, 'rhs' => 3 ),
|
|
array( 'lhs' => 116, 'rhs' => 3 ),
|
|
array( 'lhs' => 116, 'rhs' => 1 ),
|
|
array( 'lhs' => 116, 'rhs' => 1 ),
|
|
array( 'lhs' => 93, 'rhs' => 1 ),
|
|
array( 'lhs' => 93, 'rhs' => 0 ),
|
|
);
|
|
|
|
static public $yyReduceMap = array(
|
|
0 => 0,
|
|
5 => 0,
|
|
15 => 0,
|
|
16 => 0,
|
|
50 => 0,
|
|
51 => 0,
|
|
52 => 0,
|
|
68 => 0,
|
|
93 => 0,
|
|
98 => 0,
|
|
100 => 0,
|
|
101 => 0,
|
|
102 => 0,
|
|
104 => 0,
|
|
105 => 0,
|
|
110 => 0,
|
|
147 => 0,
|
|
172 => 0,
|
|
1 => 1,
|
|
2 => 2,
|
|
3 => 3,
|
|
4 => 4,
|
|
6 => 6,
|
|
7 => 7,
|
|
8 => 8,
|
|
9 => 9,
|
|
10 => 10,
|
|
11 => 11,
|
|
14 => 11,
|
|
12 => 12,
|
|
13 => 13,
|
|
94 => 13,
|
|
96 => 13,
|
|
97 => 13,
|
|
149 => 13,
|
|
17 => 17,
|
|
18 => 17,
|
|
19 => 19,
|
|
20 => 20,
|
|
21 => 21,
|
|
22 => 21,
|
|
23 => 21,
|
|
24 => 21,
|
|
25 => 25,
|
|
26 => 25,
|
|
27 => 27,
|
|
28 => 27,
|
|
29 => 29,
|
|
30 => 29,
|
|
31 => 31,
|
|
32 => 31,
|
|
33 => 33,
|
|
34 => 34,
|
|
35 => 35,
|
|
36 => 36,
|
|
37 => 37,
|
|
38 => 37,
|
|
39 => 39,
|
|
40 => 40,
|
|
41 => 41,
|
|
57 => 41,
|
|
143 => 41,
|
|
151 => 41,
|
|
177 => 41,
|
|
42 => 42,
|
|
43 => 43,
|
|
44 => 44,
|
|
45 => 45,
|
|
46 => 46,
|
|
47 => 47,
|
|
48 => 48,
|
|
49 => 48,
|
|
53 => 53,
|
|
54 => 54,
|
|
55 => 55,
|
|
56 => 56,
|
|
58 => 58,
|
|
59 => 59,
|
|
60 => 60,
|
|
61 => 60,
|
|
62 => 60,
|
|
64 => 60,
|
|
63 => 63,
|
|
65 => 65,
|
|
66 => 66,
|
|
67 => 67,
|
|
69 => 69,
|
|
70 => 70,
|
|
71 => 71,
|
|
72 => 71,
|
|
73 => 71,
|
|
74 => 74,
|
|
127 => 74,
|
|
189 => 74,
|
|
75 => 75,
|
|
76 => 76,
|
|
79 => 76,
|
|
90 => 76,
|
|
77 => 77,
|
|
78 => 78,
|
|
80 => 80,
|
|
81 => 81,
|
|
82 => 82,
|
|
87 => 82,
|
|
83 => 83,
|
|
86 => 83,
|
|
84 => 84,
|
|
89 => 84,
|
|
85 => 85,
|
|
88 => 85,
|
|
91 => 91,
|
|
92 => 92,
|
|
95 => 95,
|
|
99 => 99,
|
|
103 => 103,
|
|
106 => 106,
|
|
107 => 107,
|
|
108 => 108,
|
|
109 => 109,
|
|
111 => 111,
|
|
112 => 112,
|
|
113 => 113,
|
|
114 => 114,
|
|
115 => 115,
|
|
155 => 115,
|
|
116 => 116,
|
|
117 => 117,
|
|
118 => 118,
|
|
119 => 118,
|
|
120 => 118,
|
|
121 => 121,
|
|
122 => 122,
|
|
125 => 122,
|
|
123 => 123,
|
|
124 => 124,
|
|
126 => 126,
|
|
190 => 126,
|
|
128 => 128,
|
|
129 => 129,
|
|
130 => 130,
|
|
131 => 131,
|
|
132 => 132,
|
|
133 => 133,
|
|
134 => 134,
|
|
135 => 135,
|
|
136 => 136,
|
|
137 => 137,
|
|
138 => 138,
|
|
139 => 139,
|
|
140 => 140,
|
|
141 => 141,
|
|
142 => 142,
|
|
144 => 144,
|
|
145 => 145,
|
|
146 => 145,
|
|
148 => 148,
|
|
150 => 150,
|
|
152 => 152,
|
|
153 => 153,
|
|
154 => 154,
|
|
156 => 156,
|
|
157 => 156,
|
|
158 => 158,
|
|
159 => 159,
|
|
160 => 160,
|
|
161 => 161,
|
|
162 => 162,
|
|
163 => 163,
|
|
164 => 164,
|
|
165 => 165,
|
|
166 => 166,
|
|
167 => 167,
|
|
168 => 168,
|
|
169 => 169,
|
|
170 => 170,
|
|
171 => 171,
|
|
173 => 173,
|
|
174 => 174,
|
|
175 => 175,
|
|
176 => 176,
|
|
178 => 178,
|
|
179 => 179,
|
|
180 => 180,
|
|
181 => 181,
|
|
182 => 182,
|
|
183 => 182,
|
|
185 => 182,
|
|
184 => 184,
|
|
186 => 186,
|
|
187 => 187,
|
|
188 => 188,
|
|
);
|
|
#line 85 "smarty_internal_templateparser.y"
|
|
function yy_r0(){ $this->_retvalue = $this->yystack[$this->yyidx + 0]->minor; }
|
|
#line 2042 "smarty_internal_templateparser.php"
|
|
#line 91 "smarty_internal_templateparser.y"
|
|
function yy_r1(){if ($this->template->extract_code == false) {
|
|
$this->_retvalue = $this->yystack[$this->yyidx + 0]->minor;
|
|
} else {
|
|
// store code in extract buffer
|
|
$this->template->extracted_compiled_code .= $this->yystack[$this->yyidx + 0]->minor;
|
|
}
|
|
}
|
|
#line 2051 "smarty_internal_templateparser.php"
|
|
#line 99 "smarty_internal_templateparser.y"
|
|
function yy_r2(){if ($this->template->extract_code == false) {
|
|
$this->_retvalue = $this->yystack[$this->yyidx + -1]->minor.$this->yystack[$this->yyidx + 0]->minor;
|
|
} else {
|
|
// store code in extract buffer
|
|
$this->template->extracted_compiled_code .= $this->yystack[$this->yyidx + 0]->minor;
|
|
$this->_retvalue = $this->yystack[$this->yyidx + -1]->minor;
|
|
}
|
|
}
|
|
#line 2061 "smarty_internal_templateparser.php"
|
|
#line 112 "smarty_internal_templateparser.y"
|
|
function yy_r3(){
|
|
if ($this->compiler->has_code) {
|
|
$tmp =''; foreach ($this->compiler->prefix_code as $code) {$tmp.=$code;} $this->compiler->prefix_code=array();
|
|
$this->_retvalue = $this->compiler->processNocacheCode($tmp.$this->yystack[$this->yyidx + 0]->minor,true);
|
|
} else {
|
|
$this->_retvalue = $this->yystack[$this->yyidx + 0]->minor;
|
|
}
|
|
$this->compiler->has_variable_string = false;
|
|
$this->block_nesting_level = count($this->compiler->_tag_stack);
|
|
}
|
|
#line 2073 "smarty_internal_templateparser.php"
|
|
#line 124 "smarty_internal_templateparser.y"
|
|
function yy_r4(){ $this->_retvalue = ''; }
|
|
#line 2076 "smarty_internal_templateparser.php"
|
|
#line 130 "smarty_internal_templateparser.y"
|
|
function yy_r6(){
|
|
if ($this->sec_obj->php_handling == SMARTY_PHP_PASSTHRU) {
|
|
$this->_retvalue = self::escape_start_tag($this->yystack[$this->yyidx + 0]->minor);
|
|
} elseif ($this->sec_obj->php_handling == SMARTY_PHP_QUOTE) {
|
|
$this->_retvalue = $this->compiler->processNocacheCode(htmlspecialchars($this->yystack[$this->yyidx + 0]->minor, ENT_QUOTES),false);
|
|
}elseif ($this->sec_obj->php_handling == SMARTY_PHP_ALLOW) {
|
|
$this->_retvalue = $this->compiler->processNocacheCode('<?php', true);
|
|
}elseif ($this->sec_obj->php_handling == SMARTY_PHP_REMOVE) {
|
|
$this->_retvalue = '';
|
|
}
|
|
}
|
|
#line 2089 "smarty_internal_templateparser.php"
|
|
#line 142 "smarty_internal_templateparser.y"
|
|
function yy_r7(){if ($this->is_xml) {
|
|
$this->compiler->tag_nocache = true;
|
|
$this->is_xml = true;
|
|
$this->_retvalue = $this->compiler->processNocacheCode("<?php echo '?>';?>", $this->compiler, true);
|
|
}elseif ($this->sec_obj->php_handling == SMARTY_PHP_PASSTHRU) {
|
|
$this->_retvalue = '?<??>>';
|
|
} elseif ($this->sec_obj->php_handling == SMARTY_PHP_QUOTE) {
|
|
$this->_retvalue = $this->compiler->processNocacheCode(htmlspecialchars('?>', ENT_QUOTES), false);
|
|
}elseif ($this->sec_obj->php_handling == SMARTY_PHP_ALLOW) {
|
|
$this->_retvalue = $this->compiler->processNocacheCode('?>', true);
|
|
}elseif ($this->sec_obj->php_handling == SMARTY_PHP_REMOVE) {
|
|
$this->_retvalue = '';
|
|
}
|
|
}
|
|
#line 2105 "smarty_internal_templateparser.php"
|
|
#line 157 "smarty_internal_templateparser.y"
|
|
function yy_r8(){if ($this->lex->strip) {
|
|
$this->_retvalue = preg_replace('![\$this->yystack[$this->yyidx + 0]->minor ]*[\r\n]+[\$this->yystack[$this->yyidx + 0]->minor ]*!', '', self::escape_start_tag($this->yystack[$this->yyidx + 0]->minor));
|
|
} else {
|
|
$this->_retvalue = self::escape_start_tag($this->yystack[$this->yyidx + 0]->minor);
|
|
}
|
|
}
|
|
#line 2113 "smarty_internal_templateparser.php"
|
|
#line 165 "smarty_internal_templateparser.y"
|
|
function yy_r9(){ $this->compiler->tag_nocache = true; $this->is_xml = true; $this->_retvalue = $this->compiler->processNocacheCode("<?php echo '<?xml';?>", $this->compiler, true); }
|
|
#line 2116 "smarty_internal_templateparser.php"
|
|
#line 168 "smarty_internal_templateparser.y"
|
|
function yy_r10(){if ($this->lex->strip) {
|
|
$this->_retvalue = preg_replace('![\t ]*[\r\n]+[\t ]*!', '', $this->yystack[$this->yyidx + 0]->minor);
|
|
} else {
|
|
$this->_retvalue = $this->yystack[$this->yyidx + 0]->minor;
|
|
}
|
|
}
|
|
#line 2124 "smarty_internal_templateparser.php"
|
|
#line 176 "smarty_internal_templateparser.y"
|
|
function yy_r11(){ $this->_retvalue = ''; }
|
|
#line 2127 "smarty_internal_templateparser.php"
|
|
#line 177 "smarty_internal_templateparser.y"
|
|
function yy_r12(){ $this->_retvalue = $this->yystack[$this->yyidx + -1]->minor; }
|
|
#line 2130 "smarty_internal_templateparser.php"
|
|
#line 179 "smarty_internal_templateparser.y"
|
|
function yy_r13(){ $this->_retvalue = $this->yystack[$this->yyidx + -1]->minor.$this->yystack[$this->yyidx + 0]->minor; }
|
|
#line 2133 "smarty_internal_templateparser.php"
|
|
#line 184 "smarty_internal_templateparser.y"
|
|
function yy_r17(){ $this->_retvalue = self::escape_start_tag($this->yystack[$this->yyidx + 0]->minor); }
|
|
#line 2136 "smarty_internal_templateparser.php"
|
|
#line 186 "smarty_internal_templateparser.y"
|
|
function yy_r19(){ $this->_retvalue = self::escape_end_tag($this->yystack[$this->yyidx + 0]->minor); }
|
|
#line 2139 "smarty_internal_templateparser.php"
|
|
#line 194 "smarty_internal_templateparser.y"
|
|
function yy_r20(){ $this->_retvalue = $this->compiler->compileTag('private_print_expression',array('value'=>$this->yystack[$this->yyidx + -1]->minor)); }
|
|
#line 2142 "smarty_internal_templateparser.php"
|
|
#line 195 "smarty_internal_templateparser.y"
|
|
function yy_r21(){ $this->_retvalue = $this->compiler->compileTag('private_print_expression',array_merge(array('value'=>$this->yystack[$this->yyidx + -2]->minor),$this->yystack[$this->yyidx + -1]->minor)); }
|
|
#line 2145 "smarty_internal_templateparser.php"
|
|
#line 206 "smarty_internal_templateparser.y"
|
|
function yy_r25(){ $this->_retvalue = $this->compiler->compileTag('assign',array('value'=>$this->yystack[$this->yyidx + -1]->minor,'var'=>"'".$this->yystack[$this->yyidx + -3]->minor."'")); }
|
|
#line 2148 "smarty_internal_templateparser.php"
|
|
#line 208 "smarty_internal_templateparser.y"
|
|
function yy_r27(){ $this->_retvalue = $this->compiler->compileTag('assign',array_merge(array('value'=>$this->yystack[$this->yyidx + -2]->minor,'var'=>"'".$this->yystack[$this->yyidx + -4]->minor."'"),$this->yystack[$this->yyidx + -1]->minor)); }
|
|
#line 2151 "smarty_internal_templateparser.php"
|
|
#line 210 "smarty_internal_templateparser.y"
|
|
function yy_r29(){ $this->_retvalue = $this->compiler->compileTag('assign',array_merge(array('value'=>$this->yystack[$this->yyidx + -2]->minor),$this->yystack[$this->yyidx + -4]->minor,$this->yystack[$this->yyidx + -1]->minor)); }
|
|
#line 2154 "smarty_internal_templateparser.php"
|
|
#line 213 "smarty_internal_templateparser.y"
|
|
function yy_r31(){ $this->_retvalue = $this->compiler->compileTag($this->yystack[$this->yyidx + -2]->minor,$this->yystack[$this->yyidx + -1]->minor); }
|
|
#line 2157 "smarty_internal_templateparser.php"
|
|
#line 215 "smarty_internal_templateparser.y"
|
|
function yy_r33(){ $this->_retvalue = $this->compiler->compileTag($this->yystack[$this->yyidx + -1]->minor,array()); }
|
|
#line 2160 "smarty_internal_templateparser.php"
|
|
#line 217 "smarty_internal_templateparser.y"
|
|
function yy_r34(){ $this->_retvalue = $this->compiler->compileTag($this->yystack[$this->yyidx + -4]->minor,array_merge(array('object_methode'=>$this->yystack[$this->yyidx + -2]->minor),$this->yystack[$this->yyidx + -1]->minor)); }
|
|
#line 2163 "smarty_internal_templateparser.php"
|
|
#line 219 "smarty_internal_templateparser.y"
|
|
function yy_r35(){ $this->_retvalue = '<?php ob_start();?>'.$this->compiler->compileTag($this->yystack[$this->yyidx + -4]->minor,$this->yystack[$this->yyidx + -1]->minor).'<?php echo ';
|
|
$this->_retvalue .= $this->compiler->compileTag('private_modifier',array('modifier'=>$this->yystack[$this->yyidx + -3]->minor,'params'=>'ob_get_clean()'.$this->yystack[$this->yyidx + -2]->minor)).'?>';
|
|
}
|
|
#line 2168 "smarty_internal_templateparser.php"
|
|
#line 223 "smarty_internal_templateparser.y"
|
|
function yy_r36(){ $this->_retvalue = '<?php ob_start();?>'.$this->compiler->compileTag($this->yystack[$this->yyidx + -6]->minor,array_merge(array('object_methode'=>$this->yystack[$this->yyidx + -4]->minor),$this->yystack[$this->yyidx + -1]->minor)).'<?php echo ';
|
|
$this->_retvalue .= $this->compiler->compileTag('private_modifier',array('modifier'=>$this->yystack[$this->yyidx + -3]->minor,'params'=>'ob_get_clean()'.$this->yystack[$this->yyidx + -2]->minor)).'?>';
|
|
}
|
|
#line 2173 "smarty_internal_templateparser.php"
|
|
#line 227 "smarty_internal_templateparser.y"
|
|
function yy_r37(){ $this->_retvalue = $this->compiler->compileTag(($this->yystack[$this->yyidx + -3]->minor == 'else if')? 'elseif' : $this->yystack[$this->yyidx + -3]->minor,array('if condition'=>$this->yystack[$this->yyidx + -1]->minor)); }
|
|
#line 2176 "smarty_internal_templateparser.php"
|
|
#line 230 "smarty_internal_templateparser.y"
|
|
function yy_r39(){
|
|
$this->_retvalue = $this->compiler->compileTag($this->yystack[$this->yyidx + -11]->minor,array('start'=>$this->yystack[$this->yyidx + -9]->minor,'ifexp'=>$this->yystack[$this->yyidx + -6]->minor,'varloop'=>$this->yystack[$this->yyidx + -2]->minor,'loop'=>$this->yystack[$this->yyidx + -1]->minor)); }
|
|
#line 2180 "smarty_internal_templateparser.php"
|
|
#line 233 "smarty_internal_templateparser.y"
|
|
function yy_r40(){ $this->_retvalue = '='.$this->yystack[$this->yyidx + 0]->minor; }
|
|
#line 2183 "smarty_internal_templateparser.php"
|
|
#line 234 "smarty_internal_templateparser.y"
|
|
function yy_r41(){ $this->_retvalue = $this->yystack[$this->yyidx + 0]->minor; }
|
|
#line 2186 "smarty_internal_templateparser.php"
|
|
#line 235 "smarty_internal_templateparser.y"
|
|
function yy_r42(){ $this->_retvalue = $this->compiler->compileTag($this->yystack[$this->yyidx + -6]->minor,array_merge(array('start'=>$this->yystack[$this->yyidx + -4]->minor,'to'=>$this->yystack[$this->yyidx + -2]->minor),$this->yystack[$this->yyidx + -1]->minor)); }
|
|
#line 2189 "smarty_internal_templateparser.php"
|
|
#line 236 "smarty_internal_templateparser.y"
|
|
function yy_r43(){ $this->_retvalue = $this->compiler->compileTag($this->yystack[$this->yyidx + -7]->minor,array('start'=>$this->yystack[$this->yyidx + -5]->minor,'to'=>$this->yystack[$this->yyidx + -3]->minor,'step'=>$this->yystack[$this->yyidx + -1]->minor)); }
|
|
#line 2192 "smarty_internal_templateparser.php"
|
|
#line 238 "smarty_internal_templateparser.y"
|
|
function yy_r44(){
|
|
$this->_retvalue = $this->compiler->compileTag($this->yystack[$this->yyidx + -6]->minor,array('from'=>$this->yystack[$this->yyidx + -4]->minor,'item'=>$this->yystack[$this->yyidx + -1]->minor)); }
|
|
#line 2196 "smarty_internal_templateparser.php"
|
|
#line 240 "smarty_internal_templateparser.y"
|
|
function yy_r45(){
|
|
$this->_retvalue = $this->compiler->compileTag($this->yystack[$this->yyidx + -9]->minor,array('from'=>$this->yystack[$this->yyidx + -7]->minor,'item'=>$this->yystack[$this->yyidx + -1]->minor,'key'=>$this->yystack[$this->yyidx + -4]->minor)); }
|
|
#line 2200 "smarty_internal_templateparser.php"
|
|
#line 242 "smarty_internal_templateparser.y"
|
|
function yy_r46(){
|
|
$this->_retvalue = $this->compiler->compileTag($this->yystack[$this->yyidx + -6]->minor,array('from'=>$this->yystack[$this->yyidx + -4]->minor,'item'=>$this->yystack[$this->yyidx + -1]->minor)); }
|
|
#line 2204 "smarty_internal_templateparser.php"
|
|
#line 244 "smarty_internal_templateparser.y"
|
|
function yy_r47(){
|
|
$this->_retvalue = $this->compiler->compileTag($this->yystack[$this->yyidx + -9]->minor,array('from'=>$this->yystack[$this->yyidx + -7]->minor,'item'=>$this->yystack[$this->yyidx + -1]->minor,'key'=>$this->yystack[$this->yyidx + -4]->minor)); }
|
|
#line 2208 "smarty_internal_templateparser.php"
|
|
#line 248 "smarty_internal_templateparser.y"
|
|
function yy_r48(){ $this->_retvalue = $this->compiler->compileTag($this->yystack[$this->yyidx + -1]->minor.'close',array()); }
|
|
#line 2211 "smarty_internal_templateparser.php"
|
|
#line 253 "smarty_internal_templateparser.y"
|
|
function yy_r53(){ $this->_retvalue = $this->compiler->compileTag($this->yystack[$this->yyidx + -2]->minor.'close',$this->yystack[$this->yyidx + -1]->minor); }
|
|
#line 2214 "smarty_internal_templateparser.php"
|
|
#line 254 "smarty_internal_templateparser.y"
|
|
function yy_r54(){ $this->_retvalue = '<?php ob_start();?>'.$this->compiler->compileTag($this->yystack[$this->yyidx + -4]->minor.'close',$this->yystack[$this->yyidx + -1]->minor).'<?php echo ';
|
|
$this->_retvalue .= $this->compiler->compileTag('private_modifier',array('modifier'=>$this->yystack[$this->yyidx + -3]->minor,'params'=>'ob_get_clean()'.$this->yystack[$this->yyidx + -2]->minor)).'?>';
|
|
}
|
|
#line 2219 "smarty_internal_templateparser.php"
|
|
#line 258 "smarty_internal_templateparser.y"
|
|
function yy_r55(){ $this->_retvalue = $this->compiler->compileTag($this->yystack[$this->yyidx + -3]->minor.'close',array('object_methode'=>$this->yystack[$this->yyidx + -1]->minor)); }
|
|
#line 2222 "smarty_internal_templateparser.php"
|
|
#line 265 "smarty_internal_templateparser.y"
|
|
function yy_r56(){ $this->_retvalue = array_merge($this->yystack[$this->yyidx + -1]->minor,$this->yystack[$this->yyidx + 0]->minor); }
|
|
#line 2225 "smarty_internal_templateparser.php"
|
|
#line 269 "smarty_internal_templateparser.y"
|
|
function yy_r58(){ $this->_retvalue = array(); }
|
|
#line 2228 "smarty_internal_templateparser.php"
|
|
#line 272 "smarty_internal_templateparser.y"
|
|
function yy_r59(){ $this->_retvalue = array($this->yystack[$this->yyidx + -2]->minor=>"'".$this->yystack[$this->yyidx + 0]->minor."'"); }
|
|
#line 2231 "smarty_internal_templateparser.php"
|
|
#line 273 "smarty_internal_templateparser.y"
|
|
function yy_r60(){ $this->_retvalue = array($this->yystack[$this->yyidx + -2]->minor=>$this->yystack[$this->yyidx + 0]->minor); }
|
|
#line 2234 "smarty_internal_templateparser.php"
|
|
#line 276 "smarty_internal_templateparser.y"
|
|
function yy_r63(){ $this->_retvalue = array($this->yystack[$this->yyidx + 0]->minor=>'true'); }
|
|
#line 2237 "smarty_internal_templateparser.php"
|
|
#line 283 "smarty_internal_templateparser.y"
|
|
function yy_r65(){ $this->_retvalue = array($this->yystack[$this->yyidx + 0]->minor); }
|
|
#line 2240 "smarty_internal_templateparser.php"
|
|
#line 284 "smarty_internal_templateparser.y"
|
|
function yy_r66(){ $this->yystack[$this->yyidx + -2]->minor[]=$this->yystack[$this->yyidx + 0]->minor; $this->_retvalue = $this->yystack[$this->yyidx + -2]->minor; }
|
|
#line 2243 "smarty_internal_templateparser.php"
|
|
#line 286 "smarty_internal_templateparser.y"
|
|
function yy_r67(){ $this->_retvalue = array('var' => $this->yystack[$this->yyidx + -2]->minor, 'value'=>$this->yystack[$this->yyidx + 0]->minor); }
|
|
#line 2246 "smarty_internal_templateparser.php"
|
|
#line 294 "smarty_internal_templateparser.y"
|
|
function yy_r69(){ $this->_retvalue = "'".$this->yystack[$this->yyidx + 0]->minor."'"; }
|
|
#line 2249 "smarty_internal_templateparser.php"
|
|
#line 296 "smarty_internal_templateparser.y"
|
|
function yy_r70(){$this->_retvalue = '$_smarty_tpl->getStreamVariable(\''. $this->yystack[$this->yyidx + -2]->minor .'://'. $this->yystack[$this->yyidx + 0]->minor . '\')'; }
|
|
#line 2252 "smarty_internal_templateparser.php"
|
|
#line 298 "smarty_internal_templateparser.y"
|
|
function yy_r71(){ $this->_retvalue = $this->yystack[$this->yyidx + -2]->minor . trim($this->yystack[$this->yyidx + -1]->minor) . $this->yystack[$this->yyidx + 0]->minor; }
|
|
#line 2255 "smarty_internal_templateparser.php"
|
|
#line 304 "smarty_internal_templateparser.y"
|
|
function yy_r74(){$this->_retvalue = $this->yystack[$this->yyidx + 0]->minor; }
|
|
#line 2258 "smarty_internal_templateparser.php"
|
|
#line 307 "smarty_internal_templateparser.y"
|
|
function yy_r75(){ $this->_retvalue = $this->compiler->compileTag('private_modifier',array('modifier'=>$this->yystack[$this->yyidx + -1]->minor,'params'=>$this->yystack[$this->yyidx + -2]->minor.$this->yystack[$this->yyidx + 0]->minor)); }
|
|
#line 2261 "smarty_internal_templateparser.php"
|
|
#line 311 "smarty_internal_templateparser.y"
|
|
function yy_r76(){$this->_retvalue = $this->yystack[$this->yyidx + -2]->minor.$this->yystack[$this->yyidx + -1]->minor.$this->yystack[$this->yyidx + 0]->minor; }
|
|
#line 2264 "smarty_internal_templateparser.php"
|
|
#line 312 "smarty_internal_templateparser.y"
|
|
function yy_r77(){$this->_retvalue = 'in_array('.$this->yystack[$this->yyidx + -2]->minor.','.$this->yystack[$this->yyidx + 0]->minor.')'; }
|
|
#line 2267 "smarty_internal_templateparser.php"
|
|
#line 313 "smarty_internal_templateparser.y"
|
|
function yy_r78(){$this->_retvalue = 'in_array('.$this->yystack[$this->yyidx + -2]->minor.',(array)'.$this->yystack[$this->yyidx + 0]->minor.')'; }
|
|
#line 2270 "smarty_internal_templateparser.php"
|
|
#line 315 "smarty_internal_templateparser.y"
|
|
function yy_r80(){$this->_retvalue = '!('.$this->yystack[$this->yyidx + -2]->minor.' % '.$this->yystack[$this->yyidx + 0]->minor.')'; }
|
|
#line 2273 "smarty_internal_templateparser.php"
|
|
#line 316 "smarty_internal_templateparser.y"
|
|
function yy_r81(){$this->_retvalue = '('.$this->yystack[$this->yyidx + -2]->minor.' % '.$this->yystack[$this->yyidx + 0]->minor.')'; }
|
|
#line 2276 "smarty_internal_templateparser.php"
|
|
#line 317 "smarty_internal_templateparser.y"
|
|
function yy_r82(){$this->_retvalue = '!(1 & '.$this->yystack[$this->yyidx + -1]->minor.')'; }
|
|
#line 2279 "smarty_internal_templateparser.php"
|
|
#line 318 "smarty_internal_templateparser.y"
|
|
function yy_r83(){$this->_retvalue = '(1 & '.$this->yystack[$this->yyidx + -1]->minor.')'; }
|
|
#line 2282 "smarty_internal_templateparser.php"
|
|
#line 319 "smarty_internal_templateparser.y"
|
|
function yy_r84(){$this->_retvalue = '!(1 & '.$this->yystack[$this->yyidx + -2]->minor.' / '.$this->yystack[$this->yyidx + 0]->minor.')'; }
|
|
#line 2285 "smarty_internal_templateparser.php"
|
|
#line 320 "smarty_internal_templateparser.y"
|
|
function yy_r85(){$this->_retvalue = '(1 & '.$this->yystack[$this->yyidx + -2]->minor.' / '.$this->yystack[$this->yyidx + 0]->minor.')'; }
|
|
#line 2288 "smarty_internal_templateparser.php"
|
|
#line 326 "smarty_internal_templateparser.y"
|
|
function yy_r91(){$this->prefix_number++; $this->compiler->prefix_code[] = '<?php $_tmp'.$this->prefix_number.'='.$this->yystack[$this->yyidx + 0]->minor.';?>'; $this->_retvalue = $this->yystack[$this->yyidx + -2]->minor.$this->yystack[$this->yyidx + -1]->minor.'$_tmp'.$this->prefix_number; }
|
|
#line 2291 "smarty_internal_templateparser.php"
|
|
#line 332 "smarty_internal_templateparser.y"
|
|
function yy_r92(){ $this->_retvalue = $this->yystack[$this->yyidx + -5]->minor.' ? '.$this->yystack[$this->yyidx + -2]->minor.' : '.$this->yystack[$this->yyidx + 0]->minor; }
|
|
#line 2294 "smarty_internal_templateparser.php"
|
|
#line 339 "smarty_internal_templateparser.y"
|
|
function yy_r95(){ $this->_retvalue = '!'.$this->yystack[$this->yyidx + 0]->minor; }
|
|
#line 2297 "smarty_internal_templateparser.php"
|
|
#line 344 "smarty_internal_templateparser.y"
|
|
function yy_r99(){ $this->_retvalue = $this->yystack[$this->yyidx + -2]->minor.'.'.$this->yystack[$this->yyidx + 0]->minor; }
|
|
#line 2300 "smarty_internal_templateparser.php"
|
|
#line 354 "smarty_internal_templateparser.y"
|
|
function yy_r103(){ $this->_retvalue = "(". $this->yystack[$this->yyidx + -1]->minor .")"; }
|
|
#line 2303 "smarty_internal_templateparser.php"
|
|
#line 360 "smarty_internal_templateparser.y"
|
|
function yy_r106(){if (!$this->template->security || $this->smarty->security_handler->isTrustedStaticClass($this->yystack[$this->yyidx + -2]->minor, $this->compiler)) {
|
|
$this->_retvalue = $this->yystack[$this->yyidx + -2]->minor.'::'.$this->yystack[$this->yyidx + 0]->minor;
|
|
} }
|
|
#line 2308 "smarty_internal_templateparser.php"
|
|
#line 364 "smarty_internal_templateparser.y"
|
|
function yy_r107(){ $this->prefix_number++; $this->compiler->prefix_code[] = '<?php ob_start();?>'.$this->yystack[$this->yyidx + 0]->minor.'<?php $_tmp'.$this->prefix_number.'=ob_get_clean();?>'; $this->_retvalue = '$_tmp'.$this->prefix_number; }
|
|
#line 2311 "smarty_internal_templateparser.php"
|
|
#line 373 "smarty_internal_templateparser.y"
|
|
function yy_r108(){if ($this->yystack[$this->yyidx + 0]->minor['var'] == '\'smarty\'') { $this->_retvalue = $this->compiler->compileTag('private_special_variable',$this->yystack[$this->yyidx + 0]->minor['smarty_internal_index']);} else {
|
|
$this->_retvalue = '$_smarty_tpl->getVariable('. $this->yystack[$this->yyidx + 0]->minor['var'] .')->value'.$this->yystack[$this->yyidx + 0]->minor['smarty_internal_index']; $this->compiler->tag_nocache=$this->compiler->tag_nocache|$this->template->getVariable(trim($this->yystack[$this->yyidx + 0]->minor['var'],"'"), null, true, false)->nocache;} }
|
|
#line 2315 "smarty_internal_templateparser.php"
|
|
#line 376 "smarty_internal_templateparser.y"
|
|
function yy_r109(){ $this->_retvalue = '$_smarty_tpl->getVariable('. $this->yystack[$this->yyidx + -2]->minor .')->'.$this->yystack[$this->yyidx + 0]->minor; $this->compiler->tag_nocache=$this->compiler->tag_nocache|$this->template->getVariable(trim($this->yystack[$this->yyidx + -2]->minor,"'"), null, true, false)->nocache; }
|
|
#line 2318 "smarty_internal_templateparser.php"
|
|
#line 380 "smarty_internal_templateparser.y"
|
|
function yy_r111(){$this->_retvalue = '$_smarty_tpl->getConfigVariable(\''. $this->yystack[$this->yyidx + -1]->minor .'\')'; }
|
|
#line 2321 "smarty_internal_templateparser.php"
|
|
#line 381 "smarty_internal_templateparser.y"
|
|
function yy_r112(){$this->_retvalue = '$_smarty_tpl->getConfigVariable('. $this->yystack[$this->yyidx + -1]->minor .')'; }
|
|
#line 2324 "smarty_internal_templateparser.php"
|
|
#line 384 "smarty_internal_templateparser.y"
|
|
function yy_r113(){$this->_retvalue = array('var'=>$this->yystack[$this->yyidx + -1]->minor, 'smarty_internal_index'=>$this->yystack[$this->yyidx + 0]->minor); }
|
|
#line 2327 "smarty_internal_templateparser.php"
|
|
#line 390 "smarty_internal_templateparser.y"
|
|
function yy_r114(){$this->_retvalue = $this->yystack[$this->yyidx + -1]->minor.$this->yystack[$this->yyidx + 0]->minor; }
|
|
#line 2330 "smarty_internal_templateparser.php"
|
|
#line 392 "smarty_internal_templateparser.y"
|
|
function yy_r115(){return; }
|
|
#line 2333 "smarty_internal_templateparser.php"
|
|
#line 396 "smarty_internal_templateparser.y"
|
|
function yy_r116(){ $this->_retvalue = '[$_smarty_tpl->getVariable('. $this->yystack[$this->yyidx + 0]->minor .')->value]'; $this->compiler->tag_nocache=$this->compiler->tag_nocache|$this->template->getVariable('$this->yystack[$this->yyidx + 0]->minor', null, true, false)->nocache; }
|
|
#line 2336 "smarty_internal_templateparser.php"
|
|
#line 397 "smarty_internal_templateparser.y"
|
|
function yy_r117(){ $this->_retvalue = '[$_smarty_tpl->getVariable('. $this->yystack[$this->yyidx + -2]->minor .')->'.$this->yystack[$this->yyidx + 0]->minor.']'; $this->compiler->tag_nocache=$this->compiler->tag_nocache|$this->template->getVariable(trim($this->yystack[$this->yyidx + -2]->minor,"'"), null, true, false)->nocache; }
|
|
#line 2339 "smarty_internal_templateparser.php"
|
|
#line 398 "smarty_internal_templateparser.y"
|
|
function yy_r118(){ $this->_retvalue = "['". $this->yystack[$this->yyidx + 0]->minor ."']"; }
|
|
#line 2342 "smarty_internal_templateparser.php"
|
|
#line 402 "smarty_internal_templateparser.y"
|
|
function yy_r121(){ $this->_retvalue = "[". $this->yystack[$this->yyidx + 0]->minor ."]"; }
|
|
#line 2345 "smarty_internal_templateparser.php"
|
|
#line 403 "smarty_internal_templateparser.y"
|
|
function yy_r122(){ $this->_retvalue = "[". $this->yystack[$this->yyidx + -1]->minor ."]"; }
|
|
#line 2348 "smarty_internal_templateparser.php"
|
|
#line 405 "smarty_internal_templateparser.y"
|
|
function yy_r123(){ $this->_retvalue = '['.$this->compiler->compileTag('private_special_variable','[\'section\'][\''.$this->yystack[$this->yyidx + -1]->minor.'\'][\'index\']').']'; }
|
|
#line 2351 "smarty_internal_templateparser.php"
|
|
#line 406 "smarty_internal_templateparser.y"
|
|
function yy_r124(){ $this->_retvalue = '['.$this->compiler->compileTag('private_special_variable','[\'section\'][\''.$this->yystack[$this->yyidx + -3]->minor.'\'][\''.$this->yystack[$this->yyidx + -1]->minor.'\']').']'; }
|
|
#line 2354 "smarty_internal_templateparser.php"
|
|
#line 410 "smarty_internal_templateparser.y"
|
|
function yy_r126(){$this->_retvalue = ''; }
|
|
#line 2357 "smarty_internal_templateparser.php"
|
|
#line 418 "smarty_internal_templateparser.y"
|
|
function yy_r128(){$this->_retvalue = $this->yystack[$this->yyidx + -1]->minor.'.'.$this->yystack[$this->yyidx + 0]->minor; }
|
|
#line 2360 "smarty_internal_templateparser.php"
|
|
#line 420 "smarty_internal_templateparser.y"
|
|
function yy_r129(){$this->_retvalue = '\''.$this->yystack[$this->yyidx + 0]->minor.'\''; }
|
|
#line 2363 "smarty_internal_templateparser.php"
|
|
#line 423 "smarty_internal_templateparser.y"
|
|
function yy_r130(){$this->_retvalue = '('.$this->yystack[$this->yyidx + -1]->minor.')'; }
|
|
#line 2366 "smarty_internal_templateparser.php"
|
|
#line 428 "smarty_internal_templateparser.y"
|
|
function yy_r131(){ if ($this->yystack[$this->yyidx + -1]->minor['var'] == '\'smarty\'') { $this->_retvalue = $this->compiler->compileTag('private_special_variable',$this->yystack[$this->yyidx + -1]->minor['smarty_internal_index']).$this->yystack[$this->yyidx + 0]->minor;} else {
|
|
$this->_retvalue = '$_smarty_tpl->getVariable('. $this->yystack[$this->yyidx + -1]->minor['var'] .')->value'.$this->yystack[$this->yyidx + -1]->minor['smarty_internal_index'].$this->yystack[$this->yyidx + 0]->minor; $this->compiler->tag_nocache=$this->compiler->tag_nocache|$this->template->getVariable(trim($this->yystack[$this->yyidx + -1]->minor['var'],"'"), null, true, false)->nocache;} }
|
|
#line 2370 "smarty_internal_templateparser.php"
|
|
#line 430 "smarty_internal_templateparser.y"
|
|
function yy_r132(){ if ($this->yystack[$this->yyidx + -2]->minor['var'] == '\'smarty\'') { $this->_retvalue = $this->compiler->compileTag('private_special_variable',$this->yystack[$this->yyidx + -2]->minor['smarty_internal_index']).'::'.$this->yystack[$this->yyidx + 0]->minor;} else {
|
|
$this->_retvalue = '$_smarty_tpl->getVariable('. $this->yystack[$this->yyidx + -2]->minor['var'] .')->value'.$this->yystack[$this->yyidx + -2]->minor['smarty_internal_index'].'::'.$this->yystack[$this->yyidx + 0]->minor; $this->compiler->tag_nocache=$this->compiler->tag_nocache|$this->template->getVariable(trim($this->yystack[$this->yyidx + -2]->minor['var'],"'"), null, true, false)->nocache;} }
|
|
#line 2374 "smarty_internal_templateparser.php"
|
|
#line 433 "smarty_internal_templateparser.y"
|
|
function yy_r133(){$this->_retvalue = $this->yystack[$this->yyidx + 0]->minor; }
|
|
#line 2377 "smarty_internal_templateparser.php"
|
|
#line 435 "smarty_internal_templateparser.y"
|
|
function yy_r134(){$this->_retvalue = $this->yystack[$this->yyidx + -1]->minor.$this->yystack[$this->yyidx + 0]->minor; }
|
|
#line 2380 "smarty_internal_templateparser.php"
|
|
#line 437 "smarty_internal_templateparser.y"
|
|
function yy_r135(){ $this->_retvalue = '->'.$this->yystack[$this->yyidx + -1]->minor.$this->yystack[$this->yyidx + 0]->minor; }
|
|
#line 2383 "smarty_internal_templateparser.php"
|
|
#line 438 "smarty_internal_templateparser.y"
|
|
function yy_r136(){ $this->_retvalue = '->{'.$this->yystack[$this->yyidx + -1]->minor.$this->yystack[$this->yyidx + 0]->minor.'}'; }
|
|
#line 2386 "smarty_internal_templateparser.php"
|
|
#line 439 "smarty_internal_templateparser.y"
|
|
function yy_r137(){ $this->_retvalue = '->{'.$this->yystack[$this->yyidx + -2]->minor.$this->yystack[$this->yyidx + 0]->minor.'}'; }
|
|
#line 2389 "smarty_internal_templateparser.php"
|
|
#line 440 "smarty_internal_templateparser.y"
|
|
function yy_r138(){ $this->_retvalue = '->{\''.$this->yystack[$this->yyidx + -4]->minor.'\'.'.$this->yystack[$this->yyidx + -2]->minor.$this->yystack[$this->yyidx + 0]->minor.'}'; }
|
|
#line 2392 "smarty_internal_templateparser.php"
|
|
#line 442 "smarty_internal_templateparser.y"
|
|
function yy_r139(){ $this->_retvalue = '->'.$this->yystack[$this->yyidx + 0]->minor; }
|
|
#line 2395 "smarty_internal_templateparser.php"
|
|
#line 448 "smarty_internal_templateparser.y"
|
|
function yy_r140(){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 2404 "smarty_internal_templateparser.php"
|
|
#line 459 "smarty_internal_templateparser.y"
|
|
function yy_r141(){ $this->_retvalue = $this->yystack[$this->yyidx + -3]->minor . "(". $this->yystack[$this->yyidx + -1]->minor .")"; }
|
|
#line 2407 "smarty_internal_templateparser.php"
|
|
#line 463 "smarty_internal_templateparser.y"
|
|
function yy_r142(){ $this->_retvalue = $this->yystack[$this->yyidx + -2]->minor.",".$this->yystack[$this->yyidx + 0]->minor; }
|
|
#line 2410 "smarty_internal_templateparser.php"
|
|
#line 467 "smarty_internal_templateparser.y"
|
|
function yy_r144(){ return; }
|
|
#line 2413 "smarty_internal_templateparser.php"
|
|
#line 472 "smarty_internal_templateparser.y"
|
|
function yy_r145(){ $this->_retvalue = $this->yystack[$this->yyidx + 0]->minor; }
|
|
#line 2416 "smarty_internal_templateparser.php"
|
|
#line 477 "smarty_internal_templateparser.y"
|
|
function yy_r148(){ $this->prefix_number++; $this->compiler->prefix_code[] = '<?php $_tmp'.$this->prefix_number.'=$_smarty_tpl->getVariable(\''. $this->yystack[$this->yyidx + -3]->minor .'\')->value;?>'; $this->_retvalue = '$_tmp'.$this->prefix_number.'('. $this->yystack[$this->yyidx + -1]->minor .')'; }
|
|
#line 2419 "smarty_internal_templateparser.php"
|
|
#line 480 "smarty_internal_templateparser.y"
|
|
function yy_r150(){ $this->prefix_number++; $this->compiler->prefix_code[] = '<?php $_tmp'.$this->prefix_number.'=$_smarty_tpl->getVariable(\''. $this->yystack[$this->yyidx + -4]->minor .'\')->value;?>'; $this->_retvalue = '$_tmp'.$this->prefix_number.'('. $this->yystack[$this->yyidx + -2]->minor .')'.$this->yystack[$this->yyidx + 0]->minor; }
|
|
#line 2422 "smarty_internal_templateparser.php"
|
|
#line 484 "smarty_internal_templateparser.y"
|
|
function yy_r152(){ $this->_retvalue = '$'.$this->yystack[$this->yyidx + -1]->minor.$this->yystack[$this->yyidx + 0]->minor; }
|
|
#line 2425 "smarty_internal_templateparser.php"
|
|
#line 486 "smarty_internal_templateparser.y"
|
|
function yy_r153(){ $this->_retvalue = '$'.$this->yystack[$this->yyidx + -2]->minor.$this->yystack[$this->yyidx + -1]->minor.$this->yystack[$this->yyidx + 0]->minor; }
|
|
#line 2428 "smarty_internal_templateparser.php"
|
|
#line 497 "smarty_internal_templateparser.y"
|
|
function yy_r154(){ $this->_retvalue = $this->yystack[$this->yyidx + -1]->minor.$this->yystack[$this->yyidx + 0]->minor; }
|
|
#line 2431 "smarty_internal_templateparser.php"
|
|
#line 501 "smarty_internal_templateparser.y"
|
|
function yy_r156(){$this->_retvalue = ','.$this->yystack[$this->yyidx + 0]->minor; }
|
|
#line 2434 "smarty_internal_templateparser.php"
|
|
#line 503 "smarty_internal_templateparser.y"
|
|
function yy_r158(){$this->_retvalue = ',\''.$this->yystack[$this->yyidx + 0]->minor.'\''; }
|
|
#line 2437 "smarty_internal_templateparser.php"
|
|
#line 506 "smarty_internal_templateparser.y"
|
|
function yy_r159(){$this->_retvalue = '=='; }
|
|
#line 2440 "smarty_internal_templateparser.php"
|
|
#line 507 "smarty_internal_templateparser.y"
|
|
function yy_r160(){$this->_retvalue = '!='; }
|
|
#line 2443 "smarty_internal_templateparser.php"
|
|
#line 508 "smarty_internal_templateparser.y"
|
|
function yy_r161(){$this->_retvalue = '>'; }
|
|
#line 2446 "smarty_internal_templateparser.php"
|
|
#line 509 "smarty_internal_templateparser.y"
|
|
function yy_r162(){$this->_retvalue = '<'; }
|
|
#line 2449 "smarty_internal_templateparser.php"
|
|
#line 510 "smarty_internal_templateparser.y"
|
|
function yy_r163(){$this->_retvalue = '>='; }
|
|
#line 2452 "smarty_internal_templateparser.php"
|
|
#line 511 "smarty_internal_templateparser.y"
|
|
function yy_r164(){$this->_retvalue = '<='; }
|
|
#line 2455 "smarty_internal_templateparser.php"
|
|
#line 512 "smarty_internal_templateparser.y"
|
|
function yy_r165(){$this->_retvalue = '==='; }
|
|
#line 2458 "smarty_internal_templateparser.php"
|
|
#line 513 "smarty_internal_templateparser.y"
|
|
function yy_r166(){$this->_retvalue = '!=='; }
|
|
#line 2461 "smarty_internal_templateparser.php"
|
|
#line 514 "smarty_internal_templateparser.y"
|
|
function yy_r167(){$this->_retvalue = '%'; }
|
|
#line 2464 "smarty_internal_templateparser.php"
|
|
#line 516 "smarty_internal_templateparser.y"
|
|
function yy_r168(){$this->_retvalue = '&&'; }
|
|
#line 2467 "smarty_internal_templateparser.php"
|
|
#line 517 "smarty_internal_templateparser.y"
|
|
function yy_r169(){$this->_retvalue = '||'; }
|
|
#line 2470 "smarty_internal_templateparser.php"
|
|
#line 518 "smarty_internal_templateparser.y"
|
|
function yy_r170(){$this->_retvalue = ' XOR '; }
|
|
#line 2473 "smarty_internal_templateparser.php"
|
|
#line 523 "smarty_internal_templateparser.y"
|
|
function yy_r171(){ $this->_retvalue = 'array('.$this->yystack[$this->yyidx + -1]->minor.')'; }
|
|
#line 2476 "smarty_internal_templateparser.php"
|
|
#line 525 "smarty_internal_templateparser.y"
|
|
function yy_r173(){ $this->_retvalue = $this->yystack[$this->yyidx + -2]->minor.','.$this->yystack[$this->yyidx + 0]->minor; }
|
|
#line 2479 "smarty_internal_templateparser.php"
|
|
#line 526 "smarty_internal_templateparser.y"
|
|
function yy_r174(){ return; }
|
|
#line 2482 "smarty_internal_templateparser.php"
|
|
#line 527 "smarty_internal_templateparser.y"
|
|
function yy_r175(){ $this->_retvalue = $this->yystack[$this->yyidx + -2]->minor.'=>'.$this->yystack[$this->yyidx + 0]->minor; }
|
|
#line 2485 "smarty_internal_templateparser.php"
|
|
#line 528 "smarty_internal_templateparser.y"
|
|
function yy_r176(){ $this->_retvalue = '\''.$this->yystack[$this->yyidx + -2]->minor.'\'=>'.$this->yystack[$this->yyidx + 0]->minor; }
|
|
#line 2488 "smarty_internal_templateparser.php"
|
|
#line 535 "smarty_internal_templateparser.y"
|
|
function yy_r178(){ $this->_retvalue = "''"; }
|
|
#line 2491 "smarty_internal_templateparser.php"
|
|
#line 536 "smarty_internal_templateparser.y"
|
|
function yy_r179(){ $this->_retvalue = $this->yystack[$this->yyidx + -1]->minor->to_smarty_php(); }
|
|
#line 2494 "smarty_internal_templateparser.php"
|
|
#line 538 "smarty_internal_templateparser.y"
|
|
function yy_r180(){ $this->yystack[$this->yyidx + -1]->minor->append_subtree($this->yystack[$this->yyidx + 0]->minor); $this->_retvalue = $this->yystack[$this->yyidx + -1]->minor; }
|
|
#line 2497 "smarty_internal_templateparser.php"
|
|
#line 539 "smarty_internal_templateparser.y"
|
|
function yy_r181(){ $this->_retvalue = new _smarty_doublequoted($this, $this->yystack[$this->yyidx + 0]->minor); }
|
|
#line 2500 "smarty_internal_templateparser.php"
|
|
#line 541 "smarty_internal_templateparser.y"
|
|
function yy_r182(){ $this->_retvalue = new _smarty_code($this, $this->yystack[$this->yyidx + -1]->minor); }
|
|
#line 2503 "smarty_internal_templateparser.php"
|
|
#line 543 "smarty_internal_templateparser.y"
|
|
function yy_r184(){
|
|
$this->_retvalue = new _smarty_code($this, '$_smarty_tpl->getVariable(\''. substr($this->yystack[$this->yyidx + 0]->minor,1) .'\')->value');
|
|
$this->compiler->tag_nocache = $this->compiler->tag_nocache | $this->template->getVariable(trim($this->yystack[$this->yyidx + 0]->minor,"'"), null, true, false)->nocache;
|
|
}
|
|
#line 2509 "smarty_internal_templateparser.php"
|
|
#line 548 "smarty_internal_templateparser.y"
|
|
function yy_r186(){ $this->_retvalue = new _smarty_code($this, '('.$this->yystack[$this->yyidx + -1]->minor.')'); }
|
|
#line 2512 "smarty_internal_templateparser.php"
|
|
#line 549 "smarty_internal_templateparser.y"
|
|
function yy_r187(){
|
|
$this->_retvalue = new _smarty_tag($this, $this->yystack[$this->yyidx + 0]->minor);
|
|
}
|
|
#line 2517 "smarty_internal_templateparser.php"
|
|
#line 552 "smarty_internal_templateparser.y"
|
|
function yy_r188(){ $this->_retvalue = new _smarty_dq_content($this, $this->yystack[$this->yyidx + 0]->minor); }
|
|
#line 2520 "smarty_internal_templateparser.php"
|
|
|
|
private $_retvalue;
|
|
|
|
function yy_reduce($yyruleno)
|
|
{
|
|
$yymsp = $this->yystack[$this->yyidx];
|
|
if (self::$yyTraceFILE && $yyruleno >= 0
|
|
&& $yyruleno < count(self::$yyRuleName)) {
|
|
fprintf(self::$yyTraceFILE, "%sReduce (%d) [%s].\n",
|
|
self::$yyTracePrompt, $yyruleno,
|
|
self::$yyRuleName[$yyruleno]);
|
|
}
|
|
|
|
$this->_retvalue = $yy_lefthand_side = null;
|
|
if (array_key_exists($yyruleno, self::$yyReduceMap)) {
|
|
// call the action
|
|
$this->_retvalue = null;
|
|
$this->{'yy_r' . self::$yyReduceMap[$yyruleno]}();
|
|
$yy_lefthand_side = $this->_retvalue;
|
|
}
|
|
$yygoto = self::$yyRuleInfo[$yyruleno]['lhs'];
|
|
$yysize = self::$yyRuleInfo[$yyruleno]['rhs'];
|
|
$this->yyidx -= $yysize;
|
|
for($i = $yysize; $i; $i--) {
|
|
// pop all of the right-hand side parameters
|
|
array_pop($this->yystack);
|
|
}
|
|
$yyact = $this->yy_find_reduce_action($this->yystack[$this->yyidx]->stateno, $yygoto);
|
|
if ($yyact < self::YYNSTATE) {
|
|
if (!self::$yyTraceFILE && $yysize) {
|
|
$this->yyidx++;
|
|
$x = new TP_yyStackEntry;
|
|
$x->stateno = $yyact;
|
|
$x->major = $yygoto;
|
|
$x->minor = $yy_lefthand_side;
|
|
$this->yystack[$this->yyidx] = $x;
|
|
} else {
|
|
$this->yy_shift($yyact, $yygoto, $yy_lefthand_side);
|
|
}
|
|
} elseif ($yyact == self::YYNSTATE + self::YYNRULE + 1) {
|
|
$this->yy_accept();
|
|
}
|
|
}
|
|
|
|
function yy_parse_failed()
|
|
{
|
|
if (self::$yyTraceFILE) {
|
|
fprintf(self::$yyTraceFILE, "%sFail!\n", self::$yyTracePrompt);
|
|
}
|
|
while ($this->yyidx >= 0) {
|
|
$this->yy_pop_parser_stack();
|
|
}
|
|
}
|
|
|
|
function yy_syntax_error($yymajor, $TOKEN)
|
|
{
|
|
#line 73 "smarty_internal_templateparser.y"
|
|
|
|
$this->internalError = true;
|
|
$this->yymajor = $yymajor;
|
|
$this->compiler->trigger_template_error();
|
|
#line 2583 "smarty_internal_templateparser.php"
|
|
}
|
|
|
|
function yy_accept()
|
|
{
|
|
if (self::$yyTraceFILE) {
|
|
fprintf(self::$yyTraceFILE, "%sAccept!\n", self::$yyTracePrompt);
|
|
}
|
|
while ($this->yyidx >= 0) {
|
|
$stack = $this->yy_pop_parser_stack();
|
|
}
|
|
#line 65 "smarty_internal_templateparser.y"
|
|
|
|
$this->successful = !$this->internalError;
|
|
$this->internalError = false;
|
|
$this->retvalue = $this->_retvalue;
|
|
//echo $this->retvalue."\n\n";
|
|
#line 2601 "smarty_internal_templateparser.php"
|
|
}
|
|
|
|
function doParse($yymajor, $yytokenvalue)
|
|
{
|
|
$yyerrorhit = 0; /* True if yymajor has invoked an error */
|
|
|
|
if ($this->yyidx === null || $this->yyidx < 0) {
|
|
$this->yyidx = 0;
|
|
$this->yyerrcnt = -1;
|
|
$x = new TP_yyStackEntry;
|
|
$x->stateno = 0;
|
|
$x->major = 0;
|
|
$this->yystack = array();
|
|
array_push($this->yystack, $x);
|
|
}
|
|
$yyendofinput = ($yymajor==0);
|
|
|
|
if (self::$yyTraceFILE) {
|
|
fprintf(self::$yyTraceFILE, "%sInput %s\n",
|
|
self::$yyTracePrompt, $this->yyTokenName[$yymajor]);
|
|
}
|
|
|
|
do {
|
|
$yyact = $this->yy_find_shift_action($yymajor);
|
|
if ($yymajor < self::YYERRORSYMBOL &&
|
|
!$this->yy_is_expected_token($yymajor)) {
|
|
// force a syntax error
|
|
$yyact = self::YY_ERROR_ACTION;
|
|
}
|
|
if ($yyact < self::YYNSTATE) {
|
|
$this->yy_shift($yyact, $yymajor, $yytokenvalue);
|
|
$this->yyerrcnt--;
|
|
if ($yyendofinput && $this->yyidx >= 0) {
|
|
$yymajor = 0;
|
|
} else {
|
|
$yymajor = self::YYNOCODE;
|
|
}
|
|
} elseif ($yyact < self::YYNSTATE + self::YYNRULE) {
|
|
$this->yy_reduce($yyact - self::YYNSTATE);
|
|
} elseif ($yyact == self::YY_ERROR_ACTION) {
|
|
if (self::$yyTraceFILE) {
|
|
fprintf(self::$yyTraceFILE, "%sSyntax Error!\n",
|
|
self::$yyTracePrompt);
|
|
}
|
|
if (self::YYERRORSYMBOL) {
|
|
if ($this->yyerrcnt < 0) {
|
|
$this->yy_syntax_error($yymajor, $yytokenvalue);
|
|
}
|
|
$yymx = $this->yystack[$this->yyidx]->major;
|
|
if ($yymx == self::YYERRORSYMBOL || $yyerrorhit ){
|
|
if (self::$yyTraceFILE) {
|
|
fprintf(self::$yyTraceFILE, "%sDiscard input token %s\n",
|
|
self::$yyTracePrompt, $this->yyTokenName[$yymajor]);
|
|
}
|
|
$this->yy_destructor($yymajor, $yytokenvalue);
|
|
$yymajor = self::YYNOCODE;
|
|
} else {
|
|
while ($this->yyidx >= 0 &&
|
|
$yymx != self::YYERRORSYMBOL &&
|
|
($yyact = $this->yy_find_shift_action(self::YYERRORSYMBOL)) >= self::YYNSTATE
|
|
){
|
|
$this->yy_pop_parser_stack();
|
|
}
|
|
if ($this->yyidx < 0 || $yymajor==0) {
|
|
$this->yy_destructor($yymajor, $yytokenvalue);
|
|
$this->yy_parse_failed();
|
|
$yymajor = self::YYNOCODE;
|
|
} elseif ($yymx != self::YYERRORSYMBOL) {
|
|
$u2 = 0;
|
|
$this->yy_shift($yyact, self::YYERRORSYMBOL, $u2);
|
|
}
|
|
}
|
|
$this->yyerrcnt = 3;
|
|
$yyerrorhit = 1;
|
|
} else {
|
|
if ($this->yyerrcnt <= 0) {
|
|
$this->yy_syntax_error($yymajor, $yytokenvalue);
|
|
}
|
|
$this->yyerrcnt = 3;
|
|
$this->yy_destructor($yymajor, $yytokenvalue);
|
|
if ($yyendofinput) {
|
|
$this->yy_parse_failed();
|
|
}
|
|
$yymajor = self::YYNOCODE;
|
|
}
|
|
} else {
|
|
$this->yy_accept();
|
|
$yymajor = self::YYNOCODE;
|
|
}
|
|
} while ($yymajor != self::YYNOCODE && $this->yyidx >= 0);
|
|
}
|
|
}
|
|
?>
|