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

Module Paths

Provides classes for working with file system paths and program expressions that denote them.

Import path

import semmle.javascript.Paths

Imports

javascript

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

Classes

Path

An absolute file system path referenced in the program, which may (but does not have to) correspond to a file or folder included in the snapshot.

PathExpr

An expression whose value represents a (relative or absolute) file system path.

PathExprCandidate

An expression that appears in a syntactic position where it may represent a path.

PathString

A string value that represents a (relative or absolute) file system path.