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.

check_bootstrap_method

static method check_bootstrap_method : void ($basic_type_name : string);

Check the bootstrap method in the basic type $basic_type_name.

Copyright & License

Copyright (c) 2023 Yuki Kimoto

MIT License