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

Method getChars

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

Get the parsed characters from the marked start point to the current point.

(start: this)

Source from the content-addressed store, hash-verified

1582 getSpan(start?: this, leadingTriviaCodePoints?: number[]): ParseSourceSpan;
1583 /** Get the parsed characters from the marked start point to the current point. */
1584 getChars(start: this): string;
1585 /** The number of characters left before the end of the cursor. */
1586 charsLeft(): number;
1587 /** The number of characters between `this` cursor and `other` cursor. */

Callers 15

_getBlockNameMethod · 0.65
_consumeEntityMethod · 0.65
_consumeDocTypeMethod · 0.65
_consumePrefixAndNameMethod · 0.65
_consumeComponentNameMethod · 0.65

Implementers 1

PlainCharacterCursorpackages/compiler/src/ml_parser/lexer.

Calls

no outgoing calls

Tested by

no test coverage detected