line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package DTL::Fast::Expression::Operator::Unary::Not; |
2
|
5
|
|
|
5
|
|
4464
|
use strict; use utf8; use warnings FATAL => 'all'; |
|
5
|
|
|
5
|
|
7
|
|
|
5
|
|
|
5
|
|
143
|
|
|
5
|
|
|
|
|
21
|
|
|
5
|
|
|
|
|
7
|
|
|
5
|
|
|
|
|
32
|
|
|
5
|
|
|
|
|
130
|
|
|
5
|
|
|
|
|
8
|
|
|
5
|
|
|
|
|
250
|
|
3
|
5
|
|
|
5
|
|
20
|
use parent 'DTL::Fast::Expression::Operator::Unary::Logical'; |
|
5
|
|
|
|
|
7
|
|
|
5
|
|
|
|
|
30
|
|
4
|
|
|
|
|
|
|
|
5
|
|
|
|
|
|
|
$DTL::Fast::OPS_HANDLERS{'not'} = __PACKAGE__; |
6
|
|
|
|
|
|
|
|
7
|
|
|
|
|
|
|
sub dispatch |
8
|
|
|
|
|
|
|
{ |
9
|
922
|
|
|
922
|
0
|
975
|
my( $self, $arg1) = @_; |
10
|
922
|
|
|
|
|
834
|
my $arg1_type = ref $arg1; |
11
|
|
|
|
|
|
|
|
12
|
922
|
50
|
|
|
|
3108
|
if( UNIVERSAL::can($arg1, 'not')) |
13
|
|
|
|
|
|
|
{ |
14
|
0
|
|
|
|
|
0
|
return $arg1->not(); |
15
|
|
|
|
|
|
|
} |
16
|
|
|
|
|
|
|
else |
17
|
|
|
|
|
|
|
{ |
18
|
922
|
|
|
|
|
2361
|
return !$arg1; |
19
|
|
|
|
|
|
|
} |
20
|
|
|
|
|
|
|
} |
21
|
|
|
|
|
|
|
|
22
|
|
|
|
|
|
|
1; |