line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package DTL::Fast::Expression::Operator::Unary::Not; |
2
|
5
|
|
|
5
|
|
4949
|
use strict; use utf8; use warnings FATAL => 'all'; |
|
5
|
|
|
5
|
|
10
|
|
|
5
|
|
|
5
|
|
142
|
|
|
5
|
|
|
|
|
25
|
|
|
5
|
|
|
|
|
10
|
|
|
5
|
|
|
|
|
31
|
|
|
5
|
|
|
|
|
128
|
|
|
5
|
|
|
|
|
11
|
|
|
5
|
|
|
|
|
202
|
|
3
|
5
|
|
|
5
|
|
26
|
use parent 'DTL::Fast::Expression::Operator::Unary::Logical'; |
|
5
|
|
|
|
|
8
|
|
|
5
|
|
|
|
|
34
|
|
4
|
|
|
|
|
|
|
|
5
|
|
|
|
|
|
|
$DTL::Fast::OPS_HANDLERS{'not'} = __PACKAGE__; |
6
|
|
|
|
|
|
|
|
7
|
|
|
|
|
|
|
sub dispatch |
8
|
|
|
|
|
|
|
{ |
9
|
922
|
|
|
922
|
0
|
1426
|
my( $self, $arg1) = @_; |
10
|
922
|
|
|
|
|
1349
|
my $arg1_type = ref $arg1; |
11
|
|
|
|
|
|
|
|
12
|
922
|
50
|
|
|
|
3759
|
if( UNIVERSAL::can($arg1, 'not')) |
13
|
|
|
|
|
|
|
{ |
14
|
0
|
|
|
|
|
0
|
return $arg1->not(); |
15
|
|
|
|
|
|
|
} |
16
|
|
|
|
|
|
|
else |
17
|
|
|
|
|
|
|
{ |
18
|
922
|
|
|
|
|
3610
|
return !$arg1; |
19
|
|
|
|
|
|
|
} |
20
|
|
|
|
|
|
|
} |
21
|
|
|
|
|
|
|
|
22
|
|
|
|
|
|
|
1; |