Skip to main content

split_items

Function split_items 

Source
fn split_items(input: TokenStream) -> Vec<(TokenStream, Option<Span>)>
Expand description

The input split at its top-level commas: each item’s tokens and the comma after it (None after the last). Delimited groups are single token trees, so a comma inside one does not split.