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

Method updatePeek

packages/compiler/src/ml_parser/lexer.ts:1723–1725  ·  view source on GitHub ↗
(state: CursorState)

Source from the content-addressed store, hash-verified

1721 }
1722
1723 protected updatePeek(state: CursorState): void {
1724 state.peek = state.offset >= this.end ? chars.$EOF : this.charAt(state.offset);
1725 }
1726
1727 private locationFromCursor(cursor: this): ParseLocation {
1728 return new ParseLocation(

Callers 2

initMethod · 0.95
advanceStateMethod · 0.95

Calls 1

charAtMethod · 0.95

Tested by

no test coverage detected