diff --git a/src/Lexer/TemplateLexer.php b/src/Lexer/TemplateLexer.php index 5c7253ba7..359d77014 100644 --- a/src/Lexer/TemplateLexer.php +++ b/src/Lexer/TemplateLexer.php @@ -131,6 +131,7 @@ class TemplateLexer 'OPENB' => '[', 'CLOSEB' => ']', 'PTR' => '->', + 'NSPTR' => '?->', 'APTR' => '=>', 'EQUAL' => '=', 'NUMBER' => 'number', @@ -567,7 +568,7 @@ public function yy_r2_23() public function yylex3() { if (!isset($this->yy_global_pattern3)) { - $this->yy_global_pattern3 = $this->replace("/\G(\\s*SMARTYrdel)|\G((SMARTYldel)SMARTYal)|\G([\"])|\G('[^'\\\\]*(?:\\\\.[^'\\\\]*)*')|\G([$][0-9]*[a-zA-Z_]\\w*)|\G([$])|\G(\\s+is\\s+in\\s+)|\G(\\s+as\\s+)|\G(\\s+to\\s+)|\G(\\s+step\\s+)|\G(\\s+instanceof\\s+)|\G(\\s*([!=][=]{1,2}|[<][=>]?|[>][=]?|[&|]{2})\\s*)|\G(\\s+(eq|ne|neq|gt|ge|gte|lt|le|lte|mod|and|or|xor)\\s+)|\G(\\s+is\\s+(not\\s+)?(odd|even|div)\\s+by\\s+)|\G(\\s+is\\s+(not\\s+)?(odd|even))|\G([!]\\s*|not\\s+)|\G([(](int(eger)?|bool(ean)?|float|double|real|string|binary|array|object)[)]\\s*)|\G(\\s*[(]\\s*)|\G(\\s*[)])|\G(\\[\\s*)|\G(\\s*\\])|\G(\\s*[-][>]\\s*)|\G(\\s*[=][>]\\s*)|\G(\\s*[=]\\s*)|\G(([+]|[-]){2})|\G(\\s*([+]|[-])\\s*)|\G(\\s*([*]{1,2}|[%\/^&]|[<>]{2})\\s*)|\G([@])|\G(array\\s*[(]\\s*)|\G([#])|\G(\\s+[0-9]*[a-zA-Z_][a-zA-Z0-9_\-:]*\\s*[=]\\s*)|\G(([0-9]*[a-zA-Z_]\\w*)?(\\\\[0-9]*[a-zA-Z_]\\w*)+)|\G([0-9]*[a-zA-Z_]\\w*)|\G(\\d+)|\G([`])|\G([|][@]?)|\G([.])|\G(\\s*[,]\\s*)|\G(\\s*[;]\\s*)|\G([:]{2})|\G(\\s*[:]\\s*)|\G(\\s*[?]\\s*)|\G(0[xX][0-9a-fA-F]+)|\G(\\s+)|\G([\S\s])/isS"); + $this->yy_global_pattern3 = $this->replace("/\G(\\s*SMARTYrdel)|\G((SMARTYldel)SMARTYal)|\G([\"])|\G('[^'\\\\]*(?:\\\\.[^'\\\\]*)*')|\G([$][0-9]*[a-zA-Z_]\\w*)|\G([$])|\G(\\s+is\\s+in\\s+)|\G(\\s+as\\s+)|\G(\\s+to\\s+)|\G(\\s+step\\s+)|\G(\\s+instanceof\\s+)|\G(\\s*([!=][=]{1,2}|[<][=>]?|[>][=]?|[&|]{2})\\s*)|\G(\\s+(eq|ne|neq|gt|ge|gte|lt|le|lte|mod|and|or|xor)\\s+)|\G(\\s+is\\s+(not\\s+)?(odd|even|div)\\s+by\\s+)|\G(\\s+is\\s+(not\\s+)?(odd|even))|\G([!]\\s*|not\\s+)|\G([(](int(eger)?|bool(ean)?|float|double|real|string|binary|array|object)[)]\\s*)|\G(\\s*[(]\\s*)|\G(\\s*[)])|\G(\\[\\s*)|\G(\\s*\\])|\G(\\s*[-][>]\\s*)|\G(\\s*[?][-][>]\\s*)|\G(\\s*[=][>]\\s*)|\G(\\s*[=]\\s*)|\G(([+]|[-]){2})|\G(\\s*([+]|[-])\\s*)|\G(\\s*([*]{1,2}|[%\/^&]|[<>]{2})\\s*)|\G([@])|\G(array\\s*[(]\\s*)|\G([#])|\G(\\s+[0-9]*[a-zA-Z_][a-zA-Z0-9_\-:]*\\s*[=]\\s*)|\G(([0-9]*[a-zA-Z_]\\w*)?(\\\\[0-9]*[a-zA-Z_]\\w*)+)|\G([0-9]*[a-zA-Z_]\\w*)|\G(\\d+)|\G([`])|\G([|][@]?)|\G([.])|\G(\\s*[,]\\s*)|\G(\\s*[;]\\s*)|\G([:]{2})|\G(\\s*[:]\\s*)|\G(\\s*[?]\\s*)|\G(0[xX][0-9a-fA-F]+)|\G(\\s+)|\G([\S\s])/isS"); } if (!isset($this->dataLength)) { $this->dataLength = strlen($this->data); @@ -737,44 +738,49 @@ public function yy_r3_32() public function yy_r3_33() { - $this->token = \Smarty\Parser\TemplateParser::TP_APTR; + $this->token = \Smarty\Parser\TemplateParser::TP_NSPTR; } public function yy_r3_34() { - $this->token = \Smarty\Parser\TemplateParser::TP_EQUAL; + $this->token = \Smarty\Parser\TemplateParser::TP_APTR; } public function yy_r3_35() + { + + $this->token = \Smarty\Parser\TemplateParser::TP_EQUAL; + } + public function yy_r3_36() { $this->token = \Smarty\Parser\TemplateParser::TP_INCDEC; } - public function yy_r3_37() + public function yy_r3_38() { $this->token = \Smarty\Parser\TemplateParser::TP_UNIMATH; } - public function yy_r3_39() + public function yy_r3_40() { $this->token = \Smarty\Parser\TemplateParser::TP_MATH; } - public function yy_r3_41() + public function yy_r3_42() { $this->token = \Smarty\Parser\TemplateParser::TP_AT; } - public function yy_r3_42() + public function yy_r3_43() { $this->token = \Smarty\Parser\TemplateParser::TP_ARRAYOPEN; } - public function yy_r3_43() + public function yy_r3_44() { $this->token = \Smarty\Parser\TemplateParser::TP_HATCH; } - public function yy_r3_44() + public function yy_r3_45() { // resolve conflicts with shorttag and right_delimiter starting with '=' @@ -786,73 +792,73 @@ public function yy_r3_44() $this->token = \Smarty\Parser\TemplateParser::TP_ATTR; } } - public function yy_r3_45() + public function yy_r3_46() { $this->token = \Smarty\Parser\TemplateParser::TP_NAMESPACE; } - public function yy_r3_48() + public function yy_r3_49() { $this->token = \Smarty\Parser\TemplateParser::TP_ID; } - public function yy_r3_49() + public function yy_r3_50() { $this->token = \Smarty\Parser\TemplateParser::TP_INTEGER; } - public function yy_r3_50() + public function yy_r3_51() { $this->token = \Smarty\Parser\TemplateParser::TP_BACKTICK; $this->yypopstate(); } - public function yy_r3_51() + public function yy_r3_52() { $this->token = \Smarty\Parser\TemplateParser::TP_VERT; } - public function yy_r3_52() + public function yy_r3_53() { $this->token = \Smarty\Parser\TemplateParser::TP_DOT; } - public function yy_r3_53() + public function yy_r3_54() { $this->token = \Smarty\Parser\TemplateParser::TP_COMMA; } - public function yy_r3_54() + public function yy_r3_55() { $this->token = \Smarty\Parser\TemplateParser::TP_SEMICOLON; } - public function yy_r3_55() + public function yy_r3_56() { $this->token = \Smarty\Parser\TemplateParser::TP_DOUBLECOLON; } - public function yy_r3_56() + public function yy_r3_57() { $this->token = \Smarty\Parser\TemplateParser::TP_COLON; } - public function yy_r3_57() + public function yy_r3_58() { $this->token = \Smarty\Parser\TemplateParser::TP_QMARK; } - public function yy_r3_58() + public function yy_r3_59() { $this->token = \Smarty\Parser\TemplateParser::TP_HEX; } - public function yy_r3_59() + public function yy_r3_60() { $this->token = \Smarty\Parser\TemplateParser::TP_SPACE; } - public function yy_r3_60() + public function yy_r3_61() { $this->token = \Smarty\Parser\TemplateParser::TP_TEXT; @@ -1080,4 +1086,4 @@ public function yy_r5_22() } - \ No newline at end of file + diff --git a/src/Lexer/TemplateLexer.plex b/src/Lexer/TemplateLexer.plex index d29b65597..588b64121 100644 --- a/src/Lexer/TemplateLexer.plex +++ b/src/Lexer/TemplateLexer.plex @@ -131,6 +131,7 @@ class TemplateLexer 'OPENB' => '[', 'CLOSEB' => ']', 'PTR' => '->', + 'NSPTR' => '?->', 'APTR' => '=>', 'EQUAL' => '=', 'NUMBER' => 'number', @@ -310,6 +311,7 @@ class TemplateLexer equal = ~\s*[=]\s*~ space = ~\s+~ ptr = ~\s*[-][>]\s*~ + nsptr = ~\s*[?][-][>]\s*~ aptr = ~\s*[=][>]\s*~ singlequotestring = ~'[^'\\]*(?:\\.[^'\\]*)*'~ backtick = ~[`]~ @@ -514,6 +516,9 @@ class TemplateLexer ptr { $this->token = \Smarty\Parser\TemplateParser::TP_PTR; } + nsptr { + $this->token = \Smarty\Parser\TemplateParser::TP_NSPTR; + } aptr { $this->token = \Smarty\Parser\TemplateParser::TP_APTR; } @@ -674,4 +679,4 @@ class TemplateLexer */ } - \ No newline at end of file + diff --git a/src/Parser/TemplateParser.php b/src/Parser/TemplateParser.php index 7ae1bb3df..f6ae867ed 100644 --- a/src/Parser/TemplateParser.php +++ b/src/Parser/TemplateParser.php @@ -221,615 +221,661 @@ private function mergePrefixCode($code) const TP_EQUAL = 15; const TP_ID = 16; const TP_PTR = 17; - const TP_LDELIF = 18; - const TP_LDELFOR = 19; - const TP_SEMICOLON = 20; - const TP_INCDEC = 21; - const TP_TO = 22; - const TP_STEP = 23; - const TP_LDELFOREACH = 24; - const TP_SPACE = 25; - const TP_AS = 26; - const TP_APTR = 27; - const TP_LDELSETFILTER = 28; - const TP_CLOSETAG = 29; - const TP_LDELSLASH = 30; - const TP_ATTR = 31; - const TP_INTEGER = 32; - const TP_COMMA = 33; - const TP_OPENP = 34; - const TP_CLOSEP = 35; - const TP_MATH = 36; - const TP_UNIMATH = 37; - const TP_ISIN = 38; - const TP_QMARK = 39; - const TP_NOT = 40; - const TP_TYPECAST = 41; - const TP_HEX = 42; - const TP_DOT = 43; - const TP_INSTANCEOF = 44; - const TP_SINGLEQUOTESTRING = 45; - const TP_DOUBLECOLON = 46; - const TP_NAMESPACE = 47; - const TP_AT = 48; - const TP_HATCH = 49; - const TP_OPENB = 50; - const TP_CLOSEB = 51; - const TP_DOLLAR = 52; - const TP_LOGOP = 53; - const TP_SLOGOP = 54; - const TP_TLOGOP = 55; - const TP_SINGLECOND = 56; - const TP_ARRAYOPEN = 57; - const TP_QUOTE = 58; - const TP_BACKTICK = 59; - const YY_NO_ACTION = 516; - const YY_ACCEPT_ACTION = 515; - const YY_ERROR_ACTION = 514; - - const YY_SZ_ACTTAB = 1963; + const TP_NSPTR = 18; + const TP_LDELIF = 19; + const TP_LDELFOR = 20; + const TP_SEMICOLON = 21; + const TP_INCDEC = 22; + const TP_TO = 23; + const TP_STEP = 24; + const TP_LDELFOREACH = 25; + const TP_SPACE = 26; + const TP_AS = 27; + const TP_APTR = 28; + const TP_LDELSETFILTER = 29; + const TP_CLOSETAG = 30; + const TP_LDELSLASH = 31; + const TP_ATTR = 32; + const TP_INTEGER = 33; + const TP_COMMA = 34; + const TP_OPENP = 35; + const TP_CLOSEP = 36; + const TP_MATH = 37; + const TP_UNIMATH = 38; + const TP_ISIN = 39; + const TP_QMARK = 40; + const TP_NOT = 41; + const TP_TYPECAST = 42; + const TP_HEX = 43; + const TP_DOT = 44; + const TP_INSTANCEOF = 45; + const TP_SINGLEQUOTESTRING = 46; + const TP_DOUBLECOLON = 47; + const TP_NAMESPACE = 48; + const TP_AT = 49; + const TP_HATCH = 50; + const TP_OPENB = 51; + const TP_CLOSEB = 52; + const TP_DOLLAR = 53; + const TP_LOGOP = 54; + const TP_SLOGOP = 55; + const TP_TLOGOP = 56; + const TP_SINGLECOND = 57; + const TP_ARRAYOPEN = 58; + const TP_QUOTE = 59; + const TP_BACKTICK = 60; + const YY_NO_ACTION = 542; + const YY_ACCEPT_ACTION = 541; + const YY_ERROR_ACTION = 540; + + const YY_SZ_ACTTAB = 2122; public static $yy_action = array( - 238, 239, 240, 1, 302, 127, 206, 185, 99, 6, - 53, 237, 212, 206, 30, 105, 220, 387, 151, 207, - 252, 208, 274, 200, 387, 22, 387, 309, 41, 387, - 122, 42, 43, 268, 216, 387, 226, 387, 195, 387, - 52, 4, 315, 290, 55, 304, 95, 215, 5, 50, - 238, 239, 240, 1, 290, 93, 381, 51, 227, 6, - 53, 260, 212, 171, 293, 105, 515, 92, 381, 207, - 252, 208, 132, 214, 381, 22, 254, 428, 41, 12, - 192, 42, 43, 268, 216, 169, 272, 217, 195, 428, - 52, 4, 131, 290, 222, 44, 21, 275, 5, 50, - 238, 239, 240, 1, 160, 129, 135, 194, 209, 6, - 53, 3, 212, 95, 247, 105, 44, 21, 275, 207, - 252, 208, 302, 214, 206, 22, 90, 52, 41, 13, - 290, 42, 43, 268, 216, 14, 272, 95, 195, 27, - 52, 4, 108, 290, 290, 145, 428, 248, 5, 50, - 238, 239, 240, 1, 137, 129, 192, 186, 428, 6, - 53, 484, 212, 298, 247, 105, 44, 21, 275, 207, - 252, 208, 210, 214, 150, 22, 248, 279, 41, 147, - 192, 42, 43, 268, 216, 122, 272, 228, 195, 247, - 52, 4, 144, 290, 230, 191, 136, 100, 5, 50, - 238, 239, 240, 1, 161, 128, 247, 194, 175, 6, - 53, 34, 212, 95, 247, 105, 44, 21, 275, 207, - 252, 208, 173, 214, 236, 11, 170, 293, 41, 95, - 280, 42, 43, 268, 216, 146, 272, 133, 195, 87, - 52, 4, 108, 290, 121, 247, 192, 257, 5, 50, - 238, 239, 240, 1, 94, 129, 141, 181, 108, 6, - 53, 248, 212, 256, 176, 105, 247, 288, 292, 207, - 252, 208, 26, 203, 246, 22, 235, 236, 41, 15, - 248, 42, 43, 268, 216, 148, 272, 192, 195, 88, - 52, 4, 89, 290, 33, 247, 170, 293, 5, 50, - 238, 239, 240, 1, 19, 130, 184, 194, 262, 6, - 53, 13, 212, 104, 176, 105, 149, 14, 428, 207, - 252, 208, 441, 214, 263, 22, 247, 224, 41, 441, - 428, 42, 43, 268, 216, 312, 272, 143, 195, 175, - 52, 4, 163, 290, 290, 175, 294, 247, 5, 50, - 238, 239, 240, 1, 255, 129, 132, 179, 348, 6, - 53, 248, 212, 12, 348, 105, 138, 176, 251, 207, - 252, 208, 25, 214, 291, 22, 100, 49, 41, 192, - 37, 42, 43, 268, 216, 228, 272, 228, 195, 29, - 52, 4, 325, 290, 229, 100, 348, 100, 5, 50, - 238, 239, 240, 1, 255, 129, 441, 194, 348, 6, - 53, 7, 212, 441, 348, 105, 255, 244, 134, 207, - 252, 208, 168, 180, 17, 22, 260, 49, 41, 83, - 14, 42, 43, 268, 216, 9, 272, 305, 195, 49, - 52, 4, 144, 290, 39, 40, 38, 176, 5, 50, - 238, 239, 240, 1, 300, 131, 290, 194, 139, 6, - 53, 283, 284, 285, 286, 105, 159, 299, 247, 207, - 252, 208, 84, 214, 255, 20, 247, 162, 45, 172, - 293, 42, 43, 268, 216, 37, 272, 247, 195, 251, - 52, 4, 165, 290, 39, 40, 38, 49, 5, 50, - 238, 239, 240, 1, 310, 131, 428, 194, 322, 6, - 53, 283, 284, 285, 286, 105, 16, 176, 428, 207, - 252, 208, 324, 214, 152, 20, 204, 189, 41, 156, - 429, 42, 43, 268, 216, 289, 272, 166, 195, 158, - 52, 4, 429, 290, 121, 10, 290, 223, 5, 50, - 277, 205, 206, 243, 94, 86, 102, 109, 183, 96, - 82, 9, 176, 215, 25, 94, 316, 288, 264, 32, - 319, 311, 8, 271, 196, 273, 85, 278, 288, 308, - 91, 277, 205, 206, 243, 250, 86, 102, 18, 182, - 96, 62, 249, 39, 40, 38, 94, 215, 25, 264, - 317, 13, 164, 142, 271, 196, 273, 14, 278, 288, - 283, 284, 285, 286, 277, 190, 206, 245, 167, 107, - 102, 153, 183, 96, 82, 277, 154, 206, 234, 94, - 107, 241, 264, 193, 111, 74, 242, 271, 196, 273, - 94, 278, 288, 264, 192, 174, 255, 106, 271, 196, - 273, 250, 278, 288, 18, 253, 349, 277, 249, 206, - 113, 261, 107, 199, 307, 193, 111, 74, 349, 49, - 265, 267, 94, 215, 349, 264, 250, 23, 269, 18, - 271, 196, 273, 249, 278, 288, 270, 7, 287, 277, - 219, 206, 54, 225, 101, 198, 307, 193, 114, 47, - 277, 112, 206, 313, 94, 107, 155, 264, 193, 114, - 69, 157, 271, 196, 273, 94, 278, 288, 264, 250, - 314, 323, 18, 271, 196, 273, 249, 278, 288, 277, - 34, 206, 326, 250, 107, 202, 18, 193, 114, 69, - 249, 35, 296, 457, 94, 296, 457, 264, 296, 13, - 457, 296, 271, 196, 273, 14, 278, 288, 211, 36, - 277, 13, 206, 296, 197, 107, 296, 14, 193, 111, - 74, 296, 39, 40, 38, 94, 296, 131, 264, 258, - 296, 296, 457, 271, 196, 273, 296, 278, 288, 283, - 284, 285, 286, 277, 296, 206, 296, 457, 107, 306, - 457, 193, 114, 69, 457, 296, 296, 296, 94, 296, - 259, 264, 52, 296, 192, 290, 271, 196, 273, 296, - 278, 288, 277, 296, 206, 296, 383, 101, 201, 296, - 193, 114, 61, 296, 229, 296, 296, 94, 383, 296, - 264, 296, 296, 296, 383, 271, 196, 273, 296, 278, - 288, 303, 296, 296, 213, 296, 296, 238, 239, 240, - 2, 457, 301, 192, 457, 296, 6, 53, 457, 441, - 296, 296, 105, 266, 296, 352, 207, 252, 208, 221, - 296, 296, 296, 296, 296, 296, 296, 13, 296, 296, - 296, 296, 296, 14, 296, 441, 428, 296, 441, 296, - 457, 296, 441, 281, 296, 296, 296, 28, 428, 296, - 303, 296, 296, 213, 296, 296, 238, 239, 240, 2, - 457, 301, 192, 457, 296, 6, 53, 457, 441, 296, - 296, 105, 266, 296, 380, 207, 252, 208, 296, 296, - 296, 296, 296, 296, 296, 296, 380, 296, 296, 296, - 296, 296, 380, 296, 441, 296, 296, 441, 296, 457, - 296, 441, 296, 296, 296, 297, 28, 296, 296, 231, - 232, 233, 125, 296, 296, 238, 239, 240, 1, 296, - 13, 296, 296, 296, 6, 53, 14, 296, 296, 296, - 105, 39, 40, 38, 207, 252, 208, 277, 296, 206, - 296, 296, 107, 296, 296, 188, 110, 60, 283, 284, - 285, 286, 94, 296, 296, 264, 296, 296, 296, 296, - 271, 196, 273, 296, 278, 288, 296, 296, 296, 296, - 296, 296, 277, 296, 206, 296, 296, 107, 296, 296, - 193, 97, 81, 277, 296, 206, 296, 94, 107, 296, - 264, 193, 98, 80, 296, 271, 196, 273, 94, 278, - 288, 264, 296, 296, 296, 296, 271, 196, 273, 296, - 278, 288, 277, 296, 206, 296, 296, 107, 296, 296, - 193, 114, 56, 296, 296, 296, 296, 94, 296, 296, - 264, 296, 296, 296, 296, 271, 196, 273, 296, 278, - 288, 296, 296, 277, 296, 206, 296, 296, 107, 296, - 296, 193, 114, 68, 277, 296, 206, 296, 94, 107, - 296, 264, 193, 97, 57, 296, 271, 196, 273, 94, - 278, 288, 264, 296, 296, 296, 296, 271, 196, 273, - 296, 278, 288, 277, 296, 206, 296, 296, 107, 296, - 296, 193, 114, 67, 296, 296, 296, 296, 94, 296, - 296, 264, 296, 296, 296, 296, 271, 196, 273, 296, - 278, 288, 296, 296, 277, 296, 206, 296, 296, 107, - 296, 296, 193, 114, 58, 277, 296, 206, 296, 94, - 107, 296, 264, 193, 114, 59, 296, 271, 196, 273, - 94, 278, 288, 264, 296, 296, 296, 296, 271, 196, - 273, 296, 278, 288, 277, 296, 206, 296, 296, 107, - 296, 296, 193, 114, 70, 296, 296, 296, 296, 94, - 296, 296, 264, 296, 296, 296, 296, 271, 196, 273, - 296, 278, 288, 296, 296, 277, 296, 206, 296, 296, - 107, 296, 296, 193, 114, 61, 277, 296, 206, 296, - 94, 107, 296, 264, 193, 114, 66, 296, 271, 196, - 273, 94, 278, 288, 264, 296, 296, 296, 296, 271, - 196, 273, 296, 278, 288, 277, 296, 206, 296, 296, - 107, 296, 296, 193, 114, 71, 296, 296, 296, 296, - 94, 296, 296, 264, 296, 296, 296, 296, 271, 196, - 273, 296, 278, 288, 296, 296, 277, 296, 206, 296, - 296, 107, 296, 296, 193, 114, 72, 277, 296, 206, - 296, 94, 107, 296, 264, 193, 114, 73, 296, 271, - 196, 273, 94, 278, 288, 264, 296, 296, 296, 296, - 271, 196, 273, 296, 278, 288, 277, 296, 206, 296, - 296, 107, 296, 296, 193, 114, 75, 296, 296, 296, - 296, 94, 296, 296, 264, 296, 296, 296, 296, 271, - 196, 273, 296, 278, 288, 296, 296, 277, 296, 206, - 296, 296, 107, 296, 296, 187, 114, 63, 277, 296, - 206, 296, 94, 107, 296, 264, 193, 114, 64, 296, - 271, 196, 273, 94, 278, 288, 264, 296, 296, 296, - 296, 271, 196, 273, 296, 278, 288, 277, 296, 206, - 296, 296, 107, 296, 296, 193, 114, 65, 296, 296, - 296, 296, 94, 296, 296, 264, 296, 296, 296, 296, - 271, 196, 273, 296, 278, 288, 296, 296, 277, 296, - 206, 296, 296, 107, 296, 296, 193, 114, 76, 277, - 296, 206, 296, 94, 107, 296, 264, 193, 114, 77, - 296, 271, 196, 273, 94, 278, 288, 264, 296, 296, - 296, 296, 271, 196, 273, 296, 278, 288, 277, 296, - 206, 296, 296, 107, 296, 296, 193, 114, 78, 296, - 296, 296, 296, 94, 296, 296, 264, 296, 296, 296, - 296, 271, 196, 273, 296, 278, 288, 296, 296, 277, - 296, 206, 296, 296, 107, 296, 296, 193, 114, 79, - 277, 296, 206, 296, 94, 107, 296, 264, 193, 114, - 46, 296, 271, 196, 273, 94, 278, 288, 264, 296, - 296, 296, 296, 271, 196, 273, 24, 278, 288, 277, - 296, 206, 296, 457, 107, 296, 457, 193, 114, 48, - 457, 441, 296, 296, 94, 266, 296, 264, 296, 296, - 296, 296, 271, 196, 273, 296, 278, 288, 296, 296, - 277, 296, 206, 296, 296, 107, 296, 441, 193, 126, - 441, 277, 457, 206, 441, 94, 107, 296, 296, 193, - 120, 296, 320, 271, 196, 273, 94, 278, 288, 296, - 296, 296, 296, 276, 271, 196, 273, 213, 278, 288, - 277, 296, 206, 296, 457, 107, 296, 457, 193, 124, - 3, 457, 441, 296, 296, 94, 266, 296, 296, 296, - 296, 296, 296, 271, 196, 273, 296, 278, 288, 296, - 296, 277, 296, 206, 296, 296, 107, 296, 441, 193, - 115, 441, 277, 457, 206, 441, 94, 107, 296, 296, - 193, 116, 296, 296, 271, 196, 273, 94, 278, 288, - 296, 296, 296, 296, 296, 271, 196, 273, 213, 278, - 288, 277, 296, 206, 296, 457, 107, 296, 457, 193, - 117, 33, 457, 441, 296, 296, 94, 266, 296, 296, - 296, 296, 296, 296, 271, 196, 273, 296, 278, 288, - 296, 296, 277, 296, 206, 296, 296, 107, 296, 441, - 193, 118, 441, 277, 457, 206, 441, 94, 107, 296, - 395, 193, 119, 296, 296, 271, 196, 273, 94, 278, - 288, 296, 296, 296, 296, 296, 271, 196, 273, 296, - 278, 288, 277, 103, 206, 296, 296, 107, 296, 296, - 193, 123, 428, 296, 395, 395, 395, 94, 296, 39, - 40, 38, 296, 296, 428, 271, 196, 273, 296, 278, - 288, 395, 395, 395, 395, 296, 283, 284, 285, 286, - 296, 140, 296, 318, 39, 40, 38, 296, 296, 296, - 296, 39, 40, 38, 296, 296, 296, 39, 40, 38, - 296, 283, 284, 285, 286, 295, 296, 296, 283, 284, - 285, 286, 282, 296, 283, 284, 285, 286, 177, 218, - 39, 40, 38, 296, 296, 296, 178, 296, 39, 40, - 38, 321, 296, 296, 296, 296, 296, 283, 284, 285, - 286, 39, 40, 38, 31, 283, 284, 285, 286, 39, - 40, 38, 296, 296, 39, 40, 38, 296, 283, 284, - 285, 286, 296, 296, 296, 296, 283, 284, 285, 286, - 296, 283, 284, 285, 286, 296, 296, 296, 39, 40, - 38, 457, 296, 296, 457, 296, 296, 296, 457, 441, - 296, 296, 296, 296, 296, 283, 284, 285, 286, 296, - 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, - 296, 296, 296, 296, 296, 441, 296, 296, 441, 296, - 457, 296, 441, + 256, 257, 258, 1, 149, 135, 321, 202, 223, 209, + 6, 55, 268, 229, 265, 18, 114, 408, 15, 267, + 224, 270, 225, 209, 217, 408, 22, 408, 266, 43, + 408, 95, 44, 45, 286, 233, 408, 244, 408, 212, + 408, 54, 4, 334, 308, 151, 58, 323, 232, 5, + 52, 256, 257, 258, 1, 265, 99, 402, 53, 245, + 298, 6, 55, 278, 229, 175, 311, 114, 161, 266, + 402, 224, 270, 225, 16, 231, 402, 22, 265, 449, + 43, 343, 310, 44, 45, 286, 233, 255, 290, 223, + 212, 449, 54, 4, 139, 308, 240, 190, 101, 102, + 5, 52, 256, 257, 258, 1, 139, 137, 276, 211, + 154, 311, 6, 55, 187, 229, 234, 3, 114, 101, + 102, 292, 224, 270, 225, 140, 231, 273, 22, 121, + 54, 43, 12, 308, 44, 45, 286, 233, 163, 290, + 277, 212, 54, 54, 4, 308, 308, 35, 265, 116, + 51, 5, 52, 256, 257, 258, 1, 19, 137, 201, + 203, 280, 165, 6, 55, 319, 229, 190, 36, 114, + 101, 102, 265, 224, 270, 225, 462, 231, 281, 22, + 313, 152, 43, 462, 141, 44, 45, 286, 233, 273, + 290, 190, 212, 367, 54, 4, 262, 308, 308, 367, + 116, 449, 5, 52, 256, 257, 258, 1, 143, 136, + 449, 211, 51, 449, 6, 55, 27, 229, 510, 242, + 114, 152, 449, 449, 224, 270, 225, 331, 231, 96, + 11, 367, 153, 43, 266, 449, 44, 45, 286, 233, + 273, 290, 209, 212, 367, 54, 4, 308, 308, 119, + 367, 28, 241, 5, 52, 256, 257, 258, 1, 100, + 137, 109, 198, 51, 108, 6, 55, 13, 229, 541, + 98, 114, 306, 14, 7, 224, 270, 225, 186, 220, + 328, 22, 266, 312, 43, 101, 102, 44, 45, 286, + 233, 34, 290, 321, 212, 223, 54, 4, 181, 308, + 46, 21, 293, 191, 5, 52, 256, 257, 258, 1, + 32, 138, 237, 211, 167, 116, 6, 55, 478, 229, + 232, 478, 114, 191, 269, 478, 224, 270, 225, 155, + 231, 266, 22, 209, 317, 43, 209, 39, 44, 45, + 286, 233, 160, 290, 264, 212, 92, 54, 4, 227, + 308, 308, 265, 154, 311, 5, 52, 256, 257, 258, + 1, 29, 137, 237, 196, 156, 144, 6, 55, 13, + 229, 191, 166, 114, 266, 14, 265, 224, 270, 225, + 297, 231, 273, 22, 142, 146, 43, 113, 121, 44, + 45, 286, 233, 162, 290, 110, 212, 93, 54, 4, + 183, 308, 308, 265, 147, 51, 5, 52, 256, 257, + 258, 1, 329, 137, 265, 211, 341, 177, 6, 55, + 17, 229, 191, 308, 114, 191, 14, 265, 224, 270, + 225, 25, 197, 309, 22, 101, 102, 43, 209, 140, + 44, 45, 286, 233, 164, 290, 12, 212, 94, 54, + 4, 272, 308, 119, 265, 308, 275, 5, 52, 256, + 257, 258, 1, 100, 139, 26, 211, 176, 311, 6, + 55, 462, 274, 191, 209, 114, 306, 180, 462, 224, + 270, 225, 184, 231, 226, 20, 368, 265, 47, 221, + 206, 44, 45, 286, 233, 31, 290, 88, 212, 368, + 54, 4, 188, 308, 254, 368, 273, 191, 5, 52, + 256, 257, 258, 1, 9, 139, 324, 211, 7, 232, + 6, 55, 9, 253, 254, 450, 114, 330, 246, 51, + 224, 270, 225, 89, 231, 344, 20, 450, 110, 43, + 327, 10, 44, 45, 286, 233, 25, 290, 335, 212, + 278, 54, 4, 117, 308, 41, 42, 40, 246, 5, + 52, 295, 222, 223, 261, 247, 91, 111, 110, 200, + 103, 87, 301, 302, 303, 304, 100, 307, 318, 282, + 25, 338, 336, 190, 289, 213, 291, 157, 296, 306, + 39, 8, 168, 295, 222, 223, 261, 172, 91, 111, + 174, 199, 103, 67, 90, 41, 42, 40, 100, 207, + 269, 282, 97, 182, 185, 158, 289, 213, 291, 159, + 296, 306, 301, 302, 303, 304, 295, 252, 223, 263, + 169, 107, 111, 170, 200, 103, 87, 295, 259, 223, + 260, 100, 107, 283, 282, 210, 120, 79, 189, 289, + 213, 291, 100, 296, 306, 282, 115, 271, 123, 279, + 289, 213, 291, 268, 296, 306, 18, 285, 232, 295, + 267, 223, 287, 209, 107, 216, 326, 210, 120, 79, + 13, 288, 150, 305, 100, 404, 14, 282, 7, 23, + 56, 36, 289, 213, 291, 57, 296, 306, 404, 243, + 171, 295, 173, 223, 404, 342, 106, 215, 326, 210, + 124, 49, 295, 122, 223, 332, 100, 107, 333, 282, + 210, 124, 74, 345, 289, 213, 291, 100, 296, 306, + 282, 268, 37, 304, 18, 289, 213, 291, 267, 296, + 306, 295, 304, 223, 304, 304, 107, 219, 13, 210, + 124, 74, 304, 304, 14, 304, 100, 304, 304, 282, + 268, 304, 304, 18, 289, 213, 291, 267, 296, 306, + 295, 304, 223, 304, 209, 107, 214, 304, 210, 120, + 79, 304, 246, 304, 268, 100, 401, 18, 282, 248, + 208, 267, 110, 289, 213, 291, 304, 296, 306, 401, + 236, 304, 295, 304, 223, 401, 304, 107, 304, 325, + 210, 124, 74, 304, 304, 304, 304, 100, 304, 304, + 282, 304, 304, 304, 228, 289, 213, 291, 304, 296, + 306, 295, 304, 223, 304, 478, 106, 218, 478, 210, + 124, 64, 478, 247, 304, 304, 100, 304, 304, 282, + 304, 304, 304, 304, 289, 213, 291, 304, 296, 306, + 322, 304, 304, 304, 304, 304, 256, 257, 258, 2, + 304, 320, 304, 304, 304, 478, 6, 55, 304, 304, + 304, 304, 114, 148, 304, 304, 224, 270, 225, 304, + 304, 304, 322, 41, 42, 40, 304, 304, 256, 257, + 258, 2, 304, 320, 304, 304, 304, 304, 6, 55, + 301, 302, 303, 304, 114, 304, 315, 30, 224, 270, + 225, 304, 304, 304, 249, 250, 251, 133, 304, 304, + 256, 257, 258, 1, 304, 304, 304, 304, 304, 304, + 6, 55, 304, 304, 304, 304, 114, 304, 316, 30, + 224, 270, 225, 295, 304, 223, 304, 304, 107, 304, + 304, 205, 118, 63, 304, 304, 304, 304, 100, 304, + 304, 282, 304, 304, 304, 304, 289, 213, 291, 304, + 296, 306, 304, 295, 304, 223, 304, 304, 107, 304, + 304, 210, 104, 86, 295, 304, 223, 304, 100, 107, + 304, 282, 210, 105, 85, 304, 289, 213, 291, 100, + 296, 306, 282, 304, 304, 304, 304, 289, 213, 291, + 304, 296, 306, 304, 304, 295, 304, 223, 304, 304, + 107, 304, 304, 210, 124, 59, 304, 304, 304, 304, + 100, 304, 304, 282, 304, 304, 304, 304, 289, 213, + 291, 304, 296, 306, 304, 295, 304, 223, 304, 304, + 107, 304, 304, 210, 124, 73, 295, 304, 223, 304, + 100, 107, 304, 282, 210, 104, 60, 304, 289, 213, + 291, 100, 296, 306, 282, 304, 304, 304, 304, 289, + 213, 291, 304, 296, 306, 304, 304, 295, 304, 223, + 304, 304, 107, 304, 304, 210, 124, 72, 304, 304, + 304, 304, 100, 304, 304, 282, 304, 304, 304, 304, + 289, 213, 291, 304, 296, 306, 304, 295, 304, 223, + 304, 304, 107, 304, 304, 210, 124, 61, 295, 304, + 223, 304, 100, 107, 304, 282, 210, 124, 62, 304, + 289, 213, 291, 100, 296, 306, 282, 304, 304, 304, + 304, 289, 213, 291, 304, 296, 306, 304, 304, 295, + 304, 223, 304, 304, 107, 304, 304, 210, 124, 75, + 304, 304, 304, 304, 100, 304, 304, 282, 304, 304, + 304, 304, 289, 213, 291, 304, 296, 306, 304, 295, + 304, 223, 304, 304, 107, 304, 304, 210, 124, 64, + 295, 304, 223, 304, 100, 107, 304, 282, 210, 124, + 71, 304, 289, 213, 291, 100, 296, 306, 282, 304, + 304, 304, 304, 289, 213, 291, 304, 296, 306, 304, + 304, 295, 304, 223, 304, 304, 107, 304, 304, 210, + 124, 76, 304, 304, 304, 304, 100, 304, 304, 282, + 304, 304, 304, 304, 289, 213, 291, 304, 296, 306, + 304, 295, 304, 223, 304, 304, 107, 304, 304, 210, + 124, 77, 295, 304, 223, 304, 100, 107, 304, 282, + 210, 124, 78, 304, 289, 213, 291, 100, 296, 306, + 282, 304, 304, 304, 304, 289, 213, 291, 304, 296, + 306, 304, 304, 295, 304, 223, 304, 304, 107, 304, + 304, 210, 124, 80, 304, 304, 304, 304, 100, 304, + 304, 282, 304, 304, 304, 304, 289, 213, 291, 304, + 296, 306, 304, 295, 304, 223, 304, 304, 107, 304, + 304, 210, 124, 65, 295, 304, 223, 304, 100, 107, + 304, 282, 210, 124, 66, 304, 289, 213, 291, 100, + 296, 306, 282, 304, 304, 304, 304, 289, 213, 291, + 304, 296, 306, 304, 304, 295, 304, 223, 304, 304, + 107, 304, 304, 204, 124, 68, 304, 304, 304, 304, + 100, 304, 304, 282, 304, 304, 304, 304, 289, 213, + 291, 304, 296, 306, 304, 295, 304, 223, 304, 304, + 107, 304, 304, 210, 124, 69, 295, 304, 223, 304, + 100, 107, 304, 282, 210, 124, 70, 304, 289, 213, + 291, 100, 296, 306, 282, 304, 304, 304, 304, 289, + 213, 291, 304, 296, 306, 304, 304, 295, 304, 223, + 304, 304, 107, 304, 304, 210, 124, 81, 304, 304, + 304, 304, 100, 304, 304, 282, 304, 304, 304, 304, + 289, 213, 291, 304, 296, 306, 304, 295, 304, 223, + 304, 304, 107, 304, 304, 210, 124, 82, 295, 304, + 223, 304, 100, 107, 304, 282, 210, 124, 83, 304, + 289, 213, 291, 100, 296, 306, 282, 304, 304, 304, + 304, 289, 213, 291, 304, 296, 306, 304, 304, 295, + 304, 223, 304, 304, 107, 304, 304, 210, 124, 84, + 304, 304, 304, 304, 100, 304, 304, 282, 304, 304, + 304, 304, 289, 213, 291, 304, 296, 306, 304, 295, + 304, 223, 304, 304, 107, 304, 304, 210, 124, 48, + 295, 304, 223, 304, 100, 107, 304, 282, 210, 124, + 50, 304, 289, 213, 291, 100, 296, 306, 282, 304, + 304, 304, 304, 289, 213, 291, 209, 296, 306, 304, + 304, 295, 304, 223, 304, 178, 107, 304, 371, 210, + 134, 304, 238, 239, 304, 265, 100, 46, 21, 293, + 304, 13, 304, 339, 289, 213, 291, 14, 296, 306, + 449, 295, 304, 223, 304, 145, 107, 304, 304, 210, + 130, 304, 449, 304, 304, 265, 100, 46, 21, 293, + 304, 304, 304, 294, 289, 213, 291, 230, 296, 306, + 304, 304, 112, 304, 478, 304, 304, 478, 304, 304, + 3, 478, 462, 462, 230, 304, 304, 284, 41, 42, + 40, 478, 304, 304, 478, 304, 304, 304, 478, 462, + 462, 304, 304, 304, 284, 301, 302, 303, 304, 462, + 304, 304, 462, 295, 478, 223, 462, 304, 107, 304, + 304, 210, 132, 304, 304, 304, 462, 304, 100, 462, + 304, 478, 230, 462, 299, 304, 289, 213, 291, 478, + 296, 306, 478, 179, 304, 35, 478, 462, 462, 304, + 304, 304, 284, 265, 304, 46, 21, 293, 304, 304, + 304, 295, 304, 223, 304, 304, 107, 304, 304, 210, + 125, 304, 304, 304, 462, 304, 100, 462, 304, 478, + 304, 462, 304, 304, 289, 213, 291, 304, 296, 306, + 304, 304, 304, 295, 304, 223, 304, 304, 107, 304, + 304, 210, 126, 304, 295, 304, 223, 304, 100, 107, + 304, 304, 210, 127, 304, 304, 289, 213, 291, 100, + 296, 306, 304, 304, 304, 304, 304, 289, 213, 291, + 304, 296, 306, 295, 304, 223, 304, 304, 107, 304, + 304, 210, 128, 304, 295, 304, 223, 304, 100, 107, + 304, 304, 210, 129, 304, 304, 289, 213, 291, 100, + 296, 306, 304, 304, 304, 304, 304, 289, 213, 291, + 230, 296, 306, 295, 304, 223, 304, 478, 107, 304, + 478, 210, 131, 304, 478, 462, 462, 304, 100, 304, + 284, 41, 42, 40, 304, 304, 289, 213, 291, 304, + 296, 306, 304, 304, 304, 304, 300, 304, 301, 302, + 303, 304, 462, 304, 304, 462, 304, 478, 24, 462, + 304, 304, 38, 304, 13, 478, 304, 304, 478, 304, + 14, 304, 478, 462, 462, 41, 42, 40, 284, 416, + 304, 304, 304, 304, 304, 304, 304, 304, 304, 304, + 304, 304, 301, 302, 303, 304, 304, 304, 304, 304, + 462, 304, 304, 462, 304, 478, 304, 462, 304, 304, + 478, 304, 449, 478, 416, 416, 416, 478, 462, 462, + 304, 304, 304, 304, 449, 304, 304, 304, 304, 304, + 13, 416, 416, 416, 416, 304, 14, 304, 192, 304, + 304, 41, 42, 40, 304, 462, 304, 304, 462, 304, + 478, 304, 462, 337, 41, 42, 40, 304, 301, 302, + 303, 304, 41, 42, 40, 304, 193, 235, 41, 42, + 40, 301, 302, 303, 304, 314, 304, 304, 304, 301, + 302, 303, 304, 304, 304, 301, 302, 303, 304, 194, + 41, 42, 40, 304, 304, 304, 195, 304, 304, 41, + 42, 40, 304, 304, 304, 304, 304, 301, 302, 303, + 304, 33, 304, 41, 42, 40, 301, 302, 303, 304, + 41, 42, 40, 304, 41, 42, 40, 340, 304, 304, + 301, 302, 303, 304, 304, 304, 304, 301, 302, 303, + 304, 301, 302, 303, 304, 304, 41, 42, 40, 304, + 304, 41, 42, 40, 304, 304, 304, 304, 304, 304, + 304, 304, 304, 301, 302, 303, 304, 304, 301, 302, + 303, 304, ); public static $yy_lookahead = array( - 9, 10, 11, 12, 65, 14, 67, 16, 80, 18, - 19, 65, 21, 67, 12, 24, 14, 13, 16, 28, - 29, 30, 91, 32, 20, 34, 22, 99, 37, 25, - 99, 40, 41, 42, 43, 31, 45, 33, 47, 35, - 49, 50, 51, 52, 105, 106, 17, 43, 57, 58, - 9, 10, 11, 12, 52, 14, 13, 16, 15, 18, - 19, 95, 21, 97, 98, 24, 61, 62, 25, 28, - 29, 30, 43, 32, 31, 34, 16, 34, 37, 50, - 1, 40, 41, 42, 43, 14, 45, 16, 47, 46, - 49, 50, 14, 52, 16, 84, 85, 86, 57, 58, - 9, 10, 11, 12, 72, 14, 14, 16, 48, 18, - 19, 15, 21, 17, 82, 24, 84, 85, 86, 28, - 29, 30, 65, 32, 67, 34, 34, 49, 37, 25, - 52, 40, 41, 42, 43, 31, 45, 17, 47, 27, - 49, 50, 46, 52, 52, 94, 34, 96, 57, 58, - 9, 10, 11, 12, 72, 14, 1, 16, 46, 18, - 19, 1, 21, 106, 82, 24, 84, 85, 86, 28, - 29, 30, 17, 32, 94, 34, 96, 91, 37, 72, - 1, 40, 41, 42, 43, 99, 45, 70, 47, 82, - 49, 50, 94, 52, 77, 78, 72, 80, 57, 58, - 9, 10, 11, 12, 72, 14, 82, 16, 101, 18, - 19, 15, 21, 17, 82, 24, 84, 85, 86, 28, - 29, 30, 6, 32, 8, 34, 97, 98, 37, 17, - 51, 40, 41, 42, 43, 72, 45, 80, 47, 76, - 49, 50, 46, 52, 70, 82, 1, 73, 57, 58, - 9, 10, 11, 12, 80, 14, 72, 16, 46, 18, - 19, 96, 21, 89, 101, 24, 82, 93, 69, 28, - 29, 30, 27, 32, 82, 34, 7, 8, 37, 20, - 96, 40, 41, 42, 43, 72, 45, 1, 47, 76, - 49, 50, 33, 52, 15, 82, 97, 98, 57, 58, - 9, 10, 11, 12, 12, 14, 14, 16, 16, 18, - 19, 25, 21, 79, 101, 24, 72, 31, 34, 28, - 29, 30, 43, 32, 32, 34, 82, 43, 37, 50, - 46, 40, 41, 42, 43, 51, 45, 72, 47, 101, - 49, 50, 76, 52, 52, 101, 13, 82, 57, 58, - 9, 10, 11, 12, 21, 14, 43, 16, 25, 18, - 19, 96, 21, 50, 31, 24, 70, 101, 102, 28, - 29, 30, 33, 32, 35, 34, 80, 44, 37, 1, - 2, 40, 41, 42, 43, 70, 45, 70, 47, 12, - 49, 50, 77, 52, 77, 80, 13, 80, 57, 58, - 9, 10, 11, 12, 21, 14, 43, 16, 25, 18, - 19, 34, 21, 50, 31, 24, 21, 69, 14, 28, - 29, 30, 76, 32, 25, 34, 95, 44, 37, 80, - 31, 40, 41, 42, 43, 33, 45, 35, 47, 44, - 49, 50, 94, 52, 36, 37, 38, 101, 57, 58, - 9, 10, 11, 12, 59, 14, 52, 16, 72, 18, - 19, 53, 54, 55, 56, 24, 72, 59, 82, 28, - 29, 30, 80, 32, 21, 34, 82, 72, 37, 97, - 98, 40, 41, 42, 43, 2, 45, 82, 47, 102, - 49, 50, 76, 52, 36, 37, 38, 44, 57, 58, - 9, 10, 11, 12, 51, 14, 34, 16, 14, 18, - 19, 53, 54, 55, 56, 24, 15, 101, 46, 28, - 29, 30, 21, 32, 94, 34, 63, 64, 37, 94, - 34, 40, 41, 42, 43, 98, 45, 76, 47, 94, - 49, 50, 46, 52, 70, 34, 52, 73, 57, 58, - 65, 66, 67, 68, 80, 70, 71, 46, 73, 74, - 75, 33, 101, 43, 33, 80, 35, 93, 83, 15, - 13, 51, 34, 88, 89, 90, 94, 92, 93, 51, - 81, 65, 66, 67, 68, 9, 70, 71, 12, 73, - 74, 75, 16, 36, 37, 38, 80, 43, 33, 83, - 35, 25, 81, 27, 88, 89, 90, 31, 92, 93, - 53, 54, 55, 56, 65, 64, 67, 68, 81, 70, - 71, 94, 73, 74, 75, 65, 94, 67, 7, 80, - 70, 13, 83, 73, 74, 75, 13, 88, 89, 90, - 80, 92, 93, 83, 1, 16, 21, 16, 88, 89, - 90, 9, 92, 93, 12, 16, 13, 65, 16, 67, - 16, 16, 70, 103, 104, 73, 74, 75, 25, 44, - 14, 16, 80, 43, 31, 83, 9, 39, 32, 12, - 88, 89, 90, 16, 92, 93, 32, 34, 16, 65, - 48, 67, 16, 16, 70, 103, 104, 73, 74, 75, - 65, 77, 67, 51, 80, 70, 49, 83, 73, 74, - 75, 49, 88, 89, 90, 80, 92, 93, 83, 9, - 51, 16, 12, 88, 89, 90, 16, 92, 93, 65, - 15, 67, 35, 9, 70, 100, 12, 73, 74, 75, - 16, 22, 107, 9, 80, 107, 12, 83, 107, 25, - 16, 107, 88, 89, 90, 31, 92, 93, 48, 23, - 65, 25, 67, 107, 100, 70, 107, 31, 73, 74, - 75, 107, 36, 37, 38, 80, 107, 14, 83, 16, - 107, 107, 48, 88, 89, 90, 107, 92, 93, 53, - 54, 55, 56, 65, 107, 67, 107, 9, 70, 104, - 12, 73, 74, 75, 16, 107, 107, 107, 80, 107, - 47, 83, 49, 107, 1, 52, 88, 89, 90, 107, - 92, 93, 65, 107, 67, 107, 13, 70, 100, 107, - 73, 74, 75, 107, 77, 107, 107, 80, 25, 107, - 83, 107, 107, 107, 31, 88, 89, 90, 107, 92, - 93, 3, 107, 107, 2, 107, 107, 9, 10, 11, - 12, 9, 14, 1, 12, 107, 18, 19, 16, 17, - 107, 107, 24, 21, 107, 13, 28, 29, 30, 17, - 107, 107, 107, 107, 107, 107, 107, 25, 107, 107, - 107, 107, 107, 31, 107, 43, 34, 107, 46, 107, - 48, 107, 50, 51, 107, 107, 58, 59, 46, 107, - 3, 107, 107, 2, 107, 107, 9, 10, 11, 12, - 9, 14, 1, 12, 107, 18, 19, 16, 17, 107, - 107, 24, 21, 107, 13, 28, 29, 30, 107, 107, - 107, 107, 107, 107, 107, 107, 25, 107, 107, 107, - 107, 107, 31, 107, 43, 107, 107, 46, 107, 48, - 107, 50, 107, 107, 107, 58, 59, 107, 107, 3, - 4, 5, 6, 107, 107, 9, 10, 11, 12, 107, - 25, 107, 107, 107, 18, 19, 31, 107, 107, 107, - 24, 36, 37, 38, 28, 29, 30, 65, 107, 67, - 107, 107, 70, 107, 107, 73, 74, 75, 53, 54, - 55, 56, 80, 107, 107, 83, 107, 107, 107, 107, - 88, 89, 90, 107, 92, 93, 107, 107, 107, 107, - 107, 107, 65, 107, 67, 107, 107, 70, 107, 107, - 73, 74, 75, 65, 107, 67, 107, 80, 70, 107, - 83, 73, 74, 75, 107, 88, 89, 90, 80, 92, - 93, 83, 107, 107, 107, 107, 88, 89, 90, 107, - 92, 93, 65, 107, 67, 107, 107, 70, 107, 107, - 73, 74, 75, 107, 107, 107, 107, 80, 107, 107, - 83, 107, 107, 107, 107, 88, 89, 90, 107, 92, - 93, 107, 107, 65, 107, 67, 107, 107, 70, 107, - 107, 73, 74, 75, 65, 107, 67, 107, 80, 70, - 107, 83, 73, 74, 75, 107, 88, 89, 90, 80, - 92, 93, 83, 107, 107, 107, 107, 88, 89, 90, - 107, 92, 93, 65, 107, 67, 107, 107, 70, 107, - 107, 73, 74, 75, 107, 107, 107, 107, 80, 107, - 107, 83, 107, 107, 107, 107, 88, 89, 90, 107, - 92, 93, 107, 107, 65, 107, 67, 107, 107, 70, - 107, 107, 73, 74, 75, 65, 107, 67, 107, 80, - 70, 107, 83, 73, 74, 75, 107, 88, 89, 90, - 80, 92, 93, 83, 107, 107, 107, 107, 88, 89, - 90, 107, 92, 93, 65, 107, 67, 107, 107, 70, - 107, 107, 73, 74, 75, 107, 107, 107, 107, 80, - 107, 107, 83, 107, 107, 107, 107, 88, 89, 90, - 107, 92, 93, 107, 107, 65, 107, 67, 107, 107, - 70, 107, 107, 73, 74, 75, 65, 107, 67, 107, - 80, 70, 107, 83, 73, 74, 75, 107, 88, 89, - 90, 80, 92, 93, 83, 107, 107, 107, 107, 88, - 89, 90, 107, 92, 93, 65, 107, 67, 107, 107, - 70, 107, 107, 73, 74, 75, 107, 107, 107, 107, - 80, 107, 107, 83, 107, 107, 107, 107, 88, 89, - 90, 107, 92, 93, 107, 107, 65, 107, 67, 107, - 107, 70, 107, 107, 73, 74, 75, 65, 107, 67, - 107, 80, 70, 107, 83, 73, 74, 75, 107, 88, - 89, 90, 80, 92, 93, 83, 107, 107, 107, 107, - 88, 89, 90, 107, 92, 93, 65, 107, 67, 107, - 107, 70, 107, 107, 73, 74, 75, 107, 107, 107, - 107, 80, 107, 107, 83, 107, 107, 107, 107, 88, - 89, 90, 107, 92, 93, 107, 107, 65, 107, 67, - 107, 107, 70, 107, 107, 73, 74, 75, 65, 107, - 67, 107, 80, 70, 107, 83, 73, 74, 75, 107, - 88, 89, 90, 80, 92, 93, 83, 107, 107, 107, - 107, 88, 89, 90, 107, 92, 93, 65, 107, 67, - 107, 107, 70, 107, 107, 73, 74, 75, 107, 107, - 107, 107, 80, 107, 107, 83, 107, 107, 107, 107, - 88, 89, 90, 107, 92, 93, 107, 107, 65, 107, - 67, 107, 107, 70, 107, 107, 73, 74, 75, 65, - 107, 67, 107, 80, 70, 107, 83, 73, 74, 75, - 107, 88, 89, 90, 80, 92, 93, 83, 107, 107, - 107, 107, 88, 89, 90, 107, 92, 93, 65, 107, - 67, 107, 107, 70, 107, 107, 73, 74, 75, 107, - 107, 107, 107, 80, 107, 107, 83, 107, 107, 107, - 107, 88, 89, 90, 107, 92, 93, 107, 107, 65, - 107, 67, 107, 107, 70, 107, 107, 73, 74, 75, - 65, 107, 67, 107, 80, 70, 107, 83, 73, 74, - 75, 107, 88, 89, 90, 80, 92, 93, 83, 107, - 107, 107, 107, 88, 89, 90, 2, 92, 93, 65, - 107, 67, 107, 9, 70, 107, 12, 73, 74, 75, - 16, 17, 107, 107, 80, 21, 107, 83, 107, 107, - 107, 107, 88, 89, 90, 107, 92, 93, 107, 107, - 65, 107, 67, 107, 107, 70, 107, 43, 73, 74, - 46, 65, 48, 67, 50, 80, 70, 107, 107, 73, - 74, 107, 87, 88, 89, 90, 80, 92, 93, 107, - 107, 107, 107, 87, 88, 89, 90, 2, 92, 93, - 65, 107, 67, 107, 9, 70, 107, 12, 73, 74, - 15, 16, 17, 107, 107, 80, 21, 107, 107, 107, - 107, 107, 107, 88, 89, 90, 107, 92, 93, 107, - 107, 65, 107, 67, 107, 107, 70, 107, 43, 73, - 74, 46, 65, 48, 67, 50, 80, 70, 107, 107, - 73, 74, 107, 107, 88, 89, 90, 80, 92, 93, - 107, 107, 107, 107, 107, 88, 89, 90, 2, 92, - 93, 65, 107, 67, 107, 9, 70, 107, 12, 73, - 74, 15, 16, 17, 107, 107, 80, 21, 107, 107, - 107, 107, 107, 107, 88, 89, 90, 107, 92, 93, - 107, 107, 65, 107, 67, 107, 107, 70, 107, 43, - 73, 74, 46, 65, 48, 67, 50, 80, 70, 107, - 2, 73, 74, 107, 107, 88, 89, 90, 80, 92, - 93, 107, 107, 107, 107, 107, 88, 89, 90, 107, - 92, 93, 65, 20, 67, 107, 107, 70, 107, 107, - 73, 74, 34, 107, 36, 37, 38, 80, 107, 36, - 37, 38, 107, 107, 46, 88, 89, 90, 107, 92, - 93, 53, 54, 55, 56, 107, 53, 54, 55, 56, - 107, 26, 107, 35, 36, 37, 38, 107, 107, 107, - 107, 36, 37, 38, 107, 107, 107, 36, 37, 38, - 107, 53, 54, 55, 56, 13, 107, 107, 53, 54, - 55, 56, 51, 107, 53, 54, 55, 56, 13, 35, - 36, 37, 38, 107, 107, 107, 13, 107, 36, 37, - 38, 13, 107, 107, 107, 107, 107, 53, 54, 55, - 56, 36, 37, 38, 2, 53, 54, 55, 56, 36, - 37, 38, 107, 107, 36, 37, 38, 107, 53, 54, - 55, 56, 107, 107, 107, 107, 53, 54, 55, 56, - 107, 53, 54, 55, 56, 107, 107, 107, 36, 37, - 38, 9, 107, 107, 12, 107, 107, 107, 16, 17, - 107, 107, 107, 107, 107, 53, 54, 55, 56, 107, - 107, 107, 107, 107, 107, 107, 107, 107, 107, 107, - 107, 107, 107, 107, 107, 43, 107, 107, 46, 107, - 48, 107, 50, + 9, 10, 11, 12, 73, 14, 66, 16, 68, 1, + 19, 20, 9, 22, 83, 12, 25, 13, 21, 16, + 29, 30, 31, 1, 33, 21, 35, 23, 97, 38, + 26, 34, 41, 42, 43, 44, 32, 46, 34, 48, + 36, 50, 51, 52, 53, 73, 106, 107, 44, 58, + 59, 9, 10, 11, 12, 83, 14, 13, 16, 15, + 52, 19, 20, 96, 22, 98, 99, 25, 73, 97, + 26, 29, 30, 31, 15, 33, 32, 35, 83, 35, + 38, 22, 70, 41, 42, 43, 44, 66, 46, 68, + 48, 47, 50, 51, 14, 53, 16, 102, 17, 18, + 58, 59, 9, 10, 11, 12, 14, 14, 16, 16, + 98, 99, 19, 20, 14, 22, 16, 15, 25, 17, + 18, 92, 29, 30, 31, 44, 33, 22, 35, 100, + 50, 38, 51, 53, 41, 42, 43, 44, 73, 46, + 48, 48, 50, 50, 51, 53, 53, 15, 83, 47, + 45, 58, 59, 9, 10, 11, 12, 12, 14, 14, + 16, 16, 73, 19, 20, 60, 22, 102, 15, 25, + 17, 18, 83, 29, 30, 31, 44, 33, 33, 35, + 13, 95, 38, 51, 81, 41, 42, 43, 44, 22, + 46, 102, 48, 26, 50, 51, 70, 53, 53, 32, + 47, 35, 58, 59, 9, 10, 11, 12, 14, 14, + 35, 16, 45, 47, 19, 20, 28, 22, 1, 44, + 25, 95, 47, 35, 29, 30, 31, 52, 33, 35, + 35, 13, 95, 38, 97, 47, 41, 42, 43, 44, + 22, 46, 1, 48, 26, 50, 51, 53, 53, 71, + 32, 12, 74, 58, 59, 9, 10, 11, 12, 81, + 14, 81, 16, 45, 81, 19, 20, 26, 22, 62, + 63, 25, 94, 32, 35, 29, 30, 31, 77, 33, + 100, 35, 97, 100, 38, 17, 18, 41, 42, 43, + 44, 15, 46, 66, 48, 68, 50, 51, 77, 53, + 85, 86, 87, 102, 58, 59, 9, 10, 11, 12, + 12, 14, 14, 16, 16, 47, 19, 20, 9, 22, + 44, 12, 25, 102, 103, 16, 29, 30, 31, 95, + 33, 97, 35, 1, 107, 38, 1, 2, 41, 42, + 43, 44, 73, 46, 83, 48, 77, 50, 51, 17, + 53, 53, 83, 98, 99, 58, 59, 9, 10, 11, + 12, 12, 14, 14, 16, 16, 73, 19, 20, 26, + 22, 102, 95, 25, 97, 32, 83, 29, 30, 31, + 92, 33, 22, 35, 14, 71, 38, 80, 100, 41, + 42, 43, 44, 73, 46, 81, 48, 77, 50, 51, + 77, 53, 53, 83, 73, 45, 58, 59, 9, 10, + 11, 12, 52, 14, 83, 16, 14, 73, 19, 20, + 26, 22, 102, 53, 25, 102, 32, 83, 29, 30, + 31, 34, 33, 36, 35, 17, 18, 38, 1, 44, + 41, 42, 43, 44, 73, 46, 51, 48, 77, 50, + 51, 16, 53, 71, 83, 53, 74, 58, 59, 9, + 10, 11, 12, 81, 14, 28, 16, 98, 99, 19, + 20, 44, 90, 102, 1, 25, 94, 73, 51, 29, + 30, 31, 77, 33, 49, 35, 13, 83, 38, 64, + 65, 41, 42, 43, 44, 12, 46, 81, 48, 26, + 50, 51, 6, 53, 8, 32, 22, 102, 58, 59, + 9, 10, 11, 12, 34, 14, 36, 16, 35, 44, + 19, 20, 34, 7, 8, 35, 25, 52, 71, 45, + 29, 30, 31, 81, 33, 78, 35, 47, 81, 38, + 52, 35, 41, 42, 43, 44, 34, 46, 36, 48, + 96, 50, 51, 47, 53, 37, 38, 39, 71, 58, + 59, 66, 67, 68, 69, 78, 71, 72, 81, 74, + 75, 76, 54, 55, 56, 57, 81, 99, 60, 84, + 34, 13, 36, 102, 89, 90, 91, 95, 93, 94, + 2, 35, 95, 66, 67, 68, 69, 95, 71, 72, + 95, 74, 75, 76, 95, 37, 38, 39, 81, 65, + 103, 84, 82, 82, 82, 95, 89, 90, 91, 95, + 93, 94, 54, 55, 56, 57, 66, 7, 68, 69, + 95, 71, 72, 95, 74, 75, 76, 66, 13, 68, + 13, 81, 71, 14, 84, 74, 75, 76, 16, 89, + 90, 91, 81, 93, 94, 84, 16, 16, 16, 16, + 89, 90, 91, 9, 93, 94, 12, 16, 44, 66, + 16, 68, 33, 1, 71, 104, 105, 74, 75, 76, + 26, 33, 28, 16, 81, 13, 32, 84, 35, 40, + 16, 15, 89, 90, 91, 16, 93, 94, 26, 16, + 50, 66, 50, 68, 32, 16, 71, 104, 105, 74, + 75, 76, 66, 78, 68, 52, 81, 71, 52, 84, + 74, 75, 76, 36, 89, 90, 91, 81, 93, 94, + 84, 9, 23, 108, 12, 89, 90, 91, 16, 93, + 94, 66, 108, 68, 108, 108, 71, 101, 26, 74, + 75, 76, 108, 108, 32, 108, 81, 108, 108, 84, + 9, 108, 108, 12, 89, 90, 91, 16, 93, 94, + 66, 108, 68, 108, 1, 71, 101, 108, 74, 75, + 76, 108, 71, 108, 9, 81, 13, 12, 84, 78, + 79, 16, 81, 89, 90, 91, 108, 93, 94, 26, + 49, 108, 66, 108, 68, 32, 108, 71, 108, 105, + 74, 75, 76, 108, 108, 108, 108, 81, 108, 108, + 84, 108, 108, 108, 49, 89, 90, 91, 108, 93, + 94, 66, 108, 68, 108, 9, 71, 101, 12, 74, + 75, 76, 16, 78, 108, 108, 81, 108, 108, 84, + 108, 108, 108, 108, 89, 90, 91, 108, 93, 94, + 3, 108, 108, 108, 108, 108, 9, 10, 11, 12, + 108, 14, 108, 108, 108, 49, 19, 20, 108, 108, + 108, 108, 25, 27, 108, 108, 29, 30, 31, 108, + 108, 108, 3, 37, 38, 39, 108, 108, 9, 10, + 11, 12, 108, 14, 108, 108, 108, 108, 19, 20, + 54, 55, 56, 57, 25, 108, 59, 60, 29, 30, + 31, 108, 108, 108, 3, 4, 5, 6, 108, 108, + 9, 10, 11, 12, 108, 108, 108, 108, 108, 108, + 19, 20, 108, 108, 108, 108, 25, 108, 59, 60, + 29, 30, 31, 66, 108, 68, 108, 108, 71, 108, + 108, 74, 75, 76, 108, 108, 108, 108, 81, 108, + 108, 84, 108, 108, 108, 108, 89, 90, 91, 108, + 93, 94, 108, 66, 108, 68, 108, 108, 71, 108, + 108, 74, 75, 76, 66, 108, 68, 108, 81, 71, + 108, 84, 74, 75, 76, 108, 89, 90, 91, 81, + 93, 94, 84, 108, 108, 108, 108, 89, 90, 91, + 108, 93, 94, 108, 108, 66, 108, 68, 108, 108, + 71, 108, 108, 74, 75, 76, 108, 108, 108, 108, + 81, 108, 108, 84, 108, 108, 108, 108, 89, 90, + 91, 108, 93, 94, 108, 66, 108, 68, 108, 108, + 71, 108, 108, 74, 75, 76, 66, 108, 68, 108, + 81, 71, 108, 84, 74, 75, 76, 108, 89, 90, + 91, 81, 93, 94, 84, 108, 108, 108, 108, 89, + 90, 91, 108, 93, 94, 108, 108, 66, 108, 68, + 108, 108, 71, 108, 108, 74, 75, 76, 108, 108, + 108, 108, 81, 108, 108, 84, 108, 108, 108, 108, + 89, 90, 91, 108, 93, 94, 108, 66, 108, 68, + 108, 108, 71, 108, 108, 74, 75, 76, 66, 108, + 68, 108, 81, 71, 108, 84, 74, 75, 76, 108, + 89, 90, 91, 81, 93, 94, 84, 108, 108, 108, + 108, 89, 90, 91, 108, 93, 94, 108, 108, 66, + 108, 68, 108, 108, 71, 108, 108, 74, 75, 76, + 108, 108, 108, 108, 81, 108, 108, 84, 108, 108, + 108, 108, 89, 90, 91, 108, 93, 94, 108, 66, + 108, 68, 108, 108, 71, 108, 108, 74, 75, 76, + 66, 108, 68, 108, 81, 71, 108, 84, 74, 75, + 76, 108, 89, 90, 91, 81, 93, 94, 84, 108, + 108, 108, 108, 89, 90, 91, 108, 93, 94, 108, + 108, 66, 108, 68, 108, 108, 71, 108, 108, 74, + 75, 76, 108, 108, 108, 108, 81, 108, 108, 84, + 108, 108, 108, 108, 89, 90, 91, 108, 93, 94, + 108, 66, 108, 68, 108, 108, 71, 108, 108, 74, + 75, 76, 66, 108, 68, 108, 81, 71, 108, 84, + 74, 75, 76, 108, 89, 90, 91, 81, 93, 94, + 84, 108, 108, 108, 108, 89, 90, 91, 108, 93, + 94, 108, 108, 66, 108, 68, 108, 108, 71, 108, + 108, 74, 75, 76, 108, 108, 108, 108, 81, 108, + 108, 84, 108, 108, 108, 108, 89, 90, 91, 108, + 93, 94, 108, 66, 108, 68, 108, 108, 71, 108, + 108, 74, 75, 76, 66, 108, 68, 108, 81, 71, + 108, 84, 74, 75, 76, 108, 89, 90, 91, 81, + 93, 94, 84, 108, 108, 108, 108, 89, 90, 91, + 108, 93, 94, 108, 108, 66, 108, 68, 108, 108, + 71, 108, 108, 74, 75, 76, 108, 108, 108, 108, + 81, 108, 108, 84, 108, 108, 108, 108, 89, 90, + 91, 108, 93, 94, 108, 66, 108, 68, 108, 108, + 71, 108, 108, 74, 75, 76, 66, 108, 68, 108, + 81, 71, 108, 84, 74, 75, 76, 108, 89, 90, + 91, 81, 93, 94, 84, 108, 108, 108, 108, 89, + 90, 91, 108, 93, 94, 108, 108, 66, 108, 68, + 108, 108, 71, 108, 108, 74, 75, 76, 108, 108, + 108, 108, 81, 108, 108, 84, 108, 108, 108, 108, + 89, 90, 91, 108, 93, 94, 108, 66, 108, 68, + 108, 108, 71, 108, 108, 74, 75, 76, 66, 108, + 68, 108, 81, 71, 108, 84, 74, 75, 76, 108, + 89, 90, 91, 81, 93, 94, 84, 108, 108, 108, + 108, 89, 90, 91, 108, 93, 94, 108, 108, 66, + 108, 68, 108, 108, 71, 108, 108, 74, 75, 76, + 108, 108, 108, 108, 81, 108, 108, 84, 108, 108, + 108, 108, 89, 90, 91, 108, 93, 94, 108, 66, + 108, 68, 108, 108, 71, 108, 108, 74, 75, 76, + 66, 108, 68, 108, 81, 71, 108, 84, 74, 75, + 76, 108, 89, 90, 91, 81, 93, 94, 84, 108, + 108, 108, 108, 89, 90, 91, 1, 93, 94, 108, + 108, 66, 108, 68, 108, 73, 71, 108, 13, 74, + 75, 108, 17, 18, 108, 83, 81, 85, 86, 87, + 108, 26, 108, 88, 89, 90, 91, 32, 93, 94, + 35, 66, 108, 68, 108, 73, 71, 108, 108, 74, + 75, 108, 47, 108, 108, 83, 81, 85, 86, 87, + 108, 108, 108, 88, 89, 90, 91, 2, 93, 94, + 108, 108, 21, 108, 9, 108, 108, 12, 108, 108, + 15, 16, 17, 18, 2, 108, 108, 22, 37, 38, + 39, 9, 108, 108, 12, 108, 108, 108, 16, 17, + 18, 108, 108, 108, 22, 54, 55, 56, 57, 44, + 108, 108, 47, 66, 49, 68, 51, 108, 71, 108, + 108, 74, 75, 108, 108, 108, 44, 108, 81, 47, + 108, 49, 2, 51, 52, 108, 89, 90, 91, 9, + 93, 94, 12, 73, 108, 15, 16, 17, 18, 108, + 108, 108, 22, 83, 108, 85, 86, 87, 108, 108, + 108, 66, 108, 68, 108, 108, 71, 108, 108, 74, + 75, 108, 108, 108, 44, 108, 81, 47, 108, 49, + 108, 51, 108, 108, 89, 90, 91, 108, 93, 94, + 108, 108, 108, 66, 108, 68, 108, 108, 71, 108, + 108, 74, 75, 108, 66, 108, 68, 108, 81, 71, + 108, 108, 74, 75, 108, 108, 89, 90, 91, 81, + 93, 94, 108, 108, 108, 108, 108, 89, 90, 91, + 108, 93, 94, 66, 108, 68, 108, 108, 71, 108, + 108, 74, 75, 108, 66, 108, 68, 108, 81, 71, + 108, 108, 74, 75, 108, 108, 89, 90, 91, 81, + 93, 94, 108, 108, 108, 108, 108, 89, 90, 91, + 2, 93, 94, 66, 108, 68, 108, 9, 71, 108, + 12, 74, 75, 108, 16, 17, 18, 108, 81, 108, + 22, 37, 38, 39, 108, 108, 89, 90, 91, 108, + 93, 94, 108, 108, 108, 108, 52, 108, 54, 55, + 56, 57, 44, 108, 108, 47, 108, 49, 2, 51, + 108, 108, 24, 108, 26, 9, 108, 108, 12, 108, + 32, 108, 16, 17, 18, 37, 38, 39, 22, 2, + 108, 108, 108, 108, 108, 108, 108, 108, 108, 108, + 108, 108, 54, 55, 56, 57, 108, 108, 108, 108, + 44, 108, 108, 47, 108, 49, 108, 51, 108, 108, + 9, 108, 35, 12, 37, 38, 39, 16, 17, 18, + 108, 108, 108, 108, 47, 108, 108, 108, 108, 108, + 26, 54, 55, 56, 57, 108, 32, 108, 13, 108, + 108, 37, 38, 39, 108, 44, 108, 108, 47, 108, + 49, 108, 51, 36, 37, 38, 39, 108, 54, 55, + 56, 57, 37, 38, 39, 108, 13, 36, 37, 38, + 39, 54, 55, 56, 57, 13, 108, 108, 108, 54, + 55, 56, 57, 108, 108, 54, 55, 56, 57, 13, + 37, 38, 39, 108, 108, 108, 13, 108, 108, 37, + 38, 39, 108, 108, 108, 108, 108, 54, 55, 56, + 57, 2, 108, 37, 38, 39, 54, 55, 56, 57, + 37, 38, 39, 108, 37, 38, 39, 13, 108, 108, + 54, 55, 56, 57, 108, 108, 108, 54, 55, 56, + 57, 54, 55, 56, 57, 108, 37, 38, 39, 108, + 108, 37, 38, 39, 108, 108, 108, 108, 108, 108, + 108, 108, 108, 54, 55, 56, 57, 108, 54, 55, + 56, 57, ); const YY_SHIFT_USE_DFLT = -10; - const YY_SHIFT_MAX = 230; + const YY_SHIFT_MAX = 248; public static $yy_shift_ofst = array( - -10, 41, 41, 91, 141, 141, 191, 91, 91, 141, - 91, 191, -9, 241, 91, 91, 91, 241, 91, 91, - 91, 91, 91, 291, 341, 91, 91, 91, 91, 91, - 91, 91, 91, 391, 91, 91, 91, 441, 491, 491, - 491, 491, 491, 491, 491, 491, 736, 955, 955, 763, - 848, 862, 78, 92, 286, 907, 1763, 1795, 557, 1788, - 1801, 1824, 1832, 408, 1845, 1853, 1882, 1858, 458, 458, - 458, 458, 458, 458, 458, 458, 458, 458, 458, 458, - 458, 458, 458, 576, 724, 29, 96, 286, 286, 92, - 92, 378, 966, 1635, 642, 2, 643, 813, 921, 667, - 667, 196, 104, 404, 104, 399, 155, 212, 71, 71, - 179, 245, 104, 79, 79, 79, 79, 79, 79, 79, - 79, 120, 120, 160, 79, -10, -10, 852, 1706, 911, - 1564, 1912, 292, 710, 788, 279, 104, 104, 501, 104, - 494, 104, 494, 104, 313, 313, 104, 104, 104, 104, - 313, 377, 313, 313, 313, 363, 313, 363, 313, 104, - 104, 104, 104, 79, 483, 79, 79, 483, 79, 538, - 120, 120, 120, -10, -10, -10, -10, -10, -10, 1758, - 4, 43, 333, 383, 734, 284, 112, 395, 453, 216, - 269, 259, 60, 625, 472, 496, 511, 339, 402, 528, - 520, 531, 565, 554, 621, 618, 623, 629, 631, 639, - 644, 645, 656, 655, 630, 646, 654, 653, 638, 672, - 538, 676, 657, 662, 677, 652, 669, 705, 715, 697, - 719, + -10, 42, 42, 93, 144, 144, 195, 93, 93, 144, + 93, 195, -9, 246, 93, 93, 93, 246, 93, 93, + 93, 93, 93, 297, 348, 93, 93, 93, 93, 93, + 93, 93, 93, 93, 93, 399, 93, 93, 93, 450, + 501, 501, 501, 501, 501, 501, 501, 501, 1888, 1954, + 1954, 92, 857, 1595, 80, 194, 241, 241, 889, 1641, + 856, 568, 1967, 1844, 1981, 1975, 2003, 2012, 518, 2026, + 2033, 2059, 2064, 2037, 2037, 2037, 2037, 2037, 2037, 2037, + 2037, 2037, 2037, 2037, 2037, 2037, 2037, 2037, 654, 722, + 81, 102, 241, 241, 241, 194, 194, 335, 921, 1655, + 751, 298, 349, 473, 672, 773, 153, 268, 3, 3, + 3, 343, 370, 343, 394, 332, 100, 100, 8, 418, + 437, 418, 343, 22, 22, 22, 22, 22, 22, 22, + 22, 217, 22, -10, -10, 1672, 1720, 1858, 1906, 1951, + 145, 775, 309, 132, 343, 343, 59, 343, 402, 343, + 402, 343, 395, 395, 418, 395, 239, 395, 395, 395, + 343, 343, 343, 343, 343, 343, 395, 483, 395, 395, + 395, 427, 395, 427, 395, 418, 418, 343, 343, 343, + 343, 22, 588, 22, 22, 588, 22, 556, -10, -10, + -10, -10, -10, -10, -10, -10, 1927, 4, 44, 167, + 218, 826, 175, 188, 105, 360, 496, 516, -3, 435, + 484, 166, 490, 506, 397, 480, 488, 475, 512, 546, + 276, 620, 625, 627, 632, 640, 641, 642, 643, 629, + 651, 624, 639, 648, 653, 649, 667, 556, 674, 679, + 650, 652, 683, 663, 666, 689, 676, 687, 709, ); - const YY_REDUCE_USE_DFLT = -73; - const YY_REDUCE_MAX = 178; + const YY_REDUCE_USE_DFLT = -70; + const YY_REDUCE_MAX = 195; public static $yy_reduce_ofst = array( - 5, 485, 516, 549, 560, 592, 624, 635, 664, 695, - 728, 757, 932, 967, 978, 1007, 1038, 1049, 1078, 1109, - 1120, 1149, 1180, 1191, 1220, 1251, 1262, 1291, 1322, 1333, - 1362, 1393, 1404, 1433, 1464, 1475, 1504, 1535, 1546, 1575, - 1606, 1617, 1646, 1677, 1688, 1717, 32, 82, 132, 174, - -61, 163, 474, 117, 213, 57, 11, 11, 11, 11, - 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, - 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, - 11, 11, 11, 184, 265, -34, 199, 107, 244, 315, - 317, 266, -54, 348, 51, -72, 346, 346, 346, 80, - 51, 129, 124, 296, 386, 394, 416, 129, -69, 86, - 346, 346, 405, 461, 346, 346, 346, 346, 346, 346, - 346, 129, 382, 346, 346, 463, 346, 98, 98, 98, - 98, 98, 157, 165, 98, 98, 192, 192, 234, 192, - 349, 192, 392, 192, 331, 331, 192, 192, 192, 192, - 331, 430, 331, 331, 331, 435, 331, 445, 331, 192, - 192, 192, 192, 238, 387, 238, 238, 387, 238, 482, - 437, 437, 437, 551, 499, 521, 537, 527, 532, + 207, 495, 527, 560, 571, 603, 635, 646, 675, 704, + 736, 765, 887, 917, 928, 959, 989, 1000, 1031, 1061, + 1072, 1103, 1133, 1144, 1175, 1205, 1216, 1247, 1277, 1288, + 1319, 1349, 1360, 1391, 1421, 1432, 1463, 1493, 1504, 1535, + 1565, 1637, 1685, 1717, 1728, 1757, 1768, 1797, 1532, 1562, + 1660, 382, -60, 269, 178, 711, 320, 371, 227, 215, + 215, 215, 215, 215, 215, 215, 215, 215, 215, 215, + 215, 215, 215, 215, 215, 215, 215, 215, 215, 215, + 215, 215, 215, 215, 215, 215, 215, 215, -69, -28, + -33, 12, -5, 65, 89, 457, 487, 221, 21, 126, + 137, 180, 183, 201, 201, 201, 255, 255, 234, 277, + 137, 293, 314, 331, 344, 323, 29, 288, 201, 255, + 201, 369, 404, 405, 201, 201, 201, 201, 201, 201, + 201, 201, 201, 425, 201, 86, 86, 86, 86, 86, + 103, 185, 86, 86, 261, 261, 307, 261, 416, 261, + 452, 261, 454, 454, 478, 454, 492, 454, 454, 454, + 261, 261, 261, 261, 261, 261, 454, 497, 454, 454, + 454, 502, 454, 505, 454, 478, 478, 261, 261, 261, + 261, 481, 507, 481, 481, 507, 481, 509, 544, 530, + 531, 532, 520, 524, 535, 538, ); public static $yyExpectedTokens = array( array(), - array(9, 10, 11, 12, 14, 16, 18, 19, 21, 24, 28, 29, 30, 32, 34, 37, 40, 41, 42, 43, 45, 47, 49, 50, 52, 57, 58, ), - array(9, 10, 11, 12, 14, 16, 18, 19, 21, 24, 28, 29, 30, 32, 34, 37, 40, 41, 42, 43, 45, 47, 49, 50, 52, 57, 58, ), - array(9, 10, 11, 12, 14, 16, 18, 19, 21, 24, 28, 29, 30, 32, 34, 37, 40, 41, 42, 43, 45, 47, 49, 50, 52, 57, 58, ), - array(9, 10, 11, 12, 14, 16, 18, 19, 21, 24, 28, 29, 30, 32, 34, 37, 40, 41, 42, 43, 45, 47, 49, 50, 52, 57, 58, ), - array(9, 10, 11, 12, 14, 16, 18, 19, 21, 24, 28, 29, 30, 32, 34, 37, 40, 41, 42, 43, 45, 47, 49, 50, 52, 57, 58, ), - array(9, 10, 11, 12, 14, 16, 18, 19, 21, 24, 28, 29, 30, 32, 34, 37, 40, 41, 42, 43, 45, 47, 49, 50, 52, 57, 58, ), - array(9, 10, 11, 12, 14, 16, 18, 19, 21, 24, 28, 29, 30, 32, 34, 37, 40, 41, 42, 43, 45, 47, 49, 50, 52, 57, 58, ), - array(9, 10, 11, 12, 14, 16, 18, 19, 21, 24, 28, 29, 30, 32, 34, 37, 40, 41, 42, 43, 45, 47, 49, 50, 52, 57, 58, ), - array(9, 10, 11, 12, 14, 16, 18, 19, 21, 24, 28, 29, 30, 32, 34, 37, 40, 41, 42, 43, 45, 47, 49, 50, 52, 57, 58, ), - array(9, 10, 11, 12, 14, 16, 18, 19, 21, 24, 28, 29, 30, 32, 34, 37, 40, 41, 42, 43, 45, 47, 49, 50, 52, 57, 58, ), - array(9, 10, 11, 12, 14, 16, 18, 19, 21, 24, 28, 29, 30, 32, 34, 37, 40, 41, 42, 43, 45, 47, 49, 50, 52, 57, 58, ), - array(9, 10, 11, 12, 14, 16, 18, 19, 21, 24, 28, 29, 30, 32, 34, 37, 40, 41, 42, 43, 45, 47, 49, 50, 51, 52, 57, 58, ), - array(9, 10, 11, 12, 14, 16, 18, 19, 21, 24, 28, 29, 30, 32, 34, 37, 40, 41, 42, 43, 45, 47, 49, 50, 52, 57, 58, ), - array(9, 10, 11, 12, 14, 16, 18, 19, 21, 24, 28, 29, 30, 32, 34, 37, 40, 41, 42, 43, 45, 47, 49, 50, 52, 57, 58, ), - array(9, 10, 11, 12, 14, 16, 18, 19, 21, 24, 28, 29, 30, 32, 34, 37, 40, 41, 42, 43, 45, 47, 49, 50, 52, 57, 58, ), - array(9, 10, 11, 12, 14, 16, 18, 19, 21, 24, 28, 29, 30, 32, 34, 37, 40, 41, 42, 43, 45, 47, 49, 50, 52, 57, 58, ), - array(9, 10, 11, 12, 14, 16, 18, 19, 21, 24, 28, 29, 30, 32, 34, 37, 40, 41, 42, 43, 45, 47, 49, 50, 52, 57, 58, ), - array(9, 10, 11, 12, 14, 16, 18, 19, 21, 24, 28, 29, 30, 32, 34, 37, 40, 41, 42, 43, 45, 47, 49, 50, 52, 57, 58, ), - array(9, 10, 11, 12, 14, 16, 18, 19, 21, 24, 28, 29, 30, 32, 34, 37, 40, 41, 42, 43, 45, 47, 49, 50, 52, 57, 58, ), - array(9, 10, 11, 12, 14, 16, 18, 19, 21, 24, 28, 29, 30, 32, 34, 37, 40, 41, 42, 43, 45, 47, 49, 50, 52, 57, 58, ), - array(9, 10, 11, 12, 14, 16, 18, 19, 21, 24, 28, 29, 30, 32, 34, 37, 40, 41, 42, 43, 45, 47, 49, 50, 52, 57, 58, ), - array(9, 10, 11, 12, 14, 16, 18, 19, 21, 24, 28, 29, 30, 32, 34, 37, 40, 41, 42, 43, 45, 47, 49, 50, 52, 57, 58, ), - array(9, 10, 11, 12, 14, 16, 18, 19, 21, 24, 28, 29, 30, 32, 34, 37, 40, 41, 42, 43, 45, 47, 49, 50, 52, 57, 58, ), - array(9, 10, 11, 12, 14, 16, 18, 19, 21, 24, 28, 29, 30, 32, 34, 37, 40, 41, 42, 43, 45, 47, 49, 50, 52, 57, 58, ), - array(9, 10, 11, 12, 14, 16, 18, 19, 21, 24, 28, 29, 30, 32, 34, 37, 40, 41, 42, 43, 45, 47, 49, 50, 52, 57, 58, ), - array(9, 10, 11, 12, 14, 16, 18, 19, 21, 24, 28, 29, 30, 32, 34, 37, 40, 41, 42, 43, 45, 47, 49, 50, 52, 57, 58, ), - array(9, 10, 11, 12, 14, 16, 18, 19, 21, 24, 28, 29, 30, 32, 34, 37, 40, 41, 42, 43, 45, 47, 49, 50, 52, 57, 58, ), - array(9, 10, 11, 12, 14, 16, 18, 19, 21, 24, 28, 29, 30, 32, 34, 37, 40, 41, 42, 43, 45, 47, 49, 50, 52, 57, 58, ), - array(9, 10, 11, 12, 14, 16, 18, 19, 21, 24, 28, 29, 30, 32, 34, 37, 40, 41, 42, 43, 45, 47, 49, 50, 52, 57, 58, ), - array(9, 10, 11, 12, 14, 16, 18, 19, 21, 24, 28, 29, 30, 32, 34, 37, 40, 41, 42, 43, 45, 47, 49, 50, 52, 57, 58, ), - array(9, 10, 11, 12, 14, 16, 18, 19, 21, 24, 28, 29, 30, 32, 34, 37, 40, 41, 42, 43, 45, 47, 49, 50, 52, 57, 58, ), - array(9, 10, 11, 12, 14, 16, 18, 19, 21, 24, 28, 29, 30, 32, 34, 37, 40, 41, 42, 43, 45, 47, 49, 50, 52, 57, 58, ), - array(9, 10, 11, 12, 14, 16, 18, 19, 21, 24, 28, 29, 30, 32, 34, 37, 40, 41, 42, 43, 45, 47, 49, 50, 52, 57, 58, ), - array(9, 10, 11, 12, 14, 16, 18, 19, 21, 24, 28, 29, 30, 32, 34, 37, 40, 41, 42, 43, 45, 47, 49, 50, 52, 57, 58, ), - array(9, 10, 11, 12, 14, 16, 18, 19, 21, 24, 28, 29, 30, 32, 34, 37, 40, 41, 42, 43, 45, 47, 49, 50, 52, 57, 58, ), - array(9, 10, 11, 12, 14, 16, 18, 19, 21, 24, 28, 29, 30, 32, 34, 37, 40, 41, 42, 43, 45, 47, 49, 50, 52, 57, 58, ), - array(9, 10, 11, 12, 14, 16, 18, 19, 24, 28, 29, 30, 32, 34, 37, 40, 41, 42, 43, 45, 47, 49, 50, 52, 57, 58, ), - array(9, 10, 11, 12, 14, 16, 18, 19, 24, 28, 29, 30, 32, 34, 37, 40, 41, 42, 43, 45, 47, 49, 50, 52, 57, 58, ), - array(9, 10, 11, 12, 14, 16, 18, 19, 24, 28, 29, 30, 32, 34, 37, 40, 41, 42, 43, 45, 47, 49, 50, 52, 57, 58, ), - array(9, 10, 11, 12, 14, 16, 18, 19, 24, 28, 29, 30, 32, 34, 37, 40, 41, 42, 43, 45, 47, 49, 50, 52, 57, 58, ), - array(9, 10, 11, 12, 14, 16, 18, 19, 24, 28, 29, 30, 32, 34, 37, 40, 41, 42, 43, 45, 47, 49, 50, 52, 57, 58, ), - array(9, 10, 11, 12, 14, 16, 18, 19, 24, 28, 29, 30, 32, 34, 37, 40, 41, 42, 43, 45, 47, 49, 50, 52, 57, 58, ), - array(9, 10, 11, 12, 14, 16, 18, 19, 24, 28, 29, 30, 32, 34, 37, 40, 41, 42, 43, 45, 47, 49, 50, 52, 57, 58, ), - array(9, 10, 11, 12, 14, 16, 18, 19, 24, 28, 29, 30, 32, 34, 37, 40, 41, 42, 43, 45, 47, 49, 50, 52, 57, 58, ), - array(9, 10, 11, 12, 14, 16, 18, 19, 24, 28, 29, 30, 32, 34, 37, 40, 41, 42, 43, 45, 47, 49, 50, 52, 57, 58, ), - array(23, 25, 31, 36, 37, 38, 53, 54, 55, 56, ), - array(25, 31, 36, 37, 38, 53, 54, 55, 56, ), - array(25, 31, 36, 37, 38, 53, 54, 55, 56, ), - array(14, 16, 47, 49, 52, ), - array(3, 9, 10, 11, 12, 14, 18, 19, 24, 28, 29, 30, 58, 59, ), - array(1, 13, 17, 25, 31, 34, 46, ), - array(14, 16, 49, 52, ), - array(14, 34, 52, ), - array(1, 25, 31, ), - array(3, 9, 10, 11, 12, 14, 18, 19, 24, 28, 29, 30, 58, 59, ), - array(20, 36, 37, 38, 53, 54, 55, 56, ), - array(26, 36, 37, 38, 53, 54, 55, 56, ), - array(13, 36, 37, 38, 53, 54, 55, 56, ), - array(35, 36, 37, 38, 53, 54, 55, 56, ), - array(36, 37, 38, 51, 53, 54, 55, 56, ), - array(35, 36, 37, 38, 53, 54, 55, 56, ), - array(13, 36, 37, 38, 53, 54, 55, 56, ), - array(36, 37, 38, 53, 54, 55, 56, 59, ), - array(13, 36, 37, 38, 53, 54, 55, 56, ), - array(13, 36, 37, 38, 53, 54, 55, 56, ), - array(2, 36, 37, 38, 53, 54, 55, 56, ), - array(13, 36, 37, 38, 53, 54, 55, 56, ), - array(36, 37, 38, 53, 54, 55, 56, ), - array(36, 37, 38, 53, 54, 55, 56, ), - array(36, 37, 38, 53, 54, 55, 56, ), - array(36, 37, 38, 53, 54, 55, 56, ), - array(36, 37, 38, 53, 54, 55, 56, ), - array(36, 37, 38, 53, 54, 55, 56, ), - array(36, 37, 38, 53, 54, 55, 56, ), - array(36, 37, 38, 53, 54, 55, 56, ), - array(36, 37, 38, 53, 54, 55, 56, ), - array(36, 37, 38, 53, 54, 55, 56, ), - array(36, 37, 38, 53, 54, 55, 56, ), - array(36, 37, 38, 53, 54, 55, 56, ), - array(36, 37, 38, 53, 54, 55, 56, ), - array(36, 37, 38, 53, 54, 55, 56, ), - array(36, 37, 38, 53, 54, 55, 56, ), - array(9, 12, 16, 25, 27, 31, ), - array(9, 12, 16, 25, 31, ), - array(17, 43, 50, ), - array(15, 17, 46, ), - array(1, 25, 31, ), - array(1, 25, 31, ), - array(14, 34, 52, ), - array(14, 34, 52, ), + array(9, 10, 11, 12, 14, 16, 19, 20, 22, 25, 29, 30, 31, 33, 35, 38, 41, 42, 43, 44, 46, 48, 50, 51, 53, 58, 59, ), + array(9, 10, 11, 12, 14, 16, 19, 20, 22, 25, 29, 30, 31, 33, 35, 38, 41, 42, 43, 44, 46, 48, 50, 51, 53, 58, 59, ), + array(9, 10, 11, 12, 14, 16, 19, 20, 22, 25, 29, 30, 31, 33, 35, 38, 41, 42, 43, 44, 46, 48, 50, 51, 53, 58, 59, ), + array(9, 10, 11, 12, 14, 16, 19, 20, 22, 25, 29, 30, 31, 33, 35, 38, 41, 42, 43, 44, 46, 48, 50, 51, 53, 58, 59, ), + array(9, 10, 11, 12, 14, 16, 19, 20, 22, 25, 29, 30, 31, 33, 35, 38, 41, 42, 43, 44, 46, 48, 50, 51, 53, 58, 59, ), + array(9, 10, 11, 12, 14, 16, 19, 20, 22, 25, 29, 30, 31, 33, 35, 38, 41, 42, 43, 44, 46, 48, 50, 51, 53, 58, 59, ), + array(9, 10, 11, 12, 14, 16, 19, 20, 22, 25, 29, 30, 31, 33, 35, 38, 41, 42, 43, 44, 46, 48, 50, 51, 53, 58, 59, ), + array(9, 10, 11, 12, 14, 16, 19, 20, 22, 25, 29, 30, 31, 33, 35, 38, 41, 42, 43, 44, 46, 48, 50, 51, 53, 58, 59, ), + array(9, 10, 11, 12, 14, 16, 19, 20, 22, 25, 29, 30, 31, 33, 35, 38, 41, 42, 43, 44, 46, 48, 50, 51, 53, 58, 59, ), + array(9, 10, 11, 12, 14, 16, 19, 20, 22, 25, 29, 30, 31, 33, 35, 38, 41, 42, 43, 44, 46, 48, 50, 51, 53, 58, 59, ), + array(9, 10, 11, 12, 14, 16, 19, 20, 22, 25, 29, 30, 31, 33, 35, 38, 41, 42, 43, 44, 46, 48, 50, 51, 53, 58, 59, ), + array(9, 10, 11, 12, 14, 16, 19, 20, 22, 25, 29, 30, 31, 33, 35, 38, 41, 42, 43, 44, 46, 48, 50, 51, 52, 53, 58, 59, ), + array(9, 10, 11, 12, 14, 16, 19, 20, 22, 25, 29, 30, 31, 33, 35, 38, 41, 42, 43, 44, 46, 48, 50, 51, 53, 58, 59, ), + array(9, 10, 11, 12, 14, 16, 19, 20, 22, 25, 29, 30, 31, 33, 35, 38, 41, 42, 43, 44, 46, 48, 50, 51, 53, 58, 59, ), + array(9, 10, 11, 12, 14, 16, 19, 20, 22, 25, 29, 30, 31, 33, 35, 38, 41, 42, 43, 44, 46, 48, 50, 51, 53, 58, 59, ), + array(9, 10, 11, 12, 14, 16, 19, 20, 22, 25, 29, 30, 31, 33, 35, 38, 41, 42, 43, 44, 46, 48, 50, 51, 53, 58, 59, ), + array(9, 10, 11, 12, 14, 16, 19, 20, 22, 25, 29, 30, 31, 33, 35, 38, 41, 42, 43, 44, 46, 48, 50, 51, 53, 58, 59, ), + array(9, 10, 11, 12, 14, 16, 19, 20, 22, 25, 29, 30, 31, 33, 35, 38, 41, 42, 43, 44, 46, 48, 50, 51, 53, 58, 59, ), + array(9, 10, 11, 12, 14, 16, 19, 20, 22, 25, 29, 30, 31, 33, 35, 38, 41, 42, 43, 44, 46, 48, 50, 51, 53, 58, 59, ), + array(9, 10, 11, 12, 14, 16, 19, 20, 22, 25, 29, 30, 31, 33, 35, 38, 41, 42, 43, 44, 46, 48, 50, 51, 53, 58, 59, ), + array(9, 10, 11, 12, 14, 16, 19, 20, 22, 25, 29, 30, 31, 33, 35, 38, 41, 42, 43, 44, 46, 48, 50, 51, 53, 58, 59, ), + array(9, 10, 11, 12, 14, 16, 19, 20, 22, 25, 29, 30, 31, 33, 35, 38, 41, 42, 43, 44, 46, 48, 50, 51, 53, 58, 59, ), + array(9, 10, 11, 12, 14, 16, 19, 20, 22, 25, 29, 30, 31, 33, 35, 38, 41, 42, 43, 44, 46, 48, 50, 51, 53, 58, 59, ), + array(9, 10, 11, 12, 14, 16, 19, 20, 22, 25, 29, 30, 31, 33, 35, 38, 41, 42, 43, 44, 46, 48, 50, 51, 53, 58, 59, ), + array(9, 10, 11, 12, 14, 16, 19, 20, 22, 25, 29, 30, 31, 33, 35, 38, 41, 42, 43, 44, 46, 48, 50, 51, 53, 58, 59, ), + array(9, 10, 11, 12, 14, 16, 19, 20, 22, 25, 29, 30, 31, 33, 35, 38, 41, 42, 43, 44, 46, 48, 50, 51, 53, 58, 59, ), + array(9, 10, 11, 12, 14, 16, 19, 20, 22, 25, 29, 30, 31, 33, 35, 38, 41, 42, 43, 44, 46, 48, 50, 51, 53, 58, 59, ), + array(9, 10, 11, 12, 14, 16, 19, 20, 22, 25, 29, 30, 31, 33, 35, 38, 41, 42, 43, 44, 46, 48, 50, 51, 53, 58, 59, ), + array(9, 10, 11, 12, 14, 16, 19, 20, 22, 25, 29, 30, 31, 33, 35, 38, 41, 42, 43, 44, 46, 48, 50, 51, 53, 58, 59, ), + array(9, 10, 11, 12, 14, 16, 19, 20, 22, 25, 29, 30, 31, 33, 35, 38, 41, 42, 43, 44, 46, 48, 50, 51, 53, 58, 59, ), + array(9, 10, 11, 12, 14, 16, 19, 20, 22, 25, 29, 30, 31, 33, 35, 38, 41, 42, 43, 44, 46, 48, 50, 51, 53, 58, 59, ), + array(9, 10, 11, 12, 14, 16, 19, 20, 22, 25, 29, 30, 31, 33, 35, 38, 41, 42, 43, 44, 46, 48, 50, 51, 53, 58, 59, ), + array(9, 10, 11, 12, 14, 16, 19, 20, 22, 25, 29, 30, 31, 33, 35, 38, 41, 42, 43, 44, 46, 48, 50, 51, 53, 58, 59, ), + array(9, 10, 11, 12, 14, 16, 19, 20, 22, 25, 29, 30, 31, 33, 35, 38, 41, 42, 43, 44, 46, 48, 50, 51, 53, 58, 59, ), + array(9, 10, 11, 12, 14, 16, 19, 20, 22, 25, 29, 30, 31, 33, 35, 38, 41, 42, 43, 44, 46, 48, 50, 51, 53, 58, 59, ), + array(9, 10, 11, 12, 14, 16, 19, 20, 22, 25, 29, 30, 31, 33, 35, 38, 41, 42, 43, 44, 46, 48, 50, 51, 53, 58, 59, ), + array(9, 10, 11, 12, 14, 16, 19, 20, 22, 25, 29, 30, 31, 33, 35, 38, 41, 42, 43, 44, 46, 48, 50, 51, 53, 58, 59, ), + array(9, 10, 11, 12, 14, 16, 19, 20, 22, 25, 29, 30, 31, 33, 35, 38, 41, 42, 43, 44, 46, 48, 50, 51, 53, 58, 59, ), + array(9, 10, 11, 12, 14, 16, 19, 20, 25, 29, 30, 31, 33, 35, 38, 41, 42, 43, 44, 46, 48, 50, 51, 53, 58, 59, ), + array(9, 10, 11, 12, 14, 16, 19, 20, 25, 29, 30, 31, 33, 35, 38, 41, 42, 43, 44, 46, 48, 50, 51, 53, 58, 59, ), + array(9, 10, 11, 12, 14, 16, 19, 20, 25, 29, 30, 31, 33, 35, 38, 41, 42, 43, 44, 46, 48, 50, 51, 53, 58, 59, ), + array(9, 10, 11, 12, 14, 16, 19, 20, 25, 29, 30, 31, 33, 35, 38, 41, 42, 43, 44, 46, 48, 50, 51, 53, 58, 59, ), + array(9, 10, 11, 12, 14, 16, 19, 20, 25, 29, 30, 31, 33, 35, 38, 41, 42, 43, 44, 46, 48, 50, 51, 53, 58, 59, ), + array(9, 10, 11, 12, 14, 16, 19, 20, 25, 29, 30, 31, 33, 35, 38, 41, 42, 43, 44, 46, 48, 50, 51, 53, 58, 59, ), + array(9, 10, 11, 12, 14, 16, 19, 20, 25, 29, 30, 31, 33, 35, 38, 41, 42, 43, 44, 46, 48, 50, 51, 53, 58, 59, ), + array(9, 10, 11, 12, 14, 16, 19, 20, 25, 29, 30, 31, 33, 35, 38, 41, 42, 43, 44, 46, 48, 50, 51, 53, 58, 59, ), + array(9, 10, 11, 12, 14, 16, 19, 20, 25, 29, 30, 31, 33, 35, 38, 41, 42, 43, 44, 46, 48, 50, 51, 53, 58, 59, ), + array(24, 26, 32, 37, 38, 39, 54, 55, 56, 57, ), + array(26, 32, 37, 38, 39, 54, 55, 56, 57, ), + array(26, 32, 37, 38, 39, 54, 55, 56, 57, ), + array(14, 16, 48, 50, 53, ), + array(3, 9, 10, 11, 12, 14, 19, 20, 25, 29, 30, 31, 59, 60, ), + array(1, 13, 17, 18, 26, 32, 35, 47, ), + array(14, 16, 50, 53, ), + array(14, 35, 53, ), + array(1, 26, 32, ), + array(1, 26, 32, ), + array(3, 9, 10, 11, 12, 14, 19, 20, 25, 29, 30, 31, 59, 60, ), + array(21, 37, 38, 39, 54, 55, 56, 57, ), + array(27, 37, 38, 39, 54, 55, 56, 57, ), + array(13, 37, 38, 39, 54, 55, 56, 57, ), + array(36, 37, 38, 39, 54, 55, 56, 57, ), + array(37, 38, 39, 52, 54, 55, 56, 57, ), + array(36, 37, 38, 39, 54, 55, 56, 57, ), + array(13, 37, 38, 39, 54, 55, 56, 57, ), + array(13, 37, 38, 39, 54, 55, 56, 57, ), + array(13, 37, 38, 39, 54, 55, 56, 57, ), + array(37, 38, 39, 54, 55, 56, 57, 60, ), + array(13, 37, 38, 39, 54, 55, 56, 57, ), + array(13, 37, 38, 39, 54, 55, 56, 57, ), + array(2, 37, 38, 39, 54, 55, 56, 57, ), + array(13, 37, 38, 39, 54, 55, 56, 57, ), + array(37, 38, 39, 54, 55, 56, 57, ), + array(37, 38, 39, 54, 55, 56, 57, ), + array(37, 38, 39, 54, 55, 56, 57, ), + array(37, 38, 39, 54, 55, 56, 57, ), + array(37, 38, 39, 54, 55, 56, 57, ), + array(37, 38, 39, 54, 55, 56, 57, ), + array(37, 38, 39, 54, 55, 56, 57, ), + array(37, 38, 39, 54, 55, 56, 57, ), + array(37, 38, 39, 54, 55, 56, 57, ), + array(37, 38, 39, 54, 55, 56, 57, ), + array(37, 38, 39, 54, 55, 56, 57, ), + array(37, 38, 39, 54, 55, 56, 57, ), + array(37, 38, 39, 54, 55, 56, 57, ), + array(37, 38, 39, 54, 55, 56, 57, ), + array(37, 38, 39, 54, 55, 56, 57, ), + array(9, 12, 16, 26, 28, 32, ), + array(9, 12, 16, 26, 32, ), + array(17, 18, 44, 51, ), + array(15, 17, 18, 47, ), + array(1, 26, 32, ), + array(1, 26, 32, ), + array(1, 26, 32, ), + array(14, 35, 53, ), + array(14, 35, 53, ), array(1, 2, ), - array(3, 4, 5, 6, 9, 10, 11, 12, 18, 19, 24, 28, 29, 30, ), - array(2, 9, 12, 15, 16, 17, 21, 43, 46, 48, 50, ), - array(9, 12, 16, 48, ), - array(12, 14, 16, 52, ), - array(1, 13, 25, 31, ), - array(1, 13, 25, 31, ), - array(1, 13, 25, 31, ), + array(3, 4, 5, 6, 9, 10, 11, 12, 19, 20, 25, 29, 30, 31, ), + array(2, 9, 12, 15, 16, 17, 18, 22, 44, 47, 49, 51, ), + array(9, 12, 16, 49, ), + array(12, 14, 16, 53, ), + array(12, 14, 16, 53, ), + array(1, 13, 26, 32, ), + array(1, 13, 26, 32, ), + array(1, 13, 26, 32, ), + array(15, 17, 18, 47, ), + array(17, 18, 47, ), array(9, 12, 16, ), array(9, 12, 16, ), - array(15, 17, 46, ), - array(25, 31, ), - array(14, 52, ), - array(25, 31, ), - array(25, 31, ), + array(9, 12, 16, ), + array(26, 32, ), + array(14, 53, ), + array(26, 32, ), + array(26, 32, ), array(1, 17, ), - array(17, 46, ), array(14, 16, ), array(14, 16, ), - array(1, 51, ), - array(1, 27, ), - array(25, 31, ), + array(1, 52, ), + array(17, 18, ), + array(1, 28, ), + array(17, 18, ), + array(26, 32, ), array(1, ), array(1, ), array(1, ), @@ -838,89 +884,96 @@ private function mergePrefixCode($code) array(1, ), array(1, ), array(1, ), - array(17, ), - array(17, ), array(1, ), array(1, ), array(), array(), - array(2, 9, 12, 16, 17, 21, 43, 46, 48, 50, 51, ), - array(2, 9, 12, 15, 16, 17, 21, 43, 46, 48, 50, ), - array(2, 9, 12, 16, 17, 21, 43, 46, 48, 50, ), - array(2, 9, 12, 16, 17, 21, 43, 46, 48, 50, ), - array(9, 12, 16, 17, 43, 46, 48, 50, ), - array(12, 14, 16, 32, 52, ), - array(9, 12, 16, 48, ), + array(2, 9, 12, 16, 17, 18, 22, 44, 47, 49, 51, 52, ), + array(2, 9, 12, 15, 16, 17, 18, 22, 44, 47, 49, 51, ), + array(2, 9, 12, 16, 17, 18, 22, 44, 47, 49, 51, ), + array(2, 9, 12, 16, 17, 18, 22, 44, 47, 49, 51, ), + array(9, 12, 16, 17, 18, 44, 47, 49, 51, ), + array(12, 14, 16, 33, 53, ), + array(9, 12, 16, 49, ), array(9, 12, 16, ), - array(15, 43, 50, ), - array(25, 31, ), - array(25, 31, ), - array(15, 21, ), - array(25, 31, ), - array(14, 52, ), - array(25, 31, ), - array(14, 52, ), - array(25, 31, ), - array(43, 50, ), - array(43, 50, ), - array(25, 31, ), - array(25, 31, ), - array(25, 31, ), - array(25, 31, ), - array(43, 50, ), - array(12, 34, ), - array(43, 50, ), - array(43, 50, ), - array(43, 50, ), - array(43, 50, ), - array(43, 50, ), - array(43, 50, ), - array(43, 50, ), - array(25, 31, ), - array(25, 31, ), - array(25, 31, ), - array(25, 31, ), + array(15, 44, 51, ), + array(26, 32, ), + array(26, 32, ), + array(15, 22, ), + array(26, 32, ), + array(14, 53, ), + array(26, 32, ), + array(14, 53, ), + array(26, 32, ), + array(44, 51, ), + array(44, 51, ), + array(17, 18, ), + array(44, 51, ), + array(12, 35, ), + array(44, 51, ), + array(44, 51, ), + array(44, 51, ), + array(26, 32, ), + array(26, 32, ), + array(26, 32, ), + array(26, 32, ), + array(26, 32, ), + array(26, 32, ), + array(44, 51, ), + array(12, 35, ), + array(44, 51, ), + array(44, 51, ), + array(44, 51, ), + array(44, 51, ), + array(44, 51, ), + array(44, 51, ), + array(44, 51, ), + array(17, 18, ), + array(17, 18, ), + array(26, 32, ), + array(26, 32, ), + array(26, 32, ), + array(26, 32, ), array(1, ), array(2, ), array(1, ), array(1, ), array(2, ), array(1, ), - array(34, ), - array(17, ), - array(17, ), - array(17, ), + array(35, ), + array(), array(), array(), array(), array(), array(), array(), - array(2, 34, 36, 37, 38, 46, 53, 54, 55, 56, ), - array(13, 20, 22, 25, 31, 33, 35, 43, ), - array(13, 15, 25, 31, 34, 46, ), - array(13, 21, 25, 31, 44, ), - array(13, 21, 25, 31, 44, ), - array(9, 12, 16, 48, ), - array(34, 43, 46, 51, ), - array(27, 34, 46, ), - array(21, 44, 59, ), - array(21, 44, 51, ), + array(), + array(2, 35, 37, 38, 39, 47, 54, 55, 56, 57, ), + array(13, 21, 23, 26, 32, 34, 36, 44, ), + array(13, 15, 26, 32, 35, 47, ), + array(13, 22, 26, 32, 45, ), + array(13, 22, 26, 32, 45, ), + array(9, 12, 16, 49, ), + array(35, 44, 47, 52, ), + array(28, 35, 47, ), + array(22, 45, 60, ), + array(22, 45, 52, ), array(6, 8, ), array(7, 8, ), - array(20, 33, ), - array(16, 48, ), - array(21, 44, ), - array(34, 46, ), - array(34, 46, ), - array(34, 46, ), - array(33, 35, ), - array(33, 35, ), - array(33, 51, ), - array(43, 51, ), - array(33, 35, ), - array(33, 35, ), - array(15, 43, ), + array(21, 34, ), + array(16, 49, ), + array(22, 45, ), + array(35, 47, ), + array(35, 47, ), + array(35, 47, ), + array(34, 36, ), + array(34, 36, ), + array(34, 52, ), + array(44, 52, ), + array(34, 36, ), + array(34, 36, ), + array(15, 44, ), array(7, ), array(13, ), array(13, ), @@ -931,23 +984,25 @@ private function mergePrefixCode($code) array(16, ), array(14, ), array(16, ), - array(43, ), - array(32, ), - array(32, ), - array(34, ), - array(39, ), + array(44, ), + array(33, ), + array(33, ), + array(35, ), + array(40, ), array(16, ), - array(34, ), + array(35, ), array(16, ), - array(49, ), - array(49, ), array(16, ), - array(51, ), - array(51, ), + array(50, ), + array(50, ), + array(16, ), + array(52, ), + array(52, ), array(16, ), array(15, ), - array(35, ), - array(22, ), + array(36, ), + array(23, ), + array(), array(), array(), array(), @@ -1046,45 +1101,47 @@ private function mergePrefixCode($code) array(), ); public static $yy_default = array( - 337, 514, 514, 514, 499, 499, 514, 476, 476, 514, - 476, 514, 514, 514, 514, 514, 514, 514, 514, 514, - 514, 514, 514, 514, 514, 514, 514, 514, 514, 514, - 514, 514, 514, 514, 514, 514, 514, 514, 514, 514, - 514, 514, 514, 514, 514, 514, 377, 356, 377, 514, - 514, 415, 514, 514, 377, 514, 514, 382, 514, 514, - 514, 514, 350, 514, 514, 514, 514, 514, 361, 475, - 399, 403, 474, 500, 502, 501, 404, 384, 388, 389, - 379, 382, 350, 377, 377, 489, 431, 377, 377, 514, - 514, 368, 327, 430, 441, 514, 391, 391, 391, 441, - 441, 431, 377, 514, 377, 377, 371, 431, 514, 514, - 391, 391, 358, 373, 391, 397, 406, 407, 408, 398, - 402, 431, 486, 406, 396, 335, 483, 430, 430, 430, - 430, 430, 514, 443, 441, 457, 347, 357, 514, 360, - 514, 365, 514, 366, 438, 439, 351, 353, 354, 355, - 467, 441, 466, 469, 468, 434, 435, 436, 437, 367, - 363, 364, 359, 369, 477, 372, 374, 478, 424, 441, - 463, 490, 487, 335, 482, 482, 482, 441, 441, 415, - 411, 415, 405, 405, 442, 415, 415, 405, 405, 333, - 514, 514, 514, 405, 415, 425, 514, 514, 514, 514, - 411, 514, 514, 411, 514, 514, 514, 514, 514, 514, - 514, 514, 514, 514, 411, 413, 514, 488, 417, 514, - 457, 514, 514, 514, 514, 514, 420, 514, 514, 514, - 385, 328, 329, 330, 331, 332, 334, 336, 338, 339, - 340, 341, 342, 343, 344, 346, 375, 376, 459, 460, - 461, 481, 370, 479, 480, 409, 418, 419, 428, 429, - 440, 444, 445, 446, 392, 393, 394, 395, 410, 412, - 414, 416, 420, 421, 422, 400, 401, 423, 426, 427, - 454, 452, 455, 491, 492, 493, 494, 432, 433, 465, - 458, 473, 345, 464, 510, 511, 503, 504, 505, 508, - 507, 509, 512, 513, 506, 496, 498, 497, 495, 470, - 453, 451, 448, 449, 450, 456, 471, 472, 417, 447, - 485, 462, 457, 378, 362, 386, 390, + 356, 540, 540, 540, 525, 525, 540, 502, 502, 540, + 502, 540, 540, 540, 540, 540, 540, 540, 540, 540, + 540, 540, 540, 540, 540, 540, 540, 540, 540, 540, + 540, 540, 540, 540, 540, 540, 540, 540, 540, 540, + 540, 540, 540, 540, 540, 540, 540, 540, 398, 377, + 398, 540, 540, 436, 540, 540, 398, 398, 540, 540, + 403, 540, 540, 540, 540, 540, 540, 369, 540, 540, + 540, 540, 540, 382, 501, 420, 424, 500, 526, 528, + 527, 425, 405, 409, 410, 400, 403, 369, 398, 398, + 515, 452, 398, 398, 398, 540, 540, 389, 346, 451, + 462, 540, 540, 412, 412, 412, 452, 452, 462, 462, + 462, 398, 540, 398, 398, 392, 540, 540, 412, 452, + 412, 512, 379, 394, 412, 418, 427, 428, 429, 419, + 423, 427, 417, 354, 509, 451, 451, 451, 451, 451, + 540, 464, 462, 478, 366, 378, 540, 381, 540, 386, + 540, 387, 459, 460, 484, 493, 462, 492, 495, 494, + 370, 372, 373, 374, 375, 376, 488, 462, 487, 490, + 489, 455, 456, 457, 458, 516, 513, 388, 384, 385, + 380, 390, 503, 393, 395, 504, 445, 462, 354, 508, + 508, 508, 462, 462, 462, 462, 436, 432, 436, 426, + 426, 463, 436, 436, 426, 426, 352, 540, 540, 540, + 426, 436, 446, 540, 540, 540, 540, 432, 540, 540, + 432, 540, 540, 540, 540, 540, 540, 540, 540, 540, + 540, 432, 434, 540, 514, 438, 540, 478, 540, 540, + 540, 540, 540, 540, 441, 540, 540, 540, 406, 347, + 348, 349, 350, 351, 353, 355, 357, 358, 359, 360, + 361, 362, 363, 365, 396, 397, 480, 481, 482, 507, + 391, 505, 506, 430, 439, 440, 449, 450, 461, 465, + 466, 467, 413, 414, 415, 416, 431, 433, 435, 437, + 441, 442, 443, 421, 422, 444, 447, 448, 475, 473, + 476, 517, 518, 519, 520, 453, 454, 486, 479, 499, + 364, 485, 496, 536, 537, 529, 530, 531, 534, 533, + 535, 538, 539, 532, 522, 524, 523, 521, 491, 474, + 472, 469, 470, 471, 477, 497, 498, 438, 468, 511, + 483, 478, 399, 383, 407, 411, ); - const YYNOCODE = 108; + const YYNOCODE = 109; const YYSTACKDEPTH = 500; - const YYNSTATE = 327; - const YYNRULE = 187; - const YYERRORSYMBOL = 60; + const YYNSTATE = 346; + const YYNRULE = 194; + const YYERRORSYMBOL = 61; const YYERRSYMDT = 'yy0'; const YYFALLBACK = 0; public static $yyFallback = array( @@ -1117,29 +1174,29 @@ public function PrintTrace() 'STRIPON', 'STRIPOFF', 'LITERALSTART', 'LITERALEND', 'LITERAL', 'SIMPELOUTPUT', 'SIMPLETAG', 'SMARTYBLOCKCHILDPARENT', 'LDEL', 'RDEL', 'DOLLARID', 'EQUAL', - 'ID', 'PTR', 'LDELIF', 'LDELFOR', - 'SEMICOLON', 'INCDEC', 'TO', 'STEP', - 'LDELFOREACH', 'SPACE', 'AS', 'APTR', - 'LDELSETFILTER', 'CLOSETAG', 'LDELSLASH', 'ATTR', - 'INTEGER', 'COMMA', 'OPENP', 'CLOSEP', - 'MATH', 'UNIMATH', 'ISIN', 'QMARK', - 'NOT', 'TYPECAST', 'HEX', 'DOT', - 'INSTANCEOF', 'SINGLEQUOTESTRING', 'DOUBLECOLON', 'NAMESPACE', - 'AT', 'HATCH', 'OPENB', 'CLOSEB', - 'DOLLAR', 'LOGOP', 'SLOGOP', 'TLOGOP', - 'SINGLECOND', 'ARRAYOPEN', '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', - 'tlop', 'lop', 'scond', 'array', - 'function', 'ns1', 'doublequoted_with_quotes', 'static_class_access', - 'arraydef', 'object', 'arrayindex', 'indexdef', - 'varvarele', 'objectchain', 'objectelement', 'method', - 'params', 'modifier', 'modparameter', 'arrayelements', - 'arrayelement', 'doublequoted', 'doublequotedcontent', + 'ID', 'PTR', 'NSPTR', 'LDELIF', + 'LDELFOR', 'SEMICOLON', 'INCDEC', 'TO', + 'STEP', 'LDELFOREACH', 'SPACE', 'AS', + 'APTR', 'LDELSETFILTER', 'CLOSETAG', 'LDELSLASH', + 'ATTR', 'INTEGER', 'COMMA', 'OPENP', + 'CLOSEP', 'MATH', 'UNIMATH', 'ISIN', + 'QMARK', 'NOT', 'TYPECAST', 'HEX', + 'DOT', 'INSTANCEOF', 'SINGLEQUOTESTRING', 'DOUBLECOLON', + 'NAMESPACE', 'AT', 'HATCH', 'OPENB', + 'CLOSEB', 'DOLLAR', 'LOGOP', 'SLOGOP', + 'TLOGOP', 'SINGLECOND', 'ARRAYOPEN', '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', 'tlop', 'lop', 'scond', + 'array', 'function', 'ns1', 'doublequoted_with_quotes', + 'static_class_access', 'arraydef', 'object', 'arrayindex', + 'indexdef', 'varvarele', 'objectchain', 'objectelement', + 'method', 'params', 'modifier', 'modparameter', + 'arrayelements', 'arrayelement', 'doublequoted', 'doublequotedcontent', ); public static $yyRuleName = array( @@ -1172,6 +1229,8 @@ public function PrintTrace() 'tag ::= LDEL ID modifierlist attributes', 'tag ::= LDEL ID PTR ID attributes', 'tag ::= LDEL ID PTR ID modifierlist attributes', + 'tag ::= LDEL ID NSPTR ID attributes', + 'tag ::= LDEL ID NSPTR ID modifierlist attributes', 'tag ::= LDELIF expr', 'tag ::= LDELIF expr attributes', 'tag ::= LDELIF statement', @@ -1287,6 +1346,11 @@ public function PrintTrace() 'objectelement ::= PTR LDEL expr RDEL arrayindex', 'objectelement ::= PTR ID LDEL expr RDEL arrayindex', 'objectelement ::= PTR method', + 'objectelement ::= NSPTR ID arrayindex', + 'objectelement ::= NSPTR varvar arrayindex', + 'objectelement ::= NSPTR LDEL expr RDEL arrayindex', + 'objectelement ::= NSPTR ID LDEL expr RDEL arrayindex', + 'objectelement ::= NSPTR method', 'function ::= ns1 OPENP params CLOSEP', 'method ::= ID OPENP params CLOSEP', 'method ::= DOLLARID OPENP params CLOSEP', @@ -1645,193 +1709,200 @@ public function yy_shift($yyNewState, $yyMajor, $yypMinor) } public static $yyRuleInfo = array( - array( 0 => 61, 1 => 1 ), - array( 0 => 62, 1 => 2 ), - array( 0 => 62, 1 => 2 ), - array( 0 => 62, 1 => 2 ), - array( 0 => 62, 1 => 4 ), + array( 0 => 62, 1 => 1 ), + array( 0 => 63, 1 => 2 ), + array( 0 => 63, 1 => 2 ), + array( 0 => 63, 1 => 2 ), array( 0 => 63, 1 => 4 ), - array( 0 => 63, 1 => 1 ), - array( 0 => 64, 1 => 2 ), - array( 0 => 64, 1 => 0 ), - array( 0 => 62, 1 => 2 ), - array( 0 => 62, 1 => 0 ), - array( 0 => 65, 1 => 1 ), - array( 0 => 65, 1 => 1 ), - array( 0 => 65, 1 => 1 ), - array( 0 => 65, 1 => 3 ), + 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 => 66, 1 => 2 ), - array( 0 => 69, 1 => 2 ), - array( 0 => 68, 1 => 2 ), - array( 0 => 71, 1 => 1 ), - array( 0 => 71, 1 => 1 ), - array( 0 => 71, 1 => 1 ), - array( 0 => 67, 1 => 3 ), + array( 0 => 67, 1 => 1 ), array( 0 => 67, 1 => 2 ), - array( 0 => 67, 1 => 4 ), - array( 0 => 67, 1 => 5 ), - array( 0 => 67, 1 => 6 ), - array( 0 => 67, 1 => 2 ), - array( 0 => 67, 1 => 3 ), - array( 0 => 67, 1 => 2 ), - array( 0 => 67, 1 => 3 ), - array( 0 => 67, 1 => 8 ), - array( 0 => 79, 1 => 2 ), - array( 0 => 79, 1 => 1 ), - array( 0 => 67, 1 => 5 ), - array( 0 => 67, 1 => 7 ), - array( 0 => 67, 1 => 6 ), - array( 0 => 67, 1 => 8 ), array( 0 => 67, 1 => 2 ), - array( 0 => 67, 1 => 3 ), - array( 0 => 67, 1 => 4 ), - array( 0 => 65, 1 => 1 ), - array( 0 => 67, 1 => 2 ), - array( 0 => 67, 1 => 3 ), - array( 0 => 67, 1 => 4 ), - array( 0 => 67, 1 => 5 ), - array( 0 => 72, 1 => 2 ), + array( 0 => 70, 1 => 2 ), + array( 0 => 69, 1 => 2 ), array( 0 => 72, 1 => 1 ), - array( 0 => 72, 1 => 0 ), - array( 0 => 82, 1 => 4 ), - array( 0 => 82, 1 => 2 ), - array( 0 => 82, 1 => 2 ), - array( 0 => 82, 1 => 2 ), - array( 0 => 82, 1 => 2 ), - array( 0 => 82, 1 => 2 ), - array( 0 => 82, 1 => 4 ), - array( 0 => 78, 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 => 5 ), + array( 0 => 68, 1 => 6 ), + 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 => 77, 1 => 3 ), - array( 0 => 77, 1 => 3 ), - array( 0 => 77, 1 => 3 ), - array( 0 => 77, 1 => 3 ), - array( 0 => 75, 1 => 1 ), + 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 => 2 ), + array( 0 => 76, 1 => 2 ), + array( 0 => 76, 1 => 3 ), + array( 0 => 76, 1 => 3 ), + array( 0 => 76, 1 => 3 ), + 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 => 1 ), array( 0 => 75, 1 => 3 ), - array( 0 => 75, 1 => 3 ), - array( 0 => 83, 1 => 7 ), - array( 0 => 83, 1 => 7 ), - array( 0 => 74, 1 => 1 ), - array( 0 => 74, 1 => 2 ), - array( 0 => 74, 1 => 2 ), - array( 0 => 74, 1 => 2 ), - array( 0 => 74, 1 => 2 ), + 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 => 2 ), - array( 0 => 74, 1 => 2 ), - array( 0 => 74, 1 => 1 ), array( 0 => 74, 1 => 1 ), array( 0 => 74, 1 => 3 ), + array( 0 => 74, 1 => 4 ), array( 0 => 74, 1 => 3 ), - array( 0 => 74, 1 => 3 ), - array( 0 => 74, 1 => 1 ), - array( 0 => 74, 1 => 1 ), - array( 0 => 74, 1 => 3 ), - array( 0 => 74, 1 => 1 ), - array( 0 => 74, 1 => 2 ), - array( 0 => 74, 1 => 1 ), - array( 0 => 74, 1 => 1 ), - array( 0 => 74, 1 => 3 ), - array( 0 => 89, 1 => 1 ), - array( 0 => 89, 1 => 1 ), - array( 0 => 73, 1 => 1 ), - array( 0 => 73, 1 => 1 ), - array( 0 => 73, 1 => 3 ), - array( 0 => 73, 1 => 1 ), - array( 0 => 73, 1 => 3 ), - array( 0 => 73, 1 => 4 ), - array( 0 => 73, 1 => 3 ), - array( 0 => 73, 1 => 4 ), - array( 0 => 70, 1 => 2 ), - array( 0 => 70, 1 => 2 ), - array( 0 => 94, 1 => 2 ), - array( 0 => 94, 1 => 0 ), - array( 0 => 95, 1 => 2 ), + array( 0 => 74, 1 => 4 ), + array( 0 => 71, 1 => 2 ), + array( 0 => 71, 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 => 80, 1 => 1 ), - array( 0 => 80, 1 => 1 ), - array( 0 => 80, 1 => 2 ), - array( 0 => 96, 1 => 1 ), - array( 0 => 96, 1 => 1 ), + array( 0 => 95, 1 => 0 ), + array( 0 => 96, 1 => 2 ), + array( 0 => 96, 1 => 2 ), + array( 0 => 96, 1 => 4 ), + array( 0 => 96, 1 => 2 ), + array( 0 => 96, 1 => 2 ), + array( 0 => 96, 1 => 4 ), + array( 0 => 96, 1 => 3 ), + array( 0 => 96, 1 => 5 ), + array( 0 => 96, 1 => 3 ), + array( 0 => 96, 1 => 3 ), + array( 0 => 96, 1 => 3 ), + array( 0 => 96, 1 => 3 ), array( 0 => 96, 1 => 3 ), - array( 0 => 93, 1 => 2 ), + array( 0 => 96, 1 => 3 ), + array( 0 => 96, 1 => 2 ), + array( 0 => 81, 1 => 1 ), + array( 0 => 81, 1 => 1 ), + array( 0 => 81, 1 => 2 ), + array( 0 => 97, 1 => 1 ), 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 => 97, 1 => 3 ), + array( 0 => 94, 1 => 2 ), + array( 0 => 98, 1 => 1 ), array( 0 => 98, 1 => 2 ), - array( 0 => 88, 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 => 76, 1 => 3 ), - array( 0 => 76, 1 => 2 ), + array( 0 => 99, 1 => 3 ), + array( 0 => 99, 1 => 3 ), + array( 0 => 99, 1 => 5 ), + array( 0 => 99, 1 => 6 ), + array( 0 => 99, 1 => 2 ), + array( 0 => 99, 1 => 3 ), + array( 0 => 99, 1 => 3 ), + array( 0 => 99, 1 => 5 ), + array( 0 => 99, 1 => 6 ), + array( 0 => 99, 1 => 2 ), + array( 0 => 89, 1 => 4 ), + array( 0 => 100, 1 => 4 ), + array( 0 => 100, 1 => 4 ), array( 0 => 101, 1 => 3 ), - array( 0 => 101, 1 => 2 ), - array( 0 => 81, 1 => 2 ), - array( 0 => 81, 1 => 0 ), - array( 0 => 102, 1 => 2 ), + array( 0 => 101, 1 => 1 ), + array( 0 => 101, 1 => 0 ), + array( 0 => 77, 1 => 3 ), + array( 0 => 77, 1 => 2 ), array( 0 => 102, 1 => 3 ), array( 0 => 102, 1 => 2 ), - array( 0 => 91, 1 => 1 ), - array( 0 => 91, 1 => 2 ), - array( 0 => 91, 1 => 1 ), - array( 0 => 91, 1 => 2 ), - array( 0 => 91, 1 => 3 ), - array( 0 => 85, 1 => 1 ), - array( 0 => 85, 1 => 1 ), - array( 0 => 84, 1 => 1 ), - array( 0 => 86, 1 => 1 ), - array( 0 => 92, 1 => 3 ), - array( 0 => 92, 1 => 3 ), - array( 0 => 103, 1 => 1 ), + array( 0 => 82, 1 => 2 ), + array( 0 => 82, 1 => 0 ), + array( 0 => 103, 1 => 2 ), array( 0 => 103, 1 => 3 ), - array( 0 => 103, 1 => 0 ), - array( 0 => 104, 1 => 3 ), - array( 0 => 104, 1 => 3 ), + array( 0 => 103, 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 => 86, 1 => 1 ), + array( 0 => 86, 1 => 1 ), + array( 0 => 85, 1 => 1 ), + array( 0 => 87, 1 => 1 ), + array( 0 => 93, 1 => 3 ), + array( 0 => 93, 1 => 3 ), array( 0 => 104, 1 => 1 ), - array( 0 => 90, 1 => 2 ), - array( 0 => 90, 1 => 3 ), - array( 0 => 105, 1 => 2 ), + array( 0 => 104, 1 => 3 ), + array( 0 => 104, 1 => 0 ), + array( 0 => 105, 1 => 3 ), + array( 0 => 105, 1 => 3 ), 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 => 91, 1 => 2 ), + array( 0 => 91, 1 => 3 ), + array( 0 => 106, 1 => 2 ), array( 0 => 106, 1 => 1 ), + array( 0 => 107, 1 => 3 ), + array( 0 => 107, 1 => 3 ), + array( 0 => 107, 1 => 1 ), + array( 0 => 107, 1 => 3 ), + array( 0 => 107, 1 => 3 ), + array( 0 => 107, 1 => 1 ), + array( 0 => 107, 1 => 1 ), ); public static $yyReduceMap = array( @@ -1845,23 +1916,23 @@ public function yy_shift($yyNewState, $yyMajor, $yypMinor) 21 => 6, 22 => 6, 23 => 6, - 35 => 6, - 55 => 6, - 56 => 6, - 64 => 6, - 65 => 6, - 78 => 6, - 83 => 6, - 84 => 6, - 89 => 6, - 93 => 6, - 94 => 6, - 98 => 6, - 99 => 6, + 37 => 6, + 57 => 6, + 58 => 6, + 66 => 6, + 67 => 6, + 80 => 6, + 85 => 6, + 86 => 6, + 91 => 6, + 95 => 6, + 96 => 6, + 100 => 6, 101 => 6, - 106 => 6, - 170 => 6, - 175 => 6, + 103 => 6, + 108 => 6, + 177 => 6, + 182 => 6, 7 => 7, 8 => 8, 9 => 9, @@ -1879,15 +1950,15 @@ public function yy_shift($yyNewState, $yyMajor, $yypMinor) 25 => 25, 26 => 26, 27 => 27, + 29 => 27, 28 => 28, - 29 => 29, - 30 => 30, - 32 => 30, + 30 => 28, 31 => 31, + 32 => 32, + 34 => 32, 33 => 33, - 34 => 34, + 35 => 35, 36 => 36, - 37 => 37, 38 => 38, 39 => 39, 40 => 40, @@ -1900,86 +1971,86 @@ public function yy_shift($yyNewState, $yyMajor, $yypMinor) 47 => 47, 48 => 48, 49 => 49, - 58 => 49, - 148 => 49, - 152 => 49, - 156 => 49, - 158 => 49, 50 => 50, - 149 => 50, - 155 => 50, 51 => 51, + 60 => 51, + 155 => 51, + 159 => 51, + 163 => 51, + 165 => 51, 52 => 52, - 53 => 52, + 156 => 52, + 162 => 52, + 53 => 53, 54 => 54, - 133 => 54, - 57 => 57, + 55 => 54, + 56 => 56, + 135 => 56, 59 => 59, - 60 => 60, - 61 => 60, + 61 => 61, 62 => 62, - 63 => 63, - 66 => 66, - 67 => 67, + 63 => 62, + 64 => 64, + 65 => 65, 68 => 68, 69 => 69, - 70 => 69, + 70 => 70, 71 => 71, - 72 => 72, + 72 => 71, 73 => 73, 74 => 74, 75 => 75, 76 => 76, 77 => 77, + 78 => 78, 79 => 79, - 81 => 79, - 82 => 79, - 113 => 79, - 80 => 80, - 85 => 85, - 86 => 86, + 81 => 81, + 83 => 81, + 84 => 81, + 115 => 81, + 82 => 82, 87 => 87, 88 => 88, + 89 => 89, 90 => 90, - 91 => 91, - 92 => 91, - 95 => 95, - 96 => 96, + 92 => 92, + 93 => 93, + 94 => 93, 97 => 97, - 100 => 100, + 98 => 98, + 99 => 99, 102 => 102, - 103 => 103, 104 => 104, 105 => 105, + 106 => 106, 107 => 107, - 108 => 108, 109 => 109, 110 => 110, 111 => 111, 112 => 112, + 113 => 113, 114 => 114, - 172 => 114, - 115 => 115, 116 => 116, + 179 => 116, 117 => 117, 118 => 118, 119 => 119, 120 => 120, - 128 => 120, 121 => 121, 122 => 122, + 130 => 122, 123 => 123, - 124 => 123, - 126 => 123, - 127 => 123, + 124 => 124, 125 => 125, - 129 => 129, - 130 => 130, + 126 => 125, + 128 => 125, + 129 => 125, + 127 => 127, 131 => 131, - 176 => 131, 132 => 132, + 133 => 133, + 183 => 133, 134 => 134, - 135 => 135, 136 => 136, 137 => 137, 138 => 138, @@ -1992,35 +2063,42 @@ public function yy_shift($yyNewState, $yyMajor, $yypMinor) 145 => 145, 146 => 146, 147 => 147, + 148 => 148, + 149 => 149, 150 => 150, 151 => 151, + 152 => 152, 153 => 153, 154 => 154, 157 => 157, - 159 => 159, + 158 => 158, 160 => 160, 161 => 161, - 162 => 162, - 163 => 163, 164 => 164, - 165 => 165, 166 => 166, 167 => 167, 168 => 168, - 169 => 168, + 169 => 169, + 170 => 170, 171 => 171, + 172 => 172, 173 => 173, 174 => 174, - 177 => 177, + 175 => 175, + 176 => 175, 178 => 178, - 179 => 179, 180 => 180, - 183 => 180, 181 => 181, - 184 => 181, - 182 => 182, + 184 => 184, 185 => 185, 186 => 186, + 187 => 187, + 190 => 187, + 188 => 188, + 191 => 188, + 189 => 189, + 192 => 192, + 193 => 193, ); // line 245 "src/Parser/TemplateParser.y" public function yy_r0(){ @@ -2186,59 +2264,59 @@ public function yy_r27(){ public function yy_r28(){ $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 436 "src/Parser/TemplateParser.y" - public function yy_r29(){ +// line 446 "src/Parser/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 441 "src/Parser/TemplateParser.y" - public function yy_r30(){ +// line 451 "src/Parser/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 446 "src/Parser/TemplateParser.y" - public function yy_r31(){ +// line 456 "src/Parser/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 457 "src/Parser/TemplateParser.y" - public function yy_r33(){ +// line 467 "src/Parser/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 461 "src/Parser/TemplateParser.y" - public function yy_r34(){ +// line 471 "src/Parser/TemplateParser.y" + public function yy_r36(){ $this->_retvalue = '='.$this->yystack[$this->yyidx + 0]->minor; } -// line 469 "src/Parser/TemplateParser.y" - public function yy_r36(){ +// line 479 "src/Parser/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 473 "src/Parser/TemplateParser.y" - public function yy_r37(){ +// line 483 "src/Parser/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 478 "src/Parser/TemplateParser.y" - public function yy_r38(){ +// line 488 "src/Parser/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 "src/Parser/TemplateParser.y" - public function yy_r39(){ +// line 492 "src/Parser/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 485 "src/Parser/TemplateParser.y" - public function yy_r40(){ +// line 495 "src/Parser/TemplateParser.y" + public function yy_r42(){ $this->_retvalue = $this->compiler->compileTag('foreach',$this->yystack[$this->yyidx + 0]->minor); } -// line 490 "src/Parser/TemplateParser.y" - public function yy_r41(){ +// line 500 "src/Parser/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 494 "src/Parser/TemplateParser.y" - public function yy_r42(){ +// line 504 "src/Parser/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 500 "src/Parser/TemplateParser.y" - public function yy_r43(){ +// line 510 "src/Parser/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; @@ -2247,37 +2325,37 @@ public function yy_r43(){ $this->_retvalue = $this->compiler->compileTag($tag.'close',array()); } } -// line 509 "src/Parser/TemplateParser.y" - public function yy_r44(){ +// line 519 "src/Parser/TemplateParser.y" + public function yy_r46(){ $this->_retvalue = $this->compiler->compileTag($this->yystack[$this->yyidx + 0]->minor.'close',array()); } -// line 513 "src/Parser/TemplateParser.y" - public function yy_r45(){ +// line 523 "src/Parser/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 518 "src/Parser/TemplateParser.y" - public function yy_r46(){ +// line 528 "src/Parser/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 522 "src/Parser/TemplateParser.y" - public function yy_r47(){ +// line 532 "src/Parser/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 530 "src/Parser/TemplateParser.y" - public function yy_r48(){ +// line 540 "src/Parser/TemplateParser.y" + public function yy_r50(){ $this->_retvalue = $this->yystack[$this->yyidx + -1]->minor; $this->_retvalue[] = $this->yystack[$this->yyidx + 0]->minor; } -// line 536 "src/Parser/TemplateParser.y" - public function yy_r49(){ +// line 546 "src/Parser/TemplateParser.y" + public function yy_r51(){ $this->_retvalue = array($this->yystack[$this->yyidx + 0]->minor); } -// line 541 "src/Parser/TemplateParser.y" - public function yy_r50(){ +// line 551 "src/Parser/TemplateParser.y" + public function yy_r52(){ $this->_retvalue = array(); } -// line 546 "src/Parser/TemplateParser.y" - public function yy_r51(){ +// line 556 "src/Parser/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); @@ -2287,101 +2365,101 @@ public function yy_r51(){ $this->_retvalue = array($this->yystack[$this->yyidx + -2]->minor=>'\''.$this->yystack[$this->yyidx + 0]->minor.'\''); } } -// line 557 "src/Parser/TemplateParser.y" - public function yy_r52(){ +// line 567 "src/Parser/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 565 "src/Parser/TemplateParser.y" - public function yy_r54(){ +// line 575 "src/Parser/TemplateParser.y" + public function yy_r56(){ $this->_retvalue = '\''.$this->yystack[$this->yyidx + 0]->minor.'\''; } -// line 577 "src/Parser/TemplateParser.y" - public function yy_r57(){ +// line 587 "src/Parser/TemplateParser.y" + public function yy_r59(){ $this->_retvalue = array($this->yystack[$this->yyidx + -2]->minor=>$this->yystack[$this->yyidx + 0]->minor); } -// line 590 "src/Parser/TemplateParser.y" - public function yy_r59(){ +// line 600 "src/Parser/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 595 "src/Parser/TemplateParser.y" - public function yy_r60(){ +// line 605 "src/Parser/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 602 "src/Parser/TemplateParser.y" - public function yy_r62(){ +// line 612 "src/Parser/TemplateParser.y" + public function yy_r64(){ $this->_retvalue = array('var' => $this->yystack[$this->yyidx + -2]->minor, 'value'=>$this->yystack[$this->yyidx + 0]->minor); } -// line 606 "src/Parser/TemplateParser.y" - public function yy_r63(){ +// line 616 "src/Parser/TemplateParser.y" + public function yy_r65(){ $this->_retvalue = $this->yystack[$this->yyidx + -1]->minor; } -// line 626 "src/Parser/TemplateParser.y" - public function yy_r66(){ - $this->_retvalue = '$_smarty_tpl->getVariable(\''. substr($this->yystack[$this->yyidx + 0]->minor,1) .'\')->preIncDec(\'' . $this->yystack[$this->yyidx + -1]->minor . '\')'; - } -// line 631 "src/Parser/TemplateParser.y" - public function yy_r67(){ - $this->_retvalue = '$_smarty_tpl->getVariable(\''. substr($this->yystack[$this->yyidx + -1]->minor,1) .'\')->postIncDec(\'' . $this->yystack[$this->yyidx + 0]->minor . '\')'; - } // line 636 "src/Parser/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 . '\')'; + $this->_retvalue = '$_smarty_tpl->getVariable(\''. substr($this->yystack[$this->yyidx + 0]->minor,1) .'\')->preIncDec(\'' . $this->yystack[$this->yyidx + -1]->minor . '\')'; } // line 641 "src/Parser/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; + $this->_retvalue = '$_smarty_tpl->getVariable(\''. substr($this->yystack[$this->yyidx + -1]->minor,1) .'\')->postIncDec(\'' . $this->yystack[$this->yyidx + 0]->minor . '\')'; + } +// line 646 "src/Parser/TemplateParser.y" + public function yy_r70(){ + $this->_retvalue = '$_smarty_tpl->getStreamVariable(\''.substr($this->yystack[$this->yyidx + -2]->minor,1).'://' . $this->yystack[$this->yyidx + 0]->minor . '\')'; } // line 651 "src/Parser/TemplateParser.y" public function yy_r71(){ + $this->_retvalue = $this->yystack[$this->yyidx + -2]->minor . trim($this->yystack[$this->yyidx + -1]->minor) . $this->yystack[$this->yyidx + 0]->minor; + } +// line 661 "src/Parser/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 655 "src/Parser/TemplateParser.y" - public function yy_r72(){ +// line 665 "src/Parser/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 659 "src/Parser/TemplateParser.y" - public function yy_r73(){ +// line 669 "src/Parser/TemplateParser.y" + public function yy_r75(){ $this->_retvalue = $this->yystack[$this->yyidx + 0]->minor . $this->yystack[$this->yyidx + -1]->minor . ')'; } -// line 663 "src/Parser/TemplateParser.y" - public function yy_r74(){ +// line 673 "src/Parser/TemplateParser.y" + public function yy_r76(){ $this->_retvalue = 'in_array('.$this->yystack[$this->yyidx + -2]->minor.','.$this->yystack[$this->yyidx + 0]->minor.')'; } -// line 667 "src/Parser/TemplateParser.y" - public function yy_r75(){ +// line 677 "src/Parser/TemplateParser.y" + public function yy_r77(){ $this->_retvalue = 'in_array('.$this->yystack[$this->yyidx + -2]->minor.',(array)'.$this->yystack[$this->yyidx + 0]->minor.')'; } -// line 675 "src/Parser/TemplateParser.y" - public function yy_r76(){ +// line 685 "src/Parser/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 679 "src/Parser/TemplateParser.y" - public function yy_r77(){ - $this->_retvalue = $this->yystack[$this->yyidx + -5]->minor.' ? '.$this->yystack[$this->yyidx + -2]->minor.' : '.$this->yystack[$this->yyidx + 0]->minor; - } // line 689 "src/Parser/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 699 "src/Parser/TemplateParser.y" + public function yy_r81(){ $this->_retvalue = $this->yystack[$this->yyidx + -1]->minor.$this->yystack[$this->yyidx + 0]->minor; } -// line 694 "src/Parser/TemplateParser.y" - public function yy_r80(){ +// line 704 "src/Parser/TemplateParser.y" + public function yy_r82(){ $this->_retvalue = '!'.$this->yystack[$this->yyidx + 0]->minor; } -// line 715 "src/Parser/TemplateParser.y" - public function yy_r85(){ +// line 725 "src/Parser/TemplateParser.y" + public function yy_r87(){ $this->_retvalue = $this->yystack[$this->yyidx + -2]->minor.'.'.$this->yystack[$this->yyidx + 0]->minor; } -// line 719 "src/Parser/TemplateParser.y" - public function yy_r86(){ +// line 729 "src/Parser/TemplateParser.y" + public function yy_r88(){ $this->_retvalue = $this->yystack[$this->yyidx + -1]->minor.'.'; } -// line 723 "src/Parser/TemplateParser.y" - public function yy_r87(){ +// line 733 "src/Parser/TemplateParser.y" + public function yy_r89(){ $this->_retvalue = '.'.$this->yystack[$this->yyidx + 0]->minor; } -// line 728 "src/Parser/TemplateParser.y" - public function yy_r88(){ +// line 738 "src/Parser/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); @@ -2391,16 +2469,16 @@ public function yy_r88(){ $this->_retvalue = '\''.$this->yystack[$this->yyidx + 0]->minor.'\''; } } -// line 745 "src/Parser/TemplateParser.y" - public function yy_r90(){ +// line 755 "src/Parser/TemplateParser.y" + public function yy_r92(){ $this->_retvalue = '('. $this->yystack[$this->yyidx + -1]->minor .')'; } -// line 749 "src/Parser/TemplateParser.y" - public function yy_r91(){ +// line 759 "src/Parser/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 767 "src/Parser/TemplateParser.y" - public function yy_r95(){ +// line 777 "src/Parser/TemplateParser.y" + public function yy_r97(){ if ($this->security && $this->security->static_classes !== array()) { $this->compiler->trigger_template_error('dynamic static class not allowed by security setting'); } @@ -2412,19 +2490,19 @@ public function yy_r95(){ } $this->_retvalue = $prefixVar .'::'.$this->yystack[$this->yyidx + 0]->minor[0].$this->yystack[$this->yyidx + 0]->minor[1]; } -// line 781 "src/Parser/TemplateParser.y" - public function yy_r96(){ +// line 791 "src/Parser/TemplateParser.y" + public function yy_r98(){ $prefixVar = $this->compiler->getNewPrefixVariable(); $tmp = $this->compiler->appendCode('', $this->yystack[$this->yyidx + 0]->minor); $this->compiler->appendPrefixCode($this->compiler->appendCode($tmp, "")); $this->_retvalue = $prefixVar; } -// line 788 "src/Parser/TemplateParser.y" - public function yy_r97(){ +// line 798 "src/Parser/TemplateParser.y" + public function yy_r99(){ $this->_retvalue = $this->compiler->compileModifier($this->yystack[$this->yyidx + 0]->minor, $this->yystack[$this->yyidx + -1]->minor); } -// line 801 "src/Parser/TemplateParser.y" - public function yy_r100(){ +// line 811 "src/Parser/TemplateParser.y" + public function yy_r102(){ 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]; @@ -2435,16 +2513,16 @@ public function yy_r100(){ $this->compiler->trigger_template_error ('static class \''.$this->yystack[$this->yyidx + -2]->minor.'\' is undefined or not allowed by security setting'); } } -// line 820 "src/Parser/TemplateParser.y" - public function yy_r102(){ +// line 830 "src/Parser/TemplateParser.y" + public function yy_r104(){ $this->_retvalue = $this->yystack[$this->yyidx + 0]->minor; } -// line 831 "src/Parser/TemplateParser.y" - public function yy_r103(){ +// line 841 "src/Parser/TemplateParser.y" + public function yy_r105(){ $this->_retvalue = $this->compiler->compileVariable('\''.substr($this->yystack[$this->yyidx + 0]->minor,1).'\''); } -// line 834 "src/Parser/TemplateParser.y" - public function yy_r104(){ +// line 844 "src/Parser/TemplateParser.y" + public function yy_r106(){ if ($this->yystack[$this->yyidx + 0]->minor['var'] === '\'smarty\'') { $smarty_var = (new \Smarty\Compile\SpecialVariableCompiler())->compile(array(),$this->compiler,$this->yystack[$this->yyidx + 0]->minor['smarty_internal_index']); $this->_retvalue = $smarty_var; @@ -2455,164 +2533,196 @@ public function yy_r104(){ $this->_retvalue = $this->compiler->compileVariable($this->yystack[$this->yyidx + 0]->minor['var']).$this->yystack[$this->yyidx + 0]->minor['smarty_internal_index']; } } -// line 847 "src/Parser/TemplateParser.y" - public function yy_r105(){ - $this->_retvalue = '$_smarty_tpl->getVariable('. $this->yystack[$this->yyidx + -2]->minor .')->'.$this->yystack[$this->yyidx + 0]->minor; - } // line 857 "src/Parser/TemplateParser.y" public function yy_r107(){ + $this->_retvalue = '$_smarty_tpl->getVariable('. $this->yystack[$this->yyidx + -2]->minor .')->'.$this->yystack[$this->yyidx + 0]->minor; + } +// line 867 "src/Parser/TemplateParser.y" + public function yy_r109(){ $this->_retvalue = $this->compiler->compileConfigVariable('\'' . $this->yystack[$this->yyidx + -1]->minor . '\''); } -// line 861 "src/Parser/TemplateParser.y" - public function yy_r108(){ +// line 871 "src/Parser/TemplateParser.y" + public function yy_r110(){ $this->_retvalue = '(is_array($tmp = ' . $this->compiler->compileConfigVariable('\'' . $this->yystack[$this->yyidx + -2]->minor . '\'') . ') ? $tmp'.$this->yystack[$this->yyidx + 0]->minor.' :null)'; } -// line 865 "src/Parser/TemplateParser.y" - public function yy_r109(){ +// line 875 "src/Parser/TemplateParser.y" + public function yy_r111(){ $this->_retvalue = $this->compiler->compileConfigVariable($this->yystack[$this->yyidx + -1]->minor); } -// line 869 "src/Parser/TemplateParser.y" - public function yy_r110(){ +// line 879 "src/Parser/TemplateParser.y" + public function yy_r112(){ $this->_retvalue = '(is_array($tmp = ' . $this->compiler->compileConfigVariable($this->yystack[$this->yyidx + -2]->minor) . ') ? $tmp'.$this->yystack[$this->yyidx + 0]->minor.' : null)'; } -// line 873 "src/Parser/TemplateParser.y" - public function yy_r111(){ +// line 883 "src/Parser/TemplateParser.y" + public function yy_r113(){ $this->_retvalue = array('var'=>'\''.substr($this->yystack[$this->yyidx + -1]->minor,1).'\'', 'smarty_internal_index'=>$this->yystack[$this->yyidx + 0]->minor); } -// line 876 "src/Parser/TemplateParser.y" - public function yy_r112(){ +// line 886 "src/Parser/TemplateParser.y" + public function yy_r114(){ $this->_retvalue = array('var'=>$this->yystack[$this->yyidx + -1]->minor, 'smarty_internal_index'=>$this->yystack[$this->yyidx + 0]->minor); } -// line 889 "src/Parser/TemplateParser.y" - public function yy_r114(){ +// line 899 "src/Parser/TemplateParser.y" + public function yy_r116(){ return; } -// line 895 "src/Parser/TemplateParser.y" - public function yy_r115(){ +// line 905 "src/Parser/TemplateParser.y" + public function yy_r117(){ $this->_retvalue = '['.$this->compiler->compileVariable('\''.substr($this->yystack[$this->yyidx + 0]->minor,1).'\'').']'; } -// line 898 "src/Parser/TemplateParser.y" - public function yy_r116(){ +// line 908 "src/Parser/TemplateParser.y" + public function yy_r118(){ $this->_retvalue = '['.$this->compiler->compileVariable($this->yystack[$this->yyidx + 0]->minor).']'; } -// line 902 "src/Parser/TemplateParser.y" - public function yy_r117(){ +// line 912 "src/Parser/TemplateParser.y" + public function yy_r119(){ $this->_retvalue = '['.$this->compiler->compileVariable($this->yystack[$this->yyidx + -2]->minor).'->'.$this->yystack[$this->yyidx + 0]->minor.']'; } -// line 906 "src/Parser/TemplateParser.y" - public function yy_r118(){ +// line 916 "src/Parser/TemplateParser.y" + public function yy_r120(){ $this->_retvalue = '[\''. $this->yystack[$this->yyidx + 0]->minor .'\']'; } -// line 910 "src/Parser/TemplateParser.y" - public function yy_r119(){ +// line 920 "src/Parser/TemplateParser.y" + public function yy_r121(){ $this->_retvalue = '['. $this->yystack[$this->yyidx + 0]->minor .']'; } -// line 915 "src/Parser/TemplateParser.y" - public function yy_r120(){ +// line 925 "src/Parser/TemplateParser.y" + public function yy_r122(){ $this->_retvalue = '['. $this->yystack[$this->yyidx + -1]->minor .']'; } -// line 920 "src/Parser/TemplateParser.y" - public function yy_r121(){ +// line 930 "src/Parser/TemplateParser.y" + public function yy_r123(){ $this->_retvalue = '['.(new \Smarty\Compile\SpecialVariableCompiler())->compile(array(),$this->compiler,'[\'section\'][\''.$this->yystack[$this->yyidx + -1]->minor.'\'][\'index\']').']'; } -// line 924 "src/Parser/TemplateParser.y" - public function yy_r122(){ +// line 934 "src/Parser/TemplateParser.y" + public function yy_r124(){ $this->_retvalue = '['.(new \Smarty\Compile\SpecialVariableCompiler())->compile(array(),$this->compiler,'[\'section\'][\''.$this->yystack[$this->yyidx + -3]->minor.'\'][\''.$this->yystack[$this->yyidx + -1]->minor.'\']').']'; } -// line 927 "src/Parser/TemplateParser.y" - public function yy_r123(){ +// line 937 "src/Parser/TemplateParser.y" + public function yy_r125(){ $this->_retvalue = '['.$this->yystack[$this->yyidx + -1]->minor.']'; } -// line 933 "src/Parser/TemplateParser.y" - public function yy_r125(){ +// line 943 "src/Parser/TemplateParser.y" + public function yy_r127(){ $this->_retvalue = '['.$this->compiler->compileVariable('\''.substr($this->yystack[$this->yyidx + -1]->minor,1).'\'').']'; } -// line 949 "src/Parser/TemplateParser.y" - public function yy_r129(){ +// line 959 "src/Parser/TemplateParser.y" + public function yy_r131(){ $this->_retvalue = '[]'; } -// line 959 "src/Parser/TemplateParser.y" - public function yy_r130(){ +// line 969 "src/Parser/TemplateParser.y" + public function yy_r132(){ $this->_retvalue = '\''.substr($this->yystack[$this->yyidx + 0]->minor,1).'\''; } -// line 963 "src/Parser/TemplateParser.y" - public function yy_r131(){ +// line 973 "src/Parser/TemplateParser.y" + public function yy_r133(){ $this->_retvalue = '\'\''; } -// line 968 "src/Parser/TemplateParser.y" - public function yy_r132(){ +// line 978 "src/Parser/TemplateParser.y" + public function yy_r134(){ $this->_retvalue = $this->yystack[$this->yyidx + -1]->minor.'.'.$this->yystack[$this->yyidx + 0]->minor; } -// line 976 "src/Parser/TemplateParser.y" - public function yy_r134(){ +// line 986 "src/Parser/TemplateParser.y" + public function yy_r136(){ $var = trim(substr($this->yystack[$this->yyidx + 0]->minor, $this->compiler->getLdelLength(), -$this->compiler->getRdelLength()), ' $'); $this->_retvalue = $this->compiler->compileVariable('\''.$var.'\''); } -// line 982 "src/Parser/TemplateParser.y" - public function yy_r135(){ +// line 992 "src/Parser/TemplateParser.y" + public function yy_r137(){ $this->_retvalue = '('.$this->yystack[$this->yyidx + -1]->minor.')'; } -// line 989 "src/Parser/TemplateParser.y" - public function yy_r136(){ +// line 999 "src/Parser/TemplateParser.y" + public function yy_r138(){ if ($this->yystack[$this->yyidx + -1]->minor['var'] === '\'smarty\'') { $this->_retvalue = (new \Smarty\Compile\SpecialVariableCompiler())->compile(array(),$this->compiler,$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 998 "src/Parser/TemplateParser.y" - public function yy_r137(){ +// line 1008 "src/Parser/TemplateParser.y" + public function yy_r139(){ $this->_retvalue = $this->yystack[$this->yyidx + 0]->minor; } -// line 1003 "src/Parser/TemplateParser.y" - public function yy_r138(){ +// line 1013 "src/Parser/TemplateParser.y" + public function yy_r140(){ $this->_retvalue = $this->yystack[$this->yyidx + -1]->minor.$this->yystack[$this->yyidx + 0]->minor; } -// line 1008 "src/Parser/TemplateParser.y" - public function yy_r139(){ +// line 1018 "src/Parser/TemplateParser.y" + public function yy_r141(){ 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 1015 "src/Parser/TemplateParser.y" - public function yy_r140(){ +// line 1025 "src/Parser/TemplateParser.y" + public function yy_r142(){ 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 1022 "src/Parser/TemplateParser.y" - public function yy_r141(){ +// line 1032 "src/Parser/TemplateParser.y" + public function yy_r143(){ 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 1029 "src/Parser/TemplateParser.y" - public function yy_r142(){ +// line 1039 "src/Parser/TemplateParser.y" + public function yy_r144(){ 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 1037 "src/Parser/TemplateParser.y" - public function yy_r143(){ +// line 1047 "src/Parser/TemplateParser.y" + public function yy_r145(){ $this->_retvalue = '->'.$this->yystack[$this->yyidx + 0]->minor; } -// line 1045 "src/Parser/TemplateParser.y" - public function yy_r144(){ +// line 1052 "src/Parser/TemplateParser.y" + public 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 1059 "src/Parser/TemplateParser.y" + public function yy_r147(){ + 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 1066 "src/Parser/TemplateParser.y" + public 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 1073 "src/Parser/TemplateParser.y" + public 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 1081 "src/Parser/TemplateParser.y" + public function yy_r150(){ + $this->_retvalue = '?->'.$this->yystack[$this->yyidx + 0]->minor; + } +// line 1088 "src/Parser/TemplateParser.y" + public function yy_r151(){ $this->_retvalue = $this->compiler->compileFunctionCall($this->yystack[$this->yyidx + -3]->minor, $this->yystack[$this->yyidx + -1]->minor); } -// line 1053 "src/Parser/TemplateParser.y" - public function yy_r145(){ +// line 1096 "src/Parser/TemplateParser.y" + public 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 1060 "src/Parser/TemplateParser.y" - public function yy_r146(){ +// line 1103 "src/Parser/TemplateParser.y" + public function yy_r153(){ if ($this->security) { $this->compiler->trigger_template_error (self::ERR2); } @@ -2620,56 +2730,56 @@ public function yy_r146(){ $this->compiler->appendPrefixCode("compiler->compileVariable('\''.substr($this->yystack[$this->yyidx + -3]->minor,1).'\'').';?>'); $this->_retvalue = $prefixVar .'('. implode(',',$this->yystack[$this->yyidx + -1]->minor) .')'; } -// line 1071 "src/Parser/TemplateParser.y" - public function yy_r147(){ +// line 1114 "src/Parser/TemplateParser.y" + public function yy_r154(){ $this->_retvalue = array_merge($this->yystack[$this->yyidx + -2]->minor,array($this->yystack[$this->yyidx + 0]->minor)); } -// line 1088 "src/Parser/TemplateParser.y" - public function yy_r150(){ +// line 1131 "src/Parser/TemplateParser.y" + public 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 1092 "src/Parser/TemplateParser.y" - public function yy_r151(){ +// line 1135 "src/Parser/TemplateParser.y" + public function yy_r158(){ $this->_retvalue = array(array_merge($this->yystack[$this->yyidx + -1]->minor,$this->yystack[$this->yyidx + 0]->minor)); } -// line 1100 "src/Parser/TemplateParser.y" - public function yy_r153(){ +// line 1143 "src/Parser/TemplateParser.y" + public function yy_r160(){ $this->_retvalue = array($this->yystack[$this->yyidx + 0]->minor); } -// line 1108 "src/Parser/TemplateParser.y" - public function yy_r154(){ +// line 1151 "src/Parser/TemplateParser.y" + public function yy_r161(){ $this->_retvalue = array_merge($this->yystack[$this->yyidx + -1]->minor,$this->yystack[$this->yyidx + 0]->minor); } -// line 1121 "src/Parser/TemplateParser.y" - public function yy_r157(){ +// line 1164 "src/Parser/TemplateParser.y" + public function yy_r164(){ $this->_retvalue = array(trim($this->yystack[$this->yyidx + -1]->minor).$this->yystack[$this->yyidx + 0]->minor); } -// line 1130 "src/Parser/TemplateParser.y" - public function yy_r159(){ +// line 1173 "src/Parser/TemplateParser.y" + public function yy_r166(){ $this->_retvalue = array($this->yystack[$this->yyidx + 0]->minor, '', 'method'); } -// line 1135 "src/Parser/TemplateParser.y" - public function yy_r160(){ +// line 1178 "src/Parser/TemplateParser.y" + public function yy_r167(){ $this->_retvalue = array($this->yystack[$this->yyidx + -1]->minor, $this->yystack[$this->yyidx + 0]->minor, 'method'); } -// line 1140 "src/Parser/TemplateParser.y" - public function yy_r161(){ +// line 1183 "src/Parser/TemplateParser.y" + public function yy_r168(){ $this->_retvalue = array($this->yystack[$this->yyidx + 0]->minor, ''); } -// line 1145 "src/Parser/TemplateParser.y" - public function yy_r162(){ +// line 1188 "src/Parser/TemplateParser.y" + public function yy_r169(){ $this->_retvalue = array($this->yystack[$this->yyidx + -1]->minor, $this->yystack[$this->yyidx + 0]->minor, 'property'); } -// line 1150 "src/Parser/TemplateParser.y" - public function yy_r163(){ +// line 1193 "src/Parser/TemplateParser.y" + public function yy_r170(){ $this->_retvalue = array($this->yystack[$this->yyidx + -2]->minor, $this->yystack[$this->yyidx + -1]->minor.$this->yystack[$this->yyidx + 0]->minor, 'property'); } -// line 1156 "src/Parser/TemplateParser.y" - public function yy_r164(){ +// line 1199 "src/Parser/TemplateParser.y" + public function yy_r171(){ $this->_retvalue = ' '. trim($this->yystack[$this->yyidx + 0]->minor) . ' '; } -// line 1160 "src/Parser/TemplateParser.y" - public function yy_r165(){ +// line 1203 "src/Parser/TemplateParser.y" + public function yy_r172(){ static $lops = array( 'eq' => ' == ', 'ne' => ' != ', @@ -2688,8 +2798,8 @@ public function yy_r165(){ $op = strtolower(preg_replace('/\s*/', '', $this->yystack[$this->yyidx + 0]->minor)); $this->_retvalue = $lops[$op]; } -// line 1179 "src/Parser/TemplateParser.y" - public function yy_r166(){ +// line 1222 "src/Parser/TemplateParser.y" + public function yy_r173(){ static $tlops = array( 'isdivby' => array('op' => ' % ', 'pre' => '!('), 'isnotdivby' => array('op' => ' % ', 'pre' => '('), @@ -2701,8 +2811,8 @@ public function yy_r166(){ $op = strtolower(preg_replace('/\s*/', '', $this->yystack[$this->yyidx + 0]->minor)); $this->_retvalue = $tlops[$op]; } -// line 1192 "src/Parser/TemplateParser.y" - public function yy_r167(){ +// line 1235 "src/Parser/TemplateParser.y" + public function yy_r174(){ static $scond = array ( 'iseven' => '!(1 & ', 'isnoteven' => '(1 & ', @@ -2712,54 +2822,54 @@ public function yy_r167(){ $op = strtolower(str_replace(' ', '', $this->yystack[$this->yyidx + 0]->minor)); $this->_retvalue = $scond[$op]; } -// line 1206 "src/Parser/TemplateParser.y" - public function yy_r168(){ +// line 1249 "src/Parser/TemplateParser.y" + public function yy_r175(){ $this->_retvalue = 'array('.$this->yystack[$this->yyidx + -1]->minor.')'; } -// line 1217 "src/Parser/TemplateParser.y" - public function yy_r171(){ +// line 1260 "src/Parser/TemplateParser.y" + public function yy_r178(){ $this->_retvalue = $this->yystack[$this->yyidx + -2]->minor.','.$this->yystack[$this->yyidx + 0]->minor; } -// line 1225 "src/Parser/TemplateParser.y" - public function yy_r173(){ +// line 1268 "src/Parser/TemplateParser.y" + public function yy_r180(){ $this->_retvalue = $this->yystack[$this->yyidx + -2]->minor.'=>'.$this->yystack[$this->yyidx + 0]->minor; } -// line 1229 "src/Parser/TemplateParser.y" - public function yy_r174(){ +// line 1272 "src/Parser/TemplateParser.y" + public function yy_r181(){ $this->_retvalue = '\''.$this->yystack[$this->yyidx + -2]->minor.'\'=>'.$this->yystack[$this->yyidx + 0]->minor; } -// line 1245 "src/Parser/TemplateParser.y" - public function yy_r177(){ +// line 1288 "src/Parser/TemplateParser.y" + public function yy_r184(){ $this->compiler->leaveDoubleQuote(); $this->_retvalue = $this->yystack[$this->yyidx + -1]->minor->to_smarty_php($this); } -// line 1251 "src/Parser/TemplateParser.y" - public function yy_r178(){ +// line 1294 "src/Parser/TemplateParser.y" + public function yy_r185(){ $this->yystack[$this->yyidx + -1]->minor->append_subtree($this, $this->yystack[$this->yyidx + 0]->minor); $this->_retvalue = $this->yystack[$this->yyidx + -1]->minor; } -// line 1256 "src/Parser/TemplateParser.y" - public function yy_r179(){ +// line 1299 "src/Parser/TemplateParser.y" + public function yy_r186(){ $this->_retvalue = new Dq($this, $this->yystack[$this->yyidx + 0]->minor); } -// line 1260 "src/Parser/TemplateParser.y" - public function yy_r180(){ +// line 1303 "src/Parser/TemplateParser.y" + public function yy_r187(){ $this->_retvalue = new Code('(string)'.$this->yystack[$this->yyidx + -1]->minor); } -// line 1264 "src/Parser/TemplateParser.y" - public function yy_r181(){ +// line 1307 "src/Parser/TemplateParser.y" + public function yy_r188(){ $this->_retvalue = new Code('(string)('.$this->yystack[$this->yyidx + -1]->minor.')'); } -// line 1268 "src/Parser/TemplateParser.y" - public function yy_r182(){ +// line 1311 "src/Parser/TemplateParser.y" + public function yy_r189(){ $this->_retvalue = new Code('(string)$_smarty_tpl->getValue(\''. substr($this->yystack[$this->yyidx + 0]->minor,1) .'\')'); } -// line 1280 "src/Parser/TemplateParser.y" - public function yy_r185(){ +// line 1323 "src/Parser/TemplateParser.y" + public function yy_r192(){ $this->_retvalue = new Tag($this, $this->yystack[$this->yyidx + 0]->minor); } -// line 1284 "src/Parser/TemplateParser.y" - public function yy_r186(){ +// line 1327 "src/Parser/TemplateParser.y" + public function yy_r193(){ $this->_retvalue = new DqContent($this->yystack[$this->yyidx + 0]->minor); } diff --git a/src/Parser/TemplateParser.y b/src/Parser/TemplateParser.y index 1c604e3c0..69bd938ad 100644 --- a/src/Parser/TemplateParser.y +++ b/src/Parser/TemplateParser.y @@ -432,6 +432,16 @@ tag(res) ::= LDEL ID(i) PTR ID(me) modifierlist(l) attributes(a). { res = $this->compiler->compileTag(i,a,array('modifierlist'=>l, 'object_method'=>me)); } + // registered ns object tag +tag(res) ::= LDEL ID(i) NSPTR ID(m) attributes(a). { + res = $this->compiler->compileTag(i,a,array('object_method'=>m)); +} + + // registered ns object tag with modifiers +tag(res) ::= LDEL ID(i) NSPTR ID(me) modifierlist(l) attributes(a). { + res = $this->compiler->compileTag(i,a,array('modifierlist'=>l, 'object_method'=>me)); +} + // {if}, {elseif} and {while} tag tag(res) ::= LDELIF(i) expr(ie). { $tag = trim(substr(i,$this->compiler->getLdelLength())); @@ -1038,6 +1048,39 @@ objectelement(res)::= PTR method(f). { res = '->'.f; } + // variable +objectelement(res)::= NSPTR ID(i) arrayindex(a). { + if ($this->security && substr(i,0,1) === '_') { + $this->compiler->trigger_template_error (self::ERR1); + } + res = '?->'.i.a; +} + +objectelement(res)::= NSPTR varvar(v) arrayindex(a). { + if ($this->security) { + $this->compiler->trigger_template_error (self::ERR2); + } + res = '?->{'.$this->compiler->compileVariable(v).a.'}'; +} + +objectelement(res)::= NSPTR LDEL expr(e) RDEL arrayindex(a). { + if ($this->security) { + $this->compiler->trigger_template_error (self::ERR2); + } + res = '?->{'.e.a.'}'; +} + +objectelement(res)::= NSPTR ID(ii) LDEL expr(e) RDEL arrayindex(a). { + if ($this->security) { + $this->compiler->trigger_template_error (self::ERR2); + } + res = '?->{\''.ii.'\'.'.e.a.'}'; +} + + // method +objectelement(res)::= NSPTR method(f). { + res = '?->'.f; +} // // function diff --git a/tests/UnitTests/TemplateSource/ValueTests/Objects/ObjectVariableTest.php b/tests/UnitTests/TemplateSource/ValueTests/Objects/ObjectVariableTest.php index 9be491059..b574be6d5 100644 --- a/tests/UnitTests/TemplateSource/ValueTests/Objects/ObjectVariableTest.php +++ b/tests/UnitTests/TemplateSource/ValueTests/Objects/ObjectVariableTest.php @@ -93,6 +93,32 @@ public function testObjectVariableOutputDoubleQuotesInclude() $tpl->assign('object', $object); $this->assertEquals('hello world', $this->smarty->fetch($tpl)); } + + public function testNullSafeOperatorSimple() + { + $object = new VariableObject; + $tpl = $this->smarty->createTemplate('string:{$object?->hello}'); + $tpl->assign('object', $object); + $this->assertEquals('hello_world', $this->smarty->fetch($tpl)); + + $object = null; + $tpl = $this->smarty->createTemplate('string:{$object?->hello}'); + $tpl->assign('object', $object); + $this->assertEquals((string)null, $this->smarty->fetch($tpl)); + } + + public function testNullSafeOperatorChaining() + { + $object = new VariableObject; + $tpl = $this->smarty->createTemplate('string:{$object?->returnSelf()?->myhello()}'); + $tpl->assign('object', $object); + $this->assertEquals('hello world', $this->smarty->fetch($tpl)); + + $tpl = $this->smarty->createTemplate('string:{$object?->returnNull()?->myhello()}'); + $tpl->assign('object', $object); + $this->assertEquals((string)null, $this->smarty->fetch($tpl)); + } + } Class VariableObject @@ -103,4 +129,14 @@ public function myhello() { return 'hello world'; } + + public function returnSelf() + { + return $this; + } + + public function returnNull() + { + return null; + } }