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

Method peek

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

The parsed character at the current cursor position.

()

Source from the content-addressed store, hash-verified

1409 init(): void;
1410 /** The parsed character at the current cursor position. */
1411 peek(): number;
1412 /** Advance the cursor by one parsed character. */
1413 advance(): void;
1414 /** 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