| 353 | } |
| 354 | |
| 355 | txSlot* fxNewIteratorInstance(txMachine* the, txSlot* iterable, txID id) |
| 356 | { |
| 357 | txSlot* instance; |
| 358 | txSlot* result; |
| 359 | txSlot* property; |
| 360 | instance = fxNewObjectInstance(the); |
| 361 | mxPush(mxObjectPrototype); |
| 362 | result = fxNewObjectInstance(the); |
| 363 | property = fxNextUndefinedProperty(the, result, mxID(_value), XS_DONT_DELETE_FLAG | XS_DONT_SET_FLAG); |
| 364 | property = fxNextBooleanProperty(the, property, 0, mxID(_done), XS_DONT_DELETE_FLAG | XS_DONT_SET_FLAG); |
| 365 | property = fxNextSlotProperty(the, instance, the->stack, id, XS_INTERNAL_FLAG); |
| 366 | property = fxNextSlotProperty(the, property, iterable, XS_NO_ID, XS_INTERNAL_FLAG); |
| 367 | property = fxNextIntegerProperty(the, property, 0, XS_NO_ID, XS_INTERNAL_FLAG); |
| 368 | mxPop(); |
| 369 | return instance; |
| 370 | } |
| 371 | |
| 372 | void fxSetterThatIgnoresPrototypeProperties(txMachine* the, txSlot* reference, txID id, txString name, txSlot* value) |
| 373 | { |
no test coverage detected