MCPcopy Create free account
hub / github.com/davidblewett/rure-python / parse

Method parse

regex/regex-syntax/src/parser.rs:201–205  ·  view source on GitHub ↗

Parse the regular expression into a high level intermediate representation.

(&mut self, pattern: &str)

Source from the content-addressed store, hash-verified

199 /// Parse the regular expression into a high level intermediate
200 /// representation.
201 pub fn parse(&mut self, pattern: &str) -> Result<hir::Hir> {
202 let ast = self.ast.parse(pattern)?;
203 let hir = self.hir.translate(pattern, &ast)?;
204 Ok(hir)
205 }
206}

Callers 15

cmd_astFunction · 0.45
cmd_hirFunction · 0.45
cmd_utf8_rangesFunction · 0.45
parseFunction · 0.45
parse_simple1Function · 0.45
parse_simple2Function · 0.45
parse_small1Function · 0.45
parse_medium1Function · 0.45
parse_medium2Function · 0.45
parse_medium3Function · 0.45
parse_hugeFunction · 0.45
regression_464Function · 0.45

Calls 1

translateMethod · 0.80

Tested by 1

regression_464Function · 0.36