line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Text::Snippet::TabStop::Basic; |
2
|
|
|
|
|
|
|
BEGIN { |
3
|
8
|
|
|
8
|
|
199
|
$Text::Snippet::TabStop::Basic::VERSION = '0.04'; |
4
|
|
|
|
|
|
|
} |
5
|
|
|
|
|
|
|
|
6
|
|
|
|
|
|
|
# ABSTRACT: Basic TabStop |
7
|
|
|
|
|
|
|
|
8
|
8
|
|
|
8
|
|
47
|
use strict; |
|
8
|
|
|
|
|
17
|
|
|
8
|
|
|
|
|
267
|
|
9
|
8
|
|
|
8
|
|
52
|
use warnings; |
|
8
|
|
|
|
|
13
|
|
|
8
|
|
|
|
|
240
|
|
10
|
|
|
|
|
|
|
|
11
|
8
|
|
|
8
|
|
43
|
use base qw(Text::Snippet::TabStop); |
|
8
|
|
|
|
|
13
|
|
|
8
|
|
|
|
|
5484
|
|
12
|
|
|
|
|
|
|
|
13
|
|
|
|
|
|
|
|
14
|
|
|
|
|
|
|
sub parse { |
15
|
70
|
|
|
70
|
1
|
96
|
my $class = shift; |
16
|
70
|
|
|
|
|
100
|
my $src = shift; |
17
|
70
|
100
|
100
|
|
|
576
|
if($src =~ m/^\$(\d+)$/ || $src =~ m/^\$\{(\d+)\}$/){ |
18
|
54
|
|
|
|
|
238
|
return $class->_new( index => $1, src => $src ); |
19
|
|
|
|
|
|
|
} |
20
|
16
|
|
|
|
|
43
|
return; |
21
|
|
|
|
|
|
|
} |
22
|
|
|
|
|
|
|
|
23
|
|
|
|
|
|
|
1; |
24
|
|
|
|
|
|
|
|
25
|
|
|
|
|
|
|
__END__ |