(type: TokenType, start = this._cursor.clone())
| 495 | } |
| 496 | |
| 497 | private _beginToken(type: TokenType, start = this._cursor.clone()) { |
| 498 | this._currentTokenStart = start; |
| 499 | this._currentTokenType = type; |
| 500 | } |
| 501 | |
| 502 | private _endToken(parts: string[], end?: CharacterCursor): Token { |
| 503 | if (this._currentTokenStart === null) { |
no test coverage detected