Searched refs:ParserBuilder (Results 1 – 9 of 9) sorted by relevance
/third_party/rust/crates/regex/regex-syntax/src/ |
D | parser.rs | 15 pub struct ParserBuilder { struct 16 ast: ast::parse::ParserBuilder, argument 20 impl ParserBuilder { argument 22 pub fn new() -> ParserBuilder { in new() 23 ParserBuilder::default() in new() 56 pub fn nest_limit(&mut self, limit: u32) -> &mut ParserBuilder { in nest_limit() argument 76 pub fn octal(&mut self, yes: bool) -> &mut ParserBuilder { in octal() argument 92 pub fn allow_invalid_utf8(&mut self, yes: bool) -> &mut ParserBuilder { in allow_invalid_utf8() argument 105 pub fn ignore_whitespace(&mut self, yes: bool) -> &mut ParserBuilder { in ignore_whitespace() argument 114 pub fn case_insensitive(&mut self, yes: bool) -> &mut ParserBuilder { in case_insensitive() argument [all …]
|
D | lib.rs | 162 pub use crate::parser::{Parser, ParserBuilder};
|
/third_party/rust/crates/regex/regex-debug/src/ |
D | main.rs | 132 use regex_syntax::ParserBuilder; in cmd_hir() 134 let mut parser = ParserBuilder::new().allow_invalid_utf8(false).build(); in cmd_hir() 223 use regex_syntax::ParserBuilder; in cmd_utf8_ranges() 225 let hir = ParserBuilder::new() in cmd_utf8_ranges() 256 use regex_syntax::ParserBuilder; in cmd_utf8_ranges_rev() 258 let hir = ParserBuilder::new() in cmd_utf8_ranges_rev() 330 use regex_syntax::ParserBuilder; in parse() 331 ParserBuilder::new() in parse()
|
/third_party/rust/crates/regex/regex-syntax/src/hir/ |
D | print.rs | 241 use crate::ParserBuilder; 253 F: FnMut(&mut ParserBuilder) -> &mut ParserBuilder, 255 let mut builder = ParserBuilder::new();
|
D | translate.rs | 1124 use crate::ast::parse::ParserBuilder; 1153 ParserBuilder::new().octal(true).build().parse(pattern).unwrap() in parse()
|
/third_party/rust/crates/regex/regex-syntax/src/ast/ |
D | print.rs | 399 use crate::ast::parse::ParserBuilder; 407 F: FnMut(&mut ParserBuilder) -> &mut ParserBuilder, in roundtrip_with() argument 409 let mut builder = ParserBuilder::new(); in roundtrip_with()
|
D | parse.rs | 114 pub struct ParserBuilder { struct 120 impl Default for ParserBuilder { argument 121 fn default() -> ParserBuilder { in default() 122 ParserBuilder::new() in default() 126 impl ParserBuilder { impl 128 pub fn new() -> ParserBuilder { in new() 129 ParserBuilder { in new() 178 pub fn nest_limit(&mut self, limit: u32) -> &mut ParserBuilder { in nest_limit() argument 198 pub fn octal(&mut self, yes: bool) -> &mut ParserBuilder { in octal() argument 211 pub fn ignore_whitespace(&mut self, yes: bool) -> &mut ParserBuilder { in ignore_whitespace() argument [all …]
|
/third_party/rust/crates/regex/regex-syntax/src/hir/literal/ |
D | mod.rs | 977 use crate::ParserBuilder; 1077 let expr = ParserBuilder::new() 1084 let expr = ParserBuilder::new() 1270 let expr = ParserBuilder::new() 1279 let expr = ParserBuilder::new()
|
/third_party/rust/crates/regex/src/ |
D | exec.rs | 10 use regex_syntax::ParserBuilder; 238 let mut parser = ParserBuilder::new() in parse()
|