The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

Name

SPVM::Native::ClassVar - Information of Class Variables

Description

The Native::ClassVar class of SPVM has methods to manipulate information of class variables.

Usage

  use Native::ClassVar;

Instance Methods

get_index

method get_index : int ();

Gets the index.

If a memory error occurs, an exception is thrown.

get_name

method get_name : string ();

Gets the name.

If a memory error occurs, an exception is thrown.

get_basic_type

method get_basic_type : Native::BasicType ();

Gets the Native::BasicType object.

If a memory error occurs, an exception is thrown.

get_type_dimension

method get_type_dimension : int ();

Gets the type dimension.

If a memory error occurs, an exception is thrown.

get_type_flag

method get_type_flag : int ();

Gets the type flag.

If a memory error occurs, an exception is thrown.

get_current_basic_type

method get_current_basic_type : Native::BasicType ();

Gets the current Native::BasicType object that defines this class variable.

If a memory error occurs, an exception is thrown.

Copyright & License

Copyright (c) 2023 Yuki Kimoto

MIT License