Table

Wrapper around Lua tables

Constructors

this
this(Value table)
Undocumented in source.
this
this()
Undocumented in source.

Members

Functions

expose
void expose(T value)

Seamless assign to a table, passing a preferred name for the given value

expose
void expose()

Seamless assign to a table, passing a preferred name for the given value

length
size_t length()

Get the length of this table

metatable
Nullable!Table metatable()

Get the metatable

metatable
void metatable(Nullable!Table newMetatable)

Set the metatable

metatable
void metatable(Table newMetatable)

Set the metatable

metatable
void metatable(typeof(null) )

Set the metatable

opIndex
DConsumable opIndex(T value)

Seamless index of a table

opIndexAssign
void opIndexAssign(T value, K key)

Seamless assign to a table

opUnary
DConsumable opUnary()

Invokes the metatable seamlessly when performing unary negation

Static functions

create
Table create()

Create a new, empty Table

Variables

_internalTable
Value _internalTable;

The internal data for this Table; should seldom be accessed by user code

Meta