janet.all

Undocumented in source.

Public Imports

janet.d
public import janet.d;
Undocumented in source.

Members

Functions

get
Janet get(JanetTable* tbl, T key)

Gets a Janet value from a JanetTable. Can take any Janet-compatible type as a key. Uses a @nogc version for anything that can be converted without the GC (i.e. non-classes).

get
Janet get(JanetKV* tbl, T key)

As above, but for a struct (JanetKV*).

get
Janet get(JanetTable* tbl, T key)

Gets a Janet value from a JanetTable. Can take any Janet-compatible type as a key. Uses a @nogc version for anything that can be converted without the GC (i.e. non-classes).

get
Janet get(JanetKV* tbl, T key)

As above, but for a struct (JanetKV*).

janetDef
void janetDef(JanetTable* env, string name, T val, string documentation)

Define an immutable value in Janet, as Janet's "def". Immutable means something slightly different in Janet than in D, so this doesn't take in a const or immutable value. This function is @nogc if the value is not a class object.

janetVar
void janetVar(JanetTable* env, string name, T val, string documentation)

As janetDef, but value is mutable, as Janet's "var".

Structs

Janet (from janet.c)
struct Janet via public import janet.c : Janet, JanetFunction, JanetTable, JanetKV;

END SECTION NON-C API ****

JanetFunction (from janet.c)
struct JanetFunction via public import janet.c : Janet, JanetFunction, JanetTable, JanetKV;
Undocumented in source.
JanetKV (from janet.c)
struct JanetKV via public import janet.c : Janet, JanetFunction, JanetTable, JanetKV;
Undocumented in source.
JanetTable (from janet.c)
struct JanetTable via public import janet.c : Janet, JanetFunction, JanetTable, JanetKV;
Undocumented in source.

Meta