/// Returns a Nonterminal if it is Interpolated.
Returns a Nonterminal if it is Interpolated.
Returns a Nonterminal if it is Interpolated .
pub fn maybe_interpolated_nonterminal(&self) -> Option<Nonterminal> {
        if !(self.len() == 1) {
            return None;
        }
        match self[0] {
            TokenTree::Token(_, Token::Interpolated(ref nt)) => Some(nt.clone()),
            _ => None,
        }
    }
pub fn maybe_interpolated_nonterminal ( & self ) -> Option < Nonterminal > { if ! ( self . len ( ) == 1 ) { return None ; } match self [ 0 ] { TokenTree :: Token ( _ , Token :: Interpolated ( ref nt ) ) => Some ( nt . clone ( ) ) , _ => None , } }
Returns a Nonterminal if it is Interpolated.
Returns a Nonterminal if it is Interpolated .
&self