CodeQL library for JavaScript
Search

Module ClassifyFiles

Provides classes and predicates for classifying files as containing generated code, test code, externs declarations, library code or template code.

Import path

import filters.ClassifyFiles

Imports

FrameworkLibraries

Provides classes for identifying popular framework libraries.

GeneratedCode

Provides classes for detecting generated code.

Templating

Provides predicates for working with templating libraries.

Testing

Provides classes for working with JavaScript testing frameworks.

Predicates

classify

Holds if f is classified as belonging to category.

maybeCausedByTemplate

Holds if e may be caused by parsing a template file as plain HTML or JavaScript.