eyalleshem commented on code in PR #2073:
URL:
https://github.com/apache/datafusion-sqlparser-rs/pull/2073#discussion_r2499509067
##########
src/tokenizer.rs:
##########
@@ -769,6 +775,12 @@ impl State<'_> {
self.peekable.peek()
}
+ /// return the character after the next character (lookahead by 2) without
advancing the stream
+ pub fn peek_next(&self) -> Option<char> {
+ // Use the source and byte_pos instead of cloning the peekable iterator
Review Comment:
done
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]