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

Method _getContainer

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

Source from the content-addressed store, hash-verified

913 }
914
915 private _getContainer(): NodeContainer | null {
916 return this._containerStack.length > 0
917 ? this._containerStack[this._containerStack.length - 1]
918 : null;
919 }
920
921 private _getClosestElementLikeParent(): html.Element | html.Component | null {
922 for (let i = this._containerStack.length - 1; i > -1; i--) {

Callers 5

_consumeTextMethod · 0.95
_closeVoidElementMethod · 0.95
_addToParentMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected