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

Method pattern

regex/regex-syntax/src/ast/parse.rs:385–387  ·  view source on GitHub ↗

Return a reference to the pattern being parsed.

(&self)

Source from the content-addressed store, hash-verified

383
384 /// Return a reference to the pattern being parsed.
385 fn pattern(&self) -> &str {
386 self.pattern.borrow()
387 }
388
389 /// Create a new error with the given span and error type.
390 fn error(&self, span: Span, kind: ast::ErrorKind) -> ast::Error {

Callers 10

errorMethod · 0.45
char_atMethod · 0.45
bumpMethod · 0.45
bump_ifMethod · 0.45
peekMethod · 0.45
peek_spaceMethod · 0.45
is_eofMethod · 0.45
parse_capture_nameMethod · 0.45
parse_octalMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected