1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 1159 1160 1161 1162 1163 1164 1165 1166 1167 1168 1169 1170 1171 1172 1173 1174 1175 1176 1177 1178 1179 1180 1181 1182 1183 1184 1185 1186 1187 1188 1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 1215 1216 1217 1218 1219 1220 1221 1222 1223 1224 1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 1305 1306 1307 1308 1309 1310 1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 1321 1322 1323 1324 1325 1326 1327 1328 1329 1330 1331 1332 1333 1334 1335 1336 1337 1338 1339 1340 1341 1342 1343 1344 1345 1346 1347 1348 1349 1350 1351 1352 1353 1354 1355 1356 1357 1358 1359 1360 1361 1362 1363 1364 1365 1366 1367 1368 1369 1370 1371 1372 1373 1374 1375 1376 1377 1378 1379 1380 1381 1382 1383 1384 1385 1386 1387 1388 1389 1390 1391 1392 1393 1394 1395 1396 1397 1398 1399 1400 1401 1402 1403 1404 1405 1406 1407 1408 1409 1410 1411 1412 1413 1414 1415 1416 1417 1418 1419 1420 1421 1422 1423 1424 1425 1426 1427 1428 1429 1430 1431 1432 1433 1434 1435 1436 1437 1438 1439 1440 1441 1442 1443 1444 1445 1446 1447 1448 1449 1450 1451 1452 1453 1454 1455 1456 1457 1458 1459 1460 1461 1462 1463 1464 1465 1466 1467 1468 1469 1470 1471 1472 1473 1474 1475 1476 1477 1478 1479 1480 1481 1482 1483 1484 1485 1486 1487 1488 1489 1490 1491 1492 1493 1494 1495 1496 1497 1498 1499 1500 1501 1502 1503 1504 1505 1506 1507 1508 1509 1510 1511 1512 1513 1514 1515 1516 1517 1518 1519 1520 1521 1522 1523 1524 1525 1526 1527 1528 1529 1530 1531 1532 1533 1534 1535 1536 1537 1538 1539 1540 1541 1542 1543 1544 1545 1546 1547 1548 1549 1550 1551 1552 1553 1554 1555 1556 1557 1558 1559 1560 1561 1562 1563 1564 1565 1566 1567 1568 1569 1570 1571 1572 1573 1574 1575 1576 1577 1578 1579 1580 1581 1582 1583 1584 1585 1586 1587 1588 1589 1590 1591 1592 1593 1594 1595 1596 1597 1598 1599 1600 1601 1602 1603 1604 1605 1606 1607 1608 1609 1610 1611 1612 1613 1614 1615 1616 1617 1618 1619 1620 1621 1622 1623 1624 1625 1626 1627 1628 1629 1630 1631 1632 1633 1634 1635 1636 1637 1638 1639 1640 1641 1642 1643 1644 1645 1646 1647 1648 1649 1650 1651 1652 1653 1654 1655 1656 1657 1658 1659 1660 1661 1662 1663 1664 1665 1666 1667 1668 1669 1670 1671 1672 1673 1674 1675 1676 1677 1678 1679 1680 1681 1682 1683 1684 1685 1686 1687 1688 1689 1690 1691 1692 1693 1694 1695 1696 1697 1698 1699 1700 1701 1702 1703 1704 1705 1706 1707 1708 1709 1710 1711 1712 1713 1714 1715 1716 1717 1718 1719 1720 1721 1722 1723 1724 1725 1726 1727 1728 1729 1730 1731 1732 1733 1734 1735 1736 1737 1738 1739 1740 1741 1742 1743 1744 1745 1746 1747 1748 1749 1750 1751 1752 1753 1754 1755 1756 1757 1758 1759 1760 1761 1762 1763 1764 1765 1766 1767 1768 1769 1770 1771 1772 1773 1774 1775 1776 1777 1778 1779 1780 1781 1782 1783 1784 1785 1786 1787 1788 1789 1790 1791 1792 1793 1794 1795 1796 1797 1798 1799 1800 1801 1802 1803 1804 1805 1806 1807 1808 1809 1810 1811 1812 1813 1814 1815 1816 1817 1818 1819 1820 1821 1822 1823 1824 1825 1826 1827 1828 1829 1830 1831 1832 1833 1834 1835 1836 1837 1838 1839 1840 1841 1842 1843 1844 1845 1846 1847 1848 1849 1850 1851 1852 1853 1854 1855 1856 1857 1858 1859 1860 1861 1862 1863 1864 1865 1866 1867 1868 1869 1870 1871 1872 1873 1874 1875 1876 1877 1878 1879 1880 1881 1882 1883 1884 1885 1886 1887 1888 1889 1890 1891 1892 1893 1894 1895 1896 1897 1898 1899 1900 1901 1902 1903 1904 1905 1906 1907 1908 1909 1910 1911 1912 1913 1914 1915 1916 1917 1918 1919 1920 1921 1922 1923 1924 1925 1926 1927 1928 1929 1930 1931 1932 1933 1934 1935 1936 1937 1938 1939 1940 1941 1942 1943 1944 1945 1946 1947 1948 1949 1950 1951 1952 1953 1954 1955 1956 1957 1958 1959 1960 1961 1962 1963 1964 1965 1966 1967 1968 1969 1970 1971 1972 1973 1974 1975 1976 1977 1978 1979 1980 1981 1982 1983 1984 1985 1986 1987 1988 1989 1990 1991 1992 1993 1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 2018 2019 2020 2021 2022 2023 2024 2025 2026 2027 2028 2029 2030 2031 2032 2033 2034 2035 2036 2037 2038 2039 2040 2041 2042 2043 2044 2045 2046 2047 2048 2049 2050 2051 2052 2053 2054 2055 2056 2057 2058 2059 2060 2061 2062 2063 2064 2065 2066 2067 2068 2069 2070 2071 2072 2073 2074 2075 2076 2077 2078 2079 2080 2081 2082 2083 2084 2085 2086 2087 2088 2089 2090 2091 2092 2093 2094 2095 2096 2097 2098 2099 2100 2101 2102 2103 2104 2105 2106 2107 2108 2109 2110 2111 2112 2113 2114 2115 2116 2117 2118 2119 2120 2121 2122 2123 2124 2125 2126 2127 2128 2129 2130 2131 2132 2133 2134 2135 2136 2137 2138 2139 2140 2141 2142 2143 2144 2145 2146 2147 2148 2149 2150 2151 2152 2153 2154 2155 2156 2157 2158 2159 2160 2161 2162 2163 2164 2165 2166 2167 2168 2169 2170 2171 2172 2173 2174 2175 2176 2177 2178 2179 2180 2181 2182 2183 2184 2185 2186 2187 2188 2189 2190 2191 2192 2193 2194 2195 2196 2197 2198 2199 2200 2201 2202 2203 2204 2205 2206 2207 2208 2209 2210 2211 2212 2213 2214 2215 2216 2217 2218 2219 2220 2221 2222 2223 2224 2225 2226 2227 2228 2229 2230 2231 2232 2233 2234 2235 2236 2237 2238 2239 2240 2241 2242 2243 2244 2245 2246 2247 2248 2249 2250 2251 2252 2253 2254 2255 2256 2257 2258 2259 2260 2261 2262 2263 2264 2265 2266 2267 2268 2269 2270 2271 2272 2273 2274 2275 2276 2277 2278 2279 2280 2281 2282 2283 2284 2285 2286 2287 2288 2289 2290 2291 2292 2293 2294 2295 2296 2297 2298 2299 2300 2301 2302 2303 2304 2305 2306 2307 2308 2309 2310 2311 2312 2313 2314 2315 2316 2317 2318 2319 2320 2321 2322 2323 2324 2325 2326 2327 2328 2329 2330 2331 2332 2333 2334 2335 2336 2337 2338 2339 2340 2341 2342 2343 2344 2345 2346 2347 2348 2349 2350 2351 2352 2353 2354 2355 2356 2357 2358 2359 2360 2361 2362 2363 2364 2365 2366 2367 2368 2369 2370 2371 2372 2373 2374 2375 2376 2377 2378 2379 2380 2381 2382 2383 2384 2385 2386 2387 2388 2389 2390 2391 2392 2393 2394 2395 2396 2397 2398 2399 2400 2401 2402 2403 2404 2405 2406 2407 2408 2409 2410 2411 2412 2413 2414 2415 2416 2417 2418 2419 2420 2421 2422 2423 2424 2425 2426 2427 2428 2429 2430 2431 2432 2433 2434 2435 2436 2437 2438 2439 2440 2441 2442 2443 2444 2445 2446 2447 2448 2449 2450 2451 2452 2453 2454 2455 2456 2457 2458 2459 2460 2461 2462 2463 2464 2465 2466 2467 2468 2469 2470 2471 2472 2473 2474 2475 2476 2477 2478 2479 2480 2481 2482 2483 2484 2485 2486 2487 2488 2489 2490 2491 2492 2493 2494 2495 2496 2497 2498 2499 2500 2501 2502 2503 2504 2505 2506 2507 2508 2509 2510 2511 2512 2513 2514 2515 2516 2517 2518 2519 2520 2521 2522 2523 2524 2525 2526 2527 2528 2529 2530 2531 2532 2533 2534 2535 2536 2537 2538 2539 2540 2541 2542 2543 2544 2545 2546 2547 2548 2549 2550 2551 2552 2553 2554 2555 2556 2557 2558 2559 2560 2561 2562 2563 2564 2565 2566 2567 2568 2569 2570 2571 2572 2573 2574 2575 2576 2577 2578 2579 2580 2581 2582 2583 2584 2585 2586 2587 2588 2589 2590 2591 2592 2593 2594 2595 2596 2597 2598 2599 2600 2601 2602 2603 2604 2605 2606 2607 2608 2609 2610 2611 2612 2613 2614 2615 2616 2617 2618 2619 2620 2621 2622 2623 2624 2625 2626 2627 2628 2629 2630 2631 2632 2633 2634 2635 2636 2637 2638 2639 2640 2641 2642 2643 2644 2645 2646 2647 2648 2649 2650 2651 2652 2653 2654 2655 2656 2657 2658 2659 2660 2661 2662 2663 2664 2665 2666 2667 2668 2669 2670 2671 2672 2673 2674 2675 2676 2677 2678 2679 2680 2681 2682 2683 2684 2685 2686 2687 2688 2689 2690 2691 2692 2693 2694 2695 2696 2697 2698 2699 2700 2701 2702 2703 2704 2705 2706 2707 2708 2709 2710 2711 2712 2713 2714 2715 2716 2717 2718 2719 2720 2721 2722 2723 2724 2725 2726 2727 2728 2729 2730 2731 2732 2733 2734 2735 2736 2737 2738 2739 2740 2741 2742 2743 2744 2745 2746 2747 2748 2749 2750 2751 2752 2753 2754 2755 2756 2757 2758 2759 2760 2761 2762 2763 2764 2765 2766 2767 2768 2769 2770 2771 2772 2773 2774 2775 2776 2777 2778 2779 2780 2781 2782 2783 2784 2785 2786 2787 2788 2789 2790 2791 2792 2793 2794 2795 2796 2797 2798 2799 2800 2801 2802 2803 2804 2805 2806 2807 2808 2809 2810 2811 2812 2813 2814 2815 2816 2817 2818 2819 2820 2821 2822 2823 2824 2825 2826 2827 2828 2829 2830 2831 2832 2833 2834 2835 2836 2837 2838 2839 2840 2841 2842 2843 2844 2845 2846 2847 2848 2849 2850 2851 2852 2853 2854 2855 2856 2857 2858 2859 2860 2861 2862 2863 2864 2865 2866 2867 2868 2869 2870 2871 2872 2873 2874 2875 2876 2877 2878 2879 2880 2881 2882 2883 2884 2885 2886 2887 2888 2889 2890 2891 2892 2893 2894 2895 2896 2897 2898 2899 2900 2901 2902 2903 2904 2905 2906 2907 2908 2909 2910 2911 2912 2913 2914 2915 2916 2917 2918 2919 2920 2921 2922 2923 2924 2925 2926 2927 2928 2929
|
<?php
class TP_yyStackEntry
{
public $stateno; /* The state-number */
public $major; /* The major token value. This is the code
** number for the token at this stack level */
public $minor; /* The user-supplied minor token value. This
** is the value of the token */
};
// line 11 "../smarty/lexer/smarty_internal_templateparser.y"
/**
* Smarty Template Parser Class
*
* This is the template parser.
* It is generated from the smarty_internal_templateparser.y file
*
* @author Uwe Tews <uwe.tews@googlemail.com>
*/
class Smarty_Internal_Templateparser
{
// line 23 "../smarty/lexer/smarty_internal_templateparser.y"
const ERR1 = 'Security error: Call to private object member not allowed';
const ERR2 = 'Security error: Call to dynamic object member not allowed';
/**
* result status
*
* @var bool
*/
public $successful = true;
/**
* return value
*
* @var mixed
*/
public $retvalue = 0;
/**
* @var
*/
public $yymajor;
/**
* last index of array variable
*
* @var mixed
*/
public $last_index;
/**
* last variable name
*
* @var string
*/
public $last_variable;
/**
* root parse tree buffer
*
* @var Smarty_Internal_ParseTree_Template
*/
public $root_buffer;
/**
* current parse tree object
*
* @var Smarty_Internal_ParseTree
*/
public $current_buffer;
/**
* lexer object
*
* @var Smarty_Internal_Templatelexer
*/
public $lex;
/**
* internal error flag
*
* @var bool
*/
private $internalError = false;
/**
* {strip} status
*
* @var bool
*/
public $strip = false;
/**
* compiler object
*
* @var Smarty_Internal_TemplateCompilerBase
*/
public $compiler = null;
/**
* smarty object
*
* @var Smarty
*/
public $smarty = null;
/**
* template object
*
* @var Smarty_Internal_Template
*/
public $template = null;
/**
* block nesting level
*
* @var int
*/
public $block_nesting_level = 0;
/**
* security object
*
* @var Smarty_Security
*/
public $security = null;
/**
* template prefix array
*
* @var \Smarty_Internal_ParseTree[]
*/
public $template_prefix = array();
/**
* template prefix array
*
* @var \Smarty_Internal_ParseTree[]
*/
public $template_postfix = array();
/**
* constructor
*
* @param Smarty_Internal_Templatelexer $lex
* @param Smarty_Internal_TemplateCompilerBase $compiler
*/
public function __construct(Smarty_Internal_Templatelexer $lex, Smarty_Internal_TemplateCompilerBase $compiler)
{
$this->lex = $lex;
$this->compiler = $compiler;
$this->template = $this->compiler->template;
$this->smarty = $this->template->smarty;
$this->security = isset($this->smarty->security_policy) ? $this->smarty->security_policy : false;
$this->current_buffer = $this->root_buffer = new Smarty_Internal_ParseTree_Template();
}
/**
* insert PHP code in current buffer
*
* @param string $code
*/
public function insertPhpCode($code)
{
$this->current_buffer->append_subtree($this, new Smarty_Internal_ParseTree_Tag($this, $code));
}
/**
* error rundown
*
*/
public function errorRunDown()
{
while ($this->yystack !== array()) {
$this->yy_pop_parser_stack();
}
if (is_resource($this->yyTraceFILE)) {
fclose($this->yyTraceFILE);
}
}
/**
* merge PHP code with prefix code and return parse tree tag object
*
* @param string $code
*
* @return Smarty_Internal_ParseTree_Tag
*/
public function mergePrefixCode($code)
{
$tmp = '';
foreach ($this->compiler->prefix_code as $preCode) {
$tmp .= $preCode;
}
$this->compiler->prefix_code = array();
$tmp .= $code;
return new Smarty_Internal_ParseTree_Tag($this, $this->compiler->processNocacheCode($tmp, true));
}
const TP_VERT = 1;
const TP_COLON = 2;
const TP_TEXT = 3;
const TP_STRIPON = 4;
const TP_STRIPOFF = 5;
const TP_LITERALSTART = 6;
const TP_LITERALEND = 7;
const TP_LITERAL = 8;
const TP_SIMPELOUTPUT = 9;
const TP_SIMPLETAG = 10;
const TP_SMARTYBLOCKCHILDPARENT = 11;
const TP_LDEL = 12;
const TP_RDEL = 13;
const TP_DOLLARID = 14;
const TP_EQUAL = 15;
const TP_ID = 16;
const TP_PTR = 17;
const TP_LDELMAKENOCACHE = 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 = 514;
const YY_ACCEPT_ACTION = 513;
const YY_ERROR_ACTION = 512;
const YY_SZ_ACTTAB = 1997;
public static $yy_action = array(
249, 250, 239, 1, 27, 127, 220, 184, 160, 213,
11, 54, 278, 10, 173, 34, 108, 387, 282, 279,
223, 321, 221, 8, 194, 387, 18, 387, 85, 41,
387, 285, 42, 44, 264, 222, 387, 209, 387, 198,
387, 52, 5, 307, 288, 288, 164, 283, 224, 4,
50, 249, 250, 239, 1, 232, 131, 381, 189, 205,
213, 11, 54, 39, 35, 243, 31, 108, 94, 17,
381, 223, 321, 221, 439, 226, 381, 33, 49, 426,
41, 439, 89, 42, 44, 264, 222, 9, 235, 163,
198, 426, 52, 5, 131, 288, 212, 284, 102, 106,
4, 50, 249, 250, 239, 1, 232, 129, 426, 189,
347, 213, 11, 54, 175, 324, 347, 208, 108, 22,
426, 301, 223, 321, 221, 302, 226, 135, 18, 49,
52, 41, 26, 288, 42, 44, 264, 222, 16, 235,
294, 198, 204, 52, 5, 170, 288, 32, 90, 267,
268, 4, 50, 249, 250, 239, 1, 20, 129, 185,
179, 255, 213, 11, 54, 455, 288, 192, 455, 108,
175, 167, 455, 223, 321, 221, 439, 226, 256, 18,
55, 292, 41, 439, 132, 42, 44, 264, 222, 427,
235, 12, 198, 165, 52, 5, 232, 288, 288, 347,
153, 427, 4, 50, 249, 250, 239, 1, 232, 129,
286, 181, 347, 213, 11, 54, 24, 13, 347, 49,
108, 232, 320, 426, 223, 321, 221, 195, 201, 173,
18, 49, 139, 41, 296, 426, 42, 44, 264, 222,
7, 235, 286, 198, 49, 52, 5, 147, 288, 117,
150, 317, 263, 4, 50, 249, 250, 239, 1, 95,
130, 173, 189, 155, 213, 11, 54, 22, 244, 271,
192, 108, 323, 286, 101, 223, 321, 221, 294, 226,
204, 18, 348, 257, 41, 166, 283, 42, 44, 264,
222, 28, 235, 300, 198, 348, 52, 5, 247, 288,
117, 348, 94, 206, 4, 50, 249, 250, 239, 1,
95, 129, 22, 189, 277, 213, 11, 54, 91, 274,
224, 426, 108, 323, 216, 156, 223, 321, 221, 132,
180, 262, 18, 426, 100, 41, 12, 288, 42, 44,
264, 222, 15, 235, 216, 198, 254, 52, 5, 233,
288, 210, 190, 192, 100, 4, 50, 249, 250, 239,
1, 3, 131, 94, 189, 192, 213, 11, 54, 269,
10, 204, 290, 108, 325, 216, 224, 223, 321, 221,
23, 226, 211, 33, 315, 100, 45, 513, 92, 42,
44, 264, 222, 102, 235, 178, 198, 268, 52, 5,
275, 288, 161, 192, 37, 25, 4, 50, 249, 250,
239, 1, 286, 129, 172, 187, 305, 213, 11, 54,
164, 283, 310, 141, 108, 281, 281, 236, 223, 321,
221, 169, 226, 230, 18, 122, 171, 41, 225, 175,
42, 44, 264, 222, 144, 235, 303, 198, 134, 52,
5, 265, 288, 151, 286, 192, 175, 4, 50, 249,
250, 239, 1, 286, 128, 94, 189, 143, 213, 11,
54, 219, 152, 207, 193, 108, 149, 281, 31, 223,
321, 221, 100, 226, 21, 6, 286, 288, 41, 158,
16, 42, 44, 264, 222, 102, 235, 238, 198, 286,
52, 5, 157, 288, 281, 122, 168, 283, 4, 50,
249, 250, 239, 1, 30, 93, 308, 51, 215, 213,
11, 54, 53, 251, 140, 248, 108, 245, 304, 116,
223, 321, 221, 111, 226, 176, 18, 270, 266, 41,
224, 322, 42, 44, 264, 222, 7, 235, 259, 198,
147, 52, 5, 257, 288, 43, 40, 38, 83, 4,
50, 241, 214, 204, 319, 280, 88, 107, 138, 182,
97, 64, 311, 312, 313, 316, 95, 281, 298, 258,
142, 234, 94, 105, 272, 197, 231, 482, 237, 323,
37, 133, 324, 241, 214, 204, 319, 314, 88, 107,
296, 183, 97, 82, 84, 43, 40, 38, 95, 296,
296, 258, 296, 296, 296, 159, 272, 197, 231, 296,
237, 323, 311, 312, 313, 316, 241, 296, 204, 296,
296, 103, 296, 296, 199, 104, 77, 296, 296, 110,
296, 95, 296, 296, 258, 278, 296, 296, 34, 272,
197, 231, 279, 237, 323, 43, 40, 38, 296, 296,
296, 241, 26, 204, 196, 276, 103, 296, 16, 199,
104, 77, 311, 312, 313, 316, 95, 192, 296, 258,
146, 296, 296, 296, 272, 197, 231, 296, 237, 323,
286, 393, 39, 35, 243, 296, 296, 296, 296, 191,
276, 296, 26, 318, 252, 253, 126, 296, 16, 249,
250, 239, 1, 296, 296, 131, 296, 261, 213, 11,
54, 296, 296, 296, 426, 108, 393, 393, 393, 223,
321, 221, 241, 296, 204, 299, 426, 103, 107, 296,
183, 97, 82, 393, 393, 393, 393, 95, 296, 260,
258, 52, 296, 296, 288, 272, 197, 231, 296, 237,
323, 293, 296, 296, 296, 296, 296, 249, 250, 239,
2, 296, 295, 296, 296, 296, 213, 11, 54, 296,
296, 177, 296, 108, 136, 296, 296, 223, 321, 221,
296, 296, 296, 293, 43, 40, 38, 296, 296, 249,
250, 239, 2, 296, 295, 43, 40, 38, 213, 11,
54, 311, 312, 313, 316, 108, 296, 291, 14, 223,
321, 221, 311, 312, 313, 316, 296, 296, 241, 296,
204, 296, 192, 103, 296, 296, 199, 104, 77, 296,
296, 296, 296, 95, 383, 296, 258, 296, 296, 297,
14, 272, 197, 231, 296, 237, 323, 383, 296, 296,
241, 296, 204, 383, 296, 99, 296, 287, 199, 120,
48, 241, 112, 204, 296, 95, 103, 296, 258, 199,
120, 74, 296, 272, 197, 231, 95, 237, 323, 258,
455, 296, 296, 455, 272, 197, 231, 455, 237, 323,
241, 296, 204, 296, 296, 103, 200, 296, 199, 120,
74, 296, 296, 296, 296, 95, 296, 296, 258, 278,
296, 296, 34, 272, 197, 231, 279, 237, 323, 241,
455, 204, 296, 296, 99, 202, 296, 199, 120, 56,
241, 211, 204, 296, 95, 103, 296, 258, 199, 120,
74, 296, 272, 197, 231, 95, 237, 323, 258, 227,
296, 296, 296, 272, 197, 231, 296, 237, 323, 241,
296, 204, 148, 296, 103, 203, 86, 199, 120, 73,
296, 296, 286, 296, 95, 296, 296, 258, 278, 296,
296, 34, 272, 197, 231, 279, 237, 323, 241, 296,
204, 175, 296, 103, 296, 296, 199, 120, 75, 241,
296, 204, 296, 95, 103, 296, 258, 199, 120, 63,
296, 272, 197, 231, 95, 237, 323, 258, 229, 192,
296, 296, 272, 197, 231, 296, 237, 323, 241, 296,
204, 380, 296, 103, 296, 296, 199, 120, 58, 296,
296, 296, 296, 95, 380, 296, 258, 296, 296, 296,
380, 272, 197, 231, 296, 237, 323, 241, 296, 204,
296, 296, 103, 296, 296, 199, 120, 71, 241, 296,
204, 296, 95, 103, 296, 258, 199, 120, 79, 296,
272, 197, 231, 95, 237, 323, 258, 296, 296, 296,
154, 272, 197, 231, 87, 237, 323, 241, 296, 204,
286, 296, 103, 296, 296, 199, 120, 70, 296, 296,
296, 296, 95, 296, 296, 258, 296, 296, 296, 175,
272, 197, 231, 296, 237, 323, 241, 296, 204, 296,
296, 103, 296, 296, 199, 120, 56, 241, 296, 204,
296, 95, 103, 296, 258, 199, 120, 46, 296, 272,
197, 231, 95, 237, 323, 258, 296, 296, 296, 296,
272, 197, 231, 296, 237, 323, 241, 296, 204, 296,
296, 103, 296, 296, 199, 120, 78, 296, 296, 296,
296, 95, 296, 296, 258, 296, 296, 296, 296, 272,
197, 231, 296, 237, 323, 241, 296, 204, 296, 296,
103, 296, 296, 199, 120, 66, 241, 296, 204, 296,
95, 103, 296, 258, 199, 120, 59, 296, 272, 197,
231, 95, 237, 323, 258, 296, 296, 296, 296, 272,
197, 231, 296, 237, 323, 241, 296, 204, 296, 296,
103, 296, 296, 186, 109, 57, 296, 296, 296, 296,
95, 296, 296, 258, 296, 296, 296, 296, 272, 197,
231, 296, 237, 323, 241, 296, 204, 296, 296, 103,
296, 296, 188, 120, 67, 241, 296, 204, 296, 95,
103, 296, 258, 199, 96, 62, 296, 272, 197, 231,
95, 237, 323, 258, 296, 296, 296, 296, 272, 197,
231, 296, 237, 323, 241, 296, 204, 296, 296, 103,
296, 296, 199, 120, 80, 296, 296, 296, 296, 95,
296, 296, 258, 296, 296, 296, 296, 272, 197, 231,
296, 237, 323, 241, 296, 204, 296, 296, 103, 296,
296, 199, 120, 76, 241, 296, 204, 296, 95, 103,
296, 258, 199, 120, 81, 296, 272, 197, 231, 95,
237, 323, 258, 296, 296, 296, 296, 272, 197, 231,
296, 237, 323, 241, 296, 204, 296, 296, 103, 296,
296, 199, 120, 65, 296, 296, 296, 296, 95, 296,
296, 258, 296, 296, 296, 296, 272, 197, 231, 296,
237, 323, 241, 296, 204, 296, 296, 103, 296, 296,
199, 96, 68, 241, 296, 204, 296, 95, 103, 296,
258, 199, 120, 61, 296, 272, 197, 231, 95, 237,
323, 258, 296, 296, 296, 296, 272, 197, 231, 296,
237, 323, 241, 296, 204, 296, 296, 103, 296, 296,
199, 98, 69, 296, 296, 296, 296, 95, 296, 296,
258, 296, 296, 296, 296, 272, 197, 231, 296, 237,
323, 241, 296, 204, 296, 296, 103, 296, 296, 199,
120, 72, 241, 296, 204, 296, 95, 103, 296, 258,
199, 120, 47, 296, 272, 197, 231, 95, 237, 323,
258, 296, 296, 296, 296, 272, 197, 231, 296, 237,
323, 241, 192, 204, 296, 296, 103, 296, 296, 199,
120, 60, 296, 296, 351, 296, 95, 296, 217, 258,
296, 296, 296, 296, 272, 197, 231, 26, 237, 323,
241, 296, 204, 16, 296, 103, 426, 296, 199, 125,
296, 241, 296, 204, 296, 95, 103, 296, 426, 199,
118, 296, 242, 272, 197, 231, 95, 237, 323, 296,
296, 296, 296, 246, 272, 197, 231, 296, 237, 323,
241, 296, 204, 278, 296, 103, 34, 296, 199, 121,
279, 296, 296, 296, 296, 95, 296, 296, 296, 296,
26, 296, 162, 272, 197, 231, 16, 237, 323, 241,
296, 204, 296, 296, 103, 296, 296, 199, 123, 296,
241, 296, 204, 296, 95, 103, 296, 296, 199, 114,
296, 296, 272, 197, 231, 95, 237, 323, 296, 296,
296, 296, 296, 272, 197, 231, 296, 237, 323, 241,
296, 204, 296, 145, 103, 296, 296, 199, 124, 296,
296, 296, 296, 286, 95, 39, 35, 243, 296, 296,
296, 296, 272, 197, 231, 296, 237, 323, 241, 296,
204, 296, 296, 103, 296, 296, 199, 115, 296, 241,
296, 204, 296, 95, 103, 296, 296, 199, 113, 296,
296, 272, 197, 231, 95, 237, 323, 296, 296, 296,
296, 296, 272, 197, 231, 228, 237, 323, 241, 296,
204, 296, 455, 103, 296, 455, 199, 119, 3, 455,
439, 296, 296, 95, 296, 296, 296, 296, 296, 296,
296, 272, 197, 231, 228, 237, 323, 296, 296, 296,
296, 455, 296, 296, 455, 296, 296, 439, 455, 439,
439, 228, 455, 296, 439, 296, 296, 137, 455, 296,
296, 455, 296, 296, 32, 455, 439, 286, 296, 39,
35, 243, 29, 296, 26, 296, 439, 296, 296, 439,
16, 455, 296, 439, 306, 43, 40, 38, 296, 296,
296, 296, 296, 439, 296, 296, 439, 296, 455, 296,
439, 26, 311, 312, 313, 316, 296, 16, 228, 296,
296, 296, 43, 40, 38, 455, 296, 296, 455, 296,
296, 296, 455, 439, 296, 296, 19, 296, 296, 311,
312, 313, 316, 455, 296, 296, 455, 296, 296, 296,
455, 439, 296, 296, 296, 43, 40, 38, 296, 296,
439, 296, 296, 439, 174, 455, 296, 439, 296, 240,
309, 296, 311, 312, 313, 316, 296, 289, 439, 296,
36, 439, 296, 455, 296, 439, 296, 296, 43, 40,
38, 296, 296, 43, 40, 38, 296, 296, 296, 296,
296, 43, 40, 38, 296, 311, 312, 313, 316, 296,
311, 312, 313, 316, 296, 43, 40, 38, 311, 312,
313, 316, 273, 43, 40, 38, 296, 296, 296, 296,
296, 296, 311, 312, 313, 316, 296, 296, 296, 296,
311, 312, 313, 316, 455, 296, 296, 455, 43, 40,
38, 455, 439, 218, 43, 40, 38, 296, 296, 296,
296, 296, 296, 296, 296, 311, 312, 313, 316, 296,
296, 311, 312, 313, 316, 296, 296, 296, 296, 439,
296, 296, 439, 296, 455, 296, 439,
);
public static $yy_lookahead = array(
9, 10, 11, 12, 12, 14, 14, 16, 16, 18,
19, 20, 9, 34, 102, 12, 25, 13, 70, 16,
29, 30, 31, 35, 33, 21, 35, 23, 95, 38,
26, 52, 41, 42, 43, 44, 32, 46, 34, 48,
36, 50, 51, 52, 53, 53, 98, 99, 44, 58,
59, 9, 10, 11, 12, 22, 14, 13, 16, 15,
18, 19, 20, 85, 86, 87, 15, 25, 17, 21,
26, 29, 30, 31, 44, 33, 32, 35, 45, 35,
38, 51, 34, 41, 42, 43, 44, 35, 46, 77,
48, 47, 50, 51, 14, 53, 16, 13, 47, 47,
58, 59, 9, 10, 11, 12, 22, 14, 35, 16,
26, 18, 19, 20, 102, 103, 32, 44, 25, 34,
47, 36, 29, 30, 31, 52, 33, 14, 35, 45,
50, 38, 26, 53, 41, 42, 43, 44, 32, 46,
66, 48, 68, 50, 51, 77, 53, 15, 35, 7,
8, 58, 59, 9, 10, 11, 12, 12, 14, 14,
16, 16, 18, 19, 20, 9, 53, 1, 12, 25,
102, 82, 16, 29, 30, 31, 44, 33, 33, 35,
106, 107, 38, 51, 44, 41, 42, 43, 44, 35,
46, 51, 48, 82, 50, 51, 22, 53, 53, 13,
73, 47, 58, 59, 9, 10, 11, 12, 22, 14,
83, 16, 26, 18, 19, 20, 28, 12, 32, 45,
25, 22, 70, 35, 29, 30, 31, 65, 33, 102,
35, 45, 73, 38, 60, 47, 41, 42, 43, 44,
35, 46, 83, 48, 45, 50, 51, 95, 53, 71,
95, 52, 74, 58, 59, 9, 10, 11, 12, 81,
14, 102, 16, 73, 18, 19, 20, 34, 90, 36,
1, 25, 94, 83, 81, 29, 30, 31, 66, 33,
68, 35, 13, 96, 38, 98, 99, 41, 42, 43,
44, 15, 46, 100, 48, 26, 50, 51, 14, 53,
71, 32, 17, 74, 58, 59, 9, 10, 11, 12,
81, 14, 34, 16, 36, 18, 19, 20, 82, 107,
44, 35, 25, 94, 71, 95, 29, 30, 31, 44,
33, 78, 35, 47, 81, 38, 51, 53, 41, 42,
43, 44, 15, 46, 71, 48, 16, 50, 51, 22,
53, 78, 79, 1, 81, 58, 59, 9, 10, 11,
12, 15, 14, 17, 16, 1, 18, 19, 20, 66,
34, 68, 36, 25, 16, 71, 44, 29, 30, 31,
28, 33, 78, 35, 52, 81, 38, 62, 63, 41,
42, 43, 44, 47, 46, 6, 48, 8, 50, 51,
16, 53, 73, 1, 2, 40, 58, 59, 9, 10,
11, 12, 83, 14, 77, 16, 52, 18, 19, 20,
98, 99, 52, 95, 25, 97, 97, 92, 29, 30,
31, 77, 33, 49, 35, 100, 14, 38, 16, 102,
41, 42, 43, 44, 73, 46, 14, 48, 14, 50,
51, 36, 53, 73, 83, 1, 102, 58, 59, 9,
10, 11, 12, 83, 14, 17, 16, 50, 18, 19,
20, 17, 71, 64, 65, 25, 73, 97, 15, 29,
30, 31, 81, 33, 26, 35, 83, 53, 38, 73,
32, 41, 42, 43, 44, 47, 46, 92, 48, 83,
50, 51, 95, 53, 97, 100, 98, 99, 58, 59,
9, 10, 11, 12, 23, 14, 52, 16, 16, 18,
19, 20, 16, 7, 50, 16, 25, 13, 13, 16,
29, 30, 31, 16, 33, 16, 35, 33, 33, 38,
44, 16, 41, 42, 43, 44, 35, 46, 16, 48,
95, 50, 51, 96, 53, 37, 38, 39, 81, 58,
59, 66, 67, 68, 69, 83, 71, 72, 95, 74,
75, 76, 54, 55, 56, 57, 81, 97, 60, 84,
95, 13, 17, 80, 89, 90, 91, 1, 93, 94,
2, 81, 103, 66, 67, 68, 69, 99, 71, 72,
108, 74, 75, 76, 81, 37, 38, 39, 81, 108,
108, 84, 108, 108, 108, 95, 89, 90, 91, 108,
93, 94, 54, 55, 56, 57, 66, 108, 68, 108,
108, 71, 108, 108, 74, 75, 76, 108, 108, 21,
108, 81, 108, 108, 84, 9, 108, 108, 12, 89,
90, 91, 16, 93, 94, 37, 38, 39, 108, 108,
108, 66, 26, 68, 104, 105, 71, 108, 32, 74,
75, 76, 54, 55, 56, 57, 81, 1, 108, 84,
73, 108, 108, 108, 89, 90, 91, 108, 93, 94,
83, 2, 85, 86, 87, 108, 108, 108, 108, 104,
105, 108, 26, 3, 4, 5, 6, 108, 32, 9,
10, 11, 12, 108, 108, 14, 108, 16, 18, 19,
20, 108, 108, 108, 35, 25, 37, 38, 39, 29,
30, 31, 66, 108, 68, 69, 47, 71, 72, 108,
74, 75, 76, 54, 55, 56, 57, 81, 108, 48,
84, 50, 108, 108, 53, 89, 90, 91, 108, 93,
94, 3, 108, 108, 108, 108, 108, 9, 10, 11,
12, 108, 14, 108, 108, 108, 18, 19, 20, 108,
108, 13, 108, 25, 27, 108, 108, 29, 30, 31,
108, 108, 108, 3, 37, 38, 39, 108, 108, 9,
10, 11, 12, 108, 14, 37, 38, 39, 18, 19,
20, 54, 55, 56, 57, 25, 108, 59, 60, 29,
30, 31, 54, 55, 56, 57, 108, 108, 66, 108,
68, 108, 1, 71, 108, 108, 74, 75, 76, 108,
108, 108, 108, 81, 13, 108, 84, 108, 108, 59,
60, 89, 90, 91, 108, 93, 94, 26, 108, 108,
66, 108, 68, 32, 108, 71, 108, 105, 74, 75,
76, 66, 78, 68, 108, 81, 71, 108, 84, 74,
75, 76, 108, 89, 90, 91, 81, 93, 94, 84,
9, 108, 108, 12, 89, 90, 91, 16, 93, 94,
66, 108, 68, 108, 108, 71, 101, 108, 74, 75,
76, 108, 108, 108, 108, 81, 108, 108, 84, 9,
108, 108, 12, 89, 90, 91, 16, 93, 94, 66,
49, 68, 108, 108, 71, 101, 108, 74, 75, 76,
66, 78, 68, 108, 81, 71, 108, 84, 74, 75,
76, 108, 89, 90, 91, 81, 93, 94, 84, 49,
108, 108, 108, 89, 90, 91, 108, 93, 94, 66,
108, 68, 73, 108, 71, 101, 77, 74, 75, 76,
108, 108, 83, 108, 81, 108, 108, 84, 9, 108,
108, 12, 89, 90, 91, 16, 93, 94, 66, 108,
68, 102, 108, 71, 108, 108, 74, 75, 76, 66,
108, 68, 108, 81, 71, 108, 84, 74, 75, 76,
108, 89, 90, 91, 81, 93, 94, 84, 49, 1,
108, 108, 89, 90, 91, 108, 93, 94, 66, 108,
68, 13, 108, 71, 108, 108, 74, 75, 76, 108,
108, 108, 108, 81, 26, 108, 84, 108, 108, 108,
32, 89, 90, 91, 108, 93, 94, 66, 108, 68,
108, 108, 71, 108, 108, 74, 75, 76, 66, 108,
68, 108, 81, 71, 108, 84, 74, 75, 76, 108,
89, 90, 91, 81, 93, 94, 84, 108, 108, 108,
73, 89, 90, 91, 77, 93, 94, 66, 108, 68,
83, 108, 71, 108, 108, 74, 75, 76, 108, 108,
108, 108, 81, 108, 108, 84, 108, 108, 108, 102,
89, 90, 91, 108, 93, 94, 66, 108, 68, 108,
108, 71, 108, 108, 74, 75, 76, 66, 108, 68,
108, 81, 71, 108, 84, 74, 75, 76, 108, 89,
90, 91, 81, 93, 94, 84, 108, 108, 108, 108,
89, 90, 91, 108, 93, 94, 66, 108, 68, 108,
108, 71, 108, 108, 74, 75, 76, 108, 108, 108,
108, 81, 108, 108, 84, 108, 108, 108, 108, 89,
90, 91, 108, 93, 94, 66, 108, 68, 108, 108,
71, 108, 108, 74, 75, 76, 66, 108, 68, 108,
81, 71, 108, 84, 74, 75, 76, 108, 89, 90,
91, 81, 93, 94, 84, 108, 108, 108, 108, 89,
90, 91, 108, 93, 94, 66, 108, 68, 108, 108,
71, 108, 108, 74, 75, 76, 108, 108, 108, 108,
81, 108, 108, 84, 108, 108, 108, 108, 89, 90,
91, 108, 93, 94, 66, 108, 68, 108, 108, 71,
108, 108, 74, 75, 76, 66, 108, 68, 108, 81,
71, 108, 84, 74, 75, 76, 108, 89, 90, 91,
81, 93, 94, 84, 108, 108, 108, 108, 89, 90,
91, 108, 93, 94, 66, 108, 68, 108, 108, 71,
108, 108, 74, 75, 76, 108, 108, 108, 108, 81,
108, 108, 84, 108, 108, 108, 108, 89, 90, 91,
108, 93, 94, 66, 108, 68, 108, 108, 71, 108,
108, 74, 75, 76, 66, 108, 68, 108, 81, 71,
108, 84, 74, 75, 76, 108, 89, 90, 91, 81,
93, 94, 84, 108, 108, 108, 108, 89, 90, 91,
108, 93, 94, 66, 108, 68, 108, 108, 71, 108,
108, 74, 75, 76, 108, 108, 108, 108, 81, 108,
108, 84, 108, 108, 108, 108, 89, 90, 91, 108,
93, 94, 66, 108, 68, 108, 108, 71, 108, 108,
74, 75, 76, 66, 108, 68, 108, 81, 71, 108,
84, 74, 75, 76, 108, 89, 90, 91, 81, 93,
94, 84, 108, 108, 108, 108, 89, 90, 91, 108,
93, 94, 66, 108, 68, 108, 108, 71, 108, 108,
74, 75, 76, 108, 108, 108, 108, 81, 108, 108,
84, 108, 108, 108, 108, 89, 90, 91, 108, 93,
94, 66, 108, 68, 108, 108, 71, 108, 108, 74,
75, 76, 66, 108, 68, 108, 81, 71, 108, 84,
74, 75, 76, 108, 89, 90, 91, 81, 93, 94,
84, 108, 108, 108, 108, 89, 90, 91, 108, 93,
94, 66, 1, 68, 108, 108, 71, 108, 108, 74,
75, 76, 108, 108, 13, 108, 81, 108, 17, 84,
108, 108, 108, 108, 89, 90, 91, 26, 93, 94,
66, 108, 68, 32, 108, 71, 35, 108, 74, 75,
108, 66, 108, 68, 108, 81, 71, 108, 47, 74,
75, 108, 88, 89, 90, 91, 81, 93, 94, 108,
108, 108, 108, 88, 89, 90, 91, 108, 93, 94,
66, 108, 68, 9, 108, 71, 12, 108, 74, 75,
16, 108, 108, 108, 108, 81, 108, 108, 108, 108,
26, 108, 28, 89, 90, 91, 32, 93, 94, 66,
108, 68, 108, 108, 71, 108, 108, 74, 75, 108,
66, 108, 68, 108, 81, 71, 108, 108, 74, 75,
108, 108, 89, 90, 91, 81, 93, 94, 108, 108,
108, 108, 108, 89, 90, 91, 108, 93, 94, 66,
108, 68, 108, 73, 71, 108, 108, 74, 75, 108,
108, 108, 108, 83, 81, 85, 86, 87, 108, 108,
108, 108, 89, 90, 91, 108, 93, 94, 66, 108,
68, 108, 108, 71, 108, 108, 74, 75, 108, 66,
108, 68, 108, 81, 71, 108, 108, 74, 75, 108,
108, 89, 90, 91, 81, 93, 94, 108, 108, 108,
108, 108, 89, 90, 91, 2, 93, 94, 66, 108,
68, 108, 9, 71, 108, 12, 74, 75, 15, 16,
17, 108, 108, 81, 108, 108, 108, 108, 108, 108,
108, 89, 90, 91, 2, 93, 94, 108, 108, 108,
108, 9, 108, 108, 12, 108, 108, 44, 16, 17,
47, 2, 49, 108, 51, 108, 108, 73, 9, 108,
108, 12, 108, 108, 15, 16, 17, 83, 108, 85,
86, 87, 24, 108, 26, 108, 44, 108, 108, 47,
32, 49, 108, 51, 52, 37, 38, 39, 108, 108,
108, 108, 108, 44, 108, 108, 47, 108, 49, 108,
51, 26, 54, 55, 56, 57, 108, 32, 2, 108,
108, 108, 37, 38, 39, 9, 108, 108, 12, 108,
108, 108, 16, 17, 108, 108, 2, 108, 108, 54,
55, 56, 57, 9, 108, 108, 12, 108, 108, 108,
16, 17, 108, 108, 108, 37, 38, 39, 108, 108,
44, 108, 108, 47, 13, 49, 108, 51, 108, 13,
52, 108, 54, 55, 56, 57, 108, 13, 44, 108,
2, 47, 108, 49, 108, 51, 108, 108, 37, 38,
39, 108, 108, 37, 38, 39, 108, 108, 108, 108,
108, 37, 38, 39, 108, 54, 55, 56, 57, 108,
54, 55, 56, 57, 108, 37, 38, 39, 54, 55,
56, 57, 36, 37, 38, 39, 108, 108, 108, 108,
108, 108, 54, 55, 56, 57, 108, 108, 108, 108,
54, 55, 56, 57, 9, 108, 108, 12, 37, 38,
39, 16, 17, 36, 37, 38, 39, 108, 108, 108,
108, 108, 108, 108, 108, 54, 55, 56, 57, 108,
108, 54, 55, 56, 57, 108, 108, 108, 108, 44,
108, 108, 47, 108, 49, 108, 51,
);
const YY_SHIFT_USE_DFLT = -22;
const YY_SHIFT_MAX = 230;
public static $yy_shift_ofst = array(
-22, 501, 501, 93, 399, 399, 450, 93, 93, 93,
399, 450, -9, 93, 93, 93, 93, 93, 93, 144,
93, 195, 93, 93, 93, 246, 195, 93, 93, 93,
93, 93, 297, 93, 93, 93, 93, 348, 42, 42,
42, 42, 42, 42, 42, 42, 1768, 1795, 1795, 701,
758, 1521, 80, 676, 113, 790, 1927, 1828, 1896, 568,
768, 1861, 757, 1866, 1874, 1888, 618, 518, 1921, 1921,
1921, 1921, 1921, 1921, 1921, 1921, 1921, 1921, 1921, 1921,
1921, 1921, 1921, 1584, 636, 285, 676, 676, 346, 113,
113, 402, 700, 1723, -8, 910, 831, 269, 1028, 51,
3, 3, 422, 448, 352, 106, 422, 106, 458, 364,
434, 454, 106, 166, 166, 166, 166, 565, 166, 166,
166, 586, 565, 166, 166, -22, -22, 1752, 1769, 1826,
1844, 1945, 145, 979, 156, 132, 284, 106, 140, 106,
30, 140, 140, 30, 106, 106, 106, 140, 106, 106,
140, 106, 327, 106, 106, 106, 140, 140, 106, 140,
205, 106, 284, 166, 565, 588, 565, 588, 565, 166,
166, -12, 166, -22, -22, -22, -22, -22, -22, 689,
4, 44, 84, 186, 73, 881, 199, 188, 174, 286,
48, 336, 384, 389, 332, 142, -21, 52, 154, 33,
85, 276, 278, 233, 515, 509, 474, 516, 502, 464,
491, 415, 417, 432, 514, 370, 463, 506, 365, 513,
-12, 517, 504, 519, 505, 511, 496, 525, 532, 330,
358,
);
const YY_REDUCE_USE_DFLT = -89;
const YY_REDUCE_MAX = 178;
public static $yy_reduce_ofst = array(
325, 527, 495, 666, 595, 560, 863, 874, 834, 805,
762, 794, 1179, 1455, 1208, 1012, 1386, 1139, 1070, 1110,
1150, 1219, 1248, 1277, 1288, 1317, 1346, 1357, 1415, 1426,
1081, 1041, 1001, 972, 943, 932, 903, 1484, 1495, 1622,
1633, 1662, 1593, 1564, 1553, 1524, 1704, 607, 1590, 178,
74, 1027, 229, 899, 273, 212, -22, -22, -22, -22,
-22, -22, -22, -22, -22, -22, -22, -22, -22, -22,
-22, -22, -22, -22, -22, -22, -22, -22, -22, -22,
-22, -22, -22, 380, 329, 187, 159, 127, -52, 253,
304, 12, 303, 152, 193, 328, 68, 68, 68, 322,
328, 407, 405, 322, 68, 190, 335, 416, 403, 68,
401, 354, 371, 68, 68, 68, 337, 322, 68, 68,
68, 68, 408, 68, 68, 68, 409, 455, 455, 455,
455, 455, 510, 480, 455, 455, 477, 482, 457, 482,
473, 457, 457, 485, 482, 482, 482, 457, 482, 482,
457, 482, 503, 482, 482, 482, 457, 457, 482, 457,
520, 482, 523, -88, 498, 489, 498, 489, 498, -88,
-88, -67, -88, 111, 155, 89, 236, 230, 162,
);
public static $yyExpectedTokens = array(
array(),
array(9, 10, 11, 12, 14, 16, 18, 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, 18, 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, 18, 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, 18, 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, 18, 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, 18, 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, 18, 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, 18, 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, 18, 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, 18, 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, 18, 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, 18, 19, 20, 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, 18, 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, 18, 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, 18, 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, 18, 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, 18, 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, 18, 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, 18, 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, 18, 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, 18, 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, 18, 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, 18, 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, 18, 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, 18, 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, 18, 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, 18, 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, 18, 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, 18, 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, 18, 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, 18, 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, 18, 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, 18, 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, 18, 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, 18, 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, 18, 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, 18, 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, 18, 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, 18, 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, 18, 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, 18, 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, 18, 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, 18, 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, 18, 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, 18, 19, 20, 25, 29, 30, 31, 33, 35, 38, 41, 42, 43, 44, 46, 48, 50, 51, 53, 58, 59, ),
array(24, 26, 32, 37, 38, 39, 54, 55, 56, 57, ),
array(26, 32, 37, 38, 39, 54, 55, 56, 57, ),
array(26, 32, 37, 38, 39, 54, 55, 56, 57, ),
array(14, 16, 48, 50, 53, ),
array(3, 9, 10, 11, 12, 14, 18, 19, 20, 25, 29, 30, 31, 59, 60, ),
array(1, 13, 17, 26, 32, 35, 47, ),
array(14, 16, 50, 53, ),
array(1, 26, 32, ),
array(14, 35, 53, ),
array(3, 9, 10, 11, 12, 14, 18, 19, 20, 25, 29, 30, 31, 59, 60, ),
array(36, 37, 38, 39, 54, 55, 56, 57, ),
array(37, 38, 39, 52, 54, 55, 56, 57, ),
array(36, 37, 38, 39, 54, 55, 56, 57, ),
array(13, 37, 38, 39, 54, 55, 56, 57, ),
array(13, 37, 38, 39, 54, 55, 56, 57, ),
array(13, 37, 38, 39, 54, 55, 56, 57, ),
array(27, 37, 38, 39, 54, 55, 56, 57, ),
array(13, 37, 38, 39, 54, 55, 56, 57, ),
array(13, 37, 38, 39, 54, 55, 56, 57, ),
array(2, 37, 38, 39, 54, 55, 56, 57, ),
array(21, 37, 38, 39, 54, 55, 56, 57, ),
array(37, 38, 39, 54, 55, 56, 57, 60, ),
array(37, 38, 39, 54, 55, 56, 57, ),
array(37, 38, 39, 54, 55, 56, 57, ),
array(37, 38, 39, 54, 55, 56, 57, ),
array(37, 38, 39, 54, 55, 56, 57, ),
array(37, 38, 39, 54, 55, 56, 57, ),
array(37, 38, 39, 54, 55, 56, 57, ),
array(37, 38, 39, 54, 55, 56, 57, ),
array(37, 38, 39, 54, 55, 56, 57, ),
array(37, 38, 39, 54, 55, 56, 57, ),
array(37, 38, 39, 54, 55, 56, 57, ),
array(37, 38, 39, 54, 55, 56, 57, ),
array(37, 38, 39, 54, 55, 56, 57, ),
array(37, 38, 39, 54, 55, 56, 57, ),
array(37, 38, 39, 54, 55, 56, 57, ),
array(37, 38, 39, 54, 55, 56, 57, ),
array(9, 12, 16, 26, 28, 32, ),
array(9, 12, 16, 26, 32, ),
array(17, 44, 51, ),
array(1, 26, 32, ),
array(1, 26, 32, ),
array(15, 17, 47, ),
array(14, 35, 53, ),
array(14, 35, 53, ),
array(1, 2, ),
array(3, 4, 5, 6, 9, 10, 11, 12, 18, 19, 20, 25, 29, 30, 31, ),
array(2, 9, 12, 15, 16, 17, 44, 47, 49, 51, ),
array(12, 14, 16, 53, ),
array(9, 12, 16, 49, ),
array(1, 13, 26, 32, ),
array(1, 13, 26, 32, ),
array(1, 13, 26, 32, ),
array(15, 17, 47, ),
array(9, 12, 16, ),
array(9, 12, 16, ),
array(14, 16, ),
array(17, 47, ),
array(1, 28, ),
array(26, 32, ),
array(14, 16, ),
array(26, 32, ),
array(26, 32, ),
array(1, 52, ),
array(14, 53, ),
array(1, 17, ),
array(26, 32, ),
array(1, ),
array(1, ),
array(1, ),
array(1, ),
array(17, ),
array(1, ),
array(1, ),
array(1, ),
array(1, ),
array(17, ),
array(1, ),
array(1, ),
array(),
array(),
array(2, 9, 12, 16, 17, 44, 47, 49, 51, 52, ),
array(2, 9, 12, 15, 16, 17, 44, 47, 49, 51, ),
array(2, 9, 12, 16, 17, 44, 47, 49, 51, ),
array(2, 9, 12, 16, 17, 44, 47, 49, 51, ),
array(9, 12, 16, 17, 44, 47, 49, 51, ),
array(12, 14, 16, 33, 53, ),
array(9, 12, 16, 49, ),
array(9, 12, 16, ),
array(15, 44, 51, ),
array(14, 53, ),
array(26, 32, ),
array(44, 51, ),
array(26, 32, ),
array(44, 51, ),
array(44, 51, ),
array(44, 51, ),
array(44, 51, ),
array(26, 32, ),
array(26, 32, ),
array(26, 32, ),
array(44, 51, ),
array(26, 32, ),
array(26, 32, ),
array(44, 51, ),
array(26, 32, ),
array(15, 22, ),
array(26, 32, ),
array(26, 32, ),
array(26, 32, ),
array(44, 51, ),
array(44, 51, ),
array(26, 32, ),
array(44, 51, ),
array(12, 35, ),
array(26, 32, ),
array(14, 53, ),
array(1, ),
array(17, ),
array(2, ),
array(17, ),
array(2, ),
array(17, ),
array(1, ),
array(1, ),
array(35, ),
array(1, ),
array(),
array(),
array(),
array(),
array(),
array(),
array(2, 35, 37, 38, 39, 47, 54, 55, 56, 57, ),
array(13, 21, 23, 26, 32, 34, 36, 44, ),
array(13, 15, 26, 32, 35, 47, ),
array(13, 22, 26, 32, 45, ),
array(13, 22, 26, 32, 45, ),
array(35, 44, 47, 52, ),
array(9, 12, 16, 49, ),
array(22, 45, 52, ),
array(28, 35, 47, ),
array(22, 45, 60, ),
array(35, 47, ),
array(21, 34, ),
array(34, 36, ),
array(16, 49, ),
array(6, 8, ),
array(44, 52, ),
array(7, 8, ),
array(34, 52, ),
array(35, 47, ),
array(35, 47, ),
array(22, 45, ),
array(34, 36, ),
array(15, 44, ),
array(34, 36, ),
array(34, 36, ),
array(13, ),
array(16, ),
array(50, ),
array(7, ),
array(16, ),
array(52, ),
array(23, ),
array(36, ),
array(50, ),
array(14, ),
array(13, ),
array(52, ),
array(15, ),
array(16, ),
array(40, ),
array(16, ),
array(35, ),
array(16, ),
array(33, ),
array(16, ),
array(33, ),
array(35, ),
array(44, ),
array(16, ),
array(16, ),
array(16, ),
array(16, ),
array(),
array(),
array(),
array(),
array(),
array(),
array(),
array(),
array(),
array(),
array(),
array(),
array(),
array(),
array(),
array(),
array(),
array(),
array(),
array(),
array(),
array(),
array(),
array(),
array(),
array(),
array(),
array(),
array(),
array(),
array(),
array(),
array(),
array(),
array(),
array(),
array(),
array(),
array(),
array(),
array(),
array(),
array(),
array(),
array(),
array(),
array(),
array(),
array(),
array(),
array(),
array(),
array(),
array(),
array(),
array(),
array(),
array(),
array(),
array(),
array(),
array(),
array(),
array(),
array(),
array(),
array(),
array(),
array(),
array(),
array(),
array(),
array(),
array(),
array(),
array(),
array(),
array(),
array(),
array(),
array(),
array(),
array(),
array(),
array(),
array(),
array(),
array(),
array(),
array(),
array(),
array(),
array(),
array(),
array(),
);
public static $yy_default = array(
336, 512, 512, 512, 497, 497, 512, 474, 474, 474,
512, 512, 512, 512, 512, 512, 512, 512, 512, 512,
512, 512, 512, 512, 512, 512, 512, 512, 512, 512,
512, 512, 512, 512, 512, 512, 512, 512, 512, 512,
512, 512, 512, 512, 512, 512, 377, 377, 356, 512,
512, 413, 512, 377, 512, 512, 512, 512, 512, 512,
512, 512, 382, 512, 349, 512, 512, 512, 382, 379,
389, 388, 384, 402, 473, 397, 498, 500, 401, 361,
472, 499, 349, 377, 377, 487, 377, 377, 429, 512,
512, 368, 326, 428, 512, 439, 391, 391, 391, 429,
439, 439, 512, 429, 391, 377, 512, 377, 377, 391,
512, 371, 358, 395, 394, 396, 373, 429, 400, 404,
391, 404, 484, 406, 405, 481, 334, 428, 428, 428,
428, 428, 512, 441, 439, 455, 512, 363, 435, 354,
434, 437, 433, 432, 359, 357, 364, 436, 353, 367,
466, 365, 512, 352, 350, 360, 467, 465, 346, 464,
439, 366, 512, 369, 461, 475, 488, 476, 485, 372,
422, 439, 374, 480, 439, 480, 480, 439, 334, 413,
409, 413, 403, 403, 413, 440, 403, 413, 403, 413,
512, 512, 512, 332, 409, 512, 512, 512, 423, 403,
512, 409, 512, 512, 512, 512, 512, 512, 512, 418,
385, 512, 512, 512, 512, 512, 512, 512, 415, 512,
455, 512, 512, 512, 411, 486, 409, 512, 512, 512,
512, 419, 407, 362, 445, 418, 425, 424, 420, 339,
460, 421, 483, 398, 416, 340, 399, 455, 378, 337,
338, 330, 328, 329, 442, 443, 444, 438, 392, 393,
427, 426, 386, 417, 408, 390, 410, 331, 333, 335,
412, 470, 414, 415, 503, 478, 495, 471, 459, 458,
375, 457, 344, 462, 508, 493, 376, 496, 456, 509,
494, 501, 504, 511, 510, 507, 505, 502, 506, 345,
468, 469, 446, 355, 341, 452, 450, 454, 448, 453,
447, 489, 490, 491, 463, 449, 492, 451, 327, 342,
343, 370, 430, 431, 479, 477,
);
const YYNOCODE = 109;
const YYSTACKDEPTH = 500;
const YYNSTATE = 326;
const YYNRULE = 186;
const YYERRORSYMBOL = 61;
const YYERRSYMDT = 'yy0';
const YYFALLBACK = 0;
public static $yyFallback = array(
);
public function Trace($TraceFILE, $zTracePrompt)
{
if (!$TraceFILE) {
$zTracePrompt = 0;
} elseif (!$zTracePrompt) {
$TraceFILE = 0;
}
$this->yyTraceFILE = $TraceFILE;
$this->yyTracePrompt = $zTracePrompt;
}
public function PrintTrace()
{
$this->yyTraceFILE = fopen('php://output', 'w');
$this->yyTracePrompt = '<br>';
}
public $yyTraceFILE;
public $yyTracePrompt;
public $yyidx; /* Index of top element in stack */
public $yyerrcnt; /* Shifts left before out of the error */
public $yystack = array(); /* The parser's stack */
public $yyTokenName = array(
'$', 'VERT', 'COLON', 'TEXT',
'STRIPON', 'STRIPOFF', 'LITERALSTART', 'LITERALEND',
'LITERAL', 'SIMPELOUTPUT', 'SIMPLETAG', 'SMARTYBLOCKCHILDPARENT',
'LDEL', 'RDEL', 'DOLLARID', 'EQUAL',
'ID', 'PTR', 'LDELMAKENOCACHE', 'LDELIF',
'LDELFOR', 'SEMICOLON', 'INCDEC', 'TO',
'STEP', 'LDELFOREACH', 'SPACE', 'AS',
'APTR', 'LDELSETFILTER', 'CLOSETAG', 'LDELSLASH',
'ATTR', 'INTEGER', 'COMMA', 'OPENP',
'CLOSEP', 'MATH', 'UNIMATH', 'ISIN',
'QMARK', 'NOT', 'TYPECAST', 'HEX',
'DOT', 'INSTANCEOF', 'SINGLEQUOTESTRING', 'DOUBLECOLON',
'NAMESPACE', 'AT', 'HATCH', 'OPENB',
'CLOSEB', 'DOLLAR', 'LOGOP', 'SLOGOP',
'TLOGOP', 'SINGLECOND', 'ARRAYOPEN', 'QUOTE',
'BACKTICK', 'error', 'start', 'template',
'literal_e2', 'literal_e1', 'smartytag', 'tagbody',
'tag', 'outattr', 'eqoutattr', 'varindexed',
'output', 'attributes', 'variable', 'value',
'expr', 'modifierlist', 'statement', 'statements',
'foraction', 'varvar', 'modparameters', 'attribute',
'ternary', 'tlop', 'lop', 'scond',
'array', 'function', 'ns1', 'doublequoted_with_quotes',
'static_class_access', 'arraydef', 'object', 'arrayindex',
'indexdef', 'varvarele', 'objectchain', 'objectelement',
'method', 'params', 'modifier', 'modparameter',
'arrayelements', 'arrayelement', 'doublequoted', 'doublequotedcontent',
);
public static $yyRuleName = array(
'start ::= template',
'template ::= template TEXT',
'template ::= template STRIPON',
'template ::= template STRIPOFF',
'template ::= template LITERALSTART literal_e2 LITERALEND',
'literal_e2 ::= literal_e1 LITERALSTART literal_e1 LITERALEND',
'literal_e2 ::= literal_e1',
'literal_e1 ::= literal_e1 LITERAL',
'literal_e1 ::=',
'template ::= template smartytag',
'template ::=',
'smartytag ::= SIMPELOUTPUT',
'smartytag ::= SIMPLETAG',
'smartytag ::= SMARTYBLOCKCHILDPARENT',
'smartytag ::= LDEL tagbody RDEL',
'smartytag ::= tag RDEL',
'tagbody ::= outattr',
'tagbody ::= DOLLARID eqoutattr',
'tagbody ::= varindexed eqoutattr',
'eqoutattr ::= EQUAL outattr',
'outattr ::= output attributes',
'output ::= variable',
'output ::= value',
'output ::= expr',
'tag ::= LDEL ID attributes',
'tag ::= LDEL ID',
'tag ::= LDEL ID modifierlist attributes',
'tag ::= LDEL ID PTR ID attributes',
'tag ::= LDEL ID PTR ID modifierlist attributes',
'tag ::= LDELMAKENOCACHE DOLLARID',
'tag ::= LDELIF expr',
'tag ::= LDELIF expr attributes',
'tag ::= LDELIF statement',
'tag ::= LDELIF statement attributes',
'tag ::= LDELFOR statements SEMICOLON expr SEMICOLON varindexed foraction attributes',
'foraction ::= EQUAL expr',
'foraction ::= INCDEC',
'tag ::= LDELFOR statement TO expr attributes',
'tag ::= LDELFOR statement TO expr STEP expr attributes',
'tag ::= LDELFOREACH SPACE expr AS varvar attributes',
'tag ::= LDELFOREACH SPACE expr AS varvar APTR varvar attributes',
'tag ::= LDELFOREACH attributes',
'tag ::= LDELSETFILTER ID modparameters',
'tag ::= LDELSETFILTER ID modparameters modifierlist',
'smartytag ::= CLOSETAG',
'tag ::= LDELSLASH ID',
'tag ::= LDELSLASH ID modifierlist',
'tag ::= LDELSLASH ID PTR ID',
'tag ::= LDELSLASH ID PTR ID modifierlist',
'attributes ::= attributes attribute',
'attributes ::= attribute',
'attributes ::=',
'attribute ::= SPACE ID EQUAL ID',
'attribute ::= ATTR expr',
'attribute ::= ATTR value',
'attribute ::= SPACE ID',
'attribute ::= SPACE expr',
'attribute ::= SPACE value',
'attribute ::= SPACE INTEGER EQUAL expr',
'statements ::= statement',
'statements ::= statements COMMA statement',
'statement ::= DOLLARID EQUAL INTEGER',
'statement ::= DOLLARID EQUAL expr',
'statement ::= varindexed EQUAL expr',
'statement ::= OPENP statement CLOSEP',
'expr ::= value',
'expr ::= ternary',
'expr ::= DOLLARID COLON ID',
'expr ::= expr MATH value',
'expr ::= expr UNIMATH value',
'expr ::= expr tlop value',
'expr ::= expr lop expr',
'expr ::= expr scond',
'expr ::= expr ISIN array',
'expr ::= expr ISIN value',
'ternary ::= OPENP expr CLOSEP QMARK DOLLARID COLON expr',
'ternary ::= OPENP expr CLOSEP QMARK expr COLON expr',
'value ::= variable',
'value ::= UNIMATH value',
'value ::= NOT value',
'value ::= TYPECAST value',
'value ::= variable INCDEC',
'value ::= HEX',
'value ::= INTEGER',
'value ::= INTEGER DOT INTEGER',
'value ::= INTEGER DOT',
'value ::= DOT INTEGER',
'value ::= ID',
'value ::= function',
'value ::= OPENP expr CLOSEP',
'value ::= variable INSTANCEOF ns1',
'value ::= variable INSTANCEOF variable',
'value ::= SINGLEQUOTESTRING',
'value ::= doublequoted_with_quotes',
'value ::= varindexed DOUBLECOLON static_class_access',
'value ::= smartytag',
'value ::= value modifierlist',
'value ::= NAMESPACE',
'value ::= arraydef',
'value ::= ns1 DOUBLECOLON static_class_access',
'ns1 ::= ID',
'ns1 ::= NAMESPACE',
'variable ::= DOLLARID',
'variable ::= varindexed',
'variable ::= varvar AT ID',
'variable ::= object',
'variable ::= HATCH ID HATCH',
'variable ::= HATCH ID HATCH arrayindex',
'variable ::= HATCH variable HATCH',
'variable ::= HATCH variable HATCH arrayindex',
'varindexed ::= DOLLARID arrayindex',
'varindexed ::= varvar arrayindex',
'arrayindex ::= arrayindex indexdef',
'arrayindex ::=',
'indexdef ::= DOT DOLLARID',
'indexdef ::= DOT varvar',
'indexdef ::= DOT varvar AT ID',
'indexdef ::= DOT ID',
'indexdef ::= DOT INTEGER',
'indexdef ::= DOT LDEL expr RDEL',
'indexdef ::= OPENB ID CLOSEB',
'indexdef ::= OPENB ID DOT ID CLOSEB',
'indexdef ::= OPENB SINGLEQUOTESTRING CLOSEB',
'indexdef ::= OPENB INTEGER CLOSEB',
'indexdef ::= OPENB DOLLARID CLOSEB',
'indexdef ::= OPENB variable CLOSEB',
'indexdef ::= OPENB value CLOSEB',
'indexdef ::= OPENB expr CLOSEB',
'indexdef ::= OPENB CLOSEB',
'varvar ::= DOLLARID',
'varvar ::= DOLLAR',
'varvar ::= varvar varvarele',
'varvarele ::= ID',
'varvarele ::= SIMPELOUTPUT',
'varvarele ::= LDEL expr RDEL',
'object ::= varindexed objectchain',
'objectchain ::= objectelement',
'objectchain ::= objectchain objectelement',
'objectelement ::= PTR ID arrayindex',
'objectelement ::= PTR varvar arrayindex',
'objectelement ::= PTR LDEL expr RDEL arrayindex',
'objectelement ::= PTR ID LDEL expr RDEL arrayindex',
'objectelement ::= PTR method',
'function ::= ns1 OPENP params CLOSEP',
'method ::= ID OPENP params CLOSEP',
'method ::= DOLLARID OPENP params CLOSEP',
'params ::= params COMMA expr',
'params ::= expr',
'params ::=',
'modifierlist ::= modifierlist modifier modparameters',
'modifierlist ::= modifier modparameters',
'modifier ::= VERT AT ID',
'modifier ::= VERT ID',
'modparameters ::= modparameters modparameter',
'modparameters ::=',
'modparameter ::= COLON value',
'modparameter ::= COLON UNIMATH value',
'modparameter ::= COLON array',
'static_class_access ::= method',
'static_class_access ::= method objectchain',
'static_class_access ::= ID',
'static_class_access ::= DOLLARID arrayindex',
'static_class_access ::= DOLLARID arrayindex objectchain',
'lop ::= LOGOP',
'lop ::= SLOGOP',
'tlop ::= TLOGOP',
'scond ::= SINGLECOND',
'arraydef ::= OPENB arrayelements CLOSEB',
'arraydef ::= ARRAYOPEN arrayelements CLOSEP',
'arrayelements ::= arrayelement',
'arrayelements ::= arrayelements COMMA arrayelement',
'arrayelements ::=',
'arrayelement ::= value APTR expr',
'arrayelement ::= ID APTR expr',
'arrayelement ::= expr',
'doublequoted_with_quotes ::= QUOTE QUOTE',
'doublequoted_with_quotes ::= QUOTE doublequoted QUOTE',
'doublequoted ::= doublequoted doublequotedcontent',
'doublequoted ::= doublequotedcontent',
'doublequotedcontent ::= BACKTICK variable BACKTICK',
'doublequotedcontent ::= BACKTICK expr BACKTICK',
'doublequotedcontent ::= DOLLARID',
'doublequotedcontent ::= LDEL variable RDEL',
'doublequotedcontent ::= LDEL expr RDEL',
'doublequotedcontent ::= smartytag',
'doublequotedcontent ::= TEXT',
);
public function tokenName($tokenType)
{
if ($tokenType === 0) {
return 'End of Input';
}
if ($tokenType > 0 && $tokenType < count($this->yyTokenName)) {
return $this->yyTokenName[$tokenType];
} else {
return 'Unknown';
}
}
public static function yy_destructor($yymajor, $yypminor)
{
switch ($yymajor) {
default: break; /* If no destructor action specified: do nothing */
}
}
public function yy_pop_parser_stack()
{
if (empty($this->yystack)) {
return;
}
$yytos = array_pop($this->yystack);
if ($this->yyTraceFILE && $this->yyidx >= 0) {
fwrite($this->yyTraceFILE,
$this->yyTracePrompt . 'Popping ' . $this->yyTokenName[$yytos->major] .
"\n");
}
$yymajor = $yytos->major;
self::yy_destructor($yymajor, $yytos->minor);
$this->yyidx--;
return $yymajor;
}
public function __destruct()
{
while ($this->yystack !== Array()) {
$this->yy_pop_parser_stack();
}
if (is_resource($this->yyTraceFILE)) {
fclose($this->yyTraceFILE);
}
}
public function yy_get_expected_tokens($token)
{
static $res3 = array();
static $res4 = array();
$state = $this->yystack[$this->yyidx]->stateno;
$expected = self::$yyExpectedTokens[$state];
if (isset($res3[$state][$token])) {
if ($res3[$state][$token]) {
return $expected;
}
} else {
if ($res3[$state][$token] = in_array($token, self::$yyExpectedTokens[$state], true)) {
return $expected;
}
}
$stack = $this->yystack;
$yyidx = $this->yyidx;
do {
$yyact = $this->yy_find_shift_action($token);
if ($yyact >= self::YYNSTATE && $yyact < self::YYNSTATE + self::YYNRULE) {
// reduce action
$done = 0;
do {
if ($done++ === 100) {
$this->yyidx = $yyidx;
$this->yystack = $stack;
// too much recursion prevents proper detection
// so give up
return array_unique($expected);
}
$yyruleno = $yyact - self::YYNSTATE;
$this->yyidx -= self::$yyRuleInfo[$yyruleno][1];
$nextstate = $this->yy_find_reduce_action(
$this->yystack[$this->yyidx]->stateno,
self::$yyRuleInfo[$yyruleno][0]);
if (isset(self::$yyExpectedTokens[$nextstate])) {
$expected = array_merge($expected, self::$yyExpectedTokens[$nextstate]);
if (isset($res4[$nextstate][$token])) {
if ($res4[$nextstate][$token]) {
$this->yyidx = $yyidx;
$this->yystack = $stack;
return array_unique($expected);
}
} else {
if ($res4[$nextstate][$token] = in_array($token, self::$yyExpectedTokens[$nextstate], true)) {
$this->yyidx = $yyidx;
$this->yystack = $stack;
return array_unique($expected);
}
}
}
if ($nextstate < self::YYNSTATE) {
// we need to shift a non-terminal
$this->yyidx++;
$x = new TP_yyStackEntry;
$x->stateno = $nextstate;
$x->major = self::$yyRuleInfo[$yyruleno][0];
$this->yystack[$this->yyidx] = $x;
continue 2;
} elseif ($nextstate === self::YYNSTATE + self::YYNRULE + 1) {
$this->yyidx = $yyidx;
$this->yystack = $stack;
// the last token was just ignored, we can't accept
// by ignoring input, this is in essence ignoring a
// syntax error!
return array_unique($expected);
} elseif ($nextstate === self::YY_NO_ACTION) {
$this->yyidx = $yyidx;
$this->yystack = $stack;
// input accepted, but not shifted (I guess)
return $expected;
} else {
$yyact = $nextstate;
}
} while (true);
}
break;
} while (true);
$this->yyidx = $yyidx;
$this->yystack = $stack;
return array_unique($expected);
}
public function yy_is_expected_token($token)
{
static $res = array();
static $res2 = array();
if ($token === 0) {
return true; // 0 is not part of this
}
$state = $this->yystack[$this->yyidx]->stateno;
if (isset($res[$state][$token])) {
if ($res[$state][$token]) {
return true;
}
} else {
if ($res[$state][$token] = in_array($token, self::$yyExpectedTokens[$state], true)) {
return true;
}
}
$stack = $this->yystack;
$yyidx = $this->yyidx;
do {
$yyact = $this->yy_find_shift_action($token);
if ($yyact >= self::YYNSTATE && $yyact < self::YYNSTATE + self::YYNRULE) {
// reduce action
$done = 0;
do {
if ($done++ === 100) {
$this->yyidx = $yyidx;
$this->yystack = $stack;
// too much recursion prevents proper detection
// so give up
return true;
}
$yyruleno = $yyact - self::YYNSTATE;
$this->yyidx -= self::$yyRuleInfo[$yyruleno][1];
$nextstate = $this->yy_find_reduce_action(
$this->yystack[$this->yyidx]->stateno,
self::$yyRuleInfo[$yyruleno][0]);
if (isset($res2[$nextstate][$token])) {
if ($res2[$nextstate][$token]) {
$this->yyidx = $yyidx;
$this->yystack = $stack;
return true;
}
} else {
if ($res2[$nextstate][$token] = (isset(self::$yyExpectedTokens[$nextstate]) && in_array($token, self::$yyExpectedTokens[$nextstate], true))) {
$this->yyidx = $yyidx;
$this->yystack = $stack;
return true;
}
}
if ($nextstate < self::YYNSTATE) {
// we need to shift a non-terminal
$this->yyidx++;
$x = new TP_yyStackEntry;
$x->stateno = $nextstate;
$x->major = self::$yyRuleInfo[$yyruleno][0];
$this->yystack[$this->yyidx] = $x;
continue 2;
} elseif ($nextstate === self::YYNSTATE + self::YYNRULE + 1) {
$this->yyidx = $yyidx;
$this->yystack = $stack;
if (!$token) {
// end of input: this is valid
return true;
}
// the last token was just ignored, we can't accept
// by ignoring input, this is in essence ignoring a
// syntax error!
return false;
} elseif ($nextstate === self::YY_NO_ACTION) {
$this->yyidx = $yyidx;
$this->yystack = $stack;
// input accepted, but not shifted (I guess)
return true;
} else {
$yyact = $nextstate;
}
} while (true);
}
break;
} while (true);
$this->yyidx = $yyidx;
$this->yystack = $stack;
return true;
}
public function yy_find_shift_action($iLookAhead)
{
$stateno = $this->yystack[$this->yyidx]->stateno;
/* if ($this->yyidx < 0) return self::YY_NO_ACTION; */
if (!isset(self::$yy_shift_ofst[$stateno])) {
// no shift actions
return self::$yy_default[$stateno];
}
$i = self::$yy_shift_ofst[$stateno];
if ($i === self::YY_SHIFT_USE_DFLT) {
return self::$yy_default[$stateno];
}
if ($iLookAhead === self::YYNOCODE) {
return self::YY_NO_ACTION;
}
$i += $iLookAhead;
if ($i < 0 || $i >= self::YY_SZ_ACTTAB ||
self::$yy_lookahead[$i] != $iLookAhead) {
if (count(self::$yyFallback) && $iLookAhead < count(self::$yyFallback)
&& ($iFallback = self::$yyFallback[$iLookAhead]) != 0) {
if ($this->yyTraceFILE) {
fwrite($this->yyTraceFILE, $this->yyTracePrompt . 'FALLBACK ' .
$this->yyTokenName[$iLookAhead] . ' => ' .
$this->yyTokenName[$iFallback] . "\n");
}
return $this->yy_find_shift_action($iFallback);
}
return self::$yy_default[$stateno];
} else {
return self::$yy_action[$i];
}
}
public function yy_find_reduce_action($stateno, $iLookAhead)
{
/* $stateno = $this->yystack[$this->yyidx]->stateno; */
if (!isset(self::$yy_reduce_ofst[$stateno])) {
return self::$yy_default[$stateno];
}
$i = self::$yy_reduce_ofst[$stateno];
if ($i === self::YY_REDUCE_USE_DFLT) {
return self::$yy_default[$stateno];
}
if ($iLookAhead === self::YYNOCODE) {
return self::YY_NO_ACTION;
}
$i += $iLookAhead;
if ($i < 0 || $i >= self::YY_SZ_ACTTAB ||
self::$yy_lookahead[$i] != $iLookAhead) {
return self::$yy_default[$stateno];
} else {
return self::$yy_action[$i];
}
}
public function yy_shift($yyNewState, $yyMajor, $yypMinor)
{
$this->yyidx++;
if ($this->yyidx >= self::YYSTACKDEPTH) {
$this->yyidx--;
if ($this->yyTraceFILE) {
fprintf($this->yyTraceFILE, "%sStack Overflow!\n", $this->yyTracePrompt);
}
while ($this->yyidx >= 0) {
$this->yy_pop_parser_stack();
}
// line 220 "../smarty/lexer/smarty_internal_templateparser.y"
$this->internalError = true;
$this->compiler->trigger_template_error('Stack overflow in template parser');
return;
}
$yytos = new TP_yyStackEntry;
$yytos->stateno = $yyNewState;
$yytos->major = $yyMajor;
$yytos->minor = $yypMinor;
$this->yystack[] = $yytos;
if ($this->yyTraceFILE && $this->yyidx > 0) {
fprintf($this->yyTraceFILE, "%sShift %d\n", $this->yyTracePrompt,
$yyNewState);
fprintf($this->yyTraceFILE, "%sStack:", $this->yyTracePrompt);
for ($i = 1; $i <= $this->yyidx; $i++) {
fprintf($this->yyTraceFILE, " %s",
$this->yyTokenName[$this->yystack[$i]->major]);
}
fwrite($this->yyTraceFILE,"\n");
}
}
public static $yyRuleInfo = array(
array( 0 => 62, 1 => 1 ),
array( 0 => 63, 1 => 2 ),
array( 0 => 63, 1 => 2 ),
array( 0 => 63, 1 => 2 ),
array( 0 => 63, 1 => 4 ),
array( 0 => 64, 1 => 4 ),
array( 0 => 64, 1 => 1 ),
array( 0 => 65, 1 => 2 ),
array( 0 => 65, 1 => 0 ),
array( 0 => 63, 1 => 2 ),
array( 0 => 63, 1 => 0 ),
array( 0 => 66, 1 => 1 ),
array( 0 => 66, 1 => 1 ),
array( 0 => 66, 1 => 1 ),
array( 0 => 66, 1 => 3 ),
array( 0 => 66, 1 => 2 ),
array( 0 => 67, 1 => 1 ),
array( 0 => 67, 1 => 2 ),
array( 0 => 67, 1 => 2 ),
array( 0 => 70, 1 => 2 ),
array( 0 => 69, 1 => 2 ),
array( 0 => 72, 1 => 1 ),
array( 0 => 72, 1 => 1 ),
array( 0 => 72, 1 => 1 ),
array( 0 => 68, 1 => 3 ),
array( 0 => 68, 1 => 2 ),
array( 0 => 68, 1 => 4 ),
array( 0 => 68, 1 => 5 ),
array( 0 => 68, 1 => 6 ),
array( 0 => 68, 1 => 2 ),
array( 0 => 68, 1 => 2 ),
array( 0 => 68, 1 => 3 ),
array( 0 => 68, 1 => 2 ),
array( 0 => 68, 1 => 3 ),
array( 0 => 68, 1 => 8 ),
array( 0 => 80, 1 => 2 ),
array( 0 => 80, 1 => 1 ),
array( 0 => 68, 1 => 5 ),
array( 0 => 68, 1 => 7 ),
array( 0 => 68, 1 => 6 ),
array( 0 => 68, 1 => 8 ),
array( 0 => 68, 1 => 2 ),
array( 0 => 68, 1 => 3 ),
array( 0 => 68, 1 => 4 ),
array( 0 => 66, 1 => 1 ),
array( 0 => 68, 1 => 2 ),
array( 0 => 68, 1 => 3 ),
array( 0 => 68, 1 => 4 ),
array( 0 => 68, 1 => 5 ),
array( 0 => 73, 1 => 2 ),
array( 0 => 73, 1 => 1 ),
array( 0 => 73, 1 => 0 ),
array( 0 => 83, 1 => 4 ),
array( 0 => 83, 1 => 2 ),
array( 0 => 83, 1 => 2 ),
array( 0 => 83, 1 => 2 ),
array( 0 => 83, 1 => 2 ),
array( 0 => 83, 1 => 2 ),
array( 0 => 83, 1 => 4 ),
array( 0 => 79, 1 => 1 ),
array( 0 => 79, 1 => 3 ),
array( 0 => 78, 1 => 3 ),
array( 0 => 78, 1 => 3 ),
array( 0 => 78, 1 => 3 ),
array( 0 => 78, 1 => 3 ),
array( 0 => 76, 1 => 1 ),
array( 0 => 76, 1 => 1 ),
array( 0 => 76, 1 => 3 ),
array( 0 => 76, 1 => 3 ),
array( 0 => 76, 1 => 3 ),
array( 0 => 76, 1 => 3 ),
array( 0 => 76, 1 => 3 ),
array( 0 => 76, 1 => 2 ),
array( 0 => 76, 1 => 3 ),
array( 0 => 76, 1 => 3 ),
array( 0 => 84, 1 => 7 ),
array( 0 => 84, 1 => 7 ),
array( 0 => 75, 1 => 1 ),
array( 0 => 75, 1 => 2 ),
array( 0 => 75, 1 => 2 ),
array( 0 => 75, 1 => 2 ),
array( 0 => 75, 1 => 2 ),
array( 0 => 75, 1 => 1 ),
array( 0 => 75, 1 => 1 ),
array( 0 => 75, 1 => 3 ),
array( 0 => 75, 1 => 2 ),
array( 0 => 75, 1 => 2 ),
array( 0 => 75, 1 => 1 ),
array( 0 => 75, 1 => 1 ),
array( 0 => 75, 1 => 3 ),
array( 0 => 75, 1 => 3 ),
array( 0 => 75, 1 => 3 ),
array( 0 => 75, 1 => 1 ),
array( 0 => 75, 1 => 1 ),
array( 0 => 75, 1 => 3 ),
array( 0 => 75, 1 => 1 ),
array( 0 => 75, 1 => 2 ),
array( 0 => 75, 1 => 1 ),
array( 0 => 75, 1 => 1 ),
array( 0 => 75, 1 => 3 ),
array( 0 => 90, 1 => 1 ),
array( 0 => 90, 1 => 1 ),
array( 0 => 74, 1 => 1 ),
array( 0 => 74, 1 => 1 ),
array( 0 => 74, 1 => 3 ),
array( 0 => 74, 1 => 1 ),
array( 0 => 74, 1 => 3 ),
array( 0 => 74, 1 => 4 ),
array( 0 => 74, 1 => 3 ),
array( 0 => 74, 1 => 4 ),
array( 0 => 71, 1 => 2 ),
array( 0 => 71, 1 => 2 ),
array( 0 => 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 => 81, 1 => 1 ),
array( 0 => 81, 1 => 1 ),
array( 0 => 81, 1 => 2 ),
array( 0 => 97, 1 => 1 ),
array( 0 => 97, 1 => 1 ),
array( 0 => 97, 1 => 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 => 77, 1 => 3 ),
array( 0 => 77, 1 => 2 ),
array( 0 => 102, 1 => 3 ),
array( 0 => 102, 1 => 2 ),
array( 0 => 82, 1 => 2 ),
array( 0 => 82, 1 => 0 ),
array( 0 => 103, 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 => 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 => 1 ),
);
public static $yyReduceMap = array(
0 => 0,
1 => 1,
2 => 2,
3 => 3,
4 => 4,
5 => 5,
6 => 6,
21 => 6,
22 => 6,
23 => 6,
36 => 6,
56 => 6,
57 => 6,
65 => 6,
66 => 6,
77 => 6,
82 => 6,
83 => 6,
88 => 6,
92 => 6,
93 => 6,
97 => 6,
98 => 6,
100 => 6,
105 => 6,
169 => 6,
174 => 6,
7 => 7,
8 => 8,
9 => 9,
11 => 11,
12 => 12,
13 => 13,
14 => 14,
15 => 15,
16 => 16,
17 => 17,
18 => 18,
19 => 19,
20 => 20,
24 => 24,
25 => 25,
26 => 26,
27 => 27,
28 => 28,
29 => 29,
30 => 30,
31 => 31,
33 => 31,
32 => 32,
34 => 34,
35 => 35,
37 => 37,
38 => 38,
39 => 39,
40 => 40,
41 => 41,
42 => 42,
43 => 43,
44 => 44,
45 => 45,
46 => 46,
47 => 47,
48 => 48,
49 => 49,
50 => 50,
59 => 50,
147 => 50,
151 => 50,
155 => 50,
157 => 50,
51 => 51,
148 => 51,
154 => 51,
52 => 52,
53 => 53,
54 => 53,
55 => 55,
132 => 55,
58 => 58,
60 => 60,
61 => 61,
62 => 61,
63 => 63,
64 => 64,
67 => 67,
68 => 68,
69 => 68,
70 => 70,
71 => 71,
72 => 72,
73 => 73,
74 => 74,
75 => 75,
76 => 76,
78 => 78,
80 => 78,
81 => 78,
112 => 78,
79 => 79,
84 => 84,
85 => 85,
86 => 86,
87 => 87,
89 => 89,
90 => 90,
91 => 90,
94 => 94,
95 => 95,
96 => 96,
99 => 99,
101 => 101,
102 => 102,
103 => 103,
104 => 104,
106 => 106,
107 => 107,
108 => 108,
109 => 109,
110 => 110,
111 => 111,
113 => 113,
171 => 113,
114 => 114,
115 => 115,
116 => 116,
117 => 117,
118 => 118,
119 => 119,
127 => 119,
120 => 120,
121 => 121,
122 => 122,
123 => 122,
125 => 122,
126 => 122,
124 => 124,
128 => 128,
129 => 129,
130 => 130,
175 => 130,
131 => 131,
133 => 133,
134 => 134,
135 => 135,
136 => 136,
137 => 137,
138 => 138,
139 => 139,
140 => 140,
141 => 141,
142 => 142,
143 => 143,
144 => 144,
145 => 145,
146 => 146,
149 => 149,
150 => 150,
152 => 152,
153 => 153,
156 => 156,
158 => 158,
159 => 159,
160 => 160,
161 => 161,
162 => 162,
163 => 163,
164 => 164,
165 => 165,
166 => 166,
167 => 167,
168 => 167,
170 => 170,
172 => 172,
173 => 173,
176 => 176,
177 => 177,
178 => 178,
179 => 179,
182 => 179,
180 => 180,
183 => 180,
181 => 181,
184 => 184,
185 => 185,
);
// line 233 "../smarty/lexer/smarty_internal_templateparser.y"
public function yy_r0(){
$this->root_buffer->prepend_array($this, $this->template_prefix);
$this->root_buffer->append_array($this, $this->template_postfix);
$this->_retvalue = $this->root_buffer->to_smarty_php($this);
}
// line 240 "../smarty/lexer/smarty_internal_templateparser.y"
public function yy_r1(){
$text = $this->yystack[ $this->yyidx + 0 ]->minor;
if ((string)$text == '') {
$this->current_buffer->append_subtree($this, null);
}
$this->current_buffer->append_subtree($this, new Smarty_Internal_ParseTree_Text($text, $this->strip));
}
// line 250 "../smarty/lexer/smarty_internal_templateparser.y"
public function yy_r2(){
$this->strip = true;
}
// line 254 "../smarty/lexer/smarty_internal_templateparser.y"
public function yy_r3(){
$this->strip = false;
}
// line 259 "../smarty/lexer/smarty_internal_templateparser.y"
public function yy_r4(){
$this->current_buffer->append_subtree($this, new Smarty_Internal_ParseTree_Text($this->yystack[$this->yyidx + -1]->minor));
}
// line 264 "../smarty/lexer/smarty_internal_templateparser.y"
public function yy_r5(){
$this->_retvalue = $this->yystack[$this->yyidx + -3]->minor.$this->yystack[$this->yyidx + -1]->minor;
}
// line 267 "../smarty/lexer/smarty_internal_templateparser.y"
public function yy_r6(){
$this->_retvalue = $this->yystack[$this->yyidx + 0]->minor;
}
// line 271 "../smarty/lexer/smarty_internal_templateparser.y"
public function yy_r7(){
$this->_retvalue = $this->yystack[$this->yyidx + -1]->minor.$this->yystack[$this->yyidx + 0]->minor;
}
// line 276 "../smarty/lexer/smarty_internal_templateparser.y"
public function yy_r8(){
$this->_retvalue = '';
}
// line 280 "../smarty/lexer/smarty_internal_templateparser.y"
public function yy_r9(){
if ($this->compiler->has_code) {
$this->current_buffer->append_subtree($this, $this->mergePrefixCode($this->yystack[$this->yyidx + 0]->minor));
}
$this->compiler->has_variable_string = false;
$this->block_nesting_level = count($this->compiler->_tag_stack);
}
// line 292 "../smarty/lexer/smarty_internal_templateparser.y"
public function yy_r11(){
$var = trim(substr($this->yystack[$this->yyidx + 0]->minor, $this->compiler->getLdelLength(), -$this->compiler->getRdelLength()), ' $');
if (preg_match('/^(.*)(\s+nocache)$/', $var, $match)) {
$this->_retvalue = $this->compiler->compileTag('private_print_expression',array('nocache'),array('value'=>$this->compiler->compileVariable('\''.$match[1].'\'')));
} else {
$this->_retvalue = $this->compiler->compileTag('private_print_expression',array(),array('value'=>$this->compiler->compileVariable('\''.$var.'\'')));
}
}
// line 302 "../smarty/lexer/smarty_internal_templateparser.y"
public function yy_r12(){
$tag = trim(substr($this->yystack[$this->yyidx + 0]->minor, $this->compiler->getLdelLength(), -$this->compiler->getRdelLength()));
if ($tag == 'strip') {
$this->strip = true;
$this->_retvalue = null;
} else {
if (defined($tag)) {
if ($this->security) {
$this->security->isTrustedConstant($tag, $this->compiler);
}
$this->_retvalue = $this->compiler->compileTag('private_print_expression',array(),array('value'=>$tag));
} else {
if (preg_match('/^(.*)(\s+nocache)$/', $tag, $match)) {
$this->_retvalue = $this->compiler->compileTag($match[1],array('\'nocache\''));
} else {
$this->_retvalue = $this->compiler->compileTag($tag,array());
}
}
}
}
// line 323 "../smarty/lexer/smarty_internal_templateparser.y"
public function yy_r13(){
$j = strrpos($this->yystack[$this->yyidx + 0]->minor,'.');
if ($this->yystack[$this->yyidx + 0]->minor[$j+1] == 'c') {
// {$smarty.block.child}
$this->_retvalue = $this->compiler->compileTag('child',array(),array($this->yystack[$this->yyidx + 0]->minor));
} else {
// {$smarty.block.parent}
$this->_retvalue = $this->compiler->compileTag('parent',array(),array($this->yystack[$this->yyidx + 0]->minor));
}
}
// line 334 "../smarty/lexer/smarty_internal_templateparser.y"
public function yy_r14(){
$this->_retvalue = $this->yystack[$this->yyidx + -1]->minor;
}
// line 338 "../smarty/lexer/smarty_internal_templateparser.y"
public function yy_r15(){
$this->_retvalue = $this->yystack[$this->yyidx + -1]->minor;
}
// line 342 "../smarty/lexer/smarty_internal_templateparser.y"
public function yy_r16(){
$this->_retvalue = $this->compiler->compileTag('private_print_expression',$this->yystack[$this->yyidx + 0]->minor[1],array('value'=>$this->yystack[$this->yyidx + 0]->minor[0]));
}
// line 351 "../smarty/lexer/smarty_internal_templateparser.y"
public function yy_r17(){
$this->_retvalue = $this->compiler->compileTag('assign',array_merge(array(array('value'=>$this->yystack[$this->yyidx + 0]->minor[0]),array('var'=>'\''.substr($this->yystack[$this->yyidx + -1]->minor,1).'\'')),$this->yystack[$this->yyidx + 0]->minor[1]));
}
// line 355 "../smarty/lexer/smarty_internal_templateparser.y"
public function yy_r18(){
$this->_retvalue = $this->compiler->compileTag('assign',array_merge(array(array('value'=>$this->yystack[$this->yyidx + 0]->minor[0]),array('var'=>$this->yystack[$this->yyidx + -1]->minor['var'])),$this->yystack[$this->yyidx + 0]->minor[1]),array('smarty_internal_index'=>$this->yystack[$this->yyidx + -1]->minor['smarty_internal_index']));
}
// line 359 "../smarty/lexer/smarty_internal_templateparser.y"
public function yy_r19(){
$this->_retvalue = $this->yystack[$this->yyidx + 0]->minor;
}
// line 363 "../smarty/lexer/smarty_internal_templateparser.y"
public function yy_r20(){
$this->_retvalue = array($this->yystack[$this->yyidx + -1]->minor,$this->yystack[$this->yyidx + 0]->minor);
}
// line 378 "../smarty/lexer/smarty_internal_templateparser.y"
public function yy_r24(){
if (defined($this->yystack[$this->yyidx + -1]->minor)) {
if ($this->security) {
$this->security->isTrustedConstant($this->yystack[$this->yyidx + -1]->minor, $this->compiler);
}
$this->_retvalue = $this->compiler->compileTag('private_print_expression',$this->yystack[$this->yyidx + 0]->minor,array('value'=>$this->yystack[$this->yyidx + -1]->minor));
} else {
$this->_retvalue = $this->compiler->compileTag($this->yystack[$this->yyidx + -1]->minor,$this->yystack[$this->yyidx + 0]->minor);
}
}
// line 388 "../smarty/lexer/smarty_internal_templateparser.y"
public function yy_r25(){
if (defined($this->yystack[$this->yyidx + 0]->minor)) {
if ($this->security) {
$this->security->isTrustedConstant($this->yystack[$this->yyidx + 0]->minor, $this->compiler);
}
$this->_retvalue = $this->compiler->compileTag('private_print_expression',array(),array('value'=>$this->yystack[$this->yyidx + 0]->minor));
} else {
$this->_retvalue = $this->compiler->compileTag($this->yystack[$this->yyidx + 0]->minor,array());
}
}
// line 401 "../smarty/lexer/smarty_internal_templateparser.y"
public function yy_r26(){
if (defined($this->yystack[$this->yyidx + -2]->minor)) {
if ($this->security) {
$this->security->isTrustedConstant($this->yystack[$this->yyidx + -2]->minor, $this->compiler);
}
$this->_retvalue = $this->compiler->compileTag('private_print_expression',$this->yystack[$this->yyidx + 0]->minor,array('value'=>$this->yystack[$this->yyidx + -2]->minor, 'modifierlist'=>$this->yystack[$this->yyidx + -1]->minor));
} else {
$this->_retvalue = $this->compiler->compileTag($this->yystack[$this->yyidx + -2]->minor,$this->yystack[$this->yyidx + 0]->minor, array('modifierlist'=>$this->yystack[$this->yyidx + -1]->minor));
}
}
// line 413 "../smarty/lexer/smarty_internal_templateparser.y"
public function yy_r27(){
$this->_retvalue = $this->compiler->compileTag($this->yystack[$this->yyidx + -3]->minor,$this->yystack[$this->yyidx + 0]->minor,array('object_method'=>$this->yystack[$this->yyidx + -1]->minor));
}
// line 418 "../smarty/lexer/smarty_internal_templateparser.y"
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 423 "../smarty/lexer/smarty_internal_templateparser.y"
public function yy_r29(){
$this->_retvalue = $this->compiler->compileTag('make_nocache',array(array('var'=>'\''.substr($this->yystack[$this->yyidx + 0]->minor,1).'\'')));
}
// line 428 "../smarty/lexer/smarty_internal_templateparser.y"
public function yy_r30(){
$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 433 "../smarty/lexer/smarty_internal_templateparser.y"
public function yy_r31(){
$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 438 "../smarty/lexer/smarty_internal_templateparser.y"
public function yy_r32(){
$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 449 "../smarty/lexer/smarty_internal_templateparser.y"
public function yy_r34(){
$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 453 "../smarty/lexer/smarty_internal_templateparser.y"
public function yy_r35(){
$this->_retvalue = '='.$this->yystack[$this->yyidx + 0]->minor;
}
// line 461 "../smarty/lexer/smarty_internal_templateparser.y"
public function yy_r37(){
$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 465 "../smarty/lexer/smarty_internal_templateparser.y"
public function yy_r38(){
$this->_retvalue = $this->compiler->compileTag('for',array_merge($this->yystack[$this->yyidx + 0]->minor,array(array('start'=>$this->yystack[$this->yyidx + -5]->minor),array('to'=>$this->yystack[$this->yyidx + -3]->minor),array('step'=>$this->yystack[$this->yyidx + -1]->minor))),0);
}
// line 470 "../smarty/lexer/smarty_internal_templateparser.y"
public function yy_r39(){
$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 474 "../smarty/lexer/smarty_internal_templateparser.y"
public function yy_r40(){
$this->_retvalue = $this->compiler->compileTag('foreach',array_merge($this->yystack[$this->yyidx + 0]->minor,array(array('from'=>$this->yystack[$this->yyidx + -5]->minor),array('item'=>$this->yystack[$this->yyidx + -1]->minor),array('key'=>$this->yystack[$this->yyidx + -3]->minor))));
}
// line 477 "../smarty/lexer/smarty_internal_templateparser.y"
public function yy_r41(){
$this->_retvalue = $this->compiler->compileTag('foreach',$this->yystack[$this->yyidx + 0]->minor);
}
// line 482 "../smarty/lexer/smarty_internal_templateparser.y"
public function yy_r42(){
$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 486 "../smarty/lexer/smarty_internal_templateparser.y"
public function yy_r43(){
$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 492 "../smarty/lexer/smarty_internal_templateparser.y"
public function yy_r44(){
$tag = trim(substr($this->yystack[$this->yyidx + 0]->minor, $this->compiler->getLdelLength(), -$this->compiler->getRdelLength()), ' /');
if ($tag === 'strip') {
$this->strip = false;
$this->_retvalue = null;
} else {
$this->_retvalue = $this->compiler->compileTag($tag.'close',array());
}
}
// line 501 "../smarty/lexer/smarty_internal_templateparser.y"
public function yy_r45(){
$this->_retvalue = $this->compiler->compileTag($this->yystack[$this->yyidx + 0]->minor.'close',array());
}
// line 505 "../smarty/lexer/smarty_internal_templateparser.y"
public function yy_r46(){
$this->_retvalue = $this->compiler->compileTag($this->yystack[$this->yyidx + -1]->minor.'close',array(),array('modifier_list'=>$this->yystack[$this->yyidx + 0]->minor));
}
// line 510 "../smarty/lexer/smarty_internal_templateparser.y"
public function yy_r47(){
$this->_retvalue = $this->compiler->compileTag($this->yystack[$this->yyidx + -2]->minor.'close',array(),array('object_method'=>$this->yystack[$this->yyidx + 0]->minor));
}
// line 514 "../smarty/lexer/smarty_internal_templateparser.y"
public function yy_r48(){
$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 522 "../smarty/lexer/smarty_internal_templateparser.y"
public function yy_r49(){
$this->_retvalue = $this->yystack[$this->yyidx + -1]->minor;
$this->_retvalue[] = $this->yystack[$this->yyidx + 0]->minor;
}
// line 528 "../smarty/lexer/smarty_internal_templateparser.y"
public function yy_r50(){
$this->_retvalue = array($this->yystack[$this->yyidx + 0]->minor);
}
// line 533 "../smarty/lexer/smarty_internal_templateparser.y"
public function yy_r51(){
$this->_retvalue = array();
}
// line 538 "../smarty/lexer/smarty_internal_templateparser.y"
public function yy_r52(){
if (defined($this->yystack[$this->yyidx + 0]->minor)) {
if ($this->security) {
$this->security->isTrustedConstant($this->yystack[$this->yyidx + 0]->minor, $this->compiler);
}
$this->_retvalue = array($this->yystack[$this->yyidx + -2]->minor=>$this->yystack[$this->yyidx + 0]->minor);
} else {
$this->_retvalue = array($this->yystack[$this->yyidx + -2]->minor=>'\''.$this->yystack[$this->yyidx + 0]->minor.'\'');
}
}
// line 549 "../smarty/lexer/smarty_internal_templateparser.y"
public function yy_r53(){
$this->_retvalue = array(trim($this->yystack[$this->yyidx + -1]->minor," =\n\r\t")=>$this->yystack[$this->yyidx + 0]->minor);
}
// line 557 "../smarty/lexer/smarty_internal_templateparser.y"
public function yy_r55(){
$this->_retvalue = '\''.$this->yystack[$this->yyidx + 0]->minor.'\'';
}
// line 569 "../smarty/lexer/smarty_internal_templateparser.y"
public function yy_r58(){
$this->_retvalue = array($this->yystack[$this->yyidx + -2]->minor=>$this->yystack[$this->yyidx + 0]->minor);
}
// line 582 "../smarty/lexer/smarty_internal_templateparser.y"
public function yy_r60(){
$this->yystack[$this->yyidx + -2]->minor[]=$this->yystack[$this->yyidx + 0]->minor;
$this->_retvalue = $this->yystack[$this->yyidx + -2]->minor;
}
// line 587 "../smarty/lexer/smarty_internal_templateparser.y"
public function yy_r61(){
$this->_retvalue = array('var' => '\''.substr($this->yystack[$this->yyidx + -2]->minor,1).'\'', 'value'=>$this->yystack[$this->yyidx + 0]->minor);
}
// line 594 "../smarty/lexer/smarty_internal_templateparser.y"
public function yy_r63(){
$this->_retvalue = array('var' => $this->yystack[$this->yyidx + -2]->minor, 'value'=>$this->yystack[$this->yyidx + 0]->minor);
}
// line 598 "../smarty/lexer/smarty_internal_templateparser.y"
public function yy_r64(){
$this->_retvalue = $this->yystack[$this->yyidx + -1]->minor;
}
// line 618 "../smarty/lexer/smarty_internal_templateparser.y"
public function yy_r67(){
$this->_retvalue = '$_smarty_tpl->getStreamVariable(\''.substr($this->yystack[$this->yyidx + -2]->minor,1).'://' . $this->yystack[$this->yyidx + 0]->minor . '\')';
}
// line 623 "../smarty/lexer/smarty_internal_templateparser.y"
public function yy_r68(){
$this->_retvalue = $this->yystack[$this->yyidx + -2]->minor . trim($this->yystack[$this->yyidx + -1]->minor) . $this->yystack[$this->yyidx + 0]->minor;
}
// line 633 "../smarty/lexer/smarty_internal_templateparser.y"
public function yy_r70(){
$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 637 "../smarty/lexer/smarty_internal_templateparser.y"
public function yy_r71(){
$this->_retvalue = $this->yystack[$this->yyidx + -2]->minor.$this->yystack[$this->yyidx + -1]->minor.$this->yystack[$this->yyidx + 0]->minor;
}
// line 641 "../smarty/lexer/smarty_internal_templateparser.y"
public function yy_r72(){
$this->_retvalue = $this->yystack[$this->yyidx + 0]->minor . $this->yystack[$this->yyidx + -1]->minor . ')';
}
// line 645 "../smarty/lexer/smarty_internal_templateparser.y"
public function yy_r73(){
$this->_retvalue = 'in_array('.$this->yystack[$this->yyidx + -2]->minor.','.$this->yystack[$this->yyidx + 0]->minor.')';
}
// line 649 "../smarty/lexer/smarty_internal_templateparser.y"
public function yy_r74(){
$this->_retvalue = 'in_array('.$this->yystack[$this->yyidx + -2]->minor.',(array)'.$this->yystack[$this->yyidx + 0]->minor.')';
}
// line 657 "../smarty/lexer/smarty_internal_templateparser.y"
public function yy_r75(){
$this->_retvalue = $this->yystack[$this->yyidx + -5]->minor.' ? '. $this->compiler->compileVariable('\''.substr($this->yystack[$this->yyidx + -2]->minor,1).'\'') . ' : '.$this->yystack[$this->yyidx + 0]->minor;
}
// line 661 "../smarty/lexer/smarty_internal_templateparser.y"
public function yy_r76(){
$this->_retvalue = $this->yystack[$this->yyidx + -5]->minor.' ? '.$this->yystack[$this->yyidx + -2]->minor.' : '.$this->yystack[$this->yyidx + 0]->minor;
}
// line 671 "../smarty/lexer/smarty_internal_templateparser.y"
public function yy_r78(){
$this->_retvalue = $this->yystack[$this->yyidx + -1]->minor.$this->yystack[$this->yyidx + 0]->minor;
}
// line 676 "../smarty/lexer/smarty_internal_templateparser.y"
public function yy_r79(){
$this->_retvalue = '!'.$this->yystack[$this->yyidx + 0]->minor;
}
// line 697 "../smarty/lexer/smarty_internal_templateparser.y"
public function yy_r84(){
$this->_retvalue = $this->yystack[$this->yyidx + -2]->minor.'.'.$this->yystack[$this->yyidx + 0]->minor;
}
// line 701 "../smarty/lexer/smarty_internal_templateparser.y"
public function yy_r85(){
$this->_retvalue = $this->yystack[$this->yyidx + -1]->minor.'.';
}
// line 705 "../smarty/lexer/smarty_internal_templateparser.y"
public function yy_r86(){
$this->_retvalue = '.'.$this->yystack[$this->yyidx + 0]->minor;
}
// line 710 "../smarty/lexer/smarty_internal_templateparser.y"
public function yy_r87(){
if (defined($this->yystack[$this->yyidx + 0]->minor)) {
if ($this->security) {
$this->security->isTrustedConstant($this->yystack[$this->yyidx + 0]->minor, $this->compiler);
}
$this->_retvalue = $this->yystack[$this->yyidx + 0]->minor;
} else {
$this->_retvalue = '\''.$this->yystack[$this->yyidx + 0]->minor.'\'';
}
}
// line 727 "../smarty/lexer/smarty_internal_templateparser.y"
public function yy_r89(){
$this->_retvalue = '('. $this->yystack[$this->yyidx + -1]->minor .')';
}
// line 731 "../smarty/lexer/smarty_internal_templateparser.y"
public function yy_r90(){
$this->_retvalue = $this->yystack[$this->yyidx + -2]->minor.$this->yystack[$this->yyidx + -1]->minor.$this->yystack[$this->yyidx + 0]->minor;
}
// line 749 "../smarty/lexer/smarty_internal_templateparser.y"
public function yy_r94(){
if ($this->security && $this->security->static_classes !== array()) {
$this->compiler->trigger_template_error('dynamic static class not allowed by security setting');
}
$prefixVar = $this->compiler->getNewPrefixVariable();
if ($this->yystack[$this->yyidx + -2]->minor['var'] === '\'smarty\'') {
$this->compiler->appendPrefixCode("<?php {$prefixVar} = ". $this->compiler->compileTag('private_special_variable',array(),$this->yystack[$this->yyidx + -2]->minor['smarty_internal_index']).';?>');
} else {
$this->compiler->appendPrefixCode("<?php {$prefixVar} = ". $this->compiler->compileVariable($this->yystack[$this->yyidx + -2]->minor['var']).$this->yystack[$this->yyidx + -2]->minor['smarty_internal_index'].';?>');
}
$this->_retvalue = $prefixVar .'::'.$this->yystack[$this->yyidx + 0]->minor[0].$this->yystack[$this->yyidx + 0]->minor[1];
}
// line 760 "../smarty/lexer/smarty_internal_templateparser.y"
public function yy_r95(){
$prefixVar = $this->compiler->getNewPrefixVariable();
$tmp = $this->compiler->appendCode('<?php ob_start();?>', $this->yystack[$this->yyidx + 0]->minor);
$this->compiler->appendPrefixCode($this->compiler->appendCode($tmp, "<?php {$prefixVar} = ob_get_clean();?>"));
$this->_retvalue = $prefixVar;
}
// line 767 "../smarty/lexer/smarty_internal_templateparser.y"
public function yy_r96(){
$this->_retvalue = $this->compiler->compileTag('private_modifier',array(),array('value'=>$this->yystack[$this->yyidx + -1]->minor,'modifierlist'=>$this->yystack[$this->yyidx + 0]->minor));
}
// line 780 "../smarty/lexer/smarty_internal_templateparser.y"
public function yy_r99(){
if (!in_array(strtolower($this->yystack[$this->yyidx + -2]->minor), array('self', 'parent')) && (!$this->security || $this->security->isTrustedStaticClassAccess($this->yystack[$this->yyidx + -2]->minor, $this->yystack[$this->yyidx + 0]->minor, $this->compiler))) {
if (isset($this->smarty->registered_classes[$this->yystack[$this->yyidx + -2]->minor])) {
$this->_retvalue = $this->smarty->registered_classes[$this->yystack[$this->yyidx + -2]->minor].'::'.$this->yystack[$this->yyidx + 0]->minor[0].$this->yystack[$this->yyidx + 0]->minor[1];
} else {
trigger_error('Using unregistered static method "' . $this->yystack[$this->yyidx + -2]->minor.'::'.$this->yystack[$this->yyidx + 0]->minor[0] . '" in a template is deprecated and will be ' .
'removed in a future release. Use Smarty::registerClass to explicitly register ' .
'a class for access.', E_USER_DEPRECATED);
$this->_retvalue = $this->yystack[$this->yyidx + -2]->minor.'::'.$this->yystack[$this->yyidx + 0]->minor[0].$this->yystack[$this->yyidx + 0]->minor[1];
}
} else {
$this->compiler->trigger_template_error ('static class \''.$this->yystack[$this->yyidx + -2]->minor.'\' is undefined or not allowed by security setting');
}
}
// line 799 "../smarty/lexer/smarty_internal_templateparser.y"
public function yy_r101(){
$this->_retvalue = $this->yystack[$this->yyidx + 0]->minor;
}
// line 810 "../smarty/lexer/smarty_internal_templateparser.y"
public function yy_r102(){
$this->_retvalue = $this->compiler->compileVariable('\''.substr($this->yystack[$this->yyidx + 0]->minor,1).'\'');
}
// line 813 "../smarty/lexer/smarty_internal_templateparser.y"
public function yy_r103(){
if ($this->yystack[$this->yyidx + 0]->minor['var'] === '\'smarty\'') {
$smarty_var = $this->compiler->compileTag('private_special_variable',array(),$this->yystack[$this->yyidx + 0]->minor['smarty_internal_index']);
$this->_retvalue = $smarty_var;
} else {
// used for array reset,next,prev,end,current
$this->last_variable = $this->yystack[$this->yyidx + 0]->minor['var'];
$this->last_index = $this->yystack[$this->yyidx + 0]->minor['smarty_internal_index'];
$this->_retvalue = $this->compiler->compileVariable($this->yystack[$this->yyidx + 0]->minor['var']).$this->yystack[$this->yyidx + 0]->minor['smarty_internal_index'];
}
}
// line 826 "../smarty/lexer/smarty_internal_templateparser.y"
public function yy_r104(){
$this->_retvalue = '$_smarty_tpl->tpl_vars['. $this->yystack[$this->yyidx + -2]->minor .']->'.$this->yystack[$this->yyidx + 0]->minor;
}
// line 836 "../smarty/lexer/smarty_internal_templateparser.y"
public function yy_r106(){
$this->_retvalue = $this->compiler->compileConfigVariable('\'' . $this->yystack[$this->yyidx + -1]->minor . '\'');
}
// line 840 "../smarty/lexer/smarty_internal_templateparser.y"
public function yy_r107(){
$this->_retvalue = '(is_array($tmp = ' . $this->compiler->compileConfigVariable('\'' . $this->yystack[$this->yyidx + -2]->minor . '\'') . ') ? $tmp'.$this->yystack[$this->yyidx + 0]->minor.' :null)';
}
// line 844 "../smarty/lexer/smarty_internal_templateparser.y"
public function yy_r108(){
$this->_retvalue = $this->compiler->compileConfigVariable($this->yystack[$this->yyidx + -1]->minor);
}
// line 848 "../smarty/lexer/smarty_internal_templateparser.y"
public function yy_r109(){
$this->_retvalue = '(is_array($tmp = ' . $this->compiler->compileConfigVariable($this->yystack[$this->yyidx + -2]->minor) . ') ? $tmp'.$this->yystack[$this->yyidx + 0]->minor.' : null)';
}
// line 852 "../smarty/lexer/smarty_internal_templateparser.y"
public function yy_r110(){
$this->_retvalue = array('var'=>'\''.substr($this->yystack[$this->yyidx + -1]->minor,1).'\'', 'smarty_internal_index'=>$this->yystack[$this->yyidx + 0]->minor);
}
// line 855 "../smarty/lexer/smarty_internal_templateparser.y"
public function yy_r111(){
$this->_retvalue = array('var'=>$this->yystack[$this->yyidx + -1]->minor, 'smarty_internal_index'=>$this->yystack[$this->yyidx + 0]->minor);
}
// line 868 "../smarty/lexer/smarty_internal_templateparser.y"
public function yy_r113(){
return;
}
// line 874 "../smarty/lexer/smarty_internal_templateparser.y"
public function yy_r114(){
$this->_retvalue = '['.$this->compiler->compileVariable('\''.substr($this->yystack[$this->yyidx + 0]->minor,1).'\'').']';
}
// line 877 "../smarty/lexer/smarty_internal_templateparser.y"
public function yy_r115(){
$this->_retvalue = '['.$this->compiler->compileVariable($this->yystack[$this->yyidx + 0]->minor).']';
}
// line 881 "../smarty/lexer/smarty_internal_templateparser.y"
public function yy_r116(){
$this->_retvalue = '['.$this->compiler->compileVariable($this->yystack[$this->yyidx + -2]->minor).'->'.$this->yystack[$this->yyidx + 0]->minor.']';
}
// line 885 "../smarty/lexer/smarty_internal_templateparser.y"
public function yy_r117(){
$this->_retvalue = '[\''. $this->yystack[$this->yyidx + 0]->minor .'\']';
}
// line 889 "../smarty/lexer/smarty_internal_templateparser.y"
public function yy_r118(){
$this->_retvalue = '['. $this->yystack[$this->yyidx + 0]->minor .']';
}
// line 894 "../smarty/lexer/smarty_internal_templateparser.y"
public function yy_r119(){
$this->_retvalue = '['. $this->yystack[$this->yyidx + -1]->minor .']';
}
// line 899 "../smarty/lexer/smarty_internal_templateparser.y"
public function yy_r120(){
$this->_retvalue = '['.$this->compiler->compileTag('private_special_variable',array(),'[\'section\'][\''.$this->yystack[$this->yyidx + -1]->minor.'\'][\'index\']').']';
}
// line 903 "../smarty/lexer/smarty_internal_templateparser.y"
public function yy_r121(){
$this->_retvalue = '['.$this->compiler->compileTag('private_special_variable',array(),'[\'section\'][\''.$this->yystack[$this->yyidx + -3]->minor.'\'][\''.$this->yystack[$this->yyidx + -1]->minor.'\']').']';
}
// line 906 "../smarty/lexer/smarty_internal_templateparser.y"
public function yy_r122(){
$this->_retvalue = '['.$this->yystack[$this->yyidx + -1]->minor.']';
}
// line 912 "../smarty/lexer/smarty_internal_templateparser.y"
public function yy_r124(){
$this->_retvalue = '['.$this->compiler->compileVariable('\''.substr($this->yystack[$this->yyidx + -1]->minor,1).'\'').']';
}
// line 928 "../smarty/lexer/smarty_internal_templateparser.y"
public function yy_r128(){
$this->_retvalue = '[]';
}
// line 938 "../smarty/lexer/smarty_internal_templateparser.y"
public function yy_r129(){
$this->_retvalue = '\''.substr($this->yystack[$this->yyidx + 0]->minor,1).'\'';
}
// line 942 "../smarty/lexer/smarty_internal_templateparser.y"
public function yy_r130(){
$this->_retvalue = '\'\'';
}
// line 947 "../smarty/lexer/smarty_internal_templateparser.y"
public function yy_r131(){
$this->_retvalue = $this->yystack[$this->yyidx + -1]->minor.'.'.$this->yystack[$this->yyidx + 0]->minor;
}
// line 955 "../smarty/lexer/smarty_internal_templateparser.y"
public function yy_r133(){
$var = trim(substr($this->yystack[$this->yyidx + 0]->minor, $this->compiler->getLdelLength(), -$this->compiler->getRdelLength()), ' $');
$this->_retvalue = $this->compiler->compileVariable('\''.$var.'\'');
}
// line 961 "../smarty/lexer/smarty_internal_templateparser.y"
public function yy_r134(){
$this->_retvalue = '('.$this->yystack[$this->yyidx + -1]->minor.')';
}
// line 968 "../smarty/lexer/smarty_internal_templateparser.y"
public function yy_r135(){
if ($this->yystack[$this->yyidx + -1]->minor['var'] === '\'smarty\'') {
$this->_retvalue = $this->compiler->compileTag('private_special_variable',array(),$this->yystack[$this->yyidx + -1]->minor['smarty_internal_index']).$this->yystack[$this->yyidx + 0]->minor;
} else {
$this->_retvalue = $this->compiler->compileVariable($this->yystack[$this->yyidx + -1]->minor['var']).$this->yystack[$this->yyidx + -1]->minor['smarty_internal_index'].$this->yystack[$this->yyidx + 0]->minor;
}
}
// line 977 "../smarty/lexer/smarty_internal_templateparser.y"
public function yy_r136(){
$this->_retvalue = $this->yystack[$this->yyidx + 0]->minor;
}
// line 982 "../smarty/lexer/smarty_internal_templateparser.y"
public function yy_r137(){
$this->_retvalue = $this->yystack[$this->yyidx + -1]->minor.$this->yystack[$this->yyidx + 0]->minor;
}
// line 987 "../smarty/lexer/smarty_internal_templateparser.y"
public function yy_r138(){
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 994 "../smarty/lexer/smarty_internal_templateparser.y"
public function yy_r139(){
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 1001 "../smarty/lexer/smarty_internal_templateparser.y"
public function yy_r140(){
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 1008 "../smarty/lexer/smarty_internal_templateparser.y"
public function yy_r141(){
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 1016 "../smarty/lexer/smarty_internal_templateparser.y"
public function yy_r142(){
$this->_retvalue = '->'.$this->yystack[$this->yyidx + 0]->minor;
}
// line 1024 "../smarty/lexer/smarty_internal_templateparser.y"
public function yy_r143(){
$this->_retvalue = $this->compiler->compilePHPFunctionCall($this->yystack[$this->yyidx + -3]->minor, $this->yystack[$this->yyidx + -1]->minor);
}
// line 1032 "../smarty/lexer/smarty_internal_templateparser.y"
public function yy_r144(){
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 1039 "../smarty/lexer/smarty_internal_templateparser.y"
public function yy_r145(){
if ($this->security) {
$this->compiler->trigger_template_error (self::ERR2);
}
$prefixVar = $this->compiler->getNewPrefixVariable();
$this->compiler->appendPrefixCode("<?php {$prefixVar} = ".$this->compiler->compileVariable('\''.substr($this->yystack[$this->yyidx + -3]->minor,1).'\'').';?>');
$this->_retvalue = $prefixVar .'('. implode(',',$this->yystack[$this->yyidx + -1]->minor) .')';
}
// line 1050 "../smarty/lexer/smarty_internal_templateparser.y"
public function yy_r146(){
$this->_retvalue = array_merge($this->yystack[$this->yyidx + -2]->minor,array($this->yystack[$this->yyidx + 0]->minor));
}
// line 1067 "../smarty/lexer/smarty_internal_templateparser.y"
public function yy_r149(){
$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 1071 "../smarty/lexer/smarty_internal_templateparser.y"
public function yy_r150(){
$this->_retvalue = array(array_merge($this->yystack[$this->yyidx + -1]->minor,$this->yystack[$this->yyidx + 0]->minor));
}
// line 1079 "../smarty/lexer/smarty_internal_templateparser.y"
public function yy_r152(){
$this->_retvalue = array($this->yystack[$this->yyidx + 0]->minor);
}
// line 1087 "../smarty/lexer/smarty_internal_templateparser.y"
public function yy_r153(){
$this->_retvalue = array_merge($this->yystack[$this->yyidx + -1]->minor,$this->yystack[$this->yyidx + 0]->minor);
}
// line 1100 "../smarty/lexer/smarty_internal_templateparser.y"
public function yy_r156(){
$this->_retvalue = array(trim($this->yystack[$this->yyidx + -1]->minor).$this->yystack[$this->yyidx + 0]->minor);
}
// line 1109 "../smarty/lexer/smarty_internal_templateparser.y"
public function yy_r158(){
$this->_retvalue = array($this->yystack[$this->yyidx + 0]->minor, '', 'method');
}
// line 1114 "../smarty/lexer/smarty_internal_templateparser.y"
public function yy_r159(){
$this->_retvalue = array($this->yystack[$this->yyidx + -1]->minor, $this->yystack[$this->yyidx + 0]->minor, 'method');
}
// line 1119 "../smarty/lexer/smarty_internal_templateparser.y"
public function yy_r160(){
$this->_retvalue = array($this->yystack[$this->yyidx + 0]->minor, '');
}
// line 1124 "../smarty/lexer/smarty_internal_templateparser.y"
public function yy_r161(){
$this->_retvalue = array($this->yystack[$this->yyidx + -1]->minor, $this->yystack[$this->yyidx + 0]->minor, 'property');
}
// line 1129 "../smarty/lexer/smarty_internal_templateparser.y"
public function yy_r162(){
$this->_retvalue = array($this->yystack[$this->yyidx + -2]->minor, $this->yystack[$this->yyidx + -1]->minor.$this->yystack[$this->yyidx + 0]->minor, 'property');
}
// line 1135 "../smarty/lexer/smarty_internal_templateparser.y"
public function yy_r163(){
$this->_retvalue = ' '. trim($this->yystack[$this->yyidx + 0]->minor) . ' ';
}
// line 1139 "../smarty/lexer/smarty_internal_templateparser.y"
public function yy_r164(){
static $lops = array(
'eq' => ' == ',
'ne' => ' != ',
'neq' => ' != ',
'gt' => ' > ',
'ge' => ' >= ',
'gte' => ' >= ',
'lt' => ' < ',
'le' => ' <= ',
'lte' => ' <= ',
'mod' => ' % ',
'and' => ' && ',
'or' => ' || ',
'xor' => ' xor ',
);
$op = strtolower(preg_replace('/\s*/', '', $this->yystack[$this->yyidx + 0]->minor));
$this->_retvalue = $lops[$op];
}
// line 1158 "../smarty/lexer/smarty_internal_templateparser.y"
public function yy_r165(){
static $tlops = array(
'isdivby' => array('op' => ' % ', 'pre' => '!('),
'isnotdivby' => array('op' => ' % ', 'pre' => '('),
'isevenby' => array('op' => ' / ', 'pre' => '!(1 & '),
'isnotevenby' => array('op' => ' / ', 'pre' => '(1 & '),
'isoddby' => array('op' => ' / ', 'pre' => '(1 & '),
'isnotoddby' => array('op' => ' / ', 'pre' => '!(1 & '),
);
$op = strtolower(preg_replace('/\s*/', '', $this->yystack[$this->yyidx + 0]->minor));
$this->_retvalue = $tlops[$op];
}
// line 1171 "../smarty/lexer/smarty_internal_templateparser.y"
public function yy_r166(){
static $scond = array (
'iseven' => '!(1 & ',
'isnoteven' => '(1 & ',
'isodd' => '(1 & ',
'isnotodd' => '!(1 & ',
);
$op = strtolower(str_replace(' ', '', $this->yystack[$this->yyidx + 0]->minor));
$this->_retvalue = $scond[$op];
}
// line 1185 "../smarty/lexer/smarty_internal_templateparser.y"
public function yy_r167(){
$this->_retvalue = 'array('.$this->yystack[$this->yyidx + -1]->minor.')';
}
// line 1196 "../smarty/lexer/smarty_internal_templateparser.y"
public function yy_r170(){
$this->_retvalue = $this->yystack[$this->yyidx + -2]->minor.','.$this->yystack[$this->yyidx + 0]->minor;
}
// line 1204 "../smarty/lexer/smarty_internal_templateparser.y"
public function yy_r172(){
$this->_retvalue = $this->yystack[$this->yyidx + -2]->minor.'=>'.$this->yystack[$this->yyidx + 0]->minor;
}
// line 1208 "../smarty/lexer/smarty_internal_templateparser.y"
public function yy_r173(){
$this->_retvalue = '\''.$this->yystack[$this->yyidx + -2]->minor.'\'=>'.$this->yystack[$this->yyidx + 0]->minor;
}
// line 1224 "../smarty/lexer/smarty_internal_templateparser.y"
public function yy_r176(){
$this->compiler->leaveDoubleQuote();
$this->_retvalue = $this->yystack[$this->yyidx + -1]->minor->to_smarty_php($this);
}
// line 1230 "../smarty/lexer/smarty_internal_templateparser.y"
public function yy_r177(){
$this->yystack[$this->yyidx + -1]->minor->append_subtree($this, $this->yystack[$this->yyidx + 0]->minor);
$this->_retvalue = $this->yystack[$this->yyidx + -1]->minor;
}
// line 1235 "../smarty/lexer/smarty_internal_templateparser.y"
public function yy_r178(){
$this->_retvalue = new Smarty_Internal_ParseTree_Dq($this, $this->yystack[$this->yyidx + 0]->minor);
}
// line 1239 "../smarty/lexer/smarty_internal_templateparser.y"
public function yy_r179(){
$this->_retvalue = new Smarty_Internal_ParseTree_Code('(string)'.$this->yystack[$this->yyidx + -1]->minor);
}
// line 1243 "../smarty/lexer/smarty_internal_templateparser.y"
public function yy_r180(){
$this->_retvalue = new Smarty_Internal_ParseTree_Code('(string)('.$this->yystack[$this->yyidx + -1]->minor.')');
}
// line 1247 "../smarty/lexer/smarty_internal_templateparser.y"
public function yy_r181(){
$this->_retvalue = new Smarty_Internal_ParseTree_Code('(string)$_smarty_tpl->tpl_vars[\''. substr($this->yystack[$this->yyidx + 0]->minor,1) .'\']->value');
}
// line 1259 "../smarty/lexer/smarty_internal_templateparser.y"
public function yy_r184(){
$this->_retvalue = new Smarty_Internal_ParseTree_Tag($this, $this->yystack[$this->yyidx + 0]->minor);
}
// line 1263 "../smarty/lexer/smarty_internal_templateparser.y"
public function yy_r185(){
$this->_retvalue = new Smarty_Internal_ParseTree_DqContent($this->yystack[$this->yyidx + 0]->minor);
}
private $_retvalue;
public function yy_reduce($yyruleno)
{
if ($this->yyTraceFILE && $yyruleno >= 0
&& $yyruleno < count(self::$yyRuleName)) {
fprintf($this->yyTraceFILE, "%sReduce (%d) [%s].\n",
$this->yyTracePrompt, $yyruleno,
self::$yyRuleName[$yyruleno]);
}
$this->_retvalue = $yy_lefthand_side = null;
if (isset(self::$yyReduceMap[$yyruleno])) {
// call the action
$this->_retvalue = null;
$this->{'yy_r' . self::$yyReduceMap[$yyruleno]}();
$yy_lefthand_side = $this->_retvalue;
}
$yygoto = self::$yyRuleInfo[$yyruleno][0];
$yysize = self::$yyRuleInfo[$yyruleno][1];
$this->yyidx -= $yysize;
for ($i = $yysize; $i; $i--) {
// pop all of the right-hand side parameters
array_pop($this->yystack);
}
$yyact = $this->yy_find_reduce_action($this->yystack[$this->yyidx]->stateno, $yygoto);
if ($yyact < self::YYNSTATE) {
if (!$this->yyTraceFILE && $yysize) {
$this->yyidx++;
$x = new TP_yyStackEntry;
$x->stateno = $yyact;
$x->major = $yygoto;
$x->minor = $yy_lefthand_side;
$this->yystack[$this->yyidx] = $x;
} else {
$this->yy_shift($yyact, $yygoto, $yy_lefthand_side);
}
} elseif ($yyact === self::YYNSTATE + self::YYNRULE + 1) {
$this->yy_accept();
}
}
public function yy_parse_failed()
{
if ($this->yyTraceFILE) {
fprintf($this->yyTraceFILE, "%sFail!\n", $this->yyTracePrompt);
} while ($this->yyidx >= 0) {
$this->yy_pop_parser_stack();
}
}
public function yy_syntax_error($yymajor, $TOKEN)
{
// line 213 "../smarty/lexer/smarty_internal_templateparser.y"
$this->internalError = true;
$this->yymajor = $yymajor;
$this->compiler->trigger_template_error();
}
public function yy_accept()
{
if ($this->yyTraceFILE) {
fprintf($this->yyTraceFILE, "%sAccept!\n", $this->yyTracePrompt);
} while ($this->yyidx >= 0) {
$this->yy_pop_parser_stack();
}
// line 206 "../smarty/lexer/smarty_internal_templateparser.y"
$this->successful = !$this->internalError;
$this->internalError = false;
$this->retvalue = $this->_retvalue;
}
public function doParse($yymajor, $yytokenvalue)
{
$yyerrorhit = 0; /* True if yymajor has invoked an error */
if ($this->yyidx === null || $this->yyidx < 0) {
$this->yyidx = 0;
$this->yyerrcnt = -1;
$x = new TP_yyStackEntry;
$x->stateno = 0;
$x->major = 0;
$this->yystack = array();
$this->yystack[] = $x;
}
$yyendofinput = ($yymajor==0);
if ($this->yyTraceFILE) {
fprintf($this->yyTraceFILE, "%sInput %s\n",
$this->yyTracePrompt, $this->yyTokenName[$yymajor]);
}
do {
$yyact = $this->yy_find_shift_action($yymajor);
if ($yymajor < self::YYERRORSYMBOL &&
!$this->yy_is_expected_token($yymajor)) {
// force a syntax error
$yyact = self::YY_ERROR_ACTION;
}
if ($yyact < self::YYNSTATE) {
$this->yy_shift($yyact, $yymajor, $yytokenvalue);
$this->yyerrcnt--;
if ($yyendofinput && $this->yyidx >= 0) {
$yymajor = 0;
} else {
$yymajor = self::YYNOCODE;
}
} elseif ($yyact < self::YYNSTATE + self::YYNRULE) {
$this->yy_reduce($yyact - self::YYNSTATE);
} elseif ($yyact === self::YY_ERROR_ACTION) {
if ($this->yyTraceFILE) {
fprintf($this->yyTraceFILE, "%sSyntax Error!\n",
$this->yyTracePrompt);
}
if (self::YYERRORSYMBOL) {
if ($this->yyerrcnt < 0) {
$this->yy_syntax_error($yymajor, $yytokenvalue);
}
$yymx = $this->yystack[$this->yyidx]->major;
if ($yymx === self::YYERRORSYMBOL || $yyerrorhit) {
if ($this->yyTraceFILE) {
fprintf($this->yyTraceFILE, "%sDiscard input token %s\n",
$this->yyTracePrompt, $this->yyTokenName[$yymajor]);
}
$this->yy_destructor($yymajor, $yytokenvalue);
$yymajor = self::YYNOCODE;
} else {
while ($this->yyidx >= 0 &&
$yymx !== self::YYERRORSYMBOL &&
($yyact = $this->yy_find_shift_action(self::YYERRORSYMBOL)) >= self::YYNSTATE
){
$this->yy_pop_parser_stack();
}
if ($this->yyidx < 0 || $yymajor==0) {
$this->yy_destructor($yymajor, $yytokenvalue);
$this->yy_parse_failed();
$yymajor = self::YYNOCODE;
} elseif ($yymx !== self::YYERRORSYMBOL) {
$u2 = 0;
$this->yy_shift($yyact, self::YYERRORSYMBOL, $u2);
}
}
$this->yyerrcnt = 3;
$yyerrorhit = 1;
} else {
if ($this->yyerrcnt <= 0) {
$this->yy_syntax_error($yymajor, $yytokenvalue);
}
$this->yyerrcnt = 3;
$this->yy_destructor($yymajor, $yytokenvalue);
if ($yyendofinput) {
$this->yy_parse_failed();
}
$yymajor = self::YYNOCODE;
}
} else {
$this->yy_accept();
$yymajor = self::YYNOCODE;
}
} while ($yymajor !== self::YYNOCODE && $this->yyidx >= 0);
}
}
|