mildew.types.bindings

This module implements the __proto__ field given to each special object such as ScriptObject, ScriptFunction, ScriptArray, and ScriptString, as well as the static methods for Object, Array, Function, and String

Members

Functions

getArrayPrototype
ScriptObject getArrayPrototype()
Undocumented in source. Be warned that the author may not have intended to support it.
getFunctionPrototype
ScriptObject getFunctionPrototype()
Undocumented in source. Be warned that the author may not have intended to support it.
getObjectPrototype
ScriptObject getObjectPrototype()
Undocumented in source. Be warned that the author may not have intended to support it.
getStringPrototype
ScriptObject getStringPrototype()
Undocumented in source. Be warned that the author may not have intended to support it.
initializeTypesLibrary
void initializeTypesLibrary(Interpreter interpreter)

Initializes the bindings of builtin types such as Object, Function, String, and Array. This function is not required because these objects already have their __proto__ set correctly when constructed.

Meta