line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package SPVM::Builder::Runtime; |
2
|
|
|
|
|
|
|
|
3
|
278
|
|
|
278
|
|
2017
|
use strict; |
|
278
|
|
|
|
|
542
|
|
|
278
|
|
|
|
|
8173
|
|
4
|
278
|
|
|
278
|
|
1402
|
use warnings; |
|
278
|
|
|
|
|
553
|
|
|
278
|
|
|
|
|
35531
|
|
5
|
|
|
|
|
|
|
|
6
|
|
|
|
|
|
|
sub pointer { |
7
|
0
|
|
|
0
|
0
|
0
|
my $self = shift; |
8
|
0
|
0
|
|
|
|
0
|
if (@_) { |
9
|
0
|
|
|
|
|
0
|
$self->{pointer} = $_[0]; |
10
|
0
|
|
|
|
|
0
|
return $self; |
11
|
|
|
|
|
|
|
} |
12
|
|
|
|
|
|
|
else { |
13
|
0
|
|
|
|
|
0
|
return $self->{pointer}; |
14
|
|
|
|
|
|
|
} |
15
|
|
|
|
|
|
|
} |
16
|
|
|
|
|
|
|
|
17
|
|
|
|
|
|
|
sub env_api { |
18
|
1061
|
|
|
1061
|
0
|
1670
|
my $self = shift; |
19
|
1061
|
50
|
|
|
|
2343
|
if (@_) { |
20
|
1061
|
|
|
|
|
2457
|
$self->{env_api} = $_[0]; |
21
|
1061
|
|
|
|
|
2382
|
return $self; |
22
|
|
|
|
|
|
|
} |
23
|
|
|
|
|
|
|
else { |
24
|
0
|
|
|
|
|
|
return $self->{env_api}; |
25
|
|
|
|
|
|
|
} |
26
|
|
|
|
|
|
|
} |
27
|
|
|
|
|
|
|
|
28
|
|
|
|
|
|
|
1; |
29
|
|
|
|
|
|
|
|
30
|
|
|
|
|
|
|
=head1 Name |
31
|
|
|
|
|
|
|
|
32
|
|
|
|
|
|
|
SPVM::Builder::Runtime - SPVM Builder Runtime |
33
|
|
|
|
|
|
|
|
34
|
|
|
|
|
|
|
=head1 Copyright & License |
35
|
|
|
|
|
|
|
|
36
|
|
|
|
|
|
|
Copyright (c) 2023 Yuki Kimoto |
37
|
|
|
|
|
|
|
|
38
|
|
|
|
|
|
|
MIT License |