blib/lib/Text/Xslate/Syntax/Metakolon.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
statement | 9 | 9 | 100.0 |
branch | n/a | ||
condition | n/a | ||
subroutine | 5 | 5 | 100.0 |
pod | n/a | ||
total | 14 | 14 | 100.0 |
line | stmt | bran | cond | sub | pod | time | code |
---|---|---|---|---|---|---|---|
1 | package Text::Xslate::Syntax::Metakolon; | ||||||
2 | 2 | 2 | 1594 | use Mouse; | |||
2 | 3 | ||||||
2 | 13 | ||||||
3 | |||||||
4 | extends qw(Text::Xslate::Parser); | ||||||
5 | |||||||
6 | # [% ... %] and %% ... | ||||||
7 | 1 | 1 | 9 | sub _build_line_start { '%%' } | |||
8 | 1 | 1 | 7 | sub _build_tag_start { '[%' } | |||
9 | 1 | 1 | 10 | sub _build_tag_end { '%]' } | |||
10 | |||||||
11 | 2 | 2 | 744 | no Mouse; | |||
2 | 4 | ||||||
2 | 9 | ||||||
12 | __PACKAGE__->meta->make_immutable(); | ||||||
13 | |||||||
14 | __END__ |