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

Source from the content-addressed store, hash-verified

438 /// Returns the current token ID.
439 #[inline]
440 fn current_token_id(&self) -> TokenId {
441 self.current_token_id
442 }
443
444 /// Bumps the current token assuming it is of the given kind.
445 ///

Callers 2

has_progressedMethod · 0.80
assert_progressingMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected