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

Function fxNextIntegerProperty

xs/sources/xsProperty.c:121–129  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

119}
120
121txSlot* fxNextIntegerProperty(txMachine* the, txSlot* property, txInteger integer, txID id, txFlag flag)
122{
123 property = property->next = fxNewSlot(the);
124 property->flag = flag;
125 property->ID = id;
126 property->kind = XS_INTEGER_KIND;
127 property->value.integer = integer;
128 return property;
129}
130
131txSlot* fxNextNumberProperty(txMachine* the, txSlot* property, txNumber number, txID id, txFlag flag)
132{

Callers 15

fxNewFunctionLengthFunction · 0.85
fxNewMapIteratorInstanceFunction · 0.85
fxNewSetIteratorInstanceFunction · 0.85
fxNewIteratorInstanceFunction · 0.85
fxNewFunctionLengthFunction · 0.85
fxNewAsyncInstanceFunction · 0.85
fxNewRegExpInstanceFunction · 0.85

Calls 1

fxNewSlotFunction · 0.85

Tested by

no test coverage detected