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

Class ExternalData

An external data item.

Import path

import external.ExternalArtifact

Direct supertypes

Known direct subtypes

Predicates

getDataPath

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

getField

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

getFieldAsDate

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

getFieldAsFloat

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

getFieldAsInt

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

getNumFields

Gets the number of fields in this data item.

getQueryPath

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

toString

Gets a textual representation of this data item.