line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package KiokuDB::TypeMap::Entry::Std::Compile; |
2
|
24
|
|
|
24
|
|
10293
|
use Moose::Role; |
|
24
|
|
|
|
|
59
|
|
|
24
|
|
|
|
|
260
|
|
3
|
|
|
|
|
|
|
|
4
|
24
|
|
|
24
|
|
95326
|
use KiokuDB::TypeMap::Entry::Compiled; |
|
24
|
|
|
|
|
46
|
|
|
24
|
|
|
|
|
602
|
|
5
|
|
|
|
|
|
|
|
6
|
24
|
|
|
24
|
|
105
|
use namespace::clean -except => 'meta'; |
|
24
|
|
|
|
|
34
|
|
|
24
|
|
|
|
|
158
|
|
7
|
|
|
|
|
|
|
|
8
|
|
|
|
|
|
|
requires qw( |
9
|
|
|
|
|
|
|
compile_collapse |
10
|
|
|
|
|
|
|
compile_expand |
11
|
|
|
|
|
|
|
compile_id |
12
|
|
|
|
|
|
|
compile_refresh |
13
|
|
|
|
|
|
|
); |
14
|
|
|
|
|
|
|
|
15
|
|
|
|
|
|
|
sub compile { |
16
|
599
|
|
|
599
|
0
|
1063
|
my ( $self, $class, @args ) = @_; |
17
|
|
|
|
|
|
|
|
18
|
599
|
|
|
|
|
2591
|
$self->new_compiled( |
19
|
|
|
|
|
|
|
collapse_method => $self->compile_collapse($class, @args), |
20
|
|
|
|
|
|
|
expand_method => $self->compile_expand($class, @args), |
21
|
|
|
|
|
|
|
id_method => $self->compile_id($class, @args), |
22
|
|
|
|
|
|
|
refresh_method => $self->compile_refresh($class, @args), |
23
|
|
|
|
|
|
|
class => $class, |
24
|
|
|
|
|
|
|
); |
25
|
|
|
|
|
|
|
} |
26
|
|
|
|
|
|
|
|
27
|
|
|
|
|
|
|
sub new_compiled { |
28
|
599
|
|
|
599
|
0
|
1794
|
my ( $self, @args ) = @_; |
29
|
|
|
|
|
|
|
|
30
|
599
|
|
|
|
|
22545
|
KiokuDB::TypeMap::Entry::Compiled->new( |
31
|
|
|
|
|
|
|
entry => $self, |
32
|
|
|
|
|
|
|
@args, |
33
|
|
|
|
|
|
|
); |
34
|
|
|
|
|
|
|
} |
35
|
|
|
|
|
|
|
|
36
|
|
|
|
|
|
|
__PACKAGE__ |
37
|
|
|
|
|
|
|
|
38
|
|
|
|
|
|
|
__END__ |