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

Class Raw::YieldExpr

INTERNAL: Do not use. A yield expression. For example:

let one = #[coroutine]
    || {
        yield 1;
    };

Import path

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

Direct supertypes

Indirect supertypes

Predicates

getAttr

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

getExpr

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

getNumberOfAttrs

Gets the number of attrs of this yield expression.

toString