Function rustc_parse::parser::attr_wrapper::make_attr_token_stream
source ยท fn make_attr_token_stream(
iter: impl Iterator<Item = FlatToken>,
break_last_token: bool,
) -> AttrTokenStream
Expand description
Converts a flattened iterator of tokens (including open and close delimiter tokens) into an
AttrTokenStream
, creating an AttrTokenTree::Delimited
for each matching pair of open and
close delims.