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

Method peek

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

The parsed character at the current cursor position.

()

Source from the content-addressed store, hash-verified

1591 init(): void;
1592 /** The parsed character at the current cursor position. */
1593 peek(): number;
1594 /** Advance the cursor by one parsed character. */
1595 advance(): void;
1596 /** 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
_attemptUntilCharMethod · 0.65

Implementers 1

PlainCharacterCursorpackages/compiler/src/ml_parser/lexer.

Calls

no outgoing calls

Tested by

no test coverage detected