Name
SPVM::Native::Env - Runtime Environment
Description
The Native::Env class in SPVM represents an runtime environment.
Usage
use Native::Env;
my $env = $runtime->new_env;
my $stack = $env->new_stack;
Details
This class is a pointer class.
Its insntace has the pointer to an object of SPVM_ENV type.
Fields
has runtime : ro Native::Runtime;
The runtime for this runtime environment.
Instance Methods
DESTROY
method DESTROY : void ();
The destructor.
new_stack
method new_stack : Native::Stack ();
Builds a call stack and returns it.
The return type is Native::Stack class.
See Also
Copyright & License
Copyright (c) 2023 Yuki Kimoto
MIT License