(type: TokenType, start = this._cursor.clone())
| 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) { |
no test coverage detected