INTERNAL: Do not use. A reference expression. For example:
let ref_const = &foo;
let ref_mut = &mut foo;
let raw_const: &mut i32 = &raw const foo;
let raw_mut: &mut i32 = &raw mut foo;
Import path
import codeql.rust.elements.internal.generated.RawPredicates
| getAttr | Gets the |
| getExpr | Gets the expression of this reference expression, if it exists. |
| getNumberOfAttrs | Gets the number of attrs of this reference expression. |
| isConst | Holds if this reference expression is const. |
| isMut | Holds if this reference expression is mut. |
| isRaw | Holds if this reference expression is raw. |
| toString |