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

Member predicate Linting::GlobalDeclaration::appliesTo

Holds if this directive applies to statement or expression s, meaning that s is nested in the directive’s scope.

predicate appliesTo(ExprOrStmt s)