| 1780 | } |
| 1781 | |
| 1782 | void fxEchoModule(txMachine* the, txSlot* module, txInspectorNameList* list) |
| 1783 | { |
| 1784 | txSlot* exports = mxModuleExports(module); |
| 1785 | txSlot* instanceInspector = fxToInstanceInspector(the, module); |
| 1786 | txSlot* slot; |
| 1787 | fxEcho(the, "<node"); |
| 1788 | if (instanceInspector) |
| 1789 | fxEchoFlags(the, "-", exports->flag); |
| 1790 | else |
| 1791 | fxEchoFlags(the, "+", exports->flag); |
| 1792 | fxEcho(the, " name=\""); |
| 1793 | slot = mxModuleInternal(module); |
| 1794 | fxEcho(the, fxGetKeyName(the, slot->value.module.id)); |
| 1795 | fxEcho(the, "\""); |
| 1796 | fxEchoAddress(the, module); |
| 1797 | if (instanceInspector) { |
| 1798 | fxEcho(the, ">"); |
| 1799 | fxEchoInstance(the, fxGetInstance(the, exports), list); |
| 1800 | fxEcho(the, "</node>"); |
| 1801 | } |
| 1802 | else |
| 1803 | fxEcho(the, "/>"); |
| 1804 | } |
| 1805 | |
| 1806 | void fxEchoNumber(txMachine* the, txNumber theNumber) |
| 1807 | { |
no test coverage detected