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

Method _namespace

graphify/extractors/csharp.py:446–449  ·  view source on GitHub ↗
(node: dict | None)

Source from the content-addressed store, hash-verified

444
445 @staticmethod
446 def _namespace(node: dict | None) -> str:
447 metadata = _metadata((node or {}).get("metadata"))
448 namespace = metadata.get("namespace", "")
449 return namespace if isinstance(namespace, str) else ""
450
451 @staticmethod
452 def _scope_chain(node: dict) -> list[str]:

Callers 4

_scopes_forMethod · 0.95
visible_namespacesMethod · 0.95
resolve_type_nameMethod · 0.95

Calls 2

_metadataFunction · 0.85
getMethod · 0.45

Tested by

no test coverage detected