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

Method _closeVoidElement

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

Source from the content-addressed store, hash-verified

384 }
385
386 private _closeVoidElement(): void {
387 const el = this._getContainer();
388 if (el !== null && this._getTagDefinition(el)?.isVoid) {
389 this._containerStack.pop();
390 }
391 }
392
393 private _consumeElementStartTag(startTagToken: TagOpenStartToken | IncompleteTagOpenToken) {
394 const attrs: html.Attribute[] = [];

Callers 1

buildMethod · 0.95

Calls 3

_getContainerMethod · 0.95
_getTagDefinitionMethod · 0.95
popMethod · 0.80

Tested by

no test coverage detected