MCPcopy Create free account
hub / github.com/dylan-sutton-chavez/edge-python / look

Method look

std/re/src/main/parser.rs:183–187  ·  view source on GitHub ↗
(&mut self, behind: bool, negative: bool)

Source from the content-addressed store, hash-verified

181 }
182
183 fn look(&mut self, behind: bool, negative: bool) -> Result<Node, ParseError> {
184 let node = self.alternation()?;
185 self.expect(')')?;
186 Ok(Node::Look { node: Box::new(node), behind, negative })
187 }
188
189 /* Assign the index before the body so order matches paren order. */
190 fn named_group(&mut self, name: String) -> Result<Node, ParseError> {

Callers 1

groupMethod · 0.45

Calls 2

alternationMethod · 0.80
expectMethod · 0.45

Tested by

no test coverage detected