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

Function scopeFor

src/resolution/frameworks/nestjs.ts:675–680  ·  view source on GitHub ↗
(scopes: ClassScope[], index: number)

Source from the content-addressed store, hash-verified

673}
674
675function scopeFor(scopes: ClassScope[], index: number): ClassScope | null {
676 for (const s of scopes) {
677 if (index >= s.start && index < s.end) return s;
678 }
679 return null;
680}
681
682// ---------------------------------------------------------------------------
683// Argument parsing

Callers 2

extractFunction · 0.85
postExtractFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected