Searched refs:RepetitionRange (Results 1 – 9 of 9) sorted by relevance
/external/rust/crates/regex-syntax/src/hir/ |
D | print.rs | 184 hir::RepetitionRange::Exactly(m) => { in visit_post() 187 hir::RepetitionRange::AtLeast(m) => { in visit_post() 190 hir::RepetitionRange::Bounded(m, n) => { in visit_post()
|
D | translate.rs | 790 ast::RepetitionKind::Range(ast::RepetitionRange::Exactly(m)) => { in hir_repetition() 791 hir::RepetitionKind::Range(hir::RepetitionRange::Exactly(m)) in hir_repetition() 793 ast::RepetitionKind::Range(ast::RepetitionRange::AtLeast(m)) => { in hir_repetition() 794 hir::RepetitionKind::Range(hir::RepetitionRange::AtLeast(m)) in hir_repetition() 796 ast::RepetitionKind::Range(ast::RepetitionRange::Bounded( in hir_repetition() 800 hir::RepetitionKind::Range(hir::RepetitionRange::Bounded(m, n)) in hir_repetition() 1258 fn hir_range(greedy: bool, range: hir::RepetitionRange, expr: Hir) -> Hir { in hir_range() argument 1760 hir_range(true, hir::RepetitionRange::Exactly(1), hir_lit("a"),) in repetition() 1764 hir_range(true, hir::RepetitionRange::AtLeast(1), hir_lit("a"),) in repetition() 1768 hir_range(true, hir::RepetitionRange::Bounded(1, 2), hir_lit("a"),) in repetition() [all …]
|
D | mod.rs | 1401 RepetitionKind::Range(RepetitionRange::Exactly(m)) => m == 0, in is_match_empty() 1402 RepetitionKind::Range(RepetitionRange::AtLeast(m)) => m == 0, in is_match_empty() 1403 RepetitionKind::Range(RepetitionRange::Bounded(m, _)) => m == 0, in is_match_empty() 1418 Range(RepetitionRange), 1423 pub enum RepetitionRange { enum
|
/external/rust/crates/regex-syntax/src/ast/ |
D | mod.rs | 1150 Range(RepetitionRange), 1155 pub enum RepetitionRange { enum 1164 impl RepetitionRange { implementation 1171 RepetitionRange::Bounded(s, e) if s > e => false, in is_valid()
|
D | print.rs | 200 ast: &ast::RepetitionRange, in fmt_repetition_range() argument 202 use crate::ast::RepetitionRange::*; in fmt_repetition_range()
|
D | parse.rs | 1111 let mut range = ast::RepetitionRange::Exactly(count_start); in parse_counted_repetition() 1131 range = ast::RepetitionRange::Bounded(count_start, count_end); in parse_counted_repetition() 1133 range = ast::RepetitionRange::AtLeast(count_start); in parse_counted_repetition() 3167 ast::RepetitionRange::Exactly(5) in parse_counted_repetition() 3181 ast::RepetitionRange::AtLeast(5) in parse_counted_repetition() 3195 ast::RepetitionRange::Bounded(5, 9) in parse_counted_repetition() 3209 ast::RepetitionRange::Exactly(5) in parse_counted_repetition() 3227 ast::RepetitionRange::Exactly(5) in parse_counted_repetition() 3247 ast::RepetitionRange::Exactly(5) in parse_counted_repetition() 3265 ast::RepetitionRange::Exactly(5) in parse_counted_repetition() [all …]
|
/external/rust/crates/regex-syntax/src/hir/literal/ |
D | mod.rs | 616 hir::RepetitionRange::Exactly(m) => (m, Some(m)), in prefixes() 617 hir::RepetitionRange::AtLeast(m) => (m, None), in prefixes() 618 hir::RepetitionRange::Bounded(m, n) => (m, Some(n)), in prefixes() 692 hir::RepetitionRange::Exactly(m) => (m, Some(m)), in suffixes() 693 hir::RepetitionRange::AtLeast(m) => (m, None), in suffixes() 694 hir::RepetitionRange::Bounded(m, n) => (m, Some(n)), in suffixes()
|
/external/rust/crates/regex-automata/src/nfa/ |
D | compiler.rs | 486 hir::RepetitionRange::Exactly(count) => { in c_repetition() 489 hir::RepetitionRange::AtLeast(m) => { in c_repetition() 492 hir::RepetitionRange::Bounded(min, max) => { in c_repetition()
|
/external/rust/crates/regex/src/ |
D | compile.rs | 595 Range(hir::RepetitionRange::Exactly(min_max)) => { in c_repeat() 598 Range(hir::RepetitionRange::AtLeast(min)) => { in c_repeat() 601 Range(hir::RepetitionRange::Bounded(min, max)) => { in c_repeat()
|