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

Method current_token_kind

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

Source from the content-addressed store, hash-verified

416 /// Returns the current token kind.
417 #[inline]
418 fn current_token_kind(&self) -> TokenKind {
419 self.tokens.current_kind()
420 }
421
422 /// Returns the range of the current token.
423 #[inline]

Calls 1

current_kindMethod · 0.45

Tested by

no test coverage detected