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

Method updatePeek

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

Source from the content-addressed store, hash-verified

1705 }
1706
1707 protected updatePeek(state: CursorState): void {
1708 state.peek = state.offset >= this.end ? chars.$EOF : this.charAt(state.offset);
1709 }
1710
1711 private locationFromCursor(cursor: this): ParseLocation {
1712 return new ParseLocation(

Callers 2

initMethod · 0.95
advanceStateMethod · 0.95

Calls 1

charAtMethod · 0.95

Tested by

no test coverage detected