refactor(javascript): share semantic callable node lookup (#16018)

This commit is contained in:
Vincent Koc authored and GitHub committed 2026-12-02 15:01:16 +00:00
1 parent 185b1b12cd
commit 3abd5b25cd
8 files changed
+17 -62

No files matched your search

@@ -55,11 +55,7 @@ const addResourceNode = (
roleKey: operation.resourceId,
location: operation.location,
label: operation.method,
functionNodeId:
operation.ownerCallableId === null
? null
: (context.callableNodes.get(operation.ownerCallableId)?.node_id ??
null),
functionNodeId: context.callableNodeId(operation.ownerCallableId),
...builtinSemanticNode(context.file, operation, {
method: operation.method,
}),