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

Method _readChar

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

Source from the content-addressed store, hash-verified

651 }
652
653 private _readChar(): string {
654 // Don't rely upon reading directly from `_input` as the actual char value
655 // may have been generated from an escape sequence.
656 const char = String.fromCodePoint(this._cursor.peek());
657 this._cursor.advance();
658 return char;
659 }
660
661 private _peekStr(chars: string): boolean {
662 const len = chars.length;

Callers 2

_consumeRawTextMethod · 0.95

Calls 2

peekMethod · 0.65
advanceMethod · 0.65

Tested by

no test coverage detected