CodeQL library for JavaScript/TypeScript
codeql/javascript-all 2.1.2-dev (changelog, source)
Search

Member predicate FrameworkLibrary::getAnEntryPoint

Gets the name of a global variable or of a property of a global variable that serves as an API entry point for this framework library.

For example, jQuery has two entry points $ and jQuery, while jQuery Mobile has an entry point $.mobile.

Subclasses do not have to override this predicate, but dependency counts for frameworks without known API entry points are less precise.

string getAnEntryPoint()