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

Function fxToInstanceInspector

xs/sources/xsDebug.c:2725–2736  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2723}
2724
2725txSlot* fxToInstanceInspector(txMachine* the, txSlot* slot)
2726{
2727 txSlot* instanceInspector = mxInstanceInspectors.value.list.first;
2728 while (instanceInspector) {
2729 if (instanceInspector->value.instanceInspector.slot == slot)
2730 return instanceInspector;
2731 if (instanceInspector->value.instanceInspector.slot > slot)
2732 break;
2733 instanceInspector = instanceInspector->next;
2734 }
2735 return C_NULL;
2736}
2737
2738void fxToggle(txMachine* the, txSlot* slot)
2739{

Callers 6

fxDebugEvalFunction · 0.85
fxEchoInstanceFunction · 0.85
fxEchoModuleFunction · 0.85
fxEchoPropertyHostFunction · 0.85
fxEchoPropertyInstanceFunction · 0.85
fxListModulesFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected