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

Class Raw::RangePat

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

match x {
    ..15 => "too cold",
    16..=25 => "just right",
    26.. => "too hot",
}

Import path

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

Direct supertypes

Indirect supertypes

Predicates

getEnd

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

getOperatorName

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

getStart

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

toString