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

Function node

__tests__/php-property-receiver-resolution.test.ts:306–309  ·  view source on GitHub ↗
(id: string, name: string, qn: string, kind: Node['kind'], file: string)

Source from the content-addressed store, hash-verified

304 // the property-receiver shape resolves through resolveMethodOnType at 0.9.
305 it('matchMethodCall resolves `this->prop.method` at confidence 0.9', () => {
306 const node = (id: string, name: string, qn: string, kind: Node['kind'], file: string): Node => ({
307 id, kind, name, qualifiedName: qn, filePath: file, language: 'php',
308 startLine: 1, endLine: 1, startColumn: 0, endColumn: 0, updatedAt: 0,
309 });
310 const byName: Record<string, Node[]> = {
311 Greeter: [node('c:greeter', 'Greeter', 'Greeter', 'class', 'Greeter.php')],
312 greet: [node('m:greet', 'greet', 'Greeter::greet', 'method', 'Greeter.php')],

Calls

no outgoing calls

Tested by

no test coverage detected