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:431–433  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

429 /// Returns the range of the current token.
430 #[inline]
431 fn current_token_range(&self) -> TextRange {
432 self.tokens.current_range()
433 }
434
435 /// Returns the current token ID.
436 #[inline]

Calls 1

current_rangeMethod · 0.45

Tested by

no test coverage detected