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

Function fxImportNow

xs/sources/xsModule.c:2455–2461  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2453}
2454
2455void fxImportNow(txMachine* the)
2456{
2457 txSlot* realm = mxModuleInstanceInternal(mxProgram.value.reference)->value.module.realm;
2458 fxToString(the, the->stack);
2459 mxPushUndefined();
2460 fxRunImportNow(the, realm, C_NULL);
2461}
2462
2463void fxRunImportNow(txMachine* the, txSlot* realm, txSlot* referrer)
2464{

Callers

nothing calls this directly

Calls 2

fxToStringFunction · 0.85
fxRunImportNowFunction · 0.85

Tested by

no test coverage detected