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

Method _consumeAttribute

packages/compiler/src/ml_parser/lexer.ts:996–1004  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

994 }
995
996 private _consumeAttribute() {
997 this._consumeAttributeName();
998 this._attemptCharCodeUntilFn(isNotWhitespace);
999 if (this._attemptCharCode(chars.$EQ)) {
1000 this._attemptCharCodeUntilFn(isNotWhitespace);
1001 this._consumeAttributeValue();
1002 }
1003 this._attemptCharCodeUntilFn(isNotWhitespace);
1004 }
1005
1006 private _consumeAttributeName() {
1007 const attrNameStart = this._cursor.peek();

Callers 2

_consumeTagOpenMethod · 0.95
_consumeDirectiveMethod · 0.95

Calls 4

_consumeAttributeNameMethod · 0.95
_attemptCharCodeMethod · 0.95

Tested by

no test coverage detected