pub struct SyntacticParser { /* private fields */ }Expand description
Syntactic Parser for SQL
Implementations§
Source§impl SyntacticParser
impl SyntacticParser
Sourcepub fn new(tokens: Vec<LexicalToken>) -> Self
pub fn new(tokens: Vec<LexicalToken>) -> Self
Creates a new syntactic parser
Sourcepub fn parse(&mut self) -> Result<Statement, ParseError>
pub fn parse(&mut self) -> Result<Statement, ParseError>
Parses tokens into a Statement
Auto Trait Implementations§
impl Freeze for SyntacticParser
impl RefUnwindSafe for SyntacticParser
impl Send for SyntacticParser
impl Sync for SyntacticParser
impl Unpin for SyntacticParser
impl UnsafeUnpin for SyntacticParser
impl UnwindSafe for SyntacticParser
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more