MCPcopy Create free account
hub / github.com/Moddable-OpenSource/moddable / fxVerifyQueue

Function fxVerifyQueue

xs/sources/xsLockdown.c:918–944  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

916}
917
918void fxVerifyQueue(txMachine* the, txSlot* list, txSlot* path, txSlot* instance, txID id, txIndex index, txString string)
919{
920 txSlot* item;
921 txSlot* name;
922 if (instance->kind != XS_INSTANCE_KIND)
923 return;
924 if (instance->flag & XS_LEVEL_FLAG)
925 return;
926 item = fxNewSlot(the);
927 item->value.list.first = C_NULL;
928 item->value.list.last = instance;
929 item->kind = XS_LIST_KIND;
930 list->value.list.last->next = item;
931 list->value.list.last = item;
932
933 item->value.list.first = name = fxNewSlot(the);
934 if (string) {
935 name->value.string = string;
936 name->kind = XS_STRING_X_KIND;
937 }
938 else {
939 name->value.at.id = id;
940 name->value.at.index = index;
941 name->kind = XS_AT_KIND;
942 }
943 name->next = path;
944}
945
946void fx_unicodeCompare(txMachine* the)
947{

Callers 2

fxVerifyInstanceFunction · 0.85
fxVerifyPropertyFunction · 0.85

Calls 1

fxNewSlotFunction · 0.85

Tested by

no test coverage detected