line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Moose::Meta::Method::Accessor::Native::Array::push; |
2
|
|
|
|
|
|
|
our $VERSION = '2.2205'; |
3
|
|
|
|
|
|
|
|
4
|
11
|
|
|
11
|
|
8293
|
use strict; |
|
11
|
|
|
|
|
30
|
|
|
11
|
|
|
|
|
401
|
|
5
|
11
|
|
|
11
|
|
72
|
use warnings; |
|
11
|
|
|
|
|
27
|
|
|
11
|
|
|
|
|
400
|
|
6
|
|
|
|
|
|
|
|
7
|
11
|
|
|
11
|
|
69
|
use Moose::Role; |
|
11
|
|
|
|
|
28
|
|
|
11
|
|
|
|
|
135
|
|
8
|
|
|
|
|
|
|
|
9
|
|
|
|
|
|
|
with 'Moose::Meta::Method::Accessor::Native::Array::Writer'; |
10
|
|
|
|
|
|
|
|
11
|
64
|
|
|
64
|
|
280
|
sub _adds_members { 1 } |
12
|
|
|
|
|
|
|
|
13
|
|
|
|
|
|
|
sub _potential_value { |
14
|
87
|
|
|
87
|
|
226
|
my $self = shift; |
15
|
87
|
|
|
|
|
257
|
my ($slot_access) = @_; |
16
|
|
|
|
|
|
|
|
17
|
87
|
|
|
|
|
336
|
return '[ @{ (' . $slot_access . ') }, @_ ]'; |
18
|
|
|
|
|
|
|
} |
19
|
|
|
|
|
|
|
|
20
|
|
|
|
|
|
|
sub _inline_optimized_set_new_value { |
21
|
76
|
|
|
76
|
|
209
|
my $self = shift; |
22
|
76
|
|
|
|
|
251
|
my ($inv, $new, $slot_access) = @_; |
23
|
|
|
|
|
|
|
|
24
|
76
|
|
|
|
|
2597
|
return 'push @{ (' . $slot_access . ') }, @_;'; |
25
|
|
|
|
|
|
|
} |
26
|
|
|
|
|
|
|
|
27
|
|
|
|
|
|
|
sub _return_value { |
28
|
174
|
|
|
174
|
|
388
|
my $self = shift; |
29
|
174
|
|
|
|
|
403
|
my ($slot_access) = @_; |
30
|
|
|
|
|
|
|
|
31
|
174
|
|
|
|
|
877
|
return 'scalar @{ (' . $slot_access . ') }'; |
32
|
|
|
|
|
|
|
} |
33
|
|
|
|
|
|
|
|
34
|
11
|
|
|
11
|
|
126
|
no Moose::Role; |
|
11
|
|
|
|
|
26
|
|
|
11
|
|
|
|
|
56
|
|
35
|
|
|
|
|
|
|
|
36
|
|
|
|
|
|
|
1; |