line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Moose::Meta::Method::Accessor::Native::Array::push; |
2
|
|
|
|
|
|
|
our $VERSION = '2.2203'; |
3
|
|
|
|
|
|
|
|
4
|
11
|
|
|
11
|
|
7049
|
use strict; |
|
11
|
|
|
|
|
26
|
|
|
11
|
|
|
|
|
364
|
|
5
|
11
|
|
|
11
|
|
64
|
use warnings; |
|
11
|
|
|
|
|
22
|
|
|
11
|
|
|
|
|
335
|
|
6
|
|
|
|
|
|
|
|
7
|
11
|
|
|
11
|
|
56
|
use Moose::Role; |
|
11
|
|
|
|
|
27
|
|
|
11
|
|
|
|
|
91
|
|
8
|
|
|
|
|
|
|
|
9
|
|
|
|
|
|
|
with 'Moose::Meta::Method::Accessor::Native::Array::Writer'; |
10
|
|
|
|
|
|
|
|
11
|
64
|
|
|
64
|
|
181
|
sub _adds_members { 1 } |
12
|
|
|
|
|
|
|
|
13
|
|
|
|
|
|
|
sub _potential_value { |
14
|
87
|
|
|
87
|
|
216
|
my $self = shift; |
15
|
87
|
|
|
|
|
196
|
my ($slot_access) = @_; |
16
|
|
|
|
|
|
|
|
17
|
87
|
|
|
|
|
343
|
return '[ @{ (' . $slot_access . ') }, @_ ]'; |
18
|
|
|
|
|
|
|
} |
19
|
|
|
|
|
|
|
|
20
|
|
|
|
|
|
|
sub _inline_optimized_set_new_value { |
21
|
76
|
|
|
76
|
|
155
|
my $self = shift; |
22
|
76
|
|
|
|
|
208
|
my ($inv, $new, $slot_access) = @_; |
23
|
|
|
|
|
|
|
|
24
|
76
|
|
|
|
|
414
|
return 'push @{ (' . $slot_access . ') }, @_;'; |
25
|
|
|
|
|
|
|
} |
26
|
|
|
|
|
|
|
|
27
|
|
|
|
|
|
|
sub _return_value { |
28
|
174
|
|
|
174
|
|
295
|
my $self = shift; |
29
|
174
|
|
|
|
|
345
|
my ($slot_access) = @_; |
30
|
|
|
|
|
|
|
|
31
|
174
|
|
|
|
|
731
|
return 'scalar @{ (' . $slot_access . ') }'; |
32
|
|
|
|
|
|
|
} |
33
|
|
|
|
|
|
|
|
34
|
11
|
|
|
11
|
|
85
|
no Moose::Role; |
|
11
|
|
|
|
|
25
|
|
|
11
|
|
|
|
|
58
|
|
35
|
|
|
|
|
|
|
|
36
|
|
|
|
|
|
|
1; |