Skip to content

Commit abdbe92

Browse files
committed
refactor the NoSQL model to use API graphs
1 parent 0158e2f commit abdbe92

File tree

4 files changed

+220
-275
lines changed

4 files changed

+220
-275
lines changed

javascript/ql/src/semmle/javascript/ApiGraphs.qll

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -301,6 +301,9 @@ module API {
301301

302302
/** Gets a data-flow node that defines this entry point. */
303303
abstract DataFlow::Node getARhs();
304+
305+
/** Gets a API-node for this entry point. */
306+
API::Node getNode() { result = root().getASuccessor(this) }
304307
}
305308

306309
/**

0 commit comments

Comments
 (0)