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

Class Raw::ItemList

INTERNAL: Do not use. A list of items in a module or block.

For example:

mod m {
    fn foo() {}
    struct S;
}

Import path

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

Direct supertypes

Indirect supertypes

Predicates

getAttr

Gets the indexth attr of this item list (0-based).

getItem

Gets the indexth item of this item list (0-based).

getNumberOfAttrs

Gets the number of attrs of this item list.

getNumberOfItems

Gets the number of items of this item list.

toString