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

Function fxLoadModule

xs/tools/xsl.c:1029–1034  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1027}
1028
1029void fxLoadModule(txMachine* the, txSlot* module, txID moduleID)
1030{
1031 txScript* script = fxLoadScript(the, fxGetKeyName(the, moduleID));
1032 if (script)
1033 fxResolveModule(the, module, moduleID, script, C_NULL, C_NULL);
1034}
1035
1036txScript* fxLoadScript(txMachine* the, txString path)
1037{

Callers

nothing calls this directly

Calls 3

fxGetKeyNameFunction · 0.85
fxResolveModuleFunction · 0.85
fxLoadScriptFunction · 0.70

Tested by

no test coverage detected