parrotcode: Lua Table | |
Contents | Language Implementations | Lua |
pmc/luatable.pmc - Lua Table
LuaTable
extends LuaBase
to provide a class with the behaviour of the Lua Table
type.
This implementation is based on the Lua 4.0 one.
void init()
void mark()
void destroy()
STRING *name()
PMC *clone()
STRING *get_string()
void set_pmc(PMC *other)
PMC *get_pmc_keyed (PMC *key)
table
accessor.void set_pmc_keyed(PMC *key, PMC *value)
table
mutator.INTVAL elements()
INTVAL is_equal(PMC *value)
==
operation.
Compares reference (not in depth).INTVAL cmp(PMC *value)
PMC *get_metatable()
PMC *len()
PMC *next(PMC *index)
PMC *rawequal(PMC *value)
PMC *rawget(PMC *key)
void rawset(PMC *key, PMC *value)
void set_metatable(PMC *meta)
Francois Perrad
Klaas-Jan Stol
|