CodeQL library for Rust
codeql/rust-all 0.2.12 (changelog, source)
Search

Class Raw::RefExpr

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.Raw

Direct supertypes

Indirect supertypes

Predicates

getAttr

Gets the indexth attr of this reference expression (0-based).

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