risingwave_sqlparser::ast

Trait ParseTo

source
pub trait ParseTo: Sized {
    // Required method
    fn parse_to(parser: &mut Parser<'_>) -> PResult<Self>;
}
Expand description

Consumes token from the parser into an AST node.

Required Methods§

source

fn parse_to(parser: &mut Parser<'_>) -> PResult<Self>

Object Safety§

This trait is not object safe.

Implementors§