| 1 | package DTL::Fast::Expression::Operator::Unary; | ||
| 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::Entity'; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 4 | |||
| 5 | 11 | ▶ | use DTL::Fast::Template; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 6 | |||
| 7 | sub new | ||
| 8 | { | ||
| 9 | 216 | ▶ | my( $proto, $argument, %kwargs ) = @_; |
|
Subroutine
new: called CC=1 SCAR=0.0
Pod
undocumented
| |||
| 10 | 216 | $kwargs{'a'} = $argument; | |
| 11 | |||
| 12 | 216 | return $proto->SUPER::new(%kwargs); | |
| 13 | } | ||
| 14 | |||
| 15 | sub render | ||
| 16 | { | ||
| 17 | 0 | ▶ | my( $self, $context) = @_; |
|
Subroutine
render: not called CC=1 SCAR=6.9
Pod
undocumented
| |||
| 18 | |||
| 19 | return $self->dispatch( | ||
| 20 | 0 | $self->{'a'}->render($context, 1) | |
| 21 | , $context | ||
| 22 | ); | ||
| 23 | } | ||
| 24 | |||
| 25 | sub dispatch | ||
| 26 | { | ||
| 27 | 0 | ▶ | my( $self, $arg1 ) = @_; |
|
Subroutine
dispatch: not called CC=1 SCAR=6.9
Pod
undocumented
| |||
| 28 | 0 | die 'Abstract method dispatch was not overriden in subclass '.(ref $self); | |
| 29 | } | ||
| 30 | 11 | 1; | |