Home
last modified time | relevance | path

Searched refs:RepetitionKind (Results 1 – 9 of 9) sorted by relevance

/external/rust/crates/regex-syntax/src/hir/
Dprint.rs175 hir::RepetitionKind::ZeroOrOne => { in visit_post()
178 hir::RepetitionKind::ZeroOrMore => { in visit_post()
181 hir::RepetitionKind::OneOrMore => { in visit_post()
184 hir::RepetitionKind::Range(ref x) => match *x { in visit_post()
Dtranslate.rs793 ast::RepetitionKind::ZeroOrOne => hir::RepetitionKind::ZeroOrOne, in hir_repetition()
794 ast::RepetitionKind::ZeroOrMore => hir::RepetitionKind::ZeroOrMore, in hir_repetition()
795 ast::RepetitionKind::OneOrMore => hir::RepetitionKind::OneOrMore, in hir_repetition()
796 ast::RepetitionKind::Range(ast::RepetitionRange::Exactly(m)) => { in hir_repetition()
797 hir::RepetitionKind::Range(hir::RepetitionRange::Exactly(m)) in hir_repetition()
799 ast::RepetitionKind::Range(ast::RepetitionRange::AtLeast(m)) => { in hir_repetition()
800 hir::RepetitionKind::Range(hir::RepetitionRange::AtLeast(m)) in hir_repetition()
802 ast::RepetitionKind::Range(ast::RepetitionRange::Bounded( in hir_repetition()
806 hir::RepetitionKind::Range(hir::RepetitionRange::Bounded(m, n)) in hir_repetition()
1220 kind: hir::RepetitionKind::ZeroOrOne, in hir_quest()
[all …]
Dmod.rs1369 pub kind: RepetitionKind,
1394 RepetitionKind::ZeroOrOne => true, in is_match_empty()
1395 RepetitionKind::ZeroOrMore => true, in is_match_empty()
1396 RepetitionKind::OneOrMore => false, in is_match_empty()
1397 RepetitionKind::Range(RepetitionRange::Exactly(m)) => m == 0, in is_match_empty()
1398 RepetitionKind::Range(RepetitionRange::AtLeast(m)) => m == 0, in is_match_empty()
1399 RepetitionKind::Range(RepetitionRange::Bounded(m, _)) => m == 0, in is_match_empty()
1406 pub enum RepetitionKind { enum
2266 kind: RepetitionKind::ZeroOrOne, in no_stack_overflow_on_drop()
/external/rust/crates/regex-syntax/src/hir/literal/
Dmod.rs607 hir::RepetitionKind::ZeroOrOne => { in prefixes()
610 hir::RepetitionKind::ZeroOrMore => { in prefixes()
613 hir::RepetitionKind::OneOrMore => { in prefixes()
616 hir::RepetitionKind::Range(ref rng) => { in prefixes()
683 hir::RepetitionKind::ZeroOrOne => { in suffixes()
686 hir::RepetitionKind::ZeroOrMore => { in suffixes()
689 hir::RepetitionKind::OneOrMore => { in suffixes()
692 hir::RepetitionKind::Range(ref rng) => { in suffixes()
795 kind: hir::RepetitionKind::ZeroOrMore, in repeat_range_literals()
/external/rust/crates/regex-syntax/src/ast/
Dparse.rs989 ast::RepetitionKind::ZeroOrOne, in parse_with_comments()
995 ast::RepetitionKind::ZeroOrMore, in parse_with_comments()
1001 ast::RepetitionKind::OneOrMore, in parse_with_comments()
1038 kind: ast::RepetitionKind, in parse_uncounted_repetition() argument
1171 kind: ast::RepetitionKind::Range(range), in parse_counted_repetition()
2526 kind: ast::RepetitionKind::OneOrMore, in parse_nest_limit()
2552 kind: ast::RepetitionKind::ZeroOrMore, in parse_nest_limit()
2559 kind: ast::RepetitionKind::OneOrMore, in parse_nest_limit()
2951 kind: ast::RepetitionKind::ZeroOrMore, in parse_uncounted_repetition()
2963 kind: ast::RepetitionKind::OneOrMore, in parse_uncounted_repetition()
[all …]
Dmod.rs1137 pub kind: RepetitionKind,
1142 pub enum RepetitionKind { enum
Dprint.rs181 use ast::RepetitionKind::*; in fmt_repetition()
/external/rust/crates/regex-automata/src/nfa/
Dcompiler.rs476 hir::RepetitionKind::ZeroOrOne => { in c_repetition()
479 hir::RepetitionKind::ZeroOrMore => { in c_repetition()
482 hir::RepetitionKind::OneOrMore => { in c_repetition()
485 hir::RepetitionKind::Range(ref rng) => match *rng { in c_repetition()
771 kind: hir::RepetitionKind::ZeroOrMore, in c_unanchored_prefix_valid_utf8()
779 kind: hir::RepetitionKind::ZeroOrMore, in c_unanchored_prefix_invalid_utf8()
/external/rust/crates/regex/src/
Dcompile.rs390 kind: hir::RepetitionKind::ZeroOrMore, in c_dotstar()
397 kind: hir::RepetitionKind::ZeroOrMore, in c_dotstar()
551 use syntax::hir::RepetitionKind::*; in c_repeat()