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

Method getSpan

packages/compiler/src/ml_parser/lexer.ts:1415–1415  ·  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

1413 advance(): void;
1414 /** Get a span from the marked start point to the current point. */
1415 getSpan(start?: this, leadingTriviaCodePoints?: number[]): ParseSourceSpan;
1416 /** Get the parsed characters from the marked start point to the current point. */
1417 getChars(start: this): string;
1418 /** The number of characters left before the end of the cursor. */

Callers 9

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

Implementers 1

PlainCharacterCursorpackages/compiler/src/ml_parser/lexer.

Calls

no outgoing calls

Tested by

no test coverage detected