From 23b3c21d73a634f3cc154893f1b0e4174cd0d83f Mon Sep 17 00:00:00 2001 From: Simon Wisselink Date: Mon, 18 Mar 2024 16:00:35 +0100 Subject: [PATCH] rebase of j-applese3d:smarty5 --- src/Lexer/TemplateLexer.php | 52 +- src/Lexer/TemplateLexer.plex | 5 + src/Parser/TemplateParser.php | 2626 +++++++++-------- src/Parser/TemplateParser.y | 44 + .../ValueTests/Objects/ObjectVariableTest.php | 37 + 5 files changed, 1470 insertions(+), 1294 deletions(-) diff --git a/src/Lexer/TemplateLexer.php b/src/Lexer/TemplateLexer.php index 5c7253ba..ac1f7c17 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 @@ class TemplateLexer 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 @@ class TemplateLexer 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 @@ class TemplateLexer $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; diff --git a/src/Lexer/TemplateLexer.plex b/src/Lexer/TemplateLexer.plex index d29b6559..0577c564 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; } diff --git a/src/Parser/TemplateParser.php b/src/Parser/TemplateParser.php index e55c1f03..202e6387 100644 --- a/src/Parser/TemplateParser.php +++ b/src/Parser/TemplateParser.php @@ -221,667 +221,686 @@ class TemplateParser 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 = 525; - const YY_ACCEPT_ACTION = 524; - const YY_ERROR_ACTION = 523; + 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 = 551; + const YY_ACCEPT_ACTION = 550; + const YY_ERROR_ACTION = 549; - const YY_SZ_ACTTAB = 2191; + const YY_SZ_ACTTAB = 2213; public static $yy_action = array( - 33, 126, 524, 96, 261, 279, 437, 242, 243, 244, - 1, 98, 135, 127, 199, 228, 6, 55, 437, 217, - 197, 260, 109, 317, 392, 292, 212, 256, 213, 103, - 219, 392, 21, 392, 99, 43, 392, 32, 44, 45, - 273, 221, 392, 277, 392, 200, 392, 54, 4, 313, - 294, 46, 22, 280, 220, 5, 52, 242, 243, 244, - 1, 20, 132, 189, 190, 266, 6, 55, 241, 217, - 211, 29, 109, 224, 9, 156, 212, 256, 213, 493, - 205, 267, 21, 252, 264, 43, 176, 297, 44, 45, - 273, 221, 312, 230, 306, 200, 211, 54, 4, 320, - 294, 294, 3, 248, 99, 5, 52, 242, 243, 244, - 1, 294, 97, 386, 53, 231, 6, 55, 36, 217, - 99, 150, 109, 252, 16, 386, 212, 256, 213, 149, - 219, 386, 21, 112, 437, 43, 302, 93, 44, 45, - 273, 221, 306, 277, 211, 200, 437, 54, 4, 112, - 294, 197, 39, 99, 140, 5, 52, 242, 243, 244, - 1, 136, 134, 262, 199, 28, 6, 55, 155, 217, - 252, 151, 109, 99, 94, 91, 212, 256, 213, 137, - 219, 251, 21, 57, 308, 43, 13, 7, 44, 45, - 273, 221, 294, 277, 263, 200, 54, 54, 4, 294, - 294, 181, 112, 298, 197, 5, 52, 242, 243, 244, - 1, 259, 134, 232, 191, 353, 6, 55, 26, 217, - 330, 353, 109, 104, 149, 437, 212, 256, 213, 174, - 219, 222, 21, 250, 51, 43, 141, 437, 44, 45, - 273, 221, 232, 277, 296, 200, 251, 54, 4, 233, - 294, 35, 104, 353, 285, 5, 52, 242, 243, 244, - 1, 259, 133, 138, 199, 353, 6, 55, 108, 217, - 173, 353, 109, 175, 297, 14, 212, 256, 213, 450, - 219, 15, 11, 264, 51, 43, 450, 139, 44, 45, - 273, 221, 144, 277, 152, 200, 181, 54, 4, 136, - 294, 226, 251, 154, 251, 5, 52, 242, 243, 244, - 1, 146, 134, 251, 186, 197, 6, 55, 170, 217, - 157, 251, 109, 17, 180, 294, 212, 256, 213, 329, - 208, 215, 21, 180, 54, 43, 252, 294, 44, 45, - 273, 221, 143, 277, 181, 200, 254, 54, 4, 19, - 294, 126, 104, 253, 227, 5, 52, 242, 243, 244, - 1, 98, 134, 259, 184, 161, 6, 55, 178, 217, - 240, 148, 109, 175, 297, 292, 212, 256, 213, 284, - 219, 251, 21, 197, 23, 43, 51, 127, 44, 45, - 273, 221, 164, 277, 168, 200, 252, 54, 4, 171, - 294, 304, 251, 197, 327, 5, 52, 242, 243, 244, - 1, 137, 134, 167, 199, 180, 6, 55, 13, 217, - 181, 255, 109, 251, 87, 181, 212, 256, 213, 25, - 185, 18, 21, 177, 297, 43, 88, 15, 44, 45, - 273, 221, 294, 277, 24, 200, 295, 54, 4, 258, - 294, 41, 42, 40, 12, 5, 52, 242, 243, 244, - 1, 163, 136, 437, 199, 39, 6, 55, 287, 288, - 289, 290, 109, 259, 303, 437, 212, 256, 213, 450, - 219, 214, 21, 209, 194, 47, 450, 438, 44, 45, - 273, 221, 9, 277, 309, 200, 51, 54, 4, 438, - 294, 41, 42, 40, 12, 5, 52, 242, 243, 244, - 1, 10, 136, 24, 199, 321, 6, 55, 287, 288, - 289, 290, 109, 113, 239, 240, 212, 256, 213, 220, - 219, 255, 21, 8, 24, 43, 322, 316, 44, 45, - 273, 221, 89, 277, 293, 200, 195, 54, 4, 95, - 294, 34, 169, 172, 238, 5, 52, 282, 210, 211, - 247, 232, 90, 106, 158, 188, 100, 86, 234, 196, - 254, 104, 98, 19, 153, 268, 269, 253, 92, 220, - 159, 276, 201, 278, 251, 283, 292, 245, 282, 210, - 211, 247, 466, 90, 106, 466, 187, 100, 63, 466, - 246, 179, 110, 98, 181, 165, 268, 269, 257, 223, - 118, 265, 276, 201, 278, 251, 283, 292, 46, 22, - 280, 282, 270, 211, 249, 272, 111, 106, 274, 188, - 100, 86, 220, 282, 275, 211, 98, 259, 111, 268, - 269, 198, 116, 75, 7, 276, 201, 278, 98, 283, - 292, 268, 269, 145, 291, 56, 160, 276, 201, 278, - 51, 283, 292, 41, 42, 40, 12, 315, 162, 282, - 229, 211, 204, 311, 111, 318, 197, 198, 116, 75, - 287, 288, 289, 290, 98, 319, 36, 268, 269, 197, - 328, 331, 301, 276, 201, 278, 301, 283, 292, 37, - 14, 357, 282, 301, 211, 225, 15, 105, 203, 311, - 198, 119, 49, 14, 117, 301, 301, 98, 301, 15, - 268, 269, 437, 301, 301, 301, 276, 201, 278, 301, - 283, 292, 301, 301, 437, 282, 301, 211, 301, 301, - 111, 301, 301, 198, 119, 70, 301, 301, 301, 301, - 98, 301, 142, 268, 269, 301, 301, 301, 301, 276, - 201, 278, 251, 283, 292, 46, 22, 280, 282, 301, - 211, 207, 301, 111, 301, 301, 198, 119, 70, 301, - 301, 301, 301, 98, 301, 166, 268, 269, 301, 301, - 301, 301, 276, 201, 278, 251, 283, 292, 46, 22, - 280, 282, 301, 211, 202, 301, 111, 301, 301, 198, - 116, 75, 301, 301, 301, 301, 98, 301, 301, 268, - 269, 197, 301, 301, 301, 276, 201, 278, 301, 283, - 292, 301, 301, 354, 282, 301, 211, 301, 301, 111, - 301, 310, 198, 119, 70, 354, 301, 301, 301, 98, - 301, 354, 268, 269, 197, 301, 301, 301, 276, 201, - 278, 301, 283, 292, 301, 301, 388, 282, 301, 211, - 206, 301, 105, 301, 301, 198, 119, 61, 388, 233, - 301, 301, 98, 301, 388, 268, 269, 197, 301, 301, - 301, 276, 201, 278, 301, 283, 292, 301, 301, 385, - 282, 301, 211, 301, 301, 111, 301, 301, 198, 115, - 67, 385, 301, 301, 301, 98, 301, 385, 268, 269, - 301, 301, 301, 301, 276, 201, 278, 254, 283, 292, - 19, 301, 301, 282, 253, 211, 301, 466, 111, 301, - 466, 193, 114, 62, 466, 282, 301, 211, 98, 301, - 111, 268, 269, 198, 101, 85, 301, 276, 201, 278, - 98, 283, 292, 268, 269, 254, 216, 301, 19, 276, - 201, 278, 253, 283, 292, 282, 466, 211, 301, 301, - 111, 14, 301, 198, 102, 84, 301, 15, 301, 301, - 98, 301, 301, 268, 269, 301, 301, 301, 301, 276, - 201, 278, 301, 283, 292, 301, 301, 282, 301, 211, - 301, 301, 111, 301, 301, 198, 119, 58, 301, 282, - 301, 211, 98, 301, 111, 268, 269, 198, 119, 69, - 301, 276, 201, 278, 98, 283, 292, 268, 269, 301, - 301, 301, 301, 276, 201, 278, 301, 283, 292, 282, - 301, 211, 301, 301, 111, 301, 301, 198, 101, 59, - 301, 301, 301, 301, 98, 301, 301, 268, 269, 301, - 301, 301, 301, 276, 201, 278, 301, 283, 292, 301, - 301, 282, 301, 211, 301, 301, 111, 301, 301, 198, - 119, 68, 301, 282, 301, 211, 98, 301, 111, 268, - 269, 198, 119, 60, 301, 276, 201, 278, 98, 283, - 292, 268, 269, 301, 301, 301, 301, 276, 201, 278, - 301, 283, 292, 282, 301, 211, 301, 301, 111, 301, - 301, 198, 119, 61, 301, 301, 301, 301, 98, 301, - 301, 268, 269, 301, 301, 301, 301, 276, 201, 278, - 301, 283, 292, 301, 301, 282, 301, 211, 301, 301, - 111, 301, 301, 198, 119, 71, 301, 282, 301, 211, - 98, 301, 111, 268, 269, 198, 119, 72, 301, 276, - 201, 278, 98, 283, 292, 268, 269, 301, 301, 301, - 301, 276, 201, 278, 301, 283, 292, 282, 301, 211, - 301, 301, 111, 301, 301, 198, 119, 73, 301, 301, - 301, 301, 98, 301, 301, 268, 269, 301, 301, 301, - 301, 276, 201, 278, 301, 283, 292, 301, 301, 282, - 301, 211, 301, 301, 111, 301, 301, 198, 119, 74, - 301, 282, 301, 211, 98, 301, 111, 268, 269, 198, - 119, 76, 301, 276, 201, 278, 98, 283, 292, 268, - 269, 301, 301, 301, 301, 276, 201, 278, 301, 283, - 292, 282, 301, 211, 301, 301, 111, 301, 301, 192, - 119, 64, 301, 301, 301, 301, 98, 301, 301, 268, - 269, 301, 301, 301, 301, 276, 201, 278, 301, 283, - 292, 301, 301, 282, 301, 211, 301, 301, 111, 301, - 301, 198, 119, 65, 301, 282, 301, 211, 98, 301, - 111, 268, 269, 198, 119, 66, 301, 276, 201, 278, - 98, 283, 292, 268, 269, 301, 301, 301, 301, 276, - 201, 278, 301, 283, 292, 282, 301, 211, 301, 301, - 111, 301, 301, 198, 119, 77, 301, 301, 301, 301, - 98, 301, 301, 268, 269, 301, 301, 301, 301, 276, - 201, 278, 301, 283, 292, 301, 301, 282, 301, 211, - 301, 301, 111, 301, 301, 198, 119, 78, 301, 282, - 301, 211, 98, 301, 111, 268, 269, 198, 119, 79, - 301, 276, 201, 278, 98, 283, 292, 268, 269, 301, - 301, 301, 301, 276, 201, 278, 301, 283, 292, 282, - 301, 211, 301, 301, 111, 301, 301, 198, 119, 80, - 301, 301, 301, 301, 98, 301, 301, 268, 269, 301, - 301, 301, 301, 276, 201, 278, 301, 283, 292, 301, - 301, 282, 301, 211, 301, 301, 111, 301, 301, 198, - 119, 81, 301, 282, 301, 211, 98, 301, 111, 268, - 269, 198, 119, 82, 301, 276, 201, 278, 98, 283, - 292, 268, 269, 301, 301, 301, 301, 276, 201, 278, - 301, 283, 292, 282, 301, 211, 301, 301, 111, 301, - 301, 198, 119, 83, 301, 301, 301, 301, 98, 301, - 301, 268, 269, 301, 301, 301, 301, 276, 201, 278, - 301, 283, 292, 301, 301, 282, 301, 211, 301, 301, - 111, 301, 301, 198, 119, 48, 301, 282, 301, 211, - 98, 301, 111, 268, 269, 198, 119, 50, 301, 276, - 201, 278, 98, 283, 292, 268, 269, 301, 301, 301, - 301, 276, 201, 278, 301, 283, 292, 307, 107, 301, - 301, 301, 301, 242, 243, 244, 2, 301, 305, 301, - 301, 301, 6, 55, 41, 42, 40, 12, 109, 301, - 301, 301, 212, 256, 213, 301, 301, 38, 301, 14, - 301, 287, 288, 289, 290, 15, 301, 301, 301, 301, - 41, 42, 40, 12, 301, 301, 301, 301, 301, 301, - 301, 301, 300, 27, 301, 301, 307, 287, 288, 289, - 290, 301, 242, 243, 244, 2, 301, 305, 301, 301, - 301, 6, 55, 301, 301, 301, 301, 109, 301, 14, - 301, 212, 256, 213, 301, 15, 301, 301, 301, 301, - 41, 42, 40, 12, 301, 301, 301, 301, 301, 301, - 301, 301, 301, 301, 301, 301, 301, 287, 288, 289, - 290, 301, 27, 301, 301, 235, 236, 237, 130, 301, - 301, 242, 243, 244, 1, 301, 301, 301, 301, 301, - 6, 55, 301, 301, 301, 301, 109, 301, 301, 301, - 212, 256, 213, 282, 301, 211, 301, 301, 111, 301, - 301, 198, 131, 301, 301, 301, 301, 301, 98, 301, - 301, 301, 301, 301, 301, 301, 325, 276, 201, 278, - 301, 283, 292, 301, 301, 301, 301, 301, 282, 301, - 211, 301, 301, 111, 301, 301, 198, 125, 301, 301, - 282, 301, 211, 98, 301, 111, 301, 301, 198, 129, - 301, 281, 276, 201, 278, 98, 283, 292, 301, 301, - 301, 301, 301, 301, 276, 201, 278, 301, 283, 292, - 301, 301, 301, 301, 282, 301, 211, 301, 301, 111, - 301, 301, 198, 120, 301, 301, 301, 301, 301, 98, - 301, 301, 301, 301, 301, 301, 301, 301, 276, 201, - 278, 301, 283, 292, 301, 301, 282, 301, 211, 301, - 301, 111, 301, 301, 198, 121, 301, 301, 282, 301, - 211, 98, 301, 111, 301, 301, 198, 122, 301, 301, - 276, 201, 278, 98, 283, 292, 301, 301, 301, 301, - 301, 301, 276, 201, 278, 301, 283, 292, 282, 301, - 211, 301, 301, 111, 301, 301, 198, 123, 301, 301, - 301, 301, 301, 98, 301, 301, 301, 301, 301, 301, - 301, 301, 276, 201, 278, 301, 283, 292, 301, 301, - 282, 301, 211, 301, 301, 111, 301, 301, 198, 124, - 301, 301, 282, 301, 211, 98, 301, 111, 301, 301, - 198, 128, 301, 301, 276, 201, 278, 98, 283, 292, - 301, 301, 218, 301, 301, 301, 276, 201, 278, 466, - 283, 292, 466, 218, 301, 3, 466, 450, 301, 301, - 466, 271, 301, 466, 301, 301, 218, 466, 450, 301, - 301, 254, 271, 466, 19, 301, 466, 301, 253, 35, - 466, 450, 301, 450, 401, 271, 450, 14, 466, 147, - 450, 301, 301, 15, 450, 301, 301, 450, 301, 466, - 301, 450, 286, 301, 301, 301, 301, 450, 301, 301, - 450, 301, 466, 301, 450, 218, 437, 301, 401, 401, - 401, 401, 466, 301, 301, 466, 301, 301, 437, 466, - 450, 301, 30, 301, 271, 401, 401, 401, 401, 466, - 301, 301, 466, 301, 324, 301, 466, 450, 301, 301, - 301, 271, 301, 301, 301, 301, 450, 301, 301, 450, - 301, 466, 301, 450, 301, 301, 301, 41, 42, 40, - 12, 301, 301, 450, 301, 299, 450, 301, 466, 301, - 450, 301, 301, 301, 287, 288, 289, 290, 41, 42, - 40, 12, 323, 41, 42, 40, 12, 301, 41, 42, - 40, 12, 182, 314, 31, 287, 288, 289, 290, 183, - 287, 288, 289, 290, 301, 287, 288, 289, 290, 301, - 301, 301, 301, 301, 301, 41, 42, 40, 12, 301, - 301, 301, 41, 42, 40, 12, 301, 301, 41, 42, - 40, 12, 287, 288, 289, 290, 326, 301, 301, 287, - 288, 289, 290, 301, 301, 287, 288, 289, 290, 466, - 301, 301, 466, 301, 301, 301, 466, 450, 301, 41, - 42, 40, 12, 301, 301, 301, 301, 301, 301, 301, - 301, 301, 301, 301, 301, 301, 287, 288, 289, 290, - 301, 301, 301, 450, 301, 301, 450, 301, 466, 301, - 450, + 35, 37, 214, 413, 48, 22, 298, 260, 261, 262, + 1, 413, 143, 413, 216, 165, 413, 6, 57, 96, + 234, 519, 413, 118, 413, 269, 413, 229, 274, 230, + 471, 236, 157, 21, 237, 146, 45, 471, 34, 46, + 47, 291, 238, 167, 295, 196, 217, 97, 56, 4, + 259, 312, 228, 269, 105, 106, 5, 54, 260, 261, + 262, 1, 183, 140, 282, 207, 180, 315, 6, 57, + 266, 234, 269, 196, 118, 48, 22, 298, 229, 274, + 230, 145, 222, 14, 21, 550, 102, 45, 13, 15, + 46, 47, 291, 238, 169, 248, 157, 217, 98, 56, + 4, 339, 312, 124, 269, 270, 279, 5, 54, 260, + 261, 262, 1, 104, 103, 407, 55, 249, 148, 6, + 57, 191, 234, 278, 196, 118, 314, 310, 407, 229, + 274, 230, 297, 236, 407, 21, 147, 458, 45, 100, + 126, 46, 47, 291, 238, 277, 295, 196, 217, 458, + 56, 4, 144, 312, 244, 159, 315, 312, 5, 54, + 260, 261, 262, 1, 150, 142, 18, 216, 53, 214, + 6, 57, 15, 234, 269, 312, 118, 48, 22, 298, + 229, 274, 230, 323, 236, 232, 21, 317, 56, 45, + 214, 312, 46, 47, 291, 238, 277, 295, 154, 217, + 372, 56, 4, 268, 312, 325, 372, 228, 269, 5, + 54, 260, 261, 262, 1, 184, 142, 25, 208, 53, + 162, 6, 57, 270, 234, 269, 156, 118, 48, 22, + 298, 229, 274, 230, 214, 236, 269, 21, 214, 41, + 45, 105, 106, 46, 47, 291, 238, 321, 295, 250, + 217, 270, 56, 4, 92, 312, 252, 213, 93, 114, + 5, 54, 260, 261, 262, 1, 20, 141, 206, 216, + 284, 120, 6, 57, 26, 234, 36, 3, 118, 105, + 106, 458, 229, 274, 230, 303, 236, 285, 11, 372, + 158, 45, 270, 458, 46, 47, 291, 238, 277, 295, + 149, 217, 372, 56, 4, 237, 312, 312, 372, 120, + 269, 5, 54, 260, 261, 262, 1, 325, 142, 228, + 203, 53, 9, 6, 57, 160, 234, 270, 38, 118, + 105, 106, 458, 229, 274, 230, 117, 225, 277, 21, + 331, 246, 45, 166, 458, 46, 47, 291, 238, 336, + 295, 214, 217, 269, 56, 4, 282, 312, 60, 327, + 120, 53, 5, 54, 260, 261, 262, 1, 334, 142, + 237, 201, 113, 195, 6, 57, 14, 234, 335, 214, + 118, 171, 15, 270, 229, 274, 230, 192, 236, 239, + 21, 373, 332, 45, 159, 315, 46, 47, 291, 238, + 17, 295, 311, 217, 373, 56, 4, 348, 312, 124, + 373, 151, 245, 5, 54, 260, 261, 262, 1, 104, + 142, 114, 216, 112, 302, 6, 57, 272, 234, 173, + 19, 118, 126, 310, 271, 229, 274, 230, 31, 202, + 241, 21, 172, 316, 45, 168, 346, 46, 47, 291, + 238, 145, 295, 170, 217, 269, 56, 4, 13, 312, + 177, 214, 23, 269, 5, 54, 260, 261, 262, 1, + 28, 144, 241, 216, 161, 195, 6, 57, 193, 312, + 258, 214, 118, 195, 250, 312, 229, 274, 230, 16, + 236, 349, 21, 409, 114, 49, 181, 315, 46, 47, + 291, 238, 99, 295, 186, 217, 409, 56, 4, 276, + 312, 312, 409, 152, 188, 5, 54, 260, 261, 262, + 1, 179, 144, 269, 216, 250, 182, 6, 57, 8, + 196, 273, 251, 118, 195, 114, 269, 229, 274, 230, + 196, 236, 231, 21, 105, 106, 45, 185, 471, 46, + 47, 291, 238, 41, 295, 471, 217, 269, 56, 4, + 273, 312, 43, 44, 42, 12, 5, 54, 300, 227, + 228, 265, 189, 95, 115, 94, 205, 107, 91, 305, + 306, 307, 308, 104, 212, 322, 286, 287, 226, 211, + 257, 258, 294, 218, 296, 101, 301, 310, 196, 27, + 300, 227, 228, 265, 272, 95, 115, 19, 204, 107, + 68, 271, 24, 487, 313, 104, 487, 187, 286, 287, + 487, 14, 7, 155, 294, 218, 296, 15, 301, 310, + 190, 256, 163, 300, 458, 228, 267, 272, 111, 115, + 19, 205, 107, 91, 271, 300, 458, 228, 104, 30, + 111, 286, 287, 215, 125, 80, 343, 294, 218, 296, + 104, 301, 310, 286, 287, 164, 277, 174, 175, 294, + 218, 296, 7, 301, 310, 459, 9, 240, 328, 263, + 43, 44, 42, 12, 221, 330, 300, 459, 228, 53, + 10, 111, 264, 194, 215, 125, 80, 305, 306, 307, + 308, 104, 121, 119, 286, 287, 272, 275, 128, 19, + 294, 218, 296, 271, 301, 310, 144, 283, 280, 300, + 24, 228, 340, 288, 110, 220, 330, 215, 129, 51, + 24, 127, 341, 290, 104, 7, 292, 286, 287, 237, + 293, 309, 58, 294, 218, 296, 233, 301, 310, 59, + 281, 300, 56, 228, 176, 312, 111, 247, 178, 215, + 129, 75, 337, 338, 347, 272, 104, 38, 19, 286, + 287, 350, 271, 39, 309, 294, 218, 296, 309, 301, + 310, 300, 14, 228, 309, 309, 111, 224, 15, 215, + 129, 75, 309, 309, 309, 309, 104, 309, 309, 286, + 287, 487, 214, 309, 487, 294, 218, 296, 487, 301, + 310, 300, 309, 228, 406, 309, 111, 219, 309, 215, + 125, 80, 309, 309, 309, 309, 104, 406, 309, 286, + 287, 309, 309, 406, 309, 294, 218, 296, 309, 301, + 310, 487, 309, 309, 300, 309, 228, 309, 309, 111, + 309, 329, 215, 129, 75, 309, 309, 309, 309, 104, + 309, 309, 286, 287, 309, 309, 309, 309, 294, 218, + 296, 309, 301, 310, 300, 309, 228, 309, 309, 110, + 223, 309, 215, 129, 64, 309, 251, 309, 309, 104, + 309, 309, 286, 287, 309, 309, 309, 309, 294, 218, + 296, 309, 301, 310, 300, 309, 228, 309, 309, 111, + 309, 309, 215, 123, 72, 309, 300, 309, 228, 104, + 309, 111, 286, 287, 210, 122, 65, 309, 294, 218, + 296, 104, 301, 310, 286, 287, 309, 309, 309, 309, + 294, 218, 296, 309, 301, 310, 300, 309, 228, 309, + 309, 111, 309, 309, 215, 108, 90, 309, 309, 309, + 309, 104, 309, 309, 286, 287, 309, 309, 309, 309, + 294, 218, 296, 309, 301, 310, 300, 309, 228, 309, + 309, 111, 309, 309, 215, 109, 89, 309, 300, 309, + 228, 104, 309, 111, 286, 287, 215, 129, 61, 309, + 294, 218, 296, 104, 301, 310, 286, 287, 309, 309, + 309, 309, 294, 218, 296, 309, 301, 310, 300, 309, + 228, 309, 309, 111, 309, 309, 215, 129, 74, 309, + 309, 309, 309, 104, 309, 309, 286, 287, 309, 309, + 309, 309, 294, 218, 296, 309, 301, 310, 300, 309, + 228, 309, 309, 111, 309, 309, 215, 108, 62, 309, + 300, 309, 228, 104, 309, 111, 286, 287, 215, 129, + 73, 309, 294, 218, 296, 104, 301, 310, 286, 287, + 309, 309, 309, 309, 294, 218, 296, 309, 301, 310, + 300, 309, 228, 309, 309, 111, 309, 309, 215, 129, + 63, 309, 309, 309, 309, 104, 309, 309, 286, 287, + 309, 309, 309, 309, 294, 218, 296, 309, 301, 310, + 300, 309, 228, 309, 309, 111, 309, 309, 215, 129, + 64, 309, 300, 309, 228, 104, 309, 111, 286, 287, + 215, 129, 76, 309, 294, 218, 296, 104, 301, 310, + 286, 287, 309, 309, 309, 309, 294, 218, 296, 309, + 301, 310, 300, 309, 228, 309, 309, 111, 309, 309, + 215, 129, 77, 309, 309, 309, 309, 104, 309, 309, + 286, 287, 309, 309, 309, 309, 294, 218, 296, 309, + 301, 310, 300, 309, 228, 309, 309, 111, 309, 309, + 215, 129, 78, 309, 300, 309, 228, 104, 309, 111, + 286, 287, 215, 129, 79, 309, 294, 218, 296, 104, + 301, 310, 286, 287, 309, 309, 309, 309, 294, 218, + 296, 309, 301, 310, 300, 309, 228, 309, 309, 111, + 309, 309, 215, 129, 81, 309, 309, 309, 309, 104, + 309, 309, 286, 287, 309, 309, 309, 309, 294, 218, + 296, 309, 301, 310, 300, 309, 228, 309, 309, 111, + 309, 309, 215, 129, 66, 309, 300, 309, 228, 104, + 309, 111, 286, 287, 215, 129, 67, 309, 294, 218, + 296, 104, 301, 310, 286, 287, 309, 309, 309, 309, + 294, 218, 296, 309, 301, 310, 300, 309, 228, 309, + 309, 111, 309, 309, 209, 129, 69, 309, 309, 309, + 309, 104, 309, 309, 286, 287, 309, 309, 309, 309, + 294, 218, 296, 309, 301, 310, 300, 309, 228, 309, + 309, 111, 309, 309, 215, 129, 70, 309, 300, 309, + 228, 104, 309, 111, 286, 287, 215, 129, 71, 309, + 294, 218, 296, 104, 301, 310, 286, 287, 309, 309, + 309, 309, 294, 218, 296, 309, 301, 310, 300, 309, + 228, 309, 309, 111, 309, 309, 215, 129, 82, 309, + 309, 309, 309, 104, 309, 309, 286, 287, 309, 309, + 309, 309, 294, 218, 296, 309, 301, 310, 300, 309, + 228, 309, 309, 111, 309, 309, 215, 129, 83, 309, + 300, 309, 228, 104, 309, 111, 286, 287, 215, 129, + 84, 309, 294, 218, 296, 104, 301, 310, 286, 287, + 309, 309, 309, 309, 294, 218, 296, 309, 301, 310, + 300, 309, 228, 309, 309, 111, 309, 309, 215, 129, + 85, 309, 309, 309, 309, 104, 309, 309, 286, 287, + 309, 309, 309, 309, 294, 218, 296, 309, 301, 310, + 300, 309, 228, 309, 309, 111, 309, 309, 215, 129, + 86, 309, 300, 309, 228, 104, 309, 111, 286, 287, + 215, 129, 87, 309, 294, 218, 296, 104, 301, 310, + 286, 287, 309, 309, 309, 309, 294, 218, 296, 309, + 301, 310, 300, 309, 228, 309, 309, 111, 309, 309, + 215, 129, 88, 309, 309, 309, 309, 104, 309, 309, + 286, 287, 309, 309, 309, 309, 294, 218, 296, 309, + 301, 310, 300, 309, 228, 309, 309, 111, 309, 309, + 215, 129, 50, 309, 300, 309, 228, 104, 309, 111, + 286, 287, 215, 129, 52, 309, 294, 218, 296, 104, + 301, 310, 286, 287, 309, 153, 309, 309, 294, 218, + 296, 309, 301, 310, 326, 43, 44, 42, 12, 309, + 260, 261, 262, 2, 309, 324, 309, 309, 309, 309, + 6, 57, 305, 306, 307, 308, 118, 309, 309, 309, + 229, 274, 230, 309, 309, 309, 326, 43, 44, 42, + 12, 309, 260, 261, 262, 2, 309, 324, 309, 309, + 309, 309, 6, 57, 305, 306, 307, 308, 118, 309, + 319, 29, 229, 274, 230, 309, 309, 309, 253, 254, + 255, 138, 309, 309, 260, 261, 262, 1, 309, 309, + 309, 309, 309, 309, 6, 57, 309, 309, 309, 309, + 118, 309, 320, 29, 229, 274, 230, 300, 309, 228, + 309, 309, 111, 309, 309, 215, 139, 309, 309, 300, + 309, 228, 104, 309, 111, 309, 309, 215, 135, 309, + 344, 294, 218, 296, 104, 301, 310, 309, 309, 235, + 309, 309, 299, 294, 218, 296, 487, 301, 310, 487, + 235, 309, 3, 487, 471, 471, 309, 487, 309, 289, + 487, 309, 235, 309, 487, 471, 471, 309, 309, 487, + 289, 309, 487, 309, 309, 37, 487, 471, 471, 309, + 309, 471, 289, 309, 471, 309, 487, 309, 471, 309, + 309, 309, 471, 309, 309, 471, 309, 487, 309, 471, + 304, 309, 309, 309, 471, 309, 309, 471, 309, 487, + 300, 471, 228, 309, 309, 111, 309, 309, 215, 137, + 309, 309, 300, 309, 228, 104, 309, 111, 309, 309, + 215, 130, 309, 309, 294, 218, 296, 104, 301, 310, + 214, 309, 309, 309, 309, 309, 294, 218, 296, 309, + 301, 310, 376, 300, 309, 228, 242, 243, 111, 309, + 309, 215, 131, 309, 309, 14, 309, 309, 104, 309, + 309, 15, 309, 309, 458, 309, 309, 294, 218, 296, + 309, 301, 310, 309, 309, 300, 458, 228, 309, 309, + 111, 309, 309, 215, 132, 309, 309, 300, 309, 228, + 104, 309, 111, 309, 309, 215, 133, 309, 309, 294, + 218, 296, 104, 301, 310, 309, 309, 309, 309, 309, + 309, 294, 218, 296, 309, 301, 310, 309, 300, 309, + 228, 235, 309, 111, 309, 309, 215, 134, 487, 309, + 309, 487, 309, 104, 309, 487, 471, 471, 309, 309, + 309, 289, 294, 218, 296, 309, 301, 310, 309, 309, + 300, 309, 228, 422, 309, 111, 309, 309, 215, 136, + 309, 309, 309, 471, 309, 104, 471, 309, 487, 40, + 471, 14, 309, 309, 294, 218, 296, 15, 301, 310, + 309, 309, 43, 44, 42, 12, 458, 309, 422, 422, + 422, 422, 309, 309, 309, 309, 309, 309, 458, 305, + 306, 307, 308, 32, 309, 422, 422, 422, 422, 309, + 487, 309, 309, 487, 309, 309, 309, 487, 471, 471, + 309, 309, 309, 289, 116, 14, 309, 309, 309, 309, + 309, 15, 309, 309, 309, 309, 43, 44, 42, 12, + 43, 44, 42, 12, 309, 471, 309, 309, 471, 309, + 487, 197, 471, 305, 306, 307, 308, 305, 306, 307, + 308, 342, 43, 44, 42, 12, 309, 309, 309, 43, + 44, 42, 12, 198, 309, 43, 44, 42, 12, 305, + 306, 307, 308, 318, 333, 309, 305, 306, 307, 308, + 309, 309, 305, 306, 307, 308, 199, 43, 44, 42, + 12, 309, 309, 309, 309, 309, 200, 43, 44, 42, + 12, 309, 309, 309, 305, 306, 307, 308, 33, 309, + 43, 44, 42, 12, 305, 306, 307, 308, 309, 309, + 43, 44, 42, 12, 345, 309, 309, 305, 306, 307, + 308, 309, 309, 309, 309, 309, 309, 305, 306, 307, + 308, 309, 309, 43, 44, 42, 12, 309, 43, 44, + 42, 12, 309, 309, 309, 309, 309, 309, 309, 309, + 305, 306, 307, 308, 309, 305, 306, 307, 308, 309, + 487, 309, 309, 487, 309, 309, 309, 487, 471, 471, + 309, 309, 309, 309, 309, 309, 309, 309, 309, 309, + 309, 309, 309, 309, 309, 309, 309, 309, 309, 309, + 309, 309, 309, 309, 309, 471, 309, 309, 471, 309, + 487, 309, 471, ); public static $yy_lookahead = array( - 2, 70, 61, 62, 73, 92, 34, 9, 10, 11, - 12, 80, 14, 100, 16, 43, 18, 19, 46, 21, - 1, 90, 24, 51, 13, 94, 28, 29, 30, 80, - 32, 20, 34, 22, 17, 37, 25, 39, 40, 41, - 42, 43, 31, 45, 33, 47, 35, 49, 50, 100, - 52, 85, 86, 87, 43, 57, 58, 9, 10, 11, - 12, 12, 14, 14, 16, 16, 18, 19, 65, 21, - 67, 12, 24, 14, 33, 16, 28, 29, 30, 1, - 32, 32, 34, 97, 96, 37, 98, 99, 40, 41, - 42, 43, 51, 45, 65, 47, 67, 49, 50, 51, - 52, 52, 15, 69, 17, 57, 58, 9, 10, 11, - 12, 52, 14, 13, 16, 15, 18, 19, 15, 21, - 17, 95, 24, 97, 20, 25, 28, 29, 30, 95, - 32, 31, 34, 46, 34, 37, 107, 33, 40, 41, - 42, 43, 65, 45, 67, 47, 46, 49, 50, 46, - 52, 1, 2, 17, 14, 57, 58, 9, 10, 11, - 12, 14, 14, 16, 16, 12, 18, 19, 95, 21, - 97, 72, 24, 17, 34, 76, 28, 29, 30, 43, - 32, 82, 34, 106, 107, 37, 50, 34, 40, 41, - 42, 43, 52, 45, 47, 47, 49, 49, 50, 52, - 52, 102, 46, 13, 1, 57, 58, 9, 10, 11, - 12, 21, 14, 70, 16, 25, 18, 19, 27, 21, - 77, 31, 24, 80, 95, 34, 28, 29, 30, 14, - 32, 16, 34, 82, 44, 37, 72, 46, 40, 41, - 42, 43, 70, 45, 69, 47, 82, 49, 50, 77, - 52, 15, 80, 13, 51, 57, 58, 9, 10, 11, - 12, 21, 14, 80, 16, 25, 18, 19, 79, 21, - 76, 31, 24, 98, 99, 25, 28, 29, 30, 43, - 32, 31, 34, 96, 44, 37, 50, 14, 40, 41, - 42, 43, 72, 45, 72, 47, 102, 49, 50, 14, - 52, 16, 82, 72, 82, 57, 58, 9, 10, 11, - 12, 72, 14, 82, 16, 1, 18, 19, 76, 21, - 95, 82, 24, 15, 102, 52, 28, 29, 30, 21, - 32, 17, 34, 102, 49, 37, 97, 52, 40, 41, - 42, 43, 70, 45, 102, 47, 9, 49, 50, 12, - 52, 70, 80, 16, 73, 57, 58, 9, 10, 11, - 12, 80, 14, 21, 16, 95, 18, 19, 6, 21, - 8, 72, 24, 98, 99, 94, 28, 29, 30, 92, - 32, 82, 34, 1, 2, 37, 44, 100, 40, 41, - 42, 43, 72, 45, 76, 47, 97, 49, 50, 76, - 52, 59, 82, 1, 14, 57, 58, 9, 10, 11, - 12, 43, 14, 72, 16, 102, 18, 19, 50, 21, - 102, 103, 24, 82, 80, 102, 28, 29, 30, 27, - 32, 25, 34, 98, 99, 37, 80, 31, 40, 41, - 42, 43, 52, 45, 33, 47, 35, 49, 50, 16, - 52, 36, 37, 38, 39, 57, 58, 9, 10, 11, - 12, 95, 14, 34, 16, 2, 18, 19, 53, 54, - 55, 56, 24, 21, 59, 46, 28, 29, 30, 43, - 32, 48, 34, 63, 64, 37, 50, 34, 40, 41, - 42, 43, 33, 45, 35, 47, 44, 49, 50, 46, - 52, 36, 37, 38, 39, 57, 58, 9, 10, 11, - 12, 34, 14, 33, 16, 35, 18, 19, 53, 54, - 55, 56, 24, 46, 7, 8, 28, 29, 30, 43, - 32, 103, 34, 34, 33, 37, 35, 51, 40, 41, - 42, 43, 95, 45, 99, 47, 64, 49, 50, 81, - 52, 15, 81, 81, 7, 57, 58, 65, 66, 67, - 68, 70, 70, 71, 95, 73, 74, 75, 77, 78, - 9, 80, 80, 12, 72, 83, 84, 16, 76, 43, - 95, 89, 90, 91, 82, 93, 94, 13, 65, 66, - 67, 68, 9, 70, 71, 12, 73, 74, 75, 16, - 13, 16, 16, 80, 102, 72, 83, 84, 16, 48, - 16, 16, 89, 90, 91, 82, 93, 94, 85, 86, - 87, 65, 14, 67, 68, 16, 70, 71, 32, 73, - 74, 75, 43, 65, 32, 67, 80, 21, 70, 83, - 84, 73, 74, 75, 34, 89, 90, 91, 80, 93, - 94, 83, 84, 26, 16, 16, 49, 89, 90, 91, - 44, 93, 94, 36, 37, 38, 39, 51, 49, 65, - 16, 67, 104, 105, 70, 51, 1, 73, 74, 75, - 53, 54, 55, 56, 80, 51, 15, 83, 84, 1, - 16, 35, 108, 89, 90, 91, 108, 93, 94, 22, - 25, 13, 65, 108, 67, 17, 31, 70, 104, 105, - 73, 74, 75, 25, 77, 108, 108, 80, 108, 31, - 83, 84, 34, 108, 108, 108, 89, 90, 91, 108, - 93, 94, 108, 108, 46, 65, 108, 67, 108, 108, - 70, 108, 108, 73, 74, 75, 108, 108, 108, 108, - 80, 108, 72, 83, 84, 108, 108, 108, 108, 89, - 90, 91, 82, 93, 94, 85, 86, 87, 65, 108, - 67, 101, 108, 70, 108, 108, 73, 74, 75, 108, - 108, 108, 108, 80, 108, 72, 83, 84, 108, 108, - 108, 108, 89, 90, 91, 82, 93, 94, 85, 86, - 87, 65, 108, 67, 101, 108, 70, 108, 108, 73, - 74, 75, 108, 108, 108, 108, 80, 108, 108, 83, - 84, 1, 108, 108, 108, 89, 90, 91, 108, 93, - 94, 108, 108, 13, 65, 108, 67, 108, 108, 70, - 108, 105, 73, 74, 75, 25, 108, 108, 108, 80, - 108, 31, 83, 84, 1, 108, 108, 108, 89, 90, - 91, 108, 93, 94, 108, 108, 13, 65, 108, 67, - 101, 108, 70, 108, 108, 73, 74, 75, 25, 77, - 108, 108, 80, 108, 31, 83, 84, 1, 108, 108, - 108, 89, 90, 91, 108, 93, 94, 108, 108, 13, - 65, 108, 67, 108, 108, 70, 108, 108, 73, 74, - 75, 25, 108, 108, 108, 80, 108, 31, 83, 84, - 108, 108, 108, 108, 89, 90, 91, 9, 93, 94, - 12, 108, 108, 65, 16, 67, 108, 9, 70, 108, - 12, 73, 74, 75, 16, 65, 108, 67, 80, 108, - 70, 83, 84, 73, 74, 75, 108, 89, 90, 91, - 80, 93, 94, 83, 84, 9, 48, 108, 12, 89, - 90, 91, 16, 93, 94, 65, 48, 67, 108, 108, - 70, 25, 108, 73, 74, 75, 108, 31, 108, 108, - 80, 108, 108, 83, 84, 108, 108, 108, 108, 89, - 90, 91, 108, 93, 94, 108, 108, 65, 108, 67, - 108, 108, 70, 108, 108, 73, 74, 75, 108, 65, - 108, 67, 80, 108, 70, 83, 84, 73, 74, 75, - 108, 89, 90, 91, 80, 93, 94, 83, 84, 108, - 108, 108, 108, 89, 90, 91, 108, 93, 94, 65, - 108, 67, 108, 108, 70, 108, 108, 73, 74, 75, - 108, 108, 108, 108, 80, 108, 108, 83, 84, 108, - 108, 108, 108, 89, 90, 91, 108, 93, 94, 108, - 108, 65, 108, 67, 108, 108, 70, 108, 108, 73, - 74, 75, 108, 65, 108, 67, 80, 108, 70, 83, - 84, 73, 74, 75, 108, 89, 90, 91, 80, 93, - 94, 83, 84, 108, 108, 108, 108, 89, 90, 91, - 108, 93, 94, 65, 108, 67, 108, 108, 70, 108, - 108, 73, 74, 75, 108, 108, 108, 108, 80, 108, - 108, 83, 84, 108, 108, 108, 108, 89, 90, 91, - 108, 93, 94, 108, 108, 65, 108, 67, 108, 108, - 70, 108, 108, 73, 74, 75, 108, 65, 108, 67, - 80, 108, 70, 83, 84, 73, 74, 75, 108, 89, - 90, 91, 80, 93, 94, 83, 84, 108, 108, 108, - 108, 89, 90, 91, 108, 93, 94, 65, 108, 67, - 108, 108, 70, 108, 108, 73, 74, 75, 108, 108, - 108, 108, 80, 108, 108, 83, 84, 108, 108, 108, - 108, 89, 90, 91, 108, 93, 94, 108, 108, 65, - 108, 67, 108, 108, 70, 108, 108, 73, 74, 75, - 108, 65, 108, 67, 80, 108, 70, 83, 84, 73, - 74, 75, 108, 89, 90, 91, 80, 93, 94, 83, - 84, 108, 108, 108, 108, 89, 90, 91, 108, 93, - 94, 65, 108, 67, 108, 108, 70, 108, 108, 73, - 74, 75, 108, 108, 108, 108, 80, 108, 108, 83, - 84, 108, 108, 108, 108, 89, 90, 91, 108, 93, - 94, 108, 108, 65, 108, 67, 108, 108, 70, 108, - 108, 73, 74, 75, 108, 65, 108, 67, 80, 108, - 70, 83, 84, 73, 74, 75, 108, 89, 90, 91, - 80, 93, 94, 83, 84, 108, 108, 108, 108, 89, - 90, 91, 108, 93, 94, 65, 108, 67, 108, 108, - 70, 108, 108, 73, 74, 75, 108, 108, 108, 108, - 80, 108, 108, 83, 84, 108, 108, 108, 108, 89, - 90, 91, 108, 93, 94, 108, 108, 65, 108, 67, - 108, 108, 70, 108, 108, 73, 74, 75, 108, 65, - 108, 67, 80, 108, 70, 83, 84, 73, 74, 75, - 108, 89, 90, 91, 80, 93, 94, 83, 84, 108, - 108, 108, 108, 89, 90, 91, 108, 93, 94, 65, - 108, 67, 108, 108, 70, 108, 108, 73, 74, 75, - 108, 108, 108, 108, 80, 108, 108, 83, 84, 108, - 108, 108, 108, 89, 90, 91, 108, 93, 94, 108, - 108, 65, 108, 67, 108, 108, 70, 108, 108, 73, - 74, 75, 108, 65, 108, 67, 80, 108, 70, 83, - 84, 73, 74, 75, 108, 89, 90, 91, 80, 93, - 94, 83, 84, 108, 108, 108, 108, 89, 90, 91, - 108, 93, 94, 65, 108, 67, 108, 108, 70, 108, - 108, 73, 74, 75, 108, 108, 108, 108, 80, 108, - 108, 83, 84, 108, 108, 108, 108, 89, 90, 91, - 108, 93, 94, 108, 108, 65, 108, 67, 108, 108, - 70, 108, 108, 73, 74, 75, 108, 65, 108, 67, - 80, 108, 70, 83, 84, 73, 74, 75, 108, 89, - 90, 91, 80, 93, 94, 83, 84, 108, 108, 108, - 108, 89, 90, 91, 108, 93, 94, 3, 20, 108, - 108, 108, 108, 9, 10, 11, 12, 108, 14, 108, - 108, 108, 18, 19, 36, 37, 38, 39, 24, 108, - 108, 108, 28, 29, 30, 108, 108, 23, 108, 25, - 108, 53, 54, 55, 56, 31, 108, 108, 108, 108, - 36, 37, 38, 39, 108, 108, 108, 108, 108, 108, - 108, 108, 58, 59, 108, 108, 3, 53, 54, 55, - 56, 108, 9, 10, 11, 12, 108, 14, 108, 108, - 108, 18, 19, 108, 108, 108, 108, 24, 108, 25, - 108, 28, 29, 30, 108, 31, 108, 108, 108, 108, - 36, 37, 38, 39, 108, 108, 108, 108, 108, 108, - 108, 108, 108, 108, 108, 108, 108, 53, 54, 55, - 56, 58, 59, 108, 108, 3, 4, 5, 6, 108, - 108, 9, 10, 11, 12, 108, 108, 108, 108, 108, - 18, 19, 108, 108, 108, 108, 24, 108, 108, 108, - 28, 29, 30, 65, 108, 67, 108, 108, 70, 108, - 108, 73, 74, 108, 108, 108, 108, 108, 80, 108, - 108, 108, 108, 108, 108, 108, 88, 89, 90, 91, - 108, 93, 94, 108, 108, 108, 108, 108, 65, 108, - 67, 108, 108, 70, 108, 108, 73, 74, 108, 108, - 65, 108, 67, 80, 108, 70, 108, 108, 73, 74, - 108, 88, 89, 90, 91, 80, 93, 94, 108, 108, - 108, 108, 108, 108, 89, 90, 91, 108, 93, 94, - 108, 108, 108, 108, 65, 108, 67, 108, 108, 70, - 108, 108, 73, 74, 108, 108, 108, 108, 108, 80, - 108, 108, 108, 108, 108, 108, 108, 108, 89, 90, - 91, 108, 93, 94, 108, 108, 65, 108, 67, 108, - 108, 70, 108, 108, 73, 74, 108, 108, 65, 108, - 67, 80, 108, 70, 108, 108, 73, 74, 108, 108, - 89, 90, 91, 80, 93, 94, 108, 108, 108, 108, - 108, 108, 89, 90, 91, 108, 93, 94, 65, 108, - 67, 108, 108, 70, 108, 108, 73, 74, 108, 108, - 108, 108, 108, 80, 108, 108, 108, 108, 108, 108, - 108, 108, 89, 90, 91, 108, 93, 94, 108, 108, - 65, 108, 67, 108, 108, 70, 108, 108, 73, 74, - 108, 108, 65, 108, 67, 80, 108, 70, 108, 108, - 73, 74, 108, 108, 89, 90, 91, 80, 93, 94, - 108, 108, 2, 108, 108, 108, 89, 90, 91, 9, - 93, 94, 12, 2, 108, 15, 16, 17, 108, 108, - 9, 21, 108, 12, 108, 108, 2, 16, 17, 108, - 108, 9, 21, 9, 12, 108, 12, 108, 16, 15, - 16, 17, 108, 43, 2, 21, 46, 25, 48, 27, - 50, 108, 108, 31, 43, 108, 108, 46, 108, 48, - 108, 50, 51, 108, 108, 108, 108, 43, 108, 108, - 46, 108, 48, 108, 50, 2, 34, 108, 36, 37, - 38, 39, 9, 108, 108, 12, 108, 108, 46, 16, - 17, 108, 2, 108, 21, 53, 54, 55, 56, 9, - 108, 108, 12, 108, 13, 108, 16, 17, 108, 108, - 108, 21, 108, 108, 108, 108, 43, 108, 108, 46, - 108, 48, 108, 50, 108, 108, 108, 36, 37, 38, - 39, 108, 108, 43, 108, 13, 46, 108, 48, 108, - 50, 108, 108, 108, 53, 54, 55, 56, 36, 37, - 38, 39, 35, 36, 37, 38, 39, 108, 36, 37, - 38, 39, 13, 51, 2, 53, 54, 55, 56, 13, - 53, 54, 55, 56, 108, 53, 54, 55, 56, 108, - 108, 108, 108, 108, 108, 36, 37, 38, 39, 108, - 108, 108, 36, 37, 38, 39, 108, 108, 36, 37, - 38, 39, 53, 54, 55, 56, 13, 108, 108, 53, - 54, 55, 56, 108, 108, 53, 54, 55, 56, 9, - 108, 108, 12, 108, 108, 108, 16, 17, 108, 36, - 37, 38, 39, 108, 108, 108, 108, 108, 108, 108, - 108, 108, 108, 108, 108, 108, 53, 54, 55, 56, - 108, 108, 108, 43, 108, 108, 46, 108, 48, 108, - 50, + 2, 15, 1, 13, 86, 87, 88, 9, 10, 11, + 12, 21, 14, 23, 16, 73, 26, 19, 20, 77, + 22, 1, 32, 25, 34, 83, 36, 29, 30, 31, + 44, 33, 96, 35, 44, 81, 38, 51, 40, 41, + 42, 43, 44, 73, 46, 103, 48, 77, 50, 51, + 66, 53, 68, 83, 17, 18, 58, 59, 9, 10, + 11, 12, 73, 14, 97, 16, 99, 100, 19, 20, + 70, 22, 83, 103, 25, 86, 87, 88, 29, 30, + 31, 44, 33, 26, 35, 62, 63, 38, 51, 32, + 41, 42, 43, 44, 73, 46, 96, 48, 77, 50, + 51, 52, 53, 71, 83, 98, 74, 58, 59, 9, + 10, 11, 12, 81, 14, 13, 16, 15, 14, 19, + 20, 77, 22, 91, 103, 25, 70, 95, 26, 29, + 30, 31, 93, 33, 32, 35, 14, 35, 38, 35, + 101, 41, 42, 43, 44, 22, 46, 103, 48, 47, + 50, 51, 14, 53, 16, 99, 100, 53, 58, 59, + 9, 10, 11, 12, 73, 14, 26, 16, 45, 1, + 19, 20, 32, 22, 83, 53, 25, 86, 87, 88, + 29, 30, 31, 60, 33, 17, 35, 13, 50, 38, + 1, 53, 41, 42, 43, 44, 22, 46, 73, 48, + 26, 50, 51, 83, 53, 66, 32, 68, 83, 58, + 59, 9, 10, 11, 12, 73, 14, 28, 16, 45, + 96, 19, 20, 98, 22, 83, 73, 25, 86, 87, + 88, 29, 30, 31, 1, 33, 83, 35, 1, 2, + 38, 17, 18, 41, 42, 43, 44, 108, 46, 71, + 48, 98, 50, 51, 81, 53, 78, 79, 81, 81, + 58, 59, 9, 10, 11, 12, 12, 14, 14, 16, + 16, 47, 19, 20, 28, 22, 15, 15, 25, 17, + 18, 35, 29, 30, 31, 52, 33, 33, 35, 13, + 96, 38, 98, 47, 41, 42, 43, 44, 22, 46, + 73, 48, 26, 50, 51, 44, 53, 53, 32, 47, + 83, 58, 59, 9, 10, 11, 12, 66, 14, 68, + 16, 45, 34, 19, 20, 96, 22, 98, 15, 25, + 17, 18, 35, 29, 30, 31, 80, 33, 22, 35, + 52, 44, 38, 73, 47, 41, 42, 43, 44, 52, + 46, 1, 48, 83, 50, 51, 97, 53, 107, 108, + 47, 45, 58, 59, 9, 10, 11, 12, 52, 14, + 44, 16, 81, 103, 19, 20, 26, 22, 52, 1, + 25, 96, 32, 98, 29, 30, 31, 14, 33, 16, + 35, 13, 101, 38, 99, 100, 41, 42, 43, 44, + 15, 46, 100, 48, 26, 50, 51, 22, 53, 71, + 32, 71, 74, 58, 59, 9, 10, 11, 12, 81, + 14, 81, 16, 81, 93, 19, 20, 9, 22, 96, + 12, 25, 101, 95, 16, 29, 30, 31, 12, 33, + 14, 35, 16, 101, 38, 73, 14, 41, 42, 43, + 44, 44, 46, 73, 48, 83, 50, 51, 51, 53, + 96, 1, 2, 83, 58, 59, 9, 10, 11, 12, + 12, 14, 14, 16, 16, 103, 19, 20, 6, 53, + 8, 1, 25, 103, 71, 53, 29, 30, 31, 21, + 33, 78, 35, 13, 81, 38, 99, 100, 41, 42, + 43, 44, 34, 46, 77, 48, 26, 50, 51, 16, + 53, 53, 32, 73, 77, 58, 59, 9, 10, 11, + 12, 96, 14, 83, 16, 71, 73, 19, 20, 35, + 103, 104, 78, 25, 103, 81, 83, 29, 30, 31, + 103, 33, 49, 35, 17, 18, 38, 73, 44, 41, + 42, 43, 44, 2, 46, 51, 48, 83, 50, 51, + 104, 53, 37, 38, 39, 40, 58, 59, 66, 67, + 68, 69, 77, 71, 72, 96, 74, 75, 76, 54, + 55, 56, 57, 81, 65, 60, 84, 85, 64, 65, + 7, 8, 90, 91, 92, 82, 94, 95, 103, 12, + 66, 67, 68, 69, 9, 71, 72, 12, 74, 75, + 76, 16, 34, 9, 36, 81, 12, 82, 84, 85, + 16, 26, 35, 28, 90, 91, 92, 32, 94, 95, + 82, 7, 96, 66, 35, 68, 69, 9, 71, 72, + 12, 74, 75, 76, 16, 66, 47, 68, 81, 12, + 71, 84, 85, 74, 75, 76, 13, 90, 91, 92, + 81, 94, 95, 84, 85, 96, 22, 96, 96, 90, + 91, 92, 35, 94, 95, 35, 34, 49, 36, 13, + 37, 38, 39, 40, 105, 106, 66, 47, 68, 45, + 35, 71, 13, 16, 74, 75, 76, 54, 55, 56, + 57, 81, 47, 16, 84, 85, 9, 16, 16, 12, + 90, 91, 92, 16, 94, 95, 14, 16, 16, 66, + 34, 68, 36, 14, 71, 105, 106, 74, 75, 76, + 34, 78, 36, 16, 81, 35, 33, 84, 85, 44, + 33, 16, 16, 90, 91, 92, 49, 94, 95, 16, + 48, 66, 50, 68, 50, 53, 71, 16, 50, 74, + 75, 76, 52, 52, 16, 9, 81, 15, 12, 84, + 85, 36, 16, 23, 109, 90, 91, 92, 109, 94, + 95, 66, 26, 68, 109, 109, 71, 102, 32, 74, + 75, 76, 109, 109, 109, 109, 81, 109, 109, 84, + 85, 9, 1, 109, 12, 90, 91, 92, 16, 94, + 95, 66, 109, 68, 13, 109, 71, 102, 109, 74, + 75, 76, 109, 109, 109, 109, 81, 26, 109, 84, + 85, 109, 109, 32, 109, 90, 91, 92, 109, 94, + 95, 49, 109, 109, 66, 109, 68, 109, 109, 71, + 109, 106, 74, 75, 76, 109, 109, 109, 109, 81, + 109, 109, 84, 85, 109, 109, 109, 109, 90, 91, + 92, 109, 94, 95, 66, 109, 68, 109, 109, 71, + 102, 109, 74, 75, 76, 109, 78, 109, 109, 81, + 109, 109, 84, 85, 109, 109, 109, 109, 90, 91, + 92, 109, 94, 95, 66, 109, 68, 109, 109, 71, + 109, 109, 74, 75, 76, 109, 66, 109, 68, 81, + 109, 71, 84, 85, 74, 75, 76, 109, 90, 91, + 92, 81, 94, 95, 84, 85, 109, 109, 109, 109, + 90, 91, 92, 109, 94, 95, 66, 109, 68, 109, + 109, 71, 109, 109, 74, 75, 76, 109, 109, 109, + 109, 81, 109, 109, 84, 85, 109, 109, 109, 109, + 90, 91, 92, 109, 94, 95, 66, 109, 68, 109, + 109, 71, 109, 109, 74, 75, 76, 109, 66, 109, + 68, 81, 109, 71, 84, 85, 74, 75, 76, 109, + 90, 91, 92, 81, 94, 95, 84, 85, 109, 109, + 109, 109, 90, 91, 92, 109, 94, 95, 66, 109, + 68, 109, 109, 71, 109, 109, 74, 75, 76, 109, + 109, 109, 109, 81, 109, 109, 84, 85, 109, 109, + 109, 109, 90, 91, 92, 109, 94, 95, 66, 109, + 68, 109, 109, 71, 109, 109, 74, 75, 76, 109, + 66, 109, 68, 81, 109, 71, 84, 85, 74, 75, + 76, 109, 90, 91, 92, 81, 94, 95, 84, 85, + 109, 109, 109, 109, 90, 91, 92, 109, 94, 95, + 66, 109, 68, 109, 109, 71, 109, 109, 74, 75, + 76, 109, 109, 109, 109, 81, 109, 109, 84, 85, + 109, 109, 109, 109, 90, 91, 92, 109, 94, 95, + 66, 109, 68, 109, 109, 71, 109, 109, 74, 75, + 76, 109, 66, 109, 68, 81, 109, 71, 84, 85, + 74, 75, 76, 109, 90, 91, 92, 81, 94, 95, + 84, 85, 109, 109, 109, 109, 90, 91, 92, 109, + 94, 95, 66, 109, 68, 109, 109, 71, 109, 109, + 74, 75, 76, 109, 109, 109, 109, 81, 109, 109, + 84, 85, 109, 109, 109, 109, 90, 91, 92, 109, + 94, 95, 66, 109, 68, 109, 109, 71, 109, 109, + 74, 75, 76, 109, 66, 109, 68, 81, 109, 71, + 84, 85, 74, 75, 76, 109, 90, 91, 92, 81, + 94, 95, 84, 85, 109, 109, 109, 109, 90, 91, + 92, 109, 94, 95, 66, 109, 68, 109, 109, 71, + 109, 109, 74, 75, 76, 109, 109, 109, 109, 81, + 109, 109, 84, 85, 109, 109, 109, 109, 90, 91, + 92, 109, 94, 95, 66, 109, 68, 109, 109, 71, + 109, 109, 74, 75, 76, 109, 66, 109, 68, 81, + 109, 71, 84, 85, 74, 75, 76, 109, 90, 91, + 92, 81, 94, 95, 84, 85, 109, 109, 109, 109, + 90, 91, 92, 109, 94, 95, 66, 109, 68, 109, + 109, 71, 109, 109, 74, 75, 76, 109, 109, 109, + 109, 81, 109, 109, 84, 85, 109, 109, 109, 109, + 90, 91, 92, 109, 94, 95, 66, 109, 68, 109, + 109, 71, 109, 109, 74, 75, 76, 109, 66, 109, + 68, 81, 109, 71, 84, 85, 74, 75, 76, 109, + 90, 91, 92, 81, 94, 95, 84, 85, 109, 109, + 109, 109, 90, 91, 92, 109, 94, 95, 66, 109, + 68, 109, 109, 71, 109, 109, 74, 75, 76, 109, + 109, 109, 109, 81, 109, 109, 84, 85, 109, 109, + 109, 109, 90, 91, 92, 109, 94, 95, 66, 109, + 68, 109, 109, 71, 109, 109, 74, 75, 76, 109, + 66, 109, 68, 81, 109, 71, 84, 85, 74, 75, + 76, 109, 90, 91, 92, 81, 94, 95, 84, 85, + 109, 109, 109, 109, 90, 91, 92, 109, 94, 95, + 66, 109, 68, 109, 109, 71, 109, 109, 74, 75, + 76, 109, 109, 109, 109, 81, 109, 109, 84, 85, + 109, 109, 109, 109, 90, 91, 92, 109, 94, 95, + 66, 109, 68, 109, 109, 71, 109, 109, 74, 75, + 76, 109, 66, 109, 68, 81, 109, 71, 84, 85, + 74, 75, 76, 109, 90, 91, 92, 81, 94, 95, + 84, 85, 109, 109, 109, 109, 90, 91, 92, 109, + 94, 95, 66, 109, 68, 109, 109, 71, 109, 109, + 74, 75, 76, 109, 109, 109, 109, 81, 109, 109, + 84, 85, 109, 109, 109, 109, 90, 91, 92, 109, + 94, 95, 66, 109, 68, 109, 109, 71, 109, 109, + 74, 75, 76, 109, 66, 109, 68, 81, 109, 71, + 84, 85, 74, 75, 76, 109, 90, 91, 92, 81, + 94, 95, 84, 85, 109, 27, 109, 109, 90, 91, + 92, 109, 94, 95, 3, 37, 38, 39, 40, 109, + 9, 10, 11, 12, 109, 14, 109, 109, 109, 109, + 19, 20, 54, 55, 56, 57, 25, 109, 109, 109, + 29, 30, 31, 109, 109, 109, 3, 37, 38, 39, + 40, 109, 9, 10, 11, 12, 109, 14, 109, 109, + 109, 109, 19, 20, 54, 55, 56, 57, 25, 109, + 59, 60, 29, 30, 31, 109, 109, 109, 3, 4, + 5, 6, 109, 109, 9, 10, 11, 12, 109, 109, + 109, 109, 109, 109, 19, 20, 109, 109, 109, 109, + 25, 109, 59, 60, 29, 30, 31, 66, 109, 68, + 109, 109, 71, 109, 109, 74, 75, 109, 109, 66, + 109, 68, 81, 109, 71, 109, 109, 74, 75, 109, + 89, 90, 91, 92, 81, 94, 95, 109, 109, 2, + 109, 109, 89, 90, 91, 92, 9, 94, 95, 12, + 2, 109, 15, 16, 17, 18, 109, 9, 109, 22, + 12, 109, 2, 109, 16, 17, 18, 109, 109, 9, + 22, 109, 12, 109, 109, 15, 16, 17, 18, 109, + 109, 44, 22, 109, 47, 109, 49, 109, 51, 109, + 109, 109, 44, 109, 109, 47, 109, 49, 109, 51, + 52, 109, 109, 109, 44, 109, 109, 47, 109, 49, + 66, 51, 68, 109, 109, 71, 109, 109, 74, 75, + 109, 109, 66, 109, 68, 81, 109, 71, 109, 109, + 74, 75, 109, 109, 90, 91, 92, 81, 94, 95, + 1, 109, 109, 109, 109, 109, 90, 91, 92, 109, + 94, 95, 13, 66, 109, 68, 17, 18, 71, 109, + 109, 74, 75, 109, 109, 26, 109, 109, 81, 109, + 109, 32, 109, 109, 35, 109, 109, 90, 91, 92, + 109, 94, 95, 109, 109, 66, 47, 68, 109, 109, + 71, 109, 109, 74, 75, 109, 109, 66, 109, 68, + 81, 109, 71, 109, 109, 74, 75, 109, 109, 90, + 91, 92, 81, 94, 95, 109, 109, 109, 109, 109, + 109, 90, 91, 92, 109, 94, 95, 109, 66, 109, + 68, 2, 109, 71, 109, 109, 74, 75, 9, 109, + 109, 12, 109, 81, 109, 16, 17, 18, 109, 109, + 109, 22, 90, 91, 92, 109, 94, 95, 109, 109, + 66, 109, 68, 2, 109, 71, 109, 109, 74, 75, + 109, 109, 109, 44, 109, 81, 47, 109, 49, 24, + 51, 26, 109, 109, 90, 91, 92, 32, 94, 95, + 109, 109, 37, 38, 39, 40, 35, 109, 37, 38, + 39, 40, 109, 109, 109, 109, 109, 109, 47, 54, + 55, 56, 57, 2, 109, 54, 55, 56, 57, 109, + 9, 109, 109, 12, 109, 109, 109, 16, 17, 18, + 109, 109, 109, 22, 21, 26, 109, 109, 109, 109, + 109, 32, 109, 109, 109, 109, 37, 38, 39, 40, + 37, 38, 39, 40, 109, 44, 109, 109, 47, 109, + 49, 13, 51, 54, 55, 56, 57, 54, 55, 56, + 57, 36, 37, 38, 39, 40, 109, 109, 109, 37, + 38, 39, 40, 13, 109, 37, 38, 39, 40, 54, + 55, 56, 57, 13, 52, 109, 54, 55, 56, 57, + 109, 109, 54, 55, 56, 57, 13, 37, 38, 39, + 40, 109, 109, 109, 109, 109, 13, 37, 38, 39, + 40, 109, 109, 109, 54, 55, 56, 57, 2, 109, + 37, 38, 39, 40, 54, 55, 56, 57, 109, 109, + 37, 38, 39, 40, 13, 109, 109, 54, 55, 56, + 57, 109, 109, 109, 109, 109, 109, 54, 55, 56, + 57, 109, 109, 37, 38, 39, 40, 109, 37, 38, + 39, 40, 109, 109, 109, 109, 109, 109, 109, 109, + 54, 55, 56, 57, 109, 54, 55, 56, 57, 109, + 9, 109, 109, 12, 109, 109, 109, 16, 17, 18, + 109, 109, 109, 109, 109, 109, 109, 109, 109, 109, + 109, 109, 109, 109, 109, 109, 109, 109, 109, 109, + 109, 109, 109, 109, 109, 44, 109, 109, 47, 109, + 49, 109, 51, ); - const YY_SHIFT_USE_DFLT = -29; - const YY_SHIFT_MAX = 234; + const YY_SHIFT_USE_DFLT = -15; + const YY_SHIFT_MAX = 252; public static $yy_shift_ofst = array( - -29, 98, 98, 148, 198, 198, 248, 148, 148, 198, - 148, 248, -2, 48, 298, 148, 148, 148, 298, 148, - 148, 148, 148, 148, 148, 148, 148, 148, 148, 148, - 348, 148, 148, 148, 148, 398, 148, 148, 148, 448, - 498, 498, 498, 498, 498, 498, 498, 498, 1574, 1624, - 1624, 147, 1564, 688, 285, 140, 675, 1623, 1548, 627, - 2021, 2047, 2042, 2052, 415, 2079, 2086, 2092, 2123, 465, - 465, 465, 465, 465, 465, 465, 465, 465, 465, 465, - 465, 465, 465, 465, 465, 465, 465, 1952, 956, 136, - 87, 675, 675, 140, 140, 150, 1682, 1930, 561, 59, - 820, 853, 886, 337, 337, 103, 250, 273, 250, 406, - 314, 156, 215, 215, 203, 382, 402, 250, 19, 19, - 19, 19, 19, 19, 19, 19, 17, 17, 78, 19, - -29, -29, 1941, 1954, 2003, 2020, 2140, 49, 918, 583, - 236, 250, 250, 308, 250, 390, 250, 390, 250, 368, - 368, 250, 250, 250, 250, 368, 153, 368, 368, 368, - 436, 368, 436, 368, 250, 250, 250, 250, 19, 463, - 19, 19, 463, 19, 499, 17, 17, 17, -29, -29, - -29, -29, -29, -29, 1972, 11, 100, 190, 240, 928, - -28, 191, 342, 616, 362, 517, 104, 433, 452, 429, - 453, 477, 411, 459, 41, 486, 480, 501, 536, 547, - 574, 587, 585, 586, 592, 594, 595, 608, 609, 589, - 596, 602, 610, 638, 499, 639, 607, 619, 654, 624, - 634, 674, 671, 656, 677, + -15, 100, 100, 151, 202, 202, 253, 151, 151, 202, + 151, 253, -2, 49, 304, 151, 151, 151, 304, 151, + 151, 151, 151, 151, 151, 151, 151, 151, 151, 151, + 151, 151, 355, 151, 151, 151, 151, 406, 151, 151, + 151, 457, 508, 508, 508, 508, 508, 508, 508, 508, + 1935, 1989, 1989, 702, 1591, 1819, 138, 104, 350, 350, + 1623, 1993, 1558, 643, 2015, 2022, 2028, 2050, 2060, 525, + 2073, 2083, 2106, 2111, 1590, 1590, 1590, 1590, 1590, 1590, + 1590, 1590, 1590, 1590, 1590, 1590, 1590, 1590, 1590, 1590, + 1590, 1590, 595, 756, 37, 262, 350, 350, 350, 104, + 104, 237, 1655, 1717, 628, 426, 458, 378, 480, 801, + 313, 224, 418, 418, 418, 57, 122, 57, 140, 168, + 373, 373, 233, 460, 527, 189, 527, 57, 1, 1, + 1, 1, 1, 1, 1, 1, 20, 1, -15, -15, + 1728, 1740, 1909, 1991, 2161, 254, 697, 604, -14, 57, + 57, 385, 57, 432, 57, 432, 57, 407, 407, 527, + 407, 587, 407, 407, 407, 57, 57, 57, 57, 57, + 57, 407, 637, 407, 407, 407, 504, 407, 504, 407, + 527, 527, 57, 57, 57, 57, 1, 551, 1, 1, + 551, 1, 494, -15, -15, -15, -15, -15, -15, -15, + -15, 1941, -10, 102, 174, 276, 792, 297, 246, 123, + 316, 472, 583, 468, 493, 644, 599, 640, 655, 578, + 642, 288, 326, 686, 696, 261, 624, 666, 679, 677, + 687, 691, 692, 701, 709, 717, 695, 703, 707, 700, + 725, 494, 726, 733, 704, 708, 741, 710, 711, 748, + 752, 735, 750, ); - const YY_REDUCE_USE_DFLT = -88; - const YY_REDUCE_MAX = 183; + const YY_REDUCE_USE_DFLT = -83; + const YY_REDUCE_MAX = 200; public static $yy_reduce_ofst = array( - -59, 492, 523, 556, 568, 604, 637, 670, 703, 736, - 769, 802, 835, 868, 880, 910, 942, 954, 984, 1016, - 1028, 1058, 1090, 1102, 1132, 1164, 1176, 1206, 1238, 1250, - 1280, 1312, 1324, 1354, 1386, 1398, 1428, 1460, 1472, 1648, - 1683, 1695, 1729, 1761, 1773, 1803, 1835, 1847, 533, 680, - 713, -69, 77, 99, 281, 491, 502, 29, -34, -34, - -34, -34, -34, -34, -34, -34, -34, -34, -34, -34, - -34, -34, -34, -34, -34, -34, -34, -34, -34, -34, - -34, -34, -34, -34, -34, -34, -34, 239, 299, -12, - 175, 222, 231, 143, 172, 318, 3, 34, 26, -51, - 194, 194, 194, 73, 26, 275, 164, 272, 220, 320, - 242, 275, -87, 287, 194, 194, 194, 341, 323, 194, - 194, 194, 194, 194, 194, 194, 275, 335, 194, 194, - 420, 194, 129, 129, 129, 129, 129, 183, -14, 129, - 129, 151, 151, 189, 151, 344, 151, 356, 151, 187, - 187, 151, 151, 151, 151, 187, 225, 187, 187, 187, - 270, 187, 366, 187, 151, 151, 151, 151, 313, 428, - 313, 313, 428, 313, 447, 445, 445, 445, 482, 468, - 471, 472, 469, 485, + 23, 502, 534, 567, 579, 620, 653, 685, 715, 745, + 778, 808, 838, 850, 880, 910, 922, 952, 982, 994, + 1024, 1054, 1066, 1096, 1126, 1138, 1168, 1198, 1210, 1240, + 1270, 1282, 1312, 1342, 1354, 1384, 1414, 1426, 1456, 1486, + 1498, 1621, 1633, 1724, 1736, 1767, 1799, 1811, 1842, 1874, + -11, 91, 142, 32, 251, -58, 338, 178, -30, 21, + 139, -82, -82, -82, -82, -82, -82, -82, -82, -82, + -82, -82, -82, -82, -82, -82, -82, -82, -82, -82, + -82, -82, -82, -82, -82, -82, -82, -82, -82, -82, + -82, -82, 125, 153, -33, 56, 270, 372, 380, 413, + 454, 427, -16, 0, 194, 291, 342, 44, 44, 44, + 295, 295, 229, 285, 194, 227, 340, 440, 453, 437, + 39, 331, 44, 44, 295, 44, 397, 474, 495, 44, + 44, 44, 44, 44, 44, 44, 44, 44, 524, 44, + -64, -64, -64, -64, -64, -46, 7, -64, -64, 120, + 120, 256, 120, 173, 120, 177, 120, 259, 259, 302, + 259, 124, 259, 259, 259, 120, 120, 120, 120, 120, + 120, 259, 333, 259, 259, 259, 364, 259, 425, 259, + 302, 302, 120, 120, 120, 120, 431, 456, 431, 431, + 456, 431, 479, 519, 513, 535, 548, 536, 569, 571, + 572, ); 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(2, 9, 10, 11, 12, 14, 16, 18, 19, 21, 24, 28, 29, 30, 32, 34, 37, 39, 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, 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, 39, 53, 54, 55, 56, ), - array(25, 31, 36, 37, 38, 39, 53, 54, 55, 56, ), - array(25, 31, 36, 37, 38, 39, 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, 39, 53, 54, 55, 56, ), - array(26, 36, 37, 38, 39, 53, 54, 55, 56, ), - array(13, 36, 37, 38, 39, 53, 54, 55, 56, ), - array(35, 36, 37, 38, 39, 53, 54, 55, 56, ), - array(36, 37, 38, 39, 51, 53, 54, 55, 56, ), - array(13, 36, 37, 38, 39, 53, 54, 55, 56, ), - array(36, 37, 38, 39, 53, 54, 55, 56, 59, ), - array(13, 36, 37, 38, 39, 53, 54, 55, 56, ), - array(13, 36, 37, 38, 39, 53, 54, 55, 56, ), - array(2, 36, 37, 38, 39, 53, 54, 55, 56, ), - array(13, 36, 37, 38, 39, 53, 54, 55, 56, ), - array(36, 37, 38, 39, 53, 54, 55, 56, ), - array(36, 37, 38, 39, 53, 54, 55, 56, ), - array(36, 37, 38, 39, 53, 54, 55, 56, ), - array(36, 37, 38, 39, 53, 54, 55, 56, ), - array(36, 37, 38, 39, 53, 54, 55, 56, ), - array(36, 37, 38, 39, 53, 54, 55, 56, ), - array(36, 37, 38, 39, 53, 54, 55, 56, ), - array(36, 37, 38, 39, 53, 54, 55, 56, ), - array(36, 37, 38, 39, 53, 54, 55, 56, ), - array(36, 37, 38, 39, 53, 54, 55, 56, ), - array(36, 37, 38, 39, 53, 54, 55, 56, ), - array(36, 37, 38, 39, 53, 54, 55, 56, ), - array(36, 37, 38, 39, 53, 54, 55, 56, ), - array(36, 37, 38, 39, 53, 54, 55, 56, ), - array(36, 37, 38, 39, 53, 54, 55, 56, ), - array(36, 37, 38, 39, 53, 54, 55, 56, ), - array(36, 37, 38, 39, 53, 54, 55, 56, ), - array(36, 37, 38, 39, 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(2, 9, 10, 11, 12, 14, 16, 19, 20, 22, 25, 29, 30, 31, 33, 35, 38, 40, 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, 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, 40, 54, 55, 56, 57, ), + array(26, 32, 37, 38, 39, 40, 54, 55, 56, 57, ), + array(26, 32, 37, 38, 39, 40, 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, 40, 54, 55, 56, 57, ), + array(27, 37, 38, 39, 40, 54, 55, 56, 57, ), + array(13, 37, 38, 39, 40, 54, 55, 56, 57, ), + array(36, 37, 38, 39, 40, 54, 55, 56, 57, ), + array(37, 38, 39, 40, 52, 54, 55, 56, 57, ), + array(13, 37, 38, 39, 40, 54, 55, 56, 57, ), + array(13, 37, 38, 39, 40, 54, 55, 56, 57, ), + array(13, 37, 38, 39, 40, 54, 55, 56, 57, ), + array(37, 38, 39, 40, 54, 55, 56, 57, 60, ), + array(13, 37, 38, 39, 40, 54, 55, 56, 57, ), + array(13, 37, 38, 39, 40, 54, 55, 56, 57, ), + array(2, 37, 38, 39, 40, 54, 55, 56, 57, ), + array(13, 37, 38, 39, 40, 54, 55, 56, 57, ), + array(37, 38, 39, 40, 54, 55, 56, 57, ), + array(37, 38, 39, 40, 54, 55, 56, 57, ), + array(37, 38, 39, 40, 54, 55, 56, 57, ), + array(37, 38, 39, 40, 54, 55, 56, 57, ), + array(37, 38, 39, 40, 54, 55, 56, 57, ), + array(37, 38, 39, 40, 54, 55, 56, 57, ), + array(37, 38, 39, 40, 54, 55, 56, 57, ), + array(37, 38, 39, 40, 54, 55, 56, 57, ), + array(37, 38, 39, 40, 54, 55, 56, 57, ), + array(37, 38, 39, 40, 54, 55, 56, 57, ), + array(37, 38, 39, 40, 54, 55, 56, 57, ), + array(37, 38, 39, 40, 54, 55, 56, 57, ), + array(37, 38, 39, 40, 54, 55, 56, 57, ), + array(37, 38, 39, 40, 54, 55, 56, 57, ), + array(37, 38, 39, 40, 54, 55, 56, 57, ), + array(37, 38, 39, 40, 54, 55, 56, 57, ), + array(37, 38, 39, 40, 54, 55, 56, 57, ), + array(37, 38, 39, 40, 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, 52, ), array(1, 2, ), - array(1, 27, ), - array(25, 31, ), + array(17, 18, ), + array(1, 28, ), + array(17, 18, ), + array(26, 32, ), array(1, ), array(1, ), array(1, ), @@ -890,89 +909,96 @@ public static $yy_action = array( 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(2, 34, 36, 37, 38, 39, 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(), + array(2, 35, 37, 38, 39, 40, 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, ), @@ -983,22 +1009,24 @@ public static $yy_action = array( array(16, ), array(14, ), array(16, ), - array(43, ), - array(32, ), - array(32, ), - array(34, ), + array(44, ), + array(33, ), + array(33, ), + array(35, ), 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(), @@ -1098,46 +1126,48 @@ public static $yy_action = array( array(), ); public static $yy_default = array( - 342, 523, 523, 523, 508, 508, 523, 485, 485, 523, - 485, 523, 523, 523, 523, 523, 523, 523, 523, 523, - 523, 523, 523, 523, 523, 523, 523, 523, 523, 523, - 523, 523, 523, 523, 523, 523, 523, 523, 523, 523, - 523, 523, 523, 523, 523, 523, 523, 523, 382, 361, - 382, 523, 523, 424, 523, 523, 382, 523, 523, 387, - 523, 523, 523, 355, 523, 523, 523, 523, 523, 366, - 484, 405, 411, 483, 509, 511, 510, 410, 412, 409, - 413, 389, 393, 394, 384, 387, 355, 382, 382, 498, - 440, 382, 382, 523, 523, 373, 332, 439, 450, 523, - 396, 396, 396, 450, 450, 440, 382, 523, 382, 382, - 376, 440, 523, 523, 396, 396, 396, 363, 378, 396, - 403, 415, 416, 417, 404, 408, 440, 495, 415, 402, - 340, 492, 439, 439, 439, 439, 439, 523, 452, 450, - 466, 352, 362, 523, 365, 523, 370, 523, 371, 447, - 448, 356, 358, 359, 360, 476, 450, 475, 478, 477, - 443, 444, 445, 446, 372, 368, 369, 364, 374, 486, - 377, 379, 487, 433, 450, 472, 499, 496, 340, 491, - 491, 491, 450, 450, 424, 420, 424, 414, 414, 451, - 424, 424, 414, 414, 338, 523, 523, 523, 414, 424, - 434, 523, 523, 523, 523, 420, 523, 523, 420, 523, - 523, 523, 523, 523, 523, 523, 523, 523, 523, 420, - 422, 523, 497, 523, 466, 523, 523, 523, 523, 523, - 429, 523, 523, 523, 390, 333, 334, 335, 336, 337, - 339, 341, 343, 344, 345, 346, 347, 348, 349, 351, - 380, 381, 468, 469, 470, 490, 375, 488, 489, 418, - 427, 428, 437, 438, 449, 453, 454, 455, 397, 398, - 399, 400, 401, 419, 421, 423, 425, 429, 430, 431, - 406, 407, 432, 435, 436, 463, 461, 500, 501, 502, - 503, 441, 442, 474, 467, 482, 350, 473, 519, 520, - 512, 513, 514, 517, 516, 518, 521, 522, 515, 505, - 507, 506, 504, 479, 464, 462, 460, 457, 458, 459, - 465, 480, 481, 426, 456, 494, 471, 466, 383, 367, - 391, 395, + 361, 549, 549, 549, 534, 534, 549, 511, 511, 549, + 511, 549, 549, 549, 549, 549, 549, 549, 549, 549, + 549, 549, 549, 549, 549, 549, 549, 549, 549, 549, + 549, 549, 549, 549, 549, 549, 549, 549, 549, 549, + 549, 549, 549, 549, 549, 549, 549, 549, 549, 549, + 403, 382, 403, 549, 549, 445, 549, 549, 403, 403, + 549, 549, 408, 549, 549, 549, 549, 549, 374, 549, + 549, 549, 549, 549, 387, 510, 426, 432, 509, 535, + 537, 536, 431, 433, 430, 434, 410, 414, 415, 405, + 408, 374, 403, 403, 524, 461, 403, 403, 403, 549, + 549, 394, 351, 460, 471, 549, 549, 417, 417, 417, + 461, 461, 471, 471, 471, 403, 549, 403, 403, 397, + 549, 549, 417, 417, 461, 417, 521, 384, 399, 417, + 424, 436, 437, 438, 425, 429, 436, 423, 359, 518, + 460, 460, 460, 460, 460, 549, 473, 471, 487, 371, + 383, 549, 386, 549, 391, 549, 392, 468, 469, 493, + 502, 471, 501, 504, 503, 375, 377, 378, 379, 380, + 381, 497, 471, 496, 499, 498, 464, 465, 466, 467, + 525, 522, 393, 389, 390, 385, 395, 512, 398, 400, + 513, 454, 471, 359, 517, 517, 517, 471, 471, 471, + 471, 445, 441, 445, 435, 435, 472, 445, 445, 435, + 435, 357, 549, 549, 549, 435, 445, 455, 549, 549, + 549, 549, 441, 549, 549, 441, 549, 549, 549, 549, + 549, 549, 549, 549, 549, 549, 441, 443, 549, 523, + 549, 487, 549, 549, 549, 549, 549, 549, 450, 549, + 549, 549, 411, 352, 353, 354, 355, 356, 358, 360, + 362, 363, 364, 365, 366, 367, 368, 370, 401, 402, + 489, 490, 491, 516, 396, 514, 515, 439, 448, 449, + 458, 459, 470, 474, 475, 476, 418, 419, 420, 421, + 422, 440, 442, 444, 446, 450, 451, 452, 427, 428, + 453, 456, 457, 484, 482, 526, 527, 528, 529, 462, + 463, 495, 488, 508, 369, 494, 505, 545, 546, 538, + 539, 540, 543, 542, 544, 547, 548, 541, 531, 533, + 532, 530, 500, 485, 483, 481, 478, 479, 480, 486, + 506, 507, 447, 477, 520, 492, 487, 404, 388, 412, + 416, ); - const YYNOCODE = 109; + const YYNOCODE = 110; const YYSTACKDEPTH = 500; - const YYNSTATE = 332; - const YYNRULE = 191; - const YYERRORSYMBOL = 60; + const YYNSTATE = 351; + const YYNRULE = 198; + const YYERRORSYMBOL = 61; const YYERRSYMDT = 'yy0'; const YYFALLBACK = 0; public static $yyFallback = array( @@ -1170,29 +1200,30 @@ public static $yy_action = array( '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', 'nullcoalescing', - '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', + 'nullcoalescing', '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( @@ -1225,6 +1256,8 @@ public static $yy_action = array( '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', @@ -1344,6 +1377,11 @@ public static $yy_action = array( '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', @@ -1702,197 +1740,204 @@ public static $yy_action = array( } 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 => 67, 1 => 1 ), + array( 0 => 67, 1 => 2 ), + array( 0 => 67, 1 => 2 ), + array( 0 => 70, 1 => 2 ), array( 0 => 69, 1 => 2 ), - array( 0 => 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 => 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 => 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 => 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 => 75, 1 => 1 ), - array( 0 => 75, 1 => 1 ), - array( 0 => 75, 1 => 2 ), - array( 0 => 75, 1 => 2 ), - array( 0 => 75, 1 => 3 ), - array( 0 => 75, 1 => 3 ), - array( 0 => 75, 1 => 3 ), - array( 0 => 75, 1 => 3 ), - array( 0 => 75, 1 => 3 ), - array( 0 => 75, 1 => 2 ), - array( 0 => 75, 1 => 3 ), - array( 0 => 75, 1 => 3 ), - array( 0 => 83, 1 => 4 ), - array( 0 => 84, 1 => 5 ), - array( 0 => 84, 1 => 5 ), - array( 0 => 84, 1 => 5 ), - array( 0 => 84, 1 => 4 ), - 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 => 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 => 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 => 90, 1 => 1 ), - array( 0 => 90, 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 => 95, 1 => 2 ), - 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 => 96, 1 => 3 ), - array( 0 => 96, 1 => 2 ), - array( 0 => 80, 1 => 1 ), - array( 0 => 80, 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 => 97, 1 => 1 ), - array( 0 => 97, 1 => 1 ), - array( 0 => 97, 1 => 3 ), - array( 0 => 94, 1 => 2 ), - array( 0 => 98, 1 => 1 ), - array( 0 => 98, 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 => 1 ), - array( 0 => 101, 1 => 0 ), + array( 0 => 80, 1 => 1 ), + array( 0 => 68, 1 => 5 ), + array( 0 => 68, 1 => 7 ), + array( 0 => 68, 1 => 6 ), + array( 0 => 68, 1 => 8 ), + array( 0 => 68, 1 => 2 ), + array( 0 => 68, 1 => 3 ), + array( 0 => 68, 1 => 4 ), + array( 0 => 66, 1 => 1 ), + array( 0 => 68, 1 => 2 ), + array( 0 => 68, 1 => 3 ), + array( 0 => 68, 1 => 4 ), + array( 0 => 68, 1 => 5 ), + array( 0 => 73, 1 => 2 ), + array( 0 => 73, 1 => 1 ), + array( 0 => 73, 1 => 0 ), + array( 0 => 83, 1 => 4 ), + array( 0 => 83, 1 => 2 ), + array( 0 => 83, 1 => 2 ), + array( 0 => 83, 1 => 2 ), + array( 0 => 83, 1 => 2 ), + array( 0 => 83, 1 => 2 ), + array( 0 => 83, 1 => 4 ), + array( 0 => 79, 1 => 1 ), + array( 0 => 79, 1 => 3 ), + array( 0 => 78, 1 => 3 ), + array( 0 => 78, 1 => 3 ), + array( 0 => 78, 1 => 3 ), + array( 0 => 78, 1 => 3 ), + array( 0 => 76, 1 => 1 ), + array( 0 => 76, 1 => 1 ), + array( 0 => 76, 1 => 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 => 102, 1 => 3 ), - array( 0 => 102, 1 => 2 ), + array( 0 => 76, 1 => 3 ), + array( 0 => 76, 1 => 3 ), + array( 0 => 84, 1 => 4 ), + array( 0 => 85, 1 => 5 ), + array( 0 => 85, 1 => 5 ), + array( 0 => 85, 1 => 5 ), + array( 0 => 85, 1 => 4 ), + 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 => 91, 1 => 1 ), + array( 0 => 91, 1 => 1 ), + array( 0 => 74, 1 => 1 ), + array( 0 => 74, 1 => 1 ), + array( 0 => 74, 1 => 3 ), + array( 0 => 74, 1 => 1 ), + array( 0 => 74, 1 => 3 ), + array( 0 => 74, 1 => 4 ), + array( 0 => 74, 1 => 3 ), + array( 0 => 74, 1 => 4 ), + array( 0 => 71, 1 => 2 ), + array( 0 => 71, 1 => 2 ), + array( 0 => 96, 1 => 2 ), + array( 0 => 96, 1 => 0 ), + array( 0 => 97, 1 => 2 ), + array( 0 => 97, 1 => 2 ), + array( 0 => 97, 1 => 4 ), + array( 0 => 97, 1 => 2 ), + array( 0 => 97, 1 => 2 ), + array( 0 => 97, 1 => 4 ), + array( 0 => 97, 1 => 3 ), + array( 0 => 97, 1 => 5 ), + array( 0 => 97, 1 => 3 ), + array( 0 => 97, 1 => 3 ), + array( 0 => 97, 1 => 3 ), + array( 0 => 97, 1 => 3 ), + array( 0 => 97, 1 => 3 ), + array( 0 => 97, 1 => 3 ), + array( 0 => 97, 1 => 2 ), + array( 0 => 81, 1 => 1 ), + array( 0 => 81, 1 => 1 ), array( 0 => 81, 1 => 2 ), - array( 0 => 81, 1 => 0 ), - array( 0 => 103, 1 => 2 ), + array( 0 => 98, 1 => 1 ), + array( 0 => 98, 1 => 1 ), + array( 0 => 98, 1 => 3 ), + array( 0 => 95, 1 => 2 ), + array( 0 => 99, 1 => 1 ), + array( 0 => 99, 1 => 2 ), + array( 0 => 100, 1 => 3 ), + array( 0 => 100, 1 => 3 ), + array( 0 => 100, 1 => 5 ), + array( 0 => 100, 1 => 6 ), + array( 0 => 100, 1 => 2 ), + array( 0 => 100, 1 => 3 ), + array( 0 => 100, 1 => 3 ), + array( 0 => 100, 1 => 5 ), + array( 0 => 100, 1 => 6 ), + array( 0 => 100, 1 => 2 ), + array( 0 => 90, 1 => 4 ), + array( 0 => 101, 1 => 4 ), + array( 0 => 101, 1 => 4 ), + array( 0 => 102, 1 => 3 ), + array( 0 => 102, 1 => 1 ), + array( 0 => 102, 1 => 0 ), + array( 0 => 77, 1 => 3 ), + array( 0 => 77, 1 => 2 ), array( 0 => 103, 1 => 3 ), array( 0 => 103, 1 => 2 ), - array( 0 => 92, 1 => 1 ), - array( 0 => 92, 1 => 2 ), - array( 0 => 92, 1 => 1 ), + array( 0 => 82, 1 => 2 ), + array( 0 => 82, 1 => 0 ), + array( 0 => 104, 1 => 2 ), + array( 0 => 104, 1 => 3 ), + array( 0 => 104, 1 => 2 ), + array( 0 => 93, 1 => 1 ), + array( 0 => 93, 1 => 2 ), + array( 0 => 93, 1 => 1 ), + array( 0 => 93, 1 => 2 ), + array( 0 => 93, 1 => 3 ), + array( 0 => 87, 1 => 1 ), + array( 0 => 87, 1 => 1 ), + array( 0 => 86, 1 => 1 ), + array( 0 => 88, 1 => 1 ), + array( 0 => 94, 1 => 3 ), + array( 0 => 94, 1 => 3 ), + array( 0 => 105, 1 => 1 ), + array( 0 => 105, 1 => 3 ), + array( 0 => 105, 1 => 0 ), + array( 0 => 106, 1 => 3 ), + array( 0 => 106, 1 => 3 ), + array( 0 => 106, 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 => 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 => 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 => 2 ), array( 0 => 107, 1 => 1 ), + array( 0 => 108, 1 => 3 ), + array( 0 => 108, 1 => 3 ), + array( 0 => 108, 1 => 1 ), + array( 0 => 108, 1 => 3 ), + array( 0 => 108, 1 => 3 ), + array( 0 => 108, 1 => 1 ), + array( 0 => 108, 1 => 1 ), ); public static $yyReduceMap = array( @@ -1906,24 +1951,24 @@ public static $yy_action = array( 21 => 6, 22 => 6, 23 => 6, - 35 => 6, - 55 => 6, - 56 => 6, - 64 => 6, - 65 => 6, + 37 => 6, + 57 => 6, + 58 => 6, 66 => 6, - 82 => 6, - 87 => 6, - 88 => 6, - 93 => 6, - 97 => 6, - 98 => 6, - 102 => 6, - 103 => 6, + 67 => 6, + 68 => 6, + 84 => 6, + 89 => 6, + 90 => 6, + 95 => 6, + 99 => 6, + 100 => 6, + 104 => 6, 105 => 6, - 110 => 6, - 174 => 6, - 179 => 6, + 107 => 6, + 112 => 6, + 181 => 6, + 186 => 6, 7 => 7, 8 => 8, 9 => 9, @@ -1941,15 +1986,15 @@ public static $yy_action = array( 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, @@ -1962,89 +2007,89 @@ public static $yy_action = array( 47 => 47, 48 => 48, 49 => 49, - 58 => 49, - 152 => 49, - 156 => 49, - 160 => 49, - 162 => 49, 50 => 50, - 153 => 50, - 159 => 50, 51 => 51, + 60 => 51, + 159 => 51, + 163 => 51, + 167 => 51, + 169 => 51, 52 => 52, - 53 => 52, + 160 => 52, + 166 => 52, + 53 => 53, 54 => 54, - 137 => 54, - 57 => 57, + 55 => 54, + 56 => 56, + 139 => 56, 59 => 59, - 60 => 60, - 61 => 60, + 61 => 61, 62 => 62, - 63 => 63, - 67 => 67, - 68 => 68, + 63 => 62, + 64 => 64, + 65 => 65, 69 => 69, 70 => 70, - 71 => 70, + 71 => 71, 72 => 72, - 73 => 73, + 73 => 72, 74 => 74, 75 => 75, 76 => 76, 77 => 77, 78 => 78, 79 => 79, - 80 => 79, + 80 => 80, 81 => 81, + 82 => 81, 83 => 83, - 85 => 83, - 86 => 83, - 117 => 83, - 84 => 84, - 89 => 89, - 90 => 90, + 85 => 85, + 87 => 85, + 88 => 85, + 119 => 85, + 86 => 86, 91 => 91, 92 => 92, + 93 => 93, 94 => 94, - 95 => 95, - 96 => 95, - 99 => 99, - 100 => 100, + 96 => 96, + 97 => 97, + 98 => 97, 101 => 101, - 104 => 104, + 102 => 102, + 103 => 103, 106 => 106, - 107 => 107, 108 => 108, 109 => 109, + 110 => 110, 111 => 111, - 112 => 112, 113 => 113, 114 => 114, 115 => 115, 116 => 116, + 117 => 117, 118 => 118, - 176 => 118, - 119 => 119, 120 => 120, + 183 => 120, 121 => 121, 122 => 122, 123 => 123, 124 => 124, - 132 => 124, 125 => 125, 126 => 126, + 134 => 126, 127 => 127, - 128 => 127, - 130 => 127, - 131 => 127, + 128 => 128, 129 => 129, - 133 => 133, - 134 => 134, + 130 => 129, + 132 => 129, + 133 => 129, + 131 => 131, 135 => 135, - 180 => 135, 136 => 136, + 137 => 137, + 187 => 137, 138 => 138, - 139 => 139, 140 => 140, 141 => 141, 142 => 142, @@ -2057,35 +2102,42 @@ public static $yy_action = array( 149 => 149, 150 => 150, 151 => 151, + 152 => 152, + 153 => 153, 154 => 154, 155 => 155, + 156 => 156, 157 => 157, 158 => 158, 161 => 161, - 163 => 163, + 162 => 162, 164 => 164, 165 => 165, - 166 => 166, - 167 => 167, 168 => 168, - 169 => 169, 170 => 170, 171 => 171, 172 => 172, - 173 => 172, + 173 => 173, + 174 => 174, 175 => 175, + 176 => 176, 177 => 177, 178 => 178, - 181 => 181, + 179 => 179, + 180 => 179, 182 => 182, - 183 => 183, 184 => 184, - 187 => 184, 185 => 185, - 188 => 185, - 186 => 186, + 188 => 188, 189 => 189, 190 => 190, + 191 => 191, + 194 => 191, + 192 => 192, + 195 => 192, + 193 => 193, + 196 => 196, + 197 => 197, ); // line 245 "src/Parser/TemplateParser.y" public function yy_r0(){ @@ -2251,59 +2303,59 @@ public static $yy_action = array( 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(){ - $this->_retvalue = $this->compiler->compileTag('foreach',$this->yystack[$this->yyidx + 0]->minor); - } -// line 490 "src/Parser/TemplateParser.y" - public function yy_r41(){ - $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" +// line 495 "src/Parser/TemplateParser.y" public function yy_r42(){ - $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))); + $this->_retvalue = $this->compiler->compileTag('foreach',$this->yystack[$this->yyidx + 0]->minor); } // 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 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 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; @@ -2312,37 +2364,37 @@ public static $yy_action = array( $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(){ - $this->_retvalue = array($this->yystack[$this->yyidx + 0]->minor); - } -// line 541 "src/Parser/TemplateParser.y" - public function yy_r50(){ - $this->_retvalue = array(); - } // line 546 "src/Parser/TemplateParser.y" public function yy_r51(){ + $this->_retvalue = array($this->yystack[$this->yyidx + 0]->minor); + } +// line 551 "src/Parser/TemplateParser.y" + public function yy_r52(){ + $this->_retvalue = array(); + } +// 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); @@ -2352,109 +2404,109 @@ public static $yy_action = array( $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 631 "src/Parser/TemplateParser.y" - public function yy_r67(){ - $this->_retvalue = '$_smarty_tpl->getVariable(\''. substr($this->yystack[$this->yyidx + 0]->minor,1) .'\')->preIncDec(\'' . $this->yystack[$this->yyidx + -1]->minor . '\')'; - } -// line 636 "src/Parser/TemplateParser.y" - public function yy_r68(){ - $this->_retvalue = '$_smarty_tpl->getVariable(\''. substr($this->yystack[$this->yyidx + -1]->minor,1) .'\')->postIncDec(\'' . $this->yystack[$this->yyidx + 0]->minor . '\')'; - } // line 641 "src/Parser/TemplateParser.y" public function yy_r69(){ - $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 646 "src/Parser/TemplateParser.y" public function yy_r70(){ - $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 651 "src/Parser/TemplateParser.y" + public function yy_r71(){ + $this->_retvalue = '$_smarty_tpl->getStreamVariable(\''.substr($this->yystack[$this->yyidx + -2]->minor,1).'://' . $this->yystack[$this->yyidx + 0]->minor . '\')'; } // line 656 "src/Parser/TemplateParser.y" public function yy_r72(){ + $this->_retvalue = $this->yystack[$this->yyidx + -2]->minor . trim($this->yystack[$this->yyidx + -1]->minor) . $this->yystack[$this->yyidx + 0]->minor; + } +// line 666 "src/Parser/TemplateParser.y" + public function yy_r74(){ $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 660 "src/Parser/TemplateParser.y" - public function yy_r73(){ +// line 670 "src/Parser/TemplateParser.y" + public function yy_r75(){ $this->_retvalue = $this->yystack[$this->yyidx + -2]->minor.$this->yystack[$this->yyidx + -1]->minor.$this->yystack[$this->yyidx + 0]->minor; } -// line 664 "src/Parser/TemplateParser.y" - public function yy_r74(){ +// line 674 "src/Parser/TemplateParser.y" + public function yy_r76(){ $this->_retvalue = $this->yystack[$this->yyidx + 0]->minor . $this->yystack[$this->yyidx + -1]->minor . ')'; } -// line 668 "src/Parser/TemplateParser.y" - public function yy_r75(){ +// line 678 "src/Parser/TemplateParser.y" + public function yy_r77(){ $this->_retvalue = 'in_array('.$this->yystack[$this->yyidx + -2]->minor.','.$this->yystack[$this->yyidx + 0]->minor.')'; } -// line 672 "src/Parser/TemplateParser.y" - public function yy_r76(){ +// line 682 "src/Parser/TemplateParser.y" + public function yy_r78(){ $this->_retvalue = 'in_array('.$this->yystack[$this->yyidx + -2]->minor.',(array)'.$this->yystack[$this->yyidx + 0]->minor.')'; } -// line 677 "src/Parser/TemplateParser.y" - public function yy_r77(){ +// line 687 "src/Parser/TemplateParser.y" + public function yy_r79(){ $this->_retvalue = $this->yystack[$this->yyidx + -3]->minor.' ?? '.$this->yystack[$this->yyidx + 0]->minor; } -// line 684 "src/Parser/TemplateParser.y" - public function yy_r78(){ +// line 694 "src/Parser/TemplateParser.y" + public function yy_r80(){ $this->_retvalue = $this->yystack[$this->yyidx + -4]->minor.' ? '. $this->compiler->compileVariable('\''.substr($this->yystack[$this->yyidx + -2]->minor,1).'\'') . ' : '.$this->yystack[$this->yyidx + 0]->minor; } -// line 688 "src/Parser/TemplateParser.y" - public function yy_r79(){ - $this->_retvalue = $this->yystack[$this->yyidx + -4]->minor.' ? '.$this->yystack[$this->yyidx + -2]->minor.' : '.$this->yystack[$this->yyidx + 0]->minor; - } -// line 697 "src/Parser/TemplateParser.y" +// line 698 "src/Parser/TemplateParser.y" public function yy_r81(){ - $this->_retvalue = $this->yystack[$this->yyidx + -3]->minor.' ?: '.$this->yystack[$this->yyidx + 0]->minor; + $this->_retvalue = $this->yystack[$this->yyidx + -4]->minor.' ? '.$this->yystack[$this->yyidx + -2]->minor.' : '.$this->yystack[$this->yyidx + 0]->minor; } // line 707 "src/Parser/TemplateParser.y" public function yy_r83(){ + $this->_retvalue = $this->yystack[$this->yyidx + -3]->minor.' ?: '.$this->yystack[$this->yyidx + 0]->minor; + } +// line 717 "src/Parser/TemplateParser.y" + public function yy_r85(){ $this->_retvalue = $this->yystack[$this->yyidx + -1]->minor.$this->yystack[$this->yyidx + 0]->minor; } -// line 712 "src/Parser/TemplateParser.y" - public function yy_r84(){ +// line 722 "src/Parser/TemplateParser.y" + public function yy_r86(){ $this->_retvalue = '!'.$this->yystack[$this->yyidx + 0]->minor; } -// line 733 "src/Parser/TemplateParser.y" - public function yy_r89(){ +// line 743 "src/Parser/TemplateParser.y" + public function yy_r91(){ $this->_retvalue = $this->yystack[$this->yyidx + -2]->minor.'.'.$this->yystack[$this->yyidx + 0]->minor; } -// line 737 "src/Parser/TemplateParser.y" - public function yy_r90(){ +// line 747 "src/Parser/TemplateParser.y" + public function yy_r92(){ $this->_retvalue = $this->yystack[$this->yyidx + -1]->minor.'.'; } -// line 741 "src/Parser/TemplateParser.y" - public function yy_r91(){ +// line 751 "src/Parser/TemplateParser.y" + public function yy_r93(){ $this->_retvalue = '.'.$this->yystack[$this->yyidx + 0]->minor; } -// line 746 "src/Parser/TemplateParser.y" - public function yy_r92(){ +// line 756 "src/Parser/TemplateParser.y" + public function yy_r94(){ if (defined($this->yystack[$this->yyidx + 0]->minor)) { if ($this->security) { $this->security->isTrustedConstant($this->yystack[$this->yyidx + 0]->minor, $this->compiler); @@ -2464,16 +2516,16 @@ public static $yy_action = array( $this->_retvalue = '\''.$this->yystack[$this->yyidx + 0]->minor.'\''; } } -// line 763 "src/Parser/TemplateParser.y" - public function yy_r94(){ +// line 773 "src/Parser/TemplateParser.y" + public function yy_r96(){ $this->_retvalue = '('. $this->yystack[$this->yyidx + -1]->minor .')'; } -// line 767 "src/Parser/TemplateParser.y" - public function yy_r95(){ +// line 777 "src/Parser/TemplateParser.y" + public function yy_r97(){ $this->_retvalue = $this->yystack[$this->yyidx + -2]->minor.$this->yystack[$this->yyidx + -1]->minor.$this->yystack[$this->yyidx + 0]->minor; } -// line 785 "src/Parser/TemplateParser.y" - public function yy_r99(){ +// line 795 "src/Parser/TemplateParser.y" + public function yy_r101(){ if ($this->security && $this->security->static_classes !== array()) { $this->compiler->trigger_template_error('dynamic static class not allowed by security setting'); } @@ -2485,19 +2537,19 @@ public static $yy_action = array( } $this->_retvalue = $prefixVar .'::'.$this->yystack[$this->yyidx + 0]->minor[0].$this->yystack[$this->yyidx + 0]->minor[1]; } -// line 799 "src/Parser/TemplateParser.y" - public function yy_r100(){ +// line 809 "src/Parser/TemplateParser.y" + public function yy_r102(){ $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 806 "src/Parser/TemplateParser.y" - public function yy_r101(){ +// line 816 "src/Parser/TemplateParser.y" + public function yy_r103(){ $this->_retvalue = $this->compiler->compileModifier($this->yystack[$this->yyidx + 0]->minor, $this->yystack[$this->yyidx + -1]->minor); } -// line 819 "src/Parser/TemplateParser.y" - public function yy_r104(){ +// line 829 "src/Parser/TemplateParser.y" + public function yy_r106(){ 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]; @@ -2508,16 +2560,16 @@ public static $yy_action = array( $this->compiler->trigger_template_error ('static class \''.$this->yystack[$this->yyidx + -2]->minor.'\' is undefined or not allowed by security setting'); } } -// line 838 "src/Parser/TemplateParser.y" - public function yy_r106(){ +// line 848 "src/Parser/TemplateParser.y" + public function yy_r108(){ $this->_retvalue = $this->yystack[$this->yyidx + 0]->minor; } -// line 849 "src/Parser/TemplateParser.y" - public function yy_r107(){ +// line 859 "src/Parser/TemplateParser.y" + public function yy_r109(){ $this->_retvalue = $this->compiler->compileVariable('\''.substr($this->yystack[$this->yyidx + 0]->minor,1).'\''); } -// line 852 "src/Parser/TemplateParser.y" - public function yy_r108(){ +// line 862 "src/Parser/TemplateParser.y" + public function yy_r110(){ 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; @@ -2528,164 +2580,196 @@ public static $yy_action = array( $this->_retvalue = $this->compiler->compileVariable($this->yystack[$this->yyidx + 0]->minor['var']).$this->yystack[$this->yyidx + 0]->minor['smarty_internal_index']; } } -// line 865 "src/Parser/TemplateParser.y" - public function yy_r109(){ - $this->_retvalue = '$_smarty_tpl->getVariable('. $this->yystack[$this->yyidx + -2]->minor .')->'.$this->yystack[$this->yyidx + 0]->minor; - } // line 875 "src/Parser/TemplateParser.y" public function yy_r111(){ + $this->_retvalue = '$_smarty_tpl->getVariable('. $this->yystack[$this->yyidx + -2]->minor .')->'.$this->yystack[$this->yyidx + 0]->minor; + } +// line 885 "src/Parser/TemplateParser.y" + public function yy_r113(){ $this->_retvalue = $this->compiler->compileConfigVariable('\'' . $this->yystack[$this->yyidx + -1]->minor . '\''); } -// line 879 "src/Parser/TemplateParser.y" - public function yy_r112(){ +// line 889 "src/Parser/TemplateParser.y" + public function yy_r114(){ $this->_retvalue = '(is_array($tmp = ' . $this->compiler->compileConfigVariable('\'' . $this->yystack[$this->yyidx + -2]->minor . '\'') . ') ? $tmp'.$this->yystack[$this->yyidx + 0]->minor.' :null)'; } -// line 883 "src/Parser/TemplateParser.y" - public function yy_r113(){ +// line 893 "src/Parser/TemplateParser.y" + public function yy_r115(){ $this->_retvalue = $this->compiler->compileConfigVariable($this->yystack[$this->yyidx + -1]->minor); } -// line 887 "src/Parser/TemplateParser.y" - public function yy_r114(){ +// line 897 "src/Parser/TemplateParser.y" + public function yy_r116(){ $this->_retvalue = '(is_array($tmp = ' . $this->compiler->compileConfigVariable($this->yystack[$this->yyidx + -2]->minor) . ') ? $tmp'.$this->yystack[$this->yyidx + 0]->minor.' : null)'; } -// line 891 "src/Parser/TemplateParser.y" - public function yy_r115(){ +// line 901 "src/Parser/TemplateParser.y" + public function yy_r117(){ $this->_retvalue = array('var'=>'\''.substr($this->yystack[$this->yyidx + -1]->minor,1).'\'', 'smarty_internal_index'=>$this->yystack[$this->yyidx + 0]->minor); } -// line 894 "src/Parser/TemplateParser.y" - public function yy_r116(){ +// line 904 "src/Parser/TemplateParser.y" + public function yy_r118(){ $this->_retvalue = array('var'=>$this->yystack[$this->yyidx + -1]->minor, 'smarty_internal_index'=>$this->yystack[$this->yyidx + 0]->minor); } -// line 907 "src/Parser/TemplateParser.y" - public function yy_r118(){ +// line 917 "src/Parser/TemplateParser.y" + public function yy_r120(){ return; } -// line 913 "src/Parser/TemplateParser.y" - public function yy_r119(){ +// line 923 "src/Parser/TemplateParser.y" + public function yy_r121(){ $this->_retvalue = '['.$this->compiler->compileVariable('\''.substr($this->yystack[$this->yyidx + 0]->minor,1).'\'').']'; } -// line 916 "src/Parser/TemplateParser.y" - public function yy_r120(){ +// line 926 "src/Parser/TemplateParser.y" + public function yy_r122(){ $this->_retvalue = '['.$this->compiler->compileVariable($this->yystack[$this->yyidx + 0]->minor).']'; } -// line 920 "src/Parser/TemplateParser.y" - public function yy_r121(){ +// line 930 "src/Parser/TemplateParser.y" + public function yy_r123(){ $this->_retvalue = '['.$this->compiler->compileVariable($this->yystack[$this->yyidx + -2]->minor).'->'.$this->yystack[$this->yyidx + 0]->minor.']'; } -// line 924 "src/Parser/TemplateParser.y" - public function yy_r122(){ - $this->_retvalue = '[\''. $this->yystack[$this->yyidx + 0]->minor .'\']'; - } -// line 928 "src/Parser/TemplateParser.y" - public function yy_r123(){ - $this->_retvalue = '['. $this->yystack[$this->yyidx + 0]->minor .']'; - } -// line 933 "src/Parser/TemplateParser.y" +// line 934 "src/Parser/TemplateParser.y" public function yy_r124(){ - $this->_retvalue = '['. $this->yystack[$this->yyidx + -1]->minor .']'; + $this->_retvalue = '[\''. $this->yystack[$this->yyidx + 0]->minor .'\']'; } // line 938 "src/Parser/TemplateParser.y" public function yy_r125(){ + $this->_retvalue = '['. $this->yystack[$this->yyidx + 0]->minor .']'; + } +// line 943 "src/Parser/TemplateParser.y" + public function yy_r126(){ + $this->_retvalue = '['. $this->yystack[$this->yyidx + -1]->minor .']'; + } +// line 948 "src/Parser/TemplateParser.y" + public function yy_r127(){ $this->_retvalue = '['.(new \Smarty\Compile\SpecialVariableCompiler())->compile(array(),$this->compiler,'[\'section\'][\''.$this->yystack[$this->yyidx + -1]->minor.'\'][\'index\']').']'; } -// line 942 "src/Parser/TemplateParser.y" - public function yy_r126(){ +// line 952 "src/Parser/TemplateParser.y" + public function yy_r128(){ $this->_retvalue = '['.(new \Smarty\Compile\SpecialVariableCompiler())->compile(array(),$this->compiler,'[\'section\'][\''.$this->yystack[$this->yyidx + -3]->minor.'\'][\''.$this->yystack[$this->yyidx + -1]->minor.'\']').']'; } -// line 945 "src/Parser/TemplateParser.y" - public function yy_r127(){ +// line 955 "src/Parser/TemplateParser.y" + public function yy_r129(){ $this->_retvalue = '['.$this->yystack[$this->yyidx + -1]->minor.']'; } -// line 951 "src/Parser/TemplateParser.y" - public function yy_r129(){ +// line 961 "src/Parser/TemplateParser.y" + public function yy_r131(){ $this->_retvalue = '['.$this->compiler->compileVariable('\''.substr($this->yystack[$this->yyidx + -1]->minor,1).'\'').']'; } -// line 967 "src/Parser/TemplateParser.y" - public function yy_r133(){ +// line 977 "src/Parser/TemplateParser.y" + public function yy_r135(){ $this->_retvalue = '[]'; } -// line 977 "src/Parser/TemplateParser.y" - public function yy_r134(){ +// line 987 "src/Parser/TemplateParser.y" + public function yy_r136(){ $this->_retvalue = '\''.substr($this->yystack[$this->yyidx + 0]->minor,1).'\''; } -// line 981 "src/Parser/TemplateParser.y" - public function yy_r135(){ +// line 991 "src/Parser/TemplateParser.y" + public function yy_r137(){ $this->_retvalue = '\'\''; } -// line 986 "src/Parser/TemplateParser.y" - public function yy_r136(){ +// line 996 "src/Parser/TemplateParser.y" + public function yy_r138(){ $this->_retvalue = $this->yystack[$this->yyidx + -1]->minor.'.'.$this->yystack[$this->yyidx + 0]->minor; } -// line 994 "src/Parser/TemplateParser.y" - public function yy_r138(){ +// line 1004 "src/Parser/TemplateParser.y" + public function yy_r140(){ $var = trim(substr($this->yystack[$this->yyidx + 0]->minor, $this->compiler->getLdelLength(), -$this->compiler->getRdelLength()), ' $'); $this->_retvalue = $this->compiler->compileVariable('\''.$var.'\''); } -// line 1000 "src/Parser/TemplateParser.y" - public function yy_r139(){ +// line 1010 "src/Parser/TemplateParser.y" + public function yy_r141(){ $this->_retvalue = '('.$this->yystack[$this->yyidx + -1]->minor.')'; } -// line 1007 "src/Parser/TemplateParser.y" - public function yy_r140(){ +// line 1017 "src/Parser/TemplateParser.y" + public function yy_r142(){ 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 1016 "src/Parser/TemplateParser.y" - public function yy_r141(){ - $this->_retvalue = $this->yystack[$this->yyidx + 0]->minor; - } -// line 1021 "src/Parser/TemplateParser.y" - public function yy_r142(){ - $this->_retvalue = $this->yystack[$this->yyidx + -1]->minor.$this->yystack[$this->yyidx + 0]->minor; - } // line 1026 "src/Parser/TemplateParser.y" public function yy_r143(){ + $this->_retvalue = $this->yystack[$this->yyidx + 0]->minor; + } +// line 1031 "src/Parser/TemplateParser.y" + public function yy_r144(){ + $this->_retvalue = $this->yystack[$this->yyidx + -1]->minor.$this->yystack[$this->yyidx + 0]->minor; + } +// line 1036 "src/Parser/TemplateParser.y" + public function yy_r145(){ 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 1033 "src/Parser/TemplateParser.y" - public function yy_r144(){ +// line 1043 "src/Parser/TemplateParser.y" + public function yy_r146(){ 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 1040 "src/Parser/TemplateParser.y" - public function yy_r145(){ +// line 1050 "src/Parser/TemplateParser.y" + public function yy_r147(){ 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 1047 "src/Parser/TemplateParser.y" - public function yy_r146(){ +// line 1057 "src/Parser/TemplateParser.y" + public function yy_r148(){ 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 1055 "src/Parser/TemplateParser.y" - public function yy_r147(){ +// line 1065 "src/Parser/TemplateParser.y" + public function yy_r149(){ $this->_retvalue = '->'.$this->yystack[$this->yyidx + 0]->minor; } -// line 1063 "src/Parser/TemplateParser.y" - public function yy_r148(){ +// line 1070 "src/Parser/TemplateParser.y" + public function yy_r150(){ + 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 1077 "src/Parser/TemplateParser.y" + public function yy_r151(){ + 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 1084 "src/Parser/TemplateParser.y" + public function yy_r152(){ + 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 1091 "src/Parser/TemplateParser.y" + public function yy_r153(){ + 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 1099 "src/Parser/TemplateParser.y" + public function yy_r154(){ + $this->_retvalue = '?->'.$this->yystack[$this->yyidx + 0]->minor; + } +// line 1107 "src/Parser/TemplateParser.y" + public function yy_r155(){ $this->_retvalue = $this->compiler->compileModifierInExpression($this->yystack[$this->yyidx + -3]->minor, $this->yystack[$this->yyidx + -1]->minor); } -// line 1071 "src/Parser/TemplateParser.y" - public function yy_r149(){ +// line 1115 "src/Parser/TemplateParser.y" + public function yy_r156(){ 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 1078 "src/Parser/TemplateParser.y" - public function yy_r150(){ +// line 1122 "src/Parser/TemplateParser.y" + public function yy_r157(){ if ($this->security) { $this->compiler->trigger_template_error (self::ERR2); } @@ -2693,56 +2777,56 @@ public static $yy_action = array( $this->compiler->appendPrefixCode("compiler->compileVariable('\''.substr($this->yystack[$this->yyidx + -3]->minor,1).'\'').';?>'); $this->_retvalue = $prefixVar .'('. implode(',',$this->yystack[$this->yyidx + -1]->minor) .')'; } -// line 1089 "src/Parser/TemplateParser.y" - public function yy_r151(){ +// line 1133 "src/Parser/TemplateParser.y" + public function yy_r158(){ $this->_retvalue = array_merge($this->yystack[$this->yyidx + -2]->minor,array($this->yystack[$this->yyidx + 0]->minor)); } -// line 1106 "src/Parser/TemplateParser.y" - public function yy_r154(){ +// line 1150 "src/Parser/TemplateParser.y" + public function yy_r161(){ $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 1110 "src/Parser/TemplateParser.y" - public function yy_r155(){ +// line 1154 "src/Parser/TemplateParser.y" + public function yy_r162(){ $this->_retvalue = array(array_merge($this->yystack[$this->yyidx + -1]->minor,$this->yystack[$this->yyidx + 0]->minor)); } -// line 1118 "src/Parser/TemplateParser.y" - public function yy_r157(){ +// line 1162 "src/Parser/TemplateParser.y" + public function yy_r164(){ $this->_retvalue = array($this->yystack[$this->yyidx + 0]->minor); } -// line 1126 "src/Parser/TemplateParser.y" - public function yy_r158(){ +// line 1170 "src/Parser/TemplateParser.y" + public function yy_r165(){ $this->_retvalue = array_merge($this->yystack[$this->yyidx + -1]->minor,$this->yystack[$this->yyidx + 0]->minor); } -// line 1139 "src/Parser/TemplateParser.y" - public function yy_r161(){ +// line 1183 "src/Parser/TemplateParser.y" + public function yy_r168(){ $this->_retvalue = array(trim($this->yystack[$this->yyidx + -1]->minor).$this->yystack[$this->yyidx + 0]->minor); } -// line 1148 "src/Parser/TemplateParser.y" - public function yy_r163(){ +// line 1192 "src/Parser/TemplateParser.y" + public function yy_r170(){ $this->_retvalue = array($this->yystack[$this->yyidx + 0]->minor, '', 'method'); } -// line 1153 "src/Parser/TemplateParser.y" - public function yy_r164(){ +// line 1197 "src/Parser/TemplateParser.y" + public function yy_r171(){ $this->_retvalue = array($this->yystack[$this->yyidx + -1]->minor, $this->yystack[$this->yyidx + 0]->minor, 'method'); } -// line 1158 "src/Parser/TemplateParser.y" - public function yy_r165(){ +// line 1202 "src/Parser/TemplateParser.y" + public function yy_r172(){ $this->_retvalue = array($this->yystack[$this->yyidx + 0]->minor, ''); } -// line 1163 "src/Parser/TemplateParser.y" - public function yy_r166(){ +// line 1207 "src/Parser/TemplateParser.y" + public function yy_r173(){ $this->_retvalue = array($this->yystack[$this->yyidx + -1]->minor, $this->yystack[$this->yyidx + 0]->minor, 'property'); } -// line 1168 "src/Parser/TemplateParser.y" - public function yy_r167(){ +// line 1212 "src/Parser/TemplateParser.y" + public function yy_r174(){ $this->_retvalue = array($this->yystack[$this->yyidx + -2]->minor, $this->yystack[$this->yyidx + -1]->minor.$this->yystack[$this->yyidx + 0]->minor, 'property'); } -// line 1174 "src/Parser/TemplateParser.y" - public function yy_r168(){ +// line 1218 "src/Parser/TemplateParser.y" + public function yy_r175(){ $this->_retvalue = ' '. trim($this->yystack[$this->yyidx + 0]->minor) . ' '; } -// line 1178 "src/Parser/TemplateParser.y" - public function yy_r169(){ +// line 1222 "src/Parser/TemplateParser.y" + public function yy_r176(){ static $lops = array( 'eq' => ' == ', 'ne' => ' != ', @@ -2761,8 +2845,8 @@ public static $yy_action = array( $op = strtolower(preg_replace('/\s*/', '', $this->yystack[$this->yyidx + 0]->minor)); $this->_retvalue = $lops[$op]; } -// line 1197 "src/Parser/TemplateParser.y" - public function yy_r170(){ +// line 1241 "src/Parser/TemplateParser.y" + public function yy_r177(){ static $tlops = array( 'isdivby' => array('op' => ' % ', 'pre' => '!('), 'isnotdivby' => array('op' => ' % ', 'pre' => '('), @@ -2774,8 +2858,8 @@ public static $yy_action = array( $op = strtolower(preg_replace('/\s*/', '', $this->yystack[$this->yyidx + 0]->minor)); $this->_retvalue = $tlops[$op]; } -// line 1210 "src/Parser/TemplateParser.y" - public function yy_r171(){ +// line 1254 "src/Parser/TemplateParser.y" + public function yy_r178(){ static $scond = array ( 'iseven' => '!(1 & ', 'isnoteven' => '(1 & ', @@ -2785,54 +2869,54 @@ public static $yy_action = array( $op = strtolower(str_replace(' ', '', $this->yystack[$this->yyidx + 0]->minor)); $this->_retvalue = $scond[$op]; } -// line 1224 "src/Parser/TemplateParser.y" - public function yy_r172(){ +// line 1268 "src/Parser/TemplateParser.y" + public function yy_r179(){ $this->_retvalue = 'array('.$this->yystack[$this->yyidx + -1]->minor.')'; } -// line 1235 "src/Parser/TemplateParser.y" - public function yy_r175(){ +// line 1279 "src/Parser/TemplateParser.y" + public function yy_r182(){ $this->_retvalue = $this->yystack[$this->yyidx + -2]->minor.','.$this->yystack[$this->yyidx + 0]->minor; } -// line 1243 "src/Parser/TemplateParser.y" - public function yy_r177(){ +// line 1287 "src/Parser/TemplateParser.y" + public function yy_r184(){ $this->_retvalue = $this->yystack[$this->yyidx + -2]->minor.'=>'.$this->yystack[$this->yyidx + 0]->minor; } -// line 1247 "src/Parser/TemplateParser.y" - public function yy_r178(){ +// line 1291 "src/Parser/TemplateParser.y" + public function yy_r185(){ $this->_retvalue = '\''.$this->yystack[$this->yyidx + -2]->minor.'\'=>'.$this->yystack[$this->yyidx + 0]->minor; } -// line 1263 "src/Parser/TemplateParser.y" - public function yy_r181(){ +// line 1307 "src/Parser/TemplateParser.y" + public function yy_r188(){ $this->compiler->leaveDoubleQuote(); $this->_retvalue = $this->yystack[$this->yyidx + -1]->minor->to_smarty_php($this); } -// line 1269 "src/Parser/TemplateParser.y" - public function yy_r182(){ +// line 1313 "src/Parser/TemplateParser.y" + public function yy_r189(){ $this->yystack[$this->yyidx + -1]->minor->append_subtree($this, $this->yystack[$this->yyidx + 0]->minor); $this->_retvalue = $this->yystack[$this->yyidx + -1]->minor; } -// line 1274 "src/Parser/TemplateParser.y" - public function yy_r183(){ +// line 1318 "src/Parser/TemplateParser.y" + public function yy_r190(){ $this->_retvalue = new Dq($this, $this->yystack[$this->yyidx + 0]->minor); } -// line 1278 "src/Parser/TemplateParser.y" - public function yy_r184(){ +// line 1322 "src/Parser/TemplateParser.y" + public function yy_r191(){ $this->_retvalue = new Code('(string)'.$this->yystack[$this->yyidx + -1]->minor); } -// line 1282 "src/Parser/TemplateParser.y" - public function yy_r185(){ +// line 1326 "src/Parser/TemplateParser.y" + public function yy_r192(){ $this->_retvalue = new Code('(string)('.$this->yystack[$this->yyidx + -1]->minor.')'); } -// line 1286 "src/Parser/TemplateParser.y" - public function yy_r186(){ +// line 1330 "src/Parser/TemplateParser.y" + public function yy_r193(){ $this->_retvalue = new Code('(string)$_smarty_tpl->getValue(\''. substr($this->yystack[$this->yyidx + 0]->minor,1) .'\')'); } -// line 1298 "src/Parser/TemplateParser.y" - public function yy_r189(){ +// line 1342 "src/Parser/TemplateParser.y" + public function yy_r196(){ $this->_retvalue = new Tag($this, $this->yystack[$this->yyidx + 0]->minor); } -// line 1302 "src/Parser/TemplateParser.y" - public function yy_r190(){ +// line 1346 "src/Parser/TemplateParser.y" + public function yy_r197(){ $this->_retvalue = new DqContent($this->yystack[$this->yyidx + 0]->minor); } diff --git a/src/Parser/TemplateParser.y b/src/Parser/TemplateParser.y index 7305dcc8..3874c017 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())); @@ -1056,6 +1066,40 @@ 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 9be49105..cff68996 100644 --- a/tests/UnitTests/TemplateSource/ValueTests/Objects/ObjectVariableTest.php +++ b/tests/UnitTests/TemplateSource/ValueTests/Objects/ObjectVariableTest.php @@ -93,6 +93,33 @@ class ObjectVariableTest extends PHPUnit_Smarty $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 +130,14 @@ Class VariableObject { return 'hello world'; } + + public function returnSelf() + { + return $this; + } + + public function returnNull() + { + return null; + } }