line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Moose::Meta::Method::Accessor::Native::Array::push; |
2
|
|
|
|
|
|
|
our $VERSION = '2.2206'; |
3
|
|
|
|
|
|
|
|
4
|
11
|
|
|
11
|
|
7760
|
use strict; |
|
11
|
|
|
|
|
29
|
|
|
11
|
|
|
|
|
391
|
|
5
|
11
|
|
|
11
|
|
79
|
use warnings; |
|
11
|
|
|
|
|
26
|
|
|
11
|
|
|
|
|
336
|
|
6
|
|
|
|
|
|
|
|
7
|
11
|
|
|
11
|
|
57
|
use Moose::Role; |
|
11
|
|
|
|
|
38
|
|
|
11
|
|
|
|
|
103
|
|
8
|
|
|
|
|
|
|
|
9
|
|
|
|
|
|
|
with 'Moose::Meta::Method::Accessor::Native::Array::Writer'; |
10
|
|
|
|
|
|
|
|
11
|
64
|
|
|
64
|
|
204
|
sub _adds_members { 1 } |
12
|
|
|
|
|
|
|
|
13
|
|
|
|
|
|
|
sub _potential_value { |
14
|
87
|
|
|
87
|
|
187
|
my $self = shift; |
15
|
87
|
|
|
|
|
217
|
my ($slot_access) = @_; |
16
|
|
|
|
|
|
|
|
17
|
87
|
|
|
|
|
326
|
return '[ @{ (' . $slot_access . ') }, @_ ]'; |
18
|
|
|
|
|
|
|
} |
19
|
|
|
|
|
|
|
|
20
|
|
|
|
|
|
|
sub _inline_optimized_set_new_value { |
21
|
76
|
|
|
76
|
|
168
|
my $self = shift; |
22
|
76
|
|
|
|
|
235
|
my ($inv, $new, $slot_access) = @_; |
23
|
|
|
|
|
|
|
|
24
|
76
|
|
|
|
|
469
|
return 'push @{ (' . $slot_access . ') }, @_;'; |
25
|
|
|
|
|
|
|
} |
26
|
|
|
|
|
|
|
|
27
|
|
|
|
|
|
|
sub _return_value { |
28
|
174
|
|
|
174
|
|
319
|
my $self = shift; |
29
|
174
|
|
|
|
|
366
|
my ($slot_access) = @_; |
30
|
|
|
|
|
|
|
|
31
|
174
|
|
|
|
|
874
|
return 'scalar @{ (' . $slot_access . ') }'; |
32
|
|
|
|
|
|
|
} |
33
|
|
|
|
|
|
|
|
34
|
11
|
|
|
11
|
|
90
|
no Moose::Role; |
|
11
|
|
|
|
|
27
|
|
|
11
|
|
|
|
|
68
|
|
35
|
|
|
|
|
|
|
|
36
|
|
|
|
|
|
|
1; |