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

Source from the content-addressed store, hash-verified

423 /// Returns the current token kind.
424 #[inline]
425 fn current_token_kind(&self) -> TokenKind {
426 self.tokens.current_kind()
427 }
428
429 /// Returns the range of the current token.
430 #[inline]

Calls 1

current_kindMethod · 0.45

Tested by

no test coverage detected