Skip to main content

substitute

Function substitute 

Source
pub(crate) fn substitute(
    tokens: TokenStream,
    lets: &HashMap<String, TokenStream>,
) -> TokenStream
Expand description

Replace the names bound by lets in tokens with their values, in parentheses.