line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package DTL::Fast::Tag::Spaceless; |
2
|
2
|
|
|
2
|
|
1146
|
use strict; use utf8; use warnings FATAL => 'all'; |
|
2
|
|
|
2
|
|
3
|
|
|
2
|
|
|
2
|
|
60
|
|
|
2
|
|
|
|
|
13
|
|
|
2
|
|
|
|
|
4
|
|
|
2
|
|
|
|
|
415
|
|
|
2
|
|
|
|
|
74
|
|
|
2
|
|
|
|
|
3
|
|
|
2
|
|
|
|
|
104
|
|
3
|
2
|
|
|
2
|
|
12
|
use parent 'DTL::Fast::Tag'; |
|
2
|
|
|
|
|
3
|
|
|
2
|
|
|
|
|
12
|
|
4
|
|
|
|
|
|
|
|
5
|
|
|
|
|
|
|
$DTL::Fast::TAG_HANDLERS{'spaceless'} = __PACKAGE__; |
6
|
|
|
|
|
|
|
|
7
|
|
|
|
|
|
|
#@Override |
8
|
1
|
|
|
1
|
0
|
4
|
sub get_close_tag{return 'endspaceless';} |
9
|
|
|
|
|
|
|
|
10
|
|
|
|
|
|
|
sub render |
11
|
|
|
|
|
|
|
{ |
12
|
1
|
|
|
1
|
0
|
1
|
my $self = shift; |
13
|
1
|
|
|
|
|
1
|
my $context = shift; |
14
|
|
|
|
|
|
|
|
15
|
1
|
|
|
|
|
6
|
my $result = $self->SUPER::render($context); |
16
|
|
|
|
|
|
|
|
17
|
1
|
|
|
|
|
8
|
return DTL::Fast::spaceless($result); |
18
|
|
|
|
|
|
|
} |
19
|
|
|
|
|
|
|
|
20
|
|
|
|
|
|
|
1; |