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

Function fxBuildHostConstructor

xs/tools/xslSlot.c:103–108  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

101 (((txChunk*)(((txByte*)SLOT->value.regexp.code) - sizeof(txChunk)))->size / sizeof(txInteger))
102
103txSlot* fxBuildHostConstructor(txMachine* the, txCallback call, txInteger length, txInteger id)
104{
105 txLinker* linker = (txLinker*)(the->context);
106 fxNewLinkerBuilder(linker, call, length, id);
107 return fxNewHostConstructor(the, call, length, id);
108}
109
110txSlot* fxBuildHostFunction(txMachine* the, txCallback call, txInteger length, txInteger id)
111{

Callers 15

fxBuildModuleFunction · 0.85
fxBuildMapSetFunction · 0.85
fxBuildGeneratorFunction · 0.85
fxBuildSymbolFunction · 0.85
fxBuildBooleanFunction · 0.85
fxBuildFunctionFunction · 0.85
fxBuildErrorFunction · 0.85
fxBuildBigIntFunction · 0.85
fxBuildRegExpFunction · 0.85
fxBuildDateFunction · 0.85
fxBuildArrayFunction · 0.85
fxBuildObjectFunction · 0.85

Calls 2

fxNewLinkerBuilderFunction · 0.85
fxNewHostConstructorFunction · 0.85

Tested by

no test coverage detected