| 1 | package SPVM::Builder::Native::ClassFile; | ||||||||||
| 2 | |||||||||||
| 3 | 126 | ▶ | use strict; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 4 | 126 | ▶ | use warnings; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 5 | |||||||||||
| 6 | 0 | ▶ | sub pointer { | ||||||||
|
Subroutine
pointer: not called CC=2 SCAR=17.9
Pod
undocumented
| |||||||||||
| 7 | 0 | my $self = shift; | |||||||||
| 8 | 0 | ▶ | if (@_) { | ||||||||
|
Branch: 1 branch
| |||||||||||
| 9 | 0 | $self->{pointer} = $_[0]; | |||||||||
| 10 | 0 | return $self; | |||||||||
| 11 | } | ||||||||||
| 12 | else { | ||||||||||
| 13 | 0 | return $self->{pointer}; | |||||||||
| 14 | } | ||||||||||
| 15 | } | ||||||||||
| 16 | |||||||||||
| 17 | 0 | ▶ | sub compiler { | ||||||||
|
Subroutine
compiler: not called CC=2 SCAR=17.9
Pod
undocumented
| |||||||||||
| 18 | 0 | my $self = shift; | |||||||||
| 19 | 0 | ▶ | if (@_) { | ||||||||
|
Branch: 1 branch
| |||||||||||
| 20 | 0 | $self->{compiler} = $_[0]; | |||||||||
| 21 | 0 | return $self; | |||||||||
| 22 | } | ||||||||||
| 23 | else { | ||||||||||
| 24 | 0 | return $self->{compiler}; | |||||||||
| 25 | } | ||||||||||
| 26 | } | ||||||||||
| 27 | |||||||||||
| 28 | 126 | 1; | |||||||||
| 29 | |||||||||||
| 30 | =head1 Name | ||||||||||
| 31 | |||||||||||
| 32 | SPVM::Builder::Native::ClassFile - Class File Native APIs | ||||||||||
| 33 | |||||||||||
| 34 | =head1 Copyright & License | ||||||||||
| 35 | |||||||||||
| 36 | Copyright (c) 2023 Yuki Kimoto | ||||||||||
| 37 | |||||||||||
| 38 | MIT License | ||||||||||