line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package DTL::Fast::Tag::Ifnotequal; |
2
|
2
|
|
|
2
|
|
1455
|
use strict; use utf8; use warnings FATAL => 'all'; |
|
2
|
|
|
2
|
|
5
|
|
|
2
|
|
|
2
|
|
63
|
|
|
2
|
|
|
|
|
13
|
|
|
2
|
|
|
|
|
3
|
|
|
2
|
|
|
|
|
126
|
|
|
2
|
|
|
|
|
222
|
|
|
2
|
|
|
|
|
5
|
|
|
2
|
|
|
|
|
172
|
|
3
|
2
|
|
|
2
|
|
10
|
use parent 'DTL::Fast::Tag::Ifequal'; |
|
2
|
|
|
|
|
5
|
|
|
2
|
|
|
|
|
12
|
|
4
|
|
|
|
|
|
|
|
5
|
|
|
|
|
|
|
$DTL::Fast::TAG_HANDLERS{'ifnotequal'} = __PACKAGE__; |
6
|
|
|
|
|
|
|
|
7
|
2
|
|
|
2
|
|
163
|
use DTL::Fast::Tag::If::Condition; |
|
2
|
|
|
|
|
3
|
|
|
2
|
|
|
|
|
59
|
|
8
|
2
|
|
|
2
|
|
1459
|
use DTL::Fast::Expression::Operator::Binary::Ne; |
|
2
|
|
|
|
|
5
|
|
|
2
|
|
|
|
|
212
|
|
9
|
|
|
|
|
|
|
|
10
|
|
|
|
|
|
|
#@Override |
11
|
16
|
|
|
16
|
0
|
64
|
sub get_close_tag{ return 'endifnotequal';} |
12
|
|
|
|
|
|
|
|
13
|
|
|
|
|
|
|
#@Override |
14
|
|
|
|
|
|
|
sub add_main_condition |
15
|
|
|
|
|
|
|
{ |
16
|
16
|
|
|
16
|
0
|
28
|
my $self = shift; |
17
|
16
|
|
|
|
|
23
|
my $sources = shift; |
18
|
16
|
|
|
|
|
27
|
return $self->add_condition(DTL::Fast::Expression::Operator::Binary::Ne->new(@{$sources}[0,1])); |
|
16
|
|
|
|
|
83
|
|
19
|
|
|
|
|
|
|
} |
20
|
|
|
|
|
|
|
|
21
|
|
|
|
|
|
|
1; |