Lines Matching refs:trees
154 let mut trees = TokenStreamBuilder::new(); in token_stream() localVariable
160 if let Ok((rest, ())) = doc_comment(input, &mut trees) { in token_stream()
171 None => return Ok(trees.build()), in token_stream()
190 let frame = (open_delimiter, trees); in token_stream()
194 trees = TokenStreamBuilder::new(); in token_stream()
212 let mut g = Group::new(open_delimiter, trees.build()); in token_stream()
219 trees = outer; in token_stream()
220 trees.push_token_from_parser(TokenTree::Group(crate::Group::_new_fallback(g))); in token_stream()
232 trees.push_token_from_parser(tt); in token_stream()
794 fn doc_comment<'a>(input: Cursor<'a>, trees: &mut TokenStreamBuilder) -> PResult<'a, ()> { in doc_comment()
816 trees.push_token_from_parser(TokenTree::Punct(pound)); in doc_comment()
821 trees.push_token_from_parser(TokenTree::Punct(bang)); in doc_comment()
836 trees.push_token_from_parser(TokenTree::Group(group)); in doc_comment()