Rust: Add debug predicate for ItemNode

This commit is contained in:
Simon Friis Vindum
2025-09-19 13:26:36 +02:00
parent a9d7662bb7
commit 60ceb89f01

View File

@@ -1807,6 +1807,8 @@ private module Debug {
path = p.toStringDebug()
}
predicate debugItemNode(ItemNode item) { item = getRelevantLocatable() }
ItemNode debugResolvePath(RelevantPath path) {
path = getRelevantLocatable() and
result = resolvePath(path)