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

Class ESLint::GlobalsConfigurationObject

An ESLint globals configuration object.

Import path

import javascript

Direct supertypes

Indirect supertypes

Predicates

appliesTo

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

declaresGlobal

Holds if name is a global variable declared by this directive, with writable indicating whether the variable is declared to be writable or not.

getBooleanProperty

Gets the value of the Boolean property p defined in this configuration object, if any.

getConfiguration

Gets the configuration file to which this object belongs.

Inherited predicates

declaresGlobalForAccess

Holds if this directive applies to gva and declares the variable it references.

from GlobalDeclaration
getAPrimaryQlClass

Gets the primary QL class for the Locatable.

from Locatable
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

Charpred