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

Method pos

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

Return the current position of the parser, which includes the offset, line and column.

(&self)

Source from the content-addressed store, hash-verified

621 /// Return the current position of the parser, which includes the offset,
622 /// line and column.
623 fn pos(&self) -> Position {
624 self.parser().pos.get()
625 }
626
627 /// Create a span at the current position of the parser. Both the start
628 /// and end of the span are set.

Callers 15

bumpMethod · 0.45
bump_spaceMethod · 0.45
spanMethod · 0.45
span_charMethod · 0.45
push_alternateMethod · 0.45
pop_groupMethod · 0.45
pop_group_endMethod · 0.45
pop_classMethod · 0.45
parse_groupMethod · 0.45

Calls 2

parserMethod · 0.80
getMethod · 0.45

Tested by

no test coverage detected