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

Method err

std/re/src/main/parser.rs:39–39  ·  view source on GitHub ↗
(&self, msg: &'static str)

Source from the content-addressed store, hash-verified

37 c
38 }
39 fn err(&self, msg: &'static str) -> ParseError { ParseError { msg, pos: self.pos } }
40
41 fn expect(&mut self, c: char) -> Result<(), ParseError> {
42 if self.peek() == Some(c) { self.bump(); Ok(()) }

Callers 12

parseFunction · 0.45
expectMethod · 0.45
quantifiedMethod · 0.45
atomMethod · 0.45
groupMethod · 0.45
named_backrefMethod · 0.45
read_nameMethod · 0.45
read_flagsMethod · 0.45
classMethod · 0.45
class_escapeMethod · 0.45
escapeMethod · 0.45
read_hexMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected