pub(crate) fn get_exprs_from_tts(
cx: &mut ExtCtxt<'_>,
tts: TokenStream,
) -> ExpandResult<Result<Vec<P<Expr>>, ErrorGuaranteed>, ()>
Expand description
Extracts comma-separated expressions from tts
.
On error, emit it, and return Err
.
pub(crate) fn get_exprs_from_tts(
cx: &mut ExtCtxt<'_>,
tts: TokenStream,
) -> ExpandResult<Result<Vec<P<Expr>>, ErrorGuaranteed>, ()>
Extracts comma-separated expressions from tts
.
On error, emit it, and return Err
.