Creates a token of the given type using the current lexeme
(&self, kind: TokenType)
| 329 | |
| 330 | // Creates a token of the given type using the current lexeme |
| 331 | fn make_token(&self, kind: TokenType) -> Token<'a> { |
| 332 | Token { |
| 333 | kind, |
| 334 | lexeme: &self.source[self.start..self.current], |
| 335 | line: self.line, |
| 336 | } |
| 337 | } |
| 338 | |
| 339 | fn scan_docstring(&mut self) -> Token<'a> { |
| 340 | // Skip the opening quotes |
no outgoing calls
no test coverage detected