line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
############################################################################# |
2
|
|
|
|
|
|
|
# (c) by Tels 2004. Part of Convert::Wiki |
3
|
|
|
|
|
|
|
# |
4
|
|
|
|
|
|
|
# represents a horizontal line (or ruler) |
5
|
|
|
|
|
|
|
############################################################################# |
6
|
|
|
|
|
|
|
|
7
|
|
|
|
|
|
|
package Convert::Wiki::Node::Line; |
8
|
|
|
|
|
|
|
|
9
|
3
|
|
|
3
|
|
28411
|
use 5.006001; |
|
3
|
|
|
|
|
11
|
|
|
3
|
|
|
|
|
116
|
|
10
|
3
|
|
|
3
|
|
16
|
use strict; |
|
3
|
|
|
|
|
10
|
|
|
3
|
|
|
|
|
94
|
|
11
|
3
|
|
|
3
|
|
14
|
use warnings; |
|
3
|
|
|
|
|
10
|
|
|
3
|
|
|
|
|
99
|
|
12
|
|
|
|
|
|
|
|
13
|
3
|
|
|
3
|
|
321
|
use Convert::Wiki::Node; |
|
3
|
|
|
|
|
6
|
|
|
3
|
|
|
|
|
100
|
|
14
|
|
|
|
|
|
|
|
15
|
3
|
|
|
3
|
|
21
|
use vars qw/$VERSION @ISA/; |
|
3
|
|
|
|
|
13
|
|
|
3
|
|
|
|
|
623
|
|
16
|
|
|
|
|
|
|
|
17
|
|
|
|
|
|
|
@ISA = qw/Convert::Wiki::Node/; |
18
|
|
|
|
|
|
|
$VERSION = '0.03'; |
19
|
|
|
|
|
|
|
|
20
|
|
|
|
|
|
|
############################################################################# |
21
|
|
|
|
|
|
|
|
22
|
|
|
|
|
|
|
sub _init |
23
|
|
|
|
|
|
|
{ |
24
|
5
|
|
|
5
|
|
12
|
my ($self,$args) = @_; |
25
|
|
|
|
|
|
|
|
26
|
5
|
|
|
|
|
34
|
$self->SUPER::_init($args); |
27
|
|
|
|
|
|
|
|
28
|
5
|
|
|
|
|
9
|
$self->{txt} = "----\n\n"; |
29
|
|
|
|
|
|
|
|
30
|
5
|
|
|
|
|
18
|
$self; |
31
|
|
|
|
|
|
|
} |
32
|
|
|
|
|
|
|
|
33
|
|
|
|
|
|
|
sub _remove_me |
34
|
|
|
|
|
|
|
{ |
35
|
|
|
|
|
|
|
# if we are the first node, or a headline follows us, skip |
36
|
2
|
|
|
2
|
|
4
|
my $self = shift; |
37
|
|
|
|
|
|
|
|
38
|
2
|
|
|
|
|
10
|
my $next = $self->next(); |
39
|
|
|
|
|
|
|
|
40
|
2
|
100
|
66
|
|
|
9
|
if (!defined $self->prev() || (defined $next && $next->type() =~ /head/)) |
|
|
|
33
|
|
|
|
|
41
|
|
|
|
|
|
|
{ |
42
|
1
|
|
|
|
|
5
|
return 1; |
43
|
|
|
|
|
|
|
} |
44
|
1
|
|
|
|
|
4
|
0; |
45
|
|
|
|
|
|
|
} |
46
|
|
|
|
|
|
|
|
47
|
|
|
|
|
|
|
1; |
48
|
|
|
|
|
|
|
__END__ |