| 254 | } |
| 255 | |
| 256 | void fxPushModuleOptions(txMachine* the, txFlag moduleFlag) |
| 257 | { |
| 258 | #if mxECMAScript2025 |
| 259 | if (moduleFlag & XS_JSON_MODULE_FLAG) { |
| 260 | txSlot* optionsInstance = fxNewObject(the); |
| 261 | txSlot* withInstance = fxNewObject(the); |
| 262 | fxNextSlotProperty(the, optionsInstance, the->stack, mxID(_with), XS_NO_FLAG); |
| 263 | mxPop(); |
| 264 | fxNextStringProperty(the, withInstance, "json", mxID(_type), XS_NO_FLAG); |
| 265 | } |
| 266 | else |
| 267 | #endif |
| 268 | mxPushUndefined(); |
| 269 | } |
| 270 | |
| 271 | txFlag fxCheckModuleOptions(txMachine* the, txSlot* options) |
| 272 | { |
no test coverage detected