Trait syntax::ext::quote::rt::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) -> Stmt; fn parse_tts(&self, s: String) -> Vec<TokenTree>; }
Unstable (
rustc_private
)Required Methods
fn parse_item(&self, s: String) -> P<Item>
Unstable (
rustc_private
)fn parse_expr(&self, s: String) -> P<Expr>
Unstable (
rustc_private
)fn parse_stmt(&self, s: String) -> Stmt
Unstable (
rustc_private
)fn parse_tts(&self, s: String) -> Vec<TokenTree>
Unstable (
rustc_private
)Implementors
impl<'a> ExtParseUtils for ExtCtxt<'a>