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

Function angularDestination

src/resolution/frameworks/angular-router.ts:933–935  ·  view source on GitHub ↗
(expr: string, file: string, owner: Node | null, context: ResolutionContext, depth = 0, fromRoot = false)

Source from the content-addressed store, hash-verified

931 * `owner` is the class the expression is written in, for `this.` properties.
932 */
933export function angularDestination(expr: string, file: string, owner: Node | null, context: ResolutionContext, depth = 0, fromRoot = false): HrefLiteral | null {
934 return namesSomewhere(destinationOf(expr, file, owner, context, depth, fromRoot));
935}
936
937function destinationOf(expr: string, file: string, owner: Node | null, context: ResolutionContext, depth: number, fromRoot: boolean): HrefLiteral | null {
938 const text = expr.trim();

Callers 3

angularTemplateEdgesFunction · 0.90
destinationOfFunction · 0.85
resolveFunction · 0.85

Calls 2

namesSomewhereFunction · 0.85
destinationOfFunction · 0.85

Tested by

no test coverage detected