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

Method _attemptUntilChar

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

Source from the content-addressed store, hash-verified

639 }
640
641 private _attemptUntilChar(char: number) {
642 while (this._cursor.peek() !== char) {
643 this._cursor.advance();
644 }
645 }
646
647 private _attemptUntilIgnoreQuotes(predicate: (code: number) => boolean) {
648 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