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

Class Raw::BecomeExpr

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

fn fact_a(n: i32, a: i32) -> i32 {
     if n == 0 {
         a
     } else {
         become fact_a(n - 1, n * a)
     }
}

Import path

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

Direct supertypes

Indirect supertypes

Predicates

getAttr

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

getExpr

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

getNumberOfAttrs

Gets the number of attrs of this become expression.

toString