mirror of
https://github.com/apache/datafusion-sqlparser-rs.git
synced 2025-08-25 16:34:04 +00:00
Refactoring
This commit is contained in:
parent
037ebb0f73
commit
fa2ef528b7
2 changed files with 36 additions and 22 deletions
|
@ -113,6 +113,12 @@ pub trait SQLParser<TokenType, ExprType>
|
|||
fn parse_infix(&mut self, chars: &mut CharSeq, left: &SQLExpr<ExprType>, precedence: usize) -> Result<Option<Box<SQLExpr<ExprType>>>, ParserError<TokenType>>;
|
||||
}
|
||||
|
||||
//struct PrattParser<ExprType, TokenType> {
|
||||
//
|
||||
// ansi_parser:
|
||||
//
|
||||
//}
|
||||
|
||||
//
|
||||
//pub fn parse_expr<'a, TokenType, ExprType>(parser: Arc<Mutex<SQLParser<TokenType, ExprType>>>)
|
||||
// -> Result<Box<SQLExpr<ExprType>>, ParserError<TokenType>> where TokenType: Debug + PartialEq, ExprType: Debug {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue