line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package MooseX::Role::WithOverloading::Meta::Role::Composite; |
2
|
|
|
|
|
|
|
|
3
|
|
|
|
|
|
|
our $VERSION = '0.17'; |
4
|
|
|
|
|
|
|
|
5
|
9
|
|
|
9
|
|
6861
|
use Moose::Role; |
|
9
|
|
|
|
|
16
|
|
|
9
|
|
|
|
|
58
|
|
6
|
9
|
|
|
9
|
|
46079
|
use Moose::Util::MetaRole; |
|
9
|
|
|
|
|
20
|
|
|
9
|
|
|
|
|
243
|
|
7
|
9
|
|
|
9
|
|
42
|
use aliased 'MooseX::Role::WithOverloading::Meta::Role::Application::Composite::ToClass'; |
|
9
|
|
|
|
|
18
|
|
|
9
|
|
|
|
|
75
|
|
8
|
9
|
|
|
9
|
|
906
|
use aliased 'MooseX::Role::WithOverloading::Meta::Role::Application::Composite::ToRole'; |
|
9
|
|
|
|
|
42
|
|
|
9
|
|
|
|
|
55
|
|
9
|
9
|
|
|
9
|
|
1044
|
use aliased 'MooseX::Role::WithOverloading::Meta::Role::Application::Composite::ToInstance'; |
|
9
|
|
|
|
|
21
|
|
|
9
|
|
|
|
|
53
|
|
10
|
|
|
|
|
|
|
|
11
|
9
|
|
|
9
|
|
917
|
use namespace::autoclean; |
|
9
|
|
|
|
|
18
|
|
|
9
|
|
|
|
|
50
|
|
12
|
|
|
|
|
|
|
|
13
|
|
|
|
|
|
|
around apply_params => sub { |
14
|
|
|
|
|
|
|
my ($next, $self, @args) = @_; |
15
|
|
|
|
|
|
|
return Moose::Util::MetaRole::apply_metaroles( |
16
|
|
|
|
|
|
|
for => $self->$next(@args), |
17
|
|
|
|
|
|
|
role_metaroles => { |
18
|
|
|
|
|
|
|
application_to_class => [ToClass], |
19
|
|
|
|
|
|
|
application_to_role => [ToRole], |
20
|
|
|
|
|
|
|
application_to_instance => [ToInstance], |
21
|
|
|
|
|
|
|
}, |
22
|
|
|
|
|
|
|
); |
23
|
|
|
|
|
|
|
}; |
24
|
|
|
|
|
|
|
|
25
|
|
|
|
|
|
|
1; |