Expand description
A TokenStream
to Selection
parser. Used at compile time in
[sel!]
. See [selection::parse
] for syntax details and
examples.
A TokenStream
to Selection
parser used by the sel!
procedural macro.
This module implements a compile-time parser that converts a
proc_macro2::TokenStream
into a Selection
syntax tree.
The grammar and interpretation of selection expressions are the
same as those described in the parse
module. See that module
for full documentation of the syntax and semantics.
See [parse_tokens
] for the entry point, and
[selection_to_tokens
] for the inverse.
Functionsยง
- parse_
tokens - Parses a
proc_macro2::TokenStream
representing a selection expression into aSelection
syntax tree. - selection_
to_ tokens