| 1 | package Data::Range::Compare::Stream::Iterator::Consolidate::Result; | ||
| 2 | |||
| 3 | 10 | ▶ | use strict; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 4 | 10 | ▶ | use warnings; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 5 | 10 | ▶ | use overload '""'=>\&to_string,fallback=>1; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 6 | |||
| 7 | 10 | ▶ | use constant COMMON_RANGE=>0; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 8 | 10 | ▶ | use constant START_RANGE=>1; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 9 | 10 | ▶ | use constant END_RANGE=>2; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 10 | 10 | ▶ | use constant IS_MISSING=>3; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 11 | 10 | ▶ | use constant IS_GENERATED=>4; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 12 | |||
| 13 | 10 | ▶ | use base qw(Data::Range::Compare::Stream::Result::Base); |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 14 | |||
| 15 | 1726 | ▶ | sub get_common { $_[0]->[COMMON_RANGE] } |
|
Subroutine
get_common: called CC=1 SCAR=0.0
Pod
documented
| |||
| 16 | 6 | ▶ | sub get_common_range { $_[0]->[COMMON_RANGE] } |
|
Subroutine
get_common_range: called CC=1 SCAR=0.0
Pod
documented
| |||
| 17 | 40 | ▶ | sub get_start { $_[0]->[START_RANGE] } |
|
Subroutine
get_start: called CC=1 SCAR=0.0
Pod
documented
| |||
| 18 | 4 | ▶ | sub get_start_range { $_[0]->[START_RANGE] } |
|
Subroutine
get_start_range: called CC=1 SCAR=0.0
Pod
documented
| |||
| 19 | 40 | ▶ | sub get_end { $_[0]->[END_RANGE] } |
|
Subroutine
get_end: called CC=1 SCAR=0.0
Pod
documented
| |||
| 20 | 4 | ▶ | sub get_end_range { $_[0]->[END_RANGE] } |
|
Subroutine
get_end_range: called CC=1 SCAR=0.0
Pod
documented
| |||
| 21 | 18 | ▶ | sub is_missing { $_[0]->[$_[0]->IS_MISSING] } |
|
Subroutine
is_missing: called CC=1 SCAR=0.0
Pod
undocumented
| |||
| 22 | 34 | ▶ | sub is_generated { $_[0]->[$_[0]->IS_GENERATED] } |
|
Subroutine
is_generated: called CC=1 SCAR=0.0
Pod
undocumented
| |||
| 23 | |||
| 24 | |||
| 25 | 4 | ▶ | sub to_string { |
|
Subroutine
to_string: called CC=1 SCAR=0.0
Pod
documented
| |||
| 26 | 4 | my ($self)=@_; | |
| 27 | 4 | sprintf 'Commoon Range: [%s] Starting range: [%s] Ending Range: [%s]',$self->get_common,$self->get_start,$self->get_end | |
| 28 | } | ||
| 29 | |||
| 30 | |||
| 31 | 10 | 1; | |