line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Text::Template::Simple::Compiler; |
2
|
|
|
|
|
|
|
# the "normal" compiler |
3
|
110
|
|
|
110
|
|
733
|
use strict; |
|
110
|
|
|
|
|
244
|
|
|
110
|
|
|
|
|
15258
|
|
4
|
90
|
|
|
90
|
|
579
|
use warnings; |
|
90
|
|
|
|
|
199
|
|
|
90
|
|
|
|
|
7607
|
|
5
|
70
|
|
|
70
|
|
467
|
use Text::Template::Simple::Dummy; |
|
70
|
|
|
|
|
148
|
|
|
70
|
|
|
|
|
5412
|
|
6
|
|
|
|
|
|
|
|
7
|
|
|
|
|
|
|
our $VERSION = '0.86'; |
8
|
|
|
|
|
|
|
|
9
|
|
|
|
|
|
|
sub compile { |
10
|
506
|
|
|
506
|
1
|
838
|
shift; |
11
|
66
|
|
|
66
|
|
636
|
my $code = eval shift; |
|
66
|
|
|
48
|
|
183
|
|
|
66
|
|
|
8
|
|
239605
|
|
|
48
|
|
|
8
|
|
450
|
|
|
48
|
|
|
6
|
|
112
|
|
|
48
|
|
|
6
|
|
19363
|
|
|
506
|
|
|
6
|
|
96625
|
|
|
8
|
|
|
6
|
|
59
|
|
|
8
|
|
|
6
|
|
20
|
|
|
8
|
|
|
6
|
|
3367
|
|
|
8
|
|
|
6
|
|
70
|
|
|
8
|
|
|
6
|
|
20
|
|
|
8
|
|
|
6
|
|
2011
|
|
|
6
|
|
|
6
|
|
51
|
|
|
6
|
|
|
6
|
|
11
|
|
|
6
|
|
|
6
|
|
1014
|
|
|
6
|
|
|
6
|
|
1619
|
|
|
6
|
|
|
6
|
|
17
|
|
|
6
|
|
|
6
|
|
2122
|
|
|
6
|
|
|
6
|
|
44
|
|
|
6
|
|
|
6
|
|
12
|
|
|
6
|
|
|
6
|
|
744
|
|
|
6
|
|
|
6
|
|
42
|
|
|
6
|
|
|
6
|
|
10
|
|
|
6
|
|
|
6
|
|
739
|
|
|
6
|
|
|
6
|
|
51
|
|
|
6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2
|
|
|
|
|
26
|
|
|
2
|
|
|
|
|
4
|
|
|
2
|
|
|
|
|
324
|
|
|
2
|
|
|
|
|
15
|
|
|
2
|
|
|
|
|
4
|
|
|
2
|
|
|
|
|
238
|
|
|
2
|
|
|
|
|
13
|
|
|
2
|
|
|
|
|
6
|
|
|
2
|
|
|
|
|
248
|
|
|
2
|
|
|
|
|
31
|
|
|
2
|
|
|
|
|
8
|
|
|
2
|
|
|
|
|
233
|
|
|
2
|
|
|
|
|
15
|
|
|
2
|
|
|
|
|
7
|
|
|
2
|
|
|
|
|
271
|
|
|
2
|
|
|
|
|
20
|
|
|
2
|
|
|
|
|
4
|
|
|
2
|
|
|
|
|
262
|
|
|
2
|
|
|
|
|
13
|
|
|
2
|
|
|
|
|
6
|
|
|
2
|
|
|
|
|
277
|
|
|
2
|
|
|
|
|
15
|
|
|
2
|
|
|
|
|
6
|
|
|
2
|
|
|
|
|
454
|
|
|
2
|
|
|
|
|
12
|
|
|
2
|
|
|
|
|
5
|
|
|
2
|
|
|
|
|
229
|
|
|
2
|
|
|
|
|
16
|
|
|
2
|
|
|
|
|
5
|
|
|
2
|
|
|
|
|
208
|
|
12
|
506
|
|
|
|
|
34666
|
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.86> of C<Text::Template::Simple::Compiler> |
34
|
|
|
|
|
|
|
released on C<5 March 2012>. |
35
|
|
|
|
|
|
|
|
36
|
|
|
|
|
|
|
Template compiler. |
37
|
|
|
|
|
|
|
|
38
|
|
|
|
|
|
|
=head1 AUTHOR |
39
|
|
|
|
|
|
|
|
40
|
|
|
|
|
|
|
Burak Gursoy <burak@cpan.org>. |
41
|
|
|
|
|
|
|
|
42
|
|
|
|
|
|
|
=head1 COPYRIGHT |
43
|
|
|
|
|
|
|
|
44
|
|
|
|
|
|
|
Copyright 2004 - 2012 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.12.3 or, |
50
|
|
|
|
|
|
|
at your option, any later version of Perl 5 you may have available. |
51
|
|
|
|
|
|
|
|
52
|
|
|
|
|
|
|
=cut |