Trait quasi::ExtParseUtils [] [src]

pub trait ExtParseUtils {
    fn parse_item(&self, s: String) -> P<Item>;
    fn parse_expr(&self, s: String) -> P<Expr>;
    fn parse_stmt(&self, s: String) -> P<Stmt>;
    fn parse_tts(&self, s: String) -> Vec<TokenTree>;
}

Required Methods

fn parse_item(&self, s: String) -> P<Item>

fn parse_expr(&self, s: String) -> P<Expr>

fn parse_stmt(&self, s: String) -> P<Stmt>

fn parse_tts(&self, s: String) -> Vec<TokenTree>

Implementors