line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Tangerine::HookData; |
2
|
|
|
|
|
|
|
$Tangerine::HookData::VERSION = '0.20'; |
3
|
15
|
|
|
15
|
|
3576
|
use strict; |
|
15
|
|
|
|
|
29
|
|
|
15
|
|
|
|
|
394
|
|
4
|
15
|
|
|
15
|
|
75
|
use warnings; |
|
15
|
|
|
|
|
26
|
|
|
15
|
|
|
|
|
448
|
|
5
|
15
|
|
|
15
|
|
82
|
use Tangerine::Utils qw/accessor/; |
|
15
|
|
|
|
|
33
|
|
|
15
|
|
|
|
|
3195
|
|
6
|
|
|
|
|
|
|
|
7
|
|
|
|
|
|
|
sub new { |
8
|
178
|
|
|
178
|
0
|
722
|
my $class = shift; |
9
|
178
|
|
|
|
|
396
|
my %args = @_; |
10
|
|
|
|
|
|
|
bless { |
11
|
|
|
|
|
|
|
_children => $args{children} // [], |
12
|
|
|
|
|
|
|
_hooks => $args{hooks} // [], |
13
|
|
|
|
|
|
|
_modules => $args{modules} // {}, |
14
|
|
|
|
|
|
|
_type => $args{type}, |
15
|
178
|
|
100
|
|
|
2680
|
}, $class |
|
|
|
100
|
|
|
|
|
|
|
|
100
|
|
|
|
|
16
|
|
|
|
|
|
|
} |
17
|
|
|
|
|
|
|
|
18
|
200
|
|
|
200
|
1
|
482
|
sub children { accessor _children => @_ } |
19
|
192
|
|
|
192
|
1
|
492
|
sub hooks { accessor _hooks => @_ } |
20
|
178
|
|
|
178
|
1
|
458
|
sub modules { accessor _modules => @_ } |
21
|
22
|
|
|
22
|
1
|
50
|
sub type { accessor _type => @_ } |
22
|
|
|
|
|
|
|
|
23
|
|
|
|
|
|
|
1; |
24
|
|
|
|
|
|
|
|
25
|
|
|
|
|
|
|
__END__ |