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

Method line

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

Return the current line number of the parser. The line number starts at `1`.

(&self)

Source from the content-addressed store, hash-verified

407 ///
408 /// The line number starts at `1`.
409 fn line(&self) -> usize {
410 self.parser().pos.get().line
411 }
412
413 /// Return the current column of the parser.
414 ///

Callers 1

span_charMethod · 0.80

Calls 2

parserMethod · 0.80
getMethod · 0.45

Tested by

no test coverage detected