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

Function isTableRoute

src/resolution/frameworks/react.ts:1947–1949  ·  view source on GitHub ↗
(node: Node)

Source from the content-addressed store, hash-verified

1945
1946/** True for a route the table pass made — `route:<file>:<line>:table:<path>` — and for no route extraction makes. */
1947export function isTableRoute(node: Node): boolean {
1948 return node.kind === 'route' && node.id.startsWith(`route:${node.filePath}:${node.startLine}:table:`);
1949}
1950
1951/** The references that bind a route: what it renders, and the layouts around it. */
1952function routeReferences(route: RouteDeclaration, fromNodeId: string, filePath: string, line: number): UnresolvedRef[] {

Callers 1

isReactRouterRouteFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected