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

Method _attemptUntilChar

packages/compiler/src/ml_parser/lexer.ts:647–651  ·  view source on GitHub ↗
(char: number)

Source from the content-addressed store, hash-verified

645 }
646
647 private _attemptUntilChar(char: number) {
648 while (this._cursor.peek() !== char) {
649 this._cursor.advance();
650 }
651 }
652
653 private _readChar(): string {
654 // Don't rely upon reading directly from `_input` as the actual char value

Callers 2

_consumeDocTypeMethod · 0.95
_readUntilMethod · 0.95

Calls 2

peekMethod · 0.65
advanceMethod · 0.65

Tested by

no test coverage detected