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

Class Raw::AwaitExpr

INTERNAL: Do not use. An await expression. For example:

async {
    let x = foo().await;
    x
}

Import path

import codeql.rust.elements.internal.generated.Raw

Direct supertypes

Indirect supertypes

Predicates

getAttr

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

getExpr

Gets the expression of this await expression, if it exists.

getNumberOfAttrs

Gets the number of attrs of this await expression.

toString