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

Module Generated

INTERNAL: This module contains the fully generated definition of IfExpr and should not be referenced directly.

Import path

import codeql.rust.elements.internal.generated.IfExpr

Classes

IfExpr

An if expression. For example: rust if x == 42 { println!("that's the answer"); } rust let y = if x > 0 { 1 } else { 0 }; INTERNAL: Do not reference the Generated::IfExpr class directly. Use the subclass IfExpr, where the following predicates are available.