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

Module Generated

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

Import path

import codeql.rust.elements.internal.generated.MatchExpr

Classes

MatchExpr

A match expression. For example: rust match x { Option::Some(y) => y, Option::None => 0, } rust match x { Some(y) if y != 0 => 1 / y, _ => 0, } INTERNAL: Do not reference the Generated::MatchExpr class directly. Use the subclass MatchExpr, where the following predicates are available.