line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
############################################################################# |
2
|
|
|
|
|
|
|
# An empty, borderless cell. Part of Graph::Easy. |
3
|
|
|
|
|
|
|
# |
4
|
|
|
|
|
|
|
############################################################################# |
5
|
|
|
|
|
|
|
|
6
|
|
|
|
|
|
|
package Graph::Easy::Node::Empty; |
7
|
|
|
|
|
|
|
|
8
|
48
|
|
|
48
|
|
157
|
use Graph::Easy::Node; |
|
48
|
|
|
|
|
56
|
|
|
48
|
|
|
|
|
1831
|
|
9
|
|
|
|
|
|
|
|
10
|
|
|
|
|
|
|
@ISA = qw/Graph::Easy::Node/; |
11
|
|
|
|
|
|
|
$VERSION = '0.76'; |
12
|
|
|
|
|
|
|
|
13
|
48
|
|
|
48
|
|
151
|
use strict; |
|
48
|
|
|
|
|
56
|
|
|
48
|
|
|
|
|
870
|
|
14
|
48
|
|
|
48
|
|
148
|
use warnings; |
|
48
|
|
|
|
|
46
|
|
|
48
|
|
|
|
|
4112
|
|
15
|
|
|
|
|
|
|
|
16
|
|
|
|
|
|
|
############################################################################# |
17
|
|
|
|
|
|
|
|
18
|
|
|
|
|
|
|
sub _init |
19
|
|
|
|
|
|
|
{ |
20
|
|
|
|
|
|
|
# generic init, override in subclasses |
21
|
10
|
|
|
10
|
|
10
|
my ($self,$args) = @_; |
22
|
|
|
|
|
|
|
|
23
|
10
|
|
|
|
|
22
|
$self->SUPER::_init($args); |
24
|
|
|
|
|
|
|
|
25
|
10
|
|
|
|
|
10
|
$self->{class} = 'node.empty'; |
26
|
|
|
|
|
|
|
|
27
|
10
|
|
|
|
|
21
|
$self; |
28
|
|
|
|
|
|
|
} |
29
|
|
|
|
|
|
|
|
30
|
|
|
|
|
|
|
sub _correct_size |
31
|
|
|
|
|
|
|
{ |
32
|
8
|
|
|
8
|
|
7
|
my $self = shift; |
33
|
|
|
|
|
|
|
|
34
|
8
|
|
|
|
|
8
|
$self->{w} = 3; |
35
|
8
|
|
|
|
|
6
|
$self->{h} = 3; |
36
|
|
|
|
|
|
|
|
37
|
8
|
|
|
|
|
12
|
$self; |
38
|
|
|
|
|
|
|
} |
39
|
|
|
|
|
|
|
|
40
|
|
|
|
|
|
|
1; |
41
|
|
|
|
|
|
|
__END__ |