Name

SPVM::Native - Getting the current native environment, stack, runtime, compiler.

Description

The Native class of SPVM has methods to get the current native environment, stack, runtime, compiler.

Usage

use Native;

Class Methods

get_current_stack

static method get_current_stack : Native::Stack ();

Returns the current execution stack.

get_current_env

static get_current_env : Native::Env ();

Returns the current execution environemnt.

get_current_runtime

static method get_current_runtime : Native::Runtime ();

Returns the current runtime.

get_current_compiler

static method get_current_compiler : Native::Compiler ();

Returns the current compiler.

Copyright & License

Copyright (c) 2023 Yuki Kimoto

MIT License