Class LocalVariable
A local variable.
Import path
import codeql.ruby.AST
Direct supertypes
Known direct subtypes
Predicates
getAnAccess | Gets an access to this variable. |
getDefiningAccess | Gets the access where this local variable is first introduced. |
isCaptured | Holds if this variable is captured. For example in |
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 | from Variable |
toString | Gets a textual representation of this variable. | from Variable |