Home
last modified time | relevance | path

Searched refs:ParserBuilder (Results 1 – 10 of 10) sorted by relevance

/external/rust/crates/regex-syntax/src/
Dparser.rs15 pub struct ParserBuilder { struct
16 ast: ast::parse::ParserBuilder, argument
20 impl ParserBuilder { impl
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 …]
Dlib.rs162 pub use parser::{Parser, ParserBuilder};
/external/rust/crates/regex-syntax/src/hir/
Dprint.rs242 use ParserBuilder;
254 F: FnMut(&mut ParserBuilder) -> &mut ParserBuilder,
256 let mut builder = ParserBuilder::new();
Dtranslate.rs1108 use ast::parse::ParserBuilder;
1137 ParserBuilder::new().octal(true).build().parse(pattern).unwrap() in parse()
/external/rust/crates/regex-syntax/src/ast/
Dprint.rs400 use ast::parse::ParserBuilder;
408 F: FnMut(&mut ParserBuilder) -> &mut ParserBuilder, in roundtrip_with() argument
410 let mut builder = ParserBuilder::new(); in roundtrip_with()
Dparse.rs114 pub struct ParserBuilder { struct
120 impl Default for ParserBuilder { argument
121 fn default() -> ParserBuilder { in default()
122 ParserBuilder::new() in default()
126 impl ParserBuilder { implementation
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 …]
/external/rust/crates/regex-syntax/src/hir/literal/
Dmod.rs981 use ParserBuilder;
1081 let expr = ParserBuilder::new()
1088 let expr = ParserBuilder::new()
1269 let expr = ParserBuilder::new()
1278 let expr = ParserBuilder::new()
/external/rust/crates/regex-automata/src/nfa/
Dcompiler.rs1003 use regex_syntax::ParserBuilder;
1008 ParserBuilder::new().build().parse(pattern).unwrap() in parse()
1101 let hir = ParserBuilder::new() in compile_literal()
/external/rust/crates/regex-automata/src/
Ddense.rs12 use regex_syntax::ParserBuilder;
1877 parser: ParserBuilder,
1896 parser: ParserBuilder::new(), in new()
/external/rust/crates/regex/src/
Dexec.rs10 use syntax::ParserBuilder;
238 let mut parser = ParserBuilder::new() in parse()