ATSLIB/libats/gnode
This package contains various functions for manipulating generic nodes.
Synopsis
fun{
} gnode_null
{tk:tk}{a:vt0p} ():<> gnode (tk, a, null)
Synopsis
fun{
tk:tk}{a:t0p
} gnode_get_elt (nx: gnode1 (tk, INV(a))):<> (a)
Synopsis
fun{
tk:tk}{a:t0p
} gnode_set_elt (nx: gnode1 (tk, INV(a)), x0: a):<!wrt> void
Synopsis
fun{
tk:tk}{a:vt0p
} gnode_getref_elt (nx: gnode1 (tk, INV(a))):<> cPtr1 (a)
Synopsis
fun{
tk:tk}{a:vt0p
} gnode_get_next (nx: gnode1 (tk, INV(a))):<> gnode0 (tk, a)
Synopsis
fun{
tk:tk}{a:vt0p
} gnode_set_next (nx: gnode1 (tk, INV(a)), nx2: gnode (tk, a)):<!wrt> void
Synopsis
fun{
tk:tk}{a:vt0p
} gnode_getref_next (nx: gnode1 (tk, INV(a))):<> cPtr1 (gnode0(tk, a))
Synopsis
fun{
tk:tk}{a:vt0p
} gnode_get_prev (nx: gnode1 (tk, INV(a))):<> gnode0 (tk, a)
Synopsis
fun{
tk:tk}{a:vt0p
} gnode_set_prev (nx: gnode1 (tk, INV(a)), nx2: gnode (tk, a)):<!wrt> void
Synopsis
fun{
tk:tk}{a:vt0p
} gnode_getref_prev (nx: gnode1 (tk, INV(a))):<> cPtr1 (gnode0 (tk, a))
Synopsis
fun{
tk:tk}{a:vt0p
} gnode_link00 (nx1: gnode0 (tk, INV(a)), nx2: gnode0 (tk, a)):<!wrt> void
Synopsis
fun{
tk:tk}{a:vt0p
} gnode_link01 (nx1: gnode0 (tk, INV(a)), nx2: gnode1 (tk, a)):<!wrt> void
Synopsis
fun{
tk:tk}{a:vt0p
} gnode_link10 (nx1: gnode1 (tk, INV(a)), nx2: gnode0 (tk, a)):<!wrt> void
Synopsis
fun{
tk:tk}{a:vt0p
} gnode_link11 (nx1: gnode1 (tk, INV(a)), nx2: gnode1 (tk, a)):<!wrt> void
Synopsis
fun{
tk:tk}{a:vt0p
} gnode_insert_next
(nx1: gnode1 (tk, INV(a)), nx2: gnode1 (tk, a)):<!wrt> void
Synopsis
fun{
tk:tk}{a:vt0p
} gnode_insert_prev
(nx1: gnode1 (tk, INV(a)), nx2: gnode1 (tk, a)):<!wrt> void
Synopsis
fun{
tk:tk}{a:vt0p
} gnode_remove (nx: gnode1 (tk, INV(a))):<!wrt> gnode1 (tk, a)
Synopsis
fun{
tk:tk}{a:vt0p
} gnode_remove_next (nx: gnode1 (tk, INV(a))):<!wrt> gnode0 (tk, a)
Synopsis
fun{
tk:tk}{a:vt0p
} gnode_remove_prev (nx: gnode1 (tk, INV(a))):<!wrt> gnode0 (tk, a)
Synopsis
fun{
tk:tk}{a:vt0p
} gnodelst_length (nxs: gnode0 (tk, INV(a))):<> intGte(0)
Synopsis
fun{
tk:tk}{a:vt0p
} gnodelst_rlength (nxs: gnode0 (tk, INV(a))):<> intGte(0)
Synopsis
fun{
tk:tk}{a:vt0p
} gnodelst_next_all (nxs: gnode1 (tk, INV(a))):<> gnode1 (tk, a)
Synopsis
fun{
tk:tk}{a:vt0p
} gnodelst_prev_all (nxs: gnode1 (tk, INV(a))):<> gnode1 (tk, a)