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

Method getNode

packages/compiler-cli/linker/src/ast/ast_value.ts:159–161  ·  view source on GitHub ↗

* Returns the raw `TExpression` value of the property called `propertyName`. * * Throws an error if there is no such property.

(propertyName: PropertyKey<T>)

Source from the content-addressed store, hash-verified

157 * Throws an error if there is no such property.
158 */
159 getNode(propertyName: PropertyKey<T>): TExpression {
160 return this.getRequiredProperty(propertyName);
161 }
162
163 /**
164 * Returns an `AstValue` that wraps the value of the property called `propertyName`.

Callers 3

ast_value_spec.tsFile · 0.80

Calls 1

getRequiredPropertyMethod · 0.95

Tested by

no test coverage detected