mildew.types

This module is for convenient use by the scripting language internals. Host applications should only import func, object, and any most of the time.

Modules

any
module mildew.types.any

This module implements the ScriptAny struct, which can hold any value type usable in the scripting language.

array
module mildew.types.array

This module implements how arrays are internally handled. There is no reason to use this instead of constructing a ScriptAny with a D array.

bindings
module 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

func
module mildew.types.func

This module implements the ScriptFunction class, which holds script defined functions as well as native D functions or delegates with the correct signature.

object
module mildew.types.object

This module implements ScriptObject, the base class for builtin Mildew objects.

string
module mildew.types.string

This module implements ScriptString. However, host applications should work with D strings by converting the ScriptAny directly to string.

Public Imports

mildew.types.any
public import mildew.types.any;
mildew.types.array
public import mildew.types.array;
mildew.types.func
public import mildew.types.func;
mildew.types.object
public import mildew.types.object;
mildew.types.string
public import mildew.types.string;

Meta