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

Class Raw::TupleExpr

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

let tuple = (1, "one");
let n = (2, "two").0;
let (a, b) = tuple;

Import path

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

Direct supertypes

Indirect supertypes

Predicates

getAttr

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

getField

Gets the indexth field of this tuple expression (0-based).

getNumberOfAttrs

Gets the number of attrs of this tuple expression.

getNumberOfFields

Gets the number of fields of this tuple expression.

toString