line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package DTL::Fast::Expression::Operator::Unary::Not; |
2
|
5
|
|
|
5
|
|
2678
|
use strict; |
|
5
|
|
|
|
|
12
|
|
|
5
|
|
|
|
|
127
|
|
3
|
5
|
|
|
5
|
|
22
|
use utf8; |
|
5
|
|
|
|
|
11
|
|
|
5
|
|
|
|
|
25
|
|
4
|
5
|
|
|
5
|
|
115
|
use warnings FATAL => 'all'; |
|
5
|
|
|
|
|
11
|
|
|
5
|
|
|
|
|
167
|
|
5
|
5
|
|
|
5
|
|
24
|
use parent 'DTL::Fast::Expression::Operator::Unary::Logical'; |
|
5
|
|
|
|
|
10
|
|
|
5
|
|
|
|
|
21
|
|
6
|
|
|
|
|
|
|
|
7
|
|
|
|
|
|
|
$DTL::Fast::OPS_HANDLERS{not} = __PACKAGE__; |
8
|
|
|
|
|
|
|
|
9
|
|
|
|
|
|
|
sub dispatch |
10
|
|
|
|
|
|
|
{ |
11
|
922
|
|
|
922
|
0
|
1733
|
my ( $self, $arg1) = @_; |
12
|
922
|
|
|
|
|
1567
|
my $arg1_type = ref $arg1; |
13
|
|
|
|
|
|
|
|
14
|
922
|
50
|
|
|
|
3728
|
if (UNIVERSAL::can($arg1, 'not')) |
15
|
|
|
|
|
|
|
{ |
16
|
0
|
|
|
|
|
0
|
return $arg1->not(); |
17
|
|
|
|
|
|
|
} |
18
|
|
|
|
|
|
|
else |
19
|
|
|
|
|
|
|
{ |
20
|
922
|
|
|
|
|
3124
|
return !$arg1; |
21
|
|
|
|
|
|
|
} |
22
|
|
|
|
|
|
|
} |
23
|
|
|
|
|
|
|
|
24
|
|
|
|
|
|
|
1; |