[−][src]Macro syn::tuple
Run a series of parsers and produce all of the results in a tuple.
- Syntax:
tuple!(A, B, C, ...)
- Output:
(A, B, C, ...)
#[macro_use] extern crate syn; use syn::Type; named!(two_types -> (Type, Type), tuple!(syn!(Type), syn!(Type)));
This macro is available if Syn is built with the "parsing"
feature.