Acton
Tolk standard library

tvm-dicts

tvm-dicts.tolk Tolk standard library file

Definitions

createEmptyDict

@pure
fun createEmptyDict(): dict

Creates an empty dictionary, which is actually a null value. Equivalent to PUSHNULL

Source code

dict.dictIsEmpty

@pure
fun dict.dictIsEmpty(self): bool

Checks whether a dictionary is empty.

Source code

dict.iDictGet

@pure
fun dict.iDictGet(self, keyLen: int, key: int): (slice?, bool)
Source code

dict.uDictGet

@pure
fun dict.uDictGet(self, keyLen: int, key: int): (slice?, bool)
Source code

dict.sDictGet

@pure
fun dict.sDictGet(self, keyLen: int, key: slice): (slice?, bool)
Source code

dict.iDictSet

@pure
fun dict.iDictSet(mutate self, keyLen: int, key: int, value: slice): void
Source code

dict.uDictSet

@pure
fun dict.uDictSet(mutate self, keyLen: int, key: int, value: slice): void
Source code

dict.sDictSet

@pure
fun dict.sDictSet(mutate self, keyLen: int, key: slice, value: slice): void
Source code

dict.iDictSetRef

@pure
fun dict.iDictSetRef(mutate self, keyLen: int, key: int, value: cell): void
Source code

dict.uDictSetRef

@pure
fun dict.uDictSetRef(mutate self, keyLen: int, key: int, value: cell): void
Source code

dict.sDictSetRef

@pure
fun dict.sDictSetRef(mutate self, keyLen: int, key: slice, value: cell): void
Source code

dict.iDictSetIfNotExists

@pure
fun dict.iDictSetIfNotExists(mutate self, keyLen: int, key: int, value: slice): bool
Source code

dict.uDictSetIfNotExists

@pure
fun dict.uDictSetIfNotExists(mutate self, keyLen: int, key: int, value: slice): bool
Source code

dict.iDictSetIfExists

@pure
fun dict.iDictSetIfExists(mutate self, keyLen: int, key: int, value: slice): bool
Source code

dict.uDictSetIfExists

@pure
fun dict.uDictSetIfExists(mutate self, keyLen: int, key: int, value: slice): bool
Source code

dict.iDictGetRef

@pure
fun dict.iDictGetRef(self, keyLen: int, key: int): (cell?, bool)
Source code

dict.uDictGetRef

@pure
fun dict.uDictGetRef(self, keyLen: int, key: int): (cell?, bool)
Source code

dict.sDictGetRef

@pure
fun dict.sDictGetRef(self, keyLen: int, key: slice): (cell?, bool)
Source code

dict.iDictGetRefOrNull

@pure
fun dict.iDictGetRefOrNull(self, keyLen: int, key: int): cell?
Source code

dict.uDictGetRefOrNull

@pure
fun dict.uDictGetRefOrNull(self, keyLen: int, key: int): cell?
Source code

dict.sDictGetRefOrNull

@pure
fun dict.sDictGetRefOrNull(self, keyLen: int, key: slice): cell?
Source code

dict.iDictDelete

@pure
fun dict.iDictDelete(mutate self, keyLen: int, key: int): bool
Source code

dict.uDictDelete

@pure
fun dict.uDictDelete(mutate self, keyLen: int, key: int): bool
Source code

dict.sDictDelete

@pure
fun dict.sDictDelete(mutate self, keyLen: int, key: slice): bool
Source code

dict.iDictSetAndGet

@pure
fun dict.iDictSetAndGet(mutate self, keyLen: int, key: int, value: slice): (slice?, bool)
Source code

dict.uDictSetAndGet

@pure
fun dict.uDictSetAndGet(mutate self, keyLen: int, key: int, value: slice): (slice?, bool)
Source code

dict.sDictSetAndGet

@pure
fun dict.sDictSetAndGet(mutate self, keyLen: int, key: slice, value: slice): (slice?, bool)
Source code

dict.iDictSetAndGetRefOrNull

@pure
fun dict.iDictSetAndGetRefOrNull(mutate self, keyLen: int, key: int, value: cell): cell?
Source code

dict.uDictSetAndGetRefOrNull

@pure
fun dict.uDictSetAndGetRefOrNull(mutate self, keyLen: int, key: int, value: cell): cell?
Source code

dict.iDictDeleteAndGet

@pure
fun dict.iDictDeleteAndGet(mutate self, keyLen: int, key: int): (slice?, bool)
Source code

dict.uDictDeleteAndGet

@pure
fun dict.uDictDeleteAndGet(mutate self, keyLen: int, key: int): (slice?, bool)
Source code

dict.sDictDeleteAndGet

@pure
fun dict.sDictDeleteAndGet(mutate self, keyLen: int, key: slice): (slice?, bool)
Source code

dict.iDictSetBuilder

@pure
fun dict.iDictSetBuilder(mutate self, keyLen: int, key: int, value: builder): void
Source code

dict.uDictSetBuilder

@pure
fun dict.uDictSetBuilder(mutate self, keyLen: int, key: int, value: builder): void
Source code

dict.sDictSetBuilder

@pure
fun dict.sDictSetBuilder(mutate self, keyLen: int, key: slice, value: builder): void
Source code

dict.iDictSetBuilderIfNotExists

@pure
fun dict.iDictSetBuilderIfNotExists(mutate self, keyLen: int, key: int, value: builder): bool
Source code

dict.uDictSetBuilderIfNotExists

@pure
fun dict.uDictSetBuilderIfNotExists(mutate self, keyLen: int, key: int, value: builder): bool
Source code

dict.iDictSetBuilderIfExists

@pure
fun dict.iDictSetBuilderIfExists(mutate self, keyLen: int, key: int, value: builder): bool
Source code

dict.uDictSetBuilderIfExists

@pure
fun dict.uDictSetBuilderIfExists(mutate self, keyLen: int, key: int, value: builder): bool
Source code

dict.iDictDeleteFirstAndGet

@pure
fun dict.iDictDeleteFirstAndGet(mutate self, keyLen: int): (int?, slice?, bool)
Source code

dict.uDictDeleteFirstAndGet

@pure
fun dict.uDictDeleteFirstAndGet(mutate self, keyLen: int): (int?, slice?, bool)
Source code

dict.sDictDeleteFirstAndGet

@pure
fun dict.sDictDeleteFirstAndGet(mutate self, keyLen: int): (slice?, slice?, bool)
Source code

dict.iDictDeleteLastAndGet

@pure
fun dict.iDictDeleteLastAndGet(mutate self, keyLen: int): (int?, slice?, bool)
Source code

dict.uDictDeleteLastAndGet

@pure
fun dict.uDictDeleteLastAndGet(mutate self, keyLen: int): (int?, slice?, bool)
Source code

dict.sDictDeleteLastAndGet

@pure
fun dict.sDictDeleteLastAndGet(mutate self, keyLen: int): (slice?, slice?, bool)
Source code

dict.iDictGetFirst

@pure
fun dict.iDictGetFirst(self, keyLen: int): (int?, slice?, bool)
Source code

dict.uDictGetFirst

@pure
fun dict.uDictGetFirst(self, keyLen: int): (int?, slice?, bool)
Source code

dict.sDictGetFirst

@pure
fun dict.sDictGetFirst(self, keyLen: int): (slice?, slice?, bool)
Source code

dict.iDictGetFirstAsRef

@pure
fun dict.iDictGetFirstAsRef(self, keyLen: int): (int?, cell?, bool)
Source code

dict.uDictGetFirstAsRef

@pure
fun dict.uDictGetFirstAsRef(self, keyLen: int): (int?, cell?, bool)
Source code

dict.sDictGetFirstAsRef

@pure
fun dict.sDictGetFirstAsRef(self, keyLen: int): (slice?, cell?, bool)
Source code

dict.iDictGetLast

@pure
fun dict.iDictGetLast(self, keyLen: int): (int?, slice?, bool)
Source code

dict.uDictGetLast

@pure
fun dict.uDictGetLast(self, keyLen: int): (int?, slice?, bool)
Source code

dict.sDictGetLast

@pure
fun dict.sDictGetLast(self, keyLen: int): (slice?, slice?, bool)
Source code

dict.iDictGetLastAsRef

@pure
fun dict.iDictGetLastAsRef(self, keyLen: int): (int?, cell?, bool)
Source code

dict.uDictGetLastAsRef

@pure
fun dict.uDictGetLastAsRef(self, keyLen: int): (int?, cell?, bool)
Source code

dict.sDictGetLastAsRef

@pure
fun dict.sDictGetLastAsRef(self, keyLen: int): (slice?, cell?, bool)
Source code

dict.iDictGetNext

@pure
fun dict.iDictGetNext(self, keyLen: int, pivot: int): (int?, slice?, bool)
Source code

dict.uDictGetNext

@pure
fun dict.uDictGetNext(self, keyLen: int, pivot: int): (int?, slice?, bool)
Source code

dict.sDictGetNext

@pure
fun dict.sDictGetNext(self, keyLen: int, pivot: slice): (slice?, slice?, bool)
Source code

dict.iDictGetNextOrEqual

@pure
fun dict.iDictGetNextOrEqual(self, keyLen: int, pivot: int): (int?, slice?, bool)
Source code

dict.uDictGetNextOrEqual

@pure
fun dict.uDictGetNextOrEqual(self, keyLen: int, pivot: int): (int?, slice?, bool)
Source code

dict.sDictGetNextOrEqual

@pure
fun dict.sDictGetNextOrEqual(self, keyLen: int, pivot: slice): (slice?, slice?, bool)
Source code

dict.iDictGetPrev

@pure
fun dict.iDictGetPrev(self, keyLen: int, pivot: int): (int?, slice?, bool)
Source code

dict.uDictGetPrev

@pure
fun dict.uDictGetPrev(self, keyLen: int, pivot: int): (int?, slice?, bool)
Source code

dict.sDictGetPrev

@pure
fun dict.sDictGetPrev(self, keyLen: int, pivot: slice): (slice?, slice?, bool)
Source code

dict.iDictGetPrevOrEqual

@pure
fun dict.iDictGetPrevOrEqual(self, keyLen: int, pivot: int): (int?, slice?, bool)
Source code

dict.uDictGetPrevOrEqual

@pure
fun dict.uDictGetPrevOrEqual(self, keyLen: int, pivot: int): (int?, slice?, bool)
Source code

dict.sDictGetPrevOrEqual

@pure
fun dict.sDictGetPrevOrEqual(self, keyLen: int, pivot: slice): (slice?, slice?, bool)
Source code

dict.prefixDictGet

@pure
fun dict.prefixDictGet(self, keyLen: int, key: slice): (slice, slice?, slice?, bool)
Source code

dict.prefixDictSet

@pure
fun dict.prefixDictSet(mutate self, keyLen: int, key: slice, value: slice): bool
Source code

dict.prefixDictDelete

@pure
fun dict.prefixDictDelete(mutate self, keyLen: int, key: slice): bool
Source code

Last updated on

On this page