MCPcopy Create free account
hub / github.com/Snapchat/Valdi / uniqueNameFromNode

Function uniqueNameFromNode

compiler/companion/src/native/NativeHelper.ts:62–64  ·  view source on GitHub ↗
(moduleName: string, node: ts.Node)

Source from the content-addressed store, hash-verified

60}
61
62export function uniqueNameFromNode(moduleName: string, node: ts.Node): string {
63 return `tsn_${moduleName}_node_${node.getStart()}_${node.getEnd()}`;
64}

Callers

nothing calls this directly

Calls 1

getEndMethod · 0.80

Tested by

no test coverage detected