CodeQL library for JavaScript

Predicate callEdge

Holds if pred -> succ is an edge in the call graph.

There are edges from calls to their callees, and from functions to their contained calls and in some cases their inner functions to model functions invoked indirectly by being passed to another call.

Import path

import semmle.javascript.explore.CallGraph
predicate callEdge(Node pred, Node succ)