macro_rules! optional {
( $ts:ident, $inner_optional:expr ) => { ... };
}Expand description
Helper for parsing an optional parameter using a TokenStream
This will save the current position (push), try to execute the parse (which returns an Option),
and restore the position if the parse failed.
See source code for crate::grammar for examples.