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

Class FrameworkLibraryReference

An abstract representation of a reference to a framework library via the src attribute of a <script> element.

Import path

import semmle.javascript.dependencies.FrameworkLibraries

Direct supertypes

Indirect supertypes

Known direct subtypes

Predicates

info

Holds if this is a reference to version v of framework library fl.

Inherited predicates

getAPrimaryQlClass

Gets the primary QL class for the Locatable.

from Attribute
getCodeInAttribute

Gets the inline script of this attribute, if any.

from Attribute
getElement

Gets the element to which this attribute belongs.

from Attribute
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
getName

Gets the name of this attribute.

from Attribute
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
getRoot

Gets the root element in which the element to which this attribute belongs is contained.

from Attribute
getStartLine

Gets the line on which this element starts.

from Locatable
getValue

Gets the value of this attribute.

from Attribute
toString

Gets a textual representation of this element.

from Attribute

Charpred