| 521 | } |
| 522 | |
| 523 | void fxStringOwnKeys(txMachine* the, txSlot* instance, txFlag flag, txSlot* keys) |
| 524 | { |
| 525 | txSlot* property = instance->next; |
| 526 | if (flag & XS_EACH_NAME_FLAG) { |
| 527 | txIndex length = mxStringInstanceLength(instance), index; |
| 528 | for (index = 0; index < length; index++) |
| 529 | keys = fxQueueKey(the, 0, index, keys); |
| 530 | } |
| 531 | property = property->next; |
| 532 | if (property && (property->kind == XS_ARRAY_KIND)) { |
| 533 | keys = fxQueueIndexKeys(the, property, flag, keys); |
| 534 | property = property->next; |
| 535 | } |
| 536 | if (flag & XS_EACH_NAME_FLAG) |
| 537 | keys = fxQueueKey(the, mxID(_length), 0, keys); |
| 538 | fxQueueIDKeys(the, property, flag, keys); |
| 539 | } |
| 540 | |
| 541 | txSlot* fxStringSetProperty(txMachine* the, txSlot* instance, txID id, txIndex index, txFlag flag) |
| 542 | { |
nothing calls this directly
no test coverage detected