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

Function logNodeInfo

compiler/companion/src/native/NativeHelper.ts:58–60  ·  view source on GitHub ↗
(node: ts.Node)

Source from the content-addressed store, hash-verified

56}
57
58export function logNodeInfo(node: ts.Node): void {
59 console.log(`kind: ${getSyntaxKindString(node.kind)} text: ${node.getFullText()}`);
60}
61
62export function uniqueNameFromNode(moduleName: string, node: ts.Node): string {
63 return `tsn_${moduleName}_node_${node.getStart()}_${node.getEnd()}`;

Callers

nothing calls this directly

Calls 2

getSyntaxKindStringFunction · 0.90
logMethod · 0.65

Tested by

no test coverage detected