line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package DTL::Fast::Tag::Ifnotequal; |
2
|
2
|
|
|
2
|
|
725
|
use strict; |
|
2
|
|
|
|
|
5
|
|
|
2
|
|
|
|
|
46
|
|
3
|
2
|
|
|
2
|
|
9
|
use utf8; |
|
2
|
|
|
|
|
3
|
|
|
2
|
|
|
|
|
43
|
|
4
|
2
|
|
|
2
|
|
46
|
use warnings FATAL => 'all'; |
|
2
|
|
|
|
|
5
|
|
|
2
|
|
|
|
|
57
|
|
5
|
2
|
|
|
2
|
|
9
|
use parent 'DTL::Fast::Tag::Ifequal'; |
|
2
|
|
|
|
|
3
|
|
|
2
|
|
|
|
|
9
|
|
6
|
|
|
|
|
|
|
|
7
|
|
|
|
|
|
|
$DTL::Fast::TAG_HANDLERS{ifnotequal} = __PACKAGE__; |
8
|
|
|
|
|
|
|
|
9
|
2
|
|
|
2
|
|
117
|
use DTL::Fast::Tag::If::Condition; |
|
2
|
|
|
|
|
4
|
|
|
2
|
|
|
|
|
34
|
|
10
|
2
|
|
|
2
|
|
701
|
use DTL::Fast::Expression::Operator::Binary::Ne; |
|
2
|
|
|
|
|
4
|
|
|
2
|
|
|
|
|
142
|
|
11
|
|
|
|
|
|
|
|
12
|
|
|
|
|
|
|
#@Override |
13
|
16
|
|
|
16
|
0
|
39
|
sub get_close_tag { return 'endifnotequal';} |
14
|
|
|
|
|
|
|
|
15
|
|
|
|
|
|
|
#@Override |
16
|
|
|
|
|
|
|
sub add_main_condition |
17
|
|
|
|
|
|
|
{ |
18
|
16
|
|
|
16
|
0
|
20
|
my $self = shift; |
19
|
16
|
|
|
|
|
30
|
my $sources = shift; |
20
|
16
|
|
|
|
|
23
|
return $self->add_condition(DTL::Fast::Expression::Operator::Binary::Ne->new(@{$sources}[0, 1])); |
|
16
|
|
|
|
|
56
|
|
21
|
|
|
|
|
|
|
} |
22
|
|
|
|
|
|
|
|
23
|
|
|
|
|
|
|
1; |