MCPcopy Create free account
hub / github.com/astral-sh/ruff / current_token_range

Method current_token_range

crates/ruff_python_parser/src/parser/mod.rs:424–426  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

422 /// Returns the range of the current token.
423 #[inline]
424 fn current_token_range(&self) -> TextRange {
425 self.tokens.current_range()
426 }
427
428 /// Returns the current token ID.
429 #[inline]

Calls 1

current_rangeMethod · 0.45

Tested by

no test coverage detected