line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Moose::Meta::Method::Accessor::Native::Array::unshift; |
2
|
|
|
|
|
|
|
our $VERSION = '2.2206'; |
3
|
|
|
|
|
|
|
|
4
|
4
|
|
|
4
|
|
3013
|
use strict; |
|
4
|
|
|
|
|
12
|
|
|
4
|
|
|
|
|
139
|
|
5
|
4
|
|
|
4
|
|
24
|
use warnings; |
|
4
|
|
|
|
|
10
|
|
|
4
|
|
|
|
|
144
|
|
6
|
|
|
|
|
|
|
|
7
|
4
|
|
|
4
|
|
25
|
use Moose::Role; |
|
4
|
|
|
|
|
9
|
|
|
4
|
|
|
|
|
43
|
|
8
|
|
|
|
|
|
|
|
9
|
|
|
|
|
|
|
with 'Moose::Meta::Method::Accessor::Native::Array::Writer'; |
10
|
|
|
|
|
|
|
|
11
|
9
|
|
|
9
|
|
30
|
sub _adds_members { 1 } |
12
|
|
|
|
|
|
|
|
13
|
|
|
|
|
|
|
sub _potential_value { |
14
|
19
|
|
|
19
|
|
57
|
my $self = shift; |
15
|
19
|
|
|
|
|
62
|
my ($slot_access) = @_; |
16
|
|
|
|
|
|
|
|
17
|
19
|
|
|
|
|
79
|
return '[ @_, @{ (' . $slot_access . ') } ]'; |
18
|
|
|
|
|
|
|
} |
19
|
|
|
|
|
|
|
|
20
|
|
|
|
|
|
|
sub _inline_optimized_set_new_value { |
21
|
12
|
|
|
12
|
|
31
|
my $self = shift; |
22
|
12
|
|
|
|
|
41
|
my ($inv, $new, $slot_access) = @_; |
23
|
|
|
|
|
|
|
|
24
|
12
|
|
|
|
|
74
|
return 'unshift @{ (' . $slot_access . ') }, @_;'; |
25
|
|
|
|
|
|
|
} |
26
|
|
|
|
|
|
|
|
27
|
|
|
|
|
|
|
sub _return_value { |
28
|
38
|
|
|
38
|
|
84
|
my $self = shift; |
29
|
38
|
|
|
|
|
90
|
my ($slot_access) = @_; |
30
|
|
|
|
|
|
|
|
31
|
38
|
|
|
|
|
239
|
return 'scalar @{ (' . $slot_access . ') }'; |
32
|
|
|
|
|
|
|
} |
33
|
|
|
|
|
|
|
|
34
|
4
|
|
|
4
|
|
43
|
no Moose::Role; |
|
4
|
|
|
|
|
17
|
|
|
4
|
|
|
|
|
28
|
|
35
|
|
|
|
|
|
|
|
36
|
|
|
|
|
|
|
1; |