Documentation
1
2
3
4
5
6
7
8
9
10
11
use super::*;

struct Select(u8);

impl Syntax for Select {
    type Output = Self;
    fn parse(parser: &mut Parser) -> ParserResult<Select> {
        parser.expect(&Token::SELECT)?;
        Ok(Select(10))
    }
}