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

Function _same_node

graphify/extractors/engine.py:4030–4032  ·  view source on GitHub ↗
(a, b)

Source from the content-addressed store, hash-verified

4028
4029
4030def _same_node(a, b) -> bool:
4031 # tree-sitter hands out a new wrapper per access: compare spans, not identity
4032 return a is not None and b is not None and (a.start_byte, a.end_byte, a.type) == (b.start_byte, b.end_byte, b.type)
4033
4034
4035def _python_attribute_is_store(node) -> bool:

Callers 2

_python_property_readsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected