line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Moose::Meta::Method::Accessor::Native::Number::add; |
2
|
|
|
|
|
|
|
our $VERSION = '2.2206'; |
3
|
|
|
|
|
|
|
|
4
|
2
|
|
|
2
|
|
1150
|
use strict; |
|
2
|
|
|
|
|
5
|
|
|
2
|
|
|
|
|
65
|
|
5
|
2
|
|
|
2
|
|
10
|
use warnings; |
|
2
|
|
|
|
|
6
|
|
|
2
|
|
|
|
|
51
|
|
6
|
|
|
|
|
|
|
|
7
|
2
|
|
|
2
|
|
9
|
use Moose::Role; |
|
2
|
|
|
|
|
4
|
|
|
2
|
|
|
|
|
12
|
|
8
|
|
|
|
|
|
|
|
9
|
|
|
|
|
|
|
with 'Moose::Meta::Method::Accessor::Native::Writer'; |
10
|
|
|
|
|
|
|
|
11
|
14
|
|
|
14
|
|
52
|
sub _minimum_arguments { 1 } |
12
|
|
|
|
|
|
|
|
13
|
14
|
|
|
14
|
|
51
|
sub _maximum_arguments { 1 } |
14
|
|
|
|
|
|
|
|
15
|
|
|
|
|
|
|
sub _potential_value { |
16
|
14
|
|
|
14
|
|
30
|
my $self = shift; |
17
|
14
|
|
|
|
|
33
|
my ($slot_access) = @_; |
18
|
|
|
|
|
|
|
|
19
|
14
|
|
|
|
|
54
|
return $slot_access . ' + $_[0]'; |
20
|
|
|
|
|
|
|
} |
21
|
|
|
|
|
|
|
|
22
|
|
|
|
|
|
|
sub _inline_optimized_set_new_value { |
23
|
0
|
|
|
0
|
|
|
my $self = shift; |
24
|
0
|
|
|
|
|
|
my ($inv, $new, $slot_access) = @_; |
25
|
|
|
|
|
|
|
|
26
|
0
|
|
|
|
|
|
return $slot_access . ' += $_[0];'; |
27
|
|
|
|
|
|
|
} |
28
|
|
|
|
|
|
|
|
29
|
2
|
|
|
2
|
|
25
|
no Moose::Role; |
|
2
|
|
|
|
|
6
|
|
|
2
|
|
|
|
|
9
|
|
30
|
|
|
|
|
|
|
|
31
|
|
|
|
|
|
|
1; |