CodeQL library for Ruby
codeql/ruby-all 2.0.4-dev (changelog, source)
Search

Class GlobalVariable

A global variable.

Import path

import codeql.ruby.AST

Direct supertypes

Predicates

getAnAccess

Gets an access to this variable.

Inherited predicates

getDeclaringScope

Gets the scope this variable is declared in.

from Variable
getLocation

Gets the location of this variable.

from Variable
getName

Gets the name of this variable.

from Variable
hasName

Holds if the name of this variable is name.

from Variable
toString

Gets a textual representation of this variable.

from Variable