Module ES2015Modules

Provides classes for working with ECMAScript 2015 modules.

Import path

semmle.javascript.ES2015Modules

Imports

javascript

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

Classes

BulkImportDeclaration

A bulk import that imports an entire module as a namespace.

BulkReExportDeclaration

A bulk re-export declaration of the form export * from 'a', which re-exports all exports of another module.

ES2015Module

An ECMAScript 2015 module.

ExportDeclaration

An export declaration.

ExportDefaultDeclaration

A default export declaration such as export default function f{} or export default { x: 42 }.

ExportDefaultSpecifier

A default export specifier, for example default in export default 42, or v in export v from "mod".

ExportNamedDeclaration

A named export declaration such as export { x, y } or export var x = 42.

ExportNamespaceSpecifier

A namespace export specifier, for example * in export * from "mod".

ExportSpecifier

An export specifier in a named export declaration.

ImportDeclaration

An import declaration.

ImportDefaultSpecifier

A default import specifier.

ImportNamespaceSpecifier

A namespace import specifier.

ImportSpecifier

An import specifier in an import declaration.

NamedExportSpecifier

A named export specifier, for example v in export { v }.

NamedImportSpecifier

A named import specifier.

OriginalExportDeclaration

An export declaration that exports zero or more declarations from the module it appears in.

ReExportDeclaration

An export declaration that re-exports declarations from another module.

ReExportDefaultSpecifier

A default export specifier in a re-export declaration, for example v in export v from "mod".

SelectiveImportDeclaration

A selective import that imports zero or more declarations.

SelectiveReExportDeclaration

A named export declaration that re-exports symbols imported from another module.