line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Moose::Meta::Method::Accessor::Native::Counter::dec; |
2
|
|
|
|
|
|
|
our $VERSION = '2.2203'; |
3
|
|
|
|
|
|
|
|
4
|
4
|
|
|
4
|
|
2298
|
use strict; |
|
4
|
|
|
|
|
9
|
|
|
4
|
|
|
|
|
128
|
|
5
|
4
|
|
|
4
|
|
19
|
use warnings; |
|
4
|
|
|
|
|
8
|
|
|
4
|
|
|
|
|
112
|
|
6
|
|
|
|
|
|
|
|
7
|
4
|
|
|
4
|
|
24
|
use Moose::Role; |
|
4
|
|
|
|
|
8
|
|
|
4
|
|
|
|
|
30
|
|
8
|
|
|
|
|
|
|
|
9
|
|
|
|
|
|
|
with 'Moose::Meta::Method::Accessor::Native::Writer'; |
10
|
|
|
|
|
|
|
|
11
|
16
|
|
|
16
|
|
50
|
sub _minimum_arguments { 0 } |
12
|
16
|
|
|
16
|
|
58
|
sub _maximum_arguments { 1 } |
13
|
|
|
|
|
|
|
|
14
|
|
|
|
|
|
|
sub _potential_value { |
15
|
16
|
|
|
16
|
|
32
|
my $self = shift; |
16
|
16
|
|
|
|
|
32
|
my ($slot_access) = @_; |
17
|
|
|
|
|
|
|
|
18
|
16
|
|
|
|
|
46
|
return $slot_access . ' - (defined $_[0] ? $_[0] : 1)'; |
19
|
|
|
|
|
|
|
} |
20
|
|
|
|
|
|
|
|
21
|
|
|
|
|
|
|
sub _inline_optimized_set_new_value { |
22
|
8
|
|
|
8
|
|
18
|
my $self = shift; |
23
|
8
|
|
|
|
|
18
|
my ($inv, $new, $slot_access) = @_; |
24
|
|
|
|
|
|
|
|
25
|
8
|
|
|
|
|
59
|
return $slot_access . ' -= defined $_[0] ? $_[0] : 1;'; |
26
|
|
|
|
|
|
|
} |
27
|
|
|
|
|
|
|
|
28
|
4
|
|
|
4
|
|
32
|
no Moose::Role; |
|
4
|
|
|
|
|
10
|
|
|
4
|
|
|
|
|
27
|
|
29
|
|
|
|
|
|
|
|
30
|
|
|
|
|
|
|
1; |