The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

Name

SPVM::Native::Stack - Call Native::Stack

Description

SPVM::Native::Stack is the Native::Stack class in the SPVM language.

The instance is a call stack. It has information of the call stack.

An instance of the Native::Stack class is build by the new_stack method in the Native::Env class.

Usage

  use Native::Stack;
  
  my $stack = $env->new_stack;

Pointer

The Native::Stack class is a pointer class.

Its insntace has a pointer to an object of the SPVM_VALUE type.

Fields

env

  has env : ro Native::Env;

An executable environemnt. The field type is the Native::Env class.

Instance Methods

DESTROY

method DESTROY : void ();

The destructor.

See Also

Native::Env

The new_stack method in the Native::Env class builds a call stack.

Copyright & License

Copyright (c) 2023 Yuki Kimoto

MIT License