pub fn parse_sql(dialect: &Dialect, sql: String) -> Result<ASTNode, ParserError> {
        let mut tokenizer = Tokenizer::new(dialect, &sql);
        let tokens = tokenizer.tokenize()?;
        let mut parser = Parser::new(tokens);
        parser.parse()
    }
/// Parse a SQL statement and produce an Abstract Syntax Tree (AST)
Parse a SQL statement and produce an Abstract Syntax Tree (AST)
Parse a SQL statement and produce an Abstract Syntax Tree ( AST )
pub fn parse_sql(dialect: &Dialect, sql: String) -> Result<ASTNode, ParserError> {
        let mut tokenizer = Tokenizer::new(dialect, &sql);
        let tokens = tokenizer.tokenize()?;
        let mut parser = Parser::new(tokens);
        parser.parse()
    }
pub fn parse_sql ( dialect : & Dialect , sql : String ) -> Result < ASTNode , ParserError > { let mut tokenizer = Tokenizer :: new ( dialect , & sql ) ; let tokens = tokenizer . tokenize ( ) ? ; let mut parser = Parser :: new ( tokens ) ; parser . parse ( ) }
Parse a SQL statement and produce an Abstract Syntax Tree (AST)
Parse a SQL statement and produce an Abstract Syntax Tree ( AST )
dialect
&Dialect
sql
String
dialect
&Dialect
sql
String