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

Method updatePeek

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

Source from the content-addressed store, hash-verified

1538 }
1539
1540 protected updatePeek(state: CursorState): void {
1541 state.peek = state.offset >= this.end ? chars.$EOF : this.charAt(state.offset);
1542 }
1543
1544 private locationFromCursor(cursor: this): ParseLocation {
1545 return new ParseLocation(

Callers 2

initMethod · 0.95
advanceStateMethod · 0.95

Calls 1

charAtMethod · 0.95

Tested by

no test coverage detected