parrotcode: Lua Function | |
Contents | Language Implementations | Lua |
classes/luafunction.pmc - Lua Function
LuaFunction
extends Parrot Closure
to provide a class with the behaviour of the Lua Function
type.
STRING *name()
STRING *get_string()
INTVAL get_bool()
nil
and false
make a condition false; any other values makes it true.PMC *get_pmc_keyed (PMC *key)
void set_bool(INTVAL value)
void set_pmc_keyed (PMC *key, PMC *value)
PMC *neg (PMC *dest)
void i_neg()
PMC *logical_not(PMC *dest)
get_bool
& set_bool
)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 *modulus (PMC *value, PMC *dest)
void i_modulus (PMC *value)
PMC *pow (PMC *value, PMC *dest)
void i_pow (PMC *value)
PMC *concatenate (PMC *value, PMC *dest)
void i_concatenate (PMC *value)
INTVAL is_equal (PMC *value)
INTVAL cmp (PMC *value)
Francois Perrad
|