NAME
SPVM::Int - Int object
SYNOPSYS
use SPVM::Int;
my $int_object = SPVM::Int->new(5);
my $int_value = $int_object->value;
DESCRIPTION
SPVM::Int object stores a int
value.
This object is immutable and its value cannot be changed.
SPVM::Int is automatically loaded just after the program starts.
STATIC METHODS
new
sub new : SPVM::Int ($value : int)
Create a new SPVM::Int object with a int
value.
INSTANCE METHODS
value
sub value : int ($self : self)
Get a int
value.