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

Method updatePeek

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

Source from the content-addressed store, hash-verified

1687 }
1688
1689 protected updatePeek(state: CursorState): void {
1690 state.peek = state.offset >= this.end ? chars.$EOF : this.charAt(state.offset);
1691 }
1692
1693 private locationFromCursor(cursor: this): ParseLocation {
1694 return new ParseLocation(

Callers 2

initMethod · 0.95
advanceStateMethod · 0.95

Calls 1

charAtMethod · 0.95

Tested by

no test coverage detected