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