Home
last modified time | relevance | path

Searched refs:swap_greed (Results 1 – 5 of 5) sorted by relevance

/third_party/rust/crates/regex/src/
Dre_builder.rs12 pub swap_greed: bool, field
28 swap_greed: false, in default()
120 pub fn swap_greed(&mut self, yes: bool) -> &mut RegexBuilder {
121 self.0.swap_greed = yes;
310 pub fn swap_greed(
314 self.0.swap_greed = yes;
Dexec.rs243 .swap_greed(self.options.swap_greed) in parse()
/third_party/rust/crates/regex/regex-syntax/src/
Dparser.rs141 pub fn swap_greed(&mut self, yes: bool) -> &mut ParserBuilder { in swap_greed() method
142 self.hir.swap_greed(yes); in swap_greed()
/third_party/rust/crates/regex/regex-syntax/src/hir/
Dtranslate.rs84 pub fn swap_greed(&mut self, yes: bool) -> &mut TranslatorBuilder { in swap_greed() method
85 self.flags.swap_greed = if yes { Some(true) } else { None }; in swap_greed()
804 if self.flags().swap_greed() { !rep.greedy } else { rep.greedy }; in hir_repetition()
1011 swap_greed: Option<bool>, field
1036 flags.swap_greed = Some(enable); in from_ast()
1057 if self.swap_greed.is_none() { in merge()
1058 self.swap_greed = previous.swap_greed; in merge()
1077 fn swap_greed(&self) -> bool { in swap_greed() method
1078 self.swap_greed.unwrap_or(false) in swap_greed()
/third_party/rust/crates/regex/regex-capi/src/
Drure.rs123 builder.swap_greed(flags & RURE_FLAG_SWAP_GREED > 0);
509 builder.swap_greed(flags & RURE_FLAG_SWAP_GREED > 0);