The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

Name

SPVM::Stack - Call Stack

Description

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

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

An instance of the Stack class is build by the build_stack method in the Env class.

Usage

  use Stack;
  
  my $stack = $env->build_stack;

Pointer

The Stack class is a pointer class.

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

Fields

env

  has env : ro Env;

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

Instance Methods

DESTROY

  method DESTROY : void ();

The destructor.

See Also

Env

The build_stack method in the Env class builds a call stack.

Copyright & License

Copyright 2023-2023 Yuki Kimoto, all rights reserved.

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.