Branch Coverage

blib/lib/Template/Mustache/Parser.pm
Criterion Covered Total %
branch 645 1558 41.4


line true false branch
46 0 288 if defined $main::RD_TRACE
65 288 0 defined $_[4] ? :
67 261 27 $#arg & 1 ? :
85 0 288 if defined $main::RD_TRACE
98 0 288 if defined $main::RD_TRACE
105 272 16 unless (defined($_tok = partial($thisparser, $text, $repeating, $_noactions, sub { \@arg; } , undef)))
108 0 272 if defined $main::RD_TRACE
116 0 16 if defined $main::RD_TRACE
128 0 16 if defined $main::RD_TRACE
144 0 272 if defined $main::RD_TRACE
157 0 272 if defined $main::RD_TRACE
164 261 11 unless (defined($_tok = section($thisparser, $text, $repeating, $_noactions, sub { \@arg; } , undef)))
167 0 261 if defined $main::RD_TRACE
175 0 11 if defined $main::RD_TRACE
187 0 11 if defined $main::RD_TRACE
203 0 261 if defined $main::RD_TRACE
216 0 261 if defined $main::RD_TRACE
223 259 0 unless (defined($_tok = delimiter_change($thisparser, $text, $repeating, $_noactions, sub { \@arg; } , undef)))
226 0 259 if defined $main::RD_TRACE
234 0 0 if defined $main::RD_TRACE
246 0 0 if defined $main::RD_TRACE
262 0 259 if defined $main::RD_TRACE
275 0 259 if defined $main::RD_TRACE
282 256 3 unless (defined($_tok = comment($thisparser, $text, $repeating, $_noactions, sub { \@arg; } , undef)))
285 0 256 if defined $main::RD_TRACE
293 0 3 if defined $main::RD_TRACE
305 0 3 if defined $main::RD_TRACE
321 0 256 if defined $main::RD_TRACE
334 0 256 if defined $main::RD_TRACE
341 256 0 unless (defined($_tok = unescaped_variable_amp($thisparser, $text, $repeating, $_noactions, sub { \@arg; } , undef)))
344 0 256 if defined $main::RD_TRACE
352 0 0 if defined $main::RD_TRACE
364 0 0 if defined $main::RD_TRACE
380 0 256 if defined $main::RD_TRACE
393 0 256 if defined $main::RD_TRACE
400 256 0 unless (defined($_tok = unescaped_variable($thisparser, $text, $repeating, $_noactions, sub { \@arg; } , undef)))
403 0 256 if defined $main::RD_TRACE
411 0 0 if defined $main::RD_TRACE
423 0 0 if defined $main::RD_TRACE
439 0 256 if defined $main::RD_TRACE
452 0 256 if defined $main::RD_TRACE
459 193 63 unless (defined($_tok = variable($thisparser, $text, $repeating, $_noactions, sub { \@arg; } , undef)))
462 0 193 if defined $main::RD_TRACE
470 0 63 if defined $main::RD_TRACE
482 0 63 if defined $main::RD_TRACE
498 0 193 if defined $main::RD_TRACE
511 0 193 if defined $main::RD_TRACE
518 0 193 unless (defined($_tok = verbatim($thisparser, $text, $repeating, $_noactions, sub { \@arg; } , undef)))
521 0 0 if defined $main::RD_TRACE
529 0 193 if defined $main::RD_TRACE
541 0 193 if defined $main::RD_TRACE
557 0 0 if defined $main::RD_TRACE
572 0 0 if defined $main::RD_TRACE
577 0 0 unless ($_noactions)
583 0 0 if (defined $_tok) { }
585 0 0 if defined $main::RD_TRACE
592 0 0 if defined $main::RD_TRACE
597 0 0 unless defined $_tok
601 0 0 if defined $main::RD_TRACE
614 0 286 unless ($_matched or defined $score)
619 0 0 if defined $main::RD_TRACE
626 0 286 if (not defined $return and defined $score)
628 0 0 if defined $main::RD_TRACE
635 286 0 unless defined $return
636 0 286 if (defined $main::RD_TRACE)
661 0 56 if defined $main::RD_TRACE
680 56 0 defined $_[4] ? :
682 0 56 $#arg & 1 ? :
700 0 56 if defined $main::RD_TRACE
713 0 56 if defined $main::RD_TRACE
721 0 56 if $lastsep = $1
0 56 unless ($text =~ s/\A($Parse::RecDescent::Template::Mustache::Parser::skip)/'' if $lastsep = $1;/e and $text =~ /\A(?:\s*)/)
723 0 0 if defined $lastsep
725 0 0 if defined $main::RD_TRACE
733 0 56 if defined $main::RD_TRACE
740 0 56 if defined $main::RD_TRACE
747 5 51 unless (defined($_tok = opening_tag($thisparser, $text, $repeating, $_noactions, sub { \@arg; } , undef)))
750 0 5 if defined $main::RD_TRACE
758 0 51 if defined $main::RD_TRACE
770 0 51 if defined $main::RD_TRACE
779 0 51 if $lastsep = $1
19 32 unless ($text =~ s/\A($Parse::RecDescent::Template::Mustache::Parser::skip)/'' if $lastsep = $1;/e and $text =~ m[\A/])
781 19 0 if defined $lastsep
784 0 19 if defined $main::RD_TRACE
791 0 32 if defined $main::RD_TRACE
798 0 32 if defined $main::RD_TRACE
806 0 32 if $lastsep = $1
0 32 unless ($text =~ s/\A($Parse::RecDescent::Template::Mustache::Parser::skip)/'' if $lastsep = $1;/e and $text =~ /\A(?:\s*)/)
808 0 0 if defined $lastsep
810 0 0 if defined $main::RD_TRACE
818 0 32 if defined $main::RD_TRACE
825 0 32 if defined $main::RD_TRACE
834 0 32 if $lastsep = $1
10 22 unless ($text =~ s/\A($Parse::RecDescent::Template::Mustache::Parser::skip)/'' if $lastsep = $1;/e and do { $_tok = "$arg[0]"; 1 } and substr($text, 0, length $_tok) eq $_tok and do { substr($text, 0, length $_tok) = ''; 1 })
839 10 0 if defined $lastsep
842 0 10 if defined $main::RD_TRACE
847 0 22 if defined $main::RD_TRACE
854 0 22 if defined $main::RD_TRACE
862 0 22 if $lastsep = $1
0 22 unless ($text =~ s/\A($Parse::RecDescent::Template::Mustache::Parser::skip)/'' if $lastsep = $1;/e and $text =~ /\A(?:\s*)/)
864 0 0 if defined $lastsep
866 0 0 if defined $main::RD_TRACE
874 0 22 if defined $main::RD_TRACE
881 0 22 if defined $main::RD_TRACE
888 0 22 unless (defined($_tok = closing_tag($thisparser, $text, $repeating, $_noactions, sub { \@arg; } , undef)))
891 0 0 if defined $main::RD_TRACE
899 0 22 if defined $main::RD_TRACE
911 0 22 if defined $main::RD_TRACE
919 0 22 if $lastsep = $1
0 22 unless ($text =~ s/\A($Parse::RecDescent::Template::Mustache::Parser::skip)/'' if $lastsep = $1;/e and $text =~ /\A(?:\s*)/)
921 0 0 if defined $lastsep
923 0 0 if defined $main::RD_TRACE
931 0 22 if defined $main::RD_TRACE
938 0 22 if defined $main::RD_TRACE
945 11 11 $_noactions ? :
948 0 11 if ($item[1] =~ /\n/ or $prev)
949 0 0 if ($item[8] =~ /\n/ or length $text == 0)
960 0 22 unless (defined $_tok)
962 0 0 if defined $main::RD_TRACE
966 0 22 if defined $main::RD_TRACE
974 0 22 if defined $main::RD_TRACE
987 34 22 unless ($_matched or defined $score)
992 0 34 if defined $main::RD_TRACE
999 0 22 if (not defined $return and defined $score)
1001 0 0 if defined $main::RD_TRACE
1008 22 0 unless defined $return
1009 0 22 if (defined $main::RD_TRACE)
1034 0 124 if defined $main::RD_TRACE
1053 124 0 defined $_[4] ? :
1055 82 42 $#arg & 1 ? :
1073 0 124 if defined $main::RD_TRACE
1086 0 124 if defined $main::RD_TRACE
1095 0 124 if $lastsep = $1
0 124 unless ($text =~ s/\A($Parse::RecDescent::Template::Mustache::Parser::skip)/'' if $lastsep = $1;/e and do { $_tok = "$thisparser->{'closing_tag'}"; 1 } and substr($text, 0, length $_tok) eq $_tok and do { substr($text, 0, length $_tok) = ''; 1 })
1100 0 0 if defined $lastsep
1103 0 0 if defined $main::RD_TRACE
1108 0 124 if defined $main::RD_TRACE
1115 0 124 if defined $main::RD_TRACE
1128 0 124 unless ($_matched or defined $score)
1133 0 0 if defined $main::RD_TRACE
1140 0 124 if (not defined $return and defined $score)
1142 0 0 if defined $main::RD_TRACE
1149 124 0 unless defined $return
1150 0 124 if (defined $main::RD_TRACE)
1175 0 259 if defined $main::RD_TRACE
1194 259 0 defined $_[4] ? :
1196 233 26 $#arg & 1 ? :
1214 0 259 if defined $main::RD_TRACE
1227 0 259 if defined $main::RD_TRACE
1234 256 3 unless (defined($_tok = standalone_surround($thisparser, $text, $repeating, $_noactions, sub { return [$item[0]]; } , undef)))
1237 0 256 if defined $main::RD_TRACE
1245 0 3 if defined $main::RD_TRACE
1257 0 3 if defined $main::RD_TRACE
1264 0 3 $_noactions ? :
1269 0 3 unless (defined $_tok)
1271 0 0 if defined $main::RD_TRACE
1275 0 3 if defined $main::RD_TRACE
1283 0 3 if defined $main::RD_TRACE
1296 256 3 unless ($_matched or defined $score)
1301 0 256 if defined $main::RD_TRACE
1308 0 3 if (not defined $return and defined $score)
1310 0 0 if defined $main::RD_TRACE
1317 3 0 unless defined $return
1318 0 3 if (defined $main::RD_TRACE)
1343 0 83 if defined $main::RD_TRACE
1362 83 0 defined $_[4] ? :
1364 0 83 $#arg & 1 ? :
1382 0 83 if defined $main::RD_TRACE
1395 0 83 if defined $main::RD_TRACE
1404 0 83 if $lastsep = $1
80 3 unless ($text =~ s/\A($Parse::RecDescent::Template::Mustache::Parser::skip)/'' if $lastsep = $1;/e and $text =~ /\A\!/)
1406 80 0 if defined $lastsep
1409 0 80 if defined $main::RD_TRACE
1416 0 3 if defined $main::RD_TRACE
1423 0 3 if defined $main::RD_TRACE
1430 0 3 $_noactions ? :
1431 0 3 unless (defined $_tok)
1433 0 0 if defined $main::RD_TRACE
1437 0 3 if defined $main::RD_TRACE
1445 0 3 if defined $main::RD_TRACE
1453 0 3 if $lastsep = $1
0 3 unless ($text =~ s/\A($Parse::RecDescent::Template::Mustache::Parser::skip)/'' if $lastsep = $1;/e and $text =~ /\A(?:.*?(?=\Q$item[2]\E))/s)
1455 0 0 if defined $lastsep
1457 0 0 if defined $main::RD_TRACE
1465 0 3 if defined $main::RD_TRACE
1472 0 3 if defined $main::RD_TRACE
1485 80 3 unless ($_matched or defined $score)
1490 0 80 if defined $main::RD_TRACE
1497 0 3 if (not defined $return and defined $score)
1499 0 0 if defined $main::RD_TRACE
1506 3 0 unless defined $return
1507 0 3 if (defined $main::RD_TRACE)
1532 0 261 if defined $main::RD_TRACE
1551 261 0 defined $_[4] ? :
1553 235 26 $#arg & 1 ? :
1571 0 261 if defined $main::RD_TRACE
1584 0 261 if defined $main::RD_TRACE
1591 259 2 unless (defined($_tok = standalone_surround($thisparser, $text, $repeating, $_noactions, sub { return [$item[0]]; } , undef)))
1594 0 259 if defined $main::RD_TRACE
1602 0 2 if defined $main::RD_TRACE
1614 0 2 if defined $main::RD_TRACE
1621 0 2 $_noactions ? :
1622 2 0 unless @{$item[1][2];} == 2
1630 0 0 unless (defined $_tok)
1632 0 0 if defined $main::RD_TRACE
1636 0 0 if defined $main::RD_TRACE
1644 0 0 if defined $main::RD_TRACE
1657 259 0 unless ($_matched or defined $score)
1662 0 259 if defined $main::RD_TRACE
1669 0 0 if (not defined $return and defined $score)
1671 0 0 if defined $main::RD_TRACE
1678 0 0 unless defined $return
1679 0 0 if (defined $main::RD_TRACE)
1704 0 85 if defined $main::RD_TRACE
1723 85 0 defined $_[4] ? :
1725 0 85 $#arg & 1 ? :
1743 0 85 if defined $main::RD_TRACE
1756 0 85 if defined $main::RD_TRACE
1765 0 85 if $lastsep = $1
83 2 unless ($text =~ s/\A($Parse::RecDescent::Template::Mustache::Parser::skip)/'' if $lastsep = $1;/e and $text =~ /\A\=/)
1767 83 0 if defined $lastsep
1770 0 83 if defined $main::RD_TRACE
1777 0 2 if defined $main::RD_TRACE
1784 0 2 if defined $main::RD_TRACE
1791 0 2 $_noactions ? :
1794 0 2 unless (defined $_tok)
1796 0 0 if defined $main::RD_TRACE
1800 0 2 if defined $main::RD_TRACE
1808 0 2 if defined $main::RD_TRACE
1816 0 2 if $lastsep = $1
0 2 unless ($text =~ s/\A($Parse::RecDescent::Template::Mustache::Parser::skip)/'' if $lastsep = $1;/e and $text =~ /\A(?:\s*)/)
1818 0 0 if defined $lastsep
1820 0 0 if defined $main::RD_TRACE
1828 0 2 if defined $main::RD_TRACE
1835 0 2 if defined $main::RD_TRACE
1843 0 2 if $lastsep = $1
0 2 unless ($text =~ s/\A($Parse::RecDescent::Template::Mustache::Parser::skip)/'' if $lastsep = $1;/e and $text =~ /\A(?:.*?(?=\=\Q$item[2]\E))/s)
1845 0 0 if defined $lastsep
1847 0 0 if defined $main::RD_TRACE
1855 0 2 if defined $main::RD_TRACE
1862 0 2 if defined $main::RD_TRACE
1871 0 2 if $lastsep = $1
0 2 unless ($text =~ s/\A($Parse::RecDescent::Template::Mustache::Parser::skip)/'' if $lastsep = $1;/e and $text =~ /\A\=/)
1873 0 0 if defined $lastsep
1876 0 0 if defined $main::RD_TRACE
1883 0 2 if defined $main::RD_TRACE
1890 0 2 if defined $main::RD_TRACE
1897 0 2 $_noactions ? :
1900 0 2 unless (defined $_tok)
1902 0 0 if defined $main::RD_TRACE
1906 0 2 if defined $main::RD_TRACE
1914 0 2 if defined $main::RD_TRACE
1927 83 2 unless ($_matched or defined $score)
1932 0 83 if defined $main::RD_TRACE
1939 0 2 if (not defined $return and defined $score)
1941 0 0 if defined $main::RD_TRACE
1948 2 0 unless defined $return
1949 0 2 if (defined $main::RD_TRACE)
1974 0 70 if defined $main::RD_TRACE
1993 70 0 defined $_[4] ? :
1995 70 0 $#arg & 1 ? :
2013 0 70 if defined $main::RD_TRACE
2026 0 70 if defined $main::RD_TRACE
2034 0 70 if $lastsep = $1
5 65 unless ($text =~ s/\A($Parse::RecDescent::Template::Mustache::Parser::skip)/'' if $lastsep = $1;/e and $text =~ /\A(?:^\Z)/)
2036 5 0 if defined $lastsep
2038 0 5 if defined $main::RD_TRACE
2046 0 65 if defined $main::RD_TRACE
2053 0 65 if defined $main::RD_TRACE
2066 5 65 unless ($_matched or defined $score)
2071 0 5 if defined $main::RD_TRACE
2078 0 65 if (not defined $return and defined $score)
2080 0 0 if defined $main::RD_TRACE
2087 65 0 unless defined $return
2088 0 65 if (defined $main::RD_TRACE)
2113 0 38 if defined $main::RD_TRACE
2132 38 0 defined $_[4] ? :
2134 0 38 $#arg & 1 ? :
2152 0 38 if defined $main::RD_TRACE
2165 0 38 if defined $main::RD_TRACE
2172 11 27 if (defined($_tok = close_section($thisparser, $text, $repeating, 1, sub { return [$arg[0]]; } , undef)))
2175 0 11 if defined $main::RD_TRACE
2183 0 27 if defined $main::RD_TRACE
2195 0 27 if defined $main::RD_TRACE
2202 0 27 unless (defined($_tok = template_item($thisparser, $text, $repeating, $_noactions, sub { \@arg; } , undef)))
2205 0 0 if defined $main::RD_TRACE
2213 0 27 if defined $main::RD_TRACE
2225 0 27 if defined $main::RD_TRACE
2238 11 27 unless ($_matched or defined $score)
2243 0 11 if defined $main::RD_TRACE
2250 0 27 if (not defined $return and defined $score)
2252 0 0 if defined $main::RD_TRACE
2259 27 0 unless defined $return
2260 0 27 if (defined $main::RD_TRACE)
2285 0 272 if defined $main::RD_TRACE
2304 272 0 defined $_[4] ? :
2306 245 27 $#arg & 1 ? :
2324 0 272 if defined $main::RD_TRACE
2337 0 272 if defined $main::RD_TRACE
2345 0 272 if $lastsep = $1
0 272 unless ($text =~ s/\A($Parse::RecDescent::Template::Mustache::Parser::skip)/'' if $lastsep = $1;/e and $text =~ /\A(?:\s*)/)
2347 0 0 if defined $lastsep
2349 0 0 if defined $main::RD_TRACE
2357 0 272 if defined $main::RD_TRACE
2364 0 272 if defined $main::RD_TRACE
2371 176 96 unless (defined($_tok = opening_tag($thisparser, $text, $repeating, $_noactions, sub { \@arg; } , undef)))
2374 0 176 if defined $main::RD_TRACE
2382 0 96 if defined $main::RD_TRACE
2394 0 96 if defined $main::RD_TRACE
2402 0 96 if $lastsep = $1
77 19 unless ($text =~ s/\A($Parse::RecDescent::Template::Mustache::Parser::skip)/'' if $lastsep = $1;/e and $text =~ /\A(?:[#^])/)
2404 77 0 if defined $lastsep
2406 0 77 if defined $main::RD_TRACE
2414 0 19 if defined $main::RD_TRACE
2421 0 19 if defined $main::RD_TRACE
2429 0 19 if $lastsep = $1
0 19 unless ($text =~ s/\A($Parse::RecDescent::Template::Mustache::Parser::skip)/'' if $lastsep = $1;/e and $text =~ /\A(?:\s*)/)
2431 0 0 if defined $lastsep
2433 0 0 if defined $main::RD_TRACE
2441 0 19 if defined $main::RD_TRACE
2448 0 19 if defined $main::RD_TRACE
2456 0 19 if $lastsep = $1
1 18 unless ($text =~ s/\A($Parse::RecDescent::Template::Mustache::Parser::skip)/'' if $lastsep = $1;/e and $text =~ /\A(?:[-\w.]+)/)
2458 1 0 if defined $lastsep
2460 0 1 if defined $main::RD_TRACE
2468 0 18 if defined $main::RD_TRACE
2475 0 18 if defined $main::RD_TRACE
2483 0 18 if $lastsep = $1
0 18 unless ($text =~ s/\A($Parse::RecDescent::Template::Mustache::Parser::skip)/'' if $lastsep = $1;/e and $text =~ /\A(?:\s*)/)
2485 0 0 if defined $lastsep
2487 0 0 if defined $main::RD_TRACE
2495 0 18 if defined $main::RD_TRACE
2502 0 18 if defined $main::RD_TRACE
2509 0 18 unless (defined($_tok = closing_tag($thisparser, $text, $repeating, $_noactions, sub { \@arg; } , undef)))
2512 0 0 if defined $main::RD_TRACE
2520 0 18 if defined $main::RD_TRACE
2532 0 18 if defined $main::RD_TRACE
2540 0 18 if $lastsep = $1
0 18 unless ($text =~ s/\A($Parse::RecDescent::Template::Mustache::Parser::skip)/'' if $lastsep = $1;/e and $text =~ /\A(?:\s*)/)
2542 0 0 if defined $lastsep
2544 0 0 if defined $main::RD_TRACE
2552 0 18 if defined $main::RD_TRACE
2559 0 18 if defined $main::RD_TRACE
2566 0 18 $_noactions ? :
2569 11 7 if ($item[1] =~ /\n/ or $prev)
2570 3 8 if ($item[8] =~ /\n/)
2582 0 18 unless (defined $_tok)
2584 0 0 if defined $main::RD_TRACE
2588 0 18 if defined $main::RD_TRACE
2596 0 18 if defined $main::RD_TRACE
2609 254 18 unless ($_matched or defined $score)
2614 0 254 if defined $main::RD_TRACE
2621 0 18 if (not defined $return and defined $score)
2623 0 0 if defined $main::RD_TRACE
2630 18 0 unless defined $return
2631 0 18 if (defined $main::RD_TRACE)
2656 0 1904 if defined $main::RD_TRACE
2675 1904 0 defined $_[4] ? :
2677 1196 708 $#arg & 1 ? :
2695 0 1904 if defined $main::RD_TRACE
2708 0 1904 if defined $main::RD_TRACE
2717 0 1904 if $lastsep = $1
1237 667 unless ($text =~ s/\A($Parse::RecDescent::Template::Mustache::Parser::skip)/'' if $lastsep = $1;/e and do { $_tok = "$thisparser->{'opening_tag'}"; 1 } and substr($text, 0, length $_tok) eq $_tok and do { substr($text, 0, length $_tok) = ''; 1 })
2722 1237 0 if defined $lastsep
2725 0 1237 if defined $main::RD_TRACE
2730 0 667 if defined $main::RD_TRACE
2737 0 667 if defined $main::RD_TRACE
2750 1237 667 unless ($_matched or defined $score)
2755 0 1237 if defined $main::RD_TRACE
2762 0 667 if (not defined $return and defined $score)
2764 0 0 if defined $main::RD_TRACE
2771 667 0 unless defined $return
2772 0 667 if (defined $main::RD_TRACE)
2797 0 288 if defined $main::RD_TRACE
2816 288 0 defined $_[4] ? :
2818 261 27 $#arg & 1 ? :
2836 0 288 if defined $main::RD_TRACE
2849 0 288 if defined $main::RD_TRACE
2857 0 288 if $lastsep = $1
0 288 unless ($text =~ s/\A($Parse::RecDescent::Template::Mustache::Parser::skip)/'' if $lastsep = $1;/e and $text =~ /\A(?:\s*)/)
2859 0 0 if defined $lastsep
2861 0 0 if defined $main::RD_TRACE
2869 0 288 if defined $main::RD_TRACE
2876 0 288 if defined $main::RD_TRACE
2883 176 112 unless (defined($_tok = opening_tag($thisparser, $text, $repeating, $_noactions, sub { \@arg; } , undef)))
2886 0 176 if defined $main::RD_TRACE
2894 0 112 if defined $main::RD_TRACE
2906 0 112 if defined $main::RD_TRACE
2915 0 112 if $lastsep = $1
96 16 unless ($text =~ s/\A($Parse::RecDescent::Template::Mustache::Parser::skip)/'' if $lastsep = $1;/e and $text =~ /\A\>/)
2917 96 0 if defined $lastsep
2920 0 96 if defined $main::RD_TRACE
2927 0 16 if defined $main::RD_TRACE
2934 0 16 if defined $main::RD_TRACE
2942 0 16 if $lastsep = $1
0 16 unless ($text =~ s/\A($Parse::RecDescent::Template::Mustache::Parser::skip)/'' if $lastsep = $1;/e and $text =~ /\A(?:\s*)/)
2944 0 0 if defined $lastsep
2946 0 0 if defined $main::RD_TRACE
2954 0 16 if defined $main::RD_TRACE
2961 0 16 if defined $main::RD_TRACE
2969 0 16 if $lastsep = $1
0 16 unless ($text =~ s/\A($Parse::RecDescent::Template::Mustache::Parser::skip)/'' if $lastsep = $1;/e and $text =~ m[\A(?:[/-\w.]+)])
2971 0 0 if defined $lastsep
2973 0 0 if defined $main::RD_TRACE
2981 0 16 if defined $main::RD_TRACE
2988 0 16 if defined $main::RD_TRACE
2996 0 16 if $lastsep = $1
0 16 unless ($text =~ s/\A($Parse::RecDescent::Template::Mustache::Parser::skip)/'' if $lastsep = $1;/e and $text =~ /\A(?:\s*)/)
2998 0 0 if defined $lastsep
3000 0 0 if defined $main::RD_TRACE
3008 0 16 if defined $main::RD_TRACE
3015 0 16 if defined $main::RD_TRACE
3022 0 16 unless (defined($_tok = closing_tag($thisparser, $text, $repeating, $_noactions, sub { \@arg; } , undef)))
3025 0 0 if defined $main::RD_TRACE
3033 0 16 if defined $main::RD_TRACE
3045 0 16 if defined $main::RD_TRACE
3053 0 16 if $lastsep = $1
0 16 unless ($text =~ s/\A($Parse::RecDescent::Template::Mustache::Parser::skip)/'' if $lastsep = $1;/e and $text =~ /\A(?:\s*)/)
3055 0 0 if defined $lastsep
3057 0 0 if defined $main::RD_TRACE
3065 0 16 if defined $main::RD_TRACE
3072 0 16 if defined $main::RD_TRACE
3079 0 16 $_noactions ? :
3083 2 14 if ($item[1] =~ /\n/ or $prev)
3084 2 0 if ($item[8] =~ /\n/ or length $text == 0)
3100 0 16 unless (defined $_tok)
3102 0 0 if defined $main::RD_TRACE
3106 0 16 if defined $main::RD_TRACE
3114 0 16 if defined $main::RD_TRACE
3127 272 16 unless ($_matched or defined $score)
3132 0 272 if defined $main::RD_TRACE
3139 0 16 if (not defined $return and defined $score)
3141 0 0 if defined $main::RD_TRACE
3148 16 0 unless defined $return
3149 0 16 if (defined $main::RD_TRACE)
3174 0 272 if defined $main::RD_TRACE
3193 272 0 defined $_[4] ? :
3195 245 27 $#arg & 1 ? :
3213 0 272 if defined $main::RD_TRACE
3226 0 272 if defined $main::RD_TRACE
3233 254 18 unless (defined($_tok = open_section($thisparser, $text, $repeating, $_noactions, sub { \@arg; } , undef)))
3236 0 254 if defined $main::RD_TRACE
3244 0 18 if defined $main::RD_TRACE
3256 0 18 if defined $main::RD_TRACE
3263 0 18 $_noactions ? :
3264 0 18 unless (defined $_tok)
3266 0 0 if defined $main::RD_TRACE
3270 0 18 if defined $main::RD_TRACE
3278 0 18 if defined $main::RD_TRACE
3285 0 18 unless (defined($_tok = $thisparser->_parserepeat($text, \&Parse::RecDescent::Template::Mustache::Parser::inner_section, 0, 100000000, $_noactions, $expectation, sub { return [$item[1][0]]; } , undef)))
3287 0 0 if defined $main::RD_TRACE
3294 0 18 if defined $main::RD_TRACE
3306 0 18 if defined $main::RD_TRACE
3313 0 18 $_noactions ? :
3316 0 18 unless (defined $_tok)
3318 0 0 if defined $main::RD_TRACE
3322 0 18 if defined $main::RD_TRACE
3330 0 18 if defined $main::RD_TRACE
3337 7 11 unless (defined($_tok = close_section($thisparser, $text, $repeating, $_noactions, sub { return [$item[1][0]]; } , undef)))
3340 0 7 if defined $main::RD_TRACE
3348 0 11 if defined $main::RD_TRACE
3360 0 11 if defined $main::RD_TRACE
3367 0 11 $_noactions ? :
3385 0 11 unless (defined $_tok)
3387 0 0 if defined $main::RD_TRACE
3391 0 11 if defined $main::RD_TRACE
3399 0 11 if defined $main::RD_TRACE
3412 261 11 unless ($_matched or defined $score)
3417 0 261 if defined $main::RD_TRACE
3424 0 11 if (not defined $return and defined $score)
3426 0 0 if defined $main::RD_TRACE
3433 11 0 unless defined $return
3434 0 11 if (defined $main::RD_TRACE)
3459 0 520 if defined $main::RD_TRACE
3478 520 0 defined $_[4] ? :
3480 0 520 $#arg & 1 ? :
3498 0 520 if defined $main::RD_TRACE
3511 0 520 if defined $main::RD_TRACE
3519 0 520 if $lastsep = $1
0 520 unless ($text =~ s/\A($Parse::RecDescent::Template::Mustache::Parser::skip)/'' if $lastsep = $1;/e and $text =~ /\A(?:\s*)/)
3521 0 0 if defined $lastsep
3523 0 0 if defined $main::RD_TRACE
3531 0 520 if defined $main::RD_TRACE
3538 0 520 if defined $main::RD_TRACE
3545 352 168 unless (defined($_tok = opening_tag($thisparser, $text, $repeating, $_noactions, sub { \@arg; } , undef)))
3548 0 352 if defined $main::RD_TRACE
3556 0 168 if defined $main::RD_TRACE
3568 0 168 if defined $main::RD_TRACE
3576 0 168 if $lastsep = $1
0 168 unless ($text =~ s/\A($Parse::RecDescent::Template::Mustache::Parser::skip)/'' if $lastsep = $1;/e and $text =~ /\A(?:\s*)/)
3578 0 0 if defined $lastsep
3580 0 0 if defined $main::RD_TRACE
3588 0 168 if defined $main::RD_TRACE
3595 0 168 if defined $main::RD_TRACE
3602 163 5 unless (defined($_tok = &{'Parse::RecDescent::Template::Mustache::Parser::' . "$arg[0]_inner";}($thisparser, $text, $repeating, $_noactions, sub { \@arg; } , undef)))
3605 0 163 if defined $main::RD_TRACE
3613 0 5 if defined $main::RD_TRACE
3625 0 5 if defined $main::RD_TRACE
3632 0 5 unless (defined($_tok = closing_tag($thisparser, $text, $repeating, $_noactions, sub { \@arg; } , undef)))
3635 0 0 if defined $main::RD_TRACE
3643 0 5 if defined $main::RD_TRACE
3655 0 5 if defined $main::RD_TRACE
3663 0 5 if $lastsep = $1
0 5 unless ($text =~ s/\A($Parse::RecDescent::Template::Mustache::Parser::skip)/'' if $lastsep = $1;/e and $text =~ /\A(?:\s*)/)
3665 0 0 if defined $lastsep
3667 0 0 if defined $main::RD_TRACE
3675 0 5 if defined $main::RD_TRACE
3682 0 5 if defined $main::RD_TRACE
3689 0 5 $_noactions ? :
3693 4 1 if ($item[1] =~ /\n/ or $prev)
3694 4 0 if ($item[6] =~ /\n/ or length $text == 0)
3703 0 5 unless (defined $_tok)
3705 0 0 if defined $main::RD_TRACE
3709 0 5 if defined $main::RD_TRACE
3717 0 5 if defined $main::RD_TRACE
3730 515 5 unless ($_matched or defined $score)
3735 0 515 if defined $main::RD_TRACE
3742 0 5 if (not defined $return and defined $score)
3744 0 0 if defined $main::RD_TRACE
3751 5 0 unless defined $return
3752 0 5 if (defined $main::RD_TRACE)
3777 0 72 if defined $main::RD_TRACE
3796 72 0 defined $_[4] ? :
3798 72 0 $#arg & 1 ? :
3816 0 72 if defined $main::RD_TRACE
3829 0 72 if defined $main::RD_TRACE
3836 72 0 @arg ? :
0 72 $_noactions ? :
3842 0 72 unless (defined $_tok)
3844 0 0 if defined $main::RD_TRACE
3848 0 72 if defined $main::RD_TRACE
3856 0 72 if defined $main::RD_TRACE
3863 0 70 unless (defined($_tok = $thisparser->_parserepeat($text, \&Parse::RecDescent::Template::Mustache::Parser::template_item, 0, 100000000, $_noactions, $expectation, sub { \@arg; } , undef)))
3865 0 0 if defined $main::RD_TRACE
3872 0 70 if defined $main::RD_TRACE
3884 0 70 if defined $main::RD_TRACE
3891 5 65 unless (defined($_tok = eofile($thisparser, $text, $repeating, $_noactions, sub { \@arg; } , undef)))
3894 0 5 if defined $main::RD_TRACE
3902 0 65 if defined $main::RD_TRACE
3914 0 65 if defined $main::RD_TRACE
3921 0 65 $_noactions ? :
3926 0 65 unless (defined $_tok)
3928 0 0 if defined $main::RD_TRACE
3932 0 65 if defined $main::RD_TRACE
3940 0 65 if defined $main::RD_TRACE
3956 0 5 if defined $main::RD_TRACE
3971 0 5 if defined $main::RD_TRACE
3976 5 0 unless ($_noactions)
3982 0 5 if (defined $_tok) { }
3984 0 0 if defined $main::RD_TRACE
3991 0 5 if defined $main::RD_TRACE
3996 5 0 unless defined $_tok
4000 0 0 if defined $main::RD_TRACE
4013 5 65 unless ($_matched or defined $score)
4018 0 5 if defined $main::RD_TRACE
4025 0 65 if (not defined $return and defined $score)
4027 0 0 if defined $main::RD_TRACE
4034 65 0 unless defined $return
4035 0 65 if (defined $main::RD_TRACE)
4060 0 288 if defined $main::RD_TRACE
4079 288 0 defined $_[4] ? :
4081 261 27 $#arg & 1 ? :
4099 0 288 if defined $main::RD_TRACE
4112 0 288 if defined $main::RD_TRACE
4119 0 286 unless (defined($_tok = _alternation_1_of_production_1_of_rule_template_item($thisparser, $text, $repeating, $_noactions, sub { \@arg; } , undef)))
4122 0 0 if defined $main::RD_TRACE
4130 0 286 if defined $main::RD_TRACE
4142 0 286 if defined $main::RD_TRACE
4149 0 286 $_noactions ? :
4152 0 286 unless (defined $_tok)
4154 0 0 if defined $main::RD_TRACE
4158 0 286 if defined $main::RD_TRACE
4166 0 286 if defined $main::RD_TRACE
4179 0 286 unless ($_matched or defined $score)
4184 0 0 if defined $main::RD_TRACE
4191 0 286 if (not defined $return and defined $score)
4193 0 0 if defined $main::RD_TRACE
4200 286 0 unless defined $return
4201 0 286 if (defined $main::RD_TRACE)
4226 0 256 if defined $main::RD_TRACE
4245 256 0 defined $_[4] ? :
4247 230 26 $#arg & 1 ? :
4265 0 256 if defined $main::RD_TRACE
4278 0 256 if defined $main::RD_TRACE
4286 0 256 if $lastsep = $1
0 256 unless ($text =~ s/\A($Parse::RecDescent::Template::Mustache::Parser::skip)/'' if $lastsep = $1;/e and $text =~ /\A(?:\s*)/)
4288 0 0 if defined $lastsep
4290 0 0 if defined $main::RD_TRACE
4298 0 256 if defined $main::RD_TRACE
4305 0 256 if defined $main::RD_TRACE
4312 176 80 unless (defined($_tok = opening_tag($thisparser, $text, $repeating, $_noactions, sub { \@arg; } , undef)))
4315 0 176 if defined $main::RD_TRACE
4323 0 80 if defined $main::RD_TRACE
4335 0 80 if defined $main::RD_TRACE
4344 0 80 if $lastsep = $1
80 0 unless ($text =~ s/\A($Parse::RecDescent::Template::Mustache::Parser::skip)/'' if $lastsep = $1;/e and $text =~ /\A\{/)
4346 80 0 if defined $lastsep
4349 0 80 if defined $main::RD_TRACE
4356 0 0 if defined $main::RD_TRACE
4363 0 0 if defined $main::RD_TRACE
4371 0 0 if $lastsep = $1
0 0 unless ($text =~ s/\A($Parse::RecDescent::Template::Mustache::Parser::skip)/'' if $lastsep = $1;/e and $text =~ /\A(?:\s*)/)
4373 0 0 if defined $lastsep
4375 0 0 if defined $main::RD_TRACE
4383 0 0 if defined $main::RD_TRACE
4390 0 0 if defined $main::RD_TRACE
4397 0 0 unless (defined($_tok = variable_name($thisparser, $text, $repeating, $_noactions, sub { \@arg; } , undef)))
4400 0 0 if defined $main::RD_TRACE
4408 0 0 if defined $main::RD_TRACE
4420 0 0 if defined $main::RD_TRACE
4428 0 0 if $lastsep = $1
0 0 unless ($text =~ s/\A($Parse::RecDescent::Template::Mustache::Parser::skip)/'' if $lastsep = $1;/e and $text =~ /\A(?:\s*)/)
4430 0 0 if defined $lastsep
4432 0 0 if defined $main::RD_TRACE
4440 0 0 if defined $main::RD_TRACE
4447 0 0 if defined $main::RD_TRACE
4456 0 0 if $lastsep = $1
0 0 unless ($text =~ s/\A($Parse::RecDescent::Template::Mustache::Parser::skip)/'' if $lastsep = $1;/e and $text =~ /\A\}/)
4458 0 0 if defined $lastsep
4461 0 0 if defined $main::RD_TRACE
4468 0 0 if defined $main::RD_TRACE
4475 0 0 if defined $main::RD_TRACE
4482 0 0 unless (defined($_tok = closing_tag($thisparser, $text, $repeating, $_noactions, sub { \@arg; } , undef)))
4485 0 0 if defined $main::RD_TRACE
4493 0 0 if defined $main::RD_TRACE
4505 0 0 if defined $main::RD_TRACE
4512 0 0 $_noactions ? :
4523 0 0 unless (defined $_tok)
4525 0 0 if defined $main::RD_TRACE
4529 0 0 if defined $main::RD_TRACE
4537 0 0 if defined $main::RD_TRACE
4550 256 0 unless ($_matched or defined $score)
4555 0 256 if defined $main::RD_TRACE
4562 0 0 if (not defined $return and defined $score)
4564 0 0 if defined $main::RD_TRACE
4571 0 0 unless defined $return
4572 0 0 if (defined $main::RD_TRACE)
4597 0 256 if defined $main::RD_TRACE
4616 256 0 defined $_[4] ? :
4618 230 26 $#arg & 1 ? :
4636 0 256 if defined $main::RD_TRACE
4649 0 256 if defined $main::RD_TRACE
4657 0 256 if $lastsep = $1
0 256 unless ($text =~ s/\A($Parse::RecDescent::Template::Mustache::Parser::skip)/'' if $lastsep = $1;/e and $text =~ /\A(?:\s*)/)
4659 0 0 if defined $lastsep
4661 0 0 if defined $main::RD_TRACE
4669 0 256 if defined $main::RD_TRACE
4676 0 256 if defined $main::RD_TRACE
4683 176 80 unless (defined($_tok = opening_tag($thisparser, $text, $repeating, $_noactions, sub { \@arg; } , undef)))
4686 0 176 if defined $main::RD_TRACE
4694 0 80 if defined $main::RD_TRACE
4706 0 80 if defined $main::RD_TRACE
4715 0 80 if $lastsep = $1
80 0 unless ($text =~ s/\A($Parse::RecDescent::Template::Mustache::Parser::skip)/'' if $lastsep = $1;/e and $text =~ /\A\&/)
4717 80 0 if defined $lastsep
4720 0 80 if defined $main::RD_TRACE
4727 0 0 if defined $main::RD_TRACE
4734 0 0 if defined $main::RD_TRACE
4742 0 0 if $lastsep = $1
0 0 unless ($text =~ s/\A($Parse::RecDescent::Template::Mustache::Parser::skip)/'' if $lastsep = $1;/e and $text =~ /\A(?:\s*)/)
4744 0 0 if defined $lastsep
4746 0 0 if defined $main::RD_TRACE
4754 0 0 if defined $main::RD_TRACE
4761 0 0 if defined $main::RD_TRACE
4768 0 0 unless (defined($_tok = variable_name($thisparser, $text, $repeating, $_noactions, sub { \@arg; } , undef)))
4771 0 0 if defined $main::RD_TRACE
4779 0 0 if defined $main::RD_TRACE
4791 0 0 if defined $main::RD_TRACE
4799 0 0 if $lastsep = $1
0 0 unless ($text =~ s/\A($Parse::RecDescent::Template::Mustache::Parser::skip)/'' if $lastsep = $1;/e and $text =~ /\A(?:\s*)/)
4801 0 0 if defined $lastsep
4803 0 0 if defined $main::RD_TRACE
4811 0 0 if defined $main::RD_TRACE
4818 0 0 if defined $main::RD_TRACE
4825 0 0 unless (defined($_tok = closing_tag($thisparser, $text, $repeating, $_noactions, sub { \@arg; } , undef)))
4828 0 0 if defined $main::RD_TRACE
4836 0 0 if defined $main::RD_TRACE
4848 0 0 if defined $main::RD_TRACE
4855 0 0 $_noactions ? :
4866 0 0 unless (defined $_tok)
4868 0 0 if defined $main::RD_TRACE
4872 0 0 if defined $main::RD_TRACE
4880 0 0 if defined $main::RD_TRACE
4893 256 0 unless ($_matched or defined $score)
4898 0 256 if defined $main::RD_TRACE
4905 0 0 if (not defined $return and defined $score)
4907 0 0 if defined $main::RD_TRACE
4914 0 0 unless defined $return
4915 0 0 if (defined $main::RD_TRACE)
4940 0 256 if defined $main::RD_TRACE
4959 256 0 defined $_[4] ? :
4961 230 26 $#arg & 1 ? :
4979 0 256 if defined $main::RD_TRACE
4992 0 256 if defined $main::RD_TRACE
5000 0 256 if $lastsep = $1
0 256 unless ($text =~ s/\A($Parse::RecDescent::Template::Mustache::Parser::skip)/'' if $lastsep = $1;/e and $text =~ /\A(?:\s*)/)
5002 0 0 if defined $lastsep
5004 0 0 if defined $main::RD_TRACE
5012 0 256 if defined $main::RD_TRACE
5019 0 256 if defined $main::RD_TRACE
5026 176 80 unless (defined($_tok = opening_tag($thisparser, $text, $repeating, $_noactions, sub { \@arg; } , undef)))
5029 0 176 if defined $main::RD_TRACE
5037 0 80 if defined $main::RD_TRACE
5049 0 80 if defined $main::RD_TRACE
5057 0 80 if $lastsep = $1
0 80 unless ($text =~ s/\A($Parse::RecDescent::Template::Mustache::Parser::skip)/'' if $lastsep = $1;/e and $text =~ /\A(?:\s*)/)
5059 0 0 if defined $lastsep
5061 0 0 if defined $main::RD_TRACE
5069 0 80 if defined $main::RD_TRACE
5076 0 80 if defined $main::RD_TRACE
5083 17 63 unless (defined($_tok = variable_name($thisparser, $text, $repeating, $_noactions, sub { \@arg; } , undef)))
5086 0 17 if defined $main::RD_TRACE
5094 0 63 if defined $main::RD_TRACE
5106 0 63 if defined $main::RD_TRACE
5114 0 63 if $lastsep = $1
0 63 unless ($text =~ s/\A($Parse::RecDescent::Template::Mustache::Parser::skip)/'' if $lastsep = $1;/e and $text =~ /\A(?:\s*)/)
5116 0 0 if defined $lastsep
5118 0 0 if defined $main::RD_TRACE
5126 0 63 if defined $main::RD_TRACE
5133 0 63 if defined $main::RD_TRACE
5140 0 63 unless (defined($_tok = closing_tag($thisparser, $text, $repeating, $_noactions, sub { \@arg; } , undef)))
5143 0 0 if defined $main::RD_TRACE
5151 0 63 if defined $main::RD_TRACE
5163 0 63 if defined $main::RD_TRACE
5170 0 63 $_noactions ? :
5179 0 63 unless (defined $_tok)
5181 0 0 if defined $main::RD_TRACE
5185 0 63 if defined $main::RD_TRACE
5193 0 63 if defined $main::RD_TRACE
5206 193 63 unless ($_matched or defined $score)
5211 0 193 if defined $main::RD_TRACE
5218 0 63 if (not defined $return and defined $score)
5220 0 0 if defined $main::RD_TRACE
5227 63 0 unless defined $return
5228 0 63 if (defined $main::RD_TRACE)
5253 0 80 if defined $main::RD_TRACE
5272 80 0 defined $_[4] ? :
5274 59 21 $#arg & 1 ? :
5292 0 80 if defined $main::RD_TRACE
5305 0 80 if defined $main::RD_TRACE
5313 0 80 if $lastsep = $1
17 63 unless ($text =~ s/\A($Parse::RecDescent::Template::Mustache::Parser::skip)/'' if $lastsep = $1;/e and $text =~ /\A(?:[-\w.]+)/)
5315 17 0 if defined $lastsep
5317 0 17 if defined $main::RD_TRACE
5325 0 63 if defined $main::RD_TRACE
5332 0 63 if defined $main::RD_TRACE
5345 17 63 unless ($_matched or defined $score)
5350 0 17 if defined $main::RD_TRACE
5357 0 63 if (not defined $return and defined $score)
5359 0 0 if defined $main::RD_TRACE
5366 63 0 unless defined $return
5367 0 63 if (defined $main::RD_TRACE)
5392 0 193 if defined $main::RD_TRACE
5411 193 0 defined $_[4] ? :
5413 179 14 $#arg & 1 ? :
5431 0 193 if defined $main::RD_TRACE
5444 0 193 if defined $main::RD_TRACE
5451 0 193 $_noactions ? :
5452 0 193 unless (defined $_tok)
5454 0 0 if defined $main::RD_TRACE
5458 0 193 if defined $main::RD_TRACE
5466 0 193 if defined $main::RD_TRACE
5474 0 193 if $lastsep = $1
0 193 unless ($text =~ s/\A($Parse::RecDescent::Template::Mustache::Parser::skip)/'' if $lastsep = $1;/e and $text =~ /\A(?:^\s*\S*?(?=\Q$item[1]\E|\s|$))/)
5476 0 0 if defined $lastsep
5478 0 0 if defined $main::RD_TRACE
5486 0 193 if defined $main::RD_TRACE
5493 0 193 if defined $main::RD_TRACE
5500 0 193 $_noactions ? :
5504 0 193 unless (defined $_tok)
5506 0 0 if defined $main::RD_TRACE
5510 0 193 if defined $main::RD_TRACE
5518 0 193 if defined $main::RD_TRACE
5531 0 193 unless ($_matched or defined $score)
5536 0 0 if defined $main::RD_TRACE
5543 0 193 if (not defined $return and defined $score)
5545 0 0 if defined $main::RD_TRACE
5552 193 0 unless defined $return
5553 0 193 if (defined $main::RD_TRACE)