| 1 | package DTL::Fast::Expression::Operator::Binary; | ||
| 2 | 11 | ▶ | use strict; use utf8; use warnings FATAL => 'all'; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
Subroutine
BEGIN: called CC=1 SCAR=0.0
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 3 | 11 | ▶ | use parent 'DTL::Fast::Expression::Operator::Unary'; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 4 | |||
| 5 | sub new | ||
| 6 | { | ||
| 7 | 171 | ▶ | my( $proto, $argument1, $argument2, %kwargs ) = @_; |
|
Subroutine
new: called CC=1 SCAR=0.0
Pod
undocumented
| |||
| 8 | 171 | $kwargs{'b'} = $argument2; | |
| 9 | |||
| 10 | 171 | my $self = $proto->SUPER::new($argument1, %kwargs); | |
| 11 | |||
| 12 | 171 | return $self; | |
| 13 | } | ||
| 14 | |||
| 15 | sub render | ||
| 16 | { | ||
| 17 | 907 | ▶ | my( $self, $context ) = @_; |
|
Subroutine
render: called CC=1 SCAR=0.0
Pod
undocumented
| |||
| 18 | |||
| 19 | return $self->dispatch( | ||
| 20 | $self->{'a'}->render($context, 1) | ||
| 21 | 907 | , $self->{'b'}->render($context, 1) | |
| 22 | , $context | ||
| 23 | ); | ||
| 24 | } | ||
| 25 | |||
| 26 | sub dispatch | ||
| 27 | { | ||
| 28 | 0 | ▶ | my( $self, $arg1, $arg2 ) = @_; |
|
Subroutine
dispatch: not called CC=1 SCAR=6.9
Pod
undocumented
| |||
| 29 | 0 | die 'Abstract method dispatch was not overriden in subclass '.(ref $self); | |
| 30 | } | ||
| 31 | |||
| 32 | 11 | 1; | |