MCPcopy Create free account
hub / github.com/Graphify-Labs/graphify / _using_in_scope

Method _using_in_scope

graphify/extractors/csharp.py:456–459  ·  view source on GitHub ↗
(self, scope_kind: str, scope_id: str | None, source_node: dict)

Source from the content-addressed store, hash-verified

454 return chain if isinstance(chain, list) else []
455
456 def _using_in_scope(self, scope_kind: str, scope_id: str | None, source_node: dict) -> bool:
457 if scope_kind == "file":
458 return True
459 return scope_id is not None and scope_id in self._scope_chain(source_node)
460
461 def _scopes_for(self, source_node: dict, source_file: str) -> list[str]:
462 def _append_unique(items: list[str], value: str) -> None:

Callers 6

_scopes_forMethod · 0.95
visible_namespacesMethod · 0.95
_resolve_aliasMethod · 0.95
resolve_type_nameMethod · 0.95
static_using_holdersMethod · 0.95
resolve_qualifiedMethod · 0.95

Calls 1

_scope_chainMethod · 0.95

Tested by

no test coverage detected