line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Moose::Meta::Method::Accessor::Native::Number::sub; |
2
|
|
|
|
|
|
|
our $VERSION = '2.2203'; |
3
|
|
|
|
|
|
|
|
4
|
2
|
|
|
2
|
|
1124
|
use strict; |
|
2
|
|
|
|
|
4
|
|
|
2
|
|
|
|
|
61
|
|
5
|
2
|
|
|
2
|
|
9
|
use warnings; |
|
2
|
|
|
|
|
4
|
|
|
2
|
|
|
|
|
51
|
|
6
|
|
|
|
|
|
|
|
7
|
2
|
|
|
2
|
|
10
|
use Moose::Role; |
|
2
|
|
|
|
|
5
|
|
|
2
|
|
|
|
|
13
|
|
8
|
|
|
|
|
|
|
|
9
|
|
|
|
|
|
|
with 'Moose::Meta::Method::Accessor::Native::Writer'; |
10
|
|
|
|
|
|
|
|
11
|
14
|
|
|
14
|
|
38
|
sub _minimum_arguments { 1 } |
12
|
|
|
|
|
|
|
|
13
|
14
|
|
|
14
|
|
37
|
sub _maximum_arguments { 1 } |
14
|
|
|
|
|
|
|
|
15
|
|
|
|
|
|
|
sub _potential_value { |
16
|
14
|
|
|
14
|
|
25
|
my $self = shift; |
17
|
14
|
|
|
|
|
33
|
my ($slot_access) = @_; |
18
|
|
|
|
|
|
|
|
19
|
14
|
|
|
|
|
37
|
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
|
|
17
|
no Moose::Role; |
|
2
|
|
|
|
|
5
|
|
|
2
|
|
|
|
|
10
|
|
30
|
|
|
|
|
|
|
|
31
|
|
|
|
|
|
|
1; |