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

Class InlineScriptDependency

An embedded JavaScript library included inside a <script> tag.

Import path

import semmle.javascript.dependencies.Dependencies

Direct supertypes

Indirect supertypes

Predicates

getAnApiUse

Gets a use of a variable defined by the imported script.

info

Holds if this dependency has identifier id and version v.

Inherited predicates

getAPrimaryQlClass

Gets the primary QL class for the Locatable.

from Locatable
getAUse

Gets a use of this dependency, which is of the given kind.

from ScriptDependency
getEndLine

Gets the line on which this element ends.

from Locatable
getFile

Gets the file this program element comes from.

from Locatable
getLocation

Gets this element’s location.

from Locatable
getNumLines

Gets the number of lines covered by this element.

from Locatable
getPrimaryQlClasses

Gets a comma-separated list of the names of the primary CodeQL classes to which this element belongs.

from Locatable
getStartLine

Gets the line on which this element starts.

from Locatable
toString

Gets a textual representation of this element.

from Locatable