parrotcode: Lua abstract base class | |
Contents | Language Implementations | Lua |
pmc/luabase.pmc - Lua abstract base class
LuaBase
provides an abstract base class for some Lua types.
void morph(INTVAL type)
PMC *clone()
INTVAL get_bool()
true
.PMC *neg (PMC *dest)
void i_neg()
PMC *logical_not(PMC *dest)
get_bool
& set_bool
)INTVAL defined()
void add(PMC *value, PMC *dest)
void i_add (PMC *value)
void subtract(PMC *value, PMC *dest)
void i_substract (PMC *value)
void multiply(PMC *value, PMC *dest)
void i_multiply (PMC *value)
void divide(PMC *value, PMC *dest)
void i_divide (PMC *value)
PMC *pow (PMC *value, PMC *dest)
void i_pow (PMC *value)
PMC *concatenate (PMC *value, PMC *dest)
void i_concatenate (PMC *value)
PMC *tonumber()
nil
.PMC *tostring()
get_string
).Francois Perrad.
|