MCPcopy Create free account
hub / github.com/colbymchenry/codegraph / emits

Function emits

__tests__/cpp-comparisons-and-template-declarators.test.ts:77–77  ·  view source on GitHub ↗
(line: number)

Source from the content-addressed store, hash-verified

75 });
76 try {
77 const emits = (line: number): string[] => callsAt(cg, 'Printer::Run', line).filter((t) => t.startsWith('Printer::Emit'));
78 // A comparison, then template arguments with a comma in them.
79 expect(emits(7)).toEqual(['Printer::Emit:4 @0.9']);
80 expect(emits(8)).toEqual(['Printer::Emit:4 @0.9']);

Calls 1

callsAtFunction · 0.70

Tested by

no test coverage detected