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

Method _attemptUntilChar

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

Source from the content-addressed store, hash-verified

624 }
625
626 private _attemptUntilChar(char: number) {
627 while (this._cursor.peek() !== char) {
628 this._cursor.advance();
629 }
630 }
631
632 private _attemptUntilIgnoreQuotes(predicate: (code: number) => boolean) {
633 while (this._cursor.peek() !== chars.$EOF) {

Callers 2

_consumeDocTypeMethod · 0.95
_readUntilMethod · 0.95

Calls 2

peekMethod · 0.65
advanceMethod · 0.65

Tested by

no test coverage detected