Tolk standard library
tvm-dicts
tvm-dicts.tolk Tolk standard library file
Definitions
createEmptyDict
@pure
fun createEmptyDict(): dictCreates an empty dictionary, which is actually a null value. Equivalent to PUSHNULL
dict.dictIsEmpty
@pure
fun dict.dictIsEmpty(self): boolChecks whether a dictionary is empty.
Source codedict.iDictGet
@pure
fun dict.iDictGet(self, keyLen: int, key: int): (slice?, bool)dict.uDictGet
@pure
fun dict.uDictGet(self, keyLen: int, key: int): (slice?, bool)dict.sDictGet
@pure
fun dict.sDictGet(self, keyLen: int, key: slice): (slice?, bool)dict.iDictSet
@pure
fun dict.iDictSet(mutate self, keyLen: int, key: int, value: slice): voiddict.uDictSet
@pure
fun dict.uDictSet(mutate self, keyLen: int, key: int, value: slice): voiddict.sDictSet
@pure
fun dict.sDictSet(mutate self, keyLen: int, key: slice, value: slice): voiddict.iDictSetRef
@pure
fun dict.iDictSetRef(mutate self, keyLen: int, key: int, value: cell): voiddict.uDictSetRef
@pure
fun dict.uDictSetRef(mutate self, keyLen: int, key: int, value: cell): voiddict.sDictSetRef
@pure
fun dict.sDictSetRef(mutate self, keyLen: int, key: slice, value: cell): voiddict.iDictSetIfNotExists
@pure
fun dict.iDictSetIfNotExists(mutate self, keyLen: int, key: int, value: slice): booldict.uDictSetIfNotExists
@pure
fun dict.uDictSetIfNotExists(mutate self, keyLen: int, key: int, value: slice): booldict.iDictSetIfExists
@pure
fun dict.iDictSetIfExists(mutate self, keyLen: int, key: int, value: slice): booldict.uDictSetIfExists
@pure
fun dict.uDictSetIfExists(mutate self, keyLen: int, key: int, value: slice): booldict.iDictGetRef
@pure
fun dict.iDictGetRef(self, keyLen: int, key: int): (cell?, bool)dict.uDictGetRef
@pure
fun dict.uDictGetRef(self, keyLen: int, key: int): (cell?, bool)dict.sDictGetRef
@pure
fun dict.sDictGetRef(self, keyLen: int, key: slice): (cell?, bool)dict.iDictGetRefOrNull
@pure
fun dict.iDictGetRefOrNull(self, keyLen: int, key: int): cell?dict.uDictGetRefOrNull
@pure
fun dict.uDictGetRefOrNull(self, keyLen: int, key: int): cell?dict.sDictGetRefOrNull
@pure
fun dict.sDictGetRefOrNull(self, keyLen: int, key: slice): cell?dict.iDictDelete
@pure
fun dict.iDictDelete(mutate self, keyLen: int, key: int): booldict.uDictDelete
@pure
fun dict.uDictDelete(mutate self, keyLen: int, key: int): booldict.sDictDelete
@pure
fun dict.sDictDelete(mutate self, keyLen: int, key: slice): booldict.iDictSetAndGet
@pure
fun dict.iDictSetAndGet(mutate self, keyLen: int, key: int, value: slice): (slice?, bool)dict.uDictSetAndGet
@pure
fun dict.uDictSetAndGet(mutate self, keyLen: int, key: int, value: slice): (slice?, bool)dict.sDictSetAndGet
@pure
fun dict.sDictSetAndGet(mutate self, keyLen: int, key: slice, value: slice): (slice?, bool)dict.iDictSetAndGetRefOrNull
@pure
fun dict.iDictSetAndGetRefOrNull(mutate self, keyLen: int, key: int, value: cell): cell?dict.uDictSetAndGetRefOrNull
@pure
fun dict.uDictSetAndGetRefOrNull(mutate self, keyLen: int, key: int, value: cell): cell?dict.iDictDeleteAndGet
@pure
fun dict.iDictDeleteAndGet(mutate self, keyLen: int, key: int): (slice?, bool)dict.uDictDeleteAndGet
@pure
fun dict.uDictDeleteAndGet(mutate self, keyLen: int, key: int): (slice?, bool)dict.sDictDeleteAndGet
@pure
fun dict.sDictDeleteAndGet(mutate self, keyLen: int, key: slice): (slice?, bool)dict.iDictSetBuilder
@pure
fun dict.iDictSetBuilder(mutate self, keyLen: int, key: int, value: builder): voiddict.uDictSetBuilder
@pure
fun dict.uDictSetBuilder(mutate self, keyLen: int, key: int, value: builder): voiddict.sDictSetBuilder
@pure
fun dict.sDictSetBuilder(mutate self, keyLen: int, key: slice, value: builder): voiddict.iDictSetBuilderIfNotExists
@pure
fun dict.iDictSetBuilderIfNotExists(mutate self, keyLen: int, key: int, value: builder): booldict.uDictSetBuilderIfNotExists
@pure
fun dict.uDictSetBuilderIfNotExists(mutate self, keyLen: int, key: int, value: builder): booldict.iDictSetBuilderIfExists
@pure
fun dict.iDictSetBuilderIfExists(mutate self, keyLen: int, key: int, value: builder): booldict.uDictSetBuilderIfExists
@pure
fun dict.uDictSetBuilderIfExists(mutate self, keyLen: int, key: int, value: builder): booldict.iDictDeleteFirstAndGet
@pure
fun dict.iDictDeleteFirstAndGet(mutate self, keyLen: int): (int?, slice?, bool)dict.uDictDeleteFirstAndGet
@pure
fun dict.uDictDeleteFirstAndGet(mutate self, keyLen: int): (int?, slice?, bool)dict.sDictDeleteFirstAndGet
@pure
fun dict.sDictDeleteFirstAndGet(mutate self, keyLen: int): (slice?, slice?, bool)dict.iDictDeleteLastAndGet
@pure
fun dict.iDictDeleteLastAndGet(mutate self, keyLen: int): (int?, slice?, bool)dict.uDictDeleteLastAndGet
@pure
fun dict.uDictDeleteLastAndGet(mutate self, keyLen: int): (int?, slice?, bool)dict.sDictDeleteLastAndGet
@pure
fun dict.sDictDeleteLastAndGet(mutate self, keyLen: int): (slice?, slice?, bool)dict.iDictGetFirst
@pure
fun dict.iDictGetFirst(self, keyLen: int): (int?, slice?, bool)dict.uDictGetFirst
@pure
fun dict.uDictGetFirst(self, keyLen: int): (int?, slice?, bool)dict.sDictGetFirst
@pure
fun dict.sDictGetFirst(self, keyLen: int): (slice?, slice?, bool)dict.iDictGetFirstAsRef
@pure
fun dict.iDictGetFirstAsRef(self, keyLen: int): (int?, cell?, bool)dict.uDictGetFirstAsRef
@pure
fun dict.uDictGetFirstAsRef(self, keyLen: int): (int?, cell?, bool)dict.sDictGetFirstAsRef
@pure
fun dict.sDictGetFirstAsRef(self, keyLen: int): (slice?, cell?, bool)dict.iDictGetLast
@pure
fun dict.iDictGetLast(self, keyLen: int): (int?, slice?, bool)dict.uDictGetLast
@pure
fun dict.uDictGetLast(self, keyLen: int): (int?, slice?, bool)dict.sDictGetLast
@pure
fun dict.sDictGetLast(self, keyLen: int): (slice?, slice?, bool)dict.iDictGetLastAsRef
@pure
fun dict.iDictGetLastAsRef(self, keyLen: int): (int?, cell?, bool)dict.uDictGetLastAsRef
@pure
fun dict.uDictGetLastAsRef(self, keyLen: int): (int?, cell?, bool)dict.sDictGetLastAsRef
@pure
fun dict.sDictGetLastAsRef(self, keyLen: int): (slice?, cell?, bool)dict.iDictGetNext
@pure
fun dict.iDictGetNext(self, keyLen: int, pivot: int): (int?, slice?, bool)dict.uDictGetNext
@pure
fun dict.uDictGetNext(self, keyLen: int, pivot: int): (int?, slice?, bool)dict.sDictGetNext
@pure
fun dict.sDictGetNext(self, keyLen: int, pivot: slice): (slice?, slice?, bool)dict.iDictGetNextOrEqual
@pure
fun dict.iDictGetNextOrEqual(self, keyLen: int, pivot: int): (int?, slice?, bool)dict.uDictGetNextOrEqual
@pure
fun dict.uDictGetNextOrEqual(self, keyLen: int, pivot: int): (int?, slice?, bool)dict.sDictGetNextOrEqual
@pure
fun dict.sDictGetNextOrEqual(self, keyLen: int, pivot: slice): (slice?, slice?, bool)dict.iDictGetPrev
@pure
fun dict.iDictGetPrev(self, keyLen: int, pivot: int): (int?, slice?, bool)dict.uDictGetPrev
@pure
fun dict.uDictGetPrev(self, keyLen: int, pivot: int): (int?, slice?, bool)dict.sDictGetPrev
@pure
fun dict.sDictGetPrev(self, keyLen: int, pivot: slice): (slice?, slice?, bool)dict.iDictGetPrevOrEqual
@pure
fun dict.iDictGetPrevOrEqual(self, keyLen: int, pivot: int): (int?, slice?, bool)dict.uDictGetPrevOrEqual
@pure
fun dict.uDictGetPrevOrEqual(self, keyLen: int, pivot: int): (int?, slice?, bool)dict.sDictGetPrevOrEqual
@pure
fun dict.sDictGetPrevOrEqual(self, keyLen: int, pivot: slice): (slice?, slice?, bool)dict.prefixDictGet
@pure
fun dict.prefixDictGet(self, keyLen: int, key: slice): (slice, slice?, slice?, bool)dict.prefixDictSet
@pure
fun dict.prefixDictSet(mutate self, keyLen: int, key: slice, value: slice): booldict.prefixDictDelete
@pure
fun dict.prefixDictDelete(mutate self, keyLen: int, key: slice): boolLast updated on