NAME

SPVM::Int - Int object

SYNOPSYS

use SPVM::Int;

my $int_object = SPVM::Int->new(5);
my $int_value = $int_object->val;

DESCRIPTION

SPVM::Int object stores a int value.

This object is immutable.

STATIC METHODS

new

sub new : SPVM::Int ($value : int)

Create a new SPVM::Int object with specific int value.

INSTANCE METHODS

val

sub val : int ($self : self)

Get a int value.