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