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

Class Raw::RangeExpr

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

let x = 1..=10;
let x = 1..10;
let x = 10..;
let x = ..10;
let x = ..=10;
let x = ..;

Import path

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

Direct supertypes

Indirect supertypes

Predicates

getAttr

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

getEnd

Gets the end of this range expression, if it exists.

getNumberOfAttrs

Gets the number of attrs of this range expression.

getOperatorName

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

getStart

Gets the start of this range expression, if it exists.

toString