MCPcopy Index your code
hub / github.com/angular/angular / createMayBeForwardRefExpression

Function createMayBeForwardRefExpression

packages/compiler/src/render3/util.ts:136–141  ·  view source on GitHub ↗
(
  expression: T,
  forwardRef: ForwardRefHandling,
)

Source from the content-addressed store, hash-verified

134}
135
136export function createMayBeForwardRefExpression<T extends o.Expression>(
137 expression: T,
138 forwardRef: ForwardRefHandling,
139): MaybeForwardRefExpression<T> {
140 return {expression, forwardRef};
141}
142
143/**
144 * Convert a `MaybeForwardRefExpression` to an `Expression`, possibly wrapping its expression in a

Callers 9

convertQueryPredicateFunction · 0.90
computeProvidedInFunction · 0.90
toR3InjectableMetaFunction · 0.90
extractForwardRefFunction · 0.90
parseLocatorFunction · 0.90
getProviderExpressionFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…