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

Method current_token_id

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

Source from the content-addressed store, hash-verified

428 /// Returns the current token ID.
429 #[inline]
430 fn current_token_id(&self) -> TokenId {
431 self.current_token_id
432 }
433
434 /// Bumps the current token assuming it is of the given kind.
435 ///

Callers 2

has_progressedMethod · 0.80
assert_progressingMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected