Lines Matching defs:clone
31 // NOTE: Do not implement clone on this - while the current design could be
222 return Some((group.clone(), after_group));
233 Entry::Ident(ident) => Some((ident.clone(), unsafe { self.bump_ignore_group() })),
244 Some((punct.clone(), unsafe { self.bump_ignore_group() }))
255 Entry::Literal(literal) => Some((literal.clone(), unsafe { self.bump_ignore_group() })),
299 Entry::Group(group, end_offset) => (group.clone().into(), *end_offset),
300 Entry::Literal(literal) => (literal.clone().into(), 1),
301 Entry::Ident(ident) => (ident.clone().into(), 1),
302 Entry::Punct(punct) => (punct.clone().into(), 1),
376 fn clone(&self) -> Self {