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

Method _beginToken

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

Source from the content-addressed store, hash-verified

492 }
493
494 private _beginToken(type: TokenType, start = this._cursor.clone()) {
495 this._currentTokenStart = start;
496 this._currentTokenType = type;
497 }
498
499 private _endToken(parts: string[], end?: CharacterCursor): Token {
500 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