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

Method bump_ipython_escape_command

crates/ruff_python_parser/src/parser/mod.rs:488–495  ·  view source on GitHub ↗
(
        &mut self,
        context: IpyEscapeContext,
    )

Source from the content-addressed store, hash-verified

486 }
487
488 fn bump_ipython_escape_command(
489 &mut self,
490 context: IpyEscapeContext,
491 ) -> (Box<str>, IpyEscapeKind) {
492 let (value, kind) = self.parse_ipython_escape_command_value(context);
493 self.bump(TokenKind::IpyEscapeCommand);
494 (value, kind)
495 }
496
497 fn current_token_text(&self) -> &'src str {
498 self.src_text(self.current_token_range())

Calls 2

bumpMethod · 0.45

Tested by

no test coverage detected