SPVM::N...:Method(3)
π 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 & LICENSE π
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
- alpine 3.24: spvm-doc 0.990125-r0 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms