| 2681 | } |
| 2682 | |
| 2683 | txBoolean fxModuleGetOwnProperty(txMachine* the, txSlot* instance, txID id, txIndex index, txSlot* slot) |
| 2684 | { |
| 2685 | txSlot* property = fxModuleFindProperty(the, instance, id, index); |
| 2686 | if (property) { |
| 2687 | slot->flag = (id == mxID(_Symbol_toStringTag)) ? property->flag : XS_DONT_DELETE_FLAG; |
| 2688 | slot->kind = property->kind; |
| 2689 | slot->value = property->value; |
| 2690 | return 1; |
| 2691 | } |
| 2692 | slot->flag = XS_NO_FLAG; |
| 2693 | slot->kind = XS_UNDEFINED_KIND; |
| 2694 | return 0; |
| 2695 | } |
| 2696 | |
| 2697 | txSlot* fxModuleGetProperty(txMachine* the, txSlot* instance, txID id, txIndex index, txFlag flag) |
| 2698 | { |
nothing calls this directly
no test coverage detected