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

Method getSpan

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

Get a span from the marked start point to the current point.

(start?: this, leadingTriviaCodePoints?: number[])

Source from the content-addressed store, hash-verified

1562 advance(): void;
1563 /** Get a span from the marked start point to the current point. */
1564 getSpan(start?: this, leadingTriviaCodePoints?: number[]): ParseSourceSpan;
1565 /** Get the parsed characters from the marked start point to the current point. */
1566 getChars(start: this): string;
1567 /** The number of characters left before the end of the cursor. */

Callers 10

_endTokenMethod · 0.65
handleErrorMethod · 0.65
_requireCharCodeMethod · 0.65
_requireStrMethod · 0.65
_consumeEntityMethod · 0.65
_consumeTagOpenMethod · 0.65
_consumeAttributeNameMethod · 0.65
_consumeDirectiveMethod · 0.65

Implementers 1

PlainCharacterCursorpackages/compiler/src/ml_parser/lexer.

Calls

no outgoing calls

Tested by

no test coverage detected