line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
# [[[ HEADER ]]] |
2
|
|
|
|
|
|
|
package RPerl::DataType::Modifier::Reference; |
3
|
9
|
|
|
9
|
|
52
|
use strict; |
|
9
|
|
|
|
|
19
|
|
|
9
|
|
|
|
|
215
|
|
4
|
9
|
|
|
9
|
|
43
|
use warnings; |
|
9
|
|
|
|
|
20
|
|
|
9
|
|
|
|
|
187
|
|
5
|
9
|
|
|
9
|
|
43
|
use RPerl::AfterSubclass; |
|
9
|
|
|
|
|
17
|
|
|
9
|
|
|
|
|
1192
|
|
6
|
|
|
|
|
|
|
our $VERSION = 0.002_000; |
7
|
|
|
|
|
|
|
|
8
|
|
|
|
|
|
|
# [[[ OO INHERITANCE ]]] |
9
|
9
|
|
|
9
|
|
115
|
use parent qw(RPerl::DataType::Modifier); |
|
9
|
|
|
|
|
21
|
|
|
9
|
|
|
|
|
48
|
|
10
|
9
|
|
|
9
|
|
351
|
use RPerl::DataType::Modifier; |
|
9
|
|
|
|
|
22
|
|
|
9
|
|
|
|
|
226
|
|
11
|
|
|
|
|
|
|
|
12
|
|
|
|
|
|
|
# [[[ SUB-TYPES ]]] |
13
|
|
|
|
|
|
|
# a reference is the location of a data type or data structure; |
14
|
|
|
|
|
|
|
# a reference is not a data type, regardless of Perl's internal RV type, use 'unknown' instead |
15
|
|
|
|
|
|
|
# NEED FIX???: overload Perl's 'ref' keyword |
16
|
|
|
|
|
|
|
package # hide from PAUSE indexing |
17
|
|
|
|
|
|
|
ref; |
18
|
9
|
|
|
9
|
|
38
|
use strict; |
|
9
|
|
|
|
|
17
|
|
|
9
|
|
|
|
|
132
|
|
19
|
9
|
|
|
9
|
|
38
|
use warnings; |
|
9
|
|
|
|
|
20
|
|
|
9
|
|
|
|
|
229
|
|
20
|
9
|
|
|
9
|
|
42
|
use parent qw(RPerl::DataType::Modifier::Reference); |
|
9
|
|
|
|
|
17
|
|
|
9
|
|
|
|
|
49
|
|
21
|
|
|
|
|
|
|
|
22
|
|
|
|
|
|
|
1; # end of class |