Lines Matching refs:entries
37 entries: Box<[Entry]>, field
41 fn recursive_new(entries: &mut Vec<Entry>, stream: TokenStream) { in recursive_new()
44 TokenTree::Ident(ident) => entries.push(Entry::Ident(ident)), in recursive_new()
45 TokenTree::Punct(punct) => entries.push(Entry::Punct(punct)), in recursive_new()
46 TokenTree::Literal(literal) => entries.push(Entry::Literal(literal)), in recursive_new()
48 let group_start_index = entries.len(); in recursive_new()
49 entries.push(Entry::End(0, 0)); // we replace this below in recursive_new()
50 Self::recursive_new(entries, group.stream()); in recursive_new()
51 let group_end_index = entries.len(); in recursive_new()
53 entries.push(Entry::End( in recursive_new()
57 entries[group_start_index] = Entry::Group(group, group_offset); in recursive_new()
74 let mut entries = Vec::new(); in new2() localVariable
75 Self::recursive_new(&mut entries, stream); in new2()
76 entries.push(Entry::End(-(entries.len() as isize), 0)); in new2()
78 entries: entries.into_boxed_slice(), in new2()
85 let ptr = self.entries.as_ptr(); in begin()
86 unsafe { Cursor::create(ptr, ptr.add(self.entries.len() - 1)) } in begin()