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.RawDirect supertypes
Predicates
| getAttr | Gets the |
| getExpr | Gets the expression of this become expression, if it exists. |
| getNumberOfAttrs | Gets the number of attrs of this become expression. |
| toString |