NAME ^

type/table.pir - Lua Table

DESCRIPTION ^

table extends base_lua to provide a class with the behaviour of the Lua table type.

TRIVIAL IMPLEMENTATION : table is just a Parrot Hash, like in Lua 4.0. Now, Lua 5.0 uses a hybrid data structure with a Hash part and an Array part.

Functions ^

non-Vtable Methods ^

is_equal (value)

The == operation. Compares reference (not in depth).

Specific Methods ^

len ()

rawget (key)

rawset (key, value)

AUTHORS ^

Francois Perrad.


parrot