SPVM::E...::Class(3)

πŸ“¦ version 0.990125, in alpine 3.24

πŸ’– Name πŸ’–

Okay bestie, you're on the SPVM::ExchangeAPI::Class(3) page β€” the header shows SPVM::E...::Class(3), and yes, it's part of the User Contributed Perl Documentation. The name line is SPVM::ExchangeAPI::Class β€” Class Object ✨

πŸ¦‹ Description πŸ¦‹

So "SPVM::BlessedObject::Class" is a class object to call class methods. That's literally the description, bestie β€” no cap πŸ’…

🌸 Usage 🌸

Here's the direct construction vibe, exactly the same as Int->__new(1) in the SPVM language:

# The same as the Int->__new(1) in the SPVM language
my $class = SPVM::ExchangeAPI::Class->__new(__name => 'Int', __api => $api);
my $value = $class->new(1);

It is easy to use SPVM::ExchangeAPI#class β€” look:

my $class = $api->class('Int');
$class->new(1);

πŸŽ€ Fields πŸŽ€

__name

my $name = $self->__name;
$self->__name($name);

Gets and sets a class name.

__api

my $api = $self->__api;
$self->__api($api);

Gets and sets a SPVM::ExchangeAPI object.

πŸ‘‘ Class Methods πŸ‘‘

__new

my $class = SPVM::ExchangeAPI::Class->__new(%options);

Creates a new "SPVM::ExchangeAPI::Class" object.

Options:

  • __name : string β€” A class name
  • __api : SPVM::ExchangeAPI β€” A SPVM::ExchangeAPI object

⭐ Instance Methods ⭐

AUTOLOAD

$class->foo(@args);

Calls SPVM::ExchangeAPI#call_method using the "__name" field and the method name given in the "AUTOLOAD" method. Slay.

Copyright (c) 2023 Yuki Kimoto

MIT License


That's the whole page, bestie 🫢. This manual was rendered by perl v5.42.2 on 2026-02-03, and the page tag is SPVM::E...::Class(3) πŸ’–

πŸ“¦ where this page comes from