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

Function MangleModuleName

test/run-spec-wasm2c.py:115–117  ·  view source on GitHub ↗
(s)

Source from the content-addressed store, hash-verified

113
114
115def MangleModuleName(s):
116 # double underscores
117 return MangleName(re.sub('(_)', '__', s))
118
119
120def IsModuleCommand(command):

Callers 6

_CacheModulePrefixesMethod · 0.85
_WriteModuleInitCallMethod · 0.85
CWriterMethod · 0.85
ExportNameMethod · 0.85
WriteImportPropertiesMethod · 0.85

Calls 1

MangleNameFunction · 0.85

Tested by

no test coverage detected