Skip to content

Commit c3e6819

Browse files
committed
Py/js/ruby: sync files
1 parent a319088 commit c3e6819

File tree

2 files changed

+18
-0
lines changed

2 files changed

+18
-0
lines changed

javascript/ql/lib/semmle/javascript/frameworks/data/internal/ApiGraphModels.qll

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -644,6 +644,15 @@ module ModelOutput {
644644
baseNode = getInvocationFromPath(type, path)
645645
}
646646

647+
/**
648+
* Holds if a `baseNode` is an invocation identified by the `type,path` part of a summary row.
649+
*/
650+
cached
651+
predicate resolvedSummaryRefBase(string type, string path, API::Node baseNode) {
652+
summaryModel(type, path, _, _, _) and
653+
baseNode = getNodeFromPath(type, path)
654+
}
655+
647656
/**
648657
* Holds if `node` is seen as an instance of `type` due to a type definition
649658
* contributed by a CSV model.

ruby/ql/lib/codeql/ruby/frameworks/data/internal/ApiGraphModels.qll

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -644,6 +644,15 @@ module ModelOutput {
644644
baseNode = getInvocationFromPath(type, path)
645645
}
646646

647+
/**
648+
* Holds if a `baseNode` is an invocation identified by the `type,path` part of a summary row.
649+
*/
650+
cached
651+
predicate resolvedSummaryRefBase(string type, string path, API::Node baseNode) {
652+
summaryModel(type, path, _, _, _) and
653+
baseNode = getNodeFromPath(type, path)
654+
}
655+
647656
/**
648657
* Holds if `node` is seen as an instance of `type` due to a type definition
649658
* contributed by a CSV model.

0 commit comments

Comments
 (0)