Lines Matching defs:Literals
35 pub struct Literals { struct
51 impl Literals { argument
58 pub fn prefixes(expr: &Hir) -> Literals { in prefixes()
65 pub fn suffixes(expr: &Hir) -> Literals { in suffixes()
83 pub fn set_limit_size(&mut self, size: usize) -> &mut Literals { in set_limit_size()
103 pub fn set_limit_class(&mut self, size: usize) -> &mut Literals { in set_limit_class()
149 pub fn to_empty(&self) -> Literals { in to_empty()
199 pub fn trim_suffix(&self, num_bytes: usize) -> Option<Literals> { in trim_suffix()
224 pub fn unambiguous_prefixes(&self) -> Literals { in unambiguous_prefixes()
291 pub fn unambiguous_suffixes(&self) -> Literals { in unambiguous_suffixes()
584 fn prefixes(expr: &Hir, lits: &mut Literals) { in prefixes()
657 fn suffixes(expr: &Hir, lits: &mut Literals) { in suffixes()
735 lits: &mut Literals, in repeat_zero_or_one_literals()
754 lits: &mut Literals, in repeat_zero_or_more_literals()
774 lits: &mut Literals, in repeat_one_or_more_literals()
786 lits: &mut Literals, in repeat_range_literals()
818 lits: &mut Literals, in alternate_literals()
840 impl fmt::Debug for Literals { implementation
1050 fn prefixes(lits: &mut Literals, expr: &Hir) { in prefixes()
1054 fn suffixes(lits: &mut Literals, expr: &Hir) { in suffixes()