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

Method char

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

Return the character at the current position of the parser. This panics if the current position does not point to a valid char.

(&self)

Source from the content-addressed store, hash-verified

462 ///
463 /// This panics if the current position does not point to a valid char.
464 fn char(&self) -> char {
465 self.char_at(self.offset())
466 }
467
468 /// Return the character at the given position.
469 ///

Callers 15

bumpMethod · 0.45
bump_spaceMethod · 0.45
peekMethod · 0.45
peek_spaceMethod · 0.45
span_charMethod · 0.45
parse_with_commentsMethod · 0.45
parse_groupMethod · 0.45
parse_capture_nameMethod · 0.45
parse_flagsMethod · 0.45
parse_flagMethod · 0.45

Calls 2

char_atMethod · 0.80
offsetMethod · 0.80

Tested by

no test coverage detected