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

Function fxVerifyPropertyError

xs/sources/xsLockdown.c:906–916  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

904}
905
906void fxVerifyPropertyError(txMachine* the, txSlot *list, txSlot *path, txSlot* property, txID id, txIndex index)
907{
908 txBoolean immutable = 1;
909 if (property->kind != XS_ACCESSOR_KIND)
910 if (!(property->flag & XS_DONT_SET_FLAG))
911 immutable = 0;
912 if (!(property->flag & XS_DONT_DELETE_FLAG))
913 immutable = 0;
914 if (!immutable)
915 fxVerifyError(the, path, id, index, C_NULL);
916}
917
918void fxVerifyQueue(txMachine* the, txSlot* list, txSlot* path, txSlot* instance, txID id, txIndex index, txString string)
919{

Callers 2

fxVerifyInstanceFunction · 0.85
fxVerifyPropertyFunction · 0.85

Calls 1

fxVerifyErrorFunction · 0.85

Tested by

no test coverage detected