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

Module ES2015Modules

Provides classes for working with ECMAScript 2015 modules.

Import path

import 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.

ExportDefaultSpecifier

A default export specifier.

ExportNamedDeclaration

A named export declaration. * Examples:

ExportNamespaceSpecifier

A namespace export specifier, that is * or * as x occurring in an export declaration.

ExportSpecifier

An export specifier in an 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.

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.

SelectiveImportDeclaration

A selective import that imports zero or more declarations.

SelectiveReExportDeclaration

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