line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
# $Id$ |
2
|
|
|
|
|
|
|
# $Source$ |
3
|
|
|
|
|
|
|
# $Author$ |
4
|
|
|
|
|
|
|
# $HeadURL$ |
5
|
|
|
|
|
|
|
# $Revision$ |
6
|
|
|
|
|
|
|
# $Date$ |
7
|
|
|
|
|
|
|
package Class::Dot::Type; |
8
|
|
|
|
|
|
|
|
9
|
16
|
|
|
16
|
|
97
|
use strict; |
|
16
|
|
|
|
|
28
|
|
|
16
|
|
|
|
|
514
|
|
10
|
16
|
|
|
16
|
|
87
|
use warnings; |
|
16
|
|
|
|
|
47
|
|
|
16
|
|
|
|
|
391
|
|
11
|
16
|
|
|
16
|
|
84
|
use version; |
|
16
|
|
|
|
|
50
|
|
|
16
|
|
|
|
|
94
|
|
12
|
16
|
|
|
16
|
|
1111
|
use 5.00600; |
|
16
|
|
|
|
|
53
|
|
|
16
|
|
|
|
|
7648
|
|
13
|
|
|
|
|
|
|
|
14
|
|
|
|
|
|
|
our $AUTHORITY = 'cpan:ASKSH'; |
15
|
|
|
|
|
|
|
our $VERSION = qv('2.0.0_15'); |
16
|
|
|
|
|
|
|
|
17
|
|
|
|
|
|
|
sub new { |
18
|
139
|
|
|
139
|
1
|
284
|
my ($class, $options_ref) = @_; |
19
|
139
|
|
|
|
|
161
|
my $self = bless { %{$options_ref} }, $class; |
|
139
|
|
|
|
|
888
|
|
20
|
139
|
|
|
|
|
384
|
return $self; |
21
|
|
|
|
|
|
|
} |
22
|
|
|
|
|
|
|
|
23
|
|
|
|
|
|
|
sub type { |
24
|
21
|
|
|
21
|
1
|
47
|
my ($self) = @_; |
25
|
21
|
|
|
|
|
157
|
return $self->{type}; |
26
|
|
|
|
|
|
|
} |
27
|
|
|
|
|
|
|
|
28
|
|
|
|
|
|
|
sub accessor_type { |
29
|
13
|
|
|
13
|
1
|
88
|
my ($self) = @_; |
30
|
13
|
|
|
|
|
68
|
return $self->{accessor_type}; |
31
|
|
|
|
|
|
|
} |
32
|
|
|
|
|
|
|
|
33
|
|
|
|
|
|
|
sub linear_isa { |
34
|
1
|
|
|
1
|
1
|
2
|
my ($self) = @_; |
35
|
1
|
|
|
|
|
4
|
return $self->{linear_isa}; |
36
|
|
|
|
|
|
|
} |
37
|
|
|
|
|
|
|
|
38
|
|
|
|
|
|
|
sub privacy { |
39
|
6
|
|
|
6
|
1
|
15
|
my ($self) = @_; |
40
|
6
|
|
|
|
|
37
|
return $self->{privacy}; |
41
|
|
|
|
|
|
|
} |
42
|
|
|
|
|
|
|
|
43
|
|
|
|
|
|
|
sub privacy_rule { |
44
|
44
|
|
|
44
|
1
|
13287
|
my ($self) = @_; |
45
|
44
|
|
|
|
|
169
|
return $self->{privacy_rule}; |
46
|
|
|
|
|
|
|
} |
47
|
|
|
|
|
|
|
|
48
|
|
|
|
|
|
|
sub __isa__ { |
49
|
65
|
|
|
65
|
|
100
|
my ($self) = @_; |
50
|
65
|
|
|
|
|
479
|
return $self->{__isa__}; |
51
|
|
|
|
|
|
|
} |
52
|
|
|
|
|
|
|
|
53
|
|
|
|
|
|
|
sub setter_name { |
54
|
4
|
|
|
4
|
1
|
9
|
my ($self) = @_; |
55
|
4
|
|
|
|
|
15
|
return $self->{setter_name}; |
56
|
|
|
|
|
|
|
} |
57
|
|
|
|
|
|
|
|
58
|
|
|
|
|
|
|
sub getter_name { |
59
|
3
|
|
|
3
|
1
|
7
|
my ($self) = @_; |
60
|
3
|
|
|
|
|
14
|
return $self->{getter_name}; |
61
|
|
|
|
|
|
|
} |
62
|
|
|
|
|
|
|
|
63
|
|
|
|
|
|
|
sub constraint { |
64
|
34
|
|
|
34
|
1
|
43
|
my ($self) = @_; |
65
|
34
|
|
|
|
|
178
|
return $self->{constraint}; |
66
|
|
|
|
|
|
|
} |
67
|
|
|
|
|
|
|
|
68
|
|
|
|
|
|
|
1; |
69
|
|
|
|
|
|
|
|
70
|
|
|
|
|
|
|
__END__ |