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

Class Raw::TryExpr

INTERNAL: Do not use. A try expression using the ? operator.

For example:

let x = foo()?;
//           ^

Import path

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

Direct supertypes

Indirect supertypes

Predicates

getAttr

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

getExpr

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

getNumberOfAttrs

Gets the number of attrs of this try expression.

toString