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

Class Raw::IndexExpr

INTERNAL: Do not use. An index expression. For example:

list[42];
list[42] = 1;

Import path

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

Direct supertypes

Indirect supertypes

Predicates

getAttr

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

getBase

Gets the base of this index expression, if it exists.

getIndex

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

getNumberOfAttrs

Gets the number of attrs of this index expression.

toString