line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package macro::filter; |
2
|
|
|
|
|
|
|
|
3
|
7
|
|
|
7
|
|
78304
|
use strict; |
|
7
|
|
|
|
|
14
|
|
|
7
|
|
|
|
|
422
|
|
4
|
7
|
|
|
7
|
|
43
|
use warnings; |
|
7
|
|
|
|
|
22
|
|
|
7
|
|
|
|
|
1320
|
|
5
|
|
|
|
|
|
|
|
6
|
|
|
|
|
|
|
BEGIN{ |
7
|
7
|
|
|
7
|
|
959
|
require macro; |
8
|
7
|
|
|
|
|
128
|
our @ISA = qw(macro); |
9
|
7
|
|
|
|
|
155
|
*VERSION = \$macro::VERSION; |
10
|
|
|
|
|
|
|
} |
11
|
|
|
|
|
|
|
|
12
|
7
|
|
|
7
|
|
6786
|
use Filter::Util::Call (); |
|
7
|
|
|
|
|
7588
|
|
|
7
|
|
|
|
|
2170
|
|
13
|
|
|
|
|
|
|
|
14
|
|
|
|
|
|
|
sub import{ |
15
|
13
|
|
|
13
|
|
74
|
my $class = shift; |
16
|
|
|
|
|
|
|
|
17
|
13
|
100
|
|
|
|
67
|
return unless @_; |
18
|
|
|
|
|
|
|
|
19
|
12
|
|
|
|
|
87
|
my $self = $class->new(); |
20
|
|
|
|
|
|
|
|
21
|
12
|
|
|
|
|
85
|
$self->defmacro(@_); |
22
|
|
|
|
|
|
|
|
23
|
|
|
|
|
|
|
|
24
|
12
|
|
|
|
|
84
|
Filter::Util::Call::filter_add($self); |
25
|
12
|
|
|
|
|
1098
|
return; |
26
|
|
|
|
|
|
|
} |
27
|
|
|
|
|
|
|
|
28
|
|
|
|
|
|
|
sub filter :method{ |
29
|
12
|
|
|
12
|
0
|
31
|
my($self) = @_; |
30
|
|
|
|
|
|
|
|
31
|
12
|
|
|
|
|
43
|
Filter::Util::Call::filter_del(); |
32
|
|
|
|
|
|
|
|
33
|
12
|
|
|
|
|
784
|
1 while Filter::Util::Call::filter_read(); |
34
|
|
|
|
|
|
|
|
35
|
12
|
|
|
|
|
95
|
$_ = $self->process( $_, [caller]); |
36
|
|
|
|
|
|
|
|
37
|
12
|
|
|
|
|
59821
|
return 1; |
38
|
|
|
|
|
|
|
} |
39
|
|
|
|
|
|
|
|
40
|
|
|
|
|
|
|
|
41
|
|
|
|
|
|
|
1; |
42
|
|
|
|
|
|
|
__END__ |