You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@datafusion.apache.org by "eyalleshem (via GitHub)" <gi...@apache.org> on 2025/11/06 15:37:46 UTC
Re: [PR] Prepare tokenizer for using borrowed strings instead of allocations. [datafusion-sqlparser-rs]
eyalleshem commented on code in PR #2073:
URL: https://github.com/apache/datafusion-sqlparser-rs/pull/2073#discussion_r2499507916
##########
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> {
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: github-unsubscribe@datafusion.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org
For additional commands, e-mail: github-help@datafusion.apache.org