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

Method is_eof

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

Returns true if the next call to `bump` would return false.

(&self)

Source from the content-addressed store, hash-verified

615
616 /// Returns true if the next call to `bump` would return false.
617 fn is_eof(&self) -> bool {
618 self.offset() == self.pattern().len()
619 }
620
621 /// Return the current position of the parser, which includes the offset,
622 /// line and column.

Callers 15

bumpMethod · 0.45
bump_and_bump_spaceMethod · 0.45
bump_spaceMethod · 0.45
peekMethod · 0.45
peek_spaceMethod · 0.45
parse_with_commentsMethod · 0.45
parse_groupMethod · 0.45
parse_capture_nameMethod · 0.45
parse_hex_braceMethod · 0.45
parse_decimalMethod · 0.45
parse_set_classMethod · 0.45

Calls 3

offsetMethod · 0.80
lenMethod · 0.45
patternMethod · 0.45

Tested by

no test coverage detected