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

Method peek

packages/compiler/src/ml_parser/lexer.ts:1560–1560  ·  view source on GitHub ↗

The parsed character at the current cursor position.

()

Source from the content-addressed store, hash-verified

1558 init(): void;
1559 /** The parsed character at the current cursor position. */
1560 peek(): number;
1561 /** Advance the cursor by one parsed character. */
1562 advance(): void;
1563 /** Get a span from the marked start point to the current point. */

Callers 15

tokenizeMethod · 0.65
_consumeBlockStartMethod · 0.65
_attemptCharCodeMethod · 0.65
_requireCharCodeMethod · 0.65
_requireStrMethod · 0.65

Implementers 1

PlainCharacterCursorpackages/compiler/src/ml_parser/lexer.

Calls

no outgoing calls

Tested by

no test coverage detected