MCPcopy Create free account
hub / github.com/angular/angular / getObject

Method getObject

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

* Parse this value into an `AstObject`, or error if it is not an object literal.

(this: ConformsTo<this, T, object>)

Source from the content-addressed store, hash-verified

287 * Parse this value into an `AstObject`, or error if it is not an object literal.
288 */
289 getObject(this: ConformsTo<this, T, object>): AstObject<ObjectType<T>, TExpression> {
290 return AstObject.parse<ObjectType<T>, TExpression>(this.expression, this.host);
291 }
292
293 /**
294 * Is this value an array literal?

Callers 9

ast_value_spec.tsFile · 0.45
toR3ComponentMetaMethod · 0.45
toR3InjectableMetaFunction · 0.45
toR3DirectiveMetaFunction · 0.45
toInputMappingFunction · 0.45
toHostMetadataFunction · 0.45
toHostDirectivesMetadataFunction · 0.45
getDependenciesFunction · 0.45

Calls 1

parseMethod · 0.65

Tested by

no test coverage detected