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

Function methodNames

__tests__/mybatis-extractor-robustness.test.ts:18–19  ·  view source on GitHub ↗
(xml: string, file = 'FooMapper.xml')

Source from the content-addressed store, hash-verified

16 extractFromSource(file, xml).nodes.filter((n) => n.kind === 'method');
17
18const methodNames = (xml: string, file = 'FooMapper.xml') =>
19 methodNodes(xml, file).map((n) => n.qualifiedName);
20
21describe('MyBatis extractor — attribute quoting', () => {
22 it('accepts a single-quoted namespace', () => {

Calls 1

methodNodesFunction · 0.85

Tested by

no test coverage detected