line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package MooseX::Meta::Method::Transactional::Meta::Role; |
2
|
5
|
|
|
5
|
|
1379
|
use Moose::Role; |
|
5
|
|
|
|
|
198640
|
|
|
5
|
|
|
|
|
25
|
|
3
|
5
|
|
|
5
|
|
18311
|
use Moose::Util::MetaRole; |
|
5
|
|
|
|
|
9
|
|
|
5
|
|
|
|
|
82
|
|
4
|
5
|
|
|
5
|
|
15
|
use Moose::Exporter; |
|
5
|
|
|
|
|
7
|
|
|
5
|
|
|
|
|
19
|
|
5
|
|
|
|
|
|
|
Moose::Exporter->setup_import_methods(also => 'Moose::Role'); |
6
|
|
|
|
|
|
|
|
7
|
|
|
|
|
|
|
sub init_meta { |
8
|
5
|
|
|
5
|
0
|
291
|
my ($class, %opts) = @_; |
9
|
|
|
|
|
|
|
|
10
|
5
|
|
|
|
|
35
|
Moose::Role->init_meta(%opts); |
11
|
|
|
|
|
|
|
|
12
|
5
|
|
|
|
|
9985
|
Moose::Util::MetaRole::apply_metaroles |
13
|
|
|
|
|
|
|
( |
14
|
|
|
|
|
|
|
for => $opts{for_class}, |
15
|
|
|
|
|
|
|
role_metaroles => |
16
|
|
|
|
|
|
|
{ |
17
|
|
|
|
|
|
|
application_to_role => |
18
|
|
|
|
|
|
|
['MooseX::Meta::Method::Transactional::Application::ToComposite'], |
19
|
|
|
|
|
|
|
application_to_class => |
20
|
|
|
|
|
|
|
['MooseX::Meta::Method::Transactional::Application::ToClass'], |
21
|
|
|
|
|
|
|
application_to_instance => |
22
|
|
|
|
|
|
|
['MooseX::Meta::Method::Transactional::Application::ToInstance'], |
23
|
|
|
|
|
|
|
} |
24
|
|
|
|
|
|
|
); |
25
|
|
|
|
|
|
|
|
26
|
5
|
|
|
|
|
10710
|
return $opts{for_class}->meta(); |
27
|
|
|
|
|
|
|
}; |
28
|
|
|
|
|
|
|
|
29
|
|
|
|
|
|
|
|
30
|
|
|
|
|
|
|
1; |