codeql/javascript/extractor
Erik Krogh Kristensen 73f2f52ed8 use the `TYPE_ONLY_IMPORT` context 2021-12-01 14:54:16 +01:00
..
.settings
lib/typescript update to TypeScript 4.5.2 2021-11-29 13:49:10 +01:00
parser-tests
src/com/semmle use the `TYPE_ONLY_IMPORT` context 2021-12-01 14:54:16 +01:00
tests add JavaScript support for new private fields syntax 2021-11-29 13:51:25 +01:00
util
LICENSE-babylon.md
README.md
format.json

README.md

JavaScript extractor

This directory contains the source code of the JavaScript extractor. The extractor depends on various libraries that are not currently bundled with the source code, so at present it cannot be built in isolation.

The extractor consists of a parser for the latest version of ECMAScript, including a few proposed and historic extensions (see src/com/semmle/jcorn), classes for representing JavaScript and TypeScript ASTs (src/com/semmle/js/ast and src/com/semmle/ts/ast), and various other bits of functionality. Historically, the main entry point of the JavaScript extractor has been com.semmle.js.extractor.Main. However, this class is slowly being phased out in favour of com.semmle.js.extractor.AutoBuild, which is the entry point used by LGTM.

License

Like the LGTM queries, the JavaScript extractor is licensed under Apache License 2.0 by GitHub. Some code is derived from other projects, whose licenses are noted in other LICENSE-*.md files in this folder.