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

Method _beginToken

packages/compiler/src/ml_parser/lexer.ts:515–518  ·  view source on GitHub ↗
(type: TokenType, start = this._cursor.clone())

Source from the content-addressed store, hash-verified

513 }
514
515 private _beginToken(type: TokenType, start = this._cursor.clone()) {
516 this._currentTokenStart = start;
517 this._currentTokenType = type;
518 }
519
520 private _endToken(parts: string[], end?: CharacterCursor): Token {
521 if (this._currentTokenStart === null) {

Callers 15

tokenizeMethod · 0.95
_consumeBlockStartMethod · 0.95
_consumeBlockEndMethod · 0.95
_consumeEntityMethod · 0.95
_consumeRawTextMethod · 0.95
_consumeCommentMethod · 0.95
_consumeCdataMethod · 0.95
_consumeDocTypeMethod · 0.95

Calls 1

cloneMethod · 0.65

Tested by

no test coverage detected