line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Enbld::Target::Attribute::Prefix; |
2
|
|
|
|
|
|
|
|
3
|
2
|
|
|
2
|
|
4212
|
use strict; |
|
2
|
|
|
|
|
3
|
|
|
2
|
|
|
|
|
64
|
|
4
|
2
|
|
|
2
|
|
8
|
use warnings; |
|
2
|
|
|
|
|
3
|
|
|
2
|
|
|
|
|
43
|
|
5
|
|
|
|
|
|
|
|
6
|
2
|
|
|
2
|
|
8
|
use Carp; |
|
2
|
|
|
|
|
3
|
|
|
2
|
|
|
|
|
108
|
|
7
|
|
|
|
|
|
|
|
8
|
2
|
|
|
2
|
|
437
|
use parent qw/Enbld::Target::AttributeExtension::Word/; |
|
2
|
|
|
|
|
265
|
|
|
2
|
|
|
|
|
11
|
|
9
|
|
|
|
|
|
|
|
10
|
|
|
|
|
|
|
sub initialize { |
11
|
53
|
|
|
53
|
0
|
112
|
my ( $self, $param ) = @_; |
12
|
|
|
|
|
|
|
|
13
|
53
|
100
|
|
|
|
156
|
if ( ! defined $param ) { |
14
|
47
|
|
|
|
|
134
|
$self->{value} = '--prefix='; |
15
|
47
|
|
|
|
|
83
|
$self->{is_evaluated}++; |
16
|
|
|
|
|
|
|
|
17
|
47
|
|
|
|
|
101
|
return $self; |
18
|
|
|
|
|
|
|
} |
19
|
|
|
|
|
|
|
|
20
|
6
|
100
|
|
|
|
12
|
if ( $param ) { |
21
|
5
|
|
|
|
|
19
|
$self->SUPER::initialize( $param ); |
22
|
5
|
|
|
|
|
7
|
return $self; |
23
|
|
|
|
|
|
|
} |
24
|
|
|
|
|
|
|
|
25
|
1
|
|
|
|
|
5
|
require Enbld::Exception; |
26
|
1
|
|
|
|
|
4
|
croak( Enbld::Exception->new( "Attribute 'Prefix' isn't defined" ) ); |
27
|
|
|
|
|
|
|
} |
28
|
|
|
|
|
|
|
|
29
|
|
|
|
|
|
|
1; |