The Perl and Raku Conference 2025: Greenville, South Carolina - June 27-29 Learn more

1;
=head1 Name
SPVM::Native::Field - Information of Fields
=head1 Description
The Native::Field class of L<SPVM> has methods to manipulate information of fields.
=head1 Usage
=head1 Instance Methods
=head2 get_index
C<method get_index : int ();>
Gets the index.
If a memory error occurs, an exception is thrown.
=head2 get_name
C<method get_name : string ();>
Gets the name.
If a memory error occurs, an exception is thrown.
=head2 get_basic_type
C<method get_basic_type : L<Native::BasicType|SPVM::Native::BasicType> ();>
Gets L<Native::BasicType|SPVM::Native::BasicType> object.
If a memory error occurs, an exception is thrown.
=head2 get_type_dimension
C<method get_type_dimension : int ();>
Gets the type dimension.
If a memory error occurs, an exception is thrown.
=head2 get_type_flag
C<method get_type_flag : int ();>
Gets the type flag.
If a memory error occurs, an exception is thrown.
=head2 get_current_basic_type
C<method get_current_basic_type : L<Native::BasicType|SPVM::Native::BasicType> ();>
Gets the current L<Native::BasicType|SPVM::Native::BasicType> object that defines this field.
If a memory error occurs, an exception is thrown.
=head1 Copyright & License
Copyright (c) 2023 Yuki Kimoto
MIT License