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

Function fxQueueIDKeys

xs/sources/xsProperty.c:215–234  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

213}
214
215txSlot* fxQueueIDKeys(txMachine* the, txSlot* first, txFlag flag, txSlot* keys)
216{
217 if (flag & XS_EACH_NAME_FLAG) {
218 txSlot* property = first;
219 while (property) {
220 if (!(property->flag & XS_INTERNAL_FLAG) && fxIsKeyName(the, property->ID))
221 keys = fxQueueKey(the, property->ID, 0, keys);
222 property = property->next;
223 }
224 }
225 if (flag & XS_EACH_SYMBOL_FLAG) {
226 txSlot* property = first;
227 while (property) {
228 if (!(property->flag & XS_INTERNAL_FLAG) && fxIsKeySymbol(the, property->ID))
229 keys = fxQueueKey(the, property->ID, 0, keys);
230 property = property->next;
231 }
232 }
233 return keys;
234}
235
236// INDEX
237

Callers 3

fxArrayOwnKeysFunction · 0.85
fxStringOwnKeysFunction · 0.85
fxOrdinaryOwnKeysFunction · 0.85

Calls 3

fxIsKeyNameFunction · 0.85
fxQueueKeyFunction · 0.85
fxIsKeySymbolFunction · 0.85

Tested by

no test coverage detected