Skip to main content

rust_template_token_tree

Function rust_template_token_tree 

Source
pub fn rust_template_token_tree(
    root: Node<'_>,
    start: usize,
    end: usize,
) -> Option<Node<'_>>
Expand description

The token_tree node spanning exactly start..end, including its delimiters. Templates nested in another template are token trees of the outer one, so they are found the same way.