MCPcopy Create free account
hub / github.com/WebAssembly/wabt / _WriteAssertModuleCommand

Method _WriteAssertModuleCommand

test/gen-spec-js.py:421–425  ·  view source on GitHub ↗
(self, command)

Source from the content-addressed store, hash-verified

419 command['as'], command.get('name', self._ModuleIdxName())))
420
421 def _WriteAssertModuleCommand(self, command):
422 # Don't bother writing out text modules; they can't be parsed by JS.
423 if command['module_type'] == 'binary':
424 self.out_file.write('%s("%s");\n' % (command['type'],
425 self._Module(command['filename'])))
426
427 def _WriteAssertReturnCommand(self, command):
428 expected = command['expected']

Callers

nothing calls this directly

Calls 1

_ModuleMethod · 0.95

Tested by

no test coverage detected