rapidquery 0.2.6

Rapid Query Executor
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
use crate::Expression;

use super::ParserErr;

pub trait Parse: Sized {
    fn parse(input: &str) -> nom::IResult<&str, Self>;
}

impl<Field: Parse> Expression<Field> {
    pub fn parse<S: AsRef<str>>(input: S) -> Result<Self, ParserErr> {
        super::parse_expression(input.as_ref())
    }
}