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

Function of

__tests__/pascal-param-attributes.test.ts:72–73  ·  view source on GitHub ↗
(kind: string)

Source from the content-addressed store, hash-verified

70function members(code: string, file = 'Min.pas') {
71 const result = extractFromSource(file, code);
72 const of = (kind: string) =>
73 result.nodes.filter((n) => n.kind === kind).map((n) => `${n.qualifiedName}:${n.startLine}`).sort();
74 return { result, methods: of('method'), fields: of('field'), constants: of('constant') };
75}
76

Callers 1

membersFunction · 0.85

Calls 1

mapMethod · 0.80

Tested by

no test coverage detected