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

Function node

__tests__/dart-annotated-member-docs.test.ts:185–189  ·  view source on GitHub ↗
(qualifiedName: string)

Source from the content-addressed store, hash-verified

183 it.each(backends)(`%s${crlf ? ' (CRLF)' : ''}`, (backend) => {
184 const result = extract(backend, crlf ? SOURCE.replace(/\n/g, '\r\n') : SOURCE);
185 const node = (qualifiedName: string) => {
186 const found = result.nodes.find((n) => n.qualifiedName === qualifiedName);
187 expect(found, qualifiedName).toBeDefined();
188 return found!;
189 };
190 const doc = (qualifiedName: string) => node(qualifiedName).docstring;
191 const decorators = (qualifiedName: string): string[] => {
192 const id = node(qualifiedName).id;

Callers 2

docFunction · 0.70
decoratorsFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected