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

Method _attemptUntilChar

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

Source from the content-addressed store, hash-verified

627 }
628
629 private _attemptUntilChar(char: number) {
630 while (this._cursor.peek() !== char) {
631 this._cursor.advance();
632 }
633 }
634
635 private _attemptUntilIgnoreQuotes(predicate: (code: number) => boolean) {
636 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