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

Method program

crates/ty_python_core/src/definition.rs:96–98  ·  view source on GitHub ↗
(self, db: &'db dyn Db)

Source from the content-addressed store, hash-verified

94 }
95
96 pub fn program(self, db: &'db dyn Db) -> Program<'db> {
97 self.scope_id(db).program(db)
98 }
99
100 pub fn file_scope(self, db: &'db dyn Db) -> FileScopeId {
101 self.scope_id(db).file_scope_id(db)

Callers

nothing calls this directly

Calls 1

scope_idMethod · 0.45

Tested by

no test coverage detected