Class Linting::Linting::GlobalDeclaration

A linter directive that declares one or more global variables.

Direct supertypes

Indirect supertypes

Known direct subtypes

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.

declaresGlobalForAccess

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

Inherited predicates

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
getStartLine

Gets the line on which this element starts.

from Locatable
toString

Gets a textual representation of this element.

from Locatable