@Generated(value="org.realityforge.webtack")
@JsType(isNative=true,
namespace="<global>",
name="WebAssembly.Table")
public class Table
extends JsObject
| Constructor and Description |
|---|
Table(TableDescriptor descriptor) |
| Modifier and Type | Method and Description |
|---|---|
Function |
get(int index)
The get() prototype method of the WebAssembly.Table() object retrieves a function reference stored at a given index.
|
int |
grow(int delta)
The grow() prototype method of the WebAssembly.Table object increases the size of the Table instance by a specified number of elements.
|
int |
length()
The length prototype property of the WebAssembly.Table object returns the length of the table, i.e.
|
void |
set(int index,
Function value)
The set() prototype method of the WebAssembly.Table object mutates a reference stored at a given index to a different value.
|
assign, create, create, defineProperties, defineProperty, defineProperty, entries, freeze, fromEntries, getOwnPropertyDescriptor, getOwnPropertyDescriptor, getOwnPropertyDescriptors, getOwnPropertyNames, getOwnPropertySymbols, getPrototypeOf, is, isExtensible, isFrozen, isSealed, keys, preventExtensions, seal, setPrototypeOf, valueOf_, valuespublic Table(@Nonnull
TableDescriptor descriptor)
@JsProperty(name="length") public int length()
@Nullable public Function get(int index)
public int grow(int delta)
public void set(int index,
@Nullable
Function value)