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