CodeQL library for JavaScript
Search

Module ApiGraphs

Provides an implementation of API graphs, which are an abstract representation of the API surface used and/or defined by a code base.

The nodes of the API graph represent definitions and uses of API components. The edges are directed and labeled; they specify how the components represented by nodes relate to each other. For example, if one of the nodes represents a definition of an API function, then there will be nodes corresponding to the function’s parameters, which are connected to the function node by edges labeled parameter <i>.

Import path

import semmle.javascript.ApiGraphs

Imports

javascript

Provides classes for working with JavaScript programs, as well as JSON, YAML and HTML.

Modules

API

Provides classes and predicates for working with APIs defined or used in a database.