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

Function fxEchoFlags

xs/sources/xsDebug.c:1432–1455  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1430}
1431
1432void fxEchoFlags(txMachine* the, txString state, txFlag flag)
1433{
1434 fxEcho(the, " flags=\"");
1435 fxEcho(the, state);
1436 if (flag & XS_DONT_DELETE_FLAG)
1437 fxEcho(the, "C");
1438 else
1439 fxEcho(the, "c");
1440 if (flag & XS_DONT_ENUM_FLAG)
1441 fxEcho(the, "E");
1442 else
1443 fxEcho(the, "e");
1444 if (flag & XS_DONT_SET_FLAG)
1445 fxEcho(the, "W");
1446 else
1447 fxEcho(the, "w");
1448 if (flag & XS_INSPECTOR_FLAG)
1449 fxEcho(the, "I");
1450 else if (flag & XS_MARK_FLAG)
1451 fxEcho(the, "M");
1452 else
1453 fxEcho(the, "_");
1454 fxEcho(the, "\"");
1455}
1456
1457void fxEchoFormat(txMachine* the, txString theFormat, c_va_list theArguments)
1458{

Callers 7

fxEchoArrayBufferFunction · 0.85
fxEchoInstanceFunction · 0.85
fxEchoModuleFunction · 0.85
fxEchoPropertyFunction · 0.85
fxEchoPropertyInstanceFunction · 0.85
fxEchoTypedArrayFunction · 0.85
fxListModulesFunction · 0.85

Calls 1

fxEchoFunction · 0.85

Tested by

no test coverage detected