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

Class DefectExternalData

An external data item with a location and a message.

Import path

import external.ExternalArtifact

Direct supertypes

Indirect supertypes

Predicates

getMessage

Gets the message associated with this data item.

getURL

Gets the URL associated with this data item.

Inherited predicates

getDataPath

Gets the path of the file this data was loaded from.

from ExternalData
getField

Gets the value of the ith field of this data item.

from ExternalData
getFieldAsDate

Gets the value of the ith field of this data item, interpreted as a date.

from ExternalData
getFieldAsFloat

Gets the floating-point value of the ith field of this data item.

from ExternalData
getFieldAsInt

Gets the integer value of the ith field of this data item.

from ExternalData
getNumFields

Gets the number of fields in this data item.

from ExternalData
getQueryPath

Gets the path of the file this data was loaded from, with its extension replaced by .ql.

from ExternalData
toString

Gets a textual representation of this data item.

from ExternalData

Charpred