A variable that is captured in a closure.
Import path
import codeql.ruby.dataflow.internal.DataFlowPrivateDirect supertypes
Indirect supertypes
Known direct subtypes
Predicates
| getCallable | Gets the callable that defines this variable. |
Inherited predicates
| getAnAccess | Gets an access to this variable. | from LocalVariable |
| getDeclaringScope | Gets the scope this variable is declared in. | from Variable |
| getDefiningAccess | Gets the access where this local variable is first introduced. | from LocalVariable |
| 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 |
| isCaptured | Holds if this variable is captured. For example in | from LocalVariable |
| toString | Gets a textual representation of this variable. | from Variable |