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

Module RestrictedLocations

Provides classes for restricting the locations reported for program elements.

Import path

import semmle.javascript.RestrictedLocations

Imports

javascript

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

Classes

FirstLineOf

A program element with its location restricted to its first line, unless the element is less than one line long to begin with.

LastLineOf

A program element with its location restricted to its last line, unless the element is less than one line long to begin with.