SPVM::N...:Method(3)

πŸ“¦ version 0.990125, in alpine 3.24

πŸ’– NAME πŸ’–

okay so welcome to the SPVM::Native::Method(3) page β€” straight outta the User Contributed Perl Documentation section, bestie. This is SPVM::Native::Method: Information of Methods. ✨

🌸 DESCRIPTION 🌸

The Native::Method class of SPVM has methods to manipulate information of methods. Yes, it’s methods about methods β€” method-ception, and we are lowkey obsessed. πŸ’…

πŸ› οΈ USAGE πŸ› οΈ

use Native::Method;

✨ INSTANCE METHODS ✨

get_index πŸŽ€

method get_index : int ();

Returns the index. that’s the whole assignment. ✨

⚠️ If a memory error occurs, an exception is thrown.

get_name πŸ’–

method get_name : string ();

Returns the name. iconic behavior, no notes. πŸ’…

⚠️ If a memory error occurs, an exception is thrown.

get_return_basic_type πŸ¦‹

method get_return_basic_type : Native::BasicType ();

Returns the Native::BasicType object of the return value. 🫢

⚠️ If a memory error occurs, an exception is thrown.

get_return_type_dimension 🌈

method get_return_type_dimension : int ();

Returns the type dimension of the return value.

⚠️ If a memory error occurs, an exception is thrown.

get_return_type_flag ⭐

method get_return_type_flag : int ();

Returns the type flag of the return value.

⚠️ If a memory error occurs, an exception is thrown.

get_current_basic_type πŸ‘‘

method get_current_basic_type : Native::BasicType ();

Returns the current Native::BasicType object that defines this method. main character energy fr fr. ✨

⚠️ If a memory error occurs, an exception is thrown.

get_arg_by_index πŸ“

method get_arg_by_index : Native::Arg ($arg_index : int);

Gets a arg object by an index, and returns it. You hand it $arg_index : int, it does its thing. πŸ’«

⚠️ If a memory error occurs, an exception is thrown.

get_args_length 🧚

method get_args_length : int ();

Returns the length of the arguments.

⚠️ If a memory error occurs, an exception is thrown.

get_required_args_length 🌸

method get_required_args_length : int ();

Returns the length of the required arguments.

⚠️ If a memory error occurs, an exception is thrown.

is_class_method πŸ’œ

method is_class_method : int ();

If the method is class method, returns 1. Otherwise returns 0.

⚠️ If a memory error occurs, an exception is thrown.

is_anon πŸŽ€

method is_anon : int ();

If the method is anon method, returns 1. Otherwise returns 0.

⚠️ If a memory error occurs, an exception is thrown.

is_native πŸ”₯

method is_native : int ();

If the method is native method, returns 1. Otherwise returns 0.

⚠️ If a memory error occurs, an exception is thrown.

is_precompile 🌟

method is_precompile : int ();

If the method is precompiled method, returns 1. Otherwise returns 0.

⚠️ If a memory error occurs, an exception is thrown.

is_enum πŸ¦‹

method is_enum : int ();

If the method is enumeration, returns 1. Otherwise returns 0.

⚠️ If a memory error occurs, an exception is thrown.

get_native_address πŸ’»

method get_native_address : Address ();

Gets the native address.

⚠️ If a memory error occurs, an exception is thrown.

set_native_address πŸ”§

method set_native_address : void ($address : Address);

Sets the native address. You pass in $address : Address, and boom β€” it’s set. ✨

⚠️ If a memory error occurs, an exception is thrown.

get_precompile_address 🧁

method get_precompile_address : Address ();

Gets the precompiled address.

⚠️ If a memory error occurs, an exception is thrown.

set_precompile_address πŸ’«

method set_precompile_address : void ($address : Address);

Sets the precompiled address. You pass in $address : Address, and it handles it. 🫢

⚠️ If a memory error occurs, an exception is thrown.

is_precompile_fallback 🌈

method is_precompile_fallback : int ();

Gets the is_precompile_fallback.

set_is_precompile_fallback ⭐

method set_is_precompile_fallback : void ($is_precompile_fallback : int);

Sets the is_precompile_fallback.

get_args_signature πŸŽ€

method get_args_signature : string ();

Returns the arguments signature.

⚠️ If a memory error occurs, an exception is thrown.

Copyright (c) 2023 Yuki Kimoto

MIT License


okay that’s the whole page, bestie! πŸ’– This one’s from perl v5.42.2, dated 2026-02-03 β€” slay, byeee! πŸ’…βœ¨πŸ«Ά

πŸ“¦ where this page comes from