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

Function _get_name

graphify/extract.py:12463–12465  ·  view source on GitHub ↗
(node, field: str)

Source from the content-addressed store, hash-verified

12461 return source[node.start_byte:node.end_byte].decode("utf-8", errors="replace")
12462
12463 def _get_name(node, field: str) -> str | None:
12464 n = node.child_by_field_name(field)
12465 return _read(n) if n else None
12466
12467 def _type_identifiers(node):
12468 """Yield every type_identifier under a property's type node, descending

Callers

nothing calls this directly

Calls 1

_readFunction · 0.85

Tested by

no test coverage detected