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

Method context

crates/ruff_python_semantic/src/model.rs:3019–3021  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

3017 }
3018
3019 pub const fn context(&self) -> ExecutionContext {
3020 self.context
3021 }
3022
3023 pub fn statement<'a>(&self, semantic: &SemanticModel<'a>) -> &'a Stmt {
3024 semantic.statement(self.source)

Callers 15

finishMethod · 0.45
fmtMethod · 0.45
format_nodeFunction · 0.45
write_skipped_statementsFunction · 0.45
fmtMethod · 0.45
format_and_debug_printFunction · 0.45
fmt_fieldsMethod · 0.45
fmt_fieldsMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected