line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Text::Template::Simple::Compiler; |
2
|
|
|
|
|
|
|
# the "normal" compiler |
3
|
108
|
|
|
108
|
|
409
|
use strict; |
|
108
|
|
|
|
|
167
|
|
|
108
|
|
|
|
|
6364
|
|
4
|
88
|
|
|
88
|
|
292
|
use warnings; |
|
88
|
|
|
|
|
94
|
|
|
88
|
|
|
|
|
3750
|
|
5
|
68
|
|
|
68
|
|
17778
|
use Text::Template::Simple::Dummy; |
|
68
|
|
|
|
|
93
|
|
|
68
|
|
|
|
|
3096
|
|
6
|
|
|
|
|
|
|
|
7
|
|
|
|
|
|
|
our $VERSION = '0.90'; |
8
|
|
|
|
|
|
|
|
9
|
|
|
|
|
|
|
sub compile { |
10
|
506
|
|
|
506
|
1
|
410
|
shift; |
11
|
66
|
|
|
66
|
|
298
|
my $code = eval shift; |
|
66
|
|
|
48
|
|
71
|
|
|
66
|
|
|
8
|
|
13739
|
|
|
48
|
|
|
8
|
|
205
|
|
|
48
|
|
|
6
|
|
58
|
|
|
48
|
|
|
6
|
|
6943
|
|
|
506
|
|
|
6
|
|
25861
|
|
|
8
|
|
|
6
|
|
36
|
|
|
8
|
|
|
6
|
|
9
|
|
|
8
|
|
|
6
|
|
487
|
|
|
8
|
|
|
6
|
|
32
|
|
|
8
|
|
|
6
|
|
10
|
|
|
8
|
|
|
6
|
|
471
|
|
|
6
|
|
|
6
|
|
24
|
|
|
6
|
|
|
6
|
|
8
|
|
|
6
|
|
|
6
|
|
388
|
|
|
6
|
|
|
6
|
|
24
|
|
|
6
|
|
|
6
|
|
9
|
|
|
6
|
|
|
6
|
|
379
|
|
|
6
|
|
|
6
|
|
25
|
|
|
6
|
|
|
6
|
|
8
|
|
|
6
|
|
|
6
|
|
382
|
|
|
6
|
|
|
6
|
|
25
|
|
|
6
|
|
|
6
|
|
8
|
|
|
6
|
|
|
6
|
|
389
|
|
|
6
|
|
|
6
|
|
24
|
|
|
6
|
|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
|
|
|
2
|
|
|
|
|
2
|
|
|
2
|
|
|
|
|
137
|
|
|
2
|
|
|
|
|
7
|
|
|
2
|
|
|
|
|
3
|
|
|
2
|
|
|
|
|
99
|
|
|
2
|
|
|
|
|
10
|
|
|
2
|
|
|
|
|
2
|
|
|
2
|
|
|
|
|
136
|
|
|
2
|
|
|
|
|
8
|
|
|
2
|
|
|
|
|
3
|
|
|
2
|
|
|
|
|
102
|
|
|
2
|
|
|
|
|
8
|
|
|
2
|
|
|
|
|
3
|
|
|
2
|
|
|
|
|
135
|
|
|
2
|
|
|
|
|
8
|
|
|
2
|
|
|
|
|
2
|
|
|
2
|
|
|
|
|
114
|
|
|
2
|
|
|
|
|
7
|
|
|
2
|
|
|
|
|
3
|
|
|
2
|
|
|
|
|
128
|
|
|
2
|
|
|
|
|
9
|
|
|
2
|
|
|
|
|
2
|
|
|
2
|
|
|
|
|
123
|
|
|
2
|
|
|
|
|
9
|
|
|
2
|
|
|
|
|
2
|
|
|
2
|
|
|
|
|
133
|
|
|
2
|
|
|
|
|
9
|
|
|
2
|
|
|
|
|
4
|
|
|
2
|
|
|
|
|
102
|
|
12
|
506
|
|
|
|
|
15084
|
return $code; |
13
|
|
|
|
|
|
|
} |
14
|
|
|
|
|
|
|
|
15
|
|
|
|
|
|
|
1; |
16
|
|
|
|
|
|
|
|
17
|
|
|
|
|
|
|
__END__ |
18
|
|
|
|
|
|
|
|
19
|
|
|
|
|
|
|
=head1 NAME |
20
|
|
|
|
|
|
|
|
21
|
|
|
|
|
|
|
Text::Template::Simple::Compiler - Compiler |
22
|
|
|
|
|
|
|
|
23
|
|
|
|
|
|
|
=head1 SYNOPSIS |
24
|
|
|
|
|
|
|
|
25
|
|
|
|
|
|
|
Private module. |
26
|
|
|
|
|
|
|
|
27
|
|
|
|
|
|
|
=head1 METHODS |
28
|
|
|
|
|
|
|
|
29
|
|
|
|
|
|
|
=head2 compile STRING |
30
|
|
|
|
|
|
|
|
31
|
|
|
|
|
|
|
=head1 DESCRIPTION |
32
|
|
|
|
|
|
|
|
33
|
|
|
|
|
|
|
This document describes version C<0.90> of C<Text::Template::Simple::Compiler> |
34
|
|
|
|
|
|
|
released on C<5 July 2016>. |
35
|
|
|
|
|
|
|
|
36
|
|
|
|
|
|
|
Template compiler. |
37
|
|
|
|
|
|
|
|
38
|
|
|
|
|
|
|
=head1 AUTHOR |
39
|
|
|
|
|
|
|
|
40
|
|
|
|
|
|
|
Burak Gursoy <burak@cpan.org>. |
41
|
|
|
|
|
|
|
|
42
|
|
|
|
|
|
|
=head1 COPYRIGHT |
43
|
|
|
|
|
|
|
|
44
|
|
|
|
|
|
|
Copyright 2004 - 2016 Burak Gursoy. All rights reserved. |
45
|
|
|
|
|
|
|
|
46
|
|
|
|
|
|
|
=head1 LICENSE |
47
|
|
|
|
|
|
|
|
48
|
|
|
|
|
|
|
This library is free software; you can redistribute it and/or modify |
49
|
|
|
|
|
|
|
it under the same terms as Perl itself, either Perl version 5.24.0 or, |
50
|
|
|
|
|
|
|
at your option, any later version of Perl 5 you may have available. |
51
|
|
|
|
|
|
|
=cut |