mirror of
https://github.com/morluto/rea.git
synced 2026-12-03 21:46:01 +00:00
refactor(javascript): share semantic callable node lookup (#16018)
This commit is contained in:
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,
|
||||
}),
|
||||
|
||||
Reference in new issue
Block a user