Module Closure

Provides classes for working with Google Closure code.

Import path

semmle.javascript.Closure

Imports

javascript

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

Classes

ClosureModule

A Closure module, that is, a toplevel that contains a call to goog.provide or goog.require.

GoogFunctionCall

A call to a function in the goog namespace such as goog.provide or goog.load.

GoogFunctionCallStmt

An expression statement consisting of a call to a function in the goog namespace.

GoogProvide

A call to goog.provide.

GoogRequire

A call to goog.require.