| line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
|
1
|
|
|
|
|
|
|
package Pod::Simple::PullParserToken; |
|
2
|
|
|
|
|
|
|
# Base class for tokens gotten from Pod::Simple::PullParser's $parser->get_token |
|
3
|
|
|
|
|
|
|
our @ISA = (); |
|
4
|
|
|
|
|
|
|
our $VERSION = '3.47'; |
|
5
|
10
|
|
|
10
|
|
65
|
use strict; |
|
|
10
|
|
|
|
|
18
|
|
|
|
10
|
|
|
|
|
2143
|
|
|
6
|
|
|
|
|
|
|
|
|
7
|
|
|
|
|
|
|
sub new { # Class->new('type', stuff...); ## Overridden in derived classes anyway |
|
8
|
0
|
|
|
0
|
0
|
0
|
my $class = shift; |
|
9
|
0
|
|
0
|
|
|
0
|
return bless [@_], ref($class) || $class; |
|
10
|
|
|
|
|
|
|
} |
|
11
|
|
|
|
|
|
|
|
|
12
|
705
|
|
|
705
|
1
|
13463
|
sub type { $_[0][0] } # Can't change the type of an object |
|
13
|
51
|
|
|
51
|
1
|
521
|
sub dump { Pod::Simple::pretty( [ @{ $_[0] } ] ) } |
|
|
51
|
|
|
|
|
213
|
|
|
14
|
|
|
|
|
|
|
|
|
15
|
357
|
|
|
357
|
1
|
1884
|
sub is_start { $_[0][0] eq 'start' } |
|
16
|
212
|
|
|
212
|
1
|
949
|
sub is_end { $_[0][0] eq 'end' } |
|
17
|
336
|
|
|
336
|
1
|
1266
|
sub is_text { $_[0][0] eq 'text' } |
|
18
|
|
|
|
|
|
|
|
|
19
|
|
|
|
|
|
|
1; |
|
20
|
|
|
|
|
|
|
__END__ |