pub fn parse_tokens(tokens: TokenStream) -> Result<Selection, String>
Expand description
Parses a proc_macro2::TokenStream
representing a selection
expression into a Selection
syntax tree.
This is intended for use at compile time in the sel!
procedural macro,
and is the inverse of selection_to_tokens
.