NAME ^

lib/base.pir - Lua abstract base class

DESCRIPTION ^

base_lua provides an abstract base class for some Lua types.

Functions ^

__clone

__get_string

__get_bool

Returns true.

__get_pmc_keyed

__set_pmc_keyed

Throws an exception.

__neg

__i_neg

Throws an exception.

__logical_not

Always returns false.

__defined

Always returns true.

__invoke

non-Vtable Methods ^

__add

__i_add

__subtract

__i_substract

__multiply

__i_multiply

__divide

__i_divide

__modulus

__i_modulus

__pow

__i_pow

__concatenate

__i_concatenate

Throws an exception.

__is_equal

__cmp

Specific Methods ^

len

PMC *rawequal (PMC *value)

tonumber

tostring

set_metatable

get_metatable

find_metamethod

Looks up the method for *method_name.

AUTHORS ^

Francois Perrad.


parrot