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

Method _closeVoidElement

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

Source from the content-addressed store, hash-verified

373 }
374
375 private _closeVoidElement(): void {
376 const el = this._getContainer();
377 if (el !== null && this._getTagDefinition(el)?.isVoid) {
378 this._containerStack.pop();
379 }
380 }
381
382 private _consumeElementStartTag(startTagToken: TagOpenStartToken | IncompleteTagOpenToken) {
383 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