summaryrefslogtreecommitdiff
path: root/lib/smarty/sysplugins/smarty_internal_templateparser.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/smarty/sysplugins/smarty_internal_templateparser.php')
-rw-r--r--lib/smarty/sysplugins/smarty_internal_templateparser.php6126
1 files changed, 3200 insertions, 2926 deletions
diff --git a/lib/smarty/sysplugins/smarty_internal_templateparser.php b/lib/smarty/sysplugins/smarty_internal_templateparser.php
index e32461b..b008715 100644
--- a/lib/smarty/sysplugins/smarty_internal_templateparser.php
+++ b/lib/smarty/sysplugins/smarty_internal_templateparser.php
@@ -1,1531 +1,1772 @@
<?php
+
+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 11 "../smarty/lexer/smarty_internal_templateparser.y"
+
/**
-* 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
+ * Smarty Template Parser Class
+ *
+ * This is the template parser.
+ * It is generated from the smarty_internal_templateparser.y file
+ *
+ * @author Uwe Tews <uwe.tews@googlemail.com>
+ */
+class Smarty_Internal_Templateparser
{
- public $string = '';
- public $metadata = array();
+ // line 23 "../smarty/lexer/smarty_internal_templateparser.y"
+ const ERR1 = 'Security error: Call to private object member not allowed';
+ const ERR2 = 'Security error: Call to dynamic object member not allowed';
+ const ERR3 = 'PHP in template not allowed. Use SmartyBC to enable it';
+ const TP_VERT = 1;
+ const TP_COLON = 2;
+ const TP_UNIMATH = 3;
+ const TP_PHP = 4;
+ const TP_TEXT = 5;
+ const TP_STRIPON = 6;
+ const TP_STRIPOFF = 7;
+ const TP_LITERALSTART = 8;
+ const TP_LITERALEND = 9;
+ const TP_LITERAL = 10;
+ const TP_SIMPELOUTPUT = 11;
+ const TP_SIMPLETAG = 12;
+ const TP_SMARTYBLOCKCHILDPARENT = 13;
+ const TP_LDEL = 14;
+ const TP_RDEL = 15;
+ const TP_DOLLARID = 16;
+ const TP_EQUAL = 17;
+ const TP_ID = 18;
+ const TP_PTR = 19;
+ const TP_LDELMAKENOCACHE = 20;
+ const TP_LDELIF = 21;
+ const TP_LDELFOR = 22;
+ const TP_SEMICOLON = 23;
+ const TP_INCDEC = 24;
+ const TP_TO = 25;
+ const TP_STEP = 26;
+ const TP_LDELFOREACH = 27;
+ const TP_SPACE = 28;
+ const TP_AS = 29;
+ const TP_APTR = 30;
+ const TP_LDELSETFILTER = 31;
+ const TP_CLOSETAG = 32;
+ const TP_LDELSLASH = 33;
+ const TP_ATTR = 34;
+ const TP_INTEGER = 35;
+ const TP_COMMA = 36;
+ const TP_OPENP = 37;
+ const TP_CLOSEP = 38;
+ const TP_MATH = 39;
+ const TP_ISIN = 40;
+ const TP_QMARK = 41;
+ const TP_NOT = 42;
+ const TP_TYPECAST = 43;
+ const TP_HEX = 44;
+ const TP_DOT = 45;
+ const TP_INSTANCEOF = 46;
+ const TP_SINGLEQUOTESTRING = 47;
+ const TP_DOUBLECOLON = 48;
+ const TP_NAMESPACE = 49;
+ const TP_AT = 50;
+ const TP_HATCH = 51;
+ const TP_OPENB = 52;
+ const TP_CLOSEB = 53;
+ const TP_DOLLAR = 54;
+ const TP_LOGOP = 55;
+ const TP_SLOGOP = 56;
+ const TP_TLOGOP = 57;
+ const TP_SINGLECOND = 58;
+ const TP_QUOTE = 59;
+ const TP_BACKTICK = 60;
+ const YY_NO_ACTION = 511;
+ const YY_ACCEPT_ACTION = 510;
+ const YY_ERROR_ACTION = 509;
+ const YY_SZ_ACTTAB = 2076;
+ const YY_SHIFT_USE_DFLT = -23;
+ const YY_SHIFT_MAX = 227;
+ const YY_REDUCE_USE_DFLT = -68;
+ const YY_REDUCE_MAX = 176;
+ const YYNOCODE = 108;
+ const YYSTACKDEPTH = 500;
+ const YYNSTATE = 323;
+ const YYNRULE = 186;
+ const YYERRORSYMBOL = 61;
+ const YYERRSYMDT = 'yy0';
+ const YYFALLBACK = 0;
- 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;
- }
- }
- }
+ public static $yy_action = array(
+ 42, 266, 267, 379, 115, 202, 27, 204, 260, 235,
+ 237, 1, 17, 125, 94, 182, 379, 215, 10, 79,
+ 317, 168, 379, 12, 107, 425, 308, 318, 224, 298,
+ 218, 129, 189, 292, 21, 203, 425, 27, 11, 39,
+ 38, 299, 219, 17, 213, 385, 191, 245, 77, 3,
+ 303, 315, 42, 385, 160, 385, 75, 29, 385, 95,
+ 260, 235, 237, 1, 385, 126, 385, 193, 385, 215,
+ 10, 79, 80, 290, 145, 226, 107, 148, 172, 150,
+ 224, 298, 218, 85, 217, 315, 21, 280, 101, 280,
+ 141, 39, 38, 299, 219, 20, 287, 183, 191, 232,
+ 77, 3, 42, 315, 16, 176, 316, 172, 75, 275,
+ 260, 235, 237, 1, 167, 128, 236, 193, 319, 215,
+ 10, 79, 345, 40, 14, 257, 107, 319, 345, 5,
+ 224, 298, 218, 89, 217, 315, 30, 292, 172, 203,
+ 74, 39, 38, 299, 219, 132, 287, 205, 191, 74,
+ 77, 3, 42, 315, 210, 194, 310, 99, 75, 345,
+ 260, 235, 237, 1, 425, 126, 87, 179, 319, 215,
+ 10, 79, 345, 95, 195, 425, 107, 272, 345, 176,
+ 224, 298, 218, 315, 199, 115, 21, 128, 278, 209,
+ 74, 39, 38, 299, 219, 94, 287, 226, 191, 129,
+ 77, 3, 42, 315, 277, 309, 11, 308, 75, 13,
+ 260, 235, 237, 1, 163, 127, 425, 193, 319, 215,
+ 10, 79, 77, 254, 19, 315, 107, 425, 137, 34,
+ 224, 298, 218, 196, 217, 33, 21, 220, 280, 159,
+ 74, 39, 38, 299, 219, 196, 287, 8, 191, 162,
+ 77, 3, 42, 315, 294, 222, 196, 438, 75, 378,
+ 260, 235, 237, 1, 438, 126, 16, 193, 271, 215,
+ 10, 79, 378, 172, 302, 315, 107, 175, 378, 267,
+ 224, 298, 218, 27, 178, 252, 21, 164, 296, 17,
+ 83, 39, 38, 299, 219, 196, 287, 205, 191, 170,
+ 77, 3, 42, 315, 270, 18, 144, 99, 75, 346,
+ 260, 235, 237, 1, 142, 126, 280, 177, 84, 215,
+ 10, 79, 346, 172, 280, 4, 107, 95, 346, 321,
+ 224, 298, 218, 438, 217, 131, 21, 321, 426, 24,
+ 438, 39, 38, 299, 219, 196, 287, 205, 191, 426,
+ 77, 3, 42, 315, 201, 9, 101, 99, 75, 381,
+ 260, 235, 237, 1, 149, 124, 102, 193, 22, 215,
+ 10, 79, 381, 315, 99, 231, 107, 311, 381, 425,
+ 224, 298, 218, 23, 217, 319, 7, 207, 196, 17,
+ 425, 39, 38, 299, 219, 307, 287, 36, 191, 154,
+ 77, 3, 42, 315, 161, 296, 227, 74, 75, 280,
+ 260, 235, 237, 1, 16, 91, 273, 76, 312, 215,
+ 10, 79, 317, 208, 190, 12, 107, 176, 196, 318,
+ 224, 298, 218, 135, 217, 321, 21, 196, 35, 95,
+ 263, 39, 38, 299, 219, 157, 287, 111, 191, 88,
+ 77, 3, 42, 315, 169, 280, 225, 15, 75, 285,
+ 260, 235, 237, 1, 155, 126, 226, 184, 101, 215,
+ 10, 79, 454, 172, 280, 454, 107, 246, 253, 454,
+ 224, 298, 218, 152, 217, 111, 21, 161, 296, 265,
+ 6, 39, 38, 299, 219, 269, 287, 203, 191, 119,
+ 77, 3, 42, 315, 158, 262, 321, 274, 75, 97,
+ 260, 235, 237, 1, 153, 128, 165, 193, 151, 215,
+ 10, 79, 317, 43, 280, 12, 107, 320, 280, 318,
+ 224, 298, 218, 8, 217, 171, 30, 306, 196, 36,
+ 172, 39, 38, 299, 219, 264, 287, 256, 191, 128,
+ 77, 288, 78, 315, 510, 90, 166, 296, 75, 41,
+ 37, 223, 104, 228, 250, 251, 255, 122, 226, 289,
+ 260, 235, 237, 1, 239, 233, 238, 240, 241, 215,
+ 10, 79, 229, 305, 77, 304, 107, 315, 281, 300,
+ 224, 298, 218, 261, 211, 203, 314, 28, 86, 108,
+ 140, 181, 96, 61, 214, 247, 317, 454, 94, 12,
+ 454, 297, 322, 318, 454, 29, 259, 192, 249, 248,
+ 308, 313, 138, 27, 302, 143, 130, 82, 95, 17,
+ 261, 211, 203, 314, 252, 86, 108, 286, 180, 96,
+ 50, 136, 139, 100, 152, 94, 454, 81, 297, 322,
+ 295, 321, 146, 259, 192, 249, 295, 308, 261, 295,
+ 203, 295, 295, 110, 295, 295, 197, 105, 64, 295,
+ 295, 295, 295, 94, 295, 295, 297, 322, 295, 295,
+ 295, 259, 192, 249, 261, 308, 203, 276, 295, 110,
+ 108, 295, 181, 96, 61, 187, 282, 295, 317, 94,
+ 295, 12, 297, 322, 295, 318, 295, 259, 192, 249,
+ 295, 308, 295, 291, 295, 295, 295, 295, 295, 260,
+ 235, 237, 2, 295, 293, 295, 295, 295, 215, 10,
+ 79, 295, 295, 295, 295, 107, 291, 206, 295, 224,
+ 298, 218, 260, 235, 237, 2, 295, 293, 295, 295,
+ 295, 215, 10, 79, 295, 295, 295, 295, 107, 295,
+ 295, 295, 224, 298, 218, 295, 295, 295, 26, 261,
+ 295, 203, 295, 295, 110, 295, 295, 197, 113, 60,
+ 295, 295, 295, 295, 94, 156, 295, 297, 322, 167,
+ 284, 26, 259, 192, 249, 280, 308, 295, 40, 14,
+ 257, 295, 261, 200, 203, 295, 295, 110, 295, 295,
+ 197, 105, 64, 172, 295, 295, 295, 94, 295, 295,
+ 297, 322, 295, 295, 295, 259, 192, 249, 295, 308,
+ 295, 295, 295, 295, 261, 295, 203, 295, 295, 98,
+ 283, 295, 197, 113, 51, 295, 201, 295, 295, 94,
+ 295, 295, 297, 322, 295, 295, 295, 259, 192, 249,
+ 261, 308, 203, 295, 295, 110, 295, 295, 197, 113,
+ 60, 295, 295, 295, 295, 94, 295, 295, 297, 322,
+ 295, 295, 295, 259, 192, 249, 295, 308, 261, 295,
+ 203, 295, 295, 110, 188, 295, 197, 113, 60, 196,
+ 31, 43, 295, 94, 295, 295, 297, 322, 295, 295,
+ 295, 259, 192, 249, 295, 308, 261, 295, 203, 295,
+ 295, 98, 198, 295, 197, 113, 45, 295, 109, 295,
+ 295, 94, 295, 295, 297, 322, 295, 41, 37, 259,
+ 192, 249, 261, 308, 203, 295, 295, 110, 295, 295,
+ 197, 113, 67, 233, 238, 240, 241, 94, 295, 295,
+ 297, 322, 295, 295, 295, 259, 192, 249, 295, 308,
+ 261, 295, 203, 295, 295, 110, 295, 295, 197, 113,
+ 57, 196, 295, 43, 295, 94, 295, 295, 297, 322,
+ 295, 295, 295, 259, 192, 249, 295, 308, 261, 295,
+ 203, 295, 295, 110, 295, 295, 197, 113, 46, 295,
+ 295, 295, 295, 94, 295, 295, 297, 322, 295, 41,
+ 37, 259, 192, 249, 261, 308, 203, 295, 295, 110,
+ 295, 295, 197, 113, 66, 233, 238, 240, 241, 94,
+ 301, 295, 297, 322, 295, 295, 295, 259, 192, 249,
+ 295, 308, 261, 295, 203, 295, 295, 110, 295, 295,
+ 197, 113, 72, 196, 295, 43, 295, 94, 295, 295,
+ 297, 322, 295, 295, 295, 259, 192, 249, 295, 308,
+ 261, 295, 203, 295, 295, 110, 295, 295, 197, 113,
+ 53, 295, 295, 295, 295, 94, 295, 295, 297, 322,
+ 230, 41, 37, 259, 192, 249, 261, 308, 203, 295,
+ 295, 110, 295, 295, 197, 113, 48, 233, 238, 240,
+ 241, 94, 295, 295, 297, 322, 295, 295, 295, 259,
+ 192, 249, 295, 308, 261, 295, 203, 295, 295, 110,
+ 295, 295, 185, 103, 49, 196, 295, 43, 295, 94,
+ 295, 295, 297, 322, 295, 295, 295, 259, 192, 249,
+ 295, 308, 261, 295, 203, 295, 295, 110, 295, 295,
+ 197, 113, 55, 134, 295, 295, 295, 94, 295, 295,
+ 297, 322, 295, 41, 37, 259, 192, 249, 261, 308,
+ 203, 295, 295, 110, 295, 295, 197, 113, 71, 233,
+ 238, 240, 241, 94, 295, 295, 297, 322, 295, 295,
+ 295, 259, 192, 249, 295, 308, 261, 295, 203, 295,
+ 295, 110, 295, 295, 197, 113, 59, 196, 295, 43,
+ 295, 94, 295, 295, 297, 322, 295, 295, 295, 259,
+ 192, 249, 295, 308, 261, 295, 203, 295, 295, 110,
+ 295, 295, 197, 113, 63, 295, 295, 295, 295, 94,
+ 295, 295, 297, 322, 216, 41, 37, 259, 192, 249,
+ 261, 308, 203, 295, 295, 110, 295, 295, 197, 113,
+ 62, 233, 238, 240, 241, 94, 295, 295, 297, 322,
+ 295, 295, 295, 259, 192, 249, 295, 308, 261, 295,
+ 203, 295, 295, 110, 295, 295, 197, 92, 69, 196,
+ 295, 43, 295, 94, 295, 295, 297, 322, 295, 295,
+ 295, 259, 192, 249, 295, 308, 261, 295, 203, 295,
+ 295, 110, 295, 295, 197, 113, 52, 295, 295, 295,
+ 295, 94, 295, 295, 297, 322, 295, 41, 37, 259,
+ 192, 249, 261, 308, 203, 295, 295, 110, 295, 295,
+ 197, 113, 65, 233, 238, 240, 241, 94, 295, 295,
+ 297, 322, 295, 196, 295, 259, 192, 249, 295, 308,
+ 261, 295, 203, 295, 295, 110, 295, 349, 197, 113,
+ 58, 221, 295, 295, 295, 94, 295, 295, 297, 322,
+ 27, 295, 295, 259, 192, 249, 17, 308, 261, 425,
+ 203, 295, 295, 110, 295, 295, 197, 113, 56, 295,
+ 425, 295, 295, 94, 295, 295, 297, 322, 295, 295,
+ 295, 259, 192, 249, 261, 308, 203, 295, 295, 110,
+ 295, 295, 197, 113, 44, 295, 295, 295, 295, 94,
+ 295, 295, 297, 322, 295, 295, 295, 259, 192, 249,
+ 295, 308, 261, 295, 203, 295, 295, 110, 295, 295,
+ 197, 93, 70, 295, 295, 295, 295, 94, 295, 295,
+ 297, 322, 295, 295, 295, 259, 192, 249, 295, 308,
+ 261, 295, 203, 295, 295, 110, 295, 295, 186, 113,
+ 54, 295, 295, 295, 295, 94, 295, 295, 297, 322,
+ 295, 295, 295, 259, 192, 249, 261, 308, 203, 295,
+ 295, 110, 295, 295, 197, 113, 73, 295, 295, 295,
+ 295, 94, 295, 295, 297, 322, 295, 295, 295, 259,
+ 192, 249, 295, 308, 261, 295, 203, 295, 295, 110,
+ 295, 295, 197, 113, 68, 295, 295, 295, 295, 94,
+ 295, 295, 297, 322, 295, 295, 295, 259, 192, 249,
+ 295, 308, 261, 295, 203, 295, 295, 110, 295, 295,
+ 197, 93, 47, 295, 295, 295, 295, 94, 295, 295,
+ 297, 322, 391, 391, 391, 259, 192, 249, 261, 308,
+ 203, 295, 295, 110, 295, 295, 197, 113, 51, 295,
+ 295, 295, 295, 94, 295, 295, 297, 322, 196, 295,
+ 43, 259, 192, 249, 295, 308, 295, 295, 425, 295,
+ 391, 391, 295, 295, 295, 261, 295, 203, 295, 425,
+ 110, 295, 295, 197, 118, 27, 391, 391, 391, 391,
+ 94, 17, 295, 295, 258, 295, 41, 37, 259, 192,
+ 249, 261, 308, 203, 295, 196, 110, 43, 295, 197,
+ 120, 295, 233, 238, 240, 241, 94, 295, 295, 295,
+ 243, 295, 295, 295, 259, 192, 249, 295, 308, 295,
+ 32, 295, 27, 212, 295, 295, 295, 295, 17, 295,
+ 295, 295, 454, 41, 37, 454, 295, 295, 295, 454,
+ 438, 295, 295, 295, 295, 295, 295, 295, 295, 233,
+ 238, 240, 241, 295, 295, 261, 295, 203, 295, 295,
+ 110, 295, 295, 197, 112, 295, 438, 295, 295, 438,
+ 94, 454, 212, 438, 268, 295, 295, 295, 259, 192,
+ 249, 454, 308, 212, 454, 295, 295, 34, 454, 438,
+ 295, 295, 454, 295, 295, 454, 295, 133, 4, 454,
+ 438, 167, 295, 295, 295, 295, 295, 280, 295, 295,
+ 40, 14, 257, 295, 295, 438, 295, 295, 438, 261,
+ 454, 203, 438, 295, 110, 172, 438, 197, 121, 438,
+ 261, 454, 203, 438, 94, 110, 295, 295, 197, 117,
+ 295, 295, 259, 192, 249, 94, 308, 295, 295, 295,
+ 295, 295, 295, 259, 192, 249, 261, 308, 203, 295,
+ 295, 110, 295, 295, 197, 116, 295, 261, 295, 203,
+ 295, 94, 110, 295, 295, 197, 114, 295, 295, 259,
+ 192, 249, 94, 308, 196, 295, 43, 295, 295, 295,
+ 259, 192, 249, 261, 308, 203, 295, 196, 110, 43,
+ 295, 197, 123, 295, 295, 295, 106, 295, 94, 295,
+ 196, 174, 43, 295, 295, 295, 259, 192, 249, 196,
+ 308, 43, 41, 37, 244, 295, 295, 295, 295, 295,
+ 295, 295, 295, 234, 295, 41, 37, 295, 233, 238,
+ 240, 241, 295, 295, 295, 295, 295, 295, 41, 37,
+ 295, 233, 238, 240, 241, 295, 295, 41, 37, 295,
+ 295, 295, 295, 295, 233, 238, 240, 241, 25, 196,
+ 295, 43, 295, 233, 238, 240, 241, 454, 295, 295,
+ 454, 295, 295, 279, 454, 438, 212, 295, 295, 295,
+ 295, 295, 295, 295, 295, 454, 295, 295, 454, 295,
+ 295, 295, 454, 438, 196, 295, 43, 41, 37, 295,
+ 295, 438, 295, 196, 438, 43, 454, 295, 438, 295,
+ 295, 295, 295, 233, 238, 240, 241, 173, 295, 438,
+ 295, 295, 438, 295, 454, 295, 438, 454, 295, 295,
+ 454, 295, 41, 37, 454, 438, 295, 295, 295, 295,
+ 295, 41, 37, 295, 295, 295, 242, 295, 233, 238,
+ 240, 241, 295, 295, 295, 295, 295, 233, 238, 240,
+ 241, 438, 295, 295, 438, 295, 454, 147, 438, 295,
+ 295, 167, 295, 295, 295, 295, 295, 280, 295, 295,
+ 40, 14, 257, 295, 295, 295, 295, 295, 295, 295,
+ 295, 295, 295, 295, 295, 172,
+ );
- function __toString()
- {
- return $this->_string;
- }
+ public static $yy_lookahead = array(
+ 3, 9, 10, 15, 71, 17, 28, 74, 11, 12,
+ 13, 14, 34, 16, 81, 18, 28, 20, 21, 22,
+ 11, 82, 34, 14, 27, 37, 93, 18, 31, 32,
+ 33, 45, 35, 66, 37, 68, 48, 28, 52, 42,
+ 43, 44, 45, 34, 47, 15, 49, 16, 51, 52,
+ 53, 54, 3, 23, 77, 25, 59, 17, 28, 19,
+ 11, 12, 13, 14, 34, 16, 36, 18, 38, 20,
+ 21, 22, 105, 106, 94, 45, 27, 73, 101, 73,
+ 31, 32, 33, 77, 35, 54, 37, 83, 48, 83,
+ 94, 42, 43, 44, 45, 14, 47, 16, 49, 18,
+ 51, 52, 3, 54, 36, 101, 38, 101, 59, 15,
+ 11, 12, 13, 14, 77, 16, 35, 18, 24, 20,
+ 21, 22, 28, 86, 87, 88, 27, 24, 34, 37,
+ 31, 32, 33, 82, 35, 54, 37, 66, 101, 68,
+ 46, 42, 43, 44, 45, 16, 47, 71, 49, 46,
+ 51, 52, 3, 54, 78, 79, 53, 81, 59, 15,
+ 11, 12, 13, 14, 37, 16, 37, 18, 24, 20,
+ 21, 22, 28, 19, 65, 48, 27, 106, 34, 101,
+ 31, 32, 33, 54, 35, 71, 37, 16, 74, 18,
+ 46, 42, 43, 44, 45, 81, 47, 45, 49, 45,
+ 51, 52, 3, 54, 90, 53, 52, 93, 59, 30,
+ 11, 12, 13, 14, 82, 16, 37, 18, 24, 20,
+ 21, 22, 51, 18, 14, 54, 27, 48, 73, 17,
+ 31, 32, 33, 1, 35, 14, 37, 16, 83, 18,
+ 46, 42, 43, 44, 45, 1, 47, 37, 49, 77,
+ 51, 52, 3, 54, 60, 50, 1, 45, 59, 15,
+ 11, 12, 13, 14, 52, 16, 36, 18, 38, 20,
+ 21, 22, 28, 101, 102, 54, 27, 8, 34, 10,
+ 31, 32, 33, 28, 35, 95, 37, 97, 98, 34,
+ 94, 42, 43, 44, 45, 1, 47, 71, 49, 77,
+ 51, 52, 3, 54, 78, 23, 73, 81, 59, 15,
+ 11, 12, 13, 14, 73, 16, 83, 18, 36, 20,
+ 21, 22, 28, 101, 83, 17, 27, 19, 34, 96,
+ 31, 32, 33, 45, 35, 16, 37, 96, 37, 41,
+ 52, 42, 43, 44, 45, 1, 47, 71, 49, 48,
+ 51, 52, 3, 54, 78, 37, 48, 81, 59, 15,
+ 11, 12, 13, 14, 71, 16, 48, 18, 17, 20,
+ 21, 22, 28, 54, 81, 24, 27, 70, 34, 37,
+ 31, 32, 33, 28, 35, 24, 37, 45, 1, 34,
+ 48, 42, 43, 44, 45, 53, 47, 2, 49, 73,
+ 51, 52, 3, 54, 97, 98, 19, 46, 59, 83,
+ 11, 12, 13, 14, 36, 16, 38, 18, 98, 20,
+ 21, 22, 11, 64, 65, 14, 27, 101, 1, 18,
+ 31, 32, 33, 94, 35, 96, 37, 1, 17, 19,
+ 92, 42, 43, 44, 45, 73, 47, 99, 49, 77,
+ 51, 52, 3, 54, 16, 83, 18, 30, 59, 70,
+ 11, 12, 13, 14, 73, 16, 45, 18, 48, 20,
+ 21, 22, 11, 101, 83, 14, 27, 35, 92, 18,
+ 31, 32, 33, 94, 35, 99, 37, 97, 98, 53,
+ 36, 42, 43, 44, 45, 66, 47, 68, 49, 18,
+ 51, 52, 3, 54, 94, 38, 96, 53, 59, 81,
+ 11, 12, 13, 14, 73, 16, 77, 18, 73, 20,
+ 21, 22, 11, 3, 83, 14, 27, 99, 83, 18,
+ 31, 32, 33, 37, 35, 18, 37, 18, 1, 2,
+ 101, 42, 43, 44, 45, 35, 47, 18, 49, 16,
+ 51, 18, 18, 54, 62, 63, 97, 98, 59, 39,
+ 40, 50, 18, 4, 5, 6, 7, 8, 45, 16,
+ 11, 12, 13, 14, 18, 55, 56, 57, 58, 20,
+ 21, 22, 49, 53, 51, 53, 27, 54, 18, 15,
+ 31, 32, 33, 66, 67, 68, 69, 25, 71, 72,
+ 51, 74, 75, 76, 18, 18, 11, 11, 81, 14,
+ 14, 84, 85, 18, 18, 17, 89, 90, 91, 9,
+ 93, 15, 51, 28, 102, 30, 81, 81, 19, 34,
+ 66, 67, 68, 69, 95, 71, 72, 83, 74, 75,
+ 76, 94, 94, 80, 94, 81, 50, 81, 84, 85,
+ 107, 96, 94, 89, 90, 91, 107, 93, 66, 107,
+ 68, 107, 107, 71, 107, 107, 74, 75, 76, 107,
+ 107, 107, 107, 81, 107, 107, 84, 85, 107, 107,
+ 107, 89, 90, 91, 66, 93, 68, 69, 107, 71,
+ 72, 107, 74, 75, 76, 103, 104, 107, 11, 81,
+ 107, 14, 84, 85, 107, 18, 107, 89, 90, 91,
+ 107, 93, 107, 5, 107, 107, 107, 107, 107, 11,
+ 12, 13, 14, 107, 16, 107, 107, 107, 20, 21,
+ 22, 107, 107, 107, 107, 27, 5, 50, 107, 31,
+ 32, 33, 11, 12, 13, 14, 107, 16, 107, 107,
+ 107, 20, 21, 22, 107, 107, 107, 107, 27, 107,
+ 107, 107, 31, 32, 33, 107, 107, 59, 60, 66,
+ 107, 68, 107, 107, 71, 107, 107, 74, 75, 76,
+ 107, 107, 107, 107, 81, 73, 107, 84, 85, 77,
+ 59, 60, 89, 90, 91, 83, 93, 107, 86, 87,
+ 88, 107, 66, 100, 68, 107, 107, 71, 107, 107,
+ 74, 75, 76, 101, 107, 107, 107, 81, 107, 107,
+ 84, 85, 107, 107, 107, 89, 90, 91, 107, 93,
+ 107, 107, 107, 107, 66, 107, 68, 107, 107, 71,
+ 104, 107, 74, 75, 76, 107, 78, 107, 107, 81,
+ 107, 107, 84, 85, 107, 107, 107, 89, 90, 91,
+ 66, 93, 68, 107, 107, 71, 107, 107, 74, 75,
+ 76, 107, 107, 107, 107, 81, 107, 107, 84, 85,
+ 107, 107, 107, 89, 90, 91, 107, 93, 66, 107,
+ 68, 107, 107, 71, 100, 107, 74, 75, 76, 1,
+ 2, 3, 107, 81, 107, 107, 84, 85, 107, 107,
+ 107, 89, 90, 91, 107, 93, 66, 107, 68, 107,
+ 107, 71, 100, 107, 74, 75, 76, 107, 78, 107,
+ 107, 81, 107, 107, 84, 85, 107, 39, 40, 89,
+ 90, 91, 66, 93, 68, 107, 107, 71, 107, 107,
+ 74, 75, 76, 55, 56, 57, 58, 81, 107, 107,
+ 84, 85, 107, 107, 107, 89, 90, 91, 107, 93,
+ 66, 107, 68, 107, 107, 71, 107, 107, 74, 75,
+ 76, 1, 107, 3, 107, 81, 107, 107, 84, 85,
+ 107, 107, 107, 89, 90, 91, 107, 93, 66, 107,
+ 68, 107, 107, 71, 107, 107, 74, 75, 76, 107,
+ 107, 107, 107, 81, 107, 107, 84, 85, 107, 39,
+ 40, 89, 90, 91, 66, 93, 68, 107, 107, 71,
+ 107, 107, 74, 75, 76, 55, 56, 57, 58, 81,
+ 60, 107, 84, 85, 107, 107, 107, 89, 90, 91,
+ 107, 93, 66, 107, 68, 107, 107, 71, 107, 107,
+ 74, 75, 76, 1, 107, 3, 107, 81, 107, 107,
+ 84, 85, 107, 107, 107, 89, 90, 91, 107, 93,
+ 66, 107, 68, 107, 107, 71, 107, 107, 74, 75,
+ 76, 107, 107, 107, 107, 81, 107, 107, 84, 85,
+ 38, 39, 40, 89, 90, 91, 66, 93, 68, 107,
+ 107, 71, 107, 107, 74, 75, 76, 55, 56, 57,
+ 58, 81, 107, 107, 84, 85, 107, 107, 107, 89,
+ 90, 91, 107, 93, 66, 107, 68, 107, 107, 71,
+ 107, 107, 74, 75, 76, 1, 107, 3, 107, 81,
+ 107, 107, 84, 85, 107, 107, 107, 89, 90, 91,
+ 107, 93, 66, 107, 68, 107, 107, 71, 107, 107,
+ 74, 75, 76, 29, 107, 107, 107, 81, 107, 107,
+ 84, 85, 107, 39, 40, 89, 90, 91, 66, 93,
+ 68, 107, 107, 71, 107, 107, 74, 75, 76, 55,
+ 56, 57, 58, 81, 107, 107, 84, 85, 107, 107,
+ 107, 89, 90, 91, 107, 93, 66, 107, 68, 107,
+ 107, 71, 107, 107, 74, 75, 76, 1, 107, 3,
+ 107, 81, 107, 107, 84, 85, 107, 107, 107, 89,
+ 90, 91, 107, 93, 66, 107, 68, 107, 107, 71,
+ 107, 107, 74, 75, 76, 107, 107, 107, 107, 81,
+ 107, 107, 84, 85, 38, 39, 40, 89, 90, 91,
+ 66, 93, 68, 107, 107, 71, 107, 107, 74, 75,
+ 76, 55, 56, 57, 58, 81, 107, 107, 84, 85,
+ 107, 107, 107, 89, 90, 91, 107, 93, 66, 107,
+ 68, 107, 107, 71, 107, 107, 74, 75, 76, 1,
+ 107, 3, 107, 81, 107, 107, 84, 85, 107, 107,
+ 107, 89, 90, 91, 107, 93, 66, 107, 68, 107,
+ 107, 71, 107, 107, 74, 75, 76, 107, 107, 107,
+ 107, 81, 107, 107, 84, 85, 107, 39, 40, 89,
+ 90, 91, 66, 93, 68, 107, 107, 71, 107, 107,
+ 74, 75, 76, 55, 56, 57, 58, 81, 107, 107,
+ 84, 85, 107, 1, 107, 89, 90, 91, 107, 93,
+ 66, 107, 68, 107, 107, 71, 107, 15, 74, 75,
+ 76, 19, 107, 107, 107, 81, 107, 107, 84, 85,
+ 28, 107, 107, 89, 90, 91, 34, 93, 66, 37,
+ 68, 107, 107, 71, 107, 107, 74, 75, 76, 107,
+ 48, 107, 107, 81, 107, 107, 84, 85, 107, 107,
+ 107, 89, 90, 91, 66, 93, 68, 107, 107, 71,
+ 107, 107, 74, 75, 76, 107, 107, 107, 107, 81,
+ 107, 107, 84, 85, 107, 107, 107, 89, 90, 91,
+ 107, 93, 66, 107, 68, 107, 107, 71, 107, 107,
+ 74, 75, 76, 107, 107, 107, 107, 81, 107, 107,
+ 84, 85, 107, 107, 107, 89, 90, 91, 107, 93,
+ 66, 107, 68, 107, 107, 71, 107, 107, 74, 75,
+ 76, 107, 107, 107, 107, 81, 107, 107, 84, 85,
+ 107, 107, 107, 89, 90, 91, 66, 93, 68, 107,
+ 107, 71, 107, 107, 74, 75, 76, 107, 107, 107,
+ 107, 81, 107, 107, 84, 85, 107, 107, 107, 89,
+ 90, 91, 107, 93, 66, 107, 68, 107, 107, 71,
+ 107, 107, 74, 75, 76, 107, 107, 107, 107, 81,
+ 107, 107, 84, 85, 107, 107, 107, 89, 90, 91,
+ 107, 93, 66, 107, 68, 107, 107, 71, 107, 107,
+ 74, 75, 76, 107, 107, 107, 107, 81, 107, 107,
+ 84, 85, 1, 2, 3, 89, 90, 91, 66, 93,
+ 68, 107, 107, 71, 107, 107, 74, 75, 76, 107,
+ 107, 107, 107, 81, 107, 107, 84, 85, 1, 107,
+ 3, 89, 90, 91, 107, 93, 107, 107, 37, 107,
+ 39, 40, 107, 107, 107, 66, 107, 68, 107, 48,
+ 71, 107, 107, 74, 75, 28, 55, 56, 57, 58,
+ 81, 34, 107, 107, 85, 107, 39, 40, 89, 90,
+ 91, 66, 93, 68, 107, 1, 71, 3, 107, 74,
+ 75, 107, 55, 56, 57, 58, 81, 107, 107, 107,
+ 85, 107, 107, 107, 89, 90, 91, 107, 93, 107,
+ 26, 107, 28, 2, 107, 107, 107, 107, 34, 107,
+ 107, 107, 11, 39, 40, 14, 107, 107, 107, 18,
+ 19, 107, 107, 107, 107, 107, 107, 107, 107, 55,
+ 56, 57, 58, 107, 107, 66, 107, 68, 107, 107,
+ 71, 107, 107, 74, 75, 107, 45, 107, 107, 48,
+ 81, 50, 2, 52, 53, 107, 107, 107, 89, 90,
+ 91, 11, 93, 2, 14, 107, 107, 17, 18, 19,
+ 107, 107, 11, 107, 107, 14, 107, 73, 17, 18,
+ 19, 77, 107, 107, 107, 107, 107, 83, 107, 107,
+ 86, 87, 88, 107, 107, 45, 107, 107, 48, 66,
+ 50, 68, 52, 107, 71, 101, 45, 74, 75, 48,
+ 66, 50, 68, 52, 81, 71, 107, 107, 74, 75,
+ 107, 107, 89, 90, 91, 81, 93, 107, 107, 107,
+ 107, 107, 107, 89, 90, 91, 66, 93, 68, 107,
+ 107, 71, 107, 107, 74, 75, 107, 66, 107, 68,
+ 107, 81, 71, 107, 107, 74, 75, 107, 107, 89,
+ 90, 91, 81, 93, 1, 107, 3, 107, 107, 107,
+ 89, 90, 91, 66, 93, 68, 107, 1, 71, 3,
+ 107, 74, 75, 107, 107, 107, 23, 107, 81, 107,
+ 1, 15, 3, 107, 107, 107, 89, 90, 91, 1,
+ 93, 3, 39, 40, 15, 107, 107, 107, 107, 107,
+ 107, 107, 107, 15, 107, 39, 40, 107, 55, 56,
+ 57, 58, 107, 107, 107, 107, 107, 107, 39, 40,
+ 107, 55, 56, 57, 58, 107, 107, 39, 40, 107,
+ 107, 107, 107, 107, 55, 56, 57, 58, 2, 1,
+ 107, 3, 107, 55, 56, 57, 58, 11, 107, 107,
+ 14, 107, 107, 15, 18, 19, 2, 107, 107, 107,
+ 107, 107, 107, 107, 107, 11, 107, 107, 14, 107,
+ 107, 107, 18, 19, 1, 107, 3, 39, 40, 107,
+ 107, 45, 107, 1, 48, 3, 50, 107, 52, 107,
+ 107, 107, 107, 55, 56, 57, 58, 15, 107, 45,
+ 107, 107, 48, 107, 50, 107, 52, 11, 107, 107,
+ 14, 107, 39, 40, 18, 19, 107, 107, 107, 107,
+ 107, 39, 40, 107, 107, 107, 53, 107, 55, 56,
+ 57, 58, 107, 107, 107, 107, 107, 55, 56, 57,
+ 58, 45, 107, 107, 48, 107, 50, 73, 52, 107,
+ 107, 77, 107, 107, 107, 107, 107, 83, 107, 107,
+ 86, 87, 88, 107, 107, 107, 107, 107, 107, 107,
+ 107, 107, 107, 107, 107, 101,
+ );
- function offsetExists($offset)
- {
- return isset($this->metadata[$offset]);
- }
+ public static $yy_shift_ofst = array(
+ -23, 399, 399, 449, 49, 49, 449, 349, 49, 49,
+ 349, -3, 49, 49, 49, 49, 49, 49, 49, 49,
+ 49, 49, 49, 149, 199, 299, 49, 149, 49, 49,
+ 49, 49, 49, 49, 249, 49, 99, 99, 499, 499,
+ 499, 499, 499, 499, 1664, 1617, 1617, 1144, 1982, 1973,
+ 1938, 1226, 1853, 1062, 980, 1879, 898, 1866, 1888, 1308,
+ 1308, 1308, 1308, 1308, 1308, 1308, 1308, 1308, 1308, 1308,
+ 1308, 1308, 520, 520, 533, 731, 1372, 171, 255, 129,
+ 708, 595, 9, 154, 129, 255, 308, 129, 255, 537,
+ 559, 1751, 244, 344, 511, 221, 294, 411, 40, 411,
+ -22, 438, 438, 436, 387, 427, 319, 355, -22, -22,
+ 420, 609, 232, 232, 232, 609, 232, 232, 232, 232,
+ -23, -23, -23, -23, 1740, 1691, 1954, 1936, 1996, 81,
+ 687, 461, 212, -22, 31, -14, -14, -22, 288, -14,
+ 288, -14, -22, 31, -22, -14, -14, -22, -22, 351,
+ -22, -22, -14, -22, -22, -22, -22, -22, -14, 210,
+ 232, 609, 232, 395, 609, 232, 609, 232, 395, 92,
+ 232, -23, -23, -23, -23, -23, -23, 1591, 30, -12,
+ 94, 144, 342, 596, 179, 103, 194, 454, 230, 152,
+ 269, 301, 318, 127, 282, -8, 205, 361, 378, 421,
+ 68, 467, 556, 606, 571, 598, 587, 586, 610, 549,
+ 572, 574, 570, 532, 530, 553, 298, 523, 544, 510,
+ 92, 534, 529, 519, 517, 496, 442, 481,
+ );
- function offsetGet($offset)
- {
- return $this->metadata[$offset];
- }
+ public static $yy_reduce_ofst = array(
+ 492, 527, 564, 592, 618, 703, 736, 768, 794, 822,
+ 850, 1068, 1096, 1122, 1150, 1286, 1204, 1232, 1260, 1040,
+ 1314, 1532, 1478, 1506, 1342, 1450, 1424, 1396, 1368, 1178,
+ 1014, 986, 932, 904, 876, 958, 1595, 1569, 1771, 1659,
+ 1760, 1734, 1723, 1797, 712, 1694, 1974, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 114, -33, 372, -67, 6, 76,
+ 71, 233, 241, 190, 226, 4, 307, 276, 326, 172,
+ 429, 389, -23, -23, 339, 428, -23, 410, 390, 339,
+ 391, 386, 348, -23, 222, -23, 293, 155, 441, 445,
+ 390, 459, -23, -23, -23, 390, -23, -23, -23, 439,
+ -23, -23, 359, -23, 550, 550, 550, 550, 550, 545,
+ 555, 550, 550, 554, 566, 539, 539, 554, 547, 539,
+ 548, 539, 554, 546, 554, 539, 539, 554, 554, 563,
+ 554, 554, 539, 554, 554, 554, 554, 554, 539, 558,
+ 78, 320, 78, 522, 320, 78, 320, 78, 522, 196,
+ 78, 51, -61, -20, -4, 109, 132,
+ );
- 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;
- }
- }
+ public static $yyExpectedTokens = array(
+ array(),
+ array(3, 11, 12, 13, 14, 16, 18, 20, 21, 22, 27, 31, 32, 33, 35, 37, 42, 43, 44, 45, 47, 49, 51, 52, 54, 59,),
+ array(3, 11, 12, 13, 14, 16, 18, 20, 21, 22, 27, 31, 32, 33, 35, 37, 42, 43, 44, 45, 47, 49, 51, 52, 54, 59,),
+ array(3, 11, 12, 13, 14, 16, 18, 20, 21, 22, 27, 31, 32, 33, 35, 37, 42, 43, 44, 45, 47, 49, 51, 52, 54, 59,),
+ array(3, 11, 12, 13, 14, 16, 18, 20, 21, 22, 27, 31, 32, 33, 35, 37, 42, 43, 44, 45, 47, 49, 51, 52, 54, 59,),
+ array(3, 11, 12, 13, 14, 16, 18, 20, 21, 22, 27, 31, 32, 33, 35, 37, 42, 43, 44, 45, 47, 49, 51, 52, 54, 59,),
+ array(3, 11, 12, 13, 14, 16, 18, 20, 21, 22, 27, 31, 32, 33, 35, 37, 42, 43, 44, 45, 47, 49, 51, 52, 54, 59,),
+ array(3, 11, 12, 13, 14, 16, 18, 20, 21, 22, 27, 31, 32, 33, 35, 37, 42, 43, 44, 45, 47, 49, 51, 52, 54, 59,),
+ array(3, 11, 12, 13, 14, 16, 18, 20, 21, 22, 27, 31, 32, 33, 35, 37, 42, 43, 44, 45, 47, 49, 51, 52, 54, 59,),
+ array(3, 11, 12, 13, 14, 16, 18, 20, 21, 22, 27, 31, 32, 33, 35, 37, 42, 43, 44, 45, 47, 49, 51, 52, 54, 59,),
+ array(3, 11, 12, 13, 14, 16, 18, 20, 21, 22, 27, 31, 32, 33, 35, 37, 42, 43, 44, 45, 47, 49, 51, 52, 54, 59,),
+ array(
+ 3, 11, 12, 13, 14, 16, 18, 20, 21, 22, 27, 31, 32, 33, 35, 37, 42, 43, 44, 45, 47, 49, 51, 52, 53, 54, 59,
+ ),
+ array(3, 11, 12, 13, 14, 16, 18, 20, 21, 22, 27, 31, 32, 33, 35, 37, 42, 43, 44, 45, 47, 49, 51, 52, 54, 59,),
+ array(3, 11, 12, 13, 14, 16, 18, 20, 21, 22, 27, 31, 32, 33, 35, 37, 42, 43, 44, 45, 47, 49, 51, 52, 54, 59,),
+ array(3, 11, 12, 13, 14, 16, 18, 20, 21, 22, 27, 31, 32, 33, 35, 37, 42, 43, 44, 45, 47, 49, 51, 52, 54, 59,),
+ array(3, 11, 12, 13, 14, 16, 18, 20, 21, 22, 27, 31, 32, 33, 35, 37, 42, 43, 44, 45, 47, 49, 51, 52, 54, 59,),
+ array(3, 11, 12, 13, 14, 16, 18, 20, 21, 22, 27, 31, 32, 33, 35, 37, 42, 43, 44, 45, 47, 49, 51, 52, 54, 59,),
+ array(3, 11, 12, 13, 14, 16, 18, 20, 21, 22, 27, 31, 32, 33, 35, 37, 42, 43, 44, 45, 47, 49, 51, 52, 54, 59,),
+ array(3, 11, 12, 13, 14, 16, 18, 20, 21, 22, 27, 31, 32, 33, 35, 37, 42, 43, 44, 45, 47, 49, 51, 52, 54, 59,),
+ array(3, 11, 12, 13, 14, 16, 18, 20, 21, 22, 27, 31, 32, 33, 35, 37, 42, 43, 44, 45, 47, 49, 51, 52, 54, 59,),
+ array(3, 11, 12, 13, 14, 16, 18, 20, 21, 22, 27, 31, 32, 33, 35, 37, 42, 43, 44, 45, 47, 49, 51, 52, 54, 59,),
+ array(3, 11, 12, 13, 14, 16, 18, 20, 21, 22, 27, 31, 32, 33, 35, 37, 42, 43, 44, 45, 47, 49, 51, 52, 54, 59,),
+ array(3, 11, 12, 13, 14, 16, 18, 20, 21, 22, 27, 31, 32, 33, 35, 37, 42, 43, 44, 45, 47, 49, 51, 52, 54, 59,),
+ array(3, 11, 12, 13, 14, 16, 18, 20, 21, 22, 27, 31, 32, 33, 35, 37, 42, 43, 44, 45, 47, 49, 51, 52, 54, 59,),
+ array(3, 11, 12, 13, 14, 16, 18, 20, 21, 22, 27, 31, 32, 33, 35, 37, 42, 43, 44, 45, 47, 49, 51, 52, 54, 59,),
+ array(3, 11, 12, 13, 14, 16, 18, 20, 21, 22, 27, 31, 32, 33, 35, 37, 42, 43, 44, 45, 47, 49, 51, 52, 54, 59,),
+ array(3, 11, 12, 13, 14, 16, 18, 20, 21, 22, 27, 31, 32, 33, 35, 37, 42, 43, 44, 45, 47, 49, 51, 52, 54, 59,),
+ array(3, 11, 12, 13, 14, 16, 18, 20, 21, 22, 27, 31, 32, 33, 35, 37, 42, 43, 44, 45, 47, 49, 51, 52, 54, 59,),
+ array(3, 11, 12, 13, 14, 16, 18, 20, 21, 22, 27, 31, 32, 33, 35, 37, 42, 43, 44, 45, 47, 49, 51, 52, 54, 59,),
+ array(3, 11, 12, 13, 14, 16, 18, 20, 21, 22, 27, 31, 32, 33, 35, 37, 42, 43, 44, 45, 47, 49, 51, 52, 54, 59,),
+ array(3, 11, 12, 13, 14, 16, 18, 20, 21, 22, 27, 31, 32, 33, 35, 37, 42, 43, 44, 45, 47, 49, 51, 52, 54, 59,),
+ array(3, 11, 12, 13, 14, 16, 18, 20, 21, 22, 27, 31, 32, 33, 35, 37, 42, 43, 44, 45, 47, 49, 51, 52, 54, 59,),
+ array(3, 11, 12, 13, 14, 16, 18, 20, 21, 22, 27, 31, 32, 33, 35, 37, 42, 43, 44, 45, 47, 49, 51, 52, 54, 59,),
+ array(3, 11, 12, 13, 14, 16, 18, 20, 21, 22, 27, 31, 32, 33, 35, 37, 42, 43, 44, 45, 47, 49, 51, 52, 54, 59,),
+ array(3, 11, 12, 13, 14, 16, 18, 20, 21, 22, 27, 31, 32, 33, 35, 37, 42, 43, 44, 45, 47, 49, 51, 52, 54, 59,),
+ array(3, 11, 12, 13, 14, 16, 18, 20, 21, 22, 27, 31, 32, 33, 35, 37, 42, 43, 44, 45, 47, 49, 51, 52, 54, 59,),
+ array(3, 11, 12, 13, 14, 16, 18, 20, 21, 22, 27, 31, 32, 33, 35, 37, 42, 43, 44, 45, 47, 49, 51, 52, 54, 59,),
+ array(3, 11, 12, 13, 14, 16, 18, 20, 21, 22, 27, 31, 32, 33, 35, 37, 42, 43, 44, 45, 47, 49, 51, 52, 54, 59,),
+ array(3, 11, 12, 13, 14, 16, 18, 20, 21, 22, 27, 31, 32, 33, 35, 37, 42, 43, 44, 45, 47, 49, 51, 54, 59,),
+ array(3, 11, 12, 13, 14, 16, 18, 20, 21, 22, 27, 31, 32, 33, 35, 37, 42, 43, 44, 45, 47, 49, 51, 54, 59,),
+ array(3, 11, 12, 13, 14, 16, 18, 20, 21, 22, 27, 31, 32, 33, 35, 37, 42, 43, 44, 45, 47, 49, 51, 54, 59,),
+ array(3, 11, 12, 13, 14, 16, 18, 20, 21, 22, 27, 31, 32, 33, 35, 37, 42, 43, 44, 45, 47, 49, 51, 54, 59,),
+ array(3, 11, 12, 13, 14, 16, 18, 20, 21, 22, 27, 31, 32, 33, 35, 37, 42, 43, 44, 45, 47, 49, 51, 54, 59,),
+ array(3, 11, 12, 13, 14, 16, 18, 20, 21, 22, 27, 31, 32, 33, 35, 37, 42, 43, 44, 45, 47, 49, 51, 54, 59,),
+ array(1, 3, 26, 28, 34, 39, 40, 55, 56, 57, 58,),
+ array(1, 3, 28, 34, 39, 40, 55, 56, 57, 58,),
+ array(1, 3, 28, 34, 39, 40, 55, 56, 57, 58,),
+ array(1, 3, 29, 39, 40, 55, 56, 57, 58,),
+ array(1, 3, 15, 39, 40, 55, 56, 57, 58,),
+ array(1, 3, 39, 40, 53, 55, 56, 57, 58,),
+ array(1, 3, 15, 39, 40, 55, 56, 57, 58,),
+ array(1, 3, 38, 39, 40, 55, 56, 57, 58,),
+ array(1, 3, 23, 39, 40, 55, 56, 57, 58,),
+ array(1, 3, 38, 39, 40, 55, 56, 57, 58,),
+ array(1, 3, 39, 40, 55, 56, 57, 58, 60,),
+ array(1, 3, 15, 39, 40, 55, 56, 57, 58,),
+ array(1, 2, 3, 39, 40, 55, 56, 57, 58,),
+ array(1, 3, 15, 39, 40, 55, 56, 57, 58,),
+ array(1, 3, 15, 39, 40, 55, 56, 57, 58,),
+ array(1, 3, 39, 40, 55, 56, 57, 58,),
+ array(1, 3, 39, 40, 55, 56, 57, 58,),
+ array(1, 3, 39, 40, 55, 56, 57, 58,),
+ array(1, 3, 39, 40, 55, 56, 57, 58,),
+ array(1, 3, 39, 40, 55, 56, 57, 58,),
+ array(1, 3, 39, 40, 55, 56, 57, 58,),
+ array(1, 3, 39, 40, 55, 56, 57, 58,),
+ array(1, 3, 39, 40, 55, 56, 57, 58,),
+ array(1, 3, 39, 40, 55, 56, 57, 58,),
+ array(1, 3, 39, 40, 55, 56, 57, 58,),
+ array(1, 3, 39, 40, 55, 56, 57, 58,),
+ array(1, 3, 39, 40, 55, 56, 57, 58,),
+ array(1, 3, 39, 40, 55, 56, 57, 58,),
+ array(3, 39, 40, 55, 56, 57, 58,),
+ array(3, 39, 40, 55, 56, 57, 58,),
+ array(16, 18, 49, 51, 54,),
+ array(5, 11, 12, 13, 14, 16, 20, 21, 22, 27, 31, 32, 33, 59, 60,),
+ array(1, 15, 19, 28, 34, 37, 48,),
+ array(16, 18, 51, 54,),
+ array(1, 28, 34,),
+ array(16, 37, 54,),
+ array(5, 11, 12, 13, 14, 16, 20, 21, 22, 27, 31, 32, 33, 59, 60,),
+ array(11, 14, 18, 28, 30, 34,),
+ array(11, 14, 18, 28, 34,),
+ array(19, 45, 52,),
+ array(16, 37, 54,),
+ array(1, 28, 34,),
+ array(17, 19, 48,),
+ array(16, 37, 54,),
+ array(1, 28, 34,),
+ array(1, 2,),
+ array(4, 5, 6, 7, 8, 11, 12, 13, 14, 20, 21, 22, 27, 31, 32, 33,),
+ array(2, 11, 14, 17, 18, 19, 45, 48, 50, 52,),
+ array(1, 15, 28, 34,),
+ array(1, 15, 28, 34,),
+ array(11, 14, 18, 50,),
+ array(14, 16, 18, 54,),
+ array(1, 15, 28, 34,),
+ array(11, 14, 18,),
+ array(17, 19, 48,),
+ array(11, 14, 18,),
+ array(28, 34,),
+ array(16, 18,),
+ array(16, 18,),
+ array(1, 53,),
+ array(1, 19,),
+ array(1, 30,),
+ array(16, 54,),
+ array(28, 34,),
+ array(28, 34,),
+ array(28, 34,),
+ array(19, 48,),
+ array(19,),
+ array(1,),
+ array(1,),
+ array(1,),
+ array(19,),
+ array(1,),
+ array(1,),
+ array(1,),
+ array(1,),
+ array(),
+ array(),
+ array(),
+ array(),
+ array(2, 11, 14, 17, 18, 19, 45, 48, 50, 52,),
+ array(2, 11, 14, 18, 19, 45, 48, 50, 52, 53,),
+ array(2, 11, 14, 18, 19, 45, 48, 50, 52,),
+ array(2, 11, 14, 18, 19, 45, 48, 50, 52,),
+ array(11, 14, 18, 19, 45, 48, 50, 52,),
+ array(14, 16, 18, 35, 54,),
+ array(11, 14, 18, 50,),
+ array(11, 14, 18,),
+ array(17, 45, 52,),
+ array(28, 34,),
+ array(16, 54,),
+ array(45, 52,),
+ array(45, 52,),
+ array(28, 34,),
+ array(45, 52,),
+ array(45, 52,),
+ array(45, 52,),
+ array(45, 52,),
+ array(28, 34,),
+ array(16, 54,),
+ array(28, 34,),
+ array(45, 52,),
+ array(45, 52,),
+ array(28, 34,),
+ array(28, 34,),
+ array(17, 24,),
+ array(28, 34,),
+ array(28, 34,),
+ array(45, 52,),
+ array(28, 34,),
+ array(28, 34,),
+ array(28, 34,),
+ array(28, 34,),
+ array(28, 34,),
+ array(45, 52,),
+ array(14, 37,),
+ array(1,),
+ array(19,),
+ array(1,),
+ array(2,),
+ array(19,),
+ array(1,),
+ array(19,),
+ array(1,),
+ array(2,),
+ array(37,),
+ array(1,),
+ array(),
+ array(),
+ array(),
+ array(),
+ array(),
+ array(),
+ array(1, 2, 3, 37, 39, 40, 48, 55, 56, 57, 58,),
+ array(15, 23, 25, 28, 34, 36, 38, 45,),
+ array(15, 17, 28, 34, 37, 48,),
+ array(15, 24, 28, 34, 46,),
+ array(15, 24, 28, 34, 46,),
+ array(37, 45, 48, 53,),
+ array(11, 14, 18, 50,),
+ array(30, 37, 48,),
+ array(24, 46, 53,),
+ array(24, 46, 60,),
+ array(36, 53,),
+ array(36, 38,),
+ array(45, 53,),
+ array(8, 10,),
+ array(37, 48,),
+ array(37, 48,),
+ array(37, 48,),
+ array(23, 36,),
+ array(9, 10,),
+ array(18, 50,),
+ array(24, 46,),
+ array(36, 38,),
+ array(17, 45,),
+ array(36, 38,),
+ array(38,),
+ array(18,),
+ array(15,),
+ array(51,),
+ array(17,),
+ array(18,),
+ array(18,),
+ array(9,),
+ array(51,),
+ array(25,),
+ array(15,),
+ array(18,),
+ array(53,),
+ array(53,),
+ array(16,),
+ array(41,),
+ array(45,),
+ array(18,),
+ array(35,),
+ array(37,),
+ array(18,),
+ array(18,),
+ array(18,),
+ array(18,),
+ array(37,),
+ array(35,),
+ array(18,),
+ array(),
+ array(),
+ array(),
+ array(),
+ array(),
+ array(),
+ array(),
+ array(),
+ array(),
+ array(),
+ array(),
+ array(),
+ array(),
+ array(),
+ array(),
+ array(),
+ array(),
+ array(),
+ array(),
+ array(),
+ array(),
+ array(),
+ array(),
+ array(),
+ array(),
+ array(),
+ array(),
+ array(),
+ array(),
+ array(),
+ array(),
+ array(),
+ array(),
+ array(),
+ array(),
+ array(),
+ array(),
+ array(),
+ array(),
+ array(),
+ array(),
+ array(),
+ array(),
+ array(),
+ array(),
+ array(),
+ array(),
+ array(),
+ array(),
+ array(),
+ array(),
+ array(),
+ array(),
+ array(),
+ array(),
+ array(),
+ array(),
+ array(),
+ array(),
+ array(),
+ array(),
+ array(),
+ array(),
+ array(),
+ array(),
+ array(),
+ array(),
+ array(),
+ array(),
+ array(),
+ array(),
+ array(),
+ array(),
+ array(),
+ array(),
+ array(),
+ array(),
+ array(),
+ array(),
+ array(),
+ array(),
+ array(),
+ array(),
+ array(),
+ array(),
+ array(),
+ array(),
+ array(),
+ array(),
+ array(),
+ array(),
+ array(),
+ array(),
+ array(),
+ array(),
+ );
- function offsetUnset($offset)
- {
- unset($this->metadata[$offset]);
- }
-}
+ public static $yy_default = array(
+ 334, 509, 509, 494, 509, 473, 509, 509, 473, 473,
+ 509, 509, 509, 509, 509, 509, 509, 509, 509, 509,
+ 509, 509, 509, 509, 509, 509, 509, 509, 509, 509,
+ 509, 509, 509, 509, 509, 509, 509, 509, 509, 509,
+ 509, 509, 509, 509, 375, 354, 375, 380, 509, 509,
+ 347, 509, 509, 509, 509, 509, 509, 509, 509, 397,
+ 472, 347, 471, 387, 497, 495, 382, 386, 359, 377,
+ 380, 496, 402, 401, 509, 509, 413, 509, 375, 509,
+ 509, 375, 375, 485, 509, 375, 428, 509, 375, 366,
+ 323, 427, 389, 389, 438, 509, 389, 438, 428, 438,
+ 375, 509, 509, 389, 369, 389, 509, 375, 375, 356,
+ 428, 482, 405, 389, 406, 428, 396, 392, 400, 371,
+ 480, 404, 332, 393, 427, 427, 427, 427, 427, 509,
+ 440, 438, 454, 355, 509, 436, 434, 365, 433, 432,
+ 431, 465, 364, 509, 363, 466, 463, 362, 352, 509,
+ 351, 357, 435, 344, 350, 358, 361, 348, 464, 438,
+ 422, 460, 367, 474, 486, 372, 483, 395, 475, 438,
+ 370, 479, 479, 438, 438, 332, 479, 413, 409, 413,
+ 403, 403, 413, 439, 413, 403, 403, 509, 509, 409,
+ 330, 423, 509, 413, 509, 509, 509, 403, 509, 409,
+ 509, 509, 509, 509, 509, 509, 509, 509, 509, 509,
+ 383, 509, 509, 418, 509, 509, 415, 409, 509, 509,
+ 454, 509, 509, 509, 509, 484, 411, 509, 324, 426,
+ 415, 360, 442, 487, 444, 336, 443, 337, 488, 376,
+ 489, 490, 452, 481, 459, 454, 410, 441, 328, 419,
+ 325, 326, 437, 420, 477, 327, 476, 398, 399, 414,
+ 335, 421, 388, 424, 412, 451, 329, 331, 449, 333,
+ 384, 469, 500, 468, 491, 505, 343, 416, 417, 506,
+ 374, 391, 492, 493, 498, 341, 373, 418, 425, 353,
+ 501, 508, 507, 504, 502, 499, 461, 390, 368, 408,
+ 338, 503, 478, 453, 447, 446, 429, 445, 430, 448,
+ 450, 342, 462, 339, 340, 455, 470, 458, 457, 407,
+ 467, 456, 394,
+ );
-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 */
-};
+ public static $yyFallback = array();
+ public static $yyRuleName = array(
+ 'start ::= template',
+ 'template ::= template PHP',
+ 'template ::= template TEXT',
+ 'template ::= template STRIPON',
+ 'template ::= template STRIPOFF',
+ 'template ::= template LITERALSTART literal_e2 LITERALEND',
+ 'literal_e2 ::= literal_e1 LITERALSTART literal_e1 LITERALEND',
+ 'literal_e2 ::= literal_e1',
+ 'literal_e1 ::= literal_e1 LITERAL',
+ 'literal_e1 ::=',
+ 'template ::= template smartytag',
+ 'template ::=',
+ 'smartytag ::= SIMPELOUTPUT',
+ 'smartytag ::= SIMPLETAG',
+ 'smartytag ::= SMARTYBLOCKCHILDPARENT',
+ 'smartytag ::= LDEL tagbody RDEL',
+ 'smartytag ::= tag RDEL',
+ 'tagbody ::= outattr',
+ 'tagbody ::= DOLLARID eqoutattr',
+ 'tagbody ::= varindexed eqoutattr',
+ 'eqoutattr ::= EQUAL outattr',
+ 'outattr ::= output attributes',
+ 'output ::= variable',
+ 'output ::= value',
+ 'output ::= expr',
+ 'tag ::= LDEL ID attributes',
+ 'tag ::= LDEL ID',
+ 'tag ::= LDEL ID modifierlist attributes',
+ 'tag ::= LDEL ID PTR ID attributes',
+ 'tag ::= LDEL ID PTR ID modifierlist attributes',
+ 'tag ::= LDELMAKENOCACHE DOLLARID',
+ 'tag ::= LDELIF expr',
+ 'tag ::= LDELIF expr attributes',
+ 'tag ::= LDELIF statement',
+ 'tag ::= LDELIF statement attributes',
+ 'tag ::= LDELFOR statements SEMICOLON expr SEMICOLON varindexed foraction attributes',
+ 'foraction ::= EQUAL expr',
+ 'foraction ::= INCDEC',
+ 'tag ::= LDELFOR statement TO expr attributes',
+ 'tag ::= LDELFOR statement TO expr STEP expr attributes',
+ 'tag ::= LDELFOREACH SPACE expr AS varvar attributes',
+ 'tag ::= LDELFOREACH SPACE expr AS varvar APTR varvar attributes',
+ 'tag ::= LDELFOREACH attributes',
+ 'tag ::= LDELSETFILTER ID modparameters',
+ 'tag ::= LDELSETFILTER ID modparameters modifierlist',
+ 'smartytag ::= CLOSETAG',
+ 'tag ::= LDELSLASH ID',
+ 'tag ::= LDELSLASH ID modifierlist',
+ 'tag ::= LDELSLASH ID PTR ID',
+ 'tag ::= LDELSLASH ID PTR ID modifierlist',
+ 'attributes ::= attributes attribute',
+ 'attributes ::= attribute',
+ 'attributes ::=',
+ 'attribute ::= SPACE ID EQUAL ID',
+ 'attribute ::= ATTR expr',
+ 'attribute ::= ATTR value',
+ 'attribute ::= SPACE ID',
+ 'attribute ::= SPACE expr',
+ 'attribute ::= SPACE value',
+ 'attribute ::= SPACE INTEGER EQUAL expr',
+ 'statements ::= statement',
+ 'statements ::= statements COMMA statement',
+ 'statement ::= DOLLARID EQUAL INTEGER',
+ 'statement ::= DOLLARID EQUAL expr',
+ 'statement ::= varindexed EQUAL expr',
+ 'statement ::= OPENP statement CLOSEP',
+ 'expr ::= value',
+ 'expr ::= ternary',
+ 'expr ::= DOLLARID COLON ID',
+ 'expr ::= expr MATH value',
+ 'expr ::= expr UNIMATH value',
+ 'expr ::= array',
+ 'expr ::= expr modifierlist',
+ 'expr ::= expr tlop value',
+ 'expr ::= expr lop expr',
+ 'expr ::= expr scond',
+ 'expr ::= expr ISIN array',
+ 'expr ::= expr ISIN value',
+ 'ternary ::= OPENP expr CLOSEP QMARK DOLLARID COLON expr',
+ 'ternary ::= OPENP expr CLOSEP QMARK expr COLON expr',
+ 'value ::= variable',
+ 'value ::= UNIMATH value',
+ 'value ::= NOT value',
+ 'value ::= TYPECAST value',
+ 'value ::= variable INCDEC',
+ 'value ::= HEX',
+ 'value ::= INTEGER',
+ 'value ::= INTEGER DOT INTEGER',
+ 'value ::= INTEGER DOT',
+ 'value ::= DOT INTEGER',
+ 'value ::= ID',
+ 'value ::= function',
+ 'value ::= OPENP expr CLOSEP',
+ 'value ::= variable INSTANCEOF ns1',
+ 'value ::= variable INSTANCEOF variable',
+ 'value ::= SINGLEQUOTESTRING',
+ 'value ::= doublequoted_with_quotes',
+ 'value ::= varindexed DOUBLECOLON static_class_access',
+ 'value ::= smartytag',
+ 'value ::= value modifierlist',
+ 'value ::= NAMESPACE',
+ 'value ::= ns1 DOUBLECOLON static_class_access',
+ 'ns1 ::= ID',
+ 'ns1 ::= NAMESPACE',
+ 'variable ::= DOLLARID',
+ 'variable ::= varindexed',
+ 'variable ::= varvar AT ID',
+ 'variable ::= object',
+ 'variable ::= HATCH ID HATCH',
+ 'variable ::= HATCH ID HATCH arrayindex',
+ 'variable ::= HATCH variable HATCH',
+ 'variable ::= HATCH variable HATCH arrayindex',
+ 'varindexed ::= DOLLARID arrayindex',
+ 'varindexed ::= varvar arrayindex',
+ 'arrayindex ::= arrayindex indexdef',
+ 'arrayindex ::=',
+ 'indexdef ::= DOT DOLLARID',
+ 'indexdef ::= DOT varvar',
+ 'indexdef ::= DOT varvar AT ID',
+ 'indexdef ::= DOT ID',
+ 'indexdef ::= DOT INTEGER',
+ 'indexdef ::= DOT LDEL expr RDEL',
+ 'indexdef ::= OPENB ID CLOSEB',
+ 'indexdef ::= OPENB ID DOT ID CLOSEB',
+ 'indexdef ::= OPENB SINGLEQUOTESTRING CLOSEB',
+ 'indexdef ::= OPENB INTEGER CLOSEB',
+ 'indexdef ::= OPENB DOLLARID CLOSEB',
+ 'indexdef ::= OPENB variable CLOSEB',
+ 'indexdef ::= OPENB value CLOSEB',
+ 'indexdef ::= OPENB expr CLOSEB',
+ 'indexdef ::= OPENB CLOSEB',
+ 'varvar ::= DOLLARID',
+ 'varvar ::= DOLLAR',
+ 'varvar ::= varvar varvarele',
+ 'varvarele ::= ID',
+ 'varvarele ::= SIMPELOUTPUT',
+ 'varvarele ::= LDEL expr RDEL',
+ 'object ::= varindexed objectchain',
+ 'objectchain ::= objectelement',
+ 'objectchain ::= objectchain objectelement',
+ 'objectelement ::= PTR ID arrayindex',
+ 'objectelement ::= PTR varvar arrayindex',
+ 'objectelement ::= PTR LDEL expr RDEL arrayindex',
+ 'objectelement ::= PTR ID LDEL expr RDEL arrayindex',
+ 'objectelement ::= PTR method',
+ 'function ::= ns1 OPENP params CLOSEP',
+ 'method ::= ID OPENP params CLOSEP',
+ 'method ::= DOLLARID OPENP params CLOSEP',
+ 'params ::= params COMMA expr',
+ 'params ::= expr',
+ 'params ::=',
+ 'modifierlist ::= modifierlist modifier modparameters',
+ 'modifierlist ::= modifier modparameters',
+ 'modifier ::= VERT AT ID',
+ 'modifier ::= VERT ID',
+ 'modparameters ::= modparameters modparameter',
+ 'modparameters ::=',
+ 'modparameter ::= COLON value',
+ 'modparameter ::= COLON array',
+ 'static_class_access ::= method',
+ 'static_class_access ::= method objectchain',
+ 'static_class_access ::= ID',
+ 'static_class_access ::= DOLLARID arrayindex',
+ 'static_class_access ::= DOLLARID arrayindex objectchain',
+ 'lop ::= LOGOP',
+ 'lop ::= SLOGOP',
+ 'tlop ::= TLOGOP',
+ 'scond ::= SINGLECOND',
+ 'array ::= OPENB arrayelements CLOSEB',
+ 'arrayelements ::= arrayelement',
+ 'arrayelements ::= arrayelements COMMA arrayelement',
+ 'arrayelements ::=',
+ 'arrayelement ::= value APTR expr',
+ 'arrayelement ::= ID APTR expr',
+ 'arrayelement ::= expr',
+ 'doublequoted_with_quotes ::= QUOTE QUOTE',
+ 'doublequoted_with_quotes ::= QUOTE doublequoted QUOTE',
+ 'doublequoted ::= doublequoted doublequotedcontent',
+ 'doublequoted ::= doublequotedcontent',
+ 'doublequotedcontent ::= BACKTICK variable BACKTICK',
+ 'doublequotedcontent ::= BACKTICK expr BACKTICK',
+ 'doublequotedcontent ::= DOLLARID',
+ 'doublequotedcontent ::= LDEL variable RDEL',
+ 'doublequotedcontent ::= LDEL expr RDEL',
+ 'doublequotedcontent ::= smartytag',
+ 'doublequotedcontent ::= TEXT',
+ );
-#line 12 "smarty_internal_templateparser.y"
-class Smarty_Internal_Templateparser#line 79 "smarty_internal_templateparser.php"
-{
-#line 14 "smarty_internal_templateparser.y"
+ public static $yyRuleInfo = array(
+ array(0 => 62, 1 => 1),
+ array(0 => 63, 1 => 2),
+ array(0 => 63, 1 => 2),
+ array(0 => 63, 1 => 2),
+ array(0 => 63, 1 => 2),
+ array(0 => 63, 1 => 4),
+ array(0 => 64, 1 => 4),
+ array(0 => 64, 1 => 1),
+ array(0 => 65, 1 => 2),
+ array(0 => 65, 1 => 0),
+ array(0 => 63, 1 => 2),
+ array(0 => 63, 1 => 0),
+ array(0 => 66, 1 => 1),
+ array(0 => 66, 1 => 1),
+ array(0 => 66, 1 => 1),
+ array(0 => 66, 1 => 3),
+ array(0 => 66, 1 => 2),
+ array(0 => 67, 1 => 1),
+ array(0 => 67, 1 => 2),
+ array(0 => 67, 1 => 2),
+ array(0 => 70, 1 => 2),
+ array(0 => 69, 1 => 2),
+ array(0 => 72, 1 => 1),
+ array(0 => 72, 1 => 1),
+ array(0 => 72, 1 => 1),
+ array(0 => 68, 1 => 3),
+ array(0 => 68, 1 => 2),
+ array(0 => 68, 1 => 4),
+ array(0 => 68, 1 => 5),
+ array(0 => 68, 1 => 6),
+ array(0 => 68, 1 => 2),
+ array(0 => 68, 1 => 2),
+ array(0 => 68, 1 => 3),
+ array(0 => 68, 1 => 2),
+ array(0 => 68, 1 => 3),
+ array(0 => 68, 1 => 8),
+ array(0 => 80, 1 => 2),
+ array(0 => 80, 1 => 1),
+ array(0 => 68, 1 => 5),
+ array(0 => 68, 1 => 7),
+ array(0 => 68, 1 => 6),
+ array(0 => 68, 1 => 8),
+ array(0 => 68, 1 => 2),
+ array(0 => 68, 1 => 3),
+ array(0 => 68, 1 => 4),
+ array(0 => 66, 1 => 1),
+ array(0 => 68, 1 => 2),
+ array(0 => 68, 1 => 3),
+ array(0 => 68, 1 => 4),
+ array(0 => 68, 1 => 5),
+ array(0 => 73, 1 => 2),
+ array(0 => 73, 1 => 1),
+ array(0 => 73, 1 => 0),
+ array(0 => 83, 1 => 4),
+ array(0 => 83, 1 => 2),
+ array(0 => 83, 1 => 2),
+ array(0 => 83, 1 => 2),
+ array(0 => 83, 1 => 2),
+ array(0 => 83, 1 => 2),
+ array(0 => 83, 1 => 4),
+ array(0 => 79, 1 => 1),
+ array(0 => 79, 1 => 3),
+ array(0 => 78, 1 => 3),
+ array(0 => 78, 1 => 3),
+ array(0 => 78, 1 => 3),
+ array(0 => 78, 1 => 3),
+ array(0 => 76, 1 => 1),
+ array(0 => 76, 1 => 1),
+ array(0 => 76, 1 => 3),
+ array(0 => 76, 1 => 3),
+ array(0 => 76, 1 => 3),
+ array(0 => 76, 1 => 1),
+ array(0 => 76, 1 => 2),
+ array(0 => 76, 1 => 3),
+ array(0 => 76, 1 => 3),
+ array(0 => 76, 1 => 2),
+ array(0 => 76, 1 => 3),
+ array(0 => 76, 1 => 3),
+ array(0 => 84, 1 => 7),
+ array(0 => 84, 1 => 7),
+ array(0 => 75, 1 => 1),
+ array(0 => 75, 1 => 2),
+ array(0 => 75, 1 => 2),
+ array(0 => 75, 1 => 2),
+ array(0 => 75, 1 => 2),
+ array(0 => 75, 1 => 1),
+ array(0 => 75, 1 => 1),
+ array(0 => 75, 1 => 3),
+ array(0 => 75, 1 => 2),
+ array(0 => 75, 1 => 2),
+ array(0 => 75, 1 => 1),
+ array(0 => 75, 1 => 1),
+ array(0 => 75, 1 => 3),
+ array(0 => 75, 1 => 3),
+ array(0 => 75, 1 => 3),
+ array(0 => 75, 1 => 1),
+ array(0 => 75, 1 => 1),
+ array(0 => 75, 1 => 3),
+ array(0 => 75, 1 => 1),
+ array(0 => 75, 1 => 2),
+ array(0 => 75, 1 => 1),
+ array(0 => 75, 1 => 3),
+ array(0 => 90, 1 => 1),
+ array(0 => 90, 1 => 1),
+ array(0 => 74, 1 => 1),
+ array(0 => 74, 1 => 1),
+ array(0 => 74, 1 => 3),
+ array(0 => 74, 1 => 1),
+ array(0 => 74, 1 => 3),
+ array(0 => 74, 1 => 4),
+ array(0 => 74, 1 => 3),
+ array(0 => 74, 1 => 4),
+ array(0 => 71, 1 => 2),
+ array(0 => 71, 1 => 2),
+ array(0 => 94, 1 => 2),
+ array(0 => 94, 1 => 0),
+ array(0 => 95, 1 => 2),
+ array(0 => 95, 1 => 2),
+ array(0 => 95, 1 => 4),
+ array(0 => 95, 1 => 2),
+ array(0 => 95, 1 => 2),
+ array(0 => 95, 1 => 4),
+ array(0 => 95, 1 => 3),
+ array(0 => 95, 1 => 5),
+ array(0 => 95, 1 => 3),
+ array(0 => 95, 1 => 3),
+ array(0 => 95, 1 => 3),
+ array(0 => 95, 1 => 3),
+ array(0 => 95, 1 => 3),
+ array(0 => 95, 1 => 3),
+ array(0 => 95, 1 => 2),
+ array(0 => 81, 1 => 1),
+ array(0 => 81, 1 => 1),
+ array(0 => 81, 1 => 2),
+ array(0 => 96, 1 => 1),
+ array(0 => 96, 1 => 1),
+ array(0 => 96, 1 => 3),
+ array(0 => 93, 1 => 2),
+ array(0 => 97, 1 => 1),
+ array(0 => 97, 1 => 2),
+ array(0 => 98, 1 => 3),
+ array(0 => 98, 1 => 3),
+ array(0 => 98, 1 => 5),
+ array(0 => 98, 1 => 6),
+ array(0 => 98, 1 => 2),
+ array(0 => 89, 1 => 4),
+ array(0 => 99, 1 => 4),
+ array(0 => 99, 1 => 4),
+ array(0 => 100, 1 => 3),
+ array(0 => 100, 1 => 1),
+ array(0 => 100, 1 => 0),
+ array(0 => 77, 1 => 3),
+ array(0 => 77, 1 => 2),
+ array(0 => 101, 1 => 3),
+ array(0 => 101, 1 => 2),
+ array(0 => 82, 1 => 2),
+ array(0 => 82, 1 => 0),
+ array(0 => 102, 1 => 2),
+ array(0 => 102, 1 => 2),
+ array(0 => 92, 1 => 1),
+ array(0 => 92, 1 => 2),
+ array(0 => 92, 1 => 1),
+ array(0 => 92, 1 => 2),
+ array(0 => 92, 1 => 3),
+ array(0 => 87, 1 => 1),
+ array(0 => 87, 1 => 1),
+ array(0 => 86, 1 => 1),
+ array(0 => 88, 1 => 1),
+ array(0 => 85, 1 => 3),
+ array(0 => 103, 1 => 1),
+ array(0 => 103, 1 => 3),
+ array(0 => 103, 1 => 0),
+ array(0 => 104, 1 => 3),
+ array(0 => 104, 1 => 3),
+ array(0 => 104, 1 => 1),
+ array(0 => 91, 1 => 2),
+ array(0 => 91, 1 => 3),
+ array(0 => 105, 1 => 2),
+ array(0 => 105, 1 => 1),
+ array(0 => 106, 1 => 3),
+ array(0 => 106, 1 => 3),
+ array(0 => 106, 1 => 1),
+ array(0 => 106, 1 => 3),
+ array(0 => 106, 1 => 3),
+ array(0 => 106, 1 => 1),
+ array(0 => 106, 1 => 1),
+ );
+
+ public static $yyReduceMap = array(
+ 0 => 0,
+ 1 => 1,
+ 2 => 2,
+ 3 => 3,
+ 4 => 4,
+ 5 => 5,
+ 6 => 6,
+ 7 => 7,
+ 22 => 7,
+ 23 => 7,
+ 24 => 7,
+ 37 => 7,
+ 57 => 7,
+ 58 => 7,
+ 66 => 7,
+ 67 => 7,
+ 71 => 7,
+ 80 => 7,
+ 85 => 7,
+ 86 => 7,
+ 91 => 7,
+ 95 => 7,
+ 96 => 7,
+ 100 => 7,
+ 102 => 7,
+ 107 => 7,
+ 169 => 7,
+ 174 => 7,
+ 8 => 8,
+ 9 => 9,
+ 10 => 10,
+ 12 => 12,
+ 13 => 13,
+ 14 => 14,
+ 15 => 15,
+ 16 => 16,
+ 17 => 17,
+ 18 => 18,
+ 19 => 19,
+ 20 => 20,
+ 21 => 21,
+ 25 => 25,
+ 26 => 26,
+ 27 => 27,
+ 28 => 28,
+ 29 => 29,
+ 30 => 30,
+ 31 => 31,
+ 32 => 32,
+ 34 => 32,
+ 33 => 33,
+ 35 => 35,
+ 36 => 36,
+ 38 => 38,
+ 39 => 39,
+ 40 => 40,
+ 41 => 41,
+ 42 => 42,
+ 43 => 43,
+ 44 => 44,
+ 45 => 45,
+ 46 => 46,
+ 47 => 47,
+ 48 => 48,
+ 49 => 49,
+ 50 => 50,
+ 51 => 51,
+ 60 => 51,
+ 149 => 51,
+ 153 => 51,
+ 157 => 51,
+ 158 => 51,
+ 52 => 52,
+ 150 => 52,
+ 156 => 52,
+ 53 => 53,
+ 54 => 54,
+ 55 => 54,
+ 56 => 56,
+ 134 => 56,
+ 59 => 59,
+ 61 => 61,
+ 62 => 62,
+ 63 => 62,
+ 64 => 64,
+ 65 => 65,
+ 68 => 68,
+ 69 => 69,
+ 70 => 69,
+ 72 => 72,
+ 99 => 72,
+ 73 => 73,
+ 74 => 74,
+ 75 => 75,
+ 76 => 76,
+ 77 => 77,
+ 78 => 78,
+ 79 => 79,
+ 81 => 81,
+ 83 => 81,
+ 84 => 81,
+ 114 => 81,
+ 82 => 82,
+ 87 => 87,
+ 88 => 88,
+ 89 => 89,
+ 90 => 90,
+ 92 => 92,
+ 93 => 93,
+ 94 => 93,
+ 97 => 97,
+ 98 => 98,
+ 101 => 101,
+ 103 => 103,
+ 104 => 104,
+ 105 => 105,
+ 106 => 106,
+ 108 => 108,
+ 109 => 109,
+ 110 => 110,
+ 111 => 111,
+ 112 => 112,
+ 113 => 113,
+ 115 => 115,
+ 171 => 115,
+ 116 => 116,
+ 117 => 117,
+ 118 => 118,
+ 119 => 119,
+ 120 => 120,
+ 121 => 121,
+ 129 => 121,
+ 122 => 122,
+ 123 => 123,
+ 124 => 124,
+ 125 => 124,
+ 127 => 124,
+ 128 => 124,
+ 126 => 126,
+ 130 => 130,
+ 131 => 131,
+ 132 => 132,
+ 175 => 132,
+ 133 => 133,
+ 135 => 135,
+ 136 => 136,
+ 137 => 137,
+ 138 => 138,
+ 139 => 139,
+ 140 => 140,
+ 141 => 141,
+ 142 => 142,
+ 143 => 143,
+ 144 => 144,
+ 145 => 145,
+ 146 => 146,
+ 147 => 147,
+ 148 => 148,
+ 151 => 151,
+ 152 => 152,
+ 154 => 154,
+ 155 => 155,
+ 159 => 159,
+ 160 => 160,
+ 161 => 161,
+ 162 => 162,
+ 163 => 163,
+ 164 => 164,
+ 165 => 165,
+ 166 => 166,
+ 167 => 167,
+ 168 => 168,
+ 170 => 170,
+ 172 => 172,
+ 173 => 173,
+ 176 => 176,
+ 177 => 177,
+ 178 => 178,
+ 179 => 179,
+ 182 => 179,
+ 180 => 180,
+ 183 => 180,
+ 181 => 181,
+ 184 => 184,
+ 185 => 185,
+ );
- const Err1 = "Security error: Call to private object member not allowed";
- const Err2 = "Security error: Call to dynamic object member not allowed";
- const Err3 = "PHP in template not allowed. Use SmartyBC to enable it";
- // states whether the parse was successful or not
+ /**
+ * result status
+ *
+ * @var bool
+ */
public $successful = true;
+
+ /**
+ * return value
+ *
+ * @var mixed
+ */
public $retvalue = 0;
- private $lex;
- private $internalError = false;
- private $strip = false;
- function __construct($lex, $compiler) {
+ /**
+ * @var
+ */
+ public $yymajor;
+
+ /**
+ * last index of array variable
+ *
+ * @var mixed
+ */
+ public $last_index;
+
+ /**
+ * last variable name
+ *
+ * @var string
+ */
+ public $last_variable;
+
+ /**
+ * root parse tree buffer
+ *
+ * @var Smarty_Internal_ParseTree_Template
+ */
+ public $root_buffer;
+
+ /**
+ * current parse tree object
+ *
+ * @var Smarty_Internal_ParseTree
+ */
+ public $current_buffer;
+
+ /**
+ * lexer object
+ *
+ * @var Smarty_Internal_Templatelexer
+ */
+ public $lex;
+
+ /**
+ * {strip} status
+ *
+ * @var bool
+ */
+ public $strip = false;
+
+ /**
+ * compiler object
+ *
+ * @var Smarty_Internal_TemplateCompilerBase
+ */
+ public $compiler = null;
+
+ /**
+ * smarty object
+ *
+ * @var Smarty
+ */
+ public $smarty = null;
+
+ /**
+ * template object
+ *
+ * @var Smarty_Internal_Template
+ */
+ public $template = null;
+
+ /**
+ * block nesting level
+ *
+ * @var int
+ */
+ public $block_nesting_level = 0;
+
+ /**
+ * security object
+ *
+ * @var Smarty_Security
+ */
+ public $security = null;
+
+ /**
+ * template prefix array
+ *
+ * @var \Smarty_Internal_ParseTree[]
+ */
+ public $template_prefix = array();
+
+ /**
+ * template prefix array
+ *
+ * @var \Smarty_Internal_ParseTree[]
+ */
+ public $template_postfix = array();
+
+ public $yyTraceFILE;
+
+ public $yyTracePrompt;
+
+ public $yyidx;
+
+ public $yyerrcnt;
+
+ public $yystack = array();
+
+ public $yyTokenName = array(
+ '$', 'VERT', 'COLON', 'UNIMATH',
+ 'PHP', 'TEXT', 'STRIPON', 'STRIPOFF',
+ 'LITERALSTART', 'LITERALEND', 'LITERAL', 'SIMPELOUTPUT',
+ 'SIMPLETAG', 'SMARTYBLOCKCHILDPARENT', 'LDEL', 'RDEL',
+ 'DOLLARID', 'EQUAL', 'ID', 'PTR',
+ 'LDELMAKENOCACHE', 'LDELIF', 'LDELFOR', 'SEMICOLON',
+ 'INCDEC', 'TO', 'STEP', 'LDELFOREACH',
+ 'SPACE', 'AS', 'APTR', 'LDELSETFILTER',
+ 'CLOSETAG', 'LDELSLASH', 'ATTR', 'INTEGER',
+ 'COMMA', 'OPENP', 'CLOSEP', 'MATH',
+ 'ISIN', 'QMARK', 'NOT', 'TYPECAST',
+ 'HEX', 'DOT', 'INSTANCEOF', 'SINGLEQUOTESTRING',
+ 'DOUBLECOLON', 'NAMESPACE', 'AT', 'HATCH',
+ 'OPENB', 'CLOSEB', 'DOLLAR', 'LOGOP',
+ 'SLOGOP', 'TLOGOP', 'SINGLECOND', 'QUOTE',
+ 'BACKTICK', 'error', 'start', 'template',
+ 'literal_e2', 'literal_e1', 'smartytag', 'tagbody',
+ 'tag', 'outattr', 'eqoutattr', 'varindexed',
+ 'output', 'attributes', 'variable', 'value',
+ 'expr', 'modifierlist', 'statement', 'statements',
+ 'foraction', 'varvar', 'modparameters', 'attribute',
+ 'ternary', 'array', 'tlop', 'lop',
+ 'scond', 'function', 'ns1', 'doublequoted_with_quotes',
+ 'static_class_access', 'object', 'arrayindex', 'indexdef',
+ 'varvarele', 'objectchain', 'objectelement', 'method',
+ 'params', 'modifier', 'modparameter', 'arrayelements',
+ 'arrayelement', 'doublequoted', 'doublequotedcontent',
+ );
+
+ /**
+ * internal error flag
+ *
+ * @var bool
+ */
+ private $internalError = false; /* Index of top element in stack */
+ private $_retvalue; /* Shifts left before out of the error */
+ /**
+ * constructor
+ *
+ * @param Smarty_Internal_Templatelexer $lex
+ * @param Smarty_Internal_TemplateCompilerBase $compiler
+ */
+ public function __construct(Smarty_Internal_Templatelexer $lex, Smarty_Internal_TemplateCompilerBase $compiler)
+ {
$this->lex = $lex;
$this->compiler = $compiler;
- $this->smarty = $this->compiler->smarty;
$this->template = $this->compiler->template;
- $this->compiler->has_variable_string = false;
- $this->compiler->prefix_code = array();
- $this->prefix_number = 0;
- $this->block_nesting_level = 0;
- if ($this->security = isset($this->smarty->security_policy)) {
- $this->php_handling = $this->smarty->security_policy->php_handling;
- } else {
- $this->php_handling = $this->smarty->php_handling;
+ $this->smarty = $this->template->smarty;
+ $this->security = isset($this->smarty->security_policy) ? $this->smarty->security_policy : false;
+ $this->current_buffer = $this->root_buffer = new Smarty_Internal_ParseTree_Template();
+ } /* The parser's stack */
+ public static function yy_destructor($yymajor, $yypminor)
+ {
+ switch ($yymajor) {
+ default:
+ break; /* If no destructor action specified: do nothing */
}
- $this->is_xml = false;
- $this->asp_tags = (ini_get('asp_tags') != '0');
- $this->current_buffer = $this->root_buffer = new _smarty_template_buffer($this);
}
- public static function escape_start_tag($tag_text) {
- $tag = preg_replace('/\A<\?(.*)\z/', '<<?php ?>?\1', $tag_text, -1 , $count); //Escape tag
- return $tag;
+ /**
+ * insert PHP code in current buffer
+ *
+ * @param string $code
+ */
+ public function insertPhpCode($code)
+ {
+ $this->current_buffer->append_subtree($this, new Smarty_Internal_ParseTree_Tag($this, $code));
}
- public static function escape_end_tag($tag_text) {
- return '?<?php ?>>';
+ /**
+ * error rundown
+ *
+ */
+ public function errorRunDown()
+ {
+ while ($this->yystack !== array()) {
+ $this->yy_pop_parser_stack();
+ }
+ if (is_resource($this->yyTraceFILE)) {
+ fclose($this->yyTraceFILE);
+ }
}
- public function compileVariable($variable) {
- if (strpos($variable,'(') == 0) {
- // not a variable variable
- $var = trim($variable,'\'');
- $this->compiler->tag_nocache=$this->compiler->tag_nocache|$this->template->getVariable($var, null, true, false)->nocache;
- $this->template->properties['variables'][$var] = $this->compiler->tag_nocache|$this->compiler->nocache;
+ /**
+ * merge PHP code with prefix code and return parse tree tag object
+ *
+ * @param string $code
+ *
+ * @return Smarty_Internal_ParseTree_Tag
+ */
+ public function mergePrefixCode($code)
+ {
+ $tmp = '';
+ foreach ($this->compiler->prefix_code as $preCode) {
+ $tmp .= $preCode;
}
-// return '(isset($_smarty_tpl->tpl_vars['. $variable .'])?$_smarty_tpl->tpl_vars['. $variable .']->value:$_smarty_tpl->getVariable('. $variable .')->value)';
- return '$_smarty_tpl->tpl_vars['. $variable .']->value';
- }
-#line 132 "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_ASPSTARTTAG = 6;
- const TP_ASPENDTAG = 7;
- const TP_FAKEPHPSTARTTAG = 8;
- const TP_XMLTAG = 9;
- const TP_TEXT = 10;
- const TP_STRIPON = 11;
- const TP_STRIPOFF = 12;
- const TP_LITERALSTART = 13;
- const TP_LITERALEND = 14;
- const TP_LITERAL = 15;
- const TP_LDEL = 16;
- const TP_RDEL = 17;
- const TP_DOLLAR = 18;
- const TP_ID = 19;
- const TP_EQUAL = 20;
- const TP_PTR = 21;
- const TP_LDELIF = 22;
- const TP_LDELFOR = 23;
- const TP_SEMICOLON = 24;
- const TP_INCDEC = 25;
- const TP_TO = 26;
- const TP_STEP = 27;
- const TP_LDELFOREACH = 28;
- const TP_SPACE = 29;
- const TP_AS = 30;
- const TP_APTR = 31;
- const TP_LDELSETFILTER = 32;
- const TP_SMARTYBLOCKCHILD = 33;
- const TP_LDELSLASH = 34;
- const TP_INTEGER = 35;
- const TP_COMMA = 36;
- const TP_OPENP = 37;
- const TP_CLOSEP = 38;
- const TP_MATH = 39;
- const TP_UNIMATH = 40;
- const TP_ANDSYM = 41;
- const TP_ISIN = 42;
- const TP_ISDIVBY = 43;
- const TP_ISNOTDIVBY = 44;
- const TP_ISEVEN = 45;
- const TP_ISNOTEVEN = 46;
- const TP_ISEVENBY = 47;
- const TP_ISNOTEVENBY = 48;
- const TP_ISODD = 49;
- const TP_ISNOTODD = 50;
- const TP_ISODDBY = 51;
- const TP_ISNOTODDBY = 52;
- const TP_INSTANCEOF = 53;
- const TP_QMARK = 54;
- const TP_NOT = 55;
- const TP_TYPECAST = 56;
- const TP_HEX = 57;
- const TP_DOT = 58;
- const TP_SINGLEQUOTESTRING = 59;
- const TP_DOUBLECOLON = 60;
- const TP_AT = 61;
- const TP_HATCH = 62;
- const TP_OPENB = 63;
- const TP_CLOSEB = 64;
- const TP_EQUALS = 65;
- const TP_NOTEQUALS = 66;
- const TP_GREATERTHAN = 67;
- const TP_LESSTHAN = 68;
- const TP_GREATEREQUAL = 69;
- const TP_LESSEQUAL = 70;
- const TP_IDENTITY = 71;
- const TP_NONEIDENTITY = 72;
- const TP_MOD = 73;
- const TP_LAND = 74;
- const TP_LOR = 75;
- const TP_LXOR = 76;
- const TP_QUOTE = 77;
- const TP_BACKTICK = 78;
- const TP_DOLLARID = 79;
- const YY_NO_ACTION = 592;
- const YY_ACCEPT_ACTION = 591;
- const YY_ERROR_ACTION = 590;
-
- const YY_SZ_ACTTAB = 2562;
-static public $yy_action = array(
- /* 0 */ 218, 317, 318, 320, 319, 316, 315, 311, 310, 312,
- /* 10 */ 313, 314, 321, 322, 197, 193, 187, 43, 591, 95,
- /* 20 */ 255, 318, 320, 6, 107, 292, 38, 11, 42, 154,
- /* 30 */ 283, 13, 181, 245, 295, 241, 262, 284, 51, 50,
- /* 40 */ 52, 44, 23, 28, 367, 374, 33, 32, 375, 383,
- /* 50 */ 21, 31, 328, 323, 325, 326, 324, 9, 36, 353,
- /* 60 */ 265, 197, 331, 329, 384, 385, 386, 382, 381, 377,
- /* 70 */ 376, 378, 379, 282, 380, 362, 218, 344, 4, 106,
- /* 80 */ 175, 120, 7, 11, 82, 129, 283, 12, 456, 292,
- /* 90 */ 453, 27, 291, 301, 361, 109, 387, 236, 368, 365,
- /* 100 */ 456, 343, 453, 243, 42, 136, 200, 37, 7, 267,
- /* 110 */ 7, 219, 256, 7, 51, 50, 52, 44, 23, 28,
- /* 120 */ 367, 374, 33, 32, 375, 383, 21, 31, 239, 99,
- /* 130 */ 171, 136, 36, 136, 261, 26, 136, 123, 373, 292,
- /* 140 */ 384, 385, 386, 382, 381, 377, 376, 378, 379, 282,
- /* 150 */ 380, 362, 218, 344, 369, 218, 200, 132, 158, 184,
- /* 160 */ 68, 119, 235, 11, 11, 153, 283, 283, 337, 301,
- /* 170 */ 361, 458, 306, 236, 368, 365, 42, 343, 252, 284,
- /* 180 */ 42, 191, 218, 458, 250, 11, 200, 287, 283, 12,
- /* 190 */ 51, 50, 52, 44, 23, 28, 367, 374, 33, 32,
- /* 200 */ 375, 383, 21, 31, 302, 108, 168, 49, 200, 232,
- /* 210 */ 11, 218, 35, 283, 240, 292, 384, 385, 386, 382,
- /* 220 */ 381, 377, 376, 378, 379, 282, 380, 362, 218, 344,
- /* 230 */ 207, 218, 200, 132, 49, 8, 54, 119, 142, 11,
- /* 240 */ 14, 158, 283, 110, 342, 301, 361, 455, 152, 236,
- /* 250 */ 368, 365, 42, 343, 231, 239, 42, 350, 103, 455,
- /* 260 */ 248, 199, 339, 49, 343, 345, 51, 50, 52, 44,
- /* 270 */ 23, 28, 367, 374, 33, 32, 375, 383, 21, 31,
- /* 280 */ 128, 183, 174, 49, 370, 163, 198, 339, 15, 158,
- /* 290 */ 292, 292, 384, 385, 386, 382, 381, 377, 376, 378,
- /* 300 */ 379, 282, 380, 362, 218, 344, 192, 218, 201, 120,
- /* 310 */ 344, 272, 82, 129, 156, 164, 270, 218, 129, 158,
- /* 320 */ 273, 301, 361, 458, 292, 236, 368, 365, 128, 343,
- /* 330 */ 236, 368, 365, 296, 343, 458, 284, 244, 130, 227,
- /* 340 */ 260, 330, 51, 50, 52, 44, 23, 28, 367, 374,
- /* 350 */ 33, 32, 375, 383, 21, 31, 207, 196, 339, 49,
- /* 360 */ 41, 8, 127, 162, 251, 229, 212, 242, 384, 385,
- /* 370 */ 386, 382, 381, 377, 376, 378, 379, 282, 380, 362,
- /* 380 */ 218, 344, 101, 218, 176, 132, 344, 140, 78, 129,
- /* 390 */ 148, 166, 249, 292, 129, 186, 278, 301, 361, 327,
- /* 400 */ 292, 236, 368, 365, 292, 343, 236, 368, 365, 5,
- /* 410 */ 343, 42, 211, 36, 121, 281, 284, 201, 51, 50,
- /* 420 */ 52, 44, 23, 28, 367, 374, 33, 32, 375, 383,
- /* 430 */ 21, 31, 218, 178, 7, 49, 179, 275, 225, 185,
- /* 440 */ 11, 284, 292, 283, 384, 385, 386, 382, 381, 377,
- /* 450 */ 376, 378, 379, 282, 380, 362, 17, 136, 11, 201,
- /* 460 */ 170, 226, 173, 200, 284, 141, 247, 223, 335, 292,
- /* 470 */ 51, 50, 52, 44, 23, 28, 367, 374, 33, 32,
- /* 480 */ 375, 383, 21, 31, 135, 218, 201, 359, 11, 11,
- /* 490 */ 11, 238, 213, 234, 188, 302, 384, 385, 386, 382,
- /* 500 */ 381, 377, 376, 378, 379, 282, 380, 362, 195, 351,
- /* 510 */ 189, 366, 251, 235, 218, 251, 264, 333, 146, 332,
- /* 520 */ 305, 200, 143, 51, 50, 52, 44, 23, 28, 367,
- /* 530 */ 374, 33, 32, 375, 383, 21, 31, 218, 203, 137,
- /* 540 */ 15, 297, 42, 271, 194, 19, 98, 116, 102, 384,
- /* 550 */ 385, 386, 382, 381, 377, 376, 378, 379, 282, 380,
- /* 560 */ 362, 372, 372, 372, 300, 34, 224, 138, 39, 139,
- /* 570 */ 225, 146, 131, 133, 159, 51, 50, 52, 44, 23,
- /* 580 */ 28, 367, 374, 33, 32, 375, 383, 21, 31, 372,
- /* 590 */ 172, 334, 94, 299, 276, 302, 2, 371, 4, 292,
- /* 600 */ 125, 384, 385, 386, 382, 381, 377, 376, 378, 379,
- /* 610 */ 282, 380, 362, 218, 344, 372, 218, 308, 132, 344,
- /* 620 */ 287, 78, 129, 150, 370, 201, 161, 129, 160, 204,
- /* 630 */ 301, 361, 341, 29, 236, 368, 365, 292, 343, 236,
- /* 640 */ 368, 365, 218, 343, 284, 216, 42, 20, 277, 284,
- /* 650 */ 263, 51, 50, 52, 44, 23, 28, 367, 374, 33,
- /* 660 */ 32, 375, 383, 21, 31, 218, 228, 45, 49, 16,
- /* 670 */ 326, 249, 104, 326, 326, 118, 105, 384, 385, 386,
- /* 680 */ 382, 381, 377, 376, 378, 379, 282, 380, 362, 340,
- /* 690 */ 372, 372, 326, 326, 326, 326, 326, 326, 326, 326,
- /* 700 */ 326, 42, 237, 51, 50, 52, 44, 23, 28, 367,
- /* 710 */ 374, 33, 32, 375, 383, 21, 31, 218, 326, 326,
- /* 720 */ 326, 326, 326, 326, 326, 326, 114, 326, 218, 384,
- /* 730 */ 385, 386, 382, 381, 377, 376, 378, 379, 282, 380,
- /* 740 */ 362, 372, 353, 326, 307, 326, 326, 326, 326, 326,
- /* 750 */ 326, 326, 326, 326, 268, 51, 50, 52, 44, 23,
- /* 760 */ 28, 367, 374, 33, 32, 375, 383, 21, 31, 218,
- /* 770 */ 326, 326, 326, 326, 326, 326, 326, 326, 97, 355,
- /* 780 */ 112, 384, 385, 386, 382, 381, 377, 376, 378, 379,
- /* 790 */ 282, 380, 362, 372, 326, 372, 326, 42, 326, 326,
- /* 800 */ 326, 326, 326, 326, 326, 326, 158, 51, 50, 52,
- /* 810 */ 44, 23, 28, 367, 374, 33, 32, 375, 383, 21,
- /* 820 */ 31, 218, 326, 326, 326, 326, 326, 326, 326, 326,
- /* 830 */ 326, 326, 326, 384, 385, 386, 382, 381, 377, 376,
- /* 840 */ 378, 379, 282, 380, 362, 128, 326, 326, 326, 326,
- /* 850 */ 326, 326, 326, 326, 326, 326, 326, 326, 326, 51,
- /* 860 */ 50, 52, 44, 23, 28, 367, 374, 33, 32, 375,
- /* 870 */ 383, 21, 31, 326, 326, 326, 326, 326, 326, 326,
- /* 880 */ 326, 326, 326, 326, 266, 384, 385, 386, 382, 381,
- /* 890 */ 377, 376, 378, 379, 282, 380, 362, 218, 326, 326,
- /* 900 */ 326, 326, 190, 344, 326, 326, 11, 145, 354, 283,
- /* 910 */ 288, 129, 218, 202, 18, 24, 22, 218, 45, 42,
- /* 920 */ 6, 107, 42, 236, 368, 365, 154, 343, 286, 200,
- /* 930 */ 245, 295, 241, 285, 326, 51, 50, 52, 44, 23,
- /* 940 */ 28, 367, 374, 33, 32, 375, 383, 21, 31, 218,
- /* 950 */ 10, 326, 326, 326, 326, 326, 326, 326, 326, 326,
- /* 960 */ 326, 384, 385, 386, 382, 381, 377, 376, 378, 379,
- /* 970 */ 282, 380, 362, 326, 326, 356, 40, 352, 326, 326,
- /* 980 */ 326, 326, 326, 326, 326, 326, 326, 51, 50, 52,
- /* 990 */ 44, 23, 28, 367, 374, 33, 32, 375, 383, 21,
- /* 1000 */ 31, 218, 326, 326, 326, 326, 326, 326, 326, 326,
- /* 1010 */ 326, 326, 326, 384, 385, 386, 382, 381, 377, 376,
- /* 1020 */ 378, 379, 282, 380, 362, 326, 326, 326, 326, 326,
- /* 1030 */ 326, 326, 326, 326, 326, 326, 326, 326, 326, 51,
- /* 1040 */ 50, 52, 44, 23, 28, 367, 374, 33, 32, 375,
- /* 1050 */ 383, 21, 31, 326, 326, 326, 326, 326, 326, 326,
- /* 1060 */ 326, 326, 326, 326, 326, 384, 385, 386, 382, 381,
- /* 1070 */ 377, 376, 378, 379, 282, 380, 362, 218, 218, 51,
- /* 1080 */ 50, 52, 44, 23, 28, 367, 374, 33, 32, 375,
- /* 1090 */ 383, 21, 31, 303, 304, 326, 326, 326, 326, 326,
- /* 1100 */ 326, 326, 326, 326, 326, 384, 385, 386, 382, 381,
- /* 1110 */ 377, 376, 378, 379, 282, 380, 362, 218, 326, 218,
- /* 1120 */ 326, 326, 43, 326, 134, 208, 326, 326, 6, 107,
- /* 1130 */ 326, 326, 253, 348, 154, 452, 354, 230, 245, 295,
- /* 1140 */ 241, 246, 18, 30, 42, 42, 48, 42, 6, 107,
- /* 1150 */ 326, 326, 326, 7, 154, 326, 326, 326, 245, 295,
- /* 1160 */ 241, 47, 46, 298, 233, 363, 326, 344, 101, 1,
- /* 1170 */ 269, 155, 326, 326, 326, 129, 136, 326, 43, 326,
- /* 1180 */ 134, 220, 326, 96, 6, 107, 358, 236, 368, 365,
- /* 1190 */ 154, 343, 326, 326, 245, 295, 241, 246, 42, 30,
- /* 1200 */ 326, 254, 48, 360, 40, 352, 326, 344, 326, 326,
- /* 1210 */ 326, 151, 326, 42, 349, 129, 326, 47, 46, 298,
- /* 1220 */ 233, 363, 326, 274, 101, 1, 42, 236, 368, 365,
- /* 1230 */ 326, 343, 336, 357, 43, 42, 144, 220, 326, 96,
- /* 1240 */ 6, 107, 289, 326, 42, 42, 154, 258, 326, 294,
- /* 1250 */ 245, 295, 241, 246, 42, 3, 326, 338, 48, 42,
- /* 1260 */ 259, 42, 326, 344, 326, 326, 326, 149, 326, 42,
- /* 1270 */ 279, 129, 42, 47, 46, 298, 233, 363, 326, 293,
- /* 1280 */ 101, 1, 42, 236, 368, 365, 326, 343, 309, 347,
- /* 1290 */ 43, 42, 126, 220, 326, 96, 6, 107, 290, 326,
- /* 1300 */ 42, 42, 154, 346, 326, 257, 245, 295, 241, 246,
- /* 1310 */ 42, 30, 326, 326, 48, 42, 326, 42, 326, 326,
- /* 1320 */ 326, 326, 326, 326, 326, 326, 326, 326, 326, 47,
- /* 1330 */ 46, 298, 233, 363, 326, 326, 101, 1, 326, 326,
- /* 1340 */ 326, 326, 326, 326, 326, 326, 43, 326, 130, 220,
- /* 1350 */ 326, 96, 6, 107, 326, 326, 326, 326, 154, 326,
- /* 1360 */ 326, 326, 245, 295, 241, 246, 326, 25, 326, 326,
- /* 1370 */ 48, 326, 326, 326, 326, 326, 326, 326, 326, 326,
- /* 1380 */ 326, 326, 326, 326, 326, 47, 46, 298, 233, 363,
- /* 1390 */ 326, 326, 101, 1, 326, 326, 326, 326, 326, 326,
- /* 1400 */ 326, 326, 43, 326, 134, 210, 326, 96, 6, 107,
- /* 1410 */ 326, 326, 326, 326, 154, 326, 326, 326, 245, 295,
- /* 1420 */ 241, 246, 326, 30, 326, 326, 48, 326, 326, 326,
- /* 1430 */ 326, 326, 326, 326, 326, 326, 326, 326, 326, 326,
- /* 1440 */ 326, 47, 46, 298, 233, 363, 326, 326, 101, 1,
- /* 1450 */ 326, 326, 326, 326, 326, 326, 326, 326, 43, 326,
- /* 1460 */ 124, 92, 326, 96, 6, 107, 326, 326, 326, 326,
- /* 1470 */ 154, 326, 326, 326, 245, 295, 241, 246, 326, 30,
- /* 1480 */ 326, 326, 48, 326, 326, 326, 326, 326, 326, 326,
- /* 1490 */ 326, 326, 326, 326, 326, 326, 326, 47, 46, 298,
- /* 1500 */ 233, 363, 326, 326, 101, 1, 326, 326, 326, 326,
- /* 1510 */ 326, 326, 326, 326, 43, 326, 134, 206, 326, 96,
- /* 1520 */ 6, 107, 326, 326, 326, 326, 154, 326, 326, 326,
- /* 1530 */ 245, 295, 241, 222, 326, 30, 326, 326, 48, 326,
- /* 1540 */ 326, 326, 326, 326, 326, 326, 326, 326, 326, 326,
- /* 1550 */ 326, 326, 326, 47, 46, 298, 233, 363, 326, 326,
- /* 1560 */ 101, 1, 326, 326, 326, 326, 326, 326, 326, 326,
- /* 1570 */ 43, 326, 134, 205, 326, 96, 6, 107, 326, 326,
- /* 1580 */ 326, 326, 154, 326, 326, 326, 245, 295, 241, 246,
- /* 1590 */ 326, 30, 326, 326, 48, 326, 326, 326, 326, 326,
- /* 1600 */ 326, 326, 326, 326, 326, 326, 326, 326, 326, 47,
- /* 1610 */ 46, 298, 233, 363, 326, 326, 101, 1, 326, 326,
- /* 1620 */ 326, 326, 326, 326, 326, 326, 43, 326, 134, 209,
- /* 1630 */ 326, 96, 6, 107, 326, 326, 326, 326, 154, 326,
- /* 1640 */ 326, 326, 245, 295, 241, 246, 326, 30, 326, 326,
- /* 1650 */ 48, 326, 326, 326, 326, 326, 326, 326, 326, 326,
- /* 1660 */ 326, 326, 326, 326, 326, 47, 46, 298, 233, 363,
- /* 1670 */ 326, 326, 101, 1, 326, 326, 326, 326, 326, 326,
- /* 1680 */ 326, 326, 43, 326, 130, 220, 326, 96, 6, 107,
- /* 1690 */ 326, 326, 326, 326, 154, 326, 326, 326, 245, 295,
- /* 1700 */ 241, 246, 326, 25, 326, 326, 48, 326, 326, 326,
- /* 1710 */ 326, 326, 326, 326, 326, 326, 326, 326, 326, 190,
- /* 1720 */ 165, 47, 46, 298, 233, 363, 326, 326, 101, 292,
- /* 1730 */ 326, 326, 24, 22, 326, 326, 326, 326, 43, 326,
- /* 1740 */ 130, 221, 326, 96, 6, 107, 200, 326, 326, 326,
- /* 1750 */ 154, 326, 326, 326, 245, 295, 241, 246, 326, 25,
- /* 1760 */ 326, 326, 48, 326, 326, 326, 326, 326, 326, 326,
- /* 1770 */ 326, 326, 326, 326, 326, 326, 326, 47, 46, 298,
- /* 1780 */ 233, 363, 326, 326, 101, 326, 326, 326, 326, 326,
- /* 1790 */ 326, 326, 326, 326, 326, 501, 190, 180, 326, 96,
- /* 1800 */ 326, 326, 501, 326, 501, 501, 292, 501, 501, 24,
- /* 1810 */ 22, 326, 326, 344, 501, 7, 501, 132, 326, 326,
- /* 1820 */ 78, 129, 326, 200, 326, 326, 326, 326, 326, 301,
- /* 1830 */ 361, 501, 326, 236, 368, 365, 326, 343, 136, 326,
- /* 1840 */ 326, 344, 501, 326, 217, 93, 326, 326, 59, 117,
- /* 1850 */ 326, 326, 326, 326, 326, 326, 501, 301, 361, 326,
- /* 1860 */ 326, 236, 368, 365, 344, 343, 326, 326, 132, 326,
- /* 1870 */ 326, 77, 129, 326, 326, 326, 326, 326, 326, 326,
- /* 1880 */ 301, 361, 326, 326, 236, 368, 365, 344, 343, 326,
- /* 1890 */ 326, 132, 326, 326, 84, 129, 326, 326, 344, 326,
- /* 1900 */ 326, 326, 115, 301, 361, 72, 129, 236, 368, 365,
- /* 1910 */ 326, 343, 326, 326, 301, 361, 326, 326, 236, 368,
- /* 1920 */ 365, 326, 343, 344, 326, 326, 326, 132, 326, 326,
- /* 1930 */ 64, 129, 326, 326, 344, 326, 326, 326, 132, 301,
- /* 1940 */ 361, 66, 129, 236, 368, 365, 326, 343, 326, 326,
- /* 1950 */ 301, 361, 326, 344, 236, 368, 365, 132, 343, 326,
- /* 1960 */ 68, 129, 326, 326, 326, 326, 326, 326, 326, 301,
- /* 1970 */ 361, 326, 344, 236, 368, 365, 132, 343, 326, 76,
- /* 1980 */ 129, 326, 326, 344, 326, 326, 326, 132, 301, 361,
- /* 1990 */ 80, 129, 236, 368, 365, 326, 343, 326, 326, 301,
- /* 2000 */ 361, 326, 326, 236, 368, 365, 326, 343, 344, 326,
- /* 2010 */ 326, 326, 132, 326, 326, 60, 129, 326, 326, 344,
- /* 2020 */ 326, 326, 326, 132, 301, 361, 73, 129, 236, 368,
- /* 2030 */ 365, 326, 343, 326, 326, 301, 361, 326, 344, 236,
- /* 2040 */ 368, 365, 132, 343, 326, 74, 129, 326, 326, 326,
- /* 2050 */ 326, 326, 326, 326, 301, 361, 326, 344, 236, 368,
- /* 2060 */ 365, 132, 343, 326, 90, 129, 326, 326, 344, 326,
- /* 2070 */ 326, 326, 132, 301, 361, 65, 129, 236, 368, 365,
- /* 2080 */ 326, 343, 326, 326, 301, 361, 326, 326, 236, 368,
- /* 2090 */ 365, 326, 343, 344, 326, 326, 326, 132, 326, 326,
- /* 2100 */ 83, 129, 326, 326, 344, 326, 326, 326, 93, 301,
- /* 2110 */ 361, 53, 117, 236, 368, 365, 326, 343, 326, 326,
- /* 2120 */ 301, 361, 326, 344, 215, 368, 365, 132, 343, 326,
- /* 2130 */ 87, 129, 326, 326, 326, 326, 326, 326, 326, 301,
- /* 2140 */ 361, 326, 344, 236, 368, 365, 132, 343, 326, 58,
- /* 2150 */ 129, 326, 326, 344, 326, 326, 326, 122, 301, 361,
- /* 2160 */ 55, 129, 236, 368, 365, 326, 343, 326, 326, 301,
- /* 2170 */ 361, 326, 326, 236, 368, 365, 326, 343, 344, 326,
- /* 2180 */ 326, 326, 132, 326, 326, 70, 129, 326, 326, 344,
- /* 2190 */ 326, 326, 326, 132, 301, 361, 91, 129, 236, 368,
- /* 2200 */ 365, 326, 343, 326, 326, 301, 361, 326, 344, 236,
- /* 2210 */ 368, 365, 111, 343, 326, 63, 129, 326, 326, 326,
- /* 2220 */ 326, 326, 326, 326, 301, 361, 326, 344, 236, 368,
- /* 2230 */ 365, 132, 343, 326, 86, 129, 326, 326, 344, 326,
- /* 2240 */ 326, 326, 132, 301, 361, 79, 129, 236, 368, 365,
- /* 2250 */ 326, 343, 326, 326, 301, 361, 326, 326, 236, 368,
- /* 2260 */ 365, 326, 343, 344, 326, 326, 326, 132, 326, 326,
- /* 2270 */ 75, 129, 326, 326, 344, 326, 326, 326, 132, 301,
- /* 2280 */ 361, 88, 129, 236, 368, 365, 326, 343, 326, 326,
- /* 2290 */ 301, 361, 326, 344, 236, 368, 365, 132, 343, 326,
- /* 2300 */ 62, 129, 326, 326, 326, 326, 326, 326, 326, 301,
- /* 2310 */ 361, 326, 344, 236, 368, 365, 132, 343, 326, 61,
- /* 2320 */ 129, 326, 326, 344, 326, 326, 326, 132, 301, 361,
- /* 2330 */ 69, 129, 236, 368, 365, 326, 343, 326, 326, 301,
- /* 2340 */ 361, 326, 326, 236, 368, 365, 326, 343, 344, 326,
- /* 2350 */ 326, 326, 132, 326, 326, 57, 129, 326, 326, 344,
- /* 2360 */ 326, 326, 326, 132, 301, 361, 89, 129, 236, 368,
- /* 2370 */ 365, 326, 343, 326, 326, 301, 361, 326, 344, 236,
- /* 2380 */ 368, 365, 132, 343, 326, 81, 129, 326, 326, 326,
- /* 2390 */ 326, 326, 326, 326, 301, 361, 326, 344, 236, 368,
- /* 2400 */ 365, 113, 343, 326, 85, 129, 326, 326, 344, 326,
- /* 2410 */ 326, 326, 132, 301, 361, 71, 129, 236, 368, 365,
- /* 2420 */ 326, 343, 326, 326, 301, 361, 326, 326, 236, 368,
- /* 2430 */ 365, 326, 343, 344, 326, 326, 326, 132, 326, 326,
- /* 2440 */ 67, 129, 326, 326, 344, 326, 326, 326, 132, 301,
- /* 2450 */ 361, 56, 129, 214, 368, 365, 326, 343, 326, 326,
- /* 2460 */ 301, 361, 326, 344, 236, 368, 365, 147, 343, 326,
- /* 2470 */ 326, 129, 326, 326, 326, 326, 326, 326, 326, 326,
- /* 2480 */ 364, 326, 344, 236, 368, 365, 157, 343, 326, 326,
- /* 2490 */ 129, 326, 326, 326, 326, 100, 177, 326, 326, 280,
- /* 2500 */ 326, 326, 236, 368, 365, 292, 343, 326, 24, 22,
- /* 2510 */ 326, 190, 167, 326, 326, 326, 326, 326, 190, 182,
- /* 2520 */ 326, 292, 200, 326, 24, 22, 326, 326, 292, 326,
- /* 2530 */ 326, 24, 22, 326, 190, 169, 326, 326, 200, 326,
- /* 2540 */ 326, 326, 326, 326, 292, 200, 326, 24, 22, 326,
- /* 2550 */ 326, 326, 326, 326, 326, 326, 326, 326, 326, 326,
- /* 2560 */ 326, 200,
- );
- static public $yy_lookahead = array(
- /* 0 */ 1, 83, 84, 85, 3, 4, 5, 6, 7, 8,
- /* 10 */ 9, 10, 11, 12, 13, 98, 90, 16, 81, 82,
- /* 20 */ 83, 84, 85, 22, 23, 99, 27, 16, 29, 28,
- /* 30 */ 19, 20, 109, 32, 33, 34, 25, 111, 39, 40,
- /* 40 */ 41, 42, 43, 44, 45, 46, 47, 48, 49, 50,
- /* 50 */ 51, 52, 4, 5, 6, 7, 8, 16, 36, 84,
- /* 60 */ 38, 13, 14, 15, 65, 66, 67, 68, 69, 70,
- /* 70 */ 71, 72, 73, 74, 75, 76, 1, 84, 37, 89,
- /* 80 */ 90, 88, 37, 16, 91, 92, 19, 20, 17, 99,
- /* 90 */ 17, 20, 17, 100, 101, 120, 121, 104, 105, 106,
- /* 100 */ 29, 108, 29, 58, 29, 60, 116, 31, 37, 64,
- /* 110 */ 37, 118, 119, 37, 39, 40, 41, 42, 43, 44,
- /* 120 */ 45, 46, 47, 48, 49, 50, 51, 52, 61, 89,
- /* 130 */ 90, 60, 36, 60, 38, 16, 60, 18, 19, 99,
- /* 140 */ 65, 66, 67, 68, 69, 70, 71, 72, 73, 74,
- /* 150 */ 75, 76, 1, 84, 35, 1, 116, 88, 21, 89,
- /* 160 */ 91, 92, 93, 16, 16, 97, 19, 19, 17, 100,
- /* 170 */ 101, 17, 19, 104, 105, 106, 29, 108, 31, 111,
- /* 180 */ 29, 89, 1, 29, 30, 16, 116, 117, 19, 20,
- /* 190 */ 39, 40, 41, 42, 43, 44, 45, 46, 47, 48,
- /* 200 */ 49, 50, 51, 52, 25, 89, 90, 53, 116, 61,
- /* 210 */ 16, 1, 31, 19, 61, 99, 65, 66, 67, 68,
- /* 220 */ 69, 70, 71, 72, 73, 74, 75, 76, 1, 84,
- /* 230 */ 58, 1, 116, 88, 53, 63, 91, 92, 93, 16,
- /* 240 */ 20, 21, 19, 86, 17, 100, 101, 17, 92, 104,
- /* 250 */ 105, 106, 29, 108, 31, 61, 29, 78, 98, 29,
- /* 260 */ 104, 112, 113, 53, 108, 113, 39, 40, 41, 42,
- /* 270 */ 43, 44, 45, 46, 47, 48, 49, 50, 51, 52,
- /* 280 */ 60, 90, 90, 53, 110, 109, 112, 113, 20, 21,
- /* 290 */ 99, 99, 65, 66, 67, 68, 69, 70, 71, 72,
- /* 300 */ 73, 74, 75, 76, 1, 84, 98, 1, 116, 88,
- /* 310 */ 84, 62, 91, 92, 88, 90, 64, 1, 92, 21,
- /* 320 */ 17, 100, 101, 17, 99, 104, 105, 106, 60, 108,
- /* 330 */ 104, 105, 106, 17, 108, 29, 111, 21, 18, 19,
- /* 340 */ 119, 14, 39, 40, 41, 42, 43, 44, 45, 46,
- /* 350 */ 47, 48, 49, 50, 51, 52, 58, 112, 113, 53,
- /* 360 */ 16, 63, 18, 19, 92, 93, 94, 19, 65, 66,
- /* 370 */ 67, 68, 69, 70, 71, 72, 73, 74, 75, 76,
- /* 380 */ 1, 84, 62, 1, 90, 88, 84, 19, 91, 92,
- /* 390 */ 88, 90, 58, 99, 92, 90, 17, 100, 101, 17,
- /* 400 */ 99, 104, 105, 106, 99, 108, 104, 105, 106, 36,
- /* 410 */ 108, 29, 115, 36, 19, 38, 111, 116, 39, 40,
- /* 420 */ 41, 42, 43, 44, 45, 46, 47, 48, 49, 50,
- /* 430 */ 51, 52, 1, 90, 37, 53, 89, 64, 2, 109,
- /* 440 */ 16, 111, 99, 19, 65, 66, 67, 68, 69, 70,
- /* 450 */ 71, 72, 73, 74, 75, 76, 20, 60, 16, 116,
- /* 460 */ 90, 19, 109, 116, 111, 18, 18, 19, 19, 99,
- /* 470 */ 39, 40, 41, 42, 43, 44, 45, 46, 47, 48,
- /* 480 */ 49, 50, 51, 52, 37, 1, 116, 17, 16, 16,
- /* 490 */ 16, 19, 19, 19, 89, 25, 65, 66, 67, 68,
- /* 500 */ 69, 70, 71, 72, 73, 74, 75, 76, 24, 78,
- /* 510 */ 24, 107, 92, 93, 1, 92, 93, 85, 114, 87,
- /* 520 */ 19, 116, 36, 39, 40, 41, 42, 43, 44, 45,
- /* 530 */ 46, 47, 48, 49, 50, 51, 52, 1, 19, 18,
- /* 540 */ 20, 35, 29, 62, 19, 2, 96, 96, 96, 65,
- /* 550 */ 66, 67, 68, 69, 70, 71, 72, 73, 74, 75,
- /* 560 */ 76, 111, 111, 111, 107, 54, 30, 18, 26, 18,
- /* 570 */ 2, 114, 18, 18, 96, 39, 40, 41, 42, 43,
- /* 580 */ 44, 45, 46, 47, 48, 49, 50, 51, 52, 111,
- /* 590 */ 90, 19, 19, 35, 38, 25, 37, 19, 37, 99,
- /* 600 */ 96, 65, 66, 67, 68, 69, 70, 71, 72, 73,
- /* 610 */ 74, 75, 76, 1, 84, 111, 1, 99, 88, 84,
- /* 620 */ 117, 91, 92, 88, 110, 116, 109, 92, 90, 17,
- /* 630 */ 100, 101, 17, 20, 104, 105, 106, 99, 108, 104,
- /* 640 */ 105, 106, 1, 108, 111, 115, 29, 29, 114, 111,
- /* 650 */ 29, 39, 40, 41, 42, 43, 44, 45, 46, 47,
- /* 660 */ 48, 49, 50, 51, 52, 1, 95, 2, 53, 95,
- /* 670 */ 122, 58, 109, 122, 122, 96, 96, 65, 66, 67,
- /* 680 */ 68, 69, 70, 71, 72, 73, 74, 75, 76, 17,
- /* 690 */ 111, 111, 122, 122, 122, 122, 122, 122, 122, 122,
- /* 700 */ 122, 29, 38, 39, 40, 41, 42, 43, 44, 45,
- /* 710 */ 46, 47, 48, 49, 50, 51, 52, 1, 122, 122,
- /* 720 */ 122, 122, 122, 122, 122, 122, 96, 122, 1, 65,
- /* 730 */ 66, 67, 68, 69, 70, 71, 72, 73, 74, 75,
- /* 740 */ 76, 111, 84, 122, 17, 122, 122, 122, 122, 122,
- /* 750 */ 122, 122, 122, 122, 38, 39, 40, 41, 42, 43,
- /* 760 */ 44, 45, 46, 47, 48, 49, 50, 51, 52, 1,
- /* 770 */ 122, 122, 122, 122, 122, 122, 122, 122, 96, 121,
- /* 780 */ 96, 65, 66, 67, 68, 69, 70, 71, 72, 73,
- /* 790 */ 74, 75, 76, 111, 122, 111, 122, 29, 122, 122,
- /* 800 */ 122, 122, 122, 122, 122, 122, 21, 39, 40, 41,
- /* 810 */ 42, 43, 44, 45, 46, 47, 48, 49, 50, 51,
- /* 820 */ 52, 1, 122, 122, 122, 122, 122, 122, 122, 122,
- /* 830 */ 122, 122, 122, 65, 66, 67, 68, 69, 70, 71,
- /* 840 */ 72, 73, 74, 75, 76, 60, 122, 122, 122, 122,
- /* 850 */ 122, 122, 122, 122, 122, 122, 122, 122, 122, 39,
- /* 860 */ 40, 41, 42, 43, 44, 45, 46, 47, 48, 49,
- /* 870 */ 50, 51, 52, 122, 122, 122, 122, 122, 122, 122,
- /* 880 */ 122, 122, 122, 122, 64, 65, 66, 67, 68, 69,
- /* 890 */ 70, 71, 72, 73, 74, 75, 76, 1, 122, 122,
- /* 900 */ 122, 122, 89, 84, 122, 122, 16, 88, 10, 19,
- /* 910 */ 17, 92, 1, 17, 16, 102, 103, 1, 2, 29,
- /* 920 */ 22, 23, 29, 104, 105, 106, 28, 108, 17, 116,
- /* 930 */ 32, 33, 34, 17, 122, 39, 40, 41, 42, 43,
- /* 940 */ 44, 45, 46, 47, 48, 49, 50, 51, 52, 1,
- /* 950 */ 2, 122, 122, 122, 122, 122, 122, 122, 122, 122,
- /* 960 */ 122, 65, 66, 67, 68, 69, 70, 71, 72, 73,
- /* 970 */ 74, 75, 76, 122, 122, 77, 78, 79, 122, 122,
- /* 980 */ 122, 122, 122, 122, 122, 122, 122, 39, 40, 41,
- /* 990 */ 42, 43, 44, 45, 46, 47, 48, 49, 50, 51,
- /* 1000 */ 52, 1, 122, 122, 122, 122, 122, 122, 122, 122,
- /* 1010 */ 122, 122, 122, 65, 66, 67, 68, 69, 70, 71,
- /* 1020 */ 72, 73, 74, 75, 76, 122, 122, 122, 122, 122,
- /* 1030 */ 122, 122, 122, 122, 122, 122, 122, 122, 122, 39,
- /* 1040 */ 40, 41, 42, 43, 44, 45, 46, 47, 48, 49,
- /* 1050 */ 50, 51, 52, 122, 122, 122, 122, 122, 122, 122,
- /* 1060 */ 122, 122, 122, 122, 122, 65, 66, 67, 68, 69,
- /* 1070 */ 70, 71, 72, 73, 74, 75, 76, 1, 1, 39,
- /* 1080 */ 40, 41, 42, 43, 44, 45, 46, 47, 48, 49,
- /* 1090 */ 50, 51, 52, 17, 17, 122, 122, 122, 122, 122,
- /* 1100 */ 122, 122, 122, 122, 122, 65, 66, 67, 68, 69,
- /* 1110 */ 70, 71, 72, 73, 74, 75, 76, 1, 122, 1,
- /* 1120 */ 122, 122, 16, 122, 18, 19, 122, 122, 22, 23,
- /* 1130 */ 122, 122, 17, 17, 28, 17, 10, 21, 32, 33,
- /* 1140 */ 34, 35, 16, 37, 29, 29, 40, 29, 22, 23,
- /* 1150 */ 122, 122, 122, 37, 28, 122, 122, 122, 32, 33,
- /* 1160 */ 34, 55, 56, 57, 58, 59, 122, 84, 62, 63,
- /* 1170 */ 64, 88, 122, 122, 122, 92, 60, 122, 16, 122,
- /* 1180 */ 18, 19, 122, 77, 22, 23, 17, 104, 105, 106,
- /* 1190 */ 28, 108, 122, 122, 32, 33, 34, 35, 29, 37,
- /* 1200 */ 122, 17, 40, 77, 78, 79, 122, 84, 122, 122,
- /* 1210 */ 122, 88, 122, 29, 17, 92, 122, 55, 56, 57,
- /* 1220 */ 58, 59, 122, 17, 62, 63, 29, 104, 105, 106,
- /* 1230 */ 122, 108, 17, 17, 16, 29, 18, 19, 122, 77,
- /* 1240 */ 22, 23, 17, 122, 29, 29, 28, 17, 122, 17,
- /* 1250 */ 32, 33, 34, 35, 29, 37, 122, 17, 40, 29,
- /* 1260 */ 17, 29, 122, 84, 122, 122, 122, 88, 122, 29,
- /* 1270 */ 17, 92, 29, 55, 56, 57, 58, 59, 122, 17,
- /* 1280 */ 62, 63, 29, 104, 105, 106, 122, 108, 17, 17,
- /* 1290 */ 16, 29, 18, 19, 122, 77, 22, 23, 17, 122,
- /* 1300 */ 29, 29, 28, 17, 122, 17, 32, 33, 34, 35,
- /* 1310 */ 29, 37, 122, 122, 40, 29, 122, 29, 122, 122,
- /* 1320 */ 122, 122, 122, 122, 122, 122, 122, 122, 122, 55,
- /* 1330 */ 56, 57, 58, 59, 122, 122, 62, 63, 122, 122,
- /* 1340 */ 122, 122, 122, 122, 122, 122, 16, 122, 18, 19,
- /* 1350 */ 122, 77, 22, 23, 122, 122, 122, 122, 28, 122,
- /* 1360 */ 122, 122, 32, 33, 34, 35, 122, 37, 122, 122,
- /* 1370 */ 40, 122, 122, 122, 122, 122, 122, 122, 122, 122,
- /* 1380 */ 122, 122, 122, 122, 122, 55, 56, 57, 58, 59,
- /* 1390 */ 122, 122, 62, 63, 122, 122, 122, 122, 122, 122,
- /* 1400 */ 122, 122, 16, 122, 18, 19, 122, 77, 22, 23,
- /* 1410 */ 122, 122, 122, 122, 28, 122, 122, 122, 32, 33,
- /* 1420 */ 34, 35, 122, 37, 122, 122, 40, 122, 122, 122,
- /* 1430 */ 122, 122, 122, 122, 122, 122, 122, 122, 122, 122,
- /* 1440 */ 122, 55, 56, 57, 58, 59, 122, 122, 62, 63,
- /* 1450 */ 122, 122, 122, 122, 122, 122, 122, 122, 16, 122,
- /* 1460 */ 18, 19, 122, 77, 22, 23, 122, 122, 122, 122,
- /* 1470 */ 28, 122, 122, 122, 32, 33, 34, 35, 122, 37,
- /* 1480 */ 122, 122, 40, 122, 122, 122, 122, 122, 122, 122,
- /* 1490 */ 122, 122, 122, 122, 122, 122, 122, 55, 56, 57,
- /* 1500 */ 58, 59, 122, 122, 62, 63, 122, 122, 122, 122,
- /* 1510 */ 122, 122, 122, 122, 16, 122, 18, 19, 122, 77,
- /* 1520 */ 22, 23, 122, 122, 122, 122, 28, 122, 122, 122,
- /* 1530 */ 32, 33, 34, 35, 122, 37, 122, 122, 40, 122,
- /* 1540 */ 122, 122, 122, 122, 122, 122, 122, 122, 122, 122,
- /* 1550 */ 122, 122, 122, 55, 56, 57, 58, 59, 122, 122,
- /* 1560 */ 62, 63, 122, 122, 122, 122, 122, 122, 122, 122,
- /* 1570 */ 16, 122, 18, 19, 122, 77, 22, 23, 122, 122,
- /* 1580 */ 122, 122, 28, 122, 122, 122, 32, 33, 34, 35,
- /* 1590 */ 122, 37, 122, 122, 40, 122, 122, 122, 122, 122,
- /* 1600 */ 122, 122, 122, 122, 122, 122, 122, 122, 122, 55,
- /* 1610 */ 56, 57, 58, 59, 122, 122, 62, 63, 122, 122,
- /* 1620 */ 122, 122, 122, 122, 122, 122, 16, 122, 18, 19,
- /* 1630 */ 122, 77, 22, 23, 122, 122, 122, 122, 28, 122,
- /* 1640 */ 122, 122, 32, 33, 34, 35, 122, 37, 122, 122,
- /* 1650 */ 40, 122, 122, 122, 122, 122, 122, 122, 122, 122,
- /* 1660 */ 122, 122, 122, 122, 122, 55, 56, 57, 58, 59,
- /* 1670 */ 122, 122, 62, 63, 122, 122, 122, 122, 122, 122,
- /* 1680 */ 122, 122, 16, 122, 18, 19, 122, 77, 22, 23,
- /* 1690 */ 122, 122, 122, 122, 28, 122, 122, 122, 32, 33,
- /* 1700 */ 34, 35, 122, 37, 122, 122, 40, 122, 122, 122,
- /* 1710 */ 122, 122, 122, 122, 122, 122, 122, 122, 122, 89,
- /* 1720 */ 90, 55, 56, 57, 58, 59, 122, 122, 62, 99,
- /* 1730 */ 122, 122, 102, 103, 122, 122, 122, 122, 16, 122,
- /* 1740 */ 18, 19, 122, 77, 22, 23, 116, 122, 122, 122,
- /* 1750 */ 28, 122, 122, 122, 32, 33, 34, 35, 122, 37,
- /* 1760 */ 122, 122, 40, 122, 122, 122, 122, 122, 122, 122,
- /* 1770 */ 122, 122, 122, 122, 122, 122, 122, 55, 56, 57,
- /* 1780 */ 58, 59, 122, 122, 62, 122, 122, 122, 122, 122,
- /* 1790 */ 122, 122, 122, 122, 122, 17, 89, 90, 122, 77,
- /* 1800 */ 122, 122, 24, 122, 26, 27, 99, 29, 30, 102,
- /* 1810 */ 103, 122, 122, 84, 36, 37, 38, 88, 122, 122,
- /* 1820 */ 91, 92, 122, 116, 122, 122, 122, 122, 122, 100,
- /* 1830 */ 101, 53, 122, 104, 105, 106, 122, 108, 60, 122,
- /* 1840 */ 122, 84, 64, 122, 115, 88, 122, 122, 91, 92,
- /* 1850 */ 122, 122, 122, 122, 122, 122, 78, 100, 101, 122,
- /* 1860 */ 122, 104, 105, 106, 84, 108, 122, 122, 88, 122,
- /* 1870 */ 122, 91, 92, 122, 122, 122, 122, 122, 122, 122,
- /* 1880 */ 100, 101, 122, 122, 104, 105, 106, 84, 108, 122,
- /* 1890 */ 122, 88, 122, 122, 91, 92, 122, 122, 84, 122,
- /* 1900 */ 122, 122, 88, 100, 101, 91, 92, 104, 105, 106,
- /* 1910 */ 122, 108, 122, 122, 100, 101, 122, 122, 104, 105,
- /* 1920 */ 106, 122, 108, 84, 122, 122, 122, 88, 122, 122,
- /* 1930 */ 91, 92, 122, 122, 84, 122, 122, 122, 88, 100,
- /* 1940 */ 101, 91, 92, 104, 105, 106, 122, 108, 122, 122,
- /* 1950 */ 100, 101, 122, 84, 104, 105, 106, 88, 108, 122,
- /* 1960 */ 91, 92, 122, 122, 122, 122, 122, 122, 122, 100,
- /* 1970 */ 101, 122, 84, 104, 105, 106, 88, 108, 122, 91,
- /* 1980 */ 92, 122, 122, 84, 122, 122, 122, 88, 100, 101,
- /* 1990 */ 91, 92, 104, 105, 106, 122, 108, 122, 122, 100,
- /* 2000 */ 101, 122, 122, 104, 105, 106, 122, 108, 84, 122,
- /* 2010 */ 122, 122, 88, 122, 122, 91, 92, 122, 122, 84,
- /* 2020 */ 122, 122, 122, 88, 100, 101, 91, 92, 104, 105,
- /* 2030 */ 106, 122, 108, 122, 122, 100, 101, 122, 84, 104,
- /* 2040 */ 105, 106, 88, 108, 122, 91, 92, 122, 122, 122,
- /* 2050 */ 122, 122, 122, 122, 100, 101, 122, 84, 104, 105,
- /* 2060 */ 106, 88, 108, 122, 91, 92, 122, 122, 84, 122,
- /* 2070 */ 122, 122, 88, 100, 101, 91, 92, 104, 105, 106,
- /* 2080 */ 122, 108, 122, 122, 100, 101, 122, 122, 104, 105,
- /* 2090 */ 106, 122, 108, 84, 122, 122, 122, 88, 122, 122,
- /* 2100 */ 91, 92, 122, 122, 84, 122, 122, 122, 88, 100,
- /* 2110 */ 101, 91, 92, 104, 105, 106, 122, 108, 122, 122,
- /* 2120 */ 100, 101, 122, 84, 104, 105, 106, 88, 108, 122,
- /* 2130 */ 91, 92, 122, 122, 122, 122, 122, 122, 122, 100,
- /* 2140 */ 101, 122, 84, 104, 105, 106, 88, 108, 122, 91,
- /* 2150 */ 92, 122, 122, 84, 122, 122, 122, 88, 100, 101,
- /* 2160 */ 91, 92, 104, 105, 106, 122, 108, 122, 122, 100,
- /* 2170 */ 101, 122, 122, 104, 105, 106, 122, 108, 84, 122,
- /* 2180 */ 122, 122, 88, 122, 122, 91, 92, 122, 122, 84,
- /* 2190 */ 122, 122, 122, 88, 100, 101, 91, 92, 104, 105,
- /* 2200 */ 106, 122, 108, 122, 122, 100, 101, 122, 84, 104,
- /* 2210 */ 105, 106, 88, 108, 122, 91, 92, 122, 122, 122,
- /* 2220 */ 122, 122, 122, 122, 100, 101, 122, 84, 104, 105,
- /* 2230 */ 106, 88, 108, 122, 91, 92, 122, 122, 84, 122,
- /* 2240 */ 122, 122, 88, 100, 101, 91, 92, 104, 105, 106,
- /* 2250 */ 122, 108, 122, 122, 100, 101, 122, 122, 104, 105,
- /* 2260 */ 106, 122, 108, 84, 122, 122, 122, 88, 122, 122,
- /* 2270 */ 91, 92, 122, 122, 84, 122, 122, 122, 88, 100,
- /* 2280 */ 101, 91, 92, 104, 105, 106, 122, 108, 122, 122,
- /* 2290 */ 100, 101, 122, 84, 104, 105, 106, 88, 108, 122,
- /* 2300 */ 91, 92, 122, 122, 122, 122, 122, 122, 122, 100,
- /* 2310 */ 101, 122, 84, 104, 105, 106, 88, 108, 122, 91,
- /* 2320 */ 92, 122, 122, 84, 122, 122, 122, 88, 100, 101,
- /* 2330 */ 91, 92, 104, 105, 106, 122, 108, 122, 122, 100,
- /* 2340 */ 101, 122, 122, 104, 105, 106, 122, 108, 84, 122,
- /* 2350 */ 122, 122, 88, 122, 122, 91, 92, 122, 122, 84,
- /* 2360 */ 122, 122, 122, 88, 100, 101, 91, 92, 104, 105,
- /* 2370 */ 106, 122, 108, 122, 122, 100, 101, 122, 84, 104,
- /* 2380 */ 105, 106, 88, 108, 122, 91, 92, 122, 122, 122,
- /* 2390 */ 122, 122, 122, 122, 100, 101, 122, 84, 104, 105,
- /* 2400 */ 106, 88, 108, 122, 91, 92, 122, 122, 84, 122,
- /* 2410 */ 122, 122, 88, 100, 101, 91, 92, 104, 105, 106,
- /* 2420 */ 122, 108, 122, 122, 100, 101, 122, 122, 104, 105,
- /* 2430 */ 106, 122, 108, 84, 122, 122, 122, 88, 122, 122,
- /* 2440 */ 91, 92, 122, 122, 84, 122, 122, 122, 88, 100,
- /* 2450 */ 101, 91, 92, 104, 105, 106, 122, 108, 122, 122,
- /* 2460 */ 100, 101, 122, 84, 104, 105, 106, 88, 108, 122,
- /* 2470 */ 122, 92, 122, 122, 122, 122, 122, 122, 122, 122,
- /* 2480 */ 101, 122, 84, 104, 105, 106, 88, 108, 122, 122,
- /* 2490 */ 92, 122, 122, 122, 122, 89, 90, 122, 122, 101,
- /* 2500 */ 122, 122, 104, 105, 106, 99, 108, 122, 102, 103,
- /* 2510 */ 122, 89, 90, 122, 122, 122, 122, 122, 89, 90,
- /* 2520 */ 122, 99, 116, 122, 102, 103, 122, 122, 99, 122,
- /* 2530 */ 122, 102, 103, 122, 89, 90, 122, 122, 116, 122,
- /* 2540 */ 122, 122, 122, 122, 99, 116, 122, 102, 103, 122,
- /* 2550 */ 122, 122, 122, 122, 122, 122, 122, 122, 122, 122,
- /* 2560 */ 122, 116,
-);
- const YY_SHIFT_USE_DFLT = -2;
- const YY_SHIFT_MAX = 252;
- static public $yy_shift_ofst = array(
- /* 0 */ 1, 1386, 1162, 1218, 1162, 1386, 1218, 1162, 1106, 1162,
- /* 10 */ 1162, 1162, 1162, 1162, 1162, 1162, 1162, 1162, 1442, 1554,
- /* 20 */ 1498, 1162, 1162, 1162, 1162, 1162, 1162, 1610, 1162, 1162,
- /* 30 */ 1162, 1162, 1162, 1162, 1274, 1162, 1162, 1162, 1162, 1162,
- /* 40 */ 1162, 1162, 1498, 1442, 1330, 1330, 1666, 1666, 1666, 1722,
- /* 50 */ 1666, 1666, 1666, 227, 75, 151, -1, 768, 768, 768,
- /* 60 */ 948, 896, 820, 536, 379, 716, 303, 431, 664, 612,
- /* 70 */ 484, 1000, 1000, 1000, 1000, 1000, 1000, 1000, 1000, 1000,
- /* 80 */ 1000, 1000, 1000, 1000, 1000, 1000, 1000, 1000, 1000, 1000,
- /* 90 */ 1040, 1040, 1116, 382, 513, 1, 1126, 147, 223, 1118,
- /* 100 */ 1118, 320, 890, 916, 298, 890, 513, 447, 513, 898,
- /* 110 */ 48, 154, 11, 306, 67, 230, 194, 220, 169, 268,
- /* 120 */ 181, 316, 615, 424, 473, 424, 472, 474, 448, 785,
- /* 130 */ 424, 424, 210, 424, 442, 447, 448, 424, 424, 424,
- /* 140 */ 727, 424, 1288, 447, 442, 641, 137, 641, 641, 641,
- /* 150 */ 641, 641, 137, 617, 618, 641, 641, -2, 344, 148,
- /* 160 */ 893, 172, 41, 172, 1225, 1215, 1216, 1206, 1197, 1115,
- /* 170 */ 1169, 1184, 1230, 172, 1271, 672, 1262, 1272, 1286, 1077,
- /* 180 */ 1281, 172, 1240, 1232, 911, 172, 1253, 1243, 1076, 621,
- /* 190 */ 641, 641, 665, 665, 559, 621, 137, 327, 137, 137,
- /* 200 */ -2, -2, -2, -2, -2, 1778, 71, 119, 45, 73,
- /* 210 */ 76, 96, 486, 436, 179, 470, 22, 377, 153, 373,
- /* 220 */ 397, 397, 613, 561, 554, 572, 568, 249, 549, 542,
- /* 230 */ 573, 555, 578, 558, 559, 556, 570, 511, 543, 449,
- /* 240 */ 501, 395, 252, 348, 368, 519, 334, 525, 481, 506,
- /* 250 */ 521, 520, 551,
-);
- const YY_REDUCE_USE_DFLT = -84;
- const YY_REDUCE_MAX = 204;
- static public $yy_reduce_ofst = array(
- /* 0 */ -63, -7, 1729, 69, 297, 221, 145, 530, 2209, 2228,
- /* 10 */ 1973, 1850, 2190, 2039, 2058, 1899, 2094, 2069, 2020, 2105,
- /* 20 */ 2124, 2179, 2154, 2143, 2009, 1984, 1839, 1814, 1780, 1803,
- /* 30 */ 1869, 1888, 1954, 1935, 1924, 2275, 2324, 2294, 2264, 2360,
- /* 40 */ 2349, 2239, 2313, 1757, 2379, 2398, 226, 819, 302, 535,
- /* 50 */ 1179, 1123, 1083, 2406, 1707, 1630, 2422, 2445, 2429, 2406,
- /* 60 */ 813, 813, 813, 813, 813, 813, 813, 813, 813, 813,
- /* 70 */ 813, 813, 813, 813, 813, 813, 813, 813, 813, 813,
- /* 80 */ 813, 813, 813, 813, 813, 813, 813, 813, 813, 813,
- /* 90 */ 813, 813, -10, 40, 116, -82, -25, 225, -74, 192,
- /* 100 */ 343, 156, 305, 70, 174, 538, 370, 272, 301, 658,
- /* 110 */ 432, 92, 68, 92, 330, 92, 330, 245, 330, 245,
- /* 120 */ 92, 347, 92, 478, 451, 353, 451, 504, 404, 245,
- /* 130 */ 451, 450, 92, 452, 451, 420, 457, 682, 684, 580,
- /* 140 */ 405, 579, 500, 423, 630, 92, 149, 92, 92, 92,
- /* 150 */ 92, 92, 245, 294, 191, 92, 92, 92, 534, 533,
- /* 160 */ 518, 514, 517, 514, 518, 518, 518, 518, 518, 518,
- /* 170 */ 518, 518, 518, 514, 518, 518, 518, 518, 518, 509,
- /* 180 */ 518, 514, 518, 518, 509, 514, 518, 518, 509, 574,
- /* 190 */ 509, 509, 503, 503, 563, 571, 152, 157, 152, 152,
- /* 200 */ -83, 208, 176, 160, -77,
-);
- static public $yyExpectedTokens = array(
- /* 0 */ array(3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 16, 22, 23, 28, 32, 33, 34, ),
- /* 1 */ array(16, 18, 19, 22, 23, 28, 32, 33, 34, 35, 37, 40, 55, 56, 57, 58, 59, 62, 63, 77, ),
- /* 2 */ array(16, 18, 19, 22, 23, 28, 32, 33, 34, 35, 37, 40, 55, 56, 57, 58, 59, 62, 63, 77, ),
- /* 3 */ array(16, 18, 19, 22, 23, 28, 32, 33, 34, 35, 37, 40, 55, 56, 57, 58, 59, 62, 63, 77, ),
- /* 4 */ array(16, 18, 19, 22, 23, 28, 32, 33, 34, 35, 37, 40, 55, 56, 57, 58, 59, 62, 63, 77, ),
- /* 5 */ array(16, 18, 19, 22, 23, 28, 32, 33, 34, 35, 37, 40, 55, 56, 57, 58, 59, 62, 63, 77, ),
- /* 6 */ array(16, 18, 19, 22, 23, 28, 32, 33, 34, 35, 37, 40, 55, 56, 57, 58, 59, 62, 63, 77, ),
- /* 7 */ array(16, 18, 19, 22, 23, 28, 32, 33, 34, 35, 37, 40, 55, 56, 57, 58, 59, 62, 63, 77, ),
- /* 8 */ array(16, 18, 19, 22, 23, 28, 32, 33, 34, 35, 37, 40, 55, 56, 57, 58, 59, 62, 63, 64, 77, ),
- /* 9 */ array(16, 18, 19, 22, 23, 28, 32, 33, 34, 35, 37, 40, 55, 56, 57, 58, 59, 62, 63, 77, ),
- /* 10 */ array(16, 18, 19, 22, 23, 28, 32, 33, 34, 35, 37, 40, 55, 56, 57, 58, 59, 62, 63, 77, ),
- /* 11 */ array(16, 18, 19, 22, 23, 28, 32, 33, 34, 35, 37, 40, 55, 56, 57, 58, 59, 62, 63, 77, ),
- /* 12 */ array(16, 18, 19, 22, 23, 28, 32, 33, 34, 35, 37, 40, 55, 56, 57, 58, 59, 62, 63, 77, ),
- /* 13 */ array(16, 18, 19, 22, 23, 28, 32, 33, 34, 35, 37, 40, 55, 56, 57, 58, 59, 62, 63, 77, ),
- /* 14 */ array(16, 18, 19, 22, 23, 28, 32, 33, 34, 35, 37, 40, 55, 56, 57, 58, 59, 62, 63, 77, ),
- /* 15 */ array(16, 18, 19, 22, 23, 28, 32, 33, 34, 35, 37, 40, 55, 56, 57, 58, 59, 62, 63, 77, ),
- /* 16 */ array(16, 18, 19, 22, 23, 28, 32, 33, 34, 35, 37, 40, 55, 56, 57, 58, 59, 62, 63, 77, ),
- /* 17 */ array(16, 18, 19, 22, 23, 28, 32, 33, 34, 35, 37, 40, 55, 56, 57, 58, 59, 62, 63, 77, ),
- /* 18 */ array(16, 18, 19, 22, 23, 28, 32, 33, 34, 35, 37, 40, 55, 56, 57, 58, 59, 62, 63, 77, ),
- /* 19 */ array(16, 18, 19, 22, 23, 28, 32, 33, 34, 35, 37, 40, 55, 56, 57, 58, 59, 62, 63, 77, ),
- /* 20 */ array(16, 18, 19, 22, 23, 28, 32, 33, 34, 35, 37, 40, 55, 56, 57, 58, 59, 62, 63, 77, ),
- /* 21 */ array(16, 18, 19, 22, 23, 28, 32, 33, 34, 35, 37, 40, 55, 56, 57, 58, 59, 62, 63, 77, ),
- /* 22 */ array(16, 18, 19, 22, 23, 28, 32, 33, 34, 35, 37, 40, 55, 56, 57, 58, 59, 62, 63, 77, ),
- /* 23 */ array(16, 18, 19, 22, 23, 28, 32, 33, 34, 35, 37, 40, 55, 56, 57, 58, 59, 62, 63, 77, ),
- /* 24 */ array(16, 18, 19, 22, 23, 28, 32, 33, 34, 35, 37, 40, 55, 56, 57, 58, 59, 62, 63, 77, ),
- /* 25 */ array(16, 18, 19, 22, 23, 28, 32, 33, 34, 35, 37, 40, 55, 56, 57, 58, 59, 62, 63, 77, ),
- /* 26 */ array(16, 18, 19, 22, 23, 28, 32, 33, 34, 35, 37, 40, 55, 56, 57, 58, 59, 62, 63, 77, ),
- /* 27 */ array(16, 18, 19, 22, 23, 28, 32, 33, 34, 35, 37, 40, 55, 56, 57, 58, 59, 62, 63, 77, ),
- /* 28 */ array(16, 18, 19, 22, 23, 28, 32, 33, 34, 35, 37, 40, 55, 56, 57, 58, 59, 62, 63, 77, ),
- /* 29 */ array(16, 18, 19, 22, 23, 28, 32, 33, 34, 35, 37, 40, 55, 56, 57, 58, 59, 62, 63, 77, ),
- /* 30 */ array(16, 18, 19, 22, 23, 28, 32, 33, 34, 35, 37, 40, 55, 56, 57, 58, 59, 62, 63, 77, ),
- /* 31 */ array(16, 18, 19, 22, 23, 28, 32, 33, 34, 35, 37, 40, 55, 56, 57, 58, 59, 62, 63, 77, ),
- /* 32 */ array(16, 18, 19, 22, 23, 28, 32, 33, 34, 35, 37, 40, 55, 56, 57, 58, 59, 62, 63, 77, ),
- /* 33 */ array(16, 18, 19, 22, 23, 28, 32, 33, 34, 35, 37, 40, 55, 56, 57, 58, 59, 62, 63, 77, ),
- /* 34 */ array(16, 18, 19, 22, 23, 28, 32, 33, 34, 35, 37, 40, 55, 56, 57, 58, 59, 62, 63, 77, ),
- /* 35 */ array(16, 18, 19, 22, 23, 28, 32, 33, 34, 35, 37, 40, 55, 56, 57, 58, 59, 62, 63, 77, ),
- /* 36 */ array(16, 18, 19, 22, 23, 28, 32, 33, 34, 35, 37, 40, 55, 56, 57, 58, 59, 62, 63, 77, ),
- /* 37 */ array(16, 18, 19, 22, 23, 28, 32, 33, 34, 35, 37, 40, 55, 56, 57, 58, 59, 62, 63, 77, ),
- /* 38 */ array(16, 18, 19, 22, 23, 28, 32, 33, 34, 35, 37, 40, 55, 56, 57, 58, 59, 62, 63, 77, ),
- /* 39 */ array(16, 18, 19, 22, 23, 28, 32, 33, 34, 35, 37, 40, 55, 56, 57, 58, 59, 62, 63, 77, ),
- /* 40 */ array(16, 18, 19, 22, 23, 28, 32, 33, 34, 35, 37, 40, 55, 56, 57, 58, 59, 62, 63, 77, ),
- /* 41 */ array(16, 18, 19, 22, 23, 28, 32, 33, 34, 35, 37, 40, 55, 56, 57, 58, 59, 62, 63, 77, ),
- /* 42 */ array(16, 18, 19, 22, 23, 28, 32, 33, 34, 35, 37, 40, 55, 56, 57, 58, 59, 62, 63, 77, ),
- /* 43 */ array(16, 18, 19, 22, 23, 28, 32, 33, 34, 35, 37, 40, 55, 56, 57, 58, 59, 62, 63, 77, ),
- /* 44 */ array(16, 18, 19, 22, 23, 28, 32, 33, 34, 35, 37, 40, 55, 56, 57, 58, 59, 62, 63, 77, ),
- /* 45 */ array(16, 18, 19, 22, 23, 28, 32, 33, 34, 35, 37, 40, 55, 56, 57, 58, 59, 62, 63, 77, ),
- /* 46 */ array(16, 18, 19, 22, 23, 28, 32, 33, 34, 35, 37, 40, 55, 56, 57, 58, 59, 62, 77, ),
- /* 47 */ array(16, 18, 19, 22, 23, 28, 32, 33, 34, 35, 37, 40, 55, 56, 57, 58, 59, 62, 77, ),
- /* 48 */ array(16, 18, 19, 22, 23, 28, 32, 33, 34, 35, 37, 40, 55, 56, 57, 58, 59, 62, 77, ),
- /* 49 */ array(16, 18, 19, 22, 23, 28, 32, 33, 34, 35, 37, 40, 55, 56, 57, 58, 59, 62, 77, ),
- /* 50 */ array(16, 18, 19, 22, 23, 28, 32, 33, 34, 35, 37, 40, 55, 56, 57, 58, 59, 62, 77, ),
- /* 51 */ array(16, 18, 19, 22, 23, 28, 32, 33, 34, 35, 37, 40, 55, 56, 57, 58, 59, 62, 77, ),
- /* 52 */ array(16, 18, 19, 22, 23, 28, 32, 33, 34, 35, 37, 40, 55, 56, 57, 58, 59, 62, 77, ),
- /* 53 */ array(1, 17, 29, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, ),
- /* 54 */ array(1, 17, 29, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, ),
- /* 55 */ array(1, 17, 29, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, ),
- /* 56 */ array(1, 27, 29, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, ),
- /* 57 */ array(1, 29, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, ),
- /* 58 */ array(1, 29, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, ),
- /* 59 */ array(1, 29, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, ),
- /* 60 */ array(1, 2, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, ),
- /* 61 */ array(1, 17, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, ),
- /* 62 */ array(1, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, ),
- /* 63 */ array(1, 30, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, ),
- /* 64 */ array(1, 17, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, ),
- /* 65 */ array(1, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, ),
- /* 66 */ array(1, 17, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, ),
- /* 67 */ array(1, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 78, ),
- /* 68 */ array(1, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, ),
- /* 69 */ array(1, 17, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, ),
- /* 70 */ array(1, 24, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, ),
- /* 71 */ array(1, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, ),
- /* 72 */ array(1, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, ),
- /* 73 */ array(1, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, ),
- /* 74 */ array(1, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, ),
- /* 75 */ array(1, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, ),
- /* 76 */ array(1, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, ),
- /* 77 */ array(1, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, ),
- /* 78 */ array(1, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, ),
- /* 79 */ array(1, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, ),
- /* 80 */ array(1, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, ),
- /* 81 */ array(1, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, ),
- /* 82 */ array(1, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, ),
- /* 83 */ array(1, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, ),
- /* 84 */ array(1, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, ),
- /* 85 */ array(1, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, ),
- /* 86 */ array(1, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, ),
- /* 87 */ array(1, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, ),
- /* 88 */ array(1, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, ),
- /* 89 */ array(1, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, ),
- /* 90 */ array(39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, ),
- /* 91 */ array(39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, ),
- /* 92 */ array(1, 17, 21, 29, 37, 60, ),
- /* 93 */ array(1, 17, 29, 53, ),
- /* 94 */ array(1, 29, ),
- /* 95 */ array(3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 16, 22, 23, 28, 32, 33, 34, ),
- /* 96 */ array(10, 16, 22, 23, 28, 32, 33, 34, 77, 78, 79, ),
- /* 97 */ array(16, 19, 29, 31, ),
- /* 98 */ array(16, 19, 29, 31, ),
- /* 99 */ array(1, 17, 29, ),
- /* 100 */ array(1, 17, 29, ),
- /* 101 */ array(18, 19, 62, ),
- /* 102 */ array(16, 19, 29, ),
- /* 103 */ array(1, 2, 17, ),
- /* 104 */ array(21, 58, 63, ),
- /* 105 */ array(16, 19, 29, ),
- /* 106 */ array(1, 29, ),
- /* 107 */ array(18, 37, ),
- /* 108 */ array(1, 29, ),
- /* 109 */ array(10, 16, 22, 23, 28, 32, 33, 34, 77, 78, 79, ),
- /* 110 */ array(4, 5, 6, 7, 8, 13, 14, 15, ),
- /* 111 */ array(1, 17, 29, 30, 53, ),
- /* 112 */ array(16, 19, 20, 25, ),
- /* 113 */ array(1, 17, 29, 53, ),
- /* 114 */ array(16, 19, 20, 61, ),
- /* 115 */ array(1, 17, 29, 53, ),
- /* 116 */ array(16, 19, 61, ),
- /* 117 */ array(20, 21, 60, ),
- /* 118 */ array(16, 19, 20, ),
- /* 119 */ array(20, 21, 60, ),
- /* 120 */ array(1, 31, 53, ),
- /* 121 */ array(1, 17, 21, ),
- /* 122 */ array(1, 17, 53, ),
- /* 123 */ array(16, 19, ),
- /* 124 */ array(16, 19, ),
- /* 125 */ array(16, 19, ),
- /* 126 */ array(16, 19, ),
- /* 127 */ array(16, 19, ),
- /* 128 */ array(18, 19, ),
- /* 129 */ array(21, 60, ),
- /* 130 */ array(16, 19, ),
- /* 131 */ array(16, 19, ),
- /* 132 */ array(1, 53, ),
- /* 133 */ array(16, 19, ),
- /* 134 */ array(16, 19, ),
- /* 135 */ array(18, 37, ),
- /* 136 */ array(18, 19, ),
- /* 137 */ array(16, 19, ),
- /* 138 */ array(16, 19, ),
- /* 139 */ array(16, 19, ),
- /* 140 */ array(1, 17, ),
- /* 141 */ array(16, 19, ),
- /* 142 */ array(17, 29, ),
- /* 143 */ array(18, 37, ),
- /* 144 */ array(16, 19, ),
- /* 145 */ array(1, ),
- /* 146 */ array(21, ),
- /* 147 */ array(1, ),
- /* 148 */ array(1, ),
- /* 149 */ array(1, ),
- /* 150 */ array(1, ),
- /* 151 */ array(1, ),
- /* 152 */ array(21, ),
- /* 153 */ array(29, ),
- /* 154 */ array(29, ),
- /* 155 */ array(1, ),
- /* 156 */ array(1, ),
- /* 157 */ array(),
- /* 158 */ array(16, 18, 19, ),
- /* 159 */ array(16, 19, 61, ),
- /* 160 */ array(17, 29, ),
- /* 161 */ array(58, 63, ),
- /* 162 */ array(16, 37, ),
- /* 163 */ array(58, 63, ),
- /* 164 */ array(17, 29, ),
- /* 165 */ array(17, 29, ),
- /* 166 */ array(17, 29, ),
- /* 167 */ array(17, 29, ),
- /* 168 */ array(17, 29, ),
- /* 169 */ array(17, 29, ),
- /* 170 */ array(17, 29, ),
- /* 171 */ array(17, 29, ),
- /* 172 */ array(17, 29, ),
- /* 173 */ array(58, 63, ),
- /* 174 */ array(17, 29, ),
- /* 175 */ array(17, 29, ),
- /* 176 */ array(17, 29, ),
- /* 177 */ array(17, 29, ),
- /* 178 */ array(17, 29, ),
- /* 179 */ array(1, 17, ),
- /* 180 */ array(17, 29, ),
- /* 181 */ array(58, 63, ),
- /* 182 */ array(17, 29, ),
- /* 183 */ array(17, 29, ),
- /* 184 */ array(1, 17, ),
- /* 185 */ array(58, 63, ),
- /* 186 */ array(17, 29, ),
- /* 187 */ array(17, 29, ),
- /* 188 */ array(1, 17, ),
- /* 189 */ array(29, ),
- /* 190 */ array(1, ),
- /* 191 */ array(1, ),
- /* 192 */ array(2, ),
- /* 193 */ array(2, ),
- /* 194 */ array(37, ),
- /* 195 */ array(29, ),
- /* 196 */ array(21, ),
- /* 197 */ array(14, ),
- /* 198 */ array(21, ),
- /* 199 */ array(21, ),
- /* 200 */ array(),
- /* 201 */ array(),
- /* 202 */ array(),
- /* 203 */ array(),
- /* 204 */ array(),
- /* 205 */ array(17, 24, 26, 27, 29, 30, 36, 37, 38, 53, 60, 64, 78, ),
- /* 206 */ array(17, 20, 29, 37, 60, ),
- /* 207 */ array(16, 18, 19, 35, ),
- /* 208 */ array(37, 58, 60, 64, ),
- /* 209 */ array(17, 29, 37, 60, ),
- /* 210 */ array(31, 37, 60, ),
- /* 211 */ array(36, 38, ),
- /* 212 */ array(24, 36, ),
- /* 213 */ array(2, 20, ),
- /* 214 */ array(25, 78, ),
- /* 215 */ array(17, 25, ),
- /* 216 */ array(36, 38, ),
- /* 217 */ array(36, 38, ),
- /* 218 */ array(19, 61, ),
- /* 219 */ array(36, 64, ),
- /* 220 */ array(37, 60, ),
- /* 221 */ array(37, 60, ),
- /* 222 */ array(20, 58, ),
- /* 223 */ array(37, ),
- /* 224 */ array(18, ),
- /* 225 */ array(19, ),
- /* 226 */ array(2, ),
- /* 227 */ array(62, ),
- /* 228 */ array(18, ),
- /* 229 */ array(26, ),
- /* 230 */ array(19, ),
- /* 231 */ array(18, ),
- /* 232 */ array(19, ),
- /* 233 */ array(35, ),
- /* 234 */ array(37, ),
- /* 235 */ array(38, ),
- /* 236 */ array(25, ),
- /* 237 */ array(54, ),
- /* 238 */ array(2, ),
- /* 239 */ array(19, ),
- /* 240 */ array(19, ),
- /* 241 */ array(19, ),
- /* 242 */ array(64, ),
- /* 243 */ array(19, ),
- /* 244 */ array(19, ),
- /* 245 */ array(19, ),
- /* 246 */ array(58, ),
- /* 247 */ array(19, ),
- /* 248 */ array(62, ),
- /* 249 */ array(35, ),
- /* 250 */ array(18, ),
- /* 251 */ array(20, ),
- /* 252 */ array(18, ),
- /* 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(),
- /* 366 */ array(),
- /* 367 */ array(),
- /* 368 */ array(),
- /* 369 */ array(),
- /* 370 */ array(),
- /* 371 */ array(),
- /* 372 */ array(),
- /* 373 */ array(),
- /* 374 */ array(),
- /* 375 */ array(),
- /* 376 */ array(),
- /* 377 */ array(),
- /* 378 */ array(),
- /* 379 */ array(),
- /* 380 */ array(),
- /* 381 */ array(),
- /* 382 */ array(),
- /* 383 */ array(),
- /* 384 */ array(),
- /* 385 */ array(),
- /* 386 */ array(),
- /* 387 */ array(),
-);
- static public $yy_default = array(
- /* 0 */ 391, 573, 544, 590, 544, 590, 590, 544, 590, 590,
- /* 10 */ 590, 590, 590, 590, 590, 590, 590, 590, 590, 590,
- /* 20 */ 590, 590, 590, 590, 590, 590, 590, 590, 590, 590,
- /* 30 */ 590, 590, 590, 590, 590, 590, 590, 590, 590, 590,
- /* 40 */ 590, 590, 590, 590, 590, 590, 590, 590, 590, 590,
- /* 50 */ 590, 590, 590, 590, 590, 590, 452, 452, 452, 452,
- /* 60 */ 590, 590, 590, 457, 590, 590, 590, 590, 590, 590,
- /* 70 */ 590, 542, 454, 481, 482, 485, 486, 478, 543, 476,
- /* 80 */ 463, 575, 576, 473, 459, 457, 477, 434, 462, 574,
- /* 90 */ 490, 489, 501, 465, 452, 388, 590, 452, 452, 509,
- /* 100 */ 472, 590, 452, 590, 556, 452, 452, 590, 452, 590,
- /* 110 */ 590, 465, 590, 465, 517, 465, 517, 510, 517, 510,
- /* 120 */ 465, 590, 465, 590, 590, 517, 590, 590, 590, 510,
- /* 130 */ 590, 590, 465, 590, 590, 590, 590, 590, 590, 590,
- /* 140 */ 590, 590, 590, 590, 590, 493, 553, 475, 492, 469,
- /* 150 */ 488, 468, 510, 452, 452, 470, 494, 551, 590, 518,
- /* 160 */ 590, 534, 517, 537, 590, 590, 590, 590, 590, 590,
- /* 170 */ 590, 590, 590, 535, 590, 590, 590, 590, 590, 590,
- /* 180 */ 590, 536, 590, 590, 590, 515, 590, 590, 590, 589,
- /* 190 */ 472, 509, 545, 546, 517, 589, 531, 407, 557, 554,
- /* 200 */ 550, 550, 517, 550, 517, 467, 501, 590, 501, 501,
- /* 210 */ 501, 590, 590, 529, 491, 491, 590, 590, 590, 590,
- /* 220 */ 501, 487, 497, 555, 590, 590, 529, 590, 590, 460,
- /* 230 */ 590, 590, 590, 590, 529, 590, 491, 503, 529, 590,
- /* 240 */ 590, 590, 590, 590, 590, 590, 497, 590, 590, 499,
- /* 250 */ 590, 590, 590, 437, 417, 389, 571, 431, 432, 441,
- /* 260 */ 572, 540, 435, 588, 461, 539, 525, 523, 503, 526,
- /* 270 */ 524, 514, 513, 530, 436, 570, 464, 538, 522, 442,
- /* 280 */ 552, 541, 567, 529, 528, 443, 444, 549, 440, 439,
- /* 290 */ 430, 429, 451, 433, 438, 445, 446, 498, 496, 500,
- /* 300 */ 506, 466, 495, 449, 447, 547, 548, 448, 450, 416,
- /* 310 */ 398, 397, 399, 400, 401, 396, 395, 390, 392, 393,
- /* 320 */ 394, 402, 403, 412, 411, 413, 414, 415, 410, 409,
- /* 330 */ 404, 405, 406, 408, 467, 511, 422, 421, 423, 532,
- /* 340 */ 424, 420, 585, 512, 508, 533, 418, 419, 425, 426,
- /* 350 */ 581, 582, 583, 586, 587, 579, 578, 428, 427, 584,
- /* 360 */ 577, 471, 569, 504, 474, 505, 507, 479, 502, 521,
- /* 370 */ 516, 519, 527, 520, 480, 483, 564, 563, 565, 566,
- /* 380 */ 568, 562, 561, 484, 558, 559, 560, 580,
-);
- const YYNOCODE = 123;
- const YYSTACKDEPTH = 100;
- const YYNSTATE = 388;
- const YYNRULE = 202;
- const YYERRORSYMBOL = 80;
- const YYERRSYMDT = 'yy0';
- const YYFALLBACK = 0;
- static public $yyFallback = array(
- );
- static function Trace($TraceFILE, $zTracePrompt)
+ $this->compiler->prefix_code = array();
+ $tmp .= $code;
+ return new Smarty_Internal_ParseTree_Tag($this, $this->compiler->processNocacheCode($tmp, true));
+ }
+
+ public 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', 'ASPSTARTTAG', 'ASPENDTAG',
- 'FAKEPHPSTARTTAG', 'XMLTAG', 'TEXT', 'STRIPON',
- 'STRIPOFF', 'LITERALSTART', 'LITERALEND', 'LITERAL',
- 'LDEL', 'RDEL', 'DOLLAR', 'ID',
- 'EQUAL', 'PTR', 'LDELIF', 'LDELFOR',
- 'SEMICOLON', 'INCDEC', 'TO', 'STEP',
- 'LDELFOREACH', 'SPACE', 'AS', 'APTR',
- 'LDELSETFILTER', 'SMARTYBLOCKCHILD', 'LDELSLASH', 'INTEGER',
- 'COMMA', 'OPENP', 'CLOSEP', 'MATH',
- 'UNIMATH', 'ANDSYM', 'ISIN', 'ISDIVBY',
- 'ISNOTDIVBY', 'ISEVEN', 'ISNOTEVEN', 'ISEVENBY',
- 'ISNOTEVENBY', 'ISODD', 'ISNOTODD', 'ISODDBY',
- 'ISNOTODDBY', 'INSTANCEOF', 'QMARK', 'NOT',
- 'TYPECAST', 'HEX', 'DOT', 'SINGLEQUOTESTRING',
- 'DOUBLECOLON', 'AT', 'HATCH', 'OPENB',
- 'CLOSEB', 'EQUALS', 'NOTEQUALS', 'GREATERTHAN',
- 'LESSTHAN', 'GREATEREQUAL', 'LESSEQUAL', 'IDENTITY',
- 'NONEIDENTITY', 'MOD', 'LAND', 'LOR',
- 'LXOR', 'QUOTE', 'BACKTICK', 'DOLLARID',
- 'error', 'start', 'template', 'template_element',
- 'smartytag', 'literal', 'literal_elements', 'literal_element',
- 'value', 'modifierlist', 'attributes', 'expr',
- 'varindexed', 'statement', 'statements', 'optspace',
- 'varvar', 'foraction', 'modparameters', 'attribute',
- 'ternary', 'array', 'ifcond', 'lop',
- 'variable', 'function', 'doublequoted_with_quotes', 'static_class_access',
- 'object', 'arrayindex', 'indexdef', 'varvarele',
- 'objectchain', 'objectelement', 'method', 'params',
- 'modifier', 'modparameter', 'arrayelements', 'arrayelement',
- 'doublequoted', 'doublequotedcontent',
- );
+ $this->yyTraceFILE = $TraceFILE;
+ $this->yyTracePrompt = $zTracePrompt;
+ }
- static public $yyRuleName = array(
- /* 0 */ "start ::= template",
- /* 1 */ "template ::= template_element",
- /* 2 */ "template ::= template template_element",
- /* 3 */ "template ::=",
- /* 4 */ "template_element ::= smartytag",
- /* 5 */ "template_element ::= COMMENT",
- /* 6 */ "template_element ::= literal",
- /* 7 */ "template_element ::= PHPSTARTTAG",
- /* 8 */ "template_element ::= PHPENDTAG",
- /* 9 */ "template_element ::= ASPSTARTTAG",
- /* 10 */ "template_element ::= ASPENDTAG",
- /* 11 */ "template_element ::= FAKEPHPSTARTTAG",
- /* 12 */ "template_element ::= XMLTAG",
- /* 13 */ "template_element ::= TEXT",
- /* 14 */ "template_element ::= STRIPON",
- /* 15 */ "template_element ::= STRIPOFF",
- /* 16 */ "literal ::= LITERALSTART LITERALEND",
- /* 17 */ "literal ::= LITERALSTART literal_elements LITERALEND",
- /* 18 */ "literal_elements ::= literal_elements literal_element",
- /* 19 */ "literal_elements ::=",
- /* 20 */ "literal_element ::= literal",
- /* 21 */ "literal_element ::= LITERAL",
- /* 22 */ "literal_element ::= PHPSTARTTAG",
- /* 23 */ "literal_element ::= FAKEPHPSTARTTAG",
- /* 24 */ "literal_element ::= PHPENDTAG",
- /* 25 */ "literal_element ::= ASPSTARTTAG",
- /* 26 */ "literal_element ::= ASPENDTAG",
- /* 27 */ "smartytag ::= LDEL value RDEL",
- /* 28 */ "smartytag ::= LDEL value modifierlist attributes RDEL",
- /* 29 */ "smartytag ::= LDEL value attributes RDEL",
- /* 30 */ "smartytag ::= LDEL expr modifierlist attributes RDEL",
- /* 31 */ "smartytag ::= LDEL expr attributes RDEL",
- /* 32 */ "smartytag ::= LDEL DOLLAR ID EQUAL value RDEL",
- /* 33 */ "smartytag ::= LDEL DOLLAR ID EQUAL expr RDEL",
- /* 34 */ "smartytag ::= LDEL DOLLAR ID EQUAL expr attributes RDEL",
- /* 35 */ "smartytag ::= LDEL varindexed EQUAL expr attributes RDEL",
- /* 36 */ "smartytag ::= LDEL ID attributes RDEL",
- /* 37 */ "smartytag ::= LDEL ID RDEL",
- /* 38 */ "smartytag ::= LDEL ID PTR ID attributes RDEL",
- /* 39 */ "smartytag ::= LDEL ID modifierlist attributes RDEL",
- /* 40 */ "smartytag ::= LDEL ID PTR ID modifierlist attributes RDEL",
- /* 41 */ "smartytag ::= LDELIF expr RDEL",
- /* 42 */ "smartytag ::= LDELIF expr attributes RDEL",
- /* 43 */ "smartytag ::= LDELIF statement RDEL",
- /* 44 */ "smartytag ::= LDELIF statement attributes RDEL",
- /* 45 */ "smartytag ::= LDELFOR statements SEMICOLON optspace expr SEMICOLON optspace DOLLAR varvar foraction attributes RDEL",
- /* 46 */ "foraction ::= EQUAL expr",
- /* 47 */ "foraction ::= INCDEC",
- /* 48 */ "smartytag ::= LDELFOR statement TO expr attributes RDEL",
- /* 49 */ "smartytag ::= LDELFOR statement TO expr STEP expr attributes RDEL",
- /* 50 */ "smartytag ::= LDELFOREACH attributes RDEL",
- /* 51 */ "smartytag ::= LDELFOREACH SPACE value AS DOLLAR varvar attributes RDEL",
- /* 52 */ "smartytag ::= LDELFOREACH SPACE value AS DOLLAR varvar APTR DOLLAR varvar attributes RDEL",
- /* 53 */ "smartytag ::= LDELFOREACH SPACE expr AS DOLLAR varvar attributes RDEL",
- /* 54 */ "smartytag ::= LDELFOREACH SPACE expr AS DOLLAR varvar APTR DOLLAR varvar attributes RDEL",
- /* 55 */ "smartytag ::= LDELSETFILTER ID modparameters RDEL",
- /* 56 */ "smartytag ::= LDELSETFILTER ID modparameters modifierlist RDEL",
- /* 57 */ "smartytag ::= SMARTYBLOCKCHILD",
- /* 58 */ "smartytag ::= LDELSLASH ID RDEL",
- /* 59 */ "smartytag ::= LDELSLASH ID modifierlist RDEL",
- /* 60 */ "smartytag ::= LDELSLASH ID PTR ID RDEL",
- /* 61 */ "smartytag ::= LDELSLASH ID PTR ID modifierlist RDEL",
- /* 62 */ "attributes ::= attributes attribute",
- /* 63 */ "attributes ::= attribute",
- /* 64 */ "attributes ::=",
- /* 65 */ "attribute ::= SPACE ID EQUAL ID",
- /* 66 */ "attribute ::= SPACE ID EQUAL expr",
- /* 67 */ "attribute ::= SPACE ID EQUAL value",
- /* 68 */ "attribute ::= SPACE ID",
- /* 69 */ "attribute ::= SPACE expr",
- /* 70 */ "attribute ::= SPACE value",
- /* 71 */ "attribute ::= SPACE INTEGER EQUAL expr",
- /* 72 */ "statements ::= statement",
- /* 73 */ "statements ::= statements COMMA statement",
- /* 74 */ "statement ::= DOLLAR varvar EQUAL expr",
- /* 75 */ "statement ::= varindexed EQUAL expr",
- /* 76 */ "statement ::= OPENP statement CLOSEP",
- /* 77 */ "expr ::= value",
- /* 78 */ "expr ::= ternary",
- /* 79 */ "expr ::= DOLLAR ID COLON ID",
- /* 80 */ "expr ::= expr MATH value",
- /* 81 */ "expr ::= expr UNIMATH value",
- /* 82 */ "expr ::= expr ANDSYM value",
- /* 83 */ "expr ::= array",
- /* 84 */ "expr ::= expr modifierlist",
- /* 85 */ "expr ::= expr ifcond expr",
- /* 86 */ "expr ::= expr ISIN array",
- /* 87 */ "expr ::= expr ISIN value",
- /* 88 */ "expr ::= expr lop expr",
- /* 89 */ "expr ::= expr ISDIVBY expr",
- /* 90 */ "expr ::= expr ISNOTDIVBY expr",
- /* 91 */ "expr ::= expr ISEVEN",
- /* 92 */ "expr ::= expr ISNOTEVEN",
- /* 93 */ "expr ::= expr ISEVENBY expr",
- /* 94 */ "expr ::= expr ISNOTEVENBY expr",
- /* 95 */ "expr ::= expr ISODD",
- /* 96 */ "expr ::= expr ISNOTODD",
- /* 97 */ "expr ::= expr ISODDBY expr",
- /* 98 */ "expr ::= expr ISNOTODDBY expr",
- /* 99 */ "expr ::= value INSTANCEOF ID",
- /* 100 */ "expr ::= value INSTANCEOF value",
- /* 101 */ "ternary ::= OPENP expr CLOSEP QMARK DOLLAR ID COLON expr",
- /* 102 */ "ternary ::= OPENP expr CLOSEP QMARK expr COLON expr",
- /* 103 */ "value ::= variable",
- /* 104 */ "value ::= UNIMATH value",
- /* 105 */ "value ::= NOT value",
- /* 106 */ "value ::= TYPECAST value",
- /* 107 */ "value ::= variable INCDEC",
- /* 108 */ "value ::= HEX",
- /* 109 */ "value ::= INTEGER",
- /* 110 */ "value ::= INTEGER DOT INTEGER",
- /* 111 */ "value ::= INTEGER DOT",
- /* 112 */ "value ::= DOT INTEGER",
- /* 113 */ "value ::= ID",
- /* 114 */ "value ::= function",
- /* 115 */ "value ::= OPENP expr CLOSEP",
- /* 116 */ "value ::= SINGLEQUOTESTRING",
- /* 117 */ "value ::= doublequoted_with_quotes",
- /* 118 */ "value ::= ID DOUBLECOLON static_class_access",
- /* 119 */ "value ::= varindexed DOUBLECOLON static_class_access",
- /* 120 */ "value ::= smartytag",
- /* 121 */ "value ::= value modifierlist",
- /* 122 */ "variable ::= varindexed",
- /* 123 */ "variable ::= DOLLAR varvar AT ID",
- /* 124 */ "variable ::= object",
- /* 125 */ "variable ::= HATCH ID HATCH",
- /* 126 */ "variable ::= HATCH variable HATCH",
- /* 127 */ "varindexed ::= DOLLAR varvar arrayindex",
- /* 128 */ "arrayindex ::= arrayindex indexdef",
- /* 129 */ "arrayindex ::=",
- /* 130 */ "indexdef ::= DOT DOLLAR varvar",
- /* 131 */ "indexdef ::= DOT DOLLAR varvar AT ID",
- /* 132 */ "indexdef ::= DOT ID",
- /* 133 */ "indexdef ::= DOT INTEGER",
- /* 134 */ "indexdef ::= DOT LDEL expr RDEL",
- /* 135 */ "indexdef ::= OPENB ID CLOSEB",
- /* 136 */ "indexdef ::= OPENB ID DOT ID CLOSEB",
- /* 137 */ "indexdef ::= OPENB expr CLOSEB",
- /* 138 */ "indexdef ::= OPENB CLOSEB",
- /* 139 */ "varvar ::= varvarele",
- /* 140 */ "varvar ::= varvar varvarele",
- /* 141 */ "varvarele ::= ID",
- /* 142 */ "varvarele ::= LDEL expr RDEL",
- /* 143 */ "object ::= varindexed objectchain",
- /* 144 */ "objectchain ::= objectelement",
- /* 145 */ "objectchain ::= objectchain objectelement",
- /* 146 */ "objectelement ::= PTR ID arrayindex",
- /* 147 */ "objectelement ::= PTR DOLLAR varvar arrayindex",
- /* 148 */ "objectelement ::= PTR LDEL expr RDEL arrayindex",
- /* 149 */ "objectelement ::= PTR ID LDEL expr RDEL arrayindex",
- /* 150 */ "objectelement ::= PTR method",
- /* 151 */ "function ::= ID OPENP params CLOSEP",
- /* 152 */ "method ::= ID OPENP params CLOSEP",
- /* 153 */ "method ::= DOLLAR ID OPENP params CLOSEP",
- /* 154 */ "params ::= params COMMA expr",
- /* 155 */ "params ::= expr",
- /* 156 */ "params ::=",
- /* 157 */ "modifierlist ::= modifierlist modifier modparameters",
- /* 158 */ "modifierlist ::= modifier modparameters",
- /* 159 */ "modifier ::= VERT AT ID",
- /* 160 */ "modifier ::= VERT ID",
- /* 161 */ "modparameters ::= modparameters modparameter",
- /* 162 */ "modparameters ::=",
- /* 163 */ "modparameter ::= COLON value",
- /* 164 */ "modparameter ::= COLON array",
- /* 165 */ "static_class_access ::= method",
- /* 166 */ "static_class_access ::= method objectchain",
- /* 167 */ "static_class_access ::= ID",
- /* 168 */ "static_class_access ::= DOLLAR ID arrayindex",
- /* 169 */ "static_class_access ::= DOLLAR ID arrayindex objectchain",
- /* 170 */ "ifcond ::= EQUALS",
- /* 171 */ "ifcond ::= NOTEQUALS",
- /* 172 */ "ifcond ::= GREATERTHAN",
- /* 173 */ "ifcond ::= LESSTHAN",
- /* 174 */ "ifcond ::= GREATEREQUAL",
- /* 175 */ "ifcond ::= LESSEQUAL",
- /* 176 */ "ifcond ::= IDENTITY",
- /* 177 */ "ifcond ::= NONEIDENTITY",
- /* 178 */ "ifcond ::= MOD",
- /* 179 */ "lop ::= LAND",
- /* 180 */ "lop ::= LOR",
- /* 181 */ "lop ::= LXOR",
- /* 182 */ "array ::= OPENB arrayelements CLOSEB",
- /* 183 */ "arrayelements ::= arrayelement",
- /* 184 */ "arrayelements ::= arrayelements COMMA arrayelement",
- /* 185 */ "arrayelements ::=",
- /* 186 */ "arrayelement ::= value APTR expr",
- /* 187 */ "arrayelement ::= ID APTR expr",
- /* 188 */ "arrayelement ::= expr",
- /* 189 */ "doublequoted_with_quotes ::= QUOTE QUOTE",
- /* 190 */ "doublequoted_with_quotes ::= QUOTE doublequoted QUOTE",
- /* 191 */ "doublequoted ::= doublequoted doublequotedcontent",
- /* 192 */ "doublequoted ::= doublequotedcontent",
- /* 193 */ "doublequotedcontent ::= BACKTICK variable BACKTICK",
- /* 194 */ "doublequotedcontent ::= BACKTICK expr BACKTICK",
- /* 195 */ "doublequotedcontent ::= DOLLARID",
- /* 196 */ "doublequotedcontent ::= LDEL variable RDEL",
- /* 197 */ "doublequotedcontent ::= LDEL expr RDEL",
- /* 198 */ "doublequotedcontent ::= smartytag",
- /* 199 */ "doublequotedcontent ::= TEXT",
- /* 200 */ "optspace ::= SPACE",
- /* 201 */ "optspace ::=",
- );
+ public function PrintTrace()
+ {
+ $this->yyTraceFILE = fopen('php://output', 'w');
+ $this->yyTracePrompt = '<br>';
+ }
- function tokenName($tokenType)
+ public function tokenName($tokenType)
{
if ($tokenType === 0) {
return 'End of Input';
}
if ($tokenType > 0 && $tokenType < count($this->yyTokenName)) {
- return $this->yyTokenName[$tokenType];
+ return $this->yyTokenName[ $tokenType ];
} else {
- return "Unknown";
+ return 'Unknown';
}
}
- static function yy_destructor($yymajor, $yypminor)
+ public function yy_pop_parser_stack()
{
- switch ($yymajor) {
- default: break; /* If no destructor action specified: do nothing */
- }
- }
-
- function yy_pop_parser_stack()
- {
- if (!count($this->yystack)) {
+ if (empty($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");
+ if ($this->yyTraceFILE && $this->yyidx >= 0) {
+ fwrite(
+ $this->yyTraceFILE,
+ $this->yyTracePrompt . 'Popping ' . $this->yyTokenName[ $yytos->major ] .
+ "\n"
+ );
}
$yymajor = $yytos->major;
self::yy_destructor($yymajor, $yytos->minor);
@@ -1533,22 +1774,30 @@ static public $yy_action = array(
return $yymajor;
}
- function __destruct()
+ public function __destruct()
{
- while ($this->yystack !== Array()) {
+ while ($this->yystack !== array()) {
$this->yy_pop_parser_stack();
}
- if (is_resource(self::$yyTraceFILE)) {
- fclose(self::$yyTraceFILE);
+ if (is_resource($this->yyTraceFILE)) {
+ fclose($this->yyTraceFILE);
}
}
- function yy_get_expected_tokens($token)
+ public 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;
+ static $res3 = array();
+ static $res4 = array();
+ $state = $this->yystack[ $this->yyidx ]->stateno;
+ $expected = self::$yyExpectedTokens[ $state ];
+ if (isset($res3[ $state ][ $token ])) {
+ if ($res3[ $state ][ $token ]) {
+ return $expected;
+ }
+ } else {
+ if ($res3[ $state ][ $token ] = in_array($token, self::$yyExpectedTokens[ $state ], true)) {
+ return $expected;
+ }
}
$stack = $this->yystack;
$yyidx = $this->yyidx;
@@ -1558,7 +1807,7 @@ static public $yy_action = array(
// reduce action
$done = 0;
do {
- if ($done++ == 100) {
+ if ($done++ === 100) {
$this->yyidx = $yyidx;
$this->yystack = $stack;
// too much recursion prevents proper detection
@@ -1566,17 +1815,26 @@ static public $yy_action = array(
return array_unique($expected);
}
$yyruleno = $yyact - self::YYNSTATE;
- $this->yyidx -= self::$yyRuleInfo[$yyruleno]['rhs'];
+ $this->yyidx -= self::$yyRuleInfo[ $yyruleno ][ 1 ];
$nextstate = $this->yy_find_reduce_action(
- $this->yystack[$this->yyidx]->stateno,
- self::$yyRuleInfo[$yyruleno]['lhs']);
- if (isset(self::$yyExpectedTokens[$nextstate])) {
- $expected = array_merge($expected, self::$yyExpectedTokens[$nextstate]);
- if (in_array($token,
- self::$yyExpectedTokens[$nextstate], true)) {
- $this->yyidx = $yyidx;
- $this->yystack = $stack;
- return array_unique($expected);
+ $this->yystack[ $this->yyidx ]->stateno,
+ self::$yyRuleInfo[ $yyruleno ][ 0 ]
+ );
+ if (isset(self::$yyExpectedTokens[ $nextstate ])) {
+ $expected = array_merge($expected, self::$yyExpectedTokens[ $nextstate ]);
+ if (isset($res4[ $nextstate ][ $token ])) {
+ if ($res4[ $nextstate ][ $token ]) {
+ $this->yyidx = $yyidx;
+ $this->yystack = $stack;
+ return array_unique($expected);
+ }
+ } else {
+ if ($res4[ $nextstate ][ $token ] =
+ in_array($token, self::$yyExpectedTokens[ $nextstate ], true)) {
+ $this->yyidx = $yyidx;
+ $this->yystack = $stack;
+ return array_unique($expected);
+ }
}
}
if ($nextstate < self::YYNSTATE) {
@@ -1584,10 +1842,10 @@ static public $yy_action = array(
$this->yyidx++;
$x = new TP_yyStackEntry;
$x->stateno = $nextstate;
- $x->major = self::$yyRuleInfo[$yyruleno]['lhs'];
- $this->yystack[$this->yyidx] = $x;
+ $x->major = self::$yyRuleInfo[ $yyruleno ][ 0 ];
+ $this->yystack[ $this->yyidx ] = $x;
continue 2;
- } elseif ($nextstate == self::YYNSTATE + self::YYNRULE + 1) {
+ } elseif ($nextstate === self::YYNSTATE + self::YYNRULE + 1) {
$this->yyidx = $yyidx;
$this->yystack = $stack;
// the last token was just ignored, we can't accept
@@ -1606,19 +1864,27 @@ static public $yy_action = array(
}
break;
} while (true);
- $this->yyidx = $yyidx;
- $this->yystack = $stack;
+ $this->yyidx = $yyidx;
+ $this->yystack = $stack;
return array_unique($expected);
}
- function yy_is_expected_token($token)
+ public function yy_is_expected_token($token)
{
+ static $res = array();
+ static $res2 = array();
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;
+ $state = $this->yystack[ $this->yyidx ]->stateno;
+ if (isset($res[ $state ][ $token ])) {
+ if ($res[ $state ][ $token ]) {
+ return true;
+ }
+ } else {
+ if ($res[ $state ][ $token ] = in_array($token, self::$yyExpectedTokens[ $state ], true)) {
+ return true;
+ }
}
$stack = $this->yystack;
$yyidx = $this->yyidx;
@@ -1628,7 +1894,7 @@ static public $yy_action = array(
// reduce action
$done = 0;
do {
- if ($done++ == 100) {
+ if ($done++ === 100) {
$this->yyidx = $yyidx;
$this->yystack = $stack;
// too much recursion prevents proper detection
@@ -1636,25 +1902,35 @@ static public $yy_action = array(
return true;
}
$yyruleno = $yyact - self::YYNSTATE;
- $this->yyidx -= self::$yyRuleInfo[$yyruleno]['rhs'];
+ $this->yyidx -= self::$yyRuleInfo[ $yyruleno ][ 1 ];
$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;
+ $this->yystack[ $this->yyidx ]->stateno,
+ self::$yyRuleInfo[ $yyruleno ][ 0 ]
+ );
+ if (isset($res2[ $nextstate ][ $token ])) {
+ if ($res2[ $nextstate ][ $token ]) {
+ $this->yyidx = $yyidx;
+ $this->yystack = $stack;
+ return true;
+ }
+ } else {
+ if ($res2[ $nextstate ][ $token ] =
+ (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;
+ $x->major = self::$yyRuleInfo[ $yyruleno ][ 0 ];
+ $this->yystack[ $this->yyidx ] = $x;
continue 2;
- } elseif ($nextstate == self::YYNSTATE + self::YYNRULE + 1) {
+ } elseif ($nextstate === self::YYNSTATE + self::YYNRULE + 1) {
$this->yyidx = $yyidx;
$this->yystack = $stack;
if (!$token) {
@@ -1682,1500 +1958,1490 @@ static public $yy_action = array(
return true;
}
- function yy_find_shift_action($iLookAhead)
+ public function yy_find_shift_action($iLookAhead)
{
- $stateno = $this->yystack[$this->yyidx]->stateno;
-
+ $stateno = $this->yystack[ $this->yyidx ]->stateno;
/* if ($this->yyidx < 0) return self::YY_NO_ACTION; */
- if (!isset(self::$yy_shift_ofst[$stateno])) {
+ if (!isset(self::$yy_shift_ofst[ $stateno ])) {
// no shift actions
- return self::$yy_default[$stateno];
+ return self::$yy_default[ $stateno ];
}
- $i = self::$yy_shift_ofst[$stateno];
+ $i = self::$yy_shift_ofst[ $stateno ];
if ($i === self::YY_SHIFT_USE_DFLT) {
- return self::$yy_default[$stateno];
+ return self::$yy_default[ $stateno ];
}
- if ($iLookAhead == self::YYNOCODE) {
+ if ($iLookAhead === self::YYNOCODE) {
return self::YY_NO_ACTION;
}
$i += $iLookAhead;
if ($i < 0 || $i >= self::YY_SZ_ACTTAB ||
- self::$yy_lookahead[$i] != $iLookAhead) {
+ 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");
+ && ($iFallback = self::$yyFallback[ $iLookAhead ]) != 0) {
+ if ($this->yyTraceFILE) {
+ fwrite($this->yyTraceFILE, $this->yyTracePrompt . 'FALLBACK ' .
+ $this->yyTokenName[ $iLookAhead ] . ' => ' .
+ $this->yyTokenName[ $iFallback ] . "\n");
}
return $this->yy_find_shift_action($iFallback);
}
- return self::$yy_default[$stateno];
+ return self::$yy_default[ $stateno ];
} else {
- return self::$yy_action[$i];
+ return self::$yy_action[ $i ];
}
}
- function yy_find_reduce_action($stateno, $iLookAhead)
+ public 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];
+ 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];
+ $i = self::$yy_reduce_ofst[ $stateno ];
+ if ($i === self::YY_REDUCE_USE_DFLT) {
+ return self::$yy_default[ $stateno ];
}
- if ($iLookAhead == self::YYNOCODE) {
+ 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];
+ self::$yy_lookahead[ $i ] != $iLookAhead) {
+ return self::$yy_default[ $stateno ];
} else {
- return self::$yy_action[$i];
+ return self::$yy_action[ $i ];
}
}
- function yy_shift($yyNewState, $yyMajor, $yypMinor)
+ // line 234 "../smarty/lexer/smarty_internal_templateparser.y"
+ public 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);
+ if ($this->yyTraceFILE) {
+ fprintf($this->yyTraceFILE, "%sStack Overflow!\n", $this->yyTracePrompt);
}
while ($this->yyidx >= 0) {
$this->yy_pop_parser_stack();
}
-#line 84 "smarty_internal_templateparser.y"
-
- $this->internalError = true;
- $this->compiler->trigger_template_error("Stack overflow in template parser");
-#line 1753 "smarty_internal_templateparser.php"
+ // line 221 "../smarty/lexer/smarty_internal_templateparser.y"
+ $this->internalError = true;
+ $this->compiler->trigger_template_error('Stack overflow in template parser');
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]);
+ $this->yystack[] = $yytos;
+ if ($this->yyTraceFILE && $this->yyidx > 0) {
+ fprintf(
+ $this->yyTraceFILE,
+ "%sShift %d\n",
+ $this->yyTracePrompt,
+ $yyNewState
+ );
+ fprintf($this->yyTraceFILE, "%sStack:", $this->yyTracePrompt);
+ for ($i = 1; $i <= $this->yyidx; $i++) {
+ fprintf(
+ $this->yyTraceFILE,
+ " %s",
+ $this->yyTokenName[ $this->yystack[ $i ]->major ]
+ );
}
- fwrite(self::$yyTraceFILE,"\n");
+ fwrite($this->yyTraceFILE, "\n");
}
}
- static public $yyRuleInfo = array(
- array( 'lhs' => 81, 'rhs' => 1 ),
- array( 'lhs' => 82, 'rhs' => 1 ),
- array( 'lhs' => 82, 'rhs' => 2 ),
- array( 'lhs' => 82, 'rhs' => 0 ),
- array( 'lhs' => 83, 'rhs' => 1 ),
- array( 'lhs' => 83, 'rhs' => 1 ),
- array( 'lhs' => 83, 'rhs' => 1 ),
- array( 'lhs' => 83, 'rhs' => 1 ),
- array( 'lhs' => 83, 'rhs' => 1 ),
- array( 'lhs' => 83, 'rhs' => 1 ),
- array( 'lhs' => 83, 'rhs' => 1 ),
- array( 'lhs' => 83, 'rhs' => 1 ),
- array( 'lhs' => 83, 'rhs' => 1 ),
- array( 'lhs' => 83, 'rhs' => 1 ),
- array( 'lhs' => 83, 'rhs' => 1 ),
- array( 'lhs' => 83, 'rhs' => 1 ),
- array( 'lhs' => 85, 'rhs' => 2 ),
- array( 'lhs' => 85, 'rhs' => 3 ),
- array( 'lhs' => 86, 'rhs' => 2 ),
- array( 'lhs' => 86, 'rhs' => 0 ),
- array( 'lhs' => 87, 'rhs' => 1 ),
- array( 'lhs' => 87, 'rhs' => 1 ),
- array( 'lhs' => 87, 'rhs' => 1 ),
- array( 'lhs' => 87, 'rhs' => 1 ),
- array( 'lhs' => 87, 'rhs' => 1 ),
- array( 'lhs' => 87, 'rhs' => 1 ),
- array( 'lhs' => 87, 'rhs' => 1 ),
- array( 'lhs' => 84, 'rhs' => 3 ),
- array( 'lhs' => 84, 'rhs' => 5 ),
- array( 'lhs' => 84, 'rhs' => 4 ),
- array( 'lhs' => 84, 'rhs' => 5 ),
- array( 'lhs' => 84, 'rhs' => 4 ),
- array( 'lhs' => 84, 'rhs' => 6 ),
- array( 'lhs' => 84, 'rhs' => 6 ),
- array( 'lhs' => 84, 'rhs' => 7 ),
- array( 'lhs' => 84, 'rhs' => 6 ),
- array( 'lhs' => 84, 'rhs' => 4 ),
- array( 'lhs' => 84, 'rhs' => 3 ),
- array( 'lhs' => 84, 'rhs' => 6 ),
- array( 'lhs' => 84, 'rhs' => 5 ),
- array( 'lhs' => 84, 'rhs' => 7 ),
- array( 'lhs' => 84, 'rhs' => 3 ),
- array( 'lhs' => 84, 'rhs' => 4 ),
- array( 'lhs' => 84, 'rhs' => 3 ),
- array( 'lhs' => 84, 'rhs' => 4 ),
- array( 'lhs' => 84, 'rhs' => 12 ),
- array( 'lhs' => 97, 'rhs' => 2 ),
- array( 'lhs' => 97, 'rhs' => 1 ),
- array( 'lhs' => 84, 'rhs' => 6 ),
- array( 'lhs' => 84, 'rhs' => 8 ),
- array( 'lhs' => 84, 'rhs' => 3 ),
- array( 'lhs' => 84, 'rhs' => 8 ),
- array( 'lhs' => 84, 'rhs' => 11 ),
- array( 'lhs' => 84, 'rhs' => 8 ),
- array( 'lhs' => 84, 'rhs' => 11 ),
- array( 'lhs' => 84, 'rhs' => 4 ),
- array( 'lhs' => 84, 'rhs' => 5 ),
- array( 'lhs' => 84, 'rhs' => 1 ),
- array( 'lhs' => 84, 'rhs' => 3 ),
- array( 'lhs' => 84, 'rhs' => 4 ),
- array( 'lhs' => 84, 'rhs' => 5 ),
- array( 'lhs' => 84, 'rhs' => 6 ),
- array( 'lhs' => 90, 'rhs' => 2 ),
- array( 'lhs' => 90, 'rhs' => 1 ),
- array( 'lhs' => 90, 'rhs' => 0 ),
- array( 'lhs' => 99, 'rhs' => 4 ),
- array( 'lhs' => 99, 'rhs' => 4 ),
- array( 'lhs' => 99, 'rhs' => 4 ),
- array( 'lhs' => 99, 'rhs' => 2 ),
- array( 'lhs' => 99, 'rhs' => 2 ),
- array( 'lhs' => 99, 'rhs' => 2 ),
- array( 'lhs' => 99, 'rhs' => 4 ),
- array( 'lhs' => 94, 'rhs' => 1 ),
- array( 'lhs' => 94, 'rhs' => 3 ),
- array( 'lhs' => 93, 'rhs' => 4 ),
- array( 'lhs' => 93, 'rhs' => 3 ),
- array( 'lhs' => 93, 'rhs' => 3 ),
- array( 'lhs' => 91, 'rhs' => 1 ),
- array( 'lhs' => 91, 'rhs' => 1 ),
- array( 'lhs' => 91, 'rhs' => 4 ),
- array( 'lhs' => 91, 'rhs' => 3 ),
- array( 'lhs' => 91, 'rhs' => 3 ),
- array( 'lhs' => 91, 'rhs' => 3 ),
- array( 'lhs' => 91, 'rhs' => 1 ),
- array( 'lhs' => 91, 'rhs' => 2 ),
- array( 'lhs' => 91, 'rhs' => 3 ),
- array( 'lhs' => 91, 'rhs' => 3 ),
- array( 'lhs' => 91, 'rhs' => 3 ),
- array( 'lhs' => 91, 'rhs' => 3 ),
- array( 'lhs' => 91, 'rhs' => 3 ),
- array( 'lhs' => 91, 'rhs' => 3 ),
- array( 'lhs' => 91, 'rhs' => 2 ),
- array( 'lhs' => 91, 'rhs' => 2 ),
- array( 'lhs' => 91, 'rhs' => 3 ),
- array( 'lhs' => 91, 'rhs' => 3 ),
- array( 'lhs' => 91, 'rhs' => 2 ),
- array( 'lhs' => 91, 'rhs' => 2 ),
- array( 'lhs' => 91, 'rhs' => 3 ),
- array( 'lhs' => 91, 'rhs' => 3 ),
- array( 'lhs' => 91, 'rhs' => 3 ),
- array( 'lhs' => 91, 'rhs' => 3 ),
- array( 'lhs' => 100, 'rhs' => 8 ),
- array( 'lhs' => 100, 'rhs' => 7 ),
- array( 'lhs' => 88, 'rhs' => 1 ),
- array( 'lhs' => 88, 'rhs' => 2 ),
- array( 'lhs' => 88, 'rhs' => 2 ),
- array( 'lhs' => 88, 'rhs' => 2 ),
- array( 'lhs' => 88, 'rhs' => 2 ),
- array( 'lhs' => 88, 'rhs' => 1 ),
- array( 'lhs' => 88, 'rhs' => 1 ),
- array( 'lhs' => 88, 'rhs' => 3 ),
- array( 'lhs' => 88, 'rhs' => 2 ),
- array( 'lhs' => 88, 'rhs' => 2 ),
- array( 'lhs' => 88, 'rhs' => 1 ),
- array( 'lhs' => 88, 'rhs' => 1 ),
- array( 'lhs' => 88, 'rhs' => 3 ),
- array( 'lhs' => 88, 'rhs' => 1 ),
- array( 'lhs' => 88, 'rhs' => 1 ),
- array( 'lhs' => 88, 'rhs' => 3 ),
- array( 'lhs' => 88, 'rhs' => 3 ),
- array( 'lhs' => 88, 'rhs' => 1 ),
- array( 'lhs' => 88, 'rhs' => 2 ),
- array( 'lhs' => 104, 'rhs' => 1 ),
- array( 'lhs' => 104, 'rhs' => 4 ),
- array( 'lhs' => 104, 'rhs' => 1 ),
- array( 'lhs' => 104, 'rhs' => 3 ),
- array( 'lhs' => 104, 'rhs' => 3 ),
- array( 'lhs' => 92, 'rhs' => 3 ),
- array( 'lhs' => 109, 'rhs' => 2 ),
- array( 'lhs' => 109, 'rhs' => 0 ),
- array( 'lhs' => 110, 'rhs' => 3 ),
- array( 'lhs' => 110, 'rhs' => 5 ),
- array( 'lhs' => 110, 'rhs' => 2 ),
- array( 'lhs' => 110, 'rhs' => 2 ),
- array( 'lhs' => 110, 'rhs' => 4 ),
- array( 'lhs' => 110, 'rhs' => 3 ),
- array( 'lhs' => 110, 'rhs' => 5 ),
- array( 'lhs' => 110, 'rhs' => 3 ),
- array( 'lhs' => 110, 'rhs' => 2 ),
- array( 'lhs' => 96, 'rhs' => 1 ),
- array( 'lhs' => 96, 'rhs' => 2 ),
- array( 'lhs' => 111, 'rhs' => 1 ),
- array( 'lhs' => 111, 'rhs' => 3 ),
- array( 'lhs' => 108, 'rhs' => 2 ),
- array( 'lhs' => 112, 'rhs' => 1 ),
- array( 'lhs' => 112, 'rhs' => 2 ),
- array( 'lhs' => 113, 'rhs' => 3 ),
- array( 'lhs' => 113, 'rhs' => 4 ),
- array( 'lhs' => 113, 'rhs' => 5 ),
- array( 'lhs' => 113, 'rhs' => 6 ),
- array( 'lhs' => 113, 'rhs' => 2 ),
- array( 'lhs' => 105, 'rhs' => 4 ),
- array( 'lhs' => 114, 'rhs' => 4 ),
- array( 'lhs' => 114, 'rhs' => 5 ),
- array( 'lhs' => 115, 'rhs' => 3 ),
- array( 'lhs' => 115, 'rhs' => 1 ),
- array( 'lhs' => 115, 'rhs' => 0 ),
- array( 'lhs' => 89, 'rhs' => 3 ),
- array( 'lhs' => 89, 'rhs' => 2 ),
- array( 'lhs' => 116, 'rhs' => 3 ),
- array( 'lhs' => 116, 'rhs' => 2 ),
- array( 'lhs' => 98, 'rhs' => 2 ),
- array( 'lhs' => 98, 'rhs' => 0 ),
- array( 'lhs' => 117, 'rhs' => 2 ),
- array( 'lhs' => 117, 'rhs' => 2 ),
- array( 'lhs' => 107, 'rhs' => 1 ),
- array( 'lhs' => 107, 'rhs' => 2 ),
- array( 'lhs' => 107, 'rhs' => 1 ),
- array( 'lhs' => 107, 'rhs' => 3 ),
- array( 'lhs' => 107, 'rhs' => 4 ),
- array( 'lhs' => 102, 'rhs' => 1 ),
- array( 'lhs' => 102, 'rhs' => 1 ),
- array( 'lhs' => 102, 'rhs' => 1 ),
- array( 'lhs' => 102, 'rhs' => 1 ),
- array( 'lhs' => 102, 'rhs' => 1 ),
- array( 'lhs' => 102, 'rhs' => 1 ),
- array( 'lhs' => 102, 'rhs' => 1 ),
- array( 'lhs' => 102, 'rhs' => 1 ),
- array( 'lhs' => 102, 'rhs' => 1 ),
- array( 'lhs' => 103, 'rhs' => 1 ),
- array( 'lhs' => 103, 'rhs' => 1 ),
- array( 'lhs' => 103, 'rhs' => 1 ),
- array( 'lhs' => 101, 'rhs' => 3 ),
- array( 'lhs' => 118, 'rhs' => 1 ),
- array( 'lhs' => 118, 'rhs' => 3 ),
- array( 'lhs' => 118, 'rhs' => 0 ),
- array( 'lhs' => 119, 'rhs' => 3 ),
- array( 'lhs' => 119, 'rhs' => 3 ),
- array( 'lhs' => 119, 'rhs' => 1 ),
- array( 'lhs' => 106, 'rhs' => 2 ),
- array( 'lhs' => 106, 'rhs' => 3 ),
- array( 'lhs' => 120, 'rhs' => 2 ),
- array( 'lhs' => 120, 'rhs' => 1 ),
- array( 'lhs' => 121, 'rhs' => 3 ),
- array( 'lhs' => 121, 'rhs' => 3 ),
- array( 'lhs' => 121, 'rhs' => 1 ),
- array( 'lhs' => 121, 'rhs' => 3 ),
- array( 'lhs' => 121, 'rhs' => 3 ),
- array( 'lhs' => 121, 'rhs' => 1 ),
- array( 'lhs' => 121, 'rhs' => 1 ),
- array( 'lhs' => 95, 'rhs' => 1 ),
- array( 'lhs' => 95, 'rhs' => 0 ),
- );
+ // line 242 "../smarty/lexer/smarty_internal_templateparser.y"
+ public function yy_r0()
+ {
+ $this->root_buffer->prepend_array($this, $this->template_prefix);
+ $this->root_buffer->append_array($this, $this->template_postfix);
+ $this->_retvalue = $this->root_buffer->to_smarty_php($this);
+ }
- static public $yyReduceMap = array(
- 0 => 0,
- 1 => 1,
- 2 => 1,
- 4 => 4,
- 5 => 5,
- 6 => 6,
- 7 => 7,
- 8 => 8,
- 9 => 9,
- 10 => 10,
- 11 => 11,
- 12 => 12,
- 13 => 13,
- 14 => 14,
- 15 => 15,
- 16 => 16,
- 19 => 16,
- 201 => 16,
- 17 => 17,
- 76 => 17,
- 18 => 18,
- 104 => 18,
- 106 => 18,
- 107 => 18,
- 128 => 18,
- 166 => 18,
- 20 => 20,
- 21 => 20,
- 47 => 20,
- 69 => 20,
- 70 => 20,
- 77 => 20,
- 78 => 20,
- 83 => 20,
- 103 => 20,
- 108 => 20,
- 109 => 20,
- 114 => 20,
- 116 => 20,
- 117 => 20,
- 124 => 20,
- 139 => 20,
- 165 => 20,
- 167 => 20,
- 183 => 20,
- 188 => 20,
- 200 => 20,
- 22 => 22,
- 23 => 22,
- 24 => 24,
- 25 => 25,
- 26 => 26,
- 27 => 27,
- 28 => 28,
- 29 => 29,
- 31 => 29,
- 30 => 30,
- 32 => 32,
- 33 => 32,
- 34 => 34,
- 35 => 35,
- 36 => 36,
- 37 => 37,
- 38 => 38,
- 39 => 39,
- 40 => 40,
- 41 => 41,
- 42 => 42,
- 44 => 42,
- 43 => 43,
- 45 => 45,
- 46 => 46,
- 48 => 48,
- 49 => 49,
- 50 => 50,
- 51 => 51,
- 52 => 52,
- 53 => 53,
- 54 => 54,
- 55 => 55,
- 56 => 56,
- 57 => 57,
- 58 => 58,
- 59 => 59,
- 60 => 60,
- 61 => 61,
- 62 => 62,
- 63 => 63,
- 72 => 63,
- 155 => 63,
- 159 => 63,
- 163 => 63,
- 164 => 63,
- 64 => 64,
- 156 => 64,
- 162 => 64,
- 65 => 65,
- 66 => 66,
- 67 => 66,
- 71 => 66,
- 68 => 68,
- 73 => 73,
- 74 => 74,
- 75 => 74,
- 79 => 79,
- 80 => 80,
- 81 => 80,
- 82 => 80,
- 84 => 84,
- 121 => 84,
- 85 => 85,
- 88 => 85,
- 99 => 85,
- 86 => 86,
- 87 => 87,
- 89 => 89,
- 90 => 90,
- 91 => 91,
- 96 => 91,
- 92 => 92,
- 95 => 92,
- 93 => 93,
- 98 => 93,
- 94 => 94,
- 97 => 94,
- 100 => 100,
- 101 => 101,
- 102 => 102,
- 105 => 105,
- 110 => 110,
- 111 => 111,
- 112 => 112,
- 113 => 113,
- 115 => 115,
- 118 => 118,
- 119 => 119,
- 120 => 120,
- 122 => 122,
- 123 => 123,
- 125 => 125,
- 126 => 126,
- 127 => 127,
- 129 => 129,
- 185 => 129,
- 130 => 130,
- 131 => 131,
- 132 => 132,
- 133 => 133,
- 134 => 134,
- 137 => 134,
- 135 => 135,
- 136 => 136,
- 138 => 138,
- 140 => 140,
- 141 => 141,
- 142 => 142,
- 143 => 143,
- 144 => 144,
- 145 => 145,
- 146 => 146,
- 147 => 147,
- 148 => 148,
- 149 => 149,
- 150 => 150,
- 151 => 151,
- 152 => 152,
- 153 => 153,
- 154 => 154,
- 157 => 157,
- 158 => 158,
- 160 => 160,
- 161 => 161,
- 168 => 168,
- 169 => 169,
- 170 => 170,
- 171 => 171,
- 172 => 172,
- 173 => 173,
- 174 => 174,
- 175 => 175,
- 176 => 176,
- 177 => 177,
- 178 => 178,
- 179 => 179,
- 180 => 180,
- 181 => 181,
- 182 => 182,
- 184 => 184,
- 186 => 186,
- 187 => 187,
- 189 => 189,
- 190 => 190,
- 191 => 191,
- 192 => 192,
- 193 => 193,
- 194 => 193,
- 196 => 193,
- 195 => 195,
- 197 => 197,
- 198 => 198,
- 199 => 199,
- );
-#line 95 "smarty_internal_templateparser.y"
- function yy_r0(){
- $this->_retvalue = $this->root_buffer->to_smarty_php();
- }
-#line 2185 "smarty_internal_templateparser.php"
-#line 103 "smarty_internal_templateparser.y"
- function yy_r1(){
- $this->current_buffer->append_subtree($this->yystack[$this->yyidx + 0]->minor);
- }
-#line 2190 "smarty_internal_templateparser.php"
-#line 119 "smarty_internal_templateparser.y"
- function yy_r4(){
- if ($this->compiler->has_code) {
- $tmp =''; foreach ($this->compiler->prefix_code as $code) {$tmp.=$code;} $this->compiler->prefix_code=array();
- $this->_retvalue = new _smarty_tag($this, $this->compiler->processNocacheCode($tmp.$this->yystack[$this->yyidx + 0]->minor,true));
- } else {
- $this->_retvalue = new _smarty_tag($this, $this->yystack[$this->yyidx + 0]->minor);
- }
- $this->compiler->has_variable_string = false;
- $this->block_nesting_level = count($this->compiler->_tag_stack);
- }
-#line 2202 "smarty_internal_templateparser.php"
-#line 131 "smarty_internal_templateparser.y"
- function yy_r5(){
- $this->_retvalue = new _smarty_tag($this, '');
- }
-#line 2207 "smarty_internal_templateparser.php"
-#line 136 "smarty_internal_templateparser.y"
- function yy_r6(){
- $this->_retvalue = new _smarty_text($this, $this->yystack[$this->yyidx + 0]->minor);
- }
-#line 2212 "smarty_internal_templateparser.php"
-#line 141 "smarty_internal_templateparser.y"
- function yy_r7(){
- if ($this->php_handling == Smarty::PHP_PASSTHRU) {
- $this->_retvalue = new _smarty_text($this, self::escape_start_tag($this->yystack[$this->yyidx + 0]->minor));
- } elseif ($this->php_handling == Smarty::PHP_QUOTE) {
- $this->_retvalue = new _smarty_text($this, htmlspecialchars($this->yystack[$this->yyidx + 0]->minor, ENT_QUOTES));
- } elseif ($this->php_handling == Smarty::PHP_ALLOW) {
- if (!($this->smarty instanceof SmartyBC)) {
- $this->compiler->trigger_template_error (self::Err3);
+ // line 251 "../smarty/lexer/smarty_internal_templateparser.y"
+ public function yy_r1()
+ {
+ $code =
+ $this->compiler->compileTag('private_php',
+ array(array('code' => $this->yystack[ $this->yyidx + 0 ]->minor), array('type' => $this->lex->phpType)),
+ array());
+ if ($this->compiler->has_code && !empty($code)) {
+ $tmp = '';
+ foreach ($this->compiler->prefix_code as $code) {
+ $tmp .= $code;
+ }
+ $this->compiler->prefix_code = array();
+ $this->current_buffer->append_subtree($this,
+ new Smarty_Internal_ParseTree_Tag($this, $this->compiler->processNocacheCode($tmp . $code, true)));
+ }
+ }
+
+ // line 255 "../smarty/lexer/smarty_internal_templateparser.y"
+ public function yy_r2()
+ {
+ $this->current_buffer->append_subtree($this,
+ $this->compiler->processText($this->yystack[ $this->yyidx + 0 ]->minor));
+ }
+
+ // line 259 "../smarty/lexer/smarty_internal_templateparser.y"
+ public function yy_r3()
+ {
+ $this->strip = true;
+ }
+
+ // line 264 "../smarty/lexer/smarty_internal_templateparser.y"
+ public function yy_r4()
+ {
+ $this->strip = false;
+ }
+
+ // line 269 "../smarty/lexer/smarty_internal_templateparser.y"
+ public function yy_r5()
+ {
+ $this->current_buffer->append_subtree($this,
+ new Smarty_Internal_ParseTree_Text($this->yystack[ $this->yyidx + -1 ]->minor));
+ }
+
+ // line 272 "../smarty/lexer/smarty_internal_templateparser.y"
+ public function yy_r6()
+ {
+ $this->_retvalue = $this->yystack[ $this->yyidx + -3 ]->minor . $this->yystack[ $this->yyidx + -1 ]->minor;
+ }
+
+ // line 276 "../smarty/lexer/smarty_internal_templateparser.y"
+ public function yy_r7()
+ {
+ $this->_retvalue = $this->yystack[ $this->yyidx + 0 ]->minor;
+ }
+
+ // line 281 "../smarty/lexer/smarty_internal_templateparser.y"
+ public function yy_r8()
+ {
+ $this->_retvalue = $this->yystack[ $this->yyidx + -1 ]->minor . $this->yystack[ $this->yyidx + 0 ]->minor;
+ }
+
+ // line 285 "../smarty/lexer/smarty_internal_templateparser.y"
+ public function yy_r9()
+ {
+ $this->_retvalue = '';
+ }
+
+ // line 297 "../smarty/lexer/smarty_internal_templateparser.y"
+ public function yy_r10()
+ {
+ if ($this->compiler->has_code) {
+ $this->current_buffer->append_subtree($this,
+ $this->mergePrefixCode($this->yystack[ $this->yyidx + 0 ]->minor));
+ }
+ $this->compiler->has_variable_string = false;
+ $this->block_nesting_level = count($this->compiler->_tag_stack);
+ }
+
+ // line 307 "../smarty/lexer/smarty_internal_templateparser.y"
+ public function yy_r12()
+ {
+ $var =
+ trim(substr($this->yystack[ $this->yyidx + 0 ]->minor, $this->compiler->getLdelLength(),
+ -$this->compiler->getRdelLength()), ' $');
+ if (preg_match('/^(.*)(\s+nocache)$/', $var, $match)) {
+ $this->_retvalue =
+ $this->compiler->compileTag('private_print_expression', array('nocache'),
+ array('value' => $this->compiler->compileVariable('\'' . $match[ 1 ] . '\'')));
+ } else {
+ $this->_retvalue =
+ $this->compiler->compileTag('private_print_expression', array(),
+ array('value' => $this->compiler->compileVariable('\'' . $var . '\'')));
}
- $this->_retvalue = new _smarty_text($this, $this->compiler->processNocacheCode('<?php', true));
- } elseif ($this->php_handling == Smarty::PHP_REMOVE) {
- $this->_retvalue = new _smarty_text($this, '');
- }
- }
-#line 2228 "smarty_internal_templateparser.php"
-#line 157 "smarty_internal_templateparser.y"
- function yy_r8(){
- if ($this->is_xml) {
- $this->compiler->tag_nocache = true;
- $this->is_xml = false;
- $save = $this->template->has_nocache_code;
- $this->_retvalue = new _smarty_text($this, $this->compiler->processNocacheCode("<?php echo '?>';?>", $this->compiler, true));
- $this->template->has_nocache_code = $save;
- } elseif ($this->php_handling == Smarty::PHP_PASSTHRU) {
- $this->_retvalue = new _smarty_text($this, '?<?php ?>>');
- } elseif ($this->php_handling == Smarty::PHP_QUOTE) {
- $this->_retvalue = new _smarty_text($this, htmlspecialchars('?>', ENT_QUOTES));
- } elseif ($this->php_handling == Smarty::PHP_ALLOW) {
- $this->_retvalue = new _smarty_text($this, $this->compiler->processNocacheCode('?>', true));
- } elseif ($this->php_handling == Smarty::PHP_REMOVE) {
- $this->_retvalue = new _smarty_text($this, '');
- }
- }
-#line 2247 "smarty_internal_templateparser.php"
-#line 176 "smarty_internal_templateparser.y"
- function yy_r9(){
- if ($this->php_handling == Smarty::PHP_PASSTHRU) {
- $this->_retvalue = new _smarty_text($this, '<<?php ?>%');
- } elseif ($this->php_handling == Smarty::PHP_QUOTE) {
- $this->_retvalue = new _smarty_text($this, htmlspecialchars($this->yystack[$this->yyidx + 0]->minor, ENT_QUOTES));
- } elseif ($this->php_handling == Smarty::PHP_ALLOW) {
- if ($this->asp_tags) {
- if (!($this->smarty instanceof SmartyBC)) {
- $this->compiler->trigger_template_error (self::Err3);
+ }
+
+ // line 328 "../smarty/lexer/smarty_internal_templateparser.y"
+ public function yy_r13()
+ {
+ $tag =
+ trim(substr($this->yystack[ $this->yyidx + 0 ]->minor, $this->compiler->getLdelLength(),
+ -$this->compiler->getRdelLength()));
+ if ($tag == 'strip') {
+ $this->strip = true;
+ $this->_retvalue = null;;
+ } else {
+ if (defined($tag)) {
+ if ($this->security) {
+ $this->security->isTrustedConstant($tag, $this->compiler);
+ }
+ $this->_retvalue =
+ $this->compiler->compileTag('private_print_expression', array(), array('value' => $tag));
+ } else {
+ if (preg_match('/^(.*)(\s+nocache)$/', $tag, $match)) {
+ $this->_retvalue = $this->compiler->compileTag($match[ 1 ], array('\'nocache\''));
+ } else {
+ $this->_retvalue = $this->compiler->compileTag($tag, array());
+ }
}
- $this->_retvalue = new _smarty_text($this, $this->compiler->processNocacheCode('<%', true));
+ }
+ }
+
+ // line 339 "../smarty/lexer/smarty_internal_templateparser.y"
+ public function yy_r14()
+ {
+ $j = strrpos($this->yystack[ $this->yyidx + 0 ]->minor, '.');
+ if ($this->yystack[ $this->yyidx + 0 ]->minor[ $j + 1 ] == 'c') {
+ // {$smarty.block.child}
+ $this->_retvalue =
+ $this->compiler->compileTag('child', array(), array($this->yystack[ $this->yyidx + 0 ]->minor));
} else {
- $this->_retvalue = new _smarty_text($this, '<<?php ?>%');
+ // {$smarty.block.parent}
+ $this->_retvalue =
+ $this->compiler->compileTag('parent', array(), array($this->yystack[ $this->yyidx + 0 ]->minor));
}
- } elseif ($this->php_handling == Smarty::PHP_REMOVE) {
- if ($this->asp_tags) {
- $this->_retvalue = new _smarty_text($this, '');
+ }
+
+ // line 343 "../smarty/lexer/smarty_internal_templateparser.y"
+ public function yy_r15()
+ {
+ $this->_retvalue = $this->yystack[ $this->yyidx + -1 ]->minor;
+ }
+
+ // line 347 "../smarty/lexer/smarty_internal_templateparser.y"
+ public function yy_r16()
+ {
+ $this->_retvalue = $this->yystack[ $this->yyidx + -1 ]->minor;
+ }
+
+ // line 356 "../smarty/lexer/smarty_internal_templateparser.y"
+ public function yy_r17()
+ {
+ $this->_retvalue =
+ $this->compiler->compileTag('private_print_expression', $this->yystack[ $this->yyidx + 0 ]->minor[ 1 ],
+ array('value' => $this->yystack[ $this->yyidx + 0 ]->minor[ 0 ]));
+ }
+
+ // line 360 "../smarty/lexer/smarty_internal_templateparser.y"
+ public function yy_r18()
+ {
+ $this->_retvalue =
+ $this->compiler->compileTag('assign', array_merge(array(
+ array('value' => $this->yystack[ $this->yyidx + 0 ]->minor[ 0 ]),
+ array('var' => '\'' . substr($this->yystack[ $this->yyidx + -1 ]->minor, 1) . '\'')
+ ), $this->yystack[ $this->yyidx + 0 ]->minor[ 1 ]));
+ }
+
+ // line 364 "../smarty/lexer/smarty_internal_templateparser.y"
+ public function yy_r19()
+ {
+ $this->_retvalue =
+ $this->compiler->compileTag('assign', array_merge(array(
+ array('value' => $this->yystack[ $this->yyidx + 0 ]->minor[ 0 ]),
+ array('var' => $this->yystack[ $this->yyidx + -1 ]->minor[ 'var' ])
+ ), $this->yystack[ $this->yyidx + 0 ]->minor[ 1 ]), array(
+ 'smarty_internal_index' => $this->yystack[ $this->yyidx +
+ -1 ]->minor[ 'smarty_internal_index' ]
+ ));
+ }
+
+ // line 368 "../smarty/lexer/smarty_internal_templateparser.y"
+ public function yy_r20()
+ {
+ $this->_retvalue = $this->yystack[ $this->yyidx + 0 ]->minor;
+ }
+
+ // line 383 "../smarty/lexer/smarty_internal_templateparser.y"
+ public function yy_r21()
+ {
+ $this->_retvalue = array($this->yystack[ $this->yyidx + -1 ]->minor, $this->yystack[ $this->yyidx + 0 ]->minor);
+ }
+
+ // line 393 "../smarty/lexer/smarty_internal_templateparser.y"
+ public function yy_r25()
+ {
+ if (defined($this->yystack[ $this->yyidx + -1 ]->minor)) {
+ if ($this->security) {
+ $this->security->isTrustedConstant($this->yystack[ $this->yyidx + -1 ]->minor, $this->compiler);
+ }
+ $this->_retvalue =
+ $this->compiler->compileTag('private_print_expression', $this->yystack[ $this->yyidx + 0 ]->minor,
+ array('value' => $this->yystack[ $this->yyidx + -1 ]->minor));
} else {
- $this->_retvalue = new _smarty_text($this, '<<?php ?>%');
+ $this->_retvalue =
+ $this->compiler->compileTag($this->yystack[ $this->yyidx + -1 ]->minor,
+ $this->yystack[ $this->yyidx + 0 ]->minor);
}
}
+
+ // line 406 "../smarty/lexer/smarty_internal_templateparser.y"
+ public function yy_r26()
+ {
+ if (defined($this->yystack[ $this->yyidx + 0 ]->minor)) {
+ if ($this->security) {
+ $this->security->isTrustedConstant($this->yystack[ $this->yyidx + 0 ]->minor, $this->compiler);
+ }
+ $this->_retvalue =
+ $this->compiler->compileTag('private_print_expression', array(),
+ array('value' => $this->yystack[ $this->yyidx + 0 ]->minor));
+ } else {
+ $this->_retvalue = $this->compiler->compileTag($this->yystack[ $this->yyidx + 0 ]->minor, array());
+ }
}
-#line 2271 "smarty_internal_templateparser.php"
-#line 200 "smarty_internal_templateparser.y"
- function yy_r10(){
- if ($this->php_handling == Smarty::PHP_PASSTHRU) {
- $this->_retvalue = new _smarty_text($this, '%<?php ?>>');
- } elseif ($this->php_handling == Smarty::PHP_QUOTE) {
- $this->_retvalue = new _smarty_text($this, htmlspecialchars('%>', ENT_QUOTES));
- } elseif ($this->php_handling == Smarty::PHP_ALLOW) {
- if ($this->asp_tags) {
- $this->_retvalue = new _smarty_text($this, $this->compiler->processNocacheCode('%>', true));
+
+ // line 418 "../smarty/lexer/smarty_internal_templateparser.y"
+ public function yy_r27()
+ {
+ if (defined($this->yystack[ $this->yyidx + -2 ]->minor)) {
+ if ($this->security) {
+ $this->security->isTrustedConstant($this->yystack[ $this->yyidx + -2 ]->minor, $this->compiler);
+ }
+ $this->_retvalue =
+ $this->compiler->compileTag('private_print_expression', $this->yystack[ $this->yyidx + 0 ]->minor,
+ array(
+ 'value' => $this->yystack[ $this->yyidx + -2 ]->minor,
+ 'modifierlist' => $this->yystack[ $this->yyidx + -1 ]->minor
+ ));
} else {
- $this->_retvalue = new _smarty_text($this, '%<?php ?>>');
+ $this->_retvalue =
+ $this->compiler->compileTag($this->yystack[ $this->yyidx + -2 ]->minor,
+ $this->yystack[ $this->yyidx + 0 ]->minor,
+ array('modifierlist' => $this->yystack[ $this->yyidx + -1 ]->minor));
}
- } elseif ($this->php_handling == Smarty::PHP_REMOVE) {
- if ($this->asp_tags) {
- $this->_retvalue = new _smarty_text($this, '');
+ }
+
+ // line 423 "../smarty/lexer/smarty_internal_templateparser.y"
+ public function yy_r28()
+ {
+ $this->_retvalue =
+ $this->compiler->compileTag($this->yystack[ $this->yyidx + -3 ]->minor,
+ $this->yystack[ $this->yyidx + 0 ]->minor,
+ array('object_method' => $this->yystack[ $this->yyidx + -1 ]->minor));
+ }
+
+ // line 428 "../smarty/lexer/smarty_internal_templateparser.y"
+ public function yy_r29()
+ {
+ $this->_retvalue =
+ $this->compiler->compileTag($this->yystack[ $this->yyidx + -4 ]->minor,
+ $this->yystack[ $this->yyidx + 0 ]->minor, array(
+ 'modifierlist' => $this->yystack[ $this->yyidx + -1 ]->minor,
+ 'object_method' => $this->yystack[ $this->yyidx + -2 ]->minor
+ ));
+ }
+
+ // line 433 "../smarty/lexer/smarty_internal_templateparser.y"
+ public function yy_r30()
+ {
+ $this->_retvalue =
+ $this->compiler->compileTag('make_nocache',
+ array(array('var' => '\'' . substr($this->yystack[ $this->yyidx + 0 ]->minor, 1) . '\'')));
+ }
+
+ // line 438 "../smarty/lexer/smarty_internal_templateparser.y"
+ public function yy_r31()
+ {
+ $tag = trim(substr($this->yystack[ $this->yyidx + -1 ]->minor, $this->compiler->getLdelLength()));
+ $this->_retvalue =
+ $this->compiler->compileTag(($tag === 'else if') ? 'elseif' : $tag, array(),
+ array('if condition' => $this->yystack[ $this->yyidx + 0 ]->minor));
+ }
+
+ // line 443 "../smarty/lexer/smarty_internal_templateparser.y"
+ public function yy_r32()
+ {
+ $tag = trim(substr($this->yystack[ $this->yyidx + -2 ]->minor, $this->compiler->getLdelLength()));
+ $this->_retvalue =
+ $this->compiler->compileTag(($tag === 'else if') ? 'elseif' : $tag,
+ $this->yystack[ $this->yyidx + 0 ]->minor,
+ array('if condition' => $this->yystack[ $this->yyidx + -1 ]->minor));
+ }
+
+ // line 454 "../smarty/lexer/smarty_internal_templateparser.y"
+ public function yy_r33()
+ {
+ $tag = trim(substr($this->yystack[ $this->yyidx + -1 ]->minor, $this->compiler->getLdelLength()));
+ $this->_retvalue =
+ $this->compiler->compileTag(($tag === 'else if') ? 'elseif' : $tag, array(),
+ array('if condition' => $this->yystack[ $this->yyidx + 0 ]->minor));
+ }
+
+ // line 458 "../smarty/lexer/smarty_internal_templateparser.y"
+ public function yy_r35()
+ {
+ $this->_retvalue =
+ $this->compiler->compileTag('for', array_merge($this->yystack[ $this->yyidx + 0 ]->minor, array(
+ array('start' => $this->yystack[ $this->yyidx + -6 ]->minor),
+ array('ifexp' => $this->yystack[ $this->yyidx + -4 ]->minor),
+ array('var' => $this->yystack[ $this->yyidx + -2 ]->minor),
+ array('step' => $this->yystack[ $this->yyidx + -1 ]->minor)
+ )), 1);
+ }
+
+ // line 466 "../smarty/lexer/smarty_internal_templateparser.y"
+ public function yy_r36()
+ {
+ $this->_retvalue = '=' . $this->yystack[ $this->yyidx + 0 ]->minor;
+ }
+
+ // line 470 "../smarty/lexer/smarty_internal_templateparser.y"
+ public function yy_r38()
+ {
+ $this->_retvalue =
+ $this->compiler->compileTag('for', array_merge($this->yystack[ $this->yyidx + 0 ]->minor, array(
+ array('start' => $this->yystack[ $this->yyidx + -3 ]->minor),
+ array('to' => $this->yystack[ $this->yyidx + -1 ]->minor)
+ )), 0);
+ }
+
+ // line 475 "../smarty/lexer/smarty_internal_templateparser.y"
+ public function yy_r39()
+ {
+ $this->_retvalue =
+ $this->compiler->compileTag('for', array_merge($this->yystack[ $this->yyidx + 0 ]->minor, array(
+ array('start' => $this->yystack[ $this->yyidx + -5 ]->minor),
+ array('to' => $this->yystack[ $this->yyidx + -3 ]->minor),
+ array('step' => $this->yystack[ $this->yyidx + -1 ]->minor)
+ )), 0);
+ }
+
+ // line 479 "../smarty/lexer/smarty_internal_templateparser.y"
+ public function yy_r40()
+ {
+ $this->_retvalue =
+ $this->compiler->compileTag('foreach', array_merge($this->yystack[ $this->yyidx + 0 ]->minor, array(
+ array('from' => $this->yystack[ $this->yyidx + -3 ]->minor),
+ array('item' => $this->yystack[ $this->yyidx + -1 ]->minor)
+ )));
+ }
+
+ // line 482 "../smarty/lexer/smarty_internal_templateparser.y"
+ public function yy_r41()
+ {
+ $this->_retvalue =
+ $this->compiler->compileTag('foreach', array_merge($this->yystack[ $this->yyidx + 0 ]->minor, array(
+ array('from' => $this->yystack[ $this->yyidx + -5 ]->minor),
+ array('item' => $this->yystack[ $this->yyidx + -1 ]->minor),
+ array('key' => $this->yystack[ $this->yyidx + -3 ]->minor)
+ )));
+ }
+
+ // line 487 "../smarty/lexer/smarty_internal_templateparser.y"
+ public function yy_r42()
+ {
+ $this->_retvalue = $this->compiler->compileTag('foreach', $this->yystack[ $this->yyidx + 0 ]->minor);
+ }
+
+ // line 491 "../smarty/lexer/smarty_internal_templateparser.y"
+ public function yy_r43()
+ {
+ $this->_retvalue =
+ $this->compiler->compileTag('setfilter', array(), array(
+ 'modifier_list' => array(
+ array_merge(array($this->yystack[ $this->yyidx + -1 ]->minor),
+ $this->yystack[ $this->yyidx + 0 ]->minor)
+ )
+ ));
+ }
+
+ // line 497 "../smarty/lexer/smarty_internal_templateparser.y"
+ public function yy_r44()
+ {
+ $this->_retvalue =
+ $this->compiler->compileTag('setfilter', array(), array(
+ 'modifier_list' => array_merge(array(
+ array_merge(array(
+ $this->yystack[ $this->yyidx +
+ -2 ]->minor
+ ), $this->yystack[ $this->yyidx + -1 ]->minor)
+ ), $this->yystack[ $this->yyidx + 0 ]->minor)
+ ));
+ }
+
+ // line 506 "../smarty/lexer/smarty_internal_templateparser.y"
+ public function yy_r45()
+ {
+ $tag =
+ trim(substr($this->yystack[ $this->yyidx + 0 ]->minor, $this->compiler->getLdelLength(),
+ -$this->compiler->getRdelLength()), ' /');
+ if ($tag === 'strip') {
+ $this->strip = false;
+ $this->_retvalue = null;
} else {
- $this->_retvalue = new _smarty_text($this, '%<?php ?>>');
+ $this->_retvalue = $this->compiler->compileTag($tag . 'close', array());
}
}
+
+ // line 510 "../smarty/lexer/smarty_internal_templateparser.y"
+ public function yy_r46()
+ {
+ $this->_retvalue = $this->compiler->compileTag($this->yystack[ $this->yyidx + 0 ]->minor . 'close', array());
+ }
+
+ // line 515 "../smarty/lexer/smarty_internal_templateparser.y"
+ public function yy_r47()
+ {
+ $this->_retvalue =
+ $this->compiler->compileTag($this->yystack[ $this->yyidx + -1 ]->minor . 'close', array(),
+ array('modifier_list' => $this->yystack[ $this->yyidx + 0 ]->minor));
+ }
+
+ // line 519 "../smarty/lexer/smarty_internal_templateparser.y"
+ public function yy_r48()
+ {
+ $this->_retvalue =
+ $this->compiler->compileTag($this->yystack[ $this->yyidx + -2 ]->minor . 'close', array(),
+ array('object_method' => $this->yystack[ $this->yyidx + 0 ]->minor));
+ }
+
+ // line 527 "../smarty/lexer/smarty_internal_templateparser.y"
+ public function yy_r49()
+ {
+ $this->_retvalue =
+ $this->compiler->compileTag($this->yystack[ $this->yyidx + -3 ]->minor . 'close', array(), array(
+ 'object_method' => $this->yystack[ $this->yyidx + -1 ]->minor,
+ 'modifier_list' => $this->yystack[ $this->yyidx + 0 ]->minor
+ ));
+ }
+
+ // line 533 "../smarty/lexer/smarty_internal_templateparser.y"
+ public function yy_r50()
+ {
+ $this->_retvalue = $this->yystack[ $this->yyidx + -1 ]->minor;
+ $this->_retvalue[] = $this->yystack[ $this->yyidx + 0 ]->minor;
+ }
+
+ // line 538 "../smarty/lexer/smarty_internal_templateparser.y"
+ public function yy_r51()
+ {
+ $this->_retvalue = array($this->yystack[ $this->yyidx + 0 ]->minor);
}
-#line 2292 "smarty_internal_templateparser.php"
-#line 220 "smarty_internal_templateparser.y"
- function yy_r11(){
- if ($this->strip) {
- $this->_retvalue = new _smarty_text($this, preg_replace('![\t ]*[\r\n]+[\t ]*!', '', self::escape_start_tag($this->yystack[$this->yyidx + 0]->minor)));
- } else {
- $this->_retvalue = new _smarty_text($this, self::escape_start_tag(ö));
- }
- }
-#line 2301 "smarty_internal_templateparser.php"
-#line 229 "smarty_internal_templateparser.y"
- function yy_r12(){
- $this->compiler->tag_nocache = true;
- $this->is_xml = true;
- $save = $this->template->has_nocache_code;
- $this->_retvalue = new _smarty_text($this, $this->compiler->processNocacheCode("<?php echo '<?xml';?>", $this->compiler, true));
- $this->template->has_nocache_code = $save;
- }
-#line 2310 "smarty_internal_templateparser.php"
-#line 238 "smarty_internal_templateparser.y"
- function yy_r13(){
- if ($this->strip) {
- $this->_retvalue = new _smarty_text($this, preg_replace('![\t ]*[\r\n]+[\t ]*!', '', $this->yystack[$this->yyidx + 0]->minor));
- } else {
- $this->_retvalue = new _smarty_text($this, $this->yystack[$this->yyidx + 0]->minor);
- }
- }
-#line 2319 "smarty_internal_templateparser.php"
-#line 247 "smarty_internal_templateparser.y"
- function yy_r14(){
- $this->strip = true;
- $this->_retvalue = new _smarty_text($this, '');
- }
-#line 2325 "smarty_internal_templateparser.php"
-#line 252 "smarty_internal_templateparser.y"
- function yy_r15(){
- $this->strip = false;
- $this->_retvalue = new _smarty_text($this, '');
- }
-#line 2331 "smarty_internal_templateparser.php"
-#line 258 "smarty_internal_templateparser.y"
- function yy_r16(){
- $this->_retvalue = '';
- }
-#line 2336 "smarty_internal_templateparser.php"
-#line 262 "smarty_internal_templateparser.y"
- function yy_r17(){
- $this->_retvalue = $this->yystack[$this->yyidx + -1]->minor;
- }
-#line 2341 "smarty_internal_templateparser.php"
-#line 266 "smarty_internal_templateparser.y"
- function yy_r18(){
- $this->_retvalue = $this->yystack[$this->yyidx + -1]->minor.$this->yystack[$this->yyidx + 0]->minor;
- }
-#line 2346 "smarty_internal_templateparser.php"
-#line 274 "smarty_internal_templateparser.y"
- function yy_r20(){
- $this->_retvalue = $this->yystack[$this->yyidx + 0]->minor;
- }
-#line 2351 "smarty_internal_templateparser.php"
-#line 282 "smarty_internal_templateparser.y"
- function yy_r22(){
- $this->_retvalue = self::escape_start_tag($this->yystack[$this->yyidx + 0]->minor);
- }
-#line 2356 "smarty_internal_templateparser.php"
-#line 290 "smarty_internal_templateparser.y"
- function yy_r24(){
- $this->_retvalue = self::escape_end_tag($this->yystack[$this->yyidx + 0]->minor);
- }
-#line 2361 "smarty_internal_templateparser.php"
-#line 294 "smarty_internal_templateparser.y"
- function yy_r25(){
- $this->_retvalue = '<<?php ?>%';
- }
-#line 2366 "smarty_internal_templateparser.php"
-#line 298 "smarty_internal_templateparser.y"
- function yy_r26(){
- $this->_retvalue = '%<?php ?>>';
- }
-#line 2371 "smarty_internal_templateparser.php"
-#line 307 "smarty_internal_templateparser.y"
- function yy_r27(){
- $this->_retvalue = $this->compiler->compileTag('private_print_expression',array(),array('value'=>$this->yystack[$this->yyidx + -1]->minor));
- }
-#line 2376 "smarty_internal_templateparser.php"
-#line 311 "smarty_internal_templateparser.y"
- function yy_r28(){
- $this->_retvalue = $this->compiler->compileTag('private_print_expression',$this->yystack[$this->yyidx + -1]->minor,array('value'=>$this->yystack[$this->yyidx + -3]->minor, 'modifierlist'=>$this->yystack[$this->yyidx + -2]->minor));
- }
-#line 2381 "smarty_internal_templateparser.php"
-#line 315 "smarty_internal_templateparser.y"
- function yy_r29(){
- $this->_retvalue = $this->compiler->compileTag('private_print_expression',$this->yystack[$this->yyidx + -1]->minor,array('value'=>$this->yystack[$this->yyidx + -2]->minor));
- }
-#line 2386 "smarty_internal_templateparser.php"
-#line 319 "smarty_internal_templateparser.y"
- function yy_r30(){
- $this->_retvalue = $this->compiler->compileTag('private_print_expression',$this->yystack[$this->yyidx + -1]->minor,array('value'=>$this->yystack[$this->yyidx + -3]->minor,'modifierlist'=>$this->yystack[$this->yyidx + -2]->minor));
- }
-#line 2391 "smarty_internal_templateparser.php"
-#line 332 "smarty_internal_templateparser.y"
- function yy_r32(){
- $this->_retvalue = $this->compiler->compileTag('assign',array(array('value'=>$this->yystack[$this->yyidx + -1]->minor),array('var'=>"'".$this->yystack[$this->yyidx + -3]->minor."'")));
- }
-#line 2396 "smarty_internal_templateparser.php"
-#line 340 "smarty_internal_templateparser.y"
- function yy_r34(){
- $this->_retvalue = $this->compiler->compileTag('assign',array_merge(array(array('value'=>$this->yystack[$this->yyidx + -2]->minor),array('var'=>"'".$this->yystack[$this->yyidx + -4]->minor."'")),$this->yystack[$this->yyidx + -1]->minor));
- }
-#line 2401 "smarty_internal_templateparser.php"
-#line 344 "smarty_internal_templateparser.y"
- function yy_r35(){
- $this->_retvalue = $this->compiler->compileTag('assign',array_merge(array(array('value'=>$this->yystack[$this->yyidx + -2]->minor),array('var'=>$this->yystack[$this->yyidx + -4]->minor['var'])),$this->yystack[$this->yyidx + -1]->minor),array('smarty_internal_index'=>$this->yystack[$this->yyidx + -4]->minor['smarty_internal_index']));
- }
-#line 2406 "smarty_internal_templateparser.php"
-#line 349 "smarty_internal_templateparser.y"
- function yy_r36(){
- $this->_retvalue = $this->compiler->compileTag($this->yystack[$this->yyidx + -2]->minor,$this->yystack[$this->yyidx + -1]->minor);
- }
-#line 2411 "smarty_internal_templateparser.php"
-#line 353 "smarty_internal_templateparser.y"
- function yy_r37(){
- $this->_retvalue = $this->compiler->compileTag($this->yystack[$this->yyidx + -1]->minor,array());
- }
-#line 2416 "smarty_internal_templateparser.php"
-#line 358 "smarty_internal_templateparser.y"
- function yy_r38(){
- $this->_retvalue = $this->compiler->compileTag($this->yystack[$this->yyidx + -4]->minor,$this->yystack[$this->yyidx + -1]->minor,array('object_methode'=>$this->yystack[$this->yyidx + -2]->minor));
- }
-#line 2421 "smarty_internal_templateparser.php"
-#line 363 "smarty_internal_templateparser.y"
- function yy_r39(){
- $this->_retvalue = '<?php ob_start();?>'.$this->compiler->compileTag($this->yystack[$this->yyidx + -3]->minor,$this->yystack[$this->yyidx + -1]->minor).'<?php echo ';
- $this->_retvalue .= $this->compiler->compileTag('private_modifier',array(),array('modifierlist'=>$this->yystack[$this->yyidx + -2]->minor,'value'=>'ob_get_clean()')).'?>';
- }
-#line 2427 "smarty_internal_templateparser.php"
-#line 369 "smarty_internal_templateparser.y"
- function yy_r40(){
- $this->_retvalue = '<?php ob_start();?>'.$this->compiler->compileTag($this->yystack[$this->yyidx + -5]->minor,$this->yystack[$this->yyidx + -1]->minor,array('object_methode'=>$this->yystack[$this->yyidx + -3]->minor)).'<?php echo ';
- $this->_retvalue .= $this->compiler->compileTag('private_modifier',array(),array('modifierlist'=>$this->yystack[$this->yyidx + -2]->minor,'value'=>'ob_get_clean()')).'?>';
- }
-#line 2433 "smarty_internal_templateparser.php"
-#line 375 "smarty_internal_templateparser.y"
- function yy_r41(){
- $tag = trim(substr($this->yystack[$this->yyidx + -2]->minor,$this->lex->ldel_length));
- $this->_retvalue = $this->compiler->compileTag(($tag == 'else if')? 'elseif' : $tag,array(),array('if condition'=>$this->yystack[$this->yyidx + -1]->minor));
- }
-#line 2439 "smarty_internal_templateparser.php"
-#line 380 "smarty_internal_templateparser.y"
- function yy_r42(){
- $tag = trim(substr($this->yystack[$this->yyidx + -3]->minor,$this->lex->ldel_length));
- $this->_retvalue = $this->compiler->compileTag(($tag == 'else if')? 'elseif' : $tag,$this->yystack[$this->yyidx + -1]->minor,array('if condition'=>$this->yystack[$this->yyidx + -2]->minor));
- }
-#line 2445 "smarty_internal_templateparser.php"
-#line 385 "smarty_internal_templateparser.y"
- function yy_r43(){
- $tag = trim(substr($this->yystack[$this->yyidx + -2]->minor,$this->lex->ldel_length));
- $this->_retvalue = $this->compiler->compileTag(($tag == 'else if')? 'elseif' : $tag,array(),array('if condition'=>$this->yystack[$this->yyidx + -1]->minor));
- }
-#line 2451 "smarty_internal_templateparser.php"
-#line 396 "smarty_internal_templateparser.y"
- function yy_r45(){
- $this->_retvalue = $this->compiler->compileTag('for',array_merge($this->yystack[$this->yyidx + -1]->minor,array(array('start'=>$this->yystack[$this->yyidx + -10]->minor),array('ifexp'=>$this->yystack[$this->yyidx + -7]->minor),array('var'=>$this->yystack[$this->yyidx + -3]->minor),array('step'=>$this->yystack[$this->yyidx + -2]->minor))),1);
- }
-#line 2456 "smarty_internal_templateparser.php"
-#line 400 "smarty_internal_templateparser.y"
- function yy_r46(){
- $this->_retvalue = '='.$this->yystack[$this->yyidx + 0]->minor;
- }
-#line 2461 "smarty_internal_templateparser.php"
-#line 408 "smarty_internal_templateparser.y"
- function yy_r48(){
- $this->_retvalue = $this->compiler->compileTag('for',array_merge($this->yystack[$this->yyidx + -1]->minor,array(array('start'=>$this->yystack[$this->yyidx + -4]->minor),array('to'=>$this->yystack[$this->yyidx + -2]->minor))),0);
- }
-#line 2466 "smarty_internal_templateparser.php"
-#line 412 "smarty_internal_templateparser.y"
- function yy_r49(){
- $this->_retvalue = $this->compiler->compileTag('for',array_merge($this->yystack[$this->yyidx + -1]->minor,array(array('start'=>$this->yystack[$this->yyidx + -6]->minor),array('to'=>$this->yystack[$this->yyidx + -4]->minor),array('step'=>$this->yystack[$this->yyidx + -2]->minor))),0);
- }
-#line 2471 "smarty_internal_templateparser.php"
-#line 417 "smarty_internal_templateparser.y"
- function yy_r50(){
- $this->_retvalue = $this->compiler->compileTag('foreach',$this->yystack[$this->yyidx + -1]->minor);
- }
-#line 2476 "smarty_internal_templateparser.php"
-#line 422 "smarty_internal_templateparser.y"
- function yy_r51(){
- $this->_retvalue = $this->compiler->compileTag('foreach',array_merge($this->yystack[$this->yyidx + -1]->minor,array(array('from'=>$this->yystack[$this->yyidx + -5]->minor),array('item'=>$this->yystack[$this->yyidx + -2]->minor))));
- }
-#line 2481 "smarty_internal_templateparser.php"
-#line 426 "smarty_internal_templateparser.y"
- function yy_r52(){
- $this->_retvalue = $this->compiler->compileTag('foreach',array_merge($this->yystack[$this->yyidx + -1]->minor,array(array('from'=>$this->yystack[$this->yyidx + -8]->minor),array('item'=>$this->yystack[$this->yyidx + -2]->minor),array('key'=>$this->yystack[$this->yyidx + -5]->minor))));
- }
-#line 2486 "smarty_internal_templateparser.php"
-#line 430 "smarty_internal_templateparser.y"
- function yy_r53(){
- $this->_retvalue = $this->compiler->compileTag('foreach',array_merge($this->yystack[$this->yyidx + -1]->minor,array(array('from'=>$this->yystack[$this->yyidx + -5]->minor),array('item'=>$this->yystack[$this->yyidx + -2]->minor))));
- }
-#line 2491 "smarty_internal_templateparser.php"
-#line 434 "smarty_internal_templateparser.y"
- function yy_r54(){
- $this->_retvalue = $this->compiler->compileTag('foreach',array_merge($this->yystack[$this->yyidx + -1]->minor,array(array('from'=>$this->yystack[$this->yyidx + -8]->minor),array('item'=>$this->yystack[$this->yyidx + -2]->minor),array('key'=>$this->yystack[$this->yyidx + -5]->minor))));
- }
-#line 2496 "smarty_internal_templateparser.php"
-#line 439 "smarty_internal_templateparser.y"
- function yy_r55(){
- $this->_retvalue = $this->compiler->compileTag('setfilter',array(),array('modifier_list'=>array(array_merge(array($this->yystack[$this->yyidx + -2]->minor),$this->yystack[$this->yyidx + -1]->minor))));
- }
-#line 2501 "smarty_internal_templateparser.php"
-#line 443 "smarty_internal_templateparser.y"
- function yy_r56(){
- $this->_retvalue = $this->compiler->compileTag('setfilter',array(),array('modifier_list'=>array_merge(array(array_merge(array($this->yystack[$this->yyidx + -3]->minor),$this->yystack[$this->yyidx + -2]->minor)),$this->yystack[$this->yyidx + -1]->minor)));
- }
-#line 2506 "smarty_internal_templateparser.php"
-#line 448 "smarty_internal_templateparser.y"
- function yy_r57(){
- $this->_retvalue = SMARTY_INTERNAL_COMPILE_BLOCK::compileChildBlock($this->compiler);
- }
-#line 2511 "smarty_internal_templateparser.php"
-#line 454 "smarty_internal_templateparser.y"
- function yy_r58(){
- $this->_retvalue = $this->compiler->compileTag($this->yystack[$this->yyidx + -1]->minor.'close',array());
- }
-#line 2516 "smarty_internal_templateparser.php"
-#line 458 "smarty_internal_templateparser.y"
- function yy_r59(){
- $this->_retvalue = $this->compiler->compileTag($this->yystack[$this->yyidx + -2]->minor.'close',array(),array('modifier_list'=>$this->yystack[$this->yyidx + -1]->minor));
- }
-#line 2521 "smarty_internal_templateparser.php"
-#line 463 "smarty_internal_templateparser.y"
- function yy_r60(){
- $this->_retvalue = $this->compiler->compileTag($this->yystack[$this->yyidx + -3]->minor.'close',array(),array('object_methode'=>$this->yystack[$this->yyidx + -1]->minor));
- }
-#line 2526 "smarty_internal_templateparser.php"
-#line 467 "smarty_internal_templateparser.y"
- function yy_r61(){
- $this->_retvalue = $this->compiler->compileTag($this->yystack[$this->yyidx + -4]->minor.'close',array(),array('object_methode'=>$this->yystack[$this->yyidx + -2]->minor, 'modifier_list'=>$this->yystack[$this->yyidx + -1]->minor));
- }
-#line 2531 "smarty_internal_templateparser.php"
-#line 475 "smarty_internal_templateparser.y"
- function yy_r62(){
- $this->_retvalue = $this->yystack[$this->yyidx + -1]->minor;
- $this->_retvalue[] = $this->yystack[$this->yyidx + 0]->minor;
- }
-#line 2537 "smarty_internal_templateparser.php"
-#line 481 "smarty_internal_templateparser.y"
- function yy_r63(){
- $this->_retvalue = array($this->yystack[$this->yyidx + 0]->minor);
- }
-#line 2542 "smarty_internal_templateparser.php"
-#line 486 "smarty_internal_templateparser.y"
- function yy_r64(){
- $this->_retvalue = array();
- }
-#line 2547 "smarty_internal_templateparser.php"
-#line 491 "smarty_internal_templateparser.y"
- function yy_r65(){
- if (preg_match('~^true$~i', $this->yystack[$this->yyidx + 0]->minor)) {
- $this->_retvalue = array($this->yystack[$this->yyidx + -2]->minor=>'true');
- } elseif (preg_match('~^false$~i', $this->yystack[$this->yyidx + 0]->minor)) {
- $this->_retvalue = array($this->yystack[$this->yyidx + -2]->minor=>'false');
- } elseif (preg_match('~^null$~i', $this->yystack[$this->yyidx + 0]->minor)) {
- $this->_retvalue = array($this->yystack[$this->yyidx + -2]->minor=>'null');
- } else {
- $this->_retvalue = array($this->yystack[$this->yyidx + -2]->minor=>"'".$this->yystack[$this->yyidx + 0]->minor."'");
- }
- }
-#line 2560 "smarty_internal_templateparser.php"
-#line 503 "smarty_internal_templateparser.y"
- function yy_r66(){
- $this->_retvalue = array($this->yystack[$this->yyidx + -2]->minor=>$this->yystack[$this->yyidx + 0]->minor);
- }
-#line 2565 "smarty_internal_templateparser.php"
-#line 511 "smarty_internal_templateparser.y"
- function yy_r68(){
- $this->_retvalue = "'".$this->yystack[$this->yyidx + 0]->minor."'";
- }
-#line 2570 "smarty_internal_templateparser.php"
-#line 536 "smarty_internal_templateparser.y"
- function yy_r73(){
- $this->yystack[$this->yyidx + -2]->minor[]=$this->yystack[$this->yyidx + 0]->minor;
- $this->_retvalue = $this->yystack[$this->yyidx + -2]->minor;
- }
-#line 2576 "smarty_internal_templateparser.php"
-#line 541 "smarty_internal_templateparser.y"
- function yy_r74(){
- $this->_retvalue = array('var' => $this->yystack[$this->yyidx + -2]->minor, 'value'=>$this->yystack[$this->yyidx + 0]->minor);
- }
-#line 2581 "smarty_internal_templateparser.php"
-#line 569 "smarty_internal_templateparser.y"
- function yy_r79(){
- $this->_retvalue = '$_smarty_tpl->getStreamVariable(\''. $this->yystack[$this->yyidx + -2]->minor .'://'. $this->yystack[$this->yyidx + 0]->minor . '\')';
- }
-#line 2586 "smarty_internal_templateparser.php"
-#line 574 "smarty_internal_templateparser.y"
- function yy_r80(){
- $this->_retvalue = $this->yystack[$this->yyidx + -2]->minor . trim($this->yystack[$this->yyidx + -1]->minor) . $this->yystack[$this->yyidx + 0]->minor;
- }
-#line 2591 "smarty_internal_templateparser.php"
-#line 593 "smarty_internal_templateparser.y"
- function yy_r84(){
- $this->_retvalue = $this->compiler->compileTag('private_modifier',array(),array('value'=>$this->yystack[$this->yyidx + -1]->minor,'modifierlist'=>$this->yystack[$this->yyidx + 0]->minor));
- }
-#line 2596 "smarty_internal_templateparser.php"
-#line 599 "smarty_internal_templateparser.y"
- function yy_r85(){
- $this->_retvalue = $this->yystack[$this->yyidx + -2]->minor.$this->yystack[$this->yyidx + -1]->minor.$this->yystack[$this->yyidx + 0]->minor;
- }
-#line 2601 "smarty_internal_templateparser.php"
-#line 603 "smarty_internal_templateparser.y"
- function yy_r86(){
- $this->_retvalue = 'in_array('.$this->yystack[$this->yyidx + -2]->minor.','.$this->yystack[$this->yyidx + 0]->minor.')';
- }
-#line 2606 "smarty_internal_templateparser.php"
-#line 607 "smarty_internal_templateparser.y"
- function yy_r87(){
- $this->_retvalue = 'in_array('.$this->yystack[$this->yyidx + -2]->minor.',(array)'.$this->yystack[$this->yyidx + 0]->minor.')';
- }
-#line 2611 "smarty_internal_templateparser.php"
-#line 615 "smarty_internal_templateparser.y"
- function yy_r89(){
- $this->_retvalue = '!('.$this->yystack[$this->yyidx + -2]->minor.' % '.$this->yystack[$this->yyidx + 0]->minor.')';
- }
-#line 2616 "smarty_internal_templateparser.php"
-#line 619 "smarty_internal_templateparser.y"
- function yy_r90(){
- $this->_retvalue = '('.$this->yystack[$this->yyidx + -2]->minor.' % '.$this->yystack[$this->yyidx + 0]->minor.')';
- }
-#line 2621 "smarty_internal_templateparser.php"
-#line 623 "smarty_internal_templateparser.y"
- function yy_r91(){
- $this->_retvalue = '!(1 & '.$this->yystack[$this->yyidx + -1]->minor.')';
- }
-#line 2626 "smarty_internal_templateparser.php"
-#line 627 "smarty_internal_templateparser.y"
- function yy_r92(){
- $this->_retvalue = '(1 & '.$this->yystack[$this->yyidx + -1]->minor.')';
- }
-#line 2631 "smarty_internal_templateparser.php"
-#line 631 "smarty_internal_templateparser.y"
- function yy_r93(){
- $this->_retvalue = '!(1 & '.$this->yystack[$this->yyidx + -2]->minor.' / '.$this->yystack[$this->yyidx + 0]->minor.')';
- }
-#line 2636 "smarty_internal_templateparser.php"
-#line 635 "smarty_internal_templateparser.y"
- function yy_r94(){
- $this->_retvalue = '(1 & '.$this->yystack[$this->yyidx + -2]->minor.' / '.$this->yystack[$this->yyidx + 0]->minor.')';
- }
-#line 2641 "smarty_internal_templateparser.php"
-#line 659 "smarty_internal_templateparser.y"
- function yy_r100(){
- $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 2648 "smarty_internal_templateparser.php"
-#line 668 "smarty_internal_templateparser.y"
- function yy_r101(){
- $this->_retvalue = $this->yystack[$this->yyidx + -6]->minor.' ? '. $this->compileVariable("'".$this->yystack[$this->yyidx + -2]->minor."'") . ' : '.$this->yystack[$this->yyidx + 0]->minor;
- }
-#line 2653 "smarty_internal_templateparser.php"
-#line 672 "smarty_internal_templateparser.y"
- function yy_r102(){
- $this->_retvalue = $this->yystack[$this->yyidx + -5]->minor.' ? '.$this->yystack[$this->yyidx + -2]->minor.' : '.$this->yystack[$this->yyidx + 0]->minor;
- }
-#line 2658 "smarty_internal_templateparser.php"
-#line 687 "smarty_internal_templateparser.y"
- function yy_r105(){
- $this->_retvalue = '!'.$this->yystack[$this->yyidx + 0]->minor;
- }
-#line 2663 "smarty_internal_templateparser.php"
-#line 708 "smarty_internal_templateparser.y"
- function yy_r110(){
- $this->_retvalue = $this->yystack[$this->yyidx + -2]->minor.'.'.$this->yystack[$this->yyidx + 0]->minor;
- }
-#line 2668 "smarty_internal_templateparser.php"
-#line 712 "smarty_internal_templateparser.y"
- function yy_r111(){
- $this->_retvalue = $this->yystack[$this->yyidx + -1]->minor.'.';
- }
-#line 2673 "smarty_internal_templateparser.php"
-#line 716 "smarty_internal_templateparser.y"
- function yy_r112(){
- $this->_retvalue = '.'.$this->yystack[$this->yyidx + 0]->minor;
- }
-#line 2678 "smarty_internal_templateparser.php"
-#line 721 "smarty_internal_templateparser.y"
- function yy_r113(){
- if (preg_match('~^true$~i', $this->yystack[$this->yyidx + 0]->minor)) {
- $this->_retvalue = 'true';
- } elseif (preg_match('~^false$~i', $this->yystack[$this->yyidx + 0]->minor)) {
- $this->_retvalue = 'false';
- } elseif (preg_match('~^null$~i', $this->yystack[$this->yyidx + 0]->minor)) {
- $this->_retvalue = 'null';
- } else {
- $this->_retvalue = "'".$this->yystack[$this->yyidx + 0]->minor."'";
- }
- }
-#line 2691 "smarty_internal_templateparser.php"
-#line 739 "smarty_internal_templateparser.y"
- function yy_r115(){
- $this->_retvalue = "(". $this->yystack[$this->yyidx + -1]->minor .")";
- }
-#line 2696 "smarty_internal_templateparser.php"
-#line 754 "smarty_internal_templateparser.y"
- function yy_r118(){
- if (!$this->security || isset($this->smarty->registered_classes[$this->yystack[$this->yyidx + -2]->minor]) || $this->smarty->security_policy->isTrustedStaticClass($this->yystack[$this->yyidx + -2]->minor, $this->compiler)) {
- if (isset($this->smarty->registered_classes[$this->yystack[$this->yyidx + -2]->minor])) {
- $this->_retvalue = $this->smarty->registered_classes[$this->yystack[$this->yyidx + -2]->minor].'::'.$this->yystack[$this->yyidx + 0]->minor;
+
+ // line 543 "../smarty/lexer/smarty_internal_templateparser.y"
+ public function yy_r52()
+ {
+ $this->_retvalue = array();
+ }
+
+ // line 554 "../smarty/lexer/smarty_internal_templateparser.y"
+ public function yy_r53()
+ {
+ if (defined($this->yystack[ $this->yyidx + 0 ]->minor)) {
+ if ($this->security) {
+ $this->security->isTrustedConstant($this->yystack[ $this->yyidx + 0 ]->minor, $this->compiler);
+ }
+ $this->_retvalue =
+ array($this->yystack[ $this->yyidx + -2 ]->minor => $this->yystack[ $this->yyidx + 0 ]->minor);
} else {
- $this->_retvalue = $this->yystack[$this->yyidx + -2]->minor.'::'.$this->yystack[$this->yyidx + 0]->minor;
+ $this->_retvalue =
+ array(
+ $this->yystack[ $this->yyidx + -2 ]->minor => '\'' .
+ $this->yystack[ $this->yyidx + 0 ]->minor .
+ '\''
+ );
}
- } else {
- $this->compiler->trigger_template_error ("static class '".$this->yystack[$this->yyidx + -2]->minor."' is undefined or not allowed by security setting");
- }
- }
-#line 2709 "smarty_internal_templateparser.php"
-#line 766 "smarty_internal_templateparser.y"
- function yy_r119(){
- if ($this->yystack[$this->yyidx + -2]->minor['var'] == '\'smarty\'') {
- $this->_retvalue = $this->compiler->compileTag('private_special_variable',array(),$this->yystack[$this->yyidx + -2]->minor['smarty_internal_index']).'::'.$this->yystack[$this->yyidx + 0]->minor;
- } else {
- $this->_retvalue = $this->compileVariable($this->yystack[$this->yyidx + -2]->minor['var']).$this->yystack[$this->yyidx + -2]->minor['smarty_internal_index'].'::'.$this->yystack[$this->yyidx + 0]->minor;
- }
- }
-#line 2718 "smarty_internal_templateparser.php"
-#line 775 "smarty_internal_templateparser.y"
- function yy_r120(){
- $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 2725 "smarty_internal_templateparser.php"
-#line 790 "smarty_internal_templateparser.y"
- function yy_r122(){
- if ($this->yystack[$this->yyidx + 0]->minor['var'] == '\'smarty\'') {
- $smarty_var = $this->compiler->compileTag('private_special_variable',array(),$this->yystack[$this->yyidx + 0]->minor['smarty_internal_index']);
- $this->_retvalue = $smarty_var;
- } else {
- // used for array reset,next,prev,end,current
- $this->last_variable = $this->yystack[$this->yyidx + 0]->minor['var'];
- $this->last_index = $this->yystack[$this->yyidx + 0]->minor['smarty_internal_index'];
- $this->_retvalue = $this->compileVariable($this->yystack[$this->yyidx + 0]->minor['var']).$this->yystack[$this->yyidx + 0]->minor['smarty_internal_index'];
- }
- }
-#line 2738 "smarty_internal_templateparser.php"
-#line 803 "smarty_internal_templateparser.y"
- function yy_r123(){
- $this->_retvalue = '$_smarty_tpl->tpl_vars['. $this->yystack[$this->yyidx + -2]->minor .']->'.$this->yystack[$this->yyidx + 0]->minor;
- }
-#line 2743 "smarty_internal_templateparser.php"
-#line 813 "smarty_internal_templateparser.y"
- function yy_r125(){
- $this->_retvalue = '$_smarty_tpl->getConfigVariable(\''. $this->yystack[$this->yyidx + -1]->minor .'\')';
- }
-#line 2748 "smarty_internal_templateparser.php"
-#line 817 "smarty_internal_templateparser.y"
- function yy_r126(){
- $this->_retvalue = '$_smarty_tpl->getConfigVariable('. $this->yystack[$this->yyidx + -1]->minor .')';
- }
-#line 2753 "smarty_internal_templateparser.php"
-#line 821 "smarty_internal_templateparser.y"
- function yy_r127(){
- $this->_retvalue = array('var'=>$this->yystack[$this->yyidx + -1]->minor, 'smarty_internal_index'=>$this->yystack[$this->yyidx + 0]->minor);
- }
-#line 2758 "smarty_internal_templateparser.php"
-#line 834 "smarty_internal_templateparser.y"
- function yy_r129(){
- return;
- }
-#line 2763 "smarty_internal_templateparser.php"
-#line 840 "smarty_internal_templateparser.y"
- function yy_r130(){
- $this->_retvalue = '['.$this->compileVariable($this->yystack[$this->yyidx + 0]->minor).']';
- }
-#line 2768 "smarty_internal_templateparser.php"
-#line 844 "smarty_internal_templateparser.y"
- function yy_r131(){
- $this->_retvalue = '['.$this->compileVariable($this->yystack[$this->yyidx + -2]->minor).'->'.$this->yystack[$this->yyidx + 0]->minor.']';
- }
-#line 2773 "smarty_internal_templateparser.php"
-#line 848 "smarty_internal_templateparser.y"
- function yy_r132(){
- $this->_retvalue = "['". $this->yystack[$this->yyidx + 0]->minor ."']";
- }
-#line 2778 "smarty_internal_templateparser.php"
-#line 852 "smarty_internal_templateparser.y"
- function yy_r133(){
- $this->_retvalue = "[". $this->yystack[$this->yyidx + 0]->minor ."]";
- }
-#line 2783 "smarty_internal_templateparser.php"
-#line 856 "smarty_internal_templateparser.y"
- function yy_r134(){
- $this->_retvalue = "[". $this->yystack[$this->yyidx + -1]->minor ."]";
- }
-#line 2788 "smarty_internal_templateparser.php"
-#line 861 "smarty_internal_templateparser.y"
- function yy_r135(){
- $this->_retvalue = '['.$this->compiler->compileTag('private_special_variable',array(),'[\'section\'][\''.$this->yystack[$this->yyidx + -1]->minor.'\'][\'index\']').']';
- }
-#line 2793 "smarty_internal_templateparser.php"
-#line 865 "smarty_internal_templateparser.y"
- function yy_r136(){
- $this->_retvalue = '['.$this->compiler->compileTag('private_special_variable',array(),'[\'section\'][\''.$this->yystack[$this->yyidx + -3]->minor.'\'][\''.$this->yystack[$this->yyidx + -1]->minor.'\']').']';
- }
-#line 2798 "smarty_internal_templateparser.php"
-#line 875 "smarty_internal_templateparser.y"
- function yy_r138(){
- $this->_retvalue = '[]';
- }
-#line 2803 "smarty_internal_templateparser.php"
-#line 888 "smarty_internal_templateparser.y"
- function yy_r140(){
- $this->_retvalue = $this->yystack[$this->yyidx + -1]->minor.'.'.$this->yystack[$this->yyidx + 0]->minor;
- }
-#line 2808 "smarty_internal_templateparser.php"
-#line 893 "smarty_internal_templateparser.y"
- function yy_r141(){
- $this->_retvalue = '\''.$this->yystack[$this->yyidx + 0]->minor.'\'';
- }
-#line 2813 "smarty_internal_templateparser.php"
-#line 898 "smarty_internal_templateparser.y"
- function yy_r142(){
- $this->_retvalue = '('.$this->yystack[$this->yyidx + -1]->minor.')';
- }
-#line 2818 "smarty_internal_templateparser.php"
-#line 905 "smarty_internal_templateparser.y"
- function yy_r143(){
- if ($this->yystack[$this->yyidx + -1]->minor['var'] == '\'smarty\'') {
- $this->_retvalue = $this->compiler->compileTag('private_special_variable',array(),$this->yystack[$this->yyidx + -1]->minor['smarty_internal_index']).$this->yystack[$this->yyidx + 0]->minor;
- } else {
- $this->_retvalue = $this->compileVariable($this->yystack[$this->yyidx + -1]->minor['var']).$this->yystack[$this->yyidx + -1]->minor['smarty_internal_index'].$this->yystack[$this->yyidx + 0]->minor;
- }
- }
-#line 2827 "smarty_internal_templateparser.php"
-#line 914 "smarty_internal_templateparser.y"
- function yy_r144(){
- $this->_retvalue = $this->yystack[$this->yyidx + 0]->minor;
- }
-#line 2832 "smarty_internal_templateparser.php"
-#line 919 "smarty_internal_templateparser.y"
- function yy_r145(){
- $this->_retvalue = $this->yystack[$this->yyidx + -1]->minor.$this->yystack[$this->yyidx + 0]->minor;
- }
-#line 2837 "smarty_internal_templateparser.php"
-#line 924 "smarty_internal_templateparser.y"
- function yy_r146(){
- if ($this->security && substr($this->yystack[$this->yyidx + -1]->minor,0,1) == '_') {
- $this->compiler->trigger_template_error (self::Err1);
- }
- $this->_retvalue = '->'.$this->yystack[$this->yyidx + -1]->minor.$this->yystack[$this->yyidx + 0]->minor;
- }
-#line 2845 "smarty_internal_templateparser.php"
-#line 931 "smarty_internal_templateparser.y"
- function yy_r147(){
- if ($this->security) {
- $this->compiler->trigger_template_error (self::Err2);
- }
- $this->_retvalue = '->{'.$this->compileVariable($this->yystack[$this->yyidx + -1]->minor).$this->yystack[$this->yyidx + 0]->minor.'}';
- }
-#line 2853 "smarty_internal_templateparser.php"
-#line 938 "smarty_internal_templateparser.y"
- function yy_r148(){
- if ($this->security) {
- $this->compiler->trigger_template_error (self::Err2);
- }
- $this->_retvalue = '->{'.$this->yystack[$this->yyidx + -2]->minor.$this->yystack[$this->yyidx + 0]->minor.'}';
- }
-#line 2861 "smarty_internal_templateparser.php"
-#line 945 "smarty_internal_templateparser.y"
- function yy_r149(){
- if ($this->security) {
- $this->compiler->trigger_template_error (self::Err2);
- }
- $this->_retvalue = '->{\''.$this->yystack[$this->yyidx + -4]->minor.'\'.'.$this->yystack[$this->yyidx + -2]->minor.$this->yystack[$this->yyidx + 0]->minor.'}';
- }
-#line 2869 "smarty_internal_templateparser.php"
-#line 953 "smarty_internal_templateparser.y"
- function yy_r150(){
- $this->_retvalue = '->'.$this->yystack[$this->yyidx + 0]->minor;
- }
-#line 2874 "smarty_internal_templateparser.php"
-#line 961 "smarty_internal_templateparser.y"
- function yy_r151(){
- if (!$this->security || $this->smarty->security_policy->isTrustedPhpFunction($this->yystack[$this->yyidx + -3]->minor, $this->compiler)) {
- if (strcasecmp($this->yystack[$this->yyidx + -3]->minor,'isset') === 0 || strcasecmp($this->yystack[$this->yyidx + -3]->minor,'empty') === 0 || strcasecmp($this->yystack[$this->yyidx + -3]->minor,'array') === 0 || is_callable($this->yystack[$this->yyidx + -3]->minor)) {
- $func_name = strtolower($this->yystack[$this->yyidx + -3]->minor);
- if ($func_name == 'isset') {
- if (count($this->yystack[$this->yyidx + -1]->minor) == 0) {
- $this->compiler->trigger_template_error ('Illegal number of paramer in "isset()"');
- }
- $par = implode(',',$this->yystack[$this->yyidx + -1]->minor);
- if (strncasecmp($par,'$_smarty_tpl->getConfigVariable',strlen('$_smarty_tpl->getConfigVariable')) === 0) {
- $this->prefix_number++;
- $this->compiler->prefix_code[] = '<?php $_tmp'.$this->prefix_number.'='.str_replace(')',', false)',$par).';?>';
- $isset_par = '$_tmp'.$this->prefix_number;
- } else {
- $isset_par=str_replace("')->value","',null,true,false)->value",$par);
- }
- $this->_retvalue = $this->yystack[$this->yyidx + -3]->minor . "(". $isset_par .")";
- } elseif (in_array($func_name,array('empty','reset','current','end','prev','next'))){
- if (count($this->yystack[$this->yyidx + -1]->minor) != 1) {
- $this->compiler->trigger_template_error ('Illegal number of paramer in "empty()"');
- }
- if ($func_name == 'empty') {
- $this->_retvalue = $func_name.'('.str_replace("')->value","',null,true,false)->value",$this->yystack[$this->yyidx + -1]->minor[0]).')';
- } else {
- $this->_retvalue = $func_name.'('.$this->yystack[$this->yyidx + -1]->minor[0].')';
- }
+ }
+
+ // line 562 "../smarty/lexer/smarty_internal_templateparser.y"
+ public function yy_r54()
+ {
+ $this->_retvalue =
+ array(
+ trim($this->yystack[ $this->yyidx + -1 ]->minor, " =\n\r\t") => $this->yystack[ $this->yyidx +
+ 0 ]->minor
+ );
+ }
+
+ // line 574 "../smarty/lexer/smarty_internal_templateparser.y"
+ public function yy_r56()
+ {
+ $this->_retvalue = '\'' . $this->yystack[ $this->yyidx + 0 ]->minor . '\'';
+ }
+
+ // line 587 "../smarty/lexer/smarty_internal_templateparser.y"
+ public function yy_r59()
+ {
+ $this->_retvalue =
+ array($this->yystack[ $this->yyidx + -2 ]->minor => $this->yystack[ $this->yyidx + 0 ]->minor);
+ }
+
+ // line 592 "../smarty/lexer/smarty_internal_templateparser.y"
+ public function yy_r61()
+ {
+ $this->yystack[ $this->yyidx + -2 ]->minor[] = $this->yystack[ $this->yyidx + 0 ]->minor;
+ $this->_retvalue = $this->yystack[ $this->yyidx + -2 ]->minor;
+ }
+
+ // line 599 "../smarty/lexer/smarty_internal_templateparser.y"
+ public function yy_r62()
+ {
+ $this->_retvalue =
+ array(
+ 'var' => '\'' . substr($this->yystack[ $this->yyidx + -2 ]->minor, 1) . '\'',
+ 'value' => $this->yystack[ $this->yyidx + 0 ]->minor
+ );
+ }
+
+ // line 603 "../smarty/lexer/smarty_internal_templateparser.y"
+ public function yy_r64()
+ {
+ $this->_retvalue =
+ array(
+ 'var' => $this->yystack[ $this->yyidx + -2 ]->minor,
+ 'value' => $this->yystack[ $this->yyidx + 0 ]->minor
+ );
+ }
+
+ // line 623 "../smarty/lexer/smarty_internal_templateparser.y"
+ public function yy_r65()
+ {
+ $this->_retvalue = $this->yystack[ $this->yyidx + -1 ]->minor;
+ }
+
+ // line 628 "../smarty/lexer/smarty_internal_templateparser.y"
+ public function yy_r68()
+ {
+ $this->_retvalue =
+ '$_smarty_tpl->getStreamVariable(\'' .
+ substr($this->yystack[ $this->yyidx + -2 ]->minor, 1) .
+ '://' .
+ $this->yystack[ $this->yyidx + 0 ]->minor .
+ '\')';
+ }
+
+ // line 642 "../smarty/lexer/smarty_internal_templateparser.y"
+ public function yy_r69()
+ {
+ $this->_retvalue =
+ $this->yystack[ $this->yyidx + -2 ]->minor .
+ trim($this->yystack[ $this->yyidx + -1 ]->minor) .
+ $this->yystack[ $this->yyidx + 0 ]->minor;
+ }
+
+ // line 648 "../smarty/lexer/smarty_internal_templateparser.y"
+ public function yy_r72()
+ {
+ $this->_retvalue =
+ $this->compiler->compileTag('private_modifier', array(), array(
+ 'value' => $this->yystack[ $this->yyidx + -1 ]->minor,
+ 'modifierlist' => $this->yystack[ $this->yyidx + 0 ]->minor
+ ));
+ }
+
+ // line 652 "../smarty/lexer/smarty_internal_templateparser.y"
+ public function yy_r73()
+ {
+ $this->_retvalue =
+ $this->yystack[ $this->yyidx + -1 ]->minor[ 'pre' ] .
+ $this->yystack[ $this->yyidx + -2 ]->minor .
+ $this->yystack[ $this->yyidx + -1 ]->minor[ 'op' ] .
+ $this->yystack[ $this->yyidx + 0 ]->minor .
+ ')';
+ }
+
+ // line 656 "../smarty/lexer/smarty_internal_templateparser.y"
+ public function yy_r74()
+ {
+ $this->_retvalue =
+ $this->yystack[ $this->yyidx + -2 ]->minor .
+ $this->yystack[ $this->yyidx + -1 ]->minor .
+ $this->yystack[ $this->yyidx + 0 ]->minor;
+ }
+
+ // line 660 "../smarty/lexer/smarty_internal_templateparser.y"
+ public function yy_r75()
+ {
+ $this->_retvalue = $this->yystack[ $this->yyidx + 0 ]->minor . $this->yystack[ $this->yyidx + -1 ]->minor . ')';
+ }
+
+ // line 664 "../smarty/lexer/smarty_internal_templateparser.y"
+ public function yy_r76()
+ {
+ $this->_retvalue =
+ 'in_array(' .
+ $this->yystack[ $this->yyidx + -2 ]->minor .
+ ',' .
+ $this->yystack[ $this->yyidx + 0 ]->minor .
+ ')';
+ }
+
+ // line 672 "../smarty/lexer/smarty_internal_templateparser.y"
+ public function yy_r77()
+ {
+ $this->_retvalue =
+ 'in_array(' .
+ $this->yystack[ $this->yyidx + -2 ]->minor .
+ ',(array)' .
+ $this->yystack[ $this->yyidx + 0 ]->minor .
+ ')';
+ }
+
+ // line 676 "../smarty/lexer/smarty_internal_templateparser.y"
+ public function yy_r78()
+ {
+ $this->_retvalue =
+ $this->yystack[ $this->yyidx + -5 ]->minor .
+ ' ? ' .
+ $this->compiler->compileVariable('\'' . substr($this->yystack[ $this->yyidx + -2 ]->minor, 1) . '\'') .
+ ' : ' .
+ $this->yystack[ $this->yyidx + 0 ]->minor;
+ }
+
+ // line 686 "../smarty/lexer/smarty_internal_templateparser.y"
+ public function yy_r79()
+ {
+ $this->_retvalue =
+ $this->yystack[ $this->yyidx + -5 ]->minor .
+ ' ? ' .
+ $this->yystack[ $this->yyidx + -2 ]->minor .
+ ' : ' .
+ $this->yystack[ $this->yyidx + 0 ]->minor;
+ }
+
+ // line 691 "../smarty/lexer/smarty_internal_templateparser.y"
+ public function yy_r81()
+ {
+ $this->_retvalue = $this->yystack[ $this->yyidx + -1 ]->minor . $this->yystack[ $this->yyidx + 0 ]->minor;
+ }
+
+ // line 712 "../smarty/lexer/smarty_internal_templateparser.y"
+ public function yy_r82()
+ {
+ $this->_retvalue = '!' . $this->yystack[ $this->yyidx + 0 ]->minor;
+ }
+
+ // line 716 "../smarty/lexer/smarty_internal_templateparser.y"
+ public function yy_r87()
+ {
+ $this->_retvalue = $this->yystack[ $this->yyidx + -2 ]->minor . '.' . $this->yystack[ $this->yyidx + 0 ]->minor;
+ }
+
+ // line 720 "../smarty/lexer/smarty_internal_templateparser.y"
+ public function yy_r88()
+ {
+ $this->_retvalue = $this->yystack[ $this->yyidx + -1 ]->minor . '.';
+ }
+
+ // line 725 "../smarty/lexer/smarty_internal_templateparser.y"
+ public function yy_r89()
+ {
+ $this->_retvalue = '.' . $this->yystack[ $this->yyidx + 0 ]->minor;
+ }
+
+ // line 742 "../smarty/lexer/smarty_internal_templateparser.y"
+ public function yy_r90()
+ {
+ if (defined($this->yystack[ $this->yyidx + 0 ]->minor)) {
+ if ($this->security) {
+ $this->security->isTrustedConstant($this->yystack[ $this->yyidx + 0 ]->minor, $this->compiler);
+ }
+ $this->_retvalue = $this->yystack[ $this->yyidx + 0 ]->minor;
+ } else {
+ $this->_retvalue = '\'' . $this->yystack[ $this->yyidx + 0 ]->minor . '\'';
+ }
+ }
+
+ // line 746 "../smarty/lexer/smarty_internal_templateparser.y"
+ public function yy_r92()
+ {
+ $this->_retvalue = '(' . $this->yystack[ $this->yyidx + -1 ]->minor . ')';
+ }
+
+ // line 764 "../smarty/lexer/smarty_internal_templateparser.y"
+ public function yy_r93()
+ {
+ $this->_retvalue =
+ $this->yystack[ $this->yyidx + -2 ]->minor .
+ $this->yystack[ $this->yyidx + -1 ]->minor .
+ $this->yystack[ $this->yyidx + 0 ]->minor;
+ }
+
+ // line 775 "../smarty/lexer/smarty_internal_templateparser.y"
+ public function yy_r97()
+ {
+ $prefixVar = $this->compiler->getNewPrefixVariable();
+ if ($this->yystack[ $this->yyidx + -2 ]->minor[ 'var' ] === '\'smarty\'') {
+ $this->compiler->appendPrefixCode("<?php {$prefixVar} = " .
+ $this->compiler->compileTag('private_special_variable', array(),
+ $this->yystack[ $this->yyidx +
+ -2 ]->minor[ 'smarty_internal_index' ]) .
+ ';?>');
+ } else {
+ $this->compiler->appendPrefixCode("<?php {$prefixVar} = " .
+ $this->compiler->compileVariable($this->yystack[ $this->yyidx +
+ -2 ]->minor[ 'var' ]) .
+ $this->yystack[ $this->yyidx + -2 ]->minor[ 'smarty_internal_index' ] .
+ ';?>');
+ }
+ $this->_retvalue =
+ $prefixVar .
+ '::' .
+ $this->yystack[ $this->yyidx + 0 ]->minor[ 0 ] .
+ $this->yystack[ $this->yyidx + 0 ]->minor[ 1 ];
+ }
+
+ // line 792 "../smarty/lexer/smarty_internal_templateparser.y"
+ public function yy_r98()
+ {
+ $prefixVar = $this->compiler->getNewPrefixVariable();
+ $tmp = $this->compiler->appendCode('<?php ob_start();?>', $this->yystack[ $this->yyidx + 0 ]->minor);
+ $this->compiler->appendPrefixCode($this->compiler->appendCode($tmp, "<?php {$prefixVar} = ob_get_clean();?>"));
+ $this->_retvalue = $prefixVar;
+ }
+
+ // line 811 "../smarty/lexer/smarty_internal_templateparser.y"
+ public function yy_r101()
+ {
+ if (!in_array(strtolower($this->yystack[ $this->yyidx + -2 ]->minor), array('self', 'parent')) &&
+ (!$this->security ||
+ $this->security->isTrustedStaticClassAccess($this->yystack[ $this->yyidx + -2 ]->minor,
+ $this->yystack[ $this->yyidx + 0 ]->minor, $this->compiler))) {
+ if (isset($this->smarty->registered_classes[ $this->yystack[ $this->yyidx + -2 ]->minor ])) {
+ $this->_retvalue =
+ $this->smarty->registered_classes[ $this->yystack[ $this->yyidx + -2 ]->minor ] .
+ '::' .
+ $this->yystack[ $this->yyidx + 0 ]->minor[ 0 ] .
+ $this->yystack[ $this->yyidx + 0 ]->minor[ 1 ];
} else {
- $this->_retvalue = $this->yystack[$this->yyidx + -3]->minor . "(". implode(',',$this->yystack[$this->yyidx + -1]->minor) .")";
+ $this->_retvalue =
+ $this->yystack[ $this->yyidx + -2 ]->minor .
+ '::' .
+ $this->yystack[ $this->yyidx + 0 ]->minor[ 0 ] .
+ $this->yystack[ $this->yyidx + 0 ]->minor[ 1 ];
}
} else {
- $this->compiler->trigger_template_error ("unknown function \"" . $this->yystack[$this->yyidx + -3]->minor . "\"");
+ $this->compiler->trigger_template_error('static class \'' .
+ $this->yystack[ $this->yyidx + -2 ]->minor .
+ '\' is undefined or not allowed by security setting');
+ }
+ }
+
+ // line 822 "../smarty/lexer/smarty_internal_templateparser.y"
+ public function yy_r103()
+ {
+ $this->_retvalue = $this->yystack[ $this->yyidx + 0 ]->minor;
+ }
+
+ // line 825 "../smarty/lexer/smarty_internal_templateparser.y"
+ public function yy_r104()
+ {
+ $this->_retvalue =
+ $this->compiler->compileVariable('\'' . substr($this->yystack[ $this->yyidx + 0 ]->minor, 1) . '\'');
+ }
+
+ // line 838 "../smarty/lexer/smarty_internal_templateparser.y"
+ public function yy_r105()
+ {
+ if ($this->yystack[ $this->yyidx + 0 ]->minor[ 'var' ] === '\'smarty\'') {
+ $smarty_var =
+ $this->compiler->compileTag('private_special_variable', array(),
+ $this->yystack[ $this->yyidx + 0 ]->minor[ 'smarty_internal_index' ]);
+ $this->_retvalue = $smarty_var;
+ } else {
+ // used for array reset,next,prev,end,current
+ $this->last_variable = $this->yystack[ $this->yyidx + 0 ]->minor[ 'var' ];
+ $this->last_index = $this->yystack[ $this->yyidx + 0 ]->minor[ 'smarty_internal_index' ];
+ $this->_retvalue =
+ $this->compiler->compileVariable($this->yystack[ $this->yyidx + 0 ]->minor[ 'var' ]) .
+ $this->yystack[ $this->yyidx + 0 ]->minor[ 'smarty_internal_index' ];
+ }
+ }
+
+ // line 848 "../smarty/lexer/smarty_internal_templateparser.y"
+ public function yy_r106()
+ {
+ $this->_retvalue =
+ '$_smarty_tpl->tpl_vars[' .
+ $this->yystack[ $this->yyidx + -2 ]->minor .
+ ']->' .
+ $this->yystack[ $this->yyidx + 0 ]->minor;
+ }
+
+ // line 852 "../smarty/lexer/smarty_internal_templateparser.y"
+ public function yy_r108()
+ {
+ $this->_retvalue =
+ $this->compiler->compileConfigVariable('\'' . $this->yystack[ $this->yyidx + -1 ]->minor . '\'');
+ }
+
+ // line 856 "../smarty/lexer/smarty_internal_templateparser.y"
+ public function yy_r109()
+ {
+ $this->_retvalue =
+ '(is_array($tmp = ' .
+ $this->compiler->compileConfigVariable('\'' . $this->yystack[ $this->yyidx + -2 ]->minor . '\'') .
+ ') ? $tmp' .
+ $this->yystack[ $this->yyidx + 0 ]->minor .
+ ' :null)';
+ }
+
+ // line 860 "../smarty/lexer/smarty_internal_templateparser.y"
+ public function yy_r110()
+ {
+ $this->_retvalue = $this->compiler->compileConfigVariable($this->yystack[ $this->yyidx + -1 ]->minor);
+ }
+
+ // line 864 "../smarty/lexer/smarty_internal_templateparser.y"
+ public function yy_r111()
+ {
+ $this->_retvalue =
+ '(is_array($tmp = ' .
+ $this->compiler->compileConfigVariable($this->yystack[ $this->yyidx + -2 ]->minor) .
+ ') ? $tmp' .
+ $this->yystack[ $this->yyidx + 0 ]->minor .
+ ' : null)';
+ }
+
+ // line 867 "../smarty/lexer/smarty_internal_templateparser.y"
+ public function yy_r112()
+ {
+ $this->_retvalue =
+ array(
+ 'var' => '\'' . substr($this->yystack[ $this->yyidx + -1 ]->minor, 1) . '\'',
+ 'smarty_internal_index' => $this->yystack[ $this->yyidx + 0 ]->minor
+ );
+ }
+
+ // line 880 "../smarty/lexer/smarty_internal_templateparser.y"
+ public function yy_r113()
+ {
+ $this->_retvalue =
+ array(
+ 'var' => $this->yystack[ $this->yyidx + -1 ]->minor,
+ 'smarty_internal_index' => $this->yystack[ $this->yyidx + 0 ]->minor
+ );
+ }
+
+ // line 886 "../smarty/lexer/smarty_internal_templateparser.y"
+ public function yy_r115()
+ {
+ return;
+ }
+
+ // line 889 "../smarty/lexer/smarty_internal_templateparser.y"
+ public function yy_r116()
+ {
+ $this->_retvalue =
+ '[' .
+ $this->compiler->compileVariable('\'' . substr($this->yystack[ $this->yyidx + 0 ]->minor, 1) . '\'') .
+ ']';
+ }
+
+ // line 893 "../smarty/lexer/smarty_internal_templateparser.y"
+ public function yy_r117()
+ {
+ $this->_retvalue = '[' . $this->compiler->compileVariable($this->yystack[ $this->yyidx + 0 ]->minor) . ']';
+ }
+
+ // line 897 "../smarty/lexer/smarty_internal_templateparser.y"
+ public function yy_r118()
+ {
+ $this->_retvalue =
+ '[' .
+ $this->compiler->compileVariable($this->yystack[ $this->yyidx + -2 ]->minor) .
+ '->' .
+ $this->yystack[ $this->yyidx + 0 ]->minor .
+ ']';
+ }
+
+ // line 901 "../smarty/lexer/smarty_internal_templateparser.y"
+ public function yy_r119()
+ {
+ $this->_retvalue = '[\'' . $this->yystack[ $this->yyidx + 0 ]->minor . '\']';
+ }
+
+ // line 906 "../smarty/lexer/smarty_internal_templateparser.y"
+ public function yy_r120()
+ {
+ $this->_retvalue = '[' . $this->yystack[ $this->yyidx + 0 ]->minor . ']';
+ }
+
+ // line 911 "../smarty/lexer/smarty_internal_templateparser.y"
+ public function yy_r121()
+ {
+ $this->_retvalue = '[' . $this->yystack[ $this->yyidx + -1 ]->minor . ']';
+ }
+
+ // line 915 "../smarty/lexer/smarty_internal_templateparser.y"
+ public function yy_r122()
+ {
+ $this->_retvalue =
+ '[' .
+ $this->compiler->compileTag('private_special_variable', array(),
+ '[\'section\'][\'' . $this->yystack[ $this->yyidx + -1 ]->minor . '\'][\'index\']') .
+ ']';
+ }
+
+ // line 918 "../smarty/lexer/smarty_internal_templateparser.y"
+ public function yy_r123()
+ {
+ $this->_retvalue =
+ '[' .
+ $this->compiler->compileTag('private_special_variable', array(), '[\'section\'][\'' .
+ $this->yystack[ $this->yyidx +
+ -3 ]->minor .
+ '\'][\'' .
+ $this->yystack[ $this->yyidx +
+ -1 ]->minor .
+ '\']') .
+ ']';
+ }
+
+ // line 924 "../smarty/lexer/smarty_internal_templateparser.y"
+ public function yy_r124()
+ {
+ $this->_retvalue = '[' . $this->yystack[ $this->yyidx + -1 ]->minor . ']';
+ }
+
+ // line 940 "../smarty/lexer/smarty_internal_templateparser.y"
+ public function yy_r126()
+ {
+ $this->_retvalue =
+ '[' .
+ $this->compiler->compileVariable('\'' . substr($this->yystack[ $this->yyidx + -1 ]->minor, 1) . '\'') .
+ ']';
+ }
+
+ // line 950 "../smarty/lexer/smarty_internal_templateparser.y"
+ public function yy_r130()
+ {
+ $this->_retvalue = '[]';
+ }
+
+ // line 954 "../smarty/lexer/smarty_internal_templateparser.y"
+ public function yy_r131()
+ {
+ $this->_retvalue = '\'' . substr($this->yystack[ $this->yyidx + 0 ]->minor, 1) . '\'';
+ }
+
+ // line 959 "../smarty/lexer/smarty_internal_templateparser.y"
+ public function yy_r132()
+ {
+ $this->_retvalue = '\'\'';
+ }
+
+ // line 967 "../smarty/lexer/smarty_internal_templateparser.y"
+ public function yy_r133()
+ {
+ $this->_retvalue = $this->yystack[ $this->yyidx + -1 ]->minor . '.' . $this->yystack[ $this->yyidx + 0 ]->minor;
+ }
+
+ // line 973 "../smarty/lexer/smarty_internal_templateparser.y"
+ public function yy_r135()
+ {
+ $var =
+ trim(substr($this->yystack[ $this->yyidx + 0 ]->minor, $this->compiler->getLdelLength(),
+ -$this->compiler->getRdelLength()), ' $');
+ $this->_retvalue = $this->compiler->compileVariable('\'' . $var . '\'');
+ }
+
+ // line 980 "../smarty/lexer/smarty_internal_templateparser.y"
+ public function yy_r136()
+ {
+ $this->_retvalue = '(' . $this->yystack[ $this->yyidx + -1 ]->minor . ')';
+ }
+
+ // line 989 "../smarty/lexer/smarty_internal_templateparser.y"
+ public function yy_r137()
+ {
+ if ($this->yystack[ $this->yyidx + -1 ]->minor[ 'var' ] === '\'smarty\'') {
+ $this->_retvalue =
+ $this->compiler->compileTag('private_special_variable', array(),
+ $this->yystack[ $this->yyidx + -1 ]->minor[ 'smarty_internal_index' ]) .
+ $this->yystack[ $this->yyidx + 0 ]->minor;
+ } else {
+ $this->_retvalue =
+ $this->compiler->compileVariable($this->yystack[ $this->yyidx + -1 ]->minor[ 'var' ]) .
+ $this->yystack[ $this->yyidx + -1 ]->minor[ 'smarty_internal_index' ] .
+ $this->yystack[ $this->yyidx + 0 ]->minor;
+ }
+ }
+
+ // line 994 "../smarty/lexer/smarty_internal_templateparser.y"
+ public function yy_r138()
+ {
+ $this->_retvalue = $this->yystack[ $this->yyidx + 0 ]->minor;
+ }
+
+ // line 999 "../smarty/lexer/smarty_internal_templateparser.y"
+ public function yy_r139()
+ {
+ $this->_retvalue = $this->yystack[ $this->yyidx + -1 ]->minor . $this->yystack[ $this->yyidx + 0 ]->minor;
+ }
+
+ // line 1006 "../smarty/lexer/smarty_internal_templateparser.y"
+ public function yy_r140()
+ {
+ if ($this->security && substr($this->yystack[ $this->yyidx + -1 ]->minor, 0, 1) === '_') {
+ $this->compiler->trigger_template_error(self::ERR1);
+ }
+ $this->_retvalue =
+ '->' . $this->yystack[ $this->yyidx + -1 ]->minor . $this->yystack[ $this->yyidx + 0 ]->minor;
+ }
+
+ // line 1013 "../smarty/lexer/smarty_internal_templateparser.y"
+ public function yy_r141()
+ {
+ if ($this->security) {
+ $this->compiler->trigger_template_error(self::ERR2);
+ }
+ $this->_retvalue =
+ '->{' .
+ $this->compiler->compileVariable($this->yystack[ $this->yyidx + -1 ]->minor) .
+ $this->yystack[ $this->yyidx + 0 ]->minor .
+ '}';
+ }
+
+ // line 1020 "../smarty/lexer/smarty_internal_templateparser.y"
+ public function yy_r142()
+ {
+ if ($this->security) {
+ $this->compiler->trigger_template_error(self::ERR2);
+ }
+ $this->_retvalue =
+ '->{' . $this->yystack[ $this->yyidx + -2 ]->minor . $this->yystack[ $this->yyidx + 0 ]->minor . '}';
+ }
+
+ // line 1028 "../smarty/lexer/smarty_internal_templateparser.y"
+ public function yy_r143()
+ {
+ if ($this->security) {
+ $this->compiler->trigger_template_error(self::ERR2);
}
+ $this->_retvalue =
+ '->{\'' .
+ $this->yystack[ $this->yyidx + -4 ]->minor .
+ '\'.' .
+ $this->yystack[ $this->yyidx + -2 ]->minor .
+ $this->yystack[ $this->yyidx + 0 ]->minor .
+ '}';
}
+
+ // line 1036 "../smarty/lexer/smarty_internal_templateparser.y"
+ public function yy_r144()
+ {
+ $this->_retvalue = '->' . $this->yystack[ $this->yyidx + 0 ]->minor;
+ }
+
+ // line 1044 "../smarty/lexer/smarty_internal_templateparser.y"
+ public function yy_r145()
+ {
+ $this->_retvalue =
+ $this->compiler->compilePHPFunctionCall($this->yystack[ $this->yyidx + -3 ]->minor,
+ $this->yystack[ $this->yyidx + -1 ]->minor);
}
-#line 2910 "smarty_internal_templateparser.php"
-#line 999 "smarty_internal_templateparser.y"
- function yy_r152(){
- if ($this->security && substr($this->yystack[$this->yyidx + -3]->minor,0,1) == '_') {
- $this->compiler->trigger_template_error (self::Err1);
- }
- $this->_retvalue = $this->yystack[$this->yyidx + -3]->minor . "(". implode(',',$this->yystack[$this->yyidx + -1]->minor) .")";
- }
-#line 2918 "smarty_internal_templateparser.php"
-#line 1006 "smarty_internal_templateparser.y"
- function yy_r153(){
- if ($this->security) {
- $this->compiler->trigger_template_error (self::Err2);
- }
- $this->prefix_number++;
- $this->compiler->prefix_code[] = '<?php $_tmp'.$this->prefix_number.'='.$this->compileVariable("'".$this->yystack[$this->yyidx + -3]->minor."'").';?>';
- $this->_retvalue = '$_tmp'.$this->prefix_number.'('. implode(',',$this->yystack[$this->yyidx + -1]->minor) .')';
- }
-#line 2928 "smarty_internal_templateparser.php"
-#line 1017 "smarty_internal_templateparser.y"
- function yy_r154(){
- $this->_retvalue = array_merge($this->yystack[$this->yyidx + -2]->minor,array($this->yystack[$this->yyidx + 0]->minor));
- }
-#line 2933 "smarty_internal_templateparser.php"
-#line 1034 "smarty_internal_templateparser.y"
- function yy_r157(){
- $this->_retvalue = array_merge($this->yystack[$this->yyidx + -2]->minor,array(array_merge($this->yystack[$this->yyidx + -1]->minor,$this->yystack[$this->yyidx + 0]->minor)));
- }
-#line 2938 "smarty_internal_templateparser.php"
-#line 1038 "smarty_internal_templateparser.y"
- function yy_r158(){
- $this->_retvalue = array(array_merge($this->yystack[$this->yyidx + -1]->minor,$this->yystack[$this->yyidx + 0]->minor));
- }
-#line 2943 "smarty_internal_templateparser.php"
-#line 1046 "smarty_internal_templateparser.y"
- function yy_r160(){
- $this->_retvalue = array($this->yystack[$this->yyidx + 0]->minor);
- }
-#line 2948 "smarty_internal_templateparser.php"
-#line 1054 "smarty_internal_templateparser.y"
- function yy_r161(){
- $this->_retvalue = array_merge($this->yystack[$this->yyidx + -1]->minor,$this->yystack[$this->yyidx + 0]->minor);
- }
-#line 2953 "smarty_internal_templateparser.php"
-#line 1088 "smarty_internal_templateparser.y"
- function yy_r168(){
- $this->_retvalue = '$'.$this->yystack[$this->yyidx + -1]->minor.$this->yystack[$this->yyidx + 0]->minor;
- }
-#line 2958 "smarty_internal_templateparser.php"
-#line 1093 "smarty_internal_templateparser.y"
- function yy_r169(){
- $this->_retvalue = '$'.$this->yystack[$this->yyidx + -2]->minor.$this->yystack[$this->yyidx + -1]->minor.$this->yystack[$this->yyidx + 0]->minor;
- }
-#line 2963 "smarty_internal_templateparser.php"
-#line 1099 "smarty_internal_templateparser.y"
- function yy_r170(){
- $this->_retvalue = '==';
- }
-#line 2968 "smarty_internal_templateparser.php"
-#line 1103 "smarty_internal_templateparser.y"
- function yy_r171(){
- $this->_retvalue = '!=';
- }
-#line 2973 "smarty_internal_templateparser.php"
-#line 1107 "smarty_internal_templateparser.y"
- function yy_r172(){
- $this->_retvalue = '>';
- }
-#line 2978 "smarty_internal_templateparser.php"
-#line 1111 "smarty_internal_templateparser.y"
- function yy_r173(){
- $this->_retvalue = '<';
- }
-#line 2983 "smarty_internal_templateparser.php"
-#line 1115 "smarty_internal_templateparser.y"
- function yy_r174(){
- $this->_retvalue = '>=';
- }
-#line 2988 "smarty_internal_templateparser.php"
-#line 1119 "smarty_internal_templateparser.y"
- function yy_r175(){
- $this->_retvalue = '<=';
- }
-#line 2993 "smarty_internal_templateparser.php"
-#line 1123 "smarty_internal_templateparser.y"
- function yy_r176(){
- $this->_retvalue = '===';
- }
-#line 2998 "smarty_internal_templateparser.php"
-#line 1127 "smarty_internal_templateparser.y"
- function yy_r177(){
- $this->_retvalue = '!==';
- }
-#line 3003 "smarty_internal_templateparser.php"
-#line 1131 "smarty_internal_templateparser.y"
- function yy_r178(){
- $this->_retvalue = '%';
- }
-#line 3008 "smarty_internal_templateparser.php"
-#line 1135 "smarty_internal_templateparser.y"
- function yy_r179(){
- $this->_retvalue = '&&';
- }
-#line 3013 "smarty_internal_templateparser.php"
-#line 1139 "smarty_internal_templateparser.y"
- function yy_r180(){
- $this->_retvalue = '||';
- }
-#line 3018 "smarty_internal_templateparser.php"
-#line 1143 "smarty_internal_templateparser.y"
- function yy_r181(){
- $this->_retvalue = ' XOR ';
- }
-#line 3023 "smarty_internal_templateparser.php"
-#line 1150 "smarty_internal_templateparser.y"
- function yy_r182(){
- $this->_retvalue = 'array('.$this->yystack[$this->yyidx + -1]->minor.')';
- }
-#line 3028 "smarty_internal_templateparser.php"
-#line 1158 "smarty_internal_templateparser.y"
- function yy_r184(){
- $this->_retvalue = $this->yystack[$this->yyidx + -2]->minor.','.$this->yystack[$this->yyidx + 0]->minor;
- }
-#line 3033 "smarty_internal_templateparser.php"
-#line 1166 "smarty_internal_templateparser.y"
- function yy_r186(){
- $this->_retvalue = $this->yystack[$this->yyidx + -2]->minor.'=>'.$this->yystack[$this->yyidx + 0]->minor;
- }
-#line 3038 "smarty_internal_templateparser.php"
-#line 1170 "smarty_internal_templateparser.y"
- function yy_r187(){
- $this->_retvalue = '\''.$this->yystack[$this->yyidx + -2]->minor.'\'=>'.$this->yystack[$this->yyidx + 0]->minor;
- }
-#line 3043 "smarty_internal_templateparser.php"
-#line 1182 "smarty_internal_templateparser.y"
- function yy_r189(){
- $this->_retvalue = "''";
- }
-#line 3048 "smarty_internal_templateparser.php"
-#line 1186 "smarty_internal_templateparser.y"
- function yy_r190(){
- $this->_retvalue = $this->yystack[$this->yyidx + -1]->minor->to_smarty_php();
- }
-#line 3053 "smarty_internal_templateparser.php"
-#line 1191 "smarty_internal_templateparser.y"
- function yy_r191(){
- $this->yystack[$this->yyidx + -1]->minor->append_subtree($this->yystack[$this->yyidx + 0]->minor);
- $this->_retvalue = $this->yystack[$this->yyidx + -1]->minor;
- }
-#line 3059 "smarty_internal_templateparser.php"
-#line 1196 "smarty_internal_templateparser.y"
- function yy_r192(){
- $this->_retvalue = new _smarty_doublequoted($this, $this->yystack[$this->yyidx + 0]->minor);
- }
-#line 3064 "smarty_internal_templateparser.php"
-#line 1200 "smarty_internal_templateparser.y"
- function yy_r193(){
- $this->_retvalue = new _smarty_code($this, $this->yystack[$this->yyidx + -1]->minor);
- }
-#line 3069 "smarty_internal_templateparser.php"
-#line 1208 "smarty_internal_templateparser.y"
- function yy_r195(){
- $this->_retvalue = new _smarty_code($this, '$_smarty_tpl->tpl_vars[\''. substr($this->yystack[$this->yyidx + 0]->minor,1) .'\']->value');
- }
-#line 3074 "smarty_internal_templateparser.php"
-#line 1216 "smarty_internal_templateparser.y"
- function yy_r197(){
- $this->_retvalue = new _smarty_code($this, '('.$this->yystack[$this->yyidx + -1]->minor.')');
- }
-#line 3079 "smarty_internal_templateparser.php"
-#line 1220 "smarty_internal_templateparser.y"
- function yy_r198(){
- $this->_retvalue = new _smarty_tag($this, $this->yystack[$this->yyidx + 0]->minor);
- }
-#line 3084 "smarty_internal_templateparser.php"
-#line 1224 "smarty_internal_templateparser.y"
- function yy_r199(){
- $this->_retvalue = new _smarty_dq_content($this, $this->yystack[$this->yyidx + 0]->minor);
- }
-#line 3089 "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]);
+
+ // line 1051 "../smarty/lexer/smarty_internal_templateparser.y"
+ public function yy_r146()
+ {
+ if ($this->security && substr($this->yystack[ $this->yyidx + -3 ]->minor, 0, 1) === '_') {
+ $this->compiler->trigger_template_error(self::ERR1);
+ }
+ $this->_retvalue =
+ $this->yystack[ $this->yyidx + -3 ]->minor .
+ '(' .
+ implode(',', $this->yystack[ $this->yyidx + -1 ]->minor) .
+ ')';
+ }
+
+ // line 1062 "../smarty/lexer/smarty_internal_templateparser.y"
+ public function yy_r147()
+ {
+ if ($this->security) {
+ $this->compiler->trigger_template_error(self::ERR2);
}
+ $prefixVar = $this->compiler->getNewPrefixVariable();
+ $this->compiler->appendPrefixCode("<?php {$prefixVar} = " .
+ $this->compiler->compileVariable('\'' .
+ substr($this->yystack[ $this->yyidx +
+ -3 ]->minor, 1) .
+ '\'') .
+ ';?>');
+ $this->_retvalue = $prefixVar . '(' . implode(',', $this->yystack[ $this->yyidx + -1 ]->minor) . ')';
+ }
+
+ // line 1079 "../smarty/lexer/smarty_internal_templateparser.y"
+ public function yy_r148()
+ {
+ $this->_retvalue =
+ array_merge($this->yystack[ $this->yyidx + -2 ]->minor, array($this->yystack[ $this->yyidx + 0 ]->minor));
+ }
+ // line 1083 "../smarty/lexer/smarty_internal_templateparser.y"
+ public function yy_r151()
+ {
+ $this->_retvalue =
+ array_merge($this->yystack[ $this->yyidx + -2 ]->minor, array(
+ array_merge($this->yystack[ $this->yyidx + -1 ]->minor, $this->yystack[ $this->yyidx + 0 ]->minor)
+ ));
+ }
+
+ // line 1091 "../smarty/lexer/smarty_internal_templateparser.y"
+ public function yy_r152()
+ {
+ $this->_retvalue =
+ array(array_merge($this->yystack[ $this->yyidx + -1 ]->minor, $this->yystack[ $this->yyidx + 0 ]->minor));
+ }
+
+ // line 1099 "../smarty/lexer/smarty_internal_templateparser.y"
+ public function yy_r154()
+ {
+ $this->_retvalue = array($this->yystack[ $this->yyidx + 0 ]->minor);
+ }
+
+ // line 1118 "../smarty/lexer/smarty_internal_templateparser.y"
+ public function yy_r155()
+ {
+ $this->_retvalue =
+ array_merge($this->yystack[ $this->yyidx + -1 ]->minor, $this->yystack[ $this->yyidx + 0 ]->minor);
+ }
+
+ // line 1123 "../smarty/lexer/smarty_internal_templateparser.y"
+ public function yy_r159()
+ {
+ $this->_retvalue = array($this->yystack[ $this->yyidx + 0 ]->minor, '', 'method');
+ }
+
+ // line 1128 "../smarty/lexer/smarty_internal_templateparser.y"
+ public function yy_r160()
+ {
+ $this->_retvalue =
+ array($this->yystack[ $this->yyidx + -1 ]->minor, $this->yystack[ $this->yyidx + 0 ]->minor, 'method');
+ }
+
+ // line 1133 "../smarty/lexer/smarty_internal_templateparser.y"
+ public function yy_r161()
+ {
+ $this->_retvalue = array($this->yystack[ $this->yyidx + 0 ]->minor, '');
+ }
+
+ // line 1138 "../smarty/lexer/smarty_internal_templateparser.y"
+ public function yy_r162()
+ {
+ $this->_retvalue =
+ array($this->yystack[ $this->yyidx + -1 ]->minor, $this->yystack[ $this->yyidx + 0 ]->minor, 'property');
+ }
+
+ // line 1144 "../smarty/lexer/smarty_internal_templateparser.y"
+ public function yy_r163()
+ {
+ $this->_retvalue =
+ array(
+ $this->yystack[ $this->yyidx + -2 ]->minor,
+ $this->yystack[ $this->yyidx + -1 ]->minor . $this->yystack[ $this->yyidx + 0 ]->minor, 'property'
+ );
+ }
+
+ // line 1148 "../smarty/lexer/smarty_internal_templateparser.y"
+ public function yy_r164()
+ {
+ $this->_retvalue = ' ' . trim($this->yystack[ $this->yyidx + 0 ]->minor) . ' ';
+ }
+
+ // line 1167 "../smarty/lexer/smarty_internal_templateparser.y"
+ public function yy_r165()
+ {
+ static $lops = array(
+ 'eq' => ' == ',
+ 'ne' => ' != ',
+ 'neq' => ' != ',
+ 'gt' => ' > ',
+ 'ge' => ' >= ',
+ 'gte' => ' >= ',
+ 'lt' => ' < ',
+ 'le' => ' <= ',
+ 'lte' => ' <= ',
+ 'mod' => ' % ',
+ 'and' => ' && ',
+ 'or' => ' || ',
+ 'xor' => ' xor ',
+ );
+ $op = strtolower(preg_replace('/\s*/', '', $this->yystack[ $this->yyidx + 0 ]->minor));
+ $this->_retvalue = $lops[ $op ];
+ }
+
+ // line 1180 "../smarty/lexer/smarty_internal_templateparser.y"
+ public function yy_r166()
+ {
+ static $tlops = array(
+ 'isdivby' => array('op' => ' % ', 'pre' => '!('),
+ 'isnotdivby' => array('op' => ' % ', 'pre' => '('),
+ 'isevenby' => array('op' => ' / ', 'pre' => '!(1 & '),
+ 'isnotevenby' => array('op' => ' / ', 'pre' => '(1 & '),
+ 'isoddby' => array('op' => ' / ', 'pre' => '(1 & '),
+ 'isnotoddby' => array('op' => ' / ', 'pre' => '!(1 & '),
+ );
+ $op = strtolower(preg_replace('/\s*/', '', $this->yystack[ $this->yyidx + 0 ]->minor));
+ $this->_retvalue = $tlops[ $op ];
+ }
+
+ // line 1194 "../smarty/lexer/smarty_internal_templateparser.y"
+ public function yy_r167()
+ {
+ static $scond = array(
+ 'iseven' => '!(1 & ',
+ 'isnoteven' => '(1 & ',
+ 'isodd' => '(1 & ',
+ 'isnotodd' => '!(1 & ',
+ );
+ $op = strtolower(str_replace(' ', '', $this->yystack[ $this->yyidx + 0 ]->minor));
+ $this->_retvalue = $scond[ $op ];
+ }
+
+ // line 1202 "../smarty/lexer/smarty_internal_templateparser.y"
+ public function yy_r168()
+ {
+ $this->_retvalue = 'array(' . $this->yystack[ $this->yyidx + -1 ]->minor . ')';
+ }
+
+ // line 1210 "../smarty/lexer/smarty_internal_templateparser.y"
+ public function yy_r170()
+ {
+ $this->_retvalue = $this->yystack[ $this->yyidx + -2 ]->minor . ',' . $this->yystack[ $this->yyidx + 0 ]->minor;
+ }
+
+ // line 1214 "../smarty/lexer/smarty_internal_templateparser.y"
+ public function yy_r172()
+ {
+ $this->_retvalue =
+ $this->yystack[ $this->yyidx + -2 ]->minor . '=>' . $this->yystack[ $this->yyidx + 0 ]->minor;
+ }
+
+ // line 1230 "../smarty/lexer/smarty_internal_templateparser.y"
+ public function yy_r173()
+ {
+ $this->_retvalue =
+ '\'' . $this->yystack[ $this->yyidx + -2 ]->minor . '\'=>' . $this->yystack[ $this->yyidx + 0 ]->minor;
+ }
+
+ // line 1236 "../smarty/lexer/smarty_internal_templateparser.y"
+ public function yy_r176()
+ {
+ $this->compiler->leaveDoubleQuote();
+ $this->_retvalue = $this->yystack[ $this->yyidx + -1 ]->minor->to_smarty_php($this);
+ }
+
+ // line 1241 "../smarty/lexer/smarty_internal_templateparser.y"
+ public function yy_r177()
+ {
+ $this->yystack[ $this->yyidx + -1 ]->minor->append_subtree($this, $this->yystack[ $this->yyidx + 0 ]->minor);
+ $this->_retvalue = $this->yystack[ $this->yyidx + -1 ]->minor;
+ }
+
+ // line 1245 "../smarty/lexer/smarty_internal_templateparser.y"
+ public function yy_r178()
+ {
+ $this->_retvalue = new Smarty_Internal_ParseTree_Dq($this, $this->yystack[ $this->yyidx + 0 ]->minor);
+ }
+
+ // line 1249 "../smarty/lexer/smarty_internal_templateparser.y"
+ public function yy_r179()
+ {
+ $this->_retvalue = new Smarty_Internal_ParseTree_Code('(string)' . $this->yystack[ $this->yyidx + -1 ]->minor);
+ }
+
+ // line 1253 "../smarty/lexer/smarty_internal_templateparser.y"
+ public function yy_r180()
+ {
+ $this->_retvalue =
+ new Smarty_Internal_ParseTree_Code('(string)(' . $this->yystack[ $this->yyidx + -1 ]->minor . ')');
+ }
+
+ // line 1265 "../smarty/lexer/smarty_internal_templateparser.y"
+ public function yy_r181()
+ {
+ $this->_retvalue =
+ new Smarty_Internal_ParseTree_Code('(string)$_smarty_tpl->tpl_vars[\'' .
+ substr($this->yystack[ $this->yyidx + 0 ]->minor, 1) .
+ '\']->value');
+ }
+
+ // line 1269 "../smarty/lexer/smarty_internal_templateparser.y"
+ public function yy_r184()
+ {
+ $this->_retvalue = new Smarty_Internal_ParseTree_Tag($this, $this->yystack[ $this->yyidx + 0 ]->minor);
+ }
+
+ public function yy_r185()
+ {
+ $this->_retvalue = new Smarty_Internal_ParseTree_DqContent($this->yystack[ $this->yyidx + 0 ]->minor);
+ }
+
+ public function yy_reduce($yyruleno)
+ {
+ if ($this->yyTraceFILE && $yyruleno >= 0
+ && $yyruleno < count(self::$yyRuleName)) {
+ fprintf(
+ $this->yyTraceFILE,
+ "%sReduce (%d) [%s].\n",
+ $this->yyTracePrompt,
+ $yyruleno,
+ self::$yyRuleName[ $yyruleno ]
+ );
+ }
$this->_retvalue = $yy_lefthand_side = null;
- if (array_key_exists($yyruleno, self::$yyReduceMap)) {
+ if (isset(self::$yyReduceMap[ $yyruleno ])) {
// call the action
$this->_retvalue = null;
- $this->{'yy_r' . self::$yyReduceMap[$yyruleno]}();
+ $this->{'yy_r' . self::$yyReduceMap[ $yyruleno ]}();
$yy_lefthand_side = $this->_retvalue;
}
- $yygoto = self::$yyRuleInfo[$yyruleno]['lhs'];
- $yysize = self::$yyRuleInfo[$yyruleno]['rhs'];
+ $yygoto = self::$yyRuleInfo[ $yyruleno ][ 0 ];
+ $yysize = self::$yyRuleInfo[ $yyruleno ][ 1 ];
$this->yyidx -= $yysize;
- for($i = $yysize; $i; $i--) {
+ 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);
+ $yyact = $this->yy_find_reduce_action($this->yystack[ $this->yyidx ]->stateno, $yygoto);
if ($yyact < self::YYNSTATE) {
- if (!self::$yyTraceFILE && $yysize) {
+ if (!$this->yyTraceFILE && $yysize) {
$this->yyidx++;
$x = new TP_yyStackEntry;
$x->stateno = $yyact;
$x->major = $yygoto;
$x->minor = $yy_lefthand_side;
- $this->yystack[$this->yyidx] = $x;
+ $this->yystack[ $this->yyidx ] = $x;
} else {
$this->yy_shift($yyact, $yygoto, $yy_lefthand_side);
}
- } elseif ($yyact == self::YYNSTATE + self::YYNRULE + 1) {
+ } elseif ($yyact === self::YYNSTATE + self::YYNRULE + 1) {
$this->yy_accept();
}
}
- function yy_parse_failed()
+ public function yy_parse_failed()
{
- if (self::$yyTraceFILE) {
- fprintf(self::$yyTraceFILE, "%sFail!\n", self::$yyTracePrompt);
+ if ($this->yyTraceFILE) {
+ fprintf($this->yyTraceFILE, "%sFail!\n", $this->yyTracePrompt);
}
while ($this->yyidx >= 0) {
$this->yy_pop_parser_stack();
}
}
- function yy_syntax_error($yymajor, $TOKEN)
+ public function yy_syntax_error($yymajor, $TOKEN)
{
-#line 77 "smarty_internal_templateparser.y"
-
- $this->internalError = true;
- $this->yymajor = $yymajor;
- $this->compiler->trigger_template_error();
-#line 3152 "smarty_internal_templateparser.php"
+ // line 214 "../smarty/lexer/smarty_internal_templateparser.y"
+ $this->internalError = true;
+ $this->yymajor = $yymajor;
+ $this->compiler->trigger_template_error();
}
- function yy_accept()
+ public function yy_accept()
{
- if (self::$yyTraceFILE) {
- fprintf(self::$yyTraceFILE, "%sAccept!\n", self::$yyTracePrompt);
+ if ($this->yyTraceFILE) {
+ fprintf($this->yyTraceFILE, "%sAccept!\n", $this->yyTracePrompt);
}
while ($this->yyidx >= 0) {
- $stack = $this->yy_pop_parser_stack();
+ $this->yy_pop_parser_stack();
}
-#line 69 "smarty_internal_templateparser.y"
-
- $this->successful = !$this->internalError;
- $this->internalError = false;
- $this->retvalue = $this->_retvalue;
- //echo $this->retvalue."\n\n";
-#line 3170 "smarty_internal_templateparser.php"
+ // line 207 "../smarty/lexer/smarty_internal_templateparser.y"
+ $this->successful = !$this->internalError;
+ $this->internalError = false;
+ $this->retvalue = $this->_retvalue;
}
- function doParse($yymajor, $yytokenvalue)
+ public 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;
@@ -3183,19 +3449,21 @@ static public $yy_action = array(
$x->stateno = 0;
$x->major = 0;
$this->yystack = array();
- array_push($this->yystack, $x);
+ $this->yystack[] = $x;
}
- $yyendofinput = ($yymajor==0);
-
- if (self::$yyTraceFILE) {
- fprintf(self::$yyTraceFILE, "%sInput %s\n",
- self::$yyTracePrompt, $this->yyTokenName[$yymajor]);
+ $yyendofinput = ($yymajor == 0);
+ if ($this->yyTraceFILE) {
+ fprintf(
+ $this->yyTraceFILE,
+ "%sInput %s\n",
+ $this->yyTracePrompt,
+ $this->yyTokenName[ $yymajor ]
+ );
}
-
do {
$yyact = $this->yy_find_shift_action($yymajor);
if ($yymajor < self::YYERRORSYMBOL &&
- !$this->yy_is_expected_token($yymajor)) {
+ !$this->yy_is_expected_token($yymajor)) {
// force a syntax error
$yyact = self::YY_ERROR_ACTION;
}
@@ -3209,35 +3477,42 @@ static public $yy_action = array(
}
} 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);
+ } elseif ($yyact === self::YY_ERROR_ACTION) {
+ if ($this->yyTraceFILE) {
+ fprintf(
+ $this->yyTraceFILE,
+ "%sSyntax Error!\n",
+ $this->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]);
+ $yymx = $this->yystack[ $this->yyidx ]->major;
+ if ($yymx === self::YYERRORSYMBOL || $yyerrorhit) {
+ if ($this->yyTraceFILE) {
+ fprintf(
+ $this->yyTraceFILE,
+ "%sDiscard input token %s\n",
+ $this->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
- ){
+ $yymx !== self::YYERRORSYMBOL &&
+ ($yyact = $this->yy_find_shift_action(self::YYERRORSYMBOL)) >= self::YYNSTATE
+ ) {
$this->yy_pop_parser_stack();
}
- if ($this->yyidx < 0 || $yymajor==0) {
+ if ($this->yyidx < 0 || $yymajor == 0) {
$this->yy_destructor($yymajor, $yytokenvalue);
$this->yy_parse_failed();
$yymajor = self::YYNOCODE;
- } elseif ($yymx != self::YYERRORSYMBOL) {
+ } elseif ($yymx !== self::YYERRORSYMBOL) {
$u2 = 0;
$this->yy_shift($yyact, self::YYERRORSYMBOL, $u2);
}
@@ -3259,7 +3534,6 @@ static public $yy_action = array(
$this->yy_accept();
$yymajor = self::YYNOCODE;
}
- } while ($yymajor != self::YYNOCODE && $this->yyidx >= 0);
+ } while ($yymajor !== self::YYNOCODE && $this->yyidx >= 0);
}
}
-?> \ No newline at end of file