line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package DTL::Fast::Expression::Operator::Binary; |
2
|
11
|
|
|
11
|
|
4580
|
use strict; use utf8; use warnings FATAL => 'all'; |
|
11
|
|
|
11
|
|
15
|
|
|
11
|
|
|
11
|
|
234
|
|
|
11
|
|
|
|
|
33
|
|
|
11
|
|
|
|
|
12
|
|
|
11
|
|
|
|
|
39
|
|
|
11
|
|
|
|
|
181
|
|
|
11
|
|
|
|
|
19
|
|
|
11
|
|
|
|
|
301
|
|
3
|
11
|
|
|
11
|
|
34
|
use parent 'DTL::Fast::Expression::Operator::Unary'; |
|
11
|
|
|
|
|
14
|
|
|
11
|
|
|
|
|
44
|
|
4
|
|
|
|
|
|
|
|
5
|
|
|
|
|
|
|
sub new |
6
|
|
|
|
|
|
|
{ |
7
|
171
|
|
|
171
|
0
|
281
|
my( $proto, $argument1, $argument2, %kwargs ) = @_; |
8
|
171
|
|
|
|
|
239
|
$kwargs{'b'} = $argument2; |
9
|
|
|
|
|
|
|
|
10
|
171
|
|
|
|
|
588
|
my $self = $proto->SUPER::new($argument1, %kwargs); |
11
|
|
|
|
|
|
|
|
12
|
171
|
|
|
|
|
669
|
return $self; |
13
|
|
|
|
|
|
|
} |
14
|
|
|
|
|
|
|
|
15
|
|
|
|
|
|
|
sub render |
16
|
|
|
|
|
|
|
{ |
17
|
907
|
|
|
907
|
0
|
711
|
my( $self, $context ) = @_; |
18
|
|
|
|
|
|
|
|
19
|
|
|
|
|
|
|
return $self->dispatch( |
20
|
|
|
|
|
|
|
$self->{'a'}->render($context, 1) |
21
|
907
|
|
|
|
|
1858
|
, $self->{'b'}->render($context, 1) |
22
|
|
|
|
|
|
|
, $context |
23
|
|
|
|
|
|
|
); |
24
|
|
|
|
|
|
|
} |
25
|
|
|
|
|
|
|
|
26
|
|
|
|
|
|
|
sub dispatch |
27
|
|
|
|
|
|
|
{ |
28
|
0
|
|
|
0
|
0
|
|
my( $self, $arg1, $arg2 ) = @_; |
29
|
0
|
|
|
|
|
|
die 'Abstract method dispatch was not overriden in subclass '.(ref $self); |
30
|
|
|
|
|
|
|
} |
31
|
|
|
|
|
|
|
|
32
|
|
|
|
|
|
|
1; |