MCPcopy Create free account
hub / github.com/callstackincubator/polygen / mangleSymbolName

Function mangleSymbolName

packages/codegen/src/codegen/utils.ts:18–20  ·  view source on GitHub ↗
(name: string, mangledModule: string)

Source from the content-addressed store, hash-verified

16} from './types.js';
17
18export function mangleSymbolName(name: string, mangledModule: string) {
19 return `w2c_${mangledModule}_${mangleName(name)}`;
20}
21
22/**
23 * Creates GeneratedEntity from ModuleEntity

Callers 1

buildGeneratedSymbolFunction · 0.85

Calls 1

mangleNameFunction · 0.85

Tested by

no test coverage detected