Skip to content

Commit f5355cf

Browse files
committed
Dynamic: Sync ApiGraphModels.qll
1 parent 8210143 commit f5355cf

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -267,7 +267,7 @@ private predicate summaryModel(string type, string path, string input, string ou
267267
}
268268

269269
/** Holds if a type model exists for the given parameters. */
270-
private predicate typeModel(string type1, string type2, string path) {
270+
predicate typeModel(string type1, string type2, string path) {
271271
exists(string row |
272272
typeModel(row) and
273273
row.splitAt(";", 0) = type1 and
@@ -435,7 +435,7 @@ private API::Node getNodeFromType(string type) {
435435
* Gets the API node identified by the first `n` tokens of `path` in the given `(type, path)` tuple.
436436
*/
437437
pragma[nomagic]
438-
private API::Node getNodeFromPath(string type, AccessPath path, int n) {
438+
API::Node getNodeFromPath(string type, AccessPath path, int n) {
439439
isRelevantFullPath(type, path) and
440440
(
441441
n = 0 and

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -267,7 +267,7 @@ private predicate summaryModel(string type, string path, string input, string ou
267267
}
268268

269269
/** Holds if a type model exists for the given parameters. */
270-
private predicate typeModel(string type1, string type2, string path) {
270+
predicate typeModel(string type1, string type2, string path) {
271271
exists(string row |
272272
typeModel(row) and
273273
row.splitAt(";", 0) = type1 and
@@ -435,7 +435,7 @@ private API::Node getNodeFromType(string type) {
435435
* Gets the API node identified by the first `n` tokens of `path` in the given `(type, path)` tuple.
436436
*/
437437
pragma[nomagic]
438-
private API::Node getNodeFromPath(string type, AccessPath path, int n) {
438+
API::Node getNodeFromPath(string type, AccessPath path, int n) {
439439
isRelevantFullPath(type, path) and
440440
(
441441
n = 0 and

0 commit comments

Comments
 (0)