Skip to content

Commit 15eabb4

Browse files
committed
JS: Address review comments
1 parent f5355cf commit 15eabb4

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

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

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,13 @@ private import Shared
1313
/**
1414
* Holds if some proper prefix of `(type, path)` evaluated to `node`, where `remainingPath`
1515
* is bound to the suffix of `path` that was not evaluated yet.
16+
*
17+
* See concrete examples in `TypeGraphExport`.
1618
*/
1719
bindingset[type, path]
18-
predicate partiallyEvaluatedModel(string type, string path, API::Node node, string remainingPath) {
20+
private predicate partiallyEvaluatedModel(
21+
string type, string path, API::Node node, string remainingPath
22+
) {
1923
exists(int n, AccessPath accessPath |
2024
accessPath = path and
2125
getNodeFromPath(type, accessPath, n) = node and

0 commit comments

Comments
 (0)