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

Method updatePeek

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

Source from the content-addressed store, hash-verified

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

Callers 2

initMethod · 0.95
advanceStateMethod · 0.95

Calls 1

charAtMethod · 0.95

Tested by

no test coverage detected