SPVM::Native::ClassVar − Information of Class Variables
The Native::ClassVar class of SPVM has methods to manipulate information of class variables.
use Native::ClassVar;
"method get_index : int ();"
Gets the index.
If a memory error occurs, an exception is thrown.
"method get_name : string ();"
Gets the name.
If a memory error occurs, an exception is thrown.
"method get_basic_type : Native::BasicType ();"
Gets Native::BasicType object.
If a memory error occurs, an exception is thrown.
"method get_type_dimension : int ();"
Gets the type dimension.
If a memory error occurs, an exception is thrown.
"method get_type_flag : int ();"
Gets the type flag.
If a memory error occurs, an exception is thrown.
"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.
"method is_cache : int ();"
If "cache" class variable attribute is specified, returns 1, otherwise returns 0.
Copyright (c) 2023 Yuki Kimoto
MIT License