Function syntax::ext::base::get_exprs_from_tts
[−]
[src]
pub fn get_exprs_from_tts(
cx: &mut ExtCtxt,
sp: Span,
tts: &[TokenTree]
) -> Option<Vec<P<Expr>>>
🔬 This is a nightly-only experimental API. (rustc_private
)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml
instead?
Extract comma-separated expressions from tts
. If there is a
parsing error, emit a non-fatal error and return None.