macro_rules! as_inner_source {
($vis:vis fn $name:ident(&self, $variant:ident) -> $ret:ty) => { ... };
}
Expand description
Defines a method that returns ParseSource inner element if it matches the variant
macro_rules! as_inner_source {
($vis:vis fn $name:ident(&self, $variant:ident) -> $ret:ty) => { ... };
}
Defines a method that returns ParseSource inner element if it matches the variant