line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
36
|
|
|
36
|
|
134
|
use strict; |
|
36
|
|
|
|
|
42
|
|
|
36
|
|
|
|
|
910
|
|
2
|
36
|
|
|
36
|
|
116
|
use warnings; |
|
36
|
|
|
|
|
45
|
|
|
36
|
|
|
|
|
1541
|
|
3
|
|
|
|
|
|
|
{ |
4
|
|
|
|
|
|
|
package HTML::Template::Compiled::Exception; |
5
|
|
|
|
|
|
|
our $VERSION = '1.002_001'; # TRIAL VERSION |
6
|
36
|
|
|
36
|
|
129
|
use Data::Dumper; |
|
36
|
|
|
|
|
35
|
|
|
36
|
|
|
|
|
1549
|
|
7
|
36
|
|
|
36
|
|
140
|
use Carp qw(croak carp); |
|
36
|
|
|
|
|
54
|
|
|
36
|
|
|
|
|
1453
|
|
8
|
|
|
|
|
|
|
|
9
|
36
|
|
|
36
|
|
124
|
use constant ATTR_TEXT => 0; |
|
36
|
|
|
|
|
51
|
|
|
36
|
|
|
|
|
1709
|
|
10
|
36
|
|
|
36
|
|
128
|
use constant ATTR_FILE => 1; |
|
36
|
|
|
|
|
38
|
|
|
36
|
|
|
|
|
1327
|
|
11
|
36
|
|
|
36
|
|
118
|
use constant ATTR_LINE => 2; |
|
36
|
|
|
|
|
41
|
|
|
36
|
|
|
|
|
1345
|
|
12
|
36
|
|
|
36
|
|
124
|
use constant ATTR_PARSER => 3; |
|
36
|
|
|
|
|
40
|
|
|
36
|
|
|
|
|
1243
|
|
13
|
36
|
|
|
36
|
|
119
|
use constant ATTR_TOKENS => 4; |
|
36
|
|
|
|
|
46
|
|
|
36
|
|
|
|
|
1271
|
|
14
|
36
|
|
|
36
|
|
123
|
use constant ATTR_NEAR => 5; |
|
36
|
|
|
|
|
39
|
|
|
36
|
|
|
|
|
1595
|
|
15
|
|
|
|
|
|
|
|
16
|
36
|
|
|
36
|
|
143
|
use overload '""' => \&stringify; |
|
36
|
|
|
|
|
40
|
|
|
36
|
|
|
|
|
276
|
|
17
|
|
|
|
|
|
|
|
18
|
|
|
|
|
|
|
sub new { |
19
|
8
|
|
|
8
|
0
|
8
|
my $class = shift; |
20
|
8
|
|
|
|
|
11
|
my $self = []; |
21
|
8
|
|
|
|
|
11
|
bless $self, $class; |
22
|
8
|
|
|
|
|
20
|
$self->init(@_); |
23
|
8
|
|
|
|
|
17
|
return $self; |
24
|
|
|
|
|
|
|
} |
25
|
|
|
|
|
|
|
sub init { |
26
|
8
|
|
|
8
|
0
|
23
|
my ($self, %args) = @_; |
27
|
8
|
|
|
|
|
93
|
$self->[ATTR_TEXT] = $args{text}; |
28
|
8
|
|
|
|
|
8
|
$self->[ATTR_FILE] = $args{file}; |
29
|
8
|
|
|
|
|
7
|
$self->[ATTR_LINE] = $args{line}; |
30
|
8
|
|
|
|
|
10
|
$self->[ATTR_PARSER] = $args{parser}; |
31
|
8
|
|
|
|
|
14
|
$self->[ATTR_TOKENS] = $args{tokens}; |
32
|
8
|
|
|
|
|
14
|
$self->[ATTR_NEAR] = $args{near}; |
33
|
|
|
|
|
|
|
} |
34
|
|
|
|
|
|
|
sub stringify { |
35
|
8
|
|
|
8
|
0
|
624
|
my ($self) = @_; |
36
|
8
|
|
|
|
|
88
|
my $text = $self->[ATTR_TEXT]; |
37
|
|
|
|
|
|
|
} |
38
|
|
|
|
|
|
|
|
39
|
|
|
|
|
|
|
sub parser { |
40
|
0
|
|
|
0
|
0
|
|
return $_[0]->[ATTR_PARSER]; |
41
|
|
|
|
|
|
|
} |
42
|
|
|
|
|
|
|
|
43
|
|
|
|
|
|
|
|
44
|
|
|
|
|
|
|
} |
45
|
|
|
|
|
|
|
1; |
46
|
|
|
|
|
|
|
|
47
|
|
|
|
|
|
|
__END__ |