SPVM::N...asicType(3)

πŸ“¦ version 0.990125, in alpine 3.24

πŸ’– SPVM::Native::BasicType(3) πŸ¦‹

okay bestie, this is the SPVM::Native::BasicType page from the User Contributed Perl Documentation, and it is literally all about basic-type info in SPVM. no cap. ✨

🌸 Name 🌸

SPVM::Native::BasicType β€” Information of Basic Types πŸŽ€

πŸ¦‹ Description πŸ¦‹

The Native::BasicType class of SPVM has methods to manipulate information of basic types. That's the whole assignment: it's your little info desk for basic types, and each method below is a drawer you can pull open. πŸ’…

🌈 Usage 🌈

use Native::BasicType;

πŸ‘‘ Instance Methods πŸ‘‘

These are the instance methods, bestie β€” all of them, with the exact signatures. 🫢

get_id ✨

method get_id : int ();

Returns the basic type ID. πŸ†”

If a memory error occurs, an exception is thrown. 😭

get_name πŸŽ€

method get_name : string ();

Returns the basic type name. πŸ’–

If a memory error occurs, an exception is thrown. 🫠

get_class_dir πŸ“

method get_class_dir : string ();

Returns the module directory. πŸ—‚οΈ

If a memory error happens, an exception gets thrown. πŸ’€

get_rel_file πŸ›€οΈ

method get_rel_file : string ();

Returns the module relative file path. 🧭

Memory error? An exception is thrown. 🫠

get_parent πŸ‘‘

method get_parent : Native::BasicType ();

Returns the parent Native::BasicType object. 🌳

If a memory error occurs, an exception is thrown. no cap. 😡

get_category 🏷️

method get_category : int ();

Returns the category. πŸ—‚οΈ

If a memory error occurs, an exception is thrown. fr fr. 🫢

get_version_string πŸ«₯

method get_version_string : string ();

Returns the version string. If it is not specified, returns undef. πŸ•³οΈ

If a memory error occurs, an exception is thrown. periodt. πŸ’…

is_pointer 🎯

method is_pointer : int ();

If the basic type is a pointer class, returns 1. Otherwise returns 0. 🎯

If a memory error occurs, an exception is thrown. 😭

is_anon πŸ•΅οΈ

method is_anon : int ();

If the basic type is anon basic type, returns 1. Otherwise returns 0. πŸ•΅οΈ

If a memory error happens, an exception gets thrown. πŸ’€

get_class_var_by_index πŸ”’

method get_class_var_by_index : Native::ClassVar ($class_var_index : int);

Gets a class variable object by an index. 🎚️

If a memory error occurs, an exception is thrown. 🫠

get_class_var_by_name 🏷️

method get_class_var_by_name : Native::ClassVar ($class_var_name : string);

Gets a class variable object by a name. πŸ”–

If a memory error occurs, an exception is thrown. 😭

get_class_vars_length πŸ“

method get_class_vars_length : int ();

Gets the length of the class variables. πŸ“

If a memory error happens, an exception gets thrown. πŸ’€

get_field_by_index πŸ”’

method get_field_by_index : Native::Field ($field_index : int);

Gets a field object by an index. 🎚️

If a memory error occurs, an exception is thrown. 🫠

get_field_by_name 🏷️

method get_field_by_name : Native::Field ($field_name : string);

Gets a field object by a name. πŸ”–

If a memory error occurs, an exception is thrown. 😭

get_fields_length πŸ“

method get_fields_length : int ();

Gets the length of the fields. πŸ“

If a memory error happens, an exception gets thrown. πŸ’€

get_method_by_index πŸ”’

method get_method_by_index : Native::Method ($method_index : int);

Gets a method object by an index. 🎚️

If a memory error occurs, an exception is thrown. 🫠

get_method_by_name 🏷️

method get_method_by_name : Native::Method ($method_name : string);

Gets a method object by a name. πŸ”–

If a memory error occurs, an exception is thrown. 😭

get_methods_length πŸ“

method get_methods_length : int ();

Gets the length of the methods. πŸ“

If a memory error happens, an exception gets thrown. πŸ’€

get_anon_basic_type_by_index 🧚

method get_anon_basic_type_by_index : Native::BasicType ($anon_basic_type_index : int);

Gets an anon basic type object defined in this basic type by an index. 🧚

If a memory error occurs, an exception is thrown. 🫠

get_anon_basic_types_length πŸ“

method get_anon_basic_types_length : int ();

Gets the length of the anon basic types defined in this basic type. πŸ“

If a memory error occurs, an exception is thrown. 😭

get_methods πŸ’…

method get_methods :  Native::Method[] ($options : object[] = undef);

Returns methods. πŸ’…

get_fields πŸ“

method get_fields : Native::Field[] ($options : object[] = undef);

Returns fields. πŸ“

get_class_vars πŸŽ€

method get_class_vars : Native::ClassVar[] ($options : object[] = undef);

Returns class variables. πŸŽ€

get_basic_type_in_version_from πŸ”Ž

method get_basic_type_in_version_from : Native::BasicType ();

Returns the basic type Native::BasicType object specified by the "version_from" statement. πŸ”Ž

If a memory error occurs, an exception is thrown. 🫠

Copyright (c) 2023 Yuki Kimoto

MIT License

okay that's the whole page, bestie πŸ’– β€” from perl v5.42.2, dated 2026-02-03, and it's the SPVM::N...asicType(3) manpage in the User Contributed Perl Documentation. periodt. πŸŽ€

πŸ“¦ where this page comes from