codeql/javascript/extractor
erik-krogh 5611a3e417
use exact version
2023-11-20 20:48:51 +01:00
..
.settings JavaScript: Open-source extractor. 2018-11-07 07:48:25 +00:00
lib/typescript use exact version 2023-11-20 20:48:51 +01:00
parser-tests Export test data directories. 2023-11-06 13:47:56 +01:00
src/com/semmle Merge branch 'main' into ts53-ts 2023-11-20 20:31:00 +01:00
test/com/semmle/js/extractor/test Add a build system for the junit tests. 2023-11-06 17:58:28 +01:00
tests Merge branch 'main' into ts53-ts 2023-11-20 20:31:00 +01:00
util JavaScript: Open-source extractor. 2018-11-07 07:48:25 +00:00
BUILD.bazel Refactor JS test suite to be more in line with other Java projects. 2023-11-06 13:47:56 +01:00
LICENSE-babylon.md Add Babylon license 2019-08-17 16:31:19 +01:00
README.md Update README.md 2022-11-28 12:12:36 +01:00
format.json Ignore whitespace errors in everything under lib 2018-11-08 11:06:42 -08:00

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

License

Like the CodeQL 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.