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

Function fxToID

xs/sources/xsAPI.c:957–963  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

955}
956
957txID fxToID(txMachine* the, txSlot* theSlot)
958{
959 txString string = fxToString(the, theSlot);
960 if (theSlot->kind == XS_STRING_KIND)
961 return fxNewName(the, theSlot);
962 return fxNewNameX(the, string);
963}
964
965txString fxName(txMachine* the, txID theID)
966{

Callers 2

fxResolveSpecifierFunction · 0.85

Calls 3

fxToStringFunction · 0.85
fxNewNameFunction · 0.85
fxNewNameXFunction · 0.85

Tested by

no test coverage detected