A variable.
Import path
import codeql.rust.elements.internal.VariableImpl
Direct supertypes
Predicates
getAnAccess | Gets an access to this variable. |
getEnclosingCfgScope | Gets the enclosing CFG scope for this variable declaration. |
getInitializer | Gets the initial value of this variable, if any. |
getLetStmt | Gets the |
getLocation | Gets the location of this variable. |
getName | Get the name of this variable. |
getParameter | Gets the parameter that introduces this variable, if any. |
getPat | Gets the pattern that declares this variable, if any. |
getSelfParam | Gets the |
getText | Gets the name of this variable as a string. |
isCaptured | Holds if this variable is captured. |
isImmutable | Hold is this variable is immutable. |
isMutable | Hold is this variable is mutable. |
toString | Gets a textual representation of this variable. |