Back

Table

src/main/java/bt7s7k7/treeburst/standard/TableApi.java:21
src/main/java/bt7s7k7/treeburst/runtime/Realm.java:152
src/main/java/bt7s7k7/treeburst/standard/TableApi.java:31

Represents an object with properties.



Static Properties

Table.getName

src/main/java/bt7s7k7/treeburst/standard/TableApi.java:110

Overloads:

Returns the name of the object or void if it is not named.


Table.getNameOrInheritedName

src/main/java/bt7s7k7/treeburst/standard/TableApi.java:116

Overloads:

Returns the name of the object, of the object's prototype or void if it is not named.


Table.getProperty

src/main/java/bt7s7k7/treeburst/standard/TableApi.java:97

Overloads:

If the object contains property named property, returns its value. Otherwise returns void. If the receiver arguments is specified, it will be provided to any possible getters.


Table.getPrototype

src/main/java/bt7s7k7/treeburst/standard/TableApi.java:139

Overloads:

Returns the prototype of the value or void if it does not have a prototype.


Table.instanceOf

src/main/java/bt7s7k7/treeburst/standard/TableApi.java:146

Overloads:

Returns if the value is an instance of a type, that is if it has a prototype that is equal to the type prototype property. The only exception is the void and null values, which are singletons and instances of themselves.


Table.new

src/main/java/bt7s7k7/treeburst/standard/TableApi.java:33

Overloads:

Creates a new object that inherits from this table's prototype property, assuming it exists. Otherwise an exception is generated.


Table.setName

src/main/java/bt7s7k7/treeburst/standard/TableApi.java:123

Overloads:

Sets the name of the object. The name argument can also be set to void, in which case the name is cleared. Returns the object.


Instance Properties

Table.prototype.@k_and

src/main/java/bt7s7k7/treeburst/runtime/Realm.java:471

Overloads:

This object is converted to a Boolean. If the result is true, the other expression is evaluated and the result retuned, otherwise this object is returned.


Table.prototype.@k_coalesce

src/main/java/bt7s7k7/treeburst/runtime/Realm.java:531

Overloads:

If this object is not null or void, it is returned, otherwise the other expression is evaluated and the result retuned.


Table.prototype.@k_else

src/main/java/bt7s7k7/treeburst/runtime/Realm.java:568

Overloads:

If this object is not void, it is returned, otherwise the other expression is evaluated and the result retuned.


Table.prototype.@k_or

src/main/java/bt7s7k7/treeburst/runtime/Realm.java:494

Overloads:

This object is converted to a Boolean. If the result is true this object is retuned, otherwise the other expression is evaluated and the result retuned.


Table.prototype.k_boolean

src/main/java/bt7s7k7/treeburst/runtime/Realm.java:591

Overloads:

This object is converted to a Boolean.


Table.prototype.k_dump

src/main/java/bt7s7k7/treeburst/runtime/Realm.java:611

Overloads:

Formats the value into a textual form.


Table.prototype.k_is

src/main/java/bt7s7k7/treeburst/runtime/Realm.java:602

Overloads:

Returns true if this object is equal by reference to the other object. This function returns inconsistent results for objects of type String and Number, and should not be used with them. The intended use is for reference comparisons between compound objects and null or void, without using their overload of the k_eq operator.


Table.prototype.k_string

src/main/java/bt7s7k7/treeburst/runtime/Realm.java:629

Overloads:

Formats the value into a textual form, using its k_dump implementation