A variable.
Import path
import codeql.rust.elements.internal.VariableImplDirect supertypes
Indirect supertypes
Predicates
| getAnAccess | Gets an access to this variable. |
| getEnclosingBlock | Gets the block that encloses this variable, if any. |
| getEnclosingCfgScope | Gets the enclosing CFG scope for this variable declaration. |
| getInitializer | Gets the initial value of this variable, if any. |
| getLetExpr | Gets the |
| getLetStmt | Gets the |
| 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. |
| isCaptured | Holds if this variable is captured. |
| isImmutable | Holds if this variable is immutable. |
| isMutable | Holds if this variable is mutable. |
Inherited predicates
| getDefiningNode | Gets the AST node that defines this local entity, if any. | from LocalImpl |
| getLocation | Gets the location of this local entity. | from LocalImpl |
| getScope | Gets the AST node that defines the scope of this local entity. | from LocalImpl |
| toString | Gets a textual representation of this local entity. | from LocalImpl |