Back

Function

src/main/java/bt7s7k7/treeburst/runtime/ManagedFunction.java:9
src/main/java/bt7s7k7/treeburst/runtime/Realm.java:155
src/main/java/bt7s7k7/treeburst/runtime/Realm.java:154
src/main/java/bt7s7k7/treeburst/runtime/Realm.java:222

Represents a repeatedly executable subprogram, that may take input in the forms of arguments and may return a single value.



Function.prototype.call

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

Overloads:

Calls the function with the specified receiver and arguments, returning its return value.


Inherited Properties

Table.prototype.@k_and

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

Inherited from: Table

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

Inherited from: Table

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

Inherited from: Table

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

Inherited from: Table

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

Inherited from: Table

Overloads:

This object is converted to a Boolean.


Table.prototype.k_dump

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

Inherited from: Table

Overloads:

Formats the value into a textual form.


Table.prototype.k_is

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

Inherited from: Table

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

Inherited from: Table

Overloads:

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