SPVM::N...asicType(3)
π 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 & License π
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
- 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