line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package SPVM::BlessedObject; |
2
|
|
|
|
|
|
|
|
3
|
278
|
|
|
278
|
|
1923
|
use strict; |
|
278
|
|
|
|
|
548
|
|
|
278
|
|
|
|
|
7865
|
|
4
|
278
|
|
|
278
|
|
1367
|
use warnings; |
|
278
|
|
|
|
|
523
|
|
|
278
|
|
|
|
|
41359
|
|
5
|
|
|
|
|
|
|
|
6
|
|
|
|
|
|
|
sub __api { |
7
|
162623
|
|
|
162623
|
|
217374
|
my $self = shift; |
8
|
162623
|
50
|
|
|
|
276602
|
if (@_) { |
9
|
0
|
|
|
|
|
0
|
$self->{__api} = $_[0]; |
10
|
0
|
|
|
|
|
0
|
return $self; |
11
|
|
|
|
|
|
|
} |
12
|
|
|
|
|
|
|
else { |
13
|
162623
|
|
|
|
|
468839
|
return $self->{__api}; |
14
|
|
|
|
|
|
|
} |
15
|
|
|
|
|
|
|
} |
16
|
|
|
|
|
|
|
|
17
|
92
|
50
|
|
92
|
|
43028
|
sub __get_type_name { my $ret; eval { $ret = shift->_xs___get_type_name(@_) }; if ($@) { confess $@ } $ret; } |
|
92
|
|
|
|
|
155
|
|
|
92
|
|
|
|
|
2805
|
|
|
92
|
|
|
|
|
1272
|
|
|
0
|
|
|
|
|
0
|
|
|
92
|
|
|
|
|
455
|
|
18
|
|
|
|
|
|
|
|
19
|
|
|
|
|
|
|
1; |
20
|
|
|
|
|
|
|
|
21
|
|
|
|
|
|
|
=head1 Name |
22
|
|
|
|
|
|
|
|
23
|
|
|
|
|
|
|
SPVM::BlessedObject - SPVM object |
24
|
|
|
|
|
|
|
|
25
|
|
|
|
|
|
|
=head1 Description |
26
|
|
|
|
|
|
|
|
27
|
|
|
|
|
|
|
The object of the C class holds a SPVM object. |
28
|
|
|
|
|
|
|
|
29
|
|
|
|
|
|
|
=head1 Instance Methods |
30
|
|
|
|
|
|
|
|
31
|
|
|
|
|
|
|
=head2 __api |
32
|
|
|
|
|
|
|
|
33
|
|
|
|
|
|
|
my $api = $self->__api; |
34
|
|
|
|
|
|
|
$self->__api($api); |
35
|
|
|
|
|
|
|
|
36
|
|
|
|
|
|
|
Gets and sets a L object. |
37
|
|
|
|
|
|
|
|
38
|
|
|
|
|
|
|
=head2 __get_type_name |
39
|
|
|
|
|
|
|
|
40
|
|
|
|
|
|
|
my $type_name = $self->__get_type_name; |
41
|
|
|
|
|
|
|
|
42
|
|
|
|
|
|
|
Gets the SPVM type name of the object. |
43
|
|
|
|
|
|
|
|
44
|
|
|
|
|
|
|
=head1 Well Known Child Classes |
45
|
|
|
|
|
|
|
|
46
|
|
|
|
|
|
|
=over 2 |
47
|
|
|
|
|
|
|
|
48
|
|
|
|
|
|
|
=item * L |
49
|
|
|
|
|
|
|
|
50
|
|
|
|
|
|
|
=item * L |
51
|
|
|
|
|
|
|
|
52
|
|
|
|
|
|
|
=item * L |
53
|
|
|
|
|
|
|
|
54
|
|
|
|
|
|
|
=back |
55
|
|
|
|
|
|
|
|
56
|
|
|
|
|
|
|
=head1 Copyright & License |
57
|
|
|
|
|
|
|
|
58
|
|
|
|
|
|
|
Copyright (c) 2023 Yuki Kimoto |
59
|
|
|
|
|
|
|
|
60
|
|
|
|
|
|
|
MIT License |