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

Class Raw::BinaryExpr

INTERNAL: Do not use. A binary operation expression. For example:

x + y;
x && y;
x <= y;
x = y;
x += y;

Import path

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

Direct supertypes

Indirect supertypes

Predicates

getAttr

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

getLhs

Gets the lhs of this binary expression, if it exists.

getNumberOfAttrs

Gets the number of attrs of this binary expression.

getOperatorName

Gets the operator name of this binary expression, if it exists.

getRhs

Gets the rhs of this binary expression, if it exists.

toString