line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Moose::Meta::Method::Accessor::Native::Bool::toggle; |
2
|
|
|
|
|
|
|
our $VERSION = '2.2206'; |
3
|
|
|
|
|
|
|
|
4
|
2
|
|
|
2
|
|
1175
|
use strict; |
|
2
|
|
|
|
|
8
|
|
|
2
|
|
|
|
|
78
|
|
5
|
2
|
|
|
2
|
|
25
|
use warnings; |
|
2
|
|
|
|
|
4
|
|
|
2
|
|
|
|
|
51
|
|
6
|
|
|
|
|
|
|
|
7
|
2
|
|
|
2
|
|
11
|
use Moose::Role; |
|
2
|
|
|
|
|
6
|
|
|
2
|
|
|
|
|
16
|
|
8
|
|
|
|
|
|
|
|
9
|
|
|
|
|
|
|
with 'Moose::Meta::Method::Accessor::Native::Writer'; |
10
|
|
|
|
|
|
|
|
11
|
7
|
|
|
7
|
|
31
|
sub _maximum_arguments { 0 } |
12
|
|
|
|
|
|
|
|
13
|
|
|
|
|
|
|
sub _potential_value { |
14
|
7
|
|
|
7
|
|
15
|
my $self = shift; |
15
|
7
|
|
|
|
|
19
|
my ($slot_access) = @_; |
16
|
|
|
|
|
|
|
|
17
|
7
|
|
|
|
|
24
|
return $slot_access . ' ? 0 : 1'; |
18
|
|
|
|
|
|
|
} |
19
|
|
|
|
|
|
|
|
20
|
|
|
|
|
|
|
sub _inline_optimized_set_new_value { |
21
|
3
|
|
|
3
|
|
6
|
my $self = shift; |
22
|
3
|
|
|
|
|
15
|
my ($inv, $new, $slot_access) = @_; |
23
|
|
|
|
|
|
|
|
24
|
3
|
|
|
|
|
17
|
return $slot_access . ' = ' . $slot_access . ' ? 0 : 1;'; |
25
|
|
|
|
|
|
|
} |
26
|
|
|
|
|
|
|
|
27
|
2
|
|
|
2
|
|
23
|
no Moose::Role; |
|
2
|
|
|
|
|
5
|
|
|
2
|
|
|
|
|
10
|
|
28
|
|
|
|
|
|
|
|
29
|
|
|
|
|
|
|
1; |