blib/lib/SPVM/Native/Stack.pm untested

filter: Statementstmt n/a Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub n/a Podpod n/a SCAR -
1 package SPVM::Native::Stack;
2  
3  
4  
5 1;
6  
7 =head1 Name
8  
9 SPVM::Native::Stack - Call Native::Stack
10  
11 =head1 Description
12  
13 C<SPVM::Native::Stack> is C<Native::Stack> class in L<SPVM> language.
14  
15 The instance is a call stack. It has information of the call stack.
16  
17 An instance of C<Native::Stack> class is build by L<Native::Env#new_stack|SPVM::Native::Env/"new_stack">.
18  
19 =head1 Usage
20  
21 use Native::Stack;
22
23 my $stack = $env->new_stack;
24  
25 =head1 Pointer
26  
27 The C<Native::Stack> class is a L<pointer class|SPVM::Document::Language/"Pointer Class">.
28  
29 Its insntace has a pointer to an object of L<SPVM_VALUE|SPVM::Document::NativeAPI/"Call Native::Stack"> type.
30  
31 =head1 Fields
32  
33 =head2 env
34  
35 has env : ro Native::Env;
36  
37 An executable environemnt. The field type is L<Native::Env|SPVM::Native::Env> class.
38  
39 =head1 Instance Methods
40  
41 =head2 DESTROY
42  
43 C<method DESTROY : void ();>
44  
45 The destructor.
46  
47 =head1 See Also
48  
49 =over 2
50  
51 =item * L<Native::Env|SPVM::Native::Env>
52  
53 =back
54  
55 =head1 Copyright & License
56  
57 Copyright (c) 2023 Yuki Kimoto
58  
59 MIT License