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

Method _getContainer

packages/compiler/src/ml_parser/parser.ts:783–787  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

781 }
782
783 private _getContainer(): NodeContainer | null {
784 return this._containerStack.length > 0
785 ? this._containerStack[this._containerStack.length - 1]
786 : null;
787 }
788
789 private _getClosestElementLikeParent(): html.Element | null {
790 for (let i = this._containerStack.length - 1; i > -1; i--) {

Callers 4

_consumeTextMethod · 0.95
_closeVoidElementMethod · 0.95
_addToParentMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected