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

Function claimsReference

src/resolution/frameworks/react.ts:42–44  ·  view source on GitHub ↗
(name: string)

Source from the content-addressed store, hash-verified

40 // a symbol, and `import:./x#Page` the export its loader picks; a route's
41 // `layout:MainLayout` names the component around it.
42 claimsReference(name: string): boolean {
43 return name.startsWith(LAZY_ROUTE_PREFIX) || name.startsWith(LAYOUT_PREFIX) || PICKED_EXPORT.test(name);
44 },
45
46 resolve(ref: UnresolvedRef, context: ResolutionContext): ResolvedRef | null {
47 // Components, hooks and contexts are a script's: halo's Java

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected