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

Method _consumeAttribute

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

Source from the content-addressed store, hash-verified

954 }
955
956 private _consumeAttribute() {
957 this._consumeAttributeName();
958 this._attemptCharCodeUntilFn(isNotWhitespace);
959 if (this._attemptCharCode(chars.$EQ)) {
960 this._attemptCharCodeUntilFn(isNotWhitespace);
961 this._consumeAttributeValue();
962 }
963 this._attemptCharCodeUntilFn(isNotWhitespace);
964 }
965
966 private _consumeAttributeName() {
967 const attrNameStart = this._cursor.peek();

Callers 1

_consumeTagOpenMethod · 0.95

Calls 4

_consumeAttributeNameMethod · 0.95
_attemptCharCodeMethod · 0.95

Tested by

no test coverage detected