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
|
49
|
|
|
49
|
|
343
|
use Graph::Easy::Node; |
|
49
|
|
|
|
|
110
|
|
|
49
|
|
|
|
|
3036
|
|
9
|
|
|
|
|
|
|
|
10
|
|
|
|
|
|
|
@ISA = qw/Graph::Easy::Node/; |
11
|
|
|
|
|
|
|
$VERSION = '0.75'; |
12
|
|
|
|
|
|
|
|
13
|
49
|
|
|
49
|
|
283
|
use strict; |
|
49
|
|
|
|
|
117
|
|
|
49
|
|
|
|
|
1703
|
|
14
|
49
|
|
|
49
|
|
548
|
use warnings; |
|
49
|
|
|
|
|
135
|
|
|
49
|
|
|
|
|
6262
|
|
15
|
|
|
|
|
|
|
|
16
|
|
|
|
|
|
|
############################################################################# |
17
|
|
|
|
|
|
|
|
18
|
|
|
|
|
|
|
sub _init |
19
|
|
|
|
|
|
|
{ |
20
|
|
|
|
|
|
|
# generic init, override in subclasses |
21
|
10
|
|
|
10
|
|
29
|
my ($self,$args) = @_; |
22
|
|
|
|
|
|
|
|
23
|
10
|
|
|
|
|
52
|
$self->SUPER::_init($args); |
24
|
|
|
|
|
|
|
|
25
|
10
|
|
|
|
|
23
|
$self->{class} = 'node.empty'; |
26
|
|
|
|
|
|
|
|
27
|
10
|
|
|
|
|
104
|
$self; |
28
|
|
|
|
|
|
|
} |
29
|
|
|
|
|
|
|
|
30
|
|
|
|
|
|
|
sub _correct_size |
31
|
|
|
|
|
|
|
{ |
32
|
8
|
|
|
8
|
|
13
|
my $self = shift; |
33
|
|
|
|
|
|
|
|
34
|
8
|
|
|
|
|
41
|
$self->{w} = 3; |
35
|
8
|
|
|
|
|
15
|
$self->{h} = 3; |
36
|
|
|
|
|
|
|
|
37
|
8
|
|
|
|
|
21
|
$self; |
38
|
|
|
|
|
|
|
} |
39
|
|
|
|
|
|
|
|
40
|
|
|
|
|
|
|
1; |
41
|
|
|
|
|
|
|
__END__ |